How to Securely Publish to NuGet from PR's

I'm using the following yaml to publish NuGet packages to Azure Artifacts and GitHub packages on each commit and to the official NuGet repository when I use a Git Tag.
- stage: Deploy
  jobs:
  - deployment: AzureArtefacts
    displayName: 'Azure Artefacts'
    pool:
      vmImage: windows-latest
    environment: 'Azure Artefacts'
    strategy:
      runOnce:
        deploy:
          steps:
          - task: NuGetToolInstaller@1
            displayName: 'NuGet Install'
          - task: NuGetAuthenticate@0
            displayName: 'NuGet Authenticate'
          - script: nuget push $(Agent.BuildDirectory)\Windows\*.nupkg -Source https://pkgs.dev.azure.com/serilog-exceptions/_packaging/serilog-exceptions/nuget/v3/index.json -ApiKey AzureArtifacts -SkipDuplicate
            displayName: 'NuGet Push'
            failOnStderr: true
  - deployment: GitHub
    pool:
      vmImage: windows-latest
    environment: 'GitHub'
    strategy:
      runOnce:
        deploy:
          steps:
          - task: NuGetToolInstaller@1
            displayName: 'NuGet Install'
          - script: nuget source Add -Name GitHub -Source https://nuget.pkg.github.com/RehanSaeed/index.json -UserName $(GitHubUserName) -Password $(GitHubPersonalAccessToken)
            displayName: 'NuGet Add Source'
            failOnStderr: true
          - script: nuget push $(Agent.BuildDirectory)\Windows\*.nupkg -Source GitHub -SkipDuplicate
            displayName: 'NuGet Push'
            failOnStderr: true
  - deployment: NuGet
    pool:
      vmImage: windows-latest
    environment: 'NuGet'
    condition: startsWith(variables['Build.sourceBranch'], 'refs/tags/')
    strategy:
      runOnce:
        deploy:
          steps:
          - task: NuGetToolInstaller@1
            displayName: 'Install NuGet'
          - script: nuget push $(Agent.BuildDirectory)\Windows\*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey $(NuGetApiKey) -SkipDuplicate
            displayName: 'NuGet Push'
            failOnStderr: true

This works fine when I checkin but when someone creates a PR, the above publish steps fail because:

Azure Artifacts - The user does not have permissions.
GitHub - The user does not have access to use the secret variables GitHubUserName and GitHubPersonalAccessToken.
NuGet - The build is not running from a Git tag so this step does not run.

Is it possible to safely run the Azure Artifacts and GitHub publish steps from PR's? In particular, I don't want someone changing the azure-pipelines.yml or my Cake build build.cake file to steal my secret variables or publish their own packages.
If this is not possible, I guess I have to skip these steps from PR's. How can I do this?

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

ID: 11ed58a1-5819-f3a4-c674-dafcdbd56fbc
Version Independent ID: d68aca4d-3fd3-1864-09f5-6060295e0399
Content: Publishing to NuGet feeds - Azure Pipelines and TFS
Content Source: docs/pipelines/artifacts/nuget.md
Product: devops
Technology: devops-cicd
GitHub Login: @thomps23
Microsoft Alias: amullans

@RehanSaeed Thank you for the question.
Unfortunately issues here only involve documentation concerns.
For product feedback or product related issues, please use the Azure DevOps community.
Or for general support requests, try Stack Overflow.


Update footer to have W3API's social media links

Features added

Update footer social media links to be W3API's
Change .prettierrc singleQuotes to true (for easier code review)

Author
kev-ngo<EMAIL_ADDRESS>

Cancel PR - we've decided to remove the footer.


Add Sync+Send to Allocation and AllocationInfo.

They do not have any mutable functions so should be safe.
Ran into a particular use case when being able to pass these objects between threads was useful.

Thanks! :)


Twitter::getSearch

please , how can i use the parameters 'geocode' and 'until' (to get tweets posted until 2 dates) on getSerach function ?

Still having this issue

Closing this due to inactivity. Please let me know if you are still having an issue and i'll reopen.


Add Labels from MR to Argocd AppProject

Description of your changes
This pull request introduces the capability for the argocd provider to support defining and adding labels to the ArgoCD AppProject from the MR. Labels in ArgoCD play a crucial role as they allow AppProjects to inherit default spec values from a global AppProject.  Documentation link
Fixes #105
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
The code has been tested using a local setup where an ArgoCD project was created using the argocd provider. I verified:

The labels are correctly added to the AppProject.
There were no synchronization issues or delays.

@MisterMX can you take a look on it. I have made the change as requested.


Fix missing __APPLE_USE_RFC_3542

Problem
In splitting UDPEndPoint.cpp by implementation (#12688), the definition of __APPLE_USE_RFC_3542 was lost, which caused IPV6_PKTINFO to not be defined and corresponding parts of UDPEndPoint not to be built.
Change overview
Add #define __APPLE_USE_RFC_3542 to the top of UDPEndPointImplSockets.cpp, as it had been in UDPEndPoint.cpp.
Testing
CI

fast track: small delta, issue found and validated during QA


Change size of the gif file

How do I change the size (height and width) of the gif file? The file created by default is extremely small. I have used a 20X20 matrix.

Use a bigger matrix.


Anchor with #hash not showing :target CSS after history.back()

Describe the bug

Goto /#target
Goto /temp
Return to the previous page
URL is /#target and the #target:target styles are not shown.

In this state, clicking  should show #target:target styles, but it does not.
Reproduction
https://stackblitz.com/edit/github-ymws75?file=src%2Froutes%2F%2Bpage.svelte
System Info

Chrome 버전 115.0.5790.170(공식 빌드) (arm64)
Firefox 116.0.2 (64-비트)

System:
  OS: Linux 5.0 undefined
  CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Memory: 0 Bytes / 0 Bytes
  Shell: 1.0 - /bin/jsh
Binaries:
  Node: 16.20.0 - /usr/local/bin/node
  Yarn: 1.22.19 - /usr/local/bin/yarn
  npm: 9.4.2 - /usr/local/bin/npm
  pnpm: 8.6.10 - /usr/local/bin/pnpm
npmPackages:
  @sveltejs/adapter-auto: ^2.0.0 => 2.1.0
  @sveltejs/kit: ^1.20.4 => 1.22.5
  svelte: ^4.0.5 => 4.2.0
  vite: ^4.4.2 => 4.4.9

Severity
annoyance
Additional Information

Using  fixes the :target CSS issue.
Possibly related to https://github.com/sveltejs/kit/issues/3770

This is what I'm using to work around it without reloading the page.
const navigate = (navigation?: Navigation) => {
	if (navigation) {
		if (navigation.to?.url.hash && navigation.to.url.hash !== '#') {
			// history.replaceState() needed by Firefox to navigate back.
			const state = history.state;
			location.replace(navigation.to.url);
			history.replaceState(state, '', location.href);
		}
	}
};

afterNavigate(navigate);

This seems to be a limitation of client-side routing / rendering. The browser navigates to the new URL but cannot find the element with the corresponding id as it has not been rendered through javascript yet. You can observe a similar behaviour when navigating from /#one to / as mentioned in https://github.com/sveltejs/kit/issues/10524 . The native browser behaviour would be a full page reload when navigating from a hash to a non-hash URL.
I'm not sure what the solution here is. history.replaceState and history.pushState have no effect. location.replace(navigation.to.url) mentioned in https://github.com/sveltejs/kit/issues/10550#issuecomment-1681789994 is a notable hack as it works without reloading, but we can't stop it from emitting a popstate event (which already occurs once when we hit the back button). I've looked at next.js and nuxt.js to see if they have a solution but the same issue occurs.
Adding data-sveltekit-reload to the  and enabling SSR ensures the most consistent behaviour when using :target styles.

https://github.com/sveltejs/kit/issues/9374
https://github.com/sveltejs/kit/pull/10202

Now that $page.url.hash is fixed and reactive, it might be best to toggle class-names.

  Hidden Message Block

Show Message

Not that this REQUIRES JavaScript to work.
:target CSS could be provided as a fallback as shown above.

This workaround does not work. Use with caution:

They do show the :target styling,
But it breaks SvelteKit navigation.

/
(click an anchor) → /a#hash
(press browser back) → /
(press browser forward)

browser URL does change to /a#hash as expected
but page stays the same (no client-side navigation)


Add message ids for applens

Description
Diagnostic logs should only come with clear message ids for applens to interpret.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Centralize layer z-ordering.

Before, when we had points, lines, and polygons overlapping, the z-ordering was not great -- you couldn't really select the smaller object:

This PR defines an ordering for all of the layers in ATIP, so we can explicitly control everything from one place. The behavior is nicer now:
https://github.com/acteng/atip/assets/1664407/16d3c795-5509-45da-8953-89b157c449fa
As background for why getting z-ordering between different layers in MapLibre is tough, see https://github.com/mapbox/mapbox-gl-js/issues/7016.
Next steps
I originally wanted to also make sure that we don't cover up road names: #102. We now draw beneath the road labels, but because they're faint and black in the default style, it's... still pretty useless against the blue routes:

If anyone has color or symbolizing suggestions either for the colors we're using, or to change the road labels, it's easy to try things out!

If anyone has color or symbolizing suggestions either for the colors we're using, or to change the road labels, it's easy to try things out!

I think given the current way of doing it, and without complexity of rendering our own road names (v. low priority, probably not in scope), it seems like a balance between line opacity and seeing road name. For me, given that this is aimed at transport planning professionals who know their areas well, I would favour visibility of ATIP layers, I think we have that now.

Lighter shade of blue?

Lighter shade of blue?

Yeah actually this looks pretty nice to me. I don't remember if the 4 colors originally came from some kind of palette that's important to keep as "qualitative / discrete", so maybe we ought to adjust everything. This is #BCF5F9, set in colors.ts. I'll wait for Alex's and Pete's opinion, but otherwise I'd be happy switching to this as an incremental improvement

I'd be happy switching to this as an incremental improvement

Same, although my one comment would be maybe a touch darker would be better, that is a super light blue.


Filezilla: Hide dotfiles by default

Fixes #87

Justification for force=no on the copy task is because if a user goes in to disable those filters and then runs the role again, their changes will be reverted which is bad. Additionally, any new filters they add would be deleted. The unfortunate thing would be if the user already had a .filezilla/filters.xml but it was either empty or didn't have these filters enabled by default (such as if the user installed Filezilla before running any roles). I don't think that is worth the risk of overwriting a config.


Jsoup.parse() doesn't seem to load whole HTML content

I save stackoverflow.com into a file: input.html
load it inside:
File input = new File("input.html");
Document doc = Jsoup.parse(input, "UTF-8");
// first query
Elements resultsA = doc.select("h3 > a");
// second query
Elements resultsB = doc.select("div.nav li a");
"resultsA" has no element while "resultsB" contains 6 found elements.
Wondering by it, I extract the html content from "doc" variable; wow, it contains just part of HTML, where "resultsB" html content can be found, but not content for "resultsA".
I've tried to parse several URLs (even, google.com), it all results in the same way.
"Jsoup.parse()" doesn't return whole HTML content.

Hi.I am using Jsoup to parse url and I am using .connect() , timeout() and useragent() methods for parsing, but still I am not able to fetch entire page, some tags are missing.

try
Document = Jsoup.connect(url)
    .header("Accept-Encoding", "gzip, deflate")
    .userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0")
    .maxBodySize(0)
    .timeout(600000)
    .get();

http://jmchung.github.io/blog/2013/10/25/how-to-solve-jsoup-does-not-get-complete-html-document/

Hi. I have already implemented the suggestion from cobr123 but it did not work. But when I try to get the page on try.jsoup.org it can retrieve a complete html page. Do you have any suggestions?

inohtaf, can you post url which did not work?

Hi cobr123 for example http://kbbi.web.id/mempelajari, I have experienced on the other site too before. on that site I would like to retrieve :
Element content = doc.select("div.content").first();
Element desc = content.select("div#desc").first();
Element descDetail = desc.select("div#d1").first();
Unfortunately the content of "div#d1" can not be found. But I am pretty sure it should be worked using Jsoup since it can be retrieved perfectly on try.jsoup.org. Hope for your suggestions :)

this work well
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        String url = "http://kbbi.web.id/mempelajari";
        Document doc = Jsoup.connect(url)
                .header("Accept-Encoding", "gzip, deflate")
                .userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0")
                .maxBodySize(0)
                .get();
        Element content = doc.select("div.content > div#desc").first();
        Element desc = content.select("div#desc").first();
        Element descDetail = desc.select("div#d1").first();
        System.out.println(descDetail);
    }
}

and print

 ajar
..
100 lines of text
..
 ~ mikro teknik pelatihan mengajar yang jumlah muridnya dibatasi, misalnya 5—10 orang;
 ~ remedial pengajaran yang diberikan khusus untuk memperbaiki kesulitan belajar yang dialami murid

Hi cobr123. Yes it works well. It seems I made a mistake on my code yesterday. Btw, Thank you very much for your help :)

  Document doc = Jsoup.connect(url)                 .header("Accept-Encoding", "gzip, deflate")                 .userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0")                 .maxBodySize(0)                 .get();
Does not work, I have tested it with soundcloud and it returns null or the error..

 .header("Accept-Encoding", "gzip, deflate")
                .userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0")
                .maxBodySize(0)
                .get();

Does not work, I have tested it with soundcloud and it returns null or the error..

Give an example of a selector

Well I got to working it but only after messing by converting the website to txt file as the output is absolutelly different from what you see in inspect element... The html which I received in txt file is now used to grab data from url directly, which partly works for me :)

Document document = Jsoup.connect("https://www.instagram.com/p/BRdRSJtgABK/")                     .header("Accept-Encoding", "gzip, deflate")                     .userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0")                     .maxBodySize(0)                     .timeout(600000)                     .get();
I used this configuration, but it still not works, I wanna select src attr by img tag , but the result only src from script tag give me the result. When I print the html by using .html() give me not whole of html. Please give me some advice how do I get the whole html script

.header gives cant resolve in android studio what to do?


Missing Effects Randomily Crash the Game

No matter what seed I use, even if enemies, Bosses & party members are not randomized, if I play for a very long time, I would recieve this error message constantly:  Line 177:  Unexpected Concurrency While Adding New Object.  Correct me if I'm wrong but I think it might be missing effects like this:

I've been very curious about this error ever since I got the same error but with mod menus but didn't figure it out until June when I noticed effects are actually missing.  When I remove the affected mod from the game, the effects return to normal like the lanterns for example.  Upon playing more with the randomizer, even the Union X part of the Keyblade Graveyard's particle effects were showing less Keyblades than usual.  (Update:  After testing a 1gb mod which is Extended Data Greeting by Adol, I think it's definitely not the custom stages since effects are working properly in that mod so it's making me starting to think it might be a random trigger point that's causing the missing effects issue in the randomizer but I'm not sure as I keep trying to figure out the Line 177 crash mystery.)

This keeps happening in my seed as well. I can't finish toy box or Kingdom of Corona cause I keep getting the same crash and error message.

I gave up, I tried all day to fix it. For some reason Release 1.1.2 works though. But the latest version is broken.

Update 2:  I tested the GOA without putting in a seed & sadly, it ended up crashing too after a long time so that means no seed is causing the issue at all.  I also noticed the insane lag at the beginning when all the characters spawned in, even without a seed.  Could a spawn point be causing the line 177 error to happen randomly after the spawn hours later when the randomizer is in use?  I wish I knew what caused it & why but that's all I can think of sadly.


Having changed dashboard items, scaling a scenario gives back the original items

If you change which dashboard items are displayed and scale that scenario, the original dashboard items are displayed again (clean NL 2013 scenario).
Dashboard, pre-scaling

Dashboard post-scaling

Probably dashboard item settings are not saved/cached.
Re-assign at will.

@antw , any idea why this is happening?

@antw , any idea why this is happening?

It happens whenever you start a new scenario. Scaling works by creating a new scenario, copied from your current one, and scaling it.
I think the fix should be to preserve the user's choice of dashboard items whenever you start any new scenario, not just a scaled one. Would that be acceptable?


Temporary store to property

Temporary store the to property in Redis so account creation for instance can be deferred until after validation of the email/sms or similar. This property should also be returned as third argument in the validate callback.

So what i'm suggesting here is to completely remove the id requirement which only made sense when you create accounts before login and start storing all the data that is passed in the login method: https://github.com/observing/tolkien#tolkienlogin in dynamis directly so when we do https://github.com/observing/tolkien#tolkienvalidate we can merge this stored data with the third argument.
Removing the id also clean ups the code a bit further as we can just nuke the part where store the id->token relations https://github.com/observing/tolkien/blob/master/index.js#L151-L156


Displaying multiple occurrences of a tag in a list or table

First of all I would like to say thanks for such a brilliant plug-in. It has been extremely useful to me so far. Today, however, I came across a use-case that it doesn't appear to handle so I guess this is more of a feature request than a bug report.
I would like to be able to have multiple instances of the data associated with a given tag in the same file parsed and displayed so that each has it's own row in a list or table.
My ideal use-case.
I have a file that contains that a number of sections and in each section I have a tag followed by data that I want to display in, say, a table. Ideally there should be a row in the table for each entry of that tag despite the fact that they are in the same file
For example, let's assume I have
Section 1
#task
name:: this task name
due-date:: 2021-08-15
Section 2
#task
name:: another task name
due-date:: 2022-02-10
I would like each of these to have it's own row in the table even thought they are from the same file.
What I will get at the moment is a single row containing the data for the entry in Section 2
In fact even if I remove the #task definition from Section 2, what I will see displayed in the table is still the data associated with Section 2! I assume that this is because the parser is triggered by the first occurrence of #task, parses the rest of Section 1 collecting the name and due-date properties but then continues to parse the remainder of the page, comes across the field variables in Section 2 and overwrites those previously obtained. It makes sense that this happens because the parser does not know when to stop processing.
I know I could move the task into different files but I have a situation where it would be useful to keep the items together in the same file.
Perhaps I have missed something.
Your thoughts would be welcome.

I'm actually working on this as the next major feature, where markdown sections can have their own metadata and you can select per-section, rather than per-file, which I think should be exactly your use case.

Not only a brilliant programmer (having been in the industry for 30+ years, I recognise one when I see one!) but with precognitive/clairvoyant abilities as well. I look forward to it. Is it too dangerous to hold my breath just yet?

Was this feature implemented @blacksmithgu? Can this be closed?

Section based indexing works now but this specific use case would need DVJS. Obsidian's metadataCache doesn't index metadata that way so we'd have to parse the file.


Connection not starting - Setting current protocol version to "2.0.0"

When starting a connection it blocks at this point:
UTC [Info] Setting current protocol version to "2.0.0" from compile-time config
root@vmi571896:~# mina daemon --generate-genesis-proof true --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt
2021-04-20 16:23:00 UTC [Info] Coda daemon is booting up; built with commit "a42bdeef6b0c15ee34616e4df76c882b0c5c7c2a" on branch "master"
2021-04-20 16:23:00 UTC [Info] Removing lockfile for terminated process
2021-04-20 16:23:00 UTC [Info] Daemon will expire at "2024-12-10 14:00:00-07:00"
2021-04-20 16:23:00 UTC [Info] Booting may take several seconds, please wait
2021-04-20 16:23:00 UTC [Info] Reading configuration files $config_files
config_files: [ "/var/lib/coda/config_a42bdeef.json", "/root/.mina-config/daemon.json" ]
2021-04-20 16:23:00 UTC [Warn] Could not read configuration from "/root/.mina-config/daemon.json": $error
error: {
"commit_id": "a42bdeef6b0c15ee34616e4df76c882b0c5c7c2a",
"exn_name": "Async_kernel__Monitor.Error_",
"exn": [
"monitor.ml.Error",
[
"Unix.Unix_error", "No such file or directory", "open",
"((filename /root/.mina-config/daemon.json) (mode (O_RDONLY O_CLOEXEC)) (perm 0o0))"
],
[
"Raised at file "src/result.ml", line 158, characters 17-26",
"Called from file "src/deferred1.ml", line 17, characters 40-45",
"Called from file "src/job_queue.ml" (inlined), line 131, characters 2-5",
"Called from file "src/job_queue.ml", line 171, characters 6-47",
"Caught by monitor try_with_or_error"
]
]
}
2021-04-20 16:23:00 UTC [Info] Initializing with runtime configuration. Ledger name: "mainnet"
2021-04-20 16:23:00 UTC [Info] Using the compiled constraint constants
2021-04-20 16:23:00 UTC [Info] Found genesis proof file at $path
path: "/root/.mina-config/genesis/genesis_proof_ef3659d87a794d5c0159273bc7e596fe7a92b766a0aeb4be3437f582e716697a"
2021-04-20 16:23:00 UTC [Info] Loaded ledger from $ledger_file and genesis proof from $proof_file
ledger_file: "/root/.mina-config/genesis/genesis_ledger_accounts_71d4f4a0e8c1f3e78760b989234760584969ea0144ed1a3057234f6f0e73621a.tar.gz"
proof_file: "/root/.mina-config/genesis/genesis_proof_ef3659d87a794d5c0159273bc7e596fe7a92b766a0aeb4be3437f582e716697a"
2021-04-20 16:23:00 UTC [Info] Cleaning up old epoch ledgers with genesis state $state_hash at locations $staking and $next
state_hash: "3NKeMoncuHab5ScarV5ViyF16cJPT4taWNSaTLS64Dp67wuXigPZ"
staking: "/root/.mina-config/epoch_ledger129b90f0-b986-3408-be7e-08a02da23b28"
next: "/root/.mina-config/epoch_ledgera9ffd59e-4886-3bf4-9b4e-ab475b852889"
2021-04-20 16:23:01 UTC [Info] Setting current protocol version to "2.0.0" from compile-time config

Can you try with a URI scheme for the peer list: https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt ?

If you mean to try directly one of the peers, I've tried with 2, but I got same result.
Did you mean something different?
Thanks for your help

If you mean to try directly one of the peers, I've tried with 2, but I got same result.

Sorry, I meant simply to add https:// to the URI for the peer list.

this is the command I'm using mina daemon --generate-genesis-proof true --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt
It was working earlier today, but it's not since couple of hours

Sorry, I was confused, the URI scheme doesn't appear in the link text here on Github.

I've solved by using docker


ovn-tester: Unprovision build_ports via the namespace.

In the cluster_density test, we create a list of build ports, followed
by other ports during an iteration. At the end of the iteration, we
unprovision the build ports.
If global configuration is set to clean up at the end of a test, we then
try to unprovision all ports in the namespace once the test completes.
The problem is, we already unprovisioned the build ports during each
iteration. The namespace doesn't know this, and it results in errors.
This commit adds a new method for Namespace to unprovision a subset of
ports. We now unprovision the build ports in the cluster_density test
using this method. Now when the test ends and the namespace is
unprovisioned, it only unprovisions the remaining ports.
Signed-off-by: Mark Michelson<EMAIL_ADDRESS>

Looks good to me, thanks!


have 2 warning when npm install vue-cli

node -v:  v5.2.0
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before will fail on newer node releases. Please update to<EMAIL_ADDRESS>as soon as possible.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>

Thanks for letting us know. This looks like outdated packages in some dependencies. vue-cli should continue work fine despite these warnings.
Closing this issue. Please re-open if you experience any problem because of these dependency.


"ip_int=0L" variable have a extra string in ipaddr.py

in ipaddr.py file 1480 lines:
# Now, parse the hextets into a 128-bit integer.
  ip_int = 0L

the variable "ip_int=0L" is wrong when python setup.py build,
the right variable is "ip_int = 0" ?

Looks like this module doesn't support Python 3.  There's a few other ways it would break too.  I'll send a patch.

Wait, ghost already sent https://github.com/google/ipaddr-py/pull/118.  I'll ping the maintainers...


Update free-programming-books-subjects.md

Added concrete mathematics (A foundation for computer Science)
What does this PR do?
Add a mathematics book which is a foundation for computer science students.
For resources
Description
Why is this valuable (or not)?
It is essential to bridge the gap between programming and mathematics.
How do we know it's really free?
I downloaded it from educational websites.
For book lists, is it a book? For course lists, is it a course? etc.
Yes, it is an enlightening book for programmers as well as engineers.
Checklist:

[ :heavy_check_mark:] Read our contributing guidelines.
[ :heavy_check_mark:] Search for duplicates.
[:heavy_check_mark: ] Include author(s) and platform where appropriate.
[ :heavy_check_mark:] Put lists in alphabetical order, correct spacing.
[ :heavy_check_mark:] Add needed indications (PDF, access notes, under construction).
[ :heavy_check_mark:] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

This appears not to be an authorized distribution. Please see docs/CONTRIBUTING.md guidelines.

But it is a good book.


Tracking issue for removal of ContainerInstanceCache

I just proposed a simplification for Ember Data, which removes the usage of ContainerInstanceCache.  This would be a breaking change to ember-data-model-fragments, so I wanted to open an issue proactively so we can track things...
See https://github.com/emberjs/data/pull/5300

Bump. @rwjblue Can you take a quick peak and confirm this was resolved by @rondale-sc ? Should be a 5 second look.

Closing based on @rwjblue's comment in #287.


fix checkpoint_completion_target value  in example

checkpoint_completetion_target is a percentage, not a fixed data size.

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


[Do not merge]vm: capture shouldn't use own poller

fix #1390
Verified using default poller works just fine

I think this command deliberately prints the output to STDOUT in JSON format. See my comment on the root issue.

Not a fix


Type problem in mechanics_run. All examples broken.

An issue has been raised with some last recent commits
[acary@ohana]$ python cube.py
[io.mechanics] setup model simulation ...
[io.mechanics]
[io.mechanics] Simulation will run from time 0.0000 to 10.0000s, step 1 to step 20001 (h=0.0005, times=[?,?])
[io.mechanics]
[io.mechanics] import scene ...
[io.mechanics] import dynamical systems ...
[io.mechanics] Import  dynamic or static object number  1 from initial state
[io.mechanics]                 object name    cube
[io.mechanics] Import  dynamic or static object number  1 from initial state
[io.mechanics]                 object name    cube
Traceback (most recent call last):
  File "/Users/acary/siconos-tutorials/examples/mechanics/GeometricPrimitives/cube.py", line 64, in <module>
    io.run(with_timer=False,
  File "/Users/acary/Library/Python/3.9/lib/python3.9/site-packages/siconos/io/mechanics_run.py", line 2333, in run
    self.import_scene(t0, body_class, shape_class, face_class, edge_class)
  File "/Users/acary/Library/Python/3.9/lib/python3.9/site-packages/siconos/io/mechanics_run.py", line 1649, in import_scene
    self.import_object(name=name, body_class=body_class,
  File "/Users/acary/Library/Python/3.9/lib/python3.9/site-packages/siconos/io/mechanics_run.py", line 1535, in import_object
    body = self.import_bullet_object(
  File "/Users/acary/Library/Python/3.9/lib/python3.9/site-packages/siconos/io/mechanics_run.py", line 1106, in import_bullet_object
    body.setNumber(number)
  File "/Users/acary/Library/Python/3.9/lib/python3.9/site-packages/siconos/kernel.py", line 2762, in setNumber
    return _kernel.DynamicalSystem_setNumber(self, new_number)
TypeError: in method 'DynamicalSystem_setNumber', argument 2 of type 'size_t'

The modification in 6e81d56fb22c4b96fcfe2084ab95b9cbca56e60e to fix conversion problems raises issues in swig.
The problem seems come fom an unknown type in swig. This is discussed in the documentation here http://www.swig.org/Doc1.3/SWIG.html
Should add this line or come back to int or unsigned int type ?

I think it's better to try the typedef for size_t or the %import "sys/types.h"
(and I thought it was done ?). I'll have a look to this.

we have only that in the kernel.i:
// a std::size_t definition (otherwise swig complains about it)
namespace std
{
  typedef size_t size_t;
}

yes, maybe the namespace is not considered or misunderstood in swig.
We should probably add somewhere in .i files
typedef unsigned int size_t


Automatic sync

Hi, I tried this project, and I couldn't see a sync option to automtically upload the file every day. Maybe I could make this function if the community needs it. :)

Hello, we've looked into this a bit but we figured it would require some sort of app installed on the users' machines. Did you have any ideas on how to approach it or have any other opinions on how we could go about it?

I created a sample api, of course it needs to be installed to the system, but the website could ask the user to download the file to get the automatical sync. Sample API: https://github.com/Kormos03/sync_app-for-stardew.app.git

What do you think?

Did you mean to not include the bat file?

What do you mean? I don't understand

What do you mean? I don't understand

https://github.com/Kormos03/sync_app-for-stardew.app/blob/master/sync_app%2FProgram.cs#L33


feat: Support creating Ubuntu 22.04 OVA (vSphere) image

What problem does this PR solve?:
Adds support for creating an Ubuntu 22.04 OVA (vSphere) image.
Which issue(s) does this PR fix?:

https://jira.d2iq.com/browse/D2IQ-NUMBER

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

We created Ubuntu 20.04 images recently: https://github.com/mesosphere/konvoy-image-builder/actions/runs/10549643236/job/29224908365

The e2e tests, which provision an image, but do not create a snapshot, passed, with once exception: Ubuntu 22.04.
    vsphere-clone.kib_image: TASK [packages : install apt-transport-https deb package] **********************
    vsphere-clone.kib_image: FAILED - RETRYING: [default]: install apt-transport-https deb package (3 retries left).
    vsphere-clone.kib_image: FAILED - RETRYING: [default]: install apt-transport-https deb package (2 retries left).
    vsphere-clone.kib_image: FAILED - RETRYING: [default]: install apt-transport-https deb package (1 retries left).
    vsphere-clone.kib_image: fatal: [default]: FAILED! => {"attempts": 3, "cache_update_time":<PHONE_NUMBER>, "cache_updated": true, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'apt-transport-https=2.4.13'' failed: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3071 (unattended-upgr)\nE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n", "rc": 100, "stderr": "E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3071 (unattended-upgr)\nE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n", "stderr_lines": ["E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3071 (unattended-upgr)", "E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?"], "stdout": "", "stdout_lines": []}
    vsphere-clone.kib_image:
    vsphere-clone.kib_image: PLAY RECAP *********************************************************************
    vsphere-clone.kib_image: default                    : ok=24   changed=11   unreachable=0    failed=1    skipped=153  rescued=0    ignored=0

It looks like something acquires the dpkg lock in the background while ansible is running. A known upstream issue is a conflict with Ubuntu's automated, period upgrades: https://github.com/ansible/ansible/issues/51663

Running vsphere-air-gapped with ubuntu-2204 template: https://github.com/mesosphere/konvoy2/actions/runs/10929448637


Docs issue: blanket-type-ignore rules page should link to a reference of possible codes

On the docs page, https://docs.astral.sh/ruff/rules/blanket-type-ignore/, it would be extremely helpful to link to a reference of possible ignore-type codes. Otherwise, the rule is not actionable as-is.
I would be happy to contribute back to the docs, if anyone else knows of a reference page for those mypy-specific type codes.

I think for this some sort of detection/configuration of which type checker is being used would be useful, since most type checkers have their own error codes.
I don't really want to be suggesting mypy ignore codes when we're using pyright and vice versa

@bendoerry FWIW pyright ignores whatever is in between [] brackets completely with type: ignore and will always blanket ignore. You need to use pyright: ignore[] to ignore specific errors.


Add shebang to scripts

They are required so that system can recognize them as actual script files and
won't try executing them as binaries.

Thank you


Backend : Policy patch API is not working for 'roles`

Policy patch API is not working for 'roles`
Request : http://localhost:3000/api/v1/policies/c89152a3-e3c9-40a8-b187-262b58d98be3
Payload :
[
    {
        "op": "remove",
        "path": "/roles/0"
    }
]

Response :
{
    "responseMessage": "An exception with message ['{\"id\":\"c89152a3-e3c9-40a8-b187-262b58d98be3\",\"name\":\"TestPolicy\",\"fullyQualifiedName\":\"TestPolicy\",\"description\":\"Description\",\"policyType\":\"AccessControl\",\"enabled\":true,\"version\":0.1,\"updatedAt\":1661171748017,\"updatedBy\":\"anonymous\",\"rules\":[{\"name\":\"TestRule\",\"effect\":\"allow\",\"resources\":[\"all\"],\"operations\":[\"All\"],\"description\":\"Description\"}],\"deleted\":false}' contains no value for name 'roles'] was thrown while processing request."
}

@Sachin-chaurasiya this is incorrect use of API. You add or delete policies in Roles endpoint. You should not be able to add/delete roles from Policies endpoint. The policies has list of roles where a policy is referenced.

I am closing this issue as won't fix

@Sachin-chaurasiya this is the incorrect use of API. You add or delete policies in the Roles endpoint. You should not be able to add/delete roles from the Policies endpoint. The policy just has a list of roles where a policy is referenced.

Thanks, @sureshms, I will try that out.
Same way if we want to remove the policy from roles then we will have to use the policy API right not the roles API?


Observable - declaration operators

So I kinda did not like the way properties are being set in class. Having to say it is Observable<String?>.
What about introduing simple operator:
class SomeObject {

    var val: Bool

    init(val: Bool) {
        self.val = val
    }

}

prefix operator § {}
prefix operator §! {}
prefix operator §? {}

prefix func § <T: Any> (type: T) -> Observable<T> {
    return Observable<T>()
}

prefix func §! <T: Any> (type: T!) -> Observable<T!> {
    return Observable<T!>()
}

prefix func §? <T: Any> (type: T?) -> Observable<T?> {
    return Observable<T?>()
}

let some = §34
let other = §?"Some string"
let yetAnother = §!SomeObject(val: false)

Do you thing it is overkill that would cause just confusing or it is actually something that makes sense?
I did not figure out how to do it in type definition of the property. Same could apply to setting of observable.

I feel that would scare to much users :) But you can always have that in your project. As long as you're consistent it should be fine.


Isar is not deleting data after unistalling flutter app

Steps to Reproduce
Isar is working fine in background & foreground service, but when i tried to unistall/ reinstall the same, i still have the same Id
Code sample
// get user id

 static Future<String?> getUserId() async {
    final isar = await db;
    String id = "";
    try {
      id = isar!.users.filter().idEqualTo(1).findFirstSync()?.userId ?? "";
    } catch (e) {
      log(e.toString());
    }

    return id;
  }

//  save user id

  static Future<void> saveUserId(String userID) async {
    final isar = await db;
    User newUser = User(userId: userID, id: 1);

    await isar!.writeTxnSync(() async {
      isar.users.putSync(newUser);
    });
  }

Details

isar : 3.0.5

[X] I searched for similar issues already
[X] I filled the details section with the exact device model and version
[X] I am able to provide a reproducible example

That is not an Isar issue. Depending on which device you use and where you store the instance, the data might be backed up. For example in iCloud.

Im using Oppo F7, android version 10, even with OPPO A16 ( android version 12 ) , im only storing data locally


doc: release: 2.7: add release notes for PM

Update V2.7.0 release notes document with noticeable changes
related to power management.
Signed-off-by: Flavio Ceolin<EMAIL_ADDRESS>

@cfriedt  @nashif  can we get it merged  and back-ported ?


move PkgConfig frmo TSC into SwiftPM

motivation: PkgConfig was moved from SwiftPM into TSC, but really is closer to SwiftPM (not generic enough) and would be easier to maintain within SwiftPM itself
changes:

copy the PkgConfig code into SwiftPM
replace use of DiagnosticsEngine with ObservabilityScope
minor cleanup (more needed, epecially use of statics)
also copy and adjust tests

@swift-ci please smoke test

@swift-ci please smoke test

related: https://github.com/apple/swift-tools-support-core/pull/266


Adding Inspecting Infrastructure Content

This PR adds the content for the Inspecting Infrastructure topic.
URL Path: /docs/using-pulumi/inspecting-infrastructure/

[x] Awaiting video uploads

Closing in favor of branch with new tutorials experience.


Provide separate route tables for db/elasticache/redshift

This PR is a follow up to #132 by @murarisumit.

v1.38.0 has been released.


Allow authorize to pass arguments to policy methods.

authorize currently assumes that each policy has enough information to make a decision. This isn't always the case as described in the policy below.
class ProjectPolicy
  # Determine if user is allowed to remove other_user from the project.
  #
  # @return [Boolean]
  def remove_user?(other_user)
    user != other_user && project.owned_by?(user)
  end
end

authorize has been patched to send any extra arguments to the policy which
makes the above possible.
class ProjectsController < ApplicationController
  include Pundit

   # This isn't RESTful but shows intent.
  def remove_user
    authorize project, :remove_user?, other_user

    project.remove_user other_user
    respond_with project
  end

   private

  def project
    @project ||= current_user.find_project params[:id]
  end

  def other_user
    @other_user ||= project.find_user params[:user_id]
  end
end

I'm closing this due to the same reason as #133. Please see my explanation there. Please respect that this is my final decision on the matter.


Fix for 'unused variable' DPC++ compiler error

Description
Fix for 'unused variable' DPC++ compiler error when assertion (ONEDAL_ENABLE_ASSERT) is disabled.

Are you trying to merge this to master branch? I mean shouldn't we merge this to develop first?

Are you trying to merge this into master branch? I mean shouldn't we merge this to develop first?

It's targeted to master for now because CI is not enabled for develop yet.


v1.0.13 Django 1.10 setup.py error

Using cached django-background-tasks-1.0.13.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\user1\AppData\Local\Temp\pip-build-1ixyhz2eon\django-background-tasks\setup.py", line 11, in
long_description=open('README.rst').read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 1174: illegal multibyte sequence

I'm using Windows 10 Chinese version. Install in another pure English machine didn't encounter this.

Thank you for reporting this issue, @029xue. Could you please try and check whether it is resolved with version 1.0.14?

It's work well on 1.0.14. Thanks for the quick fix.


Update balances on deposit and withdraw dialogs

Dialogs currently open but they're not usable and are using cache values for balances

Think it's ok for the dialogs to open, but we should make sure the cache is cleared

Balances should be updated and not taken from cache

Balances update when selected address is changed


No support for nested video directories

When a course contains nested subdirectories of videos (for example, nested by week). The script cannot traverse the directories recursively to get the videos,

@jgm14  yes. I graduated and I don't have access to my echo account anymore. Have kinda stopped developing. Feel free to fork it and add in features.


List in awesome-linuxdeploy

This should be added to https://github.com/linuxdeploy/awesome-linuxdeploy. I don't want to get your project wrong in the description, so maybe you can send a PR.

@TheAssassin Thank you. I just submitted a PR with a tentative text.


Add Coverage HTML report to CI

Add the Code coverage report to Pull Request page.

Codecov Report

Merging #39 (cb0dd4b) into main (86fff06) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   90.28%   90.28%
=======================================
  Files          19       19
  Lines        1482     1482
=======================================
  Hits         1338     1338
  Misses        144      144

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 86fff06...cb0dd4b. Read the comment docs.


SIGSEGV in gta/definedType when referring to non-existing identifier/type

The following program sample.go triggers an unexpected result
package main

import (
  	"some_pkg"
)

type SomeStruct struct{
   SomeField some_pkg.Unknown_Ident
}

func main() {

}

Expected result
_some_pkg.Unknown_Ident is undefined_ or the panic should be at least recoverable

Got
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0xe8 pc=0x104f890ec]

goroutine 5 [running]:
github.com/traefik/yaegi/interp.definedType(0x10512d660?)
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/gta.go:379 +0x1c
github.com/traefik/yaegi/interp.(*Interpreter).gtaRetry(0x140001406c0?, {0x14000195ed0?, 0x1400016a480?, 0x14000195e10?}, {0x1400001e858, 0x4}, {0x1400001e858, 0x4})
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/gta.go:365 +0x21c
github.com/traefik/yaegi/interp.(*Interpreter).CompileAST(0x140001406c0, {0x1051482a0?, 0x1400016a480?})
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/program.go:77 +0x124
github.com/traefik/yaegi/interp.(*Interpreter).compileSrc(0x140001406c0, {0x1050325c0?, 0x30647d2000000000?}, {0x0?, 0x14000047f58?}, 0x4c?)
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/program.go:52 +0xe4
github.com/traefik/yaegi/interp.(*Interpreter).eval(0x140001406c0, {0x1050325c0?, 0x104df4820?}, {0x0?, 0x104df4870?}, 0xa0?)
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/interp.go:606 +0x2c
github.com/traefik/yaegi/interp.(*Interpreter).Eval(...)
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/interp.go:492
github.com/traefik/yaegi/interp.(*Interpreter).EvalWithContext.func1()
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/interp.go:632 +0x78
created by github.com/traefik/yaegi/interp.(*Interpreter).EvalWithContext
	/Users/tschinke/go/pkg/mod/github.com/traefik/yaegi@v0.11.2/interp/interp.go:630 +0x184

Yaegi Version
v0.11.2
Additional Notes
Note, that there must be a declared interp.Export like
myExports := interp.Exports{}
myExports["some_pkg/some_pkg"] = map[string]reflect.Value{}

Even more problematic for us is, that it is not possible to recover from that panic, due to the extra go routine in EvalWithContext (seems similar but not equal to #487).

I tried to run the example provided above using the most recent yaegi executable (v0.11.3), and I got the following:
$ yaegi run ./sample.go
run: ./sample.go:4:2: import "some_pkg" error: unable to find source related to: "some_pkg"

Which is what is expected in the case some_pkg doesn't exist. No problem here.
I also do not understand your additional notes. Have you built a custom interpreter ?

Yes, you are right. This is a custom interpreter instance. Here is a unit test:
func TestYaegi(t *testing.T) {
	ip := interp.New(interp.Options{})
	myExports := interp.Exports{}
	myExports["some_pkg/some_pkg"] = map[string]reflect.Value{}
	if err := ip.Use(myExports); err != nil {
		t.Fatal(err)
	}

	_, err := ip.EvalWithContext(context.Background(), `
package main

import (
  	"some_pkg"
)

type SomeStruct struct{
   SomeField some_pkg.Unknown_Ident
}

func main() {

}

`)

	if err != nil {
		panic(fmt.Errorf("this does not happen either: %w", err))
	}
}

This also happens using the latest github.com/traefik/yaegi v0.11.3 version.


Encourage more best practices, like COPY over ADD

The Docker docs have some new best practices, like https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#run . Could these be rolled into editorconfig-cli?

er, wrong project lol


Effect Rework

The current aura system makes life difficult to add new effects. This system was probably well suited for the early days of the addon, but the introduction of new functionalities over time has made more and more complex to add new effects.
A rework will pave the future of the addon, hopefully helping for the imminent release of Cataclysm, where there are a lot of effect to add, update, or exclude to Cataclysm players.
The main idea is to introduce an 'effect' object that describes an effect:

basic information, such as name, spell ID or talent
list of spell alerts
list of glowing buttons
flag to tell if the effect is a counter
automatic option addition (e.g. a glowing button will have a glowing option)
project bitfield e.g. "Wrath or Cataclysm"

(the list may not be exhaustive)
This object will serve many purposes, such as:

centralizing an effect in a single place (currently an effect may have code scattered all over the class)
avoid the need to copy/paste spell IDs (e.g. between register and options) or aura name (for counters)
simplify project selection e.g. if SAO.isWrath() which currently makes to code hard to maintain

Please note: the goal is not to remove all existing auras overnight. The current system will still exist. As a matter of fact, the current system may still hold the basement, and will be used by complex code such as handlers.

First implementation in #245.
Improved many times afterwards, especially in #259, #271 and #273.
It can still be (and will be) improved. The issue can be closed, as the main functionality is there.
Some documentation is available at https://github.com/ennvina/spellactivationoverlay/wiki/Overlay#High-level


ROX-17646: Remove waitUntilCentralIsReady

Description
This PR removes the inner loop of the Sensor - Central connection logic, leaving us with only one loop.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
Deployed the change to a cluster, scaled down Central to 0, observed Sensor losing connection.
Afterwards, scaled back Central to 1, observed Sensor reconnecting to Central.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/retest


add identitymanager package

This package will be used to track what global identities are being consumed by the currently running cilium-agent, i.e. what identities are being used by endpoints that are currently running.
This will be used to track what identities are being consumed by endpoints on the local node in the effort to decouple policy generation from being per-endpoint to being per-identity.
The daemon hooks into this package at the following points:

Add / increment reference count to identity in the identitymanager when an endpoint has its SecurityIdentity field set to a specific identity
Delete / decrement reference count to an old identity for an endpoint from identitymanager when an endpoint has an identity change.
Delete / decrement reference count to an old identity for an endpoint from identitymanager when an endpoint is deleted.

A new CLI option is provided to cilium identity list, with the --endpoints argument to allow for introspection into the current state of the identitymanager by the cilium-agent:
Example:
    $ cilium identity list --endpoints
    getting identities endpoints
    ID      LABELS                                                 REFCOUNT
    4       reserved:health                                        1
    104     k8s:io.cilium.k8s.policy.cluster=default               1
            k8s:io.cilium.k8s.policy.serviceaccount=coredns
            k8s:io.kubernetes.pod.namespace=kube-system
            k8s:k8s-app=kube-dns
    24857   k8s:appSecond=true                                     2
            k8s:id=app2
            k8s:io.cilium.k8s.policy.cluster=default
            k8s:io.cilium.k8s.policy.serviceaccount=app2-account
            k8s:io.kubernetes.pod.namespace=default
            k8s:zgroup=testapp
    33585   k8s:id=app1                                            4
            k8s:io.cilium.k8s.policy.cluster=default
            k8s:io.cilium.k8s.policy.serviceaccount=app1-account
            k8s:io.kubernetes.pod.namespace=default
            k8s:zgroup=testapp
    58550   k8s:id=app3                                            2
            k8s:io.cilium.k8s.policy.cluster=default
            k8s:io.cilium.k8s.policy.serviceaccount=default
            k8s:io.kubernetes.pod.namespace=default
            k8s:zgroup=testapp

This shows that for identity 33585, 4 endpoints are consuming this identity.
Notable implementation details:

The map is keyed by the numeric identity, not a pointer to an identity. The same identity can have multiple identity.Identity instances on the local node, so using the pointer as a key in the map is not feasible.

I am happy to add a runtime test once I get sign-off on the API side of things. I've tested it locally.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

Coverage increased (+0.06%) to 42.62% when pulling da2afc368d53844cd14dc79f10eb2cc1e4c4bc74 on pr/ianvernon/identitymanager into 3ad7ed9b959113d3daf55bff7e32fff18acc2119 on master.

test-me-please

Build failure - not sure if it is related or not: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/11504/

test-me-please

Build failure: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/11511/testReport/junit/(root)/Suite-runtime/RuntimePolicyImportTests_checks_policy_trace_output/
Investigating.

test-me-please

test-me-please

test-me-please

Istio test failure tracked by the following comment: https://github.com/cilium/cilium/issues/7718#issuecomment-483352259
Most likely is unrelated to changes here.
The other failure is the VXLAN encryption test, which is known to be flaky: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/11576/testReport/junit/Suite-k8s-1/14/K8sDatapathConfig_Encapsulation_Check_connectivity_with_transparent_encryption_and_VXLAN_encapsulation/
Issue link: https://github.com/cilium/cilium/issues/7615

test-me-please

Merging; this has been out for some time, and don't want to block further policy work on this PR.


Auth not working

In the examples when I want to auth I am redirected to LastFM but after this I am not redirected back to the original page like on Twitter so I stay on LastFM.
Custom callback url is missing

Also it makes more sense for me if we can use dynamic callback urls in the script as described in the api docs. Why should we use them in the script / library?

It does. But like I said, the library doesn't force you to do it either way. You use your own code to redirect the client to the right place and then when it comes back with a token the library uses that.


Question: possible to set "Remind me" date?

Love wunderline, just love it. Thank you very much. Is there by any chance a way to set a "Remind me" date? It doesn't seem to be documented. (Or is it impossible?)

Hi @JayBrown :)
Firstly, thanks!
It is possible to create tasks with due dates, if that's what you're referring to?
$ wunderline help add

  Usage: wunderline-add [task]

  Add a task to your inbox

  Options:

    -h, --help         output usage information
    -l, --list [name]  Specify a list other than your inbox
    --today            Set the due date to today
    --tomorrow         Set the due date to tomorrow
    --due [date]       Set a specific due date
    --note [note]      Attach a note to the new task
    -o, --open         Open Wunderlist on completion
    -s, --stdin        Create tasks from stdin

$ wunderline add "Hello, World!" --tomorrow

Thank you for the quick reply. I'm afraid I mean something different… see the screenshot here: http://i.imgur.com/qH0HlNZ.png
You can set the due date, which wunderline manages fine (today, tomorrow and in date format), and right below that you can also set the "Remind me" date (format: date & time), which is what I mean. So a wunderline CLI command in this respect would maybe look like:
$ wunderline add "Task to do" --list "List name" --date 2016-02-25 --remind 2016-02-19 --note "Text to go into note field"
So there would be a difference between due-date and remind-me-date: one is your deadline to finish the task, the other is the date Wunderlist will remind you to finish that task.
By the way: In Wunderlist you can also create a subtask and a comment. I don't need these two things in wunderline, but maybe other users might.

Ah okay, I see what you mean. I'll have a look into it, should be pretty simple :)
I doubt I'll add subtasks and comments, just because I think a command-line wouldn't be a great interface for doing that :)

Oh, that's great. I forgot to add that you can also set the time for the reminder, not only the date, so the syntax could be something like
--remind 2016-02-19-17-30-15
for date 19th of February 2016, time 17:30:15 (5:30 PM and 15 seconds).

The API doesn't implement that feature yet ref

Reminders are now implemented as a seperate endpoint


Additional comments from WST doc

:+1:

:tada: This has been pushed live to https://developers.google.com/web/


Homepage recent/most viewed does not need top 10

In the code we are asking for top 10 (at least for the top last week), but we are displaying only top 3.
Whether this can improve the "swiftness" is questionable...

partly related to #190

review #149 ...

@kosarko from #149: let's leave 5 for debugging purposes, closing


[IOS-9382] Remove ClipboardContent from Bonus Data

In iOS 14, it's considered a violation of user privacy to access the clipboard content. We were including it in the bonus data that we send to various service calls (for sketchy evaluation). The clipboard content was just bundled into the "all system info" dictionary that we use for bonus data. This PR just alters the System Services code that generates that dictionary so that it does not include clipboard content.

Removed clipboard content from the -allSystemInformation method (it’s no longer bundled into the overall dictionary of system info). The SystemServices code still allows you to specifically ask for clipboard content, but the way TN app uses this code, it won’t access clipboard content when it calls -allSystemInformation.

Added a little more code and a couple asserts to the demo app to confirm that we aren’t including clipboard content in the overall dictionary.

Nice work!  I'll review and merge when I get a chance.  Thank you!


Time returned from onItem clicks are always NaN

For certain browsers and versions (i.e. chrome 60.x) the time passed to onItem event handlers is NaN.  This is because in certain browsers, getBoundingClientRect returns ClientRect not DOMRect, where the former does not have x on the object.
The issue is here:
https://github.com/namespace-ee/react-calendar-timeline/blob/master/src/lib/Timeline.js#L886
Solutions: replace x with left

fixed in v.0.15.10. - https://github.com/namespace-ee/react-calendar-timeline/commit/1165ac8f95bdf56214056f0f8c8c08c90330c5c2


Connect instance to a subdomain

Assign this instance an Elastic IP, and tie that to a subdomain in Route 53, so that it has a stable subdomain.

It's now machine.richmondsunlight.com.


Form.Field input to have the same label format options as Input

Feature Request
Form.Field input to have the same label format options as Input
Using the
<Input label='text'/>

gives you an input with greyed label section at the left side (by default) of the input field.
But using the
<Form.Field
    control={Input}
    label='text'
 />

only gives you the label at the top of the input field, pretty much unconfigurable without complex native CSS.
Proposed solution
There are multiple different label options for the Input component, but these configurations are not present doing the Form.Field abstraction. Some additional options for the control property would be welcomed to make this available.

Form.Field & Input have different kinds of label, however it's possible to combine them:

<Form>
  <Form.Field>
    <label>User Input</label>
    <Input label="This is a label" labelPosition="right" />
  </Form.Field>
</Form>

I don't see the easy way to combine these behaviors without huge breaking changes as both of them are called label. As there is a way how to archive this I don't see reasons to perform changes there.


[Question] Startup.cs - throw new Exception("need to configure key material");

Hi,
This is not a bug, just a question.
When I tryed to execute dotnet MyIdServer.dll /seed
I got : throw new Exception("need to configure key material");
I did this :
`
#if DEBUG
var certPath = Path.Combine(Directory.GetCurrentDirectory(), "Cert", "MyIdServerLocalhost.pfx"); //IISExpressCertificate
X509Certificate2 cert = new X509Certificate2(certPath, "MyLocalhostCertPassword");
#else
var certPath = Path.Combine(Directory.GetCurrentDirectory(), "Cert", "MyIdServer.pfx");
X509Certificate2 cert = new X509Certificate2(certPath,"MyProductionCertPassword");
#endif
builder.AddSigningCredential(cert);
`
My question is :
This means when you seed the database for production, you cannot use it in localhost test mode because some encryption is different ?
If yes, do I have to seed a first database for localhost with a first connectionstring and a second one for production ?
Thanks

The docs have many of your answers:
http://docs.identityserver.io/en/release/quickstarts/0_overview.html
http://docs.identityserver.io/en/release/topics/crypto.html

Also - learn about the hosting environment concept in ASP.NET Core - this is orthogonal to DEBUG.

Closing. If you still have issues, feel free to reopen.

The docs have many of your answers:
http://docs.identityserver.io/en/release/quickstarts/0_overview.html
http://docs.identityserver.io/en/release/topics/crypto.html

The links are broken. Could you update them?

Here are the updated links:
http://docs.identityserver.io/en/latest/quickstarts/0_overview.html
http://docs.identityserver.io/en/latest/topics/crypto.html

Here are the updated links:
http://docs.identityserver.io/en/latest/quickstarts/0_overview.html
http://docs.identityserver.io/en/latest/topics/crypto.html

Thanks for the update


Fix file transport write behaviour (#1194)

Superceded by #1291. Thank you for your contribution!

Nice to see this fixed. Thanks!


Tips on printing on a printer with smaller build volume?

First of all thank you for sharing this project. 💯
I am really excited to make one and run my on models on it.
Do you have any tips about printing on a smaller build volume? I have Ultimaker 2 extended which has a build volume of 223 mm × 223 mm × 305 mm. The body of the bot does not fit? The best I can get is this

Hi @katnoria
I have made a slim version of the model that fits into a 220x220 build surface. Please try it and let me know.
If this works, I can also create a matching top cover.
body_bottom_slim.slt

hi @thias15
Thank you for making the slim version. It work 👍

Would you please create the slim version of top cover too?

hi @thias15
My printer is 200X200X200mm. Would you mind uploading the editable part files as well? If so, we can shrink the size or split the base and top into several pieces on our own.

I made a slim version for the top: body_top_slim.stl.

@VCU-RVI-dataset, I have also added the STEP files for the top and bottom of the chassis for more flexibility (see updated README). Please let me know if you figure out a good solution for smaller build volumes.

Thank you @thias15


Issue with the latest axios (v.1)

This library has used the axios: ^0.18.0 as a devDependency to pull in the Axios while development.

It has to be in the dependency section of the package.json to force relevant Axios version constraint as well.

{
   "dependencies": {
      "axios": "^0.18.0",
   }
}

This way your package will not be installed in the projects using axios: 1.13.0.

I used your library to solve the rate limiting Issue in our project, But wasted an entire day as I relied on TS to tell me there wasn't any Error. Found out the Issue doing debugging the runtime values.

Thank you for notice that! I've updated the spec to:
  "dependencies": {
    "axios": ">=0.18.0"
  },

Also I've added tests against both main versions of axois
https://github.com/aishek/axios-rate-limit/pull/72

Fix published in https://github.com/aishek/axios-rate-limit/releases/tag/1.3.3


Added a matrix multiply example

My wasm version is less good then both O2/O3 from GCC C-code. I'll have to see what could be done for that:
Running perf test: perf_tests/matrix/mul
Wasm:
Initialization of the wasm module
Call the Wasm Test Initialization
Initialization done
Running wasm with 1000
Time between in average is<PHONE_NUMBER>.000000
GCC in O2
Initialization of the wasm module
Call the Wasm Test Initialization
Initialization done
Running C with 1000
Time between in average is 644781923.600000
GCC in O3
Initialization of the wasm module
Call the Wasm Test Initialization
Initialization done
Running C with 1000
Time between in average is 489813990.900000
Tests passed


calculate quality metrics such as hospital readmission, mortality rates, patient safety, and surgery outcomes for c-section. now focusing on C-section

decide on 1 or two mortality rates (e.g. after a simple procedure that is extremely popular from https://databrowser.researchallofus.org/) from data tom sent us (https://data.cms.gov/provider-data/dataset/ynj2-r877)


7 create additional use cases

Adding the newer use case documents, added a featured data file and logic to only display these on home page.
I just added an arbitrary 6 use cases to be featured so we could get this in place and working. Feel free to add or replace these in featured.yml.

I moved the README over as is from the old site, I'll make a pass through to bring it up to date.

Tagging @ptsefton @dgarijo @jmfernandez following our conversation at the RO-Crate community call last week. Thanks to this PR by @a-mile, the use cases have all now been migrated to the new website, so you don't need to migrate them yourself. You are of course still welcome to put in PRs to update the use case pages in this repo. There is also updated guidance on adding new use cases.


Add guest mode

This PR:

adds guest mode
adds guest mode docs

White this Line allows that guest see the page, when it is configured that it should not happen (unauthenticatedOnly = false)
 see case


Introducing a new podman wrapper

The main reason for the wrapper is to avoid the need to run unshare, by formatting a defined user mapping, such that the zap user maps the host user. This way ZAP can write in the ./results share without needing to change ownership.
source:
https://github.com/containers/podman/blob/main/troubleshooting.md#39-podman-run-fails-with-error-unrecognized-namespace-mode-keep-iduid1000gid1000-passed In very recent podman version, this hack can be simplified.
This change is backward compatible : nothing prevents the user to use any old methods for starting RapiDAST.
Note:
Unlike runenv.sh, this script does not attempt to stop the container in case it is already running. The reasoning is : if RapiDAST is currently undergoing a looooong scan, a user probably prefers the new command to fail, rather than cancelling the current scan. However, we could improve that.
Other minor changes:
In README.md:

removed the reference to [podman|docker] pull, as it refers to a different image, and afaik, will be done by the compose command
updated with the new command, removed references to unshare
few minor readability/consistency update

In runenv.sh / runenv-ui.sh: echo "deprecated" message

Quick additional note:
I forgot to mention in the commit, but podman-wrapper.sh support -h option to show help, can load a 3rd party compose file as well (-f <file.yaml>, e.g: in case a user wants to use a custom compose file), and also accepts a list of RAPIDAST_* based environment variables in place of command line options [not that it's very useful, but why not]


Your modules in Cardinal?

I use the excellent LessMess in VCV but am trying to port my projects to use Cardinal (https://cardinal.kx.studio/).  However Cardinal requires a  GPLv3+ compatible license (as described here under "Adding Modules": https://cardinal.kx.studio/modules).  Is this something you would consider changing?  Thanks :-)

@LOGUNIVPM the BSD-3 software license is compatible, no worries.
The only thing we do like to have with Cardinal is the ability to have a "dark mode". Either you implement a dark theme for your modules, or we can do a trick for inverting certain colors on the Cardinal end (this is what we do for Mutable Instruments, and the reverse for Befaco, etc.)
For the VCV modules we had to resort to fully custom UI because we were not allowed to use their branding, which is embedded in the design.

Is there anything else that needs to be done here to move this forward?  If I can help I am glad to do so.
In the meantime, I've figured out a work around using the Stoermelder Glue module, the Polyphonic Split/Merge Modules and a blank panel:

I have quickly tested my modules with color inversion. I think it is ok for now. In the future I may think about a dark theme.
How do you implement the dark theme in Cardinal?

Dark themes now work the same as in VCV: https://vcvrack.com/manual/PluginGuide#Dark-panels
(we used to have a custom implementation, before VCV created an API for this)

Ok. I'll inform you if in future I will add the dark panel option.


migcluster: add 'insecure' and 'caBundle' fields to add/edit form

Adds an option for disabling SSL verification and an option to provide a base64 encoded caBundle to the migcluster add/edit form. This provides the necessary front end support for https://github.com/fusor/mig-controller/pull/347.

Fixes #316

@eriknelson I've got a text field here at the moment as the input for the CA bundle, but I'd think either a text area to allow pasting the PEM cert without having to b64 encode it first or a file upload would be better suited. Anyone have any opinions on that?

@mansam There's a PatternFly component that allows either text copy or file upload but it hasn't been implemented in PF4 yet. I'll talk to @ibolton336 when I get back in the U.S. about redesigning in PF4.

@ibolton336 Here's a link to the code for the above mentioned component. Do you think you can rebuild this with PF4 styles?

@ibolton336 Here's a link to the code for the above mentioned component. Do you think you can rebuild this with PF4 styles?

https://codesandbox.io/s/lkkjpr5r7 I think if we can just use a simple HTML5 file input element, we should be good (as shown in this link within a formik form). Unless we need drag and drop functionality, this should be enough IMO. & we can style the button & text to be pf4 compliant.


Adding banner to readme

banner image added to assets folder
assets folder added to gitattributes

Codecov Report
Patch and project coverage have no change.

Comparison is base (7bc4fe0) 78.33% compared to head (f271813) 78.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage     78.33%   78.33%
  Complexity      517      517
=========================================
  Files            81       81
  Lines          1703     1703
=========================================
  Hits           1334     1334
  Misses          369      369

Flag
Coverage Δ

unittests
78.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Issue with chat context

Estimation: 2 hours

Same, after a long discussion, chat starts answer different qiestiions.


node module error

When using the package as a module with npm and e.g. babel and browserify the requires will not work. Missing ./utils required is the first error.
When using git clone and manual compilation:
Package do not compile. Missing uglify-es and browserify packages. Install them before running make.
The example script is wrong. The ma function use the "c" attribute by default.. thus the given parameter must be as below. That way of including the package is also the only way I found that works.
"use strict";
import tw from "./trendyways/dist/trendyways.min.js";
console.log(tw.ma([{"c":1.1}, {"c":2.2}, {"c":3.4}, {"c":2.1}], 2))
Great thanks for your efforts!

Hi,
Did you try running npm install before make? That will install the dependencies required to build successfully.
The example needs to be updated :)
Thanks for your feedback!

I just released a fix for the error you reported.
I tried to reproduce the issue regarding "missing utils" without success though, can you provide more details?


Add HTTPS encryption

BasicAuth is insecure when done over HTTP, add code to handle requests with HTTPS instead.

Added in 4b75672.


Tx with Trust Wallet are not working

URL: https://gnosis-safe.io/app/
Can only be tested in mainnet since Trust doesn't have Rinkeby network
Try to create a safe with a Trust wallet account or
Have an owner in a safe and try to sign a tx that pays a fee with him
It always show an "Unknown error has occurred" message, no mention of lack of funds or something like that.
There is no issue with off-chain type of signing, just with those that pay a fee

@lukasschor idk if there anything we can do about this, maybe is an issue with the Trust wallet, but still is worth to know that there is an issue with this specific wallet if any user complains

Yes but would be good to investigate what the issue is so we could raise with Trust so they can fix it if it‘s on their side.

But this is a duplicate to #350 anyways, right?


Apply for Gitcoin grant

Recently came across this project when trying to see how best to test Dapps. I think it will be invaluable for the community, maybe to help support the development of it you might consider applying for a Gitcoin grant

Recently came across this project when trying to see how best to test Dapps. I think it will be invaluable for the community, maybe to help support the development of it you might consider applying for a Gitcoin grant

https://gitcoin.co/grants/5699/synpress-web3-enabled-e2e-testing-tool


Have separate GH actions for component and e2e tests

e2e and component tests check different things. It's helpful to know whether one passes even if the other fails.
At the moment, if my e2e tests come first and fail, I won't know if my component tests would have passed. And if I am refactoring a large part of the app as in #202, I might failing e2e tests - but not failing component tests.

There is a way to force later action steps to run even if previous ones have failed: https://docs.github.com/en/actions/learn-github-actions/expressions#status-check-functions
But I think a better approach is to make two separate actions, one for e2e and one for component tests. That way, we'll also have the visual feedback in the GH interface (i.e. two green checks).


generic queue implementation in cpp+binary search in python3

Thanks for contributing but please follow the Contributing Guidelines and naming conventions in the guidelines accordingly.
Second, please cross check your cpp code, there are a few warnings in peak function.

@AshishOhri sure, I will update the names according to the convention.
And the warnings in peek function are because of the friend function, they can simply be ignored. Neverthless, I will update those too

@AshishOhri I have made the changes and they seem to work fine. Can you please check once?


After crashing, material maker doesn't properly show hierarchy view

Material Maker version:

any
OS/device including version:

windows 10, gtx 760
Issue description:

Whenever MM crashes to the desktop, restarting it and opening a material file results in the hierarchy view showing only a non-expandable "Ptex" entry- no file name and none of the groups that exist in the document.  This issue can be resolved by opening and picking any option in the hierarchy thumbnails dropdown menu, but repeats in the next crash.
Steps to reproduce:
Work until MM crashes*. Relaunch MM and open a file.

Crashes are rather frequent for me. It can occur at any stage of work, but seems to be more likely when making/removing connections while the 3d preview window is active.

Additionally, double-clicking the Ptex before resolving the hierarchy by picking thumbnail options causes a crash.


Documentation

New README and new instructions for word2vec

Hi everybody, I am going to merge this so we can see the new readthedocs pages


CONFIGURATION-753: Interpolation Consistency

making collection interpolation behavior consistent between ConfigurationInterpolator and DefaultConversionHandler
adding ConfigurationInterpolator.setStringConversion() method to allow configuration of string conversion behavior

Thanks, @kinow!


Add GEOSldas CI Build Tests to MAPL

Description

Recently, a change in MAPL caused a build failure in GEOSldas using GNU. This is something we'd rather not have happen. GEOSldas I think is cheap enough to build that this shouldn't hurt our account.
Related Issue

Motivation and Context

We don't want to break GEOSldas at least in the build.
How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Of course, I just now realize that we can't add this until @weiyuan-jiang can figure out the GEOSldas issue with MAPL develop.
Still, I'll keep this PR here and when GEOSldas has a fix, I'll re-run the CI and get this merged in.

And I'll ping @gmao-rreichle so that he knows about this here.

Well, good thing is the CI build worked for Intel and failed for GNU. So that means I got the yaml right 😄

Woooo! Undrafting!

Also, that is a lot of reused code in that file... Time to make an issue.


FIX: Use the most recent commit of xarray main

Closes #98
Use a specific branch of xarray github main branch

@mgrover1 We should make sure, that only xarray is pulled in from pip and no other dependencies. Maybe this already works out if the box. Let's see.

From the environment printout:
wradlib                   2.1.1              pyhd8ed1ab_0    conda-forge
wrapt                     1.16.0          py311h9ecbd09_1    conda-forge
xarray                    2024.7.1.dev45+gd33e4ad9          pypi_0    pypi
xarray-datatree           0.0.14             pyhd8ed1ab_0    conda-forge
xcb-util                  0.4.1                hb711507_2    conda-forge
xcb-util-image            0.4.0                hb711507_2    conda-forge

Looks like we should be good 😄


spox.Var cannot be copied

Making a shallow copy of a spox.Var object leads to an error at build time. While it seems reasonable that a copy.deepcopy would not work, it seems surprising from a user perspective that a shallow copy is also causing issues.

I suppose even a shallow copy does not buy you much given Vars themselves are immutable. Agree the error message could be improved, though.

Yes, there is not reason to copy a Var, but it should not result in a cryptic error.

In principle even a shallow copy of a non-argument is not.. useless, just difficult to say what a use case could be. Deep copies would always break the entire dependency graph. Either way, the reason an error is raised here is because the shallow copy changes the object identity of the argument (a), and b ends up depending on an argument (copy(a)) which is not declared in build.
Perhaps the best way is to add an explicit error check for missing arguments in build. But it’s probably fine to implement a deep copy too (there’s no mutable state anyway, well, except for hacks like cast).

Technically, two Vars should be equal and have the same hash if they were produced by the same node and are connected to the same "output index" of that node. Do you see a reason why that should not form the basis of the hash which would naturally make things work with a shallow copy?

I'm not completely sure what you mean by 'naturally'. I see the following options:

Don't do anything when shallow copying, just return the existing instance.
Actually perform a shallow copy by reconstructing the Var. This would change the identity and hence equality test.
Allow shallow copies and use a shallow hash by of the node identity and pointed output.

I would definitely not do anything in way of deep copies nor deep hashes, as those would require a lot of complexity for virtually no gain. Spox would essentially end up implementing common subexpression elimination (so that deep-copied Vars still compare equal), and that should be done by optimisers.
Unless there's a specific problem, I'm not sure there's anything worth doing here except returning the same object? If you think that's bad style that the copy has the same identity, then you can do your shallow hash idea.

Returning the identical object from a copy seems a bit iffy, but I can't point to a place where that would cause an issue, to be honest. It would certainly be the easiest way to address this issue!


Implement the Inverse kinematics in the repository

This PR implements the InverseKinematics component in the repository.
In details, it introduces the class task and the interface inverse kinematics,
The task describes a generic task that can be handled in inverse kinematics. I also implemented 4 concrete classes that describe different tasks Namelly:

SE3Task: a task that ensures the tracking of a cartesian trajectory
SO3Task:  it ensures the tracking of the desired orientation
JointsTrackingTask: it ensures the tracking of a desired joint configuration. (You can use it as a regularization factor)
CoMTask : it ensures the tracking of the CoM

Once the user has a list of tasks the user can build the inverse kinematics with the InverseKinematics interface.
I also implemented a QPInverseKinematics class. This is a concrete implementation of an integration base IK. In this specific implementation, I used osqp-eigen to solve the ik problem.

I also implemented some tests.
The PR is ready to be reviewed @traversaro @S-Dafarra.

IB-IK in BLF @lrapetti @paolo-viceconte @Yeshasvitvs @claudia-lat

For the sake of completeness, I add the two schemes that can be used as a while using the IK component.
The IK component can actually be used as Velocity controller or real IK. Indeed it is important to notice that IntegrationBaseIKState is a struct containing the joints velocity. When a robot velocity controller is available, one can set these joint velocities to the low-level robot controller. In this case, the $i^d$ quantities in the following figures  can be evaluated by using robot sensor feedback, and the robot is said to be velocity controlled. On the other hand, if the robot velocity control
is not available, one may integrate the outcome of IntegrationBasedIK to obtain the desired joint position to be set to a low-level robot position controller. In this case, the $i ^d$ quantities can be evaluated by using the desired integrated quantities instead of
sensor feedback, and the block behaves as an inverse kinematics module, and the robot is said to be position controlled.
Here you can find an example of the IK component used as a velocity controller

Here you can find an example of the IK component used as inverse kinematics. In this case, the System::FloatingBaseSystemDynamics and System::Integrator classes can be used to integrate the output of the IK taking into account the geometrical structure of the configuration space ($ R^3 \times SO(3) \times R^n$)

Here the updated blocks ExplanationWalkingIK.zip
cc @traversaro

For the sake of completeness, I add the two schemes that explain how the class can be used.

Great! For the sake of completeness, at least on iCub and R1 robots as of 2021.02 distro version the low level joint velocity controller is actually just integrating the desired velocity and passing it to the position controller (see https://github.com/vvv-school/vvv18/blob/cf1ed79686bb14ba083d95109f81ac356388fe9a/material/yarp/vvv18-yarp-motor-control.pdf), so in the iCub case the two scheme are more similar then it may seems, even if they are different due to the nature and the delay of the feedback used in the "task proportional controllers".

@S-Dafarra I apply all your comment let me know if you are fine with the current implementation.
After your approval, I will reorganize the commits before the merge

The conda build is failing as the change in osqp-eigen still needs to be released. Probably we can disable that in conda until it is released.

Here two updated images:

ExplanationWalkingIK.zip


Load demo data from the currently selected language[FEATURE]

Could we have this function? Have a demo date for all languages?
If the user chooses his Italian language, he will be able to upload the demo date also in Italian!

Duplicate of https://github.com/AmruthPillai/Reactive-Resume/issues/793, closing this issue for now.


UI for event/attendee inventory page

Similarly to the home page, I need to make the UI look better and keep it user-friendly so that it satisfies the client's requirements.

I am using the global.css style but, I am having trouble getting a proper footer within this page. I also still need to format the buttons and create its own .css file for this page.

Added a .css file for the UI for the event/attendee inventory page and have completed most of the UI. Now, I want to fix some bugs and small details to make the UI overall better.

We met with the client and they like the UI.


tf2 Concept: About tf2 page

This is a basic tf2 overview page that explains tf2 on a very high level, and makes overview of tutorials.
Not sure if it exactly fits into the Concepts sections. Let me know if is not
Signed-off-by: Shyngyskhan Abilkassov<EMAIL_ADDRESS>

One more minor edit, then I think this is ready to go.

Thank you! Done

@Mergifyio backport foxy galactic


viewing output from genesis tab broken

I think something from simulationResultTools is trying to perform ascii operations on unicode? Thus can no longer export to data viz.
/home/vagrant/src/radiasoft/radtrack/radtrack/util/stringTools.py:42: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if line[i] == commentCharacter and not insideQuote(line, i) and not characterEscaped(line, i):
Traceback (most recent call last):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/genesis_controller.py", line 45, in
position))
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 45, in results_context_menu
if can_accept(tabType, file_name):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 35, in can_accept
if is_file_type(file_name, file_type):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 28, in is_file_type
elegantFileImport(file_name)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/beamlines/RbElegantElements.py", line 1182, in
fileImporter = lambda fileName : importFile(fileName, None, classDictionary, nameMangler)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/beamlines/RbElegantElements.py", line 34, in importFile
line = ''.join([previousLine, line]).strip()
UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/genesis_controller.py", line 45, in
position))
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 45, in results_context_menu
if can_accept(tabType, file_name):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 35, in can_accept
if is_file_type(file_name, file_type):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 28, in is_file_type
elegantFileImport(file_name)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/beamlines/RbElegantElements.py", line 1182, in
fileImporter = lambda fileName : importFile(fileName, None, classDictionary, nameMangler)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/beamlines/RbElegantElements.py", line 34, in importFile
line = ''.join([previousLine, line]).strip()
UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/genesis_controller.py", line 45, in
position))
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 45, in results_context_menu
if can_accept(tabType, file_name):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 35, in can_accept
if is_file_type(file_name, file_type):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/util/simulationResultsTools.py", line 28, in is_file_type
elegantFileImport(file_name)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/beamlines/RbElegantElements.py", line 1182, in
fileImporter = lambda fileName : importFile(fileName, None, classDictionary, nameMangler)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/beamlines/RbElegantElements.py", line 34, in importFile
line = ''.join([previousLine, line]).strip()
UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)

How did this error come about? Can you attach a file or list steps that cause this problem?

hit simulate on the genesis tab and right click on lcls.out.h5

Fixed by commit 1d14f49f279e89dc36dc84681ef62dac427a49ff. A warning is still printed to the command line, but the behavior in the GUI is now correct.


psycopg2-binary2.9.9

Type: Incorrect
Summary:
psycopg2-binary2.9.9
Details:
Declaring as OTHER for the LGPL-3.0-or-later license with special exception and alternative license
Resolution:
https://github.com/psycopg/psycopg2/blob/2.9.9/LICENSE
Affected definitions:

psycopg2-binary 2.9.9

@AE49 I'm marking a hold on this one. It looks like SPDX had added markup to https://spdx.org/licenses/openvpn-openssl-exception.html for pyscopg2 but it looks like one of the differences was missed. I'm going to open an issue and get a PR submitted to get this updated. Once accepted, I will update this whole file accordingly.

PR submitted: https://github.com/spdx/license-list-XML/pull/2402


Promise.done is deprecated.

Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done
Promise.done (<embedded>:1:658437)
Object.toggle (C:\Users\robin\.atom\packages\flying-art-preview\lib\flying-art-preview.coffee:103:10)
HTMLElement.subscriptions.add.atom.commands.add.flying-art-preview:toggle (C:\Users\robin\.atom\packages\flying-art-preview\lib\flying-art-preview.coffee:52:26)
CommandRegistry.handleCommandEvent (<embedded>:11:349858)
CommandRegistry.dispatch (<embedded>:11:348333)
AtomEnvironment.dispatchContextMenuCommand (<embedded>:1:656727)

Thanks for the report, it's been awhile since I've looked at this


MTV-286: MTV 2.3 Release notes

https://issues.redhat.com/browse/MTV-286
MTV 2.3 Release notes
Preview:
https://deploy-preview-305--forklift-documentation.netlify.app/documentation/doc-release_notes/master/#rn-23_forklift

LGTM


Keyboard Dismiss Mode - Interactive

I would like to make the keyboard dismiss mode to be interactive so that the user can slowly drag to hide the keyboard. Just like iMessage, WhatsApp, Facebook Messenger etc
I have found the solution using Swift 3, but not for NativeScript:
https://stackoverflow.com/questions/43469638/how-to-show-hide-keyboard-smoothly-on-drag-in-ios-swift-3
Can someone guide me on how to do this

Hi @dolanmiu,
The described scenario can be achieved while using the nativescript-iqkeyboardmanager plugin. You will also need setting up the ScrollView's keyboardDismissMode property to UIScrollViewKeyboardDismissModeInteractive. Check out the attached sample project.
Archive.zip


test/bpf: Set pipefail to fail verification checks

Previously, if the verifier-test.sh script failed then the
check-complexity.sh script would not fail, even though an error
occurred. This was misleading, fix it by setting pipefail on the whole
script.

This change is

Not used by CI, tested locally. Skipping Ci run.


Update to recent RapidJSON and integrate streaming (was JSON-parser errors are very unhelpfull)

The error-messages in the exceptions thrown by the JSON-parser aren't very helpfull:

Error: rapidjson internal assertion failure: IsObject()

It would be great if these could become more descriptive, maybe something like this:

Error: in object 'value0': in array 'value3': expected object, but found integer.

randvoorhies commented on Mar 24, 2014
It would be great if we could figure out how to add line numbers to errors as well. Ideally, the above error would read something like:
Cereal JSON serialization error. Expected type [string] on line 4, but found [list] instead.

Jip, line numbers would be really good.
Is there a way of doing this currently?
(Perhaps getting some kind of marker of stream position or something? Then I could count newlines myself if I have a stream that allows me to go back to the beginning.)
Thanks.
Side note: Regarding JSON and C++11:
 * JSON Voorhees
 * JSON for Modern C++
(from https://isocpp.org/search/google?q=json )

We're now using RapidJSON 1.0.2, I haven't done anything other than make it work as is, so no streaming or anything like that yet.

I also found this problem  when adding nvp information (value is a custom type)
This worked,
	cereal::JSONOutputArchive{os}<< value;

then
	cereal::JSONOutputArchive{os}<< CEREAL_NVP(value); // or cereal::make_nvp("value", value);

gave the "rapidjson internal assertion failure: IsObject()" error.
Then I tried
	cereal::JSONOutputArchive{os}<< cereal::make_nvp("value0", value);

and it worked again.
I tried with strings like "valu0" or "val0" or "valuex" or "value1" and they all fail as well.
But "value00" worked. It seems that there is something special about finishing with a number "0".
Also, in all the failing cases, I see an extra "}" at the end of the file.


Playback- request new urls upon expiry

There are a lot of errors from expired tokens in NPAW and it makes it sort of useless for debugging for that reason.
https://teams.microsoft.com/l/message/19:020351fd083f4e66bcf0b4e5555a3d94@thread.tacv2/1683203117214?tenantId=8572f54e-d0a8-4ea4-a28e-557c63698a4a&groupId=65a25340-a2b5-4933-873d-dec0f984fc5a&parentMessageId=1683203117214&teamName=BCC Media - Redaksjon&channelName=BCCM app web&createdTime=1683203117214&allowXTenantAccess=false

We verified now that ~95% of these errors are from the old AppleTV app.
So we are not going to prioritize this for the mobile apps.
We'll monitor if the new appletv app has the same issues and fix it if it does.


Explore how to merge hub and consumer

What and Why
@datejada and @g-moralesespana, please check.
Possible Drawbacks
No response
Related Issues
No response

While I think we should make it as compact as possible, we should be careful in naming so the user isn't confused.

After some discussion we decided:
Technically we could merge EVERYTHING into one equation, but we specifically broke it out for readability.
Therefore we prefer to keep them separate, to be more clear for the user.
However, we would like to wait until proper ESDL integration to see how they handle it - and do whatever is easier to work with ESDL.

I'm learning more about ESDL through another project, so it might help with this.
In general, Consumers can't have Outports - so that's something we'll need to look into.
And they have a "network" or something asset so that might correspond to a Hub.

Decided to keep them separate.

Easier for user
We separated asset types for a reason
We can put angles everywhere to avoid extra variables


Calling the API

do we need to create JSON file in term that the API will be running probably right??

I don't think so, we will just build the request in c++ and get the JSON response. Then parse that response into JSON object