PSGetModuleInfo.xml invalidates the module .cat file

Team,
After publishing and installing a module from PS Gallery we get one additional file called PSGetModuleInfo.xml. After calling Test-FileCatalog I get "ValidationFailed" result. This way our customers cannot verify the module content.
Thanks,
f012rt

@SydneyhSmith / @alerickson any way we could get this fixed with PSGet 3.0?

@ThomasNieto thanks for bringing this up, we are happy to explore if this fits into PowerShellGet 3.0....do you have any suggestions as to what you would like to see in PowerShellGet to fix this....one option would be to use the Save-PSResource cmdlet without the parameter  -IncludeXML (which is currently available in 3.0), another way for users to check would be a -PublisherCheck parameter on Install (which has not yet been implemented)

@SydneyhSmith My recommendation would be to move all non-module shipped files out of the module directory so Test-FileCatalog will succeeded by default without any workarounds.
To accomplish that the PSGetModuleInfo.xml would be moved into a separate directory like how installed script information is stored in a InstalledScriptInfos directory. The same could be done for modules storing the XML files in ~\Documents\PowerShell\Modules\InstalledModuleInfos or $env:ProgramFiles\PowerShell\Modules\InstalledModuleInfos.
This would be a breaking change since v2 wouldn't be able to find the file anymore but currently modules Get-InstalledModule doesn't return modules installed with v3.
The only additional check I can see is when reading the xml files is to check to see if the module directory still exists as there is a possibility that the user could have manually deleted the module. Right now this is handled automatically since the xml file resides in the same directory as the module.

@ThomasNieto that's a pretty simple solution!  We can definitely do that.  As you mentioned, it's not necessary that v3 modules work with v2 cmdlets, so I don't see any issue with creating a directory to store the file in.
Can this issue be moved to PowerShellGet?

@alerickson I found that Get-Module returns a PSModuleInfo with a ResourceRepositoryLocation property. You'll want to update this logic to flex the old or new file path.
https://github.com/PowerShell/PowerShell/blob/8f37cced709168f313a00b2e3ee7088495bbcd7a/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs#L2596-L2619

I just came across this behaviour. I'm not sure is it me being thick, or its not possible to install signed modules from PSGallery? Here's how I publish the module:
New-Item `
    -Force `
    -Type Directory `
    -Path "C:\Program Files\WindowsPowerShell\Modules\nimbus\$moduleVersion"

Get-ChildItem `
    -Exclude "*json","runbook*" `
    -Recurse `
    -Path "module\path\*" `
    -File | Foreach-Object {
        Set-AuthenticodeSignature `
            -TimestampServer "http://timestamp.digicert.com" `
            -Certificate $cert `
            -FilePath $_.FullName | Out-Null
    }

New-FileCatalog `
    -CatalogFilePath "module\path\nimbus.cat" `
    -CatalogVersion 1.0 `
    -Path "module\path\"

Set-AuthenticodeSignature `
    -TimestampServer "http://timestamp.digicert.com" `
    -Certificate $cert `
    -FilePath "module\path\nimbus.cat" | Out-Null

Copy-Item `
    -Destination "C:\Program Files\WindowsPowerShell\Modules\nimbus\$moduleVersion" `
    -Exclude artifacts `
    -Recurse `
    -Force `
    -Path "module\path\*"

Publish-Module `
    -RequiredVersion $moduleVersion `
    -NuGetApiKey $NuGetApiKey `
    -Name nimbus

When I publish, there is no PSGetModuleInfo.xml file in the module. This is confirmed by the post on this thread. So when I do Install-Module nimbus it fails, because of the cat file check that is automated and the check fails due to the PSGetModuleInfo.xml, which gets injected into a module?

@ThomasNieto hey mate, can you shed some light on this? is it currently not possible to sign modules and upload to psgallery?


Make implicit nullable param to explicit (PHP 8.4 compatibility)

Implicitly nullable parameter declarations are deprecated in PHP 8.4 (ref).
Same as https://github.com/spatie/laravel-ray/pull/340.
Sorry for the fragmented PRs, I haven't setup the PHP 8.4 dev env yet, I'm relying on the CI.

Thanks!


new library: added box sketch

Added an opened box sketch

hey @IvanReznikov, it seems you've included more library items than just the box. Can you remove them?
Also, I was playing with the box, and thought we could improve it: made the flaps none-transparent, and the whole box as well, and the insides darker. It's an aesthetic decision, so up to you:
https://excalidraw.com/?#json=4812707823878144,vXIXkDQlGwf7Ma1-g-FY5Q

Nice! I like it! Will resolve the conflicts and update the library. Thanks

Btw, the file seems to be an .excalidraw file, not .excalidrawlib. You can export the lib file from the library menu:

fixed and shipped


fixed podspec pointing to non-existing tag in the main repo

PR to fix the issue of previous PR with podspec pointing to a non-existing tag

Read thread in #147 for more information.


Add sharing and registration to tiledb.cloud.asset

Starting with share() and tests.

@JohnMoutafis how does this look to you? It completes the new asset.py module.

@sgillies Is this ready to merge or does it need more work?

@JohnMoutafis this is good to go. I'll merge now.

Thank you @sgillies


Default test suite failed to run in serverless-stack graphql-appsync example template

I created new graphql appsync project using this command
yarn create serverless-stack --example graphql-appsync

Then I ran the test
npm run test

I got this error
Running type checker
 FAIL  test/MyStack.test.ts
  ● Test suite failed to run

    test/MyStack.test.ts:1:38 - error TS2307: Cannot find module '@aws-cdk/assert' or its corresponding type declarations.

    1 import { expect, haveResource } from "@aws-cdk/assert";
                                           ~~~~~~~~~~~~~~~~~
    test/MyStack.test.ts:3:21 - error TS2307: Cannot find module '../lib/MyStack' or its corresponding type declarations.

    3 import MyStack from "../lib/MyStack";
                          ~~~~~~~~~~~~~~~~

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        3.905 s
Ran all test suites.

serverless-stack graphql-appsync example template needs to updated
In MyStack.test.ts

their is no  '../lib/MyStack' instead it should import it from '../stacks/MyStack'
Add @aws-cdk/assert to dependencies in package.json

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Build error: symbol * does not have an rc type

Building the following program hangs with the error:
thread 'main' panicked at 'symbol `17.IdentId(22)` does not have an rc type', crates/compiler/mono/src/inc_dec.rs:373:21
app "hello"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.7.0/bkGby8jb0tmZYsy2hg1E_B2QrCgcSTxdUlHtETwm5m4.tar.br" }
    imports [pf.Stdout, pf.Stderr, pf.Task.{Task}]
    provides [main] to pf

nth : List a, Nat -> Result a [OutOfBounds]
nth = \l, i ->
    when (l, i) is
        ([], _) -> Err OutOfBounds
        ([e, ..], 0) -> Ok e
        ([_, .. as rest], _) -> nth rest (i - 1)

main =
    when nth ["a"] 0 is
        Ok e -> Stdout.line e
        _ -> Stderr.line "OutOfBounds"

I ran into this as well. Slightly simpler reproduction (roc test mwe.roc):
app "mwe"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.7.0/bkGby8jb0tmZYsy2hg1E_B2QrCgcSTxdUlHtETwm5m4.tar.br" }
    provides [main] to pf

fun = \xs, ys ->
    when (xs, ys) is
        ([], _) -> 0
        ([_, .. as restXs], _) ->
            0

expect
    fun [] [] == 0

main = crash "only tests are relevant"

I remove the tuple and just match on xs, the error goes away. If I remove the  as restXs, the error goes away.


Add page-specific opengraph/sharing metadata

Currently, every explorer page has the same og:description and other opengraph metadata. So if I share a page like:
https://explorer.helium.com/accounts/144bdZPcErfZ4DTLboF4M1hMDmBdULVdznSwm7HohUQnF6zzkk7
You'll see the same share information as if I'd shared https://explorer.helium.com or any other URL
Example from a random hotspot –

In FB Sharing Debugger: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fexplorer.helium.com%2Faccounts%2F144bdZPcErfZ4DTLboF4M1hMDmBdULVdznSwm7HohUQnF6zzkk7
I would suggest varying title & description for the following pages:

/hotspots/xyz123 – "Hotspot magic-animal-name (xyz123) • Helium Explorer"
/accounts/xyz123 – "Account xyz123 • Helium Explorer"
/txns/xyz123 – "Transaction xyz123 • Helium Explorer"
/blocks/650123 – "Block #650123 • Helium Explorer"

This would also help with SEO, since right now all the pages appear the same

This should be totally possible now pages are unique. I guess just needs some data piping through the Head component.

this was closed by #107

Long journey :) Kudos


Serve HTTPS connections and enable JDBC connection

This PR adds an HTTPS endpoint and documentation on how to configure a JDBC connection to the emulator.
Closes #230
Closes #172
How to connect from JDBC
Data exploration tools such as JetBrains DataGrip or DBeaver are immensely valuable during development of projects using the emulator.
To connect the BigQuery Emulator to these tools from the JDBC, specify the following connection URL with your project ID:
jdbc:bigquery://https://localhost:9050;ProjectId=EMULATOR_PROJECT_ID;

The following options must also be specified:

Option
Value
Description

RootURL
https://localhost:9070
This overwrites the URL used in the JDBC driver

SSLTrustStore
/ssl/truststore.jks
This must point to the JKS TrustStore that contains the SSL certificates for both the BigQuery Emulator, as well as oauth2.googleapis.com. A bundled truststore is located in the repository at ssl/truststore.jks. If using the Docker distribution, a volume can be created to access this data.

SSLTrustStorePwd
test@123
This is the password for the trust store. The default password for the bundled store is test@123.

Known limitation: There is no documented method to bypass the JDBC OAuth flow, so a valid GCP OAuth credential is required to connect to the emulator.
See Configuring Authentication in this document for a list of valid authentication methods.
Exercise caution when using this feature with untrusted distributions of the BigQuery Emulator, as the OAuth Bearer token will be sent to the emulator server.

I'd like to use https://go.dev/src/crypto/tls/generate_cert.go to generate certificates file ( no dependent openssl ).
Also, please add the generation task to Makefile.
On the other hand, I don't know if it is necessary to include https support in the bigquery emulator itself. For example, it may be solved by preparing a reverse proxy that performs TSL termination.

I had tried using mitmproxy and tinyproxy but couldn't figure out an easy solution.
I'll take a look at the crypto usage sometime soon.

Hi @goccy, do we have plans to merge this PR? We are blocked on configuring a JDBC driver to connect to the emulator, and this PR will resolve the issue.
Thanks!

Joining the above, is there any way to assist and push this forward?


Settings expectations on objects that override eq

The following code doesn't work:
from doubles import expect, verify

class Person(object):
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def __eq__(self, other):
        return self.name == other.name and self.age == other.age

class PersonPrinter(object):
    def print_person(self, person_):
        print(person_)

person_printer = PersonPrinter()
persons = [
    Person("John Smith", 21),
    Person("John Smith", 21),
]

for person in persons:
    expect(person_printer).print_person(person).exactly(1).times.and_return(None)

for person in persons:
    person_printer.print_person(person)

verify()

This fails with "Expected 'print_person' to be called 1 time instead of 2 times..."
When I change the expectation to exactly(2) the test still fails with This fails with "Expected 'print_person' to be called 2 times instead of 0 times..."
The problem seem to occur due to the __eq__ function: when I remove it (or change it to return False for that matter) the problem no longer occurs

@TakuyaYamashiro, thanks to reporting this issue. To what I see it seems to be working fine. The reason is that when you override __eq__ you make persons[0] == persons[1]. So basically with __eq__, you make a call to print_person with the 'same' object twice. See corrected code below:
from doubles import expect, verify

class Person(object):
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def __eq__(self, other):
        return self.name == other.name and self.age == other.age

class PersonPrinter(object):
    def print_person(self, person_):
        print(person_)

person_printer = PersonPrinter()
persons = [
    Person("John Smith", 21),
    Person("John Smith", 21),
]

expect(person_printer).print_person(persons[0]).twice().and_return(None)

for person in persons:
    person_printer.print_person(person)

verify()

My test:
from unittest import TestCase

import doubles

class Person(object):
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def __eq__(self, other):
        return self.name == other.name and self.age == other.age

class PersonPrinter(object):

    def print_person(self, person_):
        print(person_)

class TestPerson(TestCase):

    def test_one(self):
        person_printer = PersonPrinter()
        persons = [
            Person("John Smith", 21),
            Person("John Smith", 21),
        ]

        doubles.expect(person_printer).print_person(persons[0]).twice().and_return(None)

        for person in persons:
            person_printer.print_person(person)

Closing this issue, please reopen if you have more questions. Thanks!


[NOSQUASH] Resync Apache

Conflicts caused by introduction of a new Flume profile at 0c03297bf0e87944f9fe0535fdae5518228e3e29

@robert3005 @onursatici @mccheah -- flume is going away upstream, see the linked commit.  Should we remove it now in Palantir Spark or keep it until it's actually deleted?  Question is whether to enable the new flume profile or not

I wouldn't. Just roll with upstream. Also can't wait for removal of hive.

Upstream created the profile and enabled it by default, so we will too
+1 on being able to remove Hive!

Ah, then remove it. Flume is flaky

force pushed without the last commit, but looks like circle kicked off a repeat build of the previous commit
flume profile not added to:

mvn install
sbt externalDependencyClasspath
dev/publish.sh

mvn deploy


systemd: pid1 crash fix + 249.7 update

Motivation for this change
Fixes #147103 (pid1 crash)
While backporting the patch I noticed we weren't up to date, so also updated along the way.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Does rebasing the patches actually do anything? patches can be applied if the hunks have offsets.

Other than removing two patches it didn't seem to do anything, no; this was mostly done to make sure it applies (and some apply method fail on fuzz offset so I wasn't sure about this part)
Happy to remove the rebase noise

I've removed the rebase altogether, it'll probably need further updating when systemd unfreezes after release while this patch will always stay valid (at least until/if it's also backported upstream)

I've removed the rebase altogether, it'll probably need further updating when systemd unfreezes after release while this patch will always stay valid (at least until/if it's also backported upstream)

I do not think the freeze applies to minor  / bugfix bumps.

Like in #146573 (comment), we shouldn't ship these patches downstream, but poke upstream to release it in systemd-stable.

I see. There were other such patches so I didn't think too much about it, I've asked upstream about it in the systemd PR

Like in #146573 (comment), we shouldn't ship these patches downstream, but poke upstream to release it in systemd-stable.

I see. There were other such patches so I didn't think too much about it, I've asked upstream about it in the systemd PR

For curious ones: That's https://github.com/systemd/systemd/pull/21498#issuecomment-979211583.

Does rebasing the patches actually do anything? patches can be applied if the hunks have offsets.

For the future, I disagree: keeping patches up-to-date reduces the risk of them being unappliable in the future (if the differences around the change become too large).
@flokli I see this is in systemd-stable, but not yet in a release. Do you think it's sufficient to wait for another stable v249 or should we merge this?
(@martinetd I think this should go to staging btw).

Does rebasing the patches actually do anything? patches can be applied if the hunks have offsets.

For the future, I disagree: keeping patches up-to-date reduces the risk of them being unappliable in the future (if the differences around the change become too large).

Adding what I wrote on Matrix some time ago:
We should always (at least on major versions) rebase these patches to avoid running into issues with applying them on the next version.
The issue with patch files vs. a git repository is that the patch files have a limited set of context around each change. If that context isn't suffient anymore the patches fail to apply. My workflow for new systemd versions is typically:

checkout the old systemd version in a Git repostiry
git am all the patches
interactive rebase to new git tag
git format-patch and replace the files in the repo.

This has been going smooth so far.

@flokli I see this is in systemd-stable, but not yet in a release. Do you think it's sufficient to wait for another stable v249 or should we merge this?

Upstream wanted to wait for some other patches, but I haven't seen anything more getting cherry-picked. I poked them for the tag in https://github.com/systemd/systemd/pull/21498#issuecomment-993652492.


React for role

_________________ ERROR collecting tests/test_ReactForRole.py __________________ tests/test_ReactForRole.py:24: in <module>     from cogs import ReactForRole cogs/ReactForRole.py:25: in <module>     UNICODE_DISCORD_EMOJI_REGEXP: re.Pattern = re.compile("^:(\w+):$") E   AttributeError: module 're' has no attribute 'Pattern'
in travis. Unknown why it occurs

@Unknownlocal @JayDwee From doing some research online it (your travis problem) looks like it might be a problem with Python 3.6 - I'll put a change in to update to 3.7 to see if that fixes it for you

@Unknownlocal @JayDwee From doing some research online it (your travis problem) looks like it might be a problem with Python 3.6 - I'll put a change in to update to 3.7 to see if that fixes it for you

@3eak Maybe change it to python 3.8 as that is what we are meant to be developing with, thanks!

Not completed review, but some stuff to look at. Git seems to have done some weird stuff with your update from master tho, idk

Git has done some weird stuff with the PR, yes. I'll be manually reviewing these changes since the ColourRole changes for example shouldn't have happened

Nice the weird git stuff for the pr are fixed 😃


render_locals accepting a dtype

Linearizer currently hardcodes DEFINE_LOCAL to be float32.
This unblocks replacing the hardcoded fp32s with the op dtype in linearizer for dtypes math.

can you add a test for this?

@chenyuxyz I think this test:
https://github.com/tinygrad/tinygrad/blob/master/test/test_linearizer.py#L394
already covers the functionality. Adding more tests for non-fp32 locals would require the full dtypes math refactor first.

is this ready?


Introduce the default initial population to the genetic algorithm

Dear all,
I am using Python's pypi genetic algorithm and I want to run this genetic algorithm with my default initial population. How can I do this?
And is it possible that, for example, out of 70 populations, I introduce only one and the genetic algorithm produces the other 69?
Regards

Hi, this issue tracker is for issues with the codebase behind https://pypi.org itself, not the projects hosted on PyPI.
You should report this issue to the tracker for the project in question instead.


Add links to clang-format and clang-tidy runners

Make Pronto usable in C++ projects

The CI error seems to be related to API rate limiting on Github. This commit has obviously nothing to do with this...

Thank you @micjabbour 👍


➕Enhancement: Improving the "FAQ Section" of the Website!

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Hey @varshith257 @Anishkagupta04
I would like to enhance the UI and functionality of the current FAQ page to improve user experience.
Here's what I Will do:

Styling it to follow the Website's theme.
Improve the "Accordian" Functionality to be smooth transist.
Will Make sure that at a time only 1 answer should display and others remain hidden
Update existing content and add new comprehensive questions based on user feedback and common inquiries.
Adding transition moving effect to the FAQ sections questions.
Will Add Hovering Text-Shadows to it, so that it will be engaging.

Current FAQ Section -
https://github.com/user-attachments/assets/b7be151e-51d4-4b37-80b3-86169a46351c
For example like this - (my previous work)
https://github.com/user-attachments/assets/c89daa15-163c-47fb-824d-e31db4c10481
Please assign me under GSSOC'24.
Looking forward to contributing to our project!
thankyou!
Use Case
.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@varshith257 Will Also fix that Navbar issue !


Add better/faster way to persist user-data betrween updates

I found this: https://superuser.com/questions/1659218/is-there-a-way-to-access-files-from-one-wsl-2-distro-image-in-another-one
So we can create a data-only wsl-distro install that hosts only /var/lib/docker. This is how "Docker Desktop" works so we should be find.

fixed in #43


Use NIP17 in the mobile client

Solves https://github.com/lnflash/flash-mobile/issues/100

How the chat List screen looks like now:

@abhay-raizada looks like this branch has conflicts with main

@islandbitcoin rebased and fixed the conflicts

@abhay-raizada items to complete before we merge:

resolve relay slowness
add beta feature toggle to settings for nostr chat


Slop conflicts

I'm getting this error when trying to require magic_cloud.
/home/bbbco/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2112:in `raise_if_conflicts': Unable to activate magic_cloud-0.0.3, because slop-3.6.0 conflicts with slop (~> 3.0.0) (Gem::ConflictError)

Do you use slop in your project? Or is it just magic cloud conflicting with itself somehow?..

I am not intentionally using slop, I believe it is a Gem conflict. I had to change the gemfile dependency to use the later version.

pry or pry-rails uses different slop version. I'm working on a fork which less dependency.
IMO, slop should be optional


test: run execution spec parallel

/claim #1461
/fixes #1461
Implementation includes :

optimal process of reading multiple files concurrently using Tokio's asynchronous task handling
running the tests in parallel and show all the failures at once.

Summary by CodeRabbit
Summary by CodeRabbit

Tests

Enhanced test efficiency and error reporting by introducing parallel task execution.

Please review @tusharmath

@Bhavyajain21 This is a duplicate of https://github.com/tailcallhq/tailcall/pull/1462
by @mehulmathur16
One of you should close your PR and work on something else.

This includes optimized process of reading multiple files concurrently using Tokio's asynchronous task handling.

What's the improvement in execution time when compared to main?

What's the improvement in execution time when compared to main?

@tusharmath Asynchronous handling using Tokio allows for overlapping I/O operations, which can result in significant performance improvements when dealing with I/O-bound tasks, such as reading files from disk. By initiating multiple file read operations concurrently and efficiently handling the results as they become available, asynchronous tasks can make better use of system resources and reduce overall execution time.

Can you share exact numbers.

@tusharmath To provide exact numbers on efficiency improvement, I plan to measure the execution time of the test suite both sequentially and with the parallel implementation. I'll use Instant::now() from std::time to capture the start and end times.
I'll update the PR with the exact numbers and performance improvement percentage once I've completed the measurements.

@tusharmath Here's the screenshot attached with exact numbers and performance improvement percentage after completing the measurements.

That's pretty low.

That's pretty low.

And this is the one after running it with my logic of code to optimize reading multiple files concurrently using Tokio's asynchronous task handling. It is increased to 10%

Using multi threading we should have achived order of magnitude of increase in performance. It seems like we are still running the tests sequentially.

Using multi threading we should have achived order of magnitude of increase in performance. It seems like we are still running the tests sequentially.

@tusharmath You're right, multithreading should ideally lead to a much bigger performance improvement than the current 11%
Though I did a search about it and got to know that there could be a few of these reasons for this:
Shared Resources: The tests might be waiting on shared resources like databases or files, creating bottlenecks.
Thread Overhead: Managing threads can introduce overhead that negates the benefits for short-running tests.
Test Design: The tests might not be properly divided for parallel execution.
Using the code in the other PR, it is coming 9% as well.

This approach requires a lot more code to maintain. Opened up a new issue to track it https://github.com/tailcallhq/tailcall/issues/1500
/tip 20

Thanks for the tip! @tusharmath


[FLINK-33815][Connector / Pulsar] Add tests against jdk17 for pulsar connector

Purpose of the change
1.18.x supports jdk 17, so it would make sense to add tests against java 17
Brief change log
gha
Verifying this change
This change is a trivial rework
Significant changes
(Please check any boxes [x] if the answer is "yes". You can first publish the PR and check them afterwards, for
convenience.)

[ ] Dependencies have been added or upgraded
[ ] Public API has been changed (Public API is any class annotated with @Public(Evolving))
[ ] Serializers have been changed
[ ] New feature has been introduced

If yes, how is this documented? (not applicable / docs / JavaDocs / not documented)

@leonardBang @tisonkun could you please have a look?


Width of memory access detection depends on literal

Yosys 0.6 (git sha1 124f7c4) fails to detect the width of memory access in the following code
module m ();
  wire [0:0] foo[0:0];
  wire [0:0] bar[0:0];
  wire baz;

  assign foo[0] = {1{1'b0}};  // Replace with "assign foo[0] = 1'b0;" and yosys accepts the code
  assign bar[0] = 1'b0;
  assign baz = bar[foo[0]];
endmodule

If the assignment to foo is replace with the code in the comment, yosys manages to detect the width of the memory access. Expected behavior is that both of these variants of the above code works.
By the way, yosys 0.6 prints "Failed to detect with of memory access", that is, "with" instead of "width".

This is a combination of two bugs. First, there is a access-after-delete bug in mem2reg that I have fixed now, and second there is a problem when mem2reg is active on a memories and they are "cascaded" for memory access as in bar[foo[0]].
I've now fixed the access-after-delete bug (and the typos in the error message). Now you should reproducibly get a ERROR: Failed to resolve identifier \foo for width detection at test.v:10! error message. (That assign foo[0] = 1'b0; made it work was just a side effect of the memory bug.) The "failed to detect.." error message was just a result of the code reading uninitialized data, the "failed to resolve.." error message is "more correct" and will go away once I have fixed that second bug.
I hope to find the time to look into the second bug soon.

This is now fixed with current git head. Thanks for your patience.


feat(windows): move crash dumps into logs dir

Jamil said that crash dumps should be enabled in Release builds if the dumps are moved into the log dir and exported when "Export Logs" is clicked.
If I do the subprocess mitigation for #2975  there will actually be two dump files probably, one for GUI crashes and one for connlib crashes, and 3 log dirs (crash handler, GUI process, connlib process), and those 5 things will all go into the zip archive.

Making this a new issue because having subdirs in the logs dir will require non-trivial changes to logging.rs which feel out of scope for #3200


Handle WMS layers more gracefully

Possibly related to #8, but for WMS.
Todays implementation handles WMS layers (and all other non-vector layers) by assuming there is a WFS endpoint at the same url as the image layer. This may very often be true when it comes to WMS:es hosted by the own organization as Geoserver for instance default have both WMS and WFS enabled. But for many other setups this assumption will fail.
Suggested ways around this:

Add a configuration if the WFS endpoint should be tried.
Implement something like featureInfoLayer configuration to make it possible to point out any arbitrary layer to get features from.
Implement something that actually fetches the features from WMS.

Solution 2 would probably require some additions to the core, either a touch up of the getFeatures utility function to support different SRS and possibly some other changes to make it more versatile or move the getFeature functionality to a VectorSource class. At least getFeature and the VectorSource should be consolidated in some way to avoid the loader function to be almost exactly the same as getFeatures, but that's an issue for the core. Maybe its possible to extend the featureInfoLayer handling in core to allow for more layer types and expose that functionality as an api function using an extent as input instead of just a point.
Solution 3 kind of defeats some of the reasons to use WMS, but could be possible using vendor specific parameters to getFeatureInfo. Geoserver has a search radius parameter which could be used to create a query that fetches the outer circle of the extent and Qgis server has a vendor specific parameter that can take an intersecting geometry. For other server types (AGS WMS etc) this approach will not work unless there is a vendor specific parameter as the WMS standard only specifies a X,Y pair to query.

This would be a great improvement. We have a similiar solution as number 2 in our current internal map setup (sMap). QGIS server as backend. Going forward solution 2 seems feasible and friendly in terms of configurability.

Another issue with the approach of automatically call a WFS service is that filters on the WMS layer i ignored. We have a case where the CQL filter of the WMS layer is updated dynamically, which makes it even trickier to make multiselect respect it, as getFeature() does not handles filters and we can't create a pre-configured query layer using the same filter.
Sometimes I say to myself: "If it is so much trouble selecting in WMS, why not switch to WFS?". There are three answers to that:

Some public servers only publishes WMS. These are still hard to make it work for, as they may not support the custom parameters that are needed to query a WMS for features.
Large datasets gets pretty slow in WFS.
Because it is possible.


Mobile refactor for code validations page

Depends on https://github.com/covidwatchorg/portal/pull/454

The width of the date input field seems to extend further than the width of the NavBar (and whole app on mobile - at least on an iPhone 5S screen).  This leads me to believe that the width of the input field should be made slightly less -- I've encountered this in other projects where the little date picker icon actually extends the width further than the CSS coded width.  I think that needs to be reduced.

Good catch, I also fixed the code generation on the dev infrastructure (and created this issue, since dev keeps on breaking on us), and fixed the "give out this code ASAP" text as well.


Rebasing the latest state

:tada: This PR is included in version 2.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


About sentence feature

Hello, the paper states that the sentence feature is obtained by pooling the text features. However, when reading your code, I saw that the sentence feature is actually from the pooler_output of the Roberta model.
According to this https://huggingface.co/transformers/v2.9.1/model_doc/roberta.html#robertamodel, the pooler_output has different meaning than pooling over the text features.
Have you tried to actually pool the text features to get the sentence level feature? Is it worse than the current way you are doing?
Thank you

Thanks for your information. At the time we implemented the method, we didn't notice the tutorial and regarded the 'pooled_output' would be the pooling of word features. So we didn't experiment with the actual pooling. But I think the operation is worth a try.


Categorize grpc_client config

What this PR does:
Separate advanced grpcclient configuration parameters into a separate category.
Which issue(s) this PR fixes:
Checklist

[N/A] Tests updated
[N/A] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Interesting.  What is consuming those field tags?

Interesting. What is consuming those field tags?

@zalegrala it's going to enable us to categorize CLI flags and configuration parameters in documentation.


Add Outlines

(name to be defined)
Following https://github.com/dottxt-ai/outlines/discussions/1226 and https://github.com/dottxt-ai/outlines/discussions/1220 we will be able to implement the following interface:
from outlines import Outline, models

model = models.transformers("gpt2")

def template(a: int) -> str:
    return f"What is 2 times {a}?"

fn = Outline(model, template, int)

where fn is a callable object whose arguments are the arguments to the prompt template:
fn(1)
# 2

fn(3)
# 6

Why, in your example, is the interface name_to_be_defined(model, template, int) instead of just name_to_be_defined(model, template)? (and, since models is provided by outlines, wouldn't it make sense to directly call model.name_to_be_defined(template)?)
Here, template is just any lambda or function that return an str, right? The arguments of the function could likely be inferred (since, iirc, Python is offers a lot of reflexivity) from the function pointers.

The third argument to name_to_be_defined is the output type. Here we're telling the model we want it to return an integer, which is enforced by structured generation.


[iOS Export] Check Xcode output and display errors if code signing, project build or .ipa export failed.

Adds errors to the export GUI, instead of only printing it in the editor log.

Thanks!


Revert frame

Revert the frame to old frame system

Actually the solution to the driver system problem has been found and this PR is no longer necessary. Thanks for the effort in any case!


Allow static IP Addresses for containers

This is probably just something with our implementation, but the fact that "dev" changes from <IP_ADDRESS> is causing us problems.  We're trying to script some of the setup steps and document some troubleshooting advice for folks ... and that changing IP keeps biting me.
"Hey ... do all off this stuff AND make sure and find the IP address and then change it in these commands that you have to copy and paste" makes for a bad experience for the inexperienced users that is our intended audience.
Possible to lock that down somehow?

I think this is more of a docker-machine issue, as using the virtualbox driver, you cannot dynamically provide a different machine IP than the <IP_ADDRESS> they have provided in their dhcpserver settings.
I believe you could create a new host-only interface and associate your dev vbox with it to get the IP you want.
Why do you need to change the IP address in the first place?

We don't want it to change. Ever
What happens is that if you have an issue and have to delete or stop the Dev machine... When it comes back up it'll now have a new IP like .101
That makes my bash scripts sad

I am having this issue where I get mismatches of SSH keys and have to rebuild the virtual machine.  Each time I do, the IP address goes up by one and I can't find where to get it back to 192...100 where other tools expect it to be.

@ssteinerx Take a l

@FrenchBen Hopefully they'll 'be in contact soon.'  Fortunately, shutting down VirtualBox and waiting until the DHCP lease expires (long enough to get tea) is a work around.

i'am running jenkins container ,so i need to access my jenkins by other laptop
please help me ..


0.8.2 update

An attempt to avoid building with python 2.7 problem.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I rerendered the feedstock and it seems to be already up-to-date.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I rerendered the feedstock and it seems to be already up-to-date.

Although I cannot understand why it builds on Python 2.7 (unnecessary for us), it builds, so I merge this pull request. Hopefully, we will figure this out in the future.


Add indexing of controls to windows search

UWP apps can add indexing of content to the Windows search. A way the XAML controls gallery could utilize that is by adding every control name to the index That would enabling searching for e.g. "TreeView" and the Windows search listing the XAML Controls Gallery, and upon clicking, would open the TreeView page.

@stmoy If this is an idea you like, I would be more than happy to implement this.

Love this idea! If you have an idea about how to implement it, please feel free to submit a PR.

So it turns out the ContentIndex class does enable adding content to the system index, however it apparently does not make that content available to the Windows 10 search.
One very hacky workaround we could do is add a file for every control page, which uses a propriotary file extension which the XCG registers for as file opener. So you could type "TreeView", the search would return TreeView.xcgpage for example and it would open the XCG with the TreeView page. But that is very hacky and I am not sure if that would be a good workflow.

Hmm, that does seem like a hacky workaround.
I took a quick look through the ContentIndex class docs, and I don't understand what it is supposed to do if it doesn't make that content available to Win10 search. I wonder what it means to "Enables UWP apps to make private content searchable by using the system index" if it doesn't help with Win10 searching...
CC: @mikehillberg - do you have any ideas?

You can use the ContentIndexer to store and index content, and then use its query APIs to search the index. But the search UI would still be in the XCG app itself.

So the wording for ContentIndexer is a bit misleading? Because I think most people expect the system index to be usable by the Windows 10 search.

Yes, I don't think the ContentIndexer page is making things clear. I think it's worth opening an issue on the page (you're welcome to or I can).

Okay, thanks for clarification. I will open an issue soon.


Improve error messages in case of problems with candidates.ini file

improve error messages in case of problems with the definition of candidates in the candidates.ini file
To be detailed

Should we create a validation step in order to check all the input files?


1119 catalog capability dynamic form on docker location selection

Description
Docker image name field and environment variables field is displayed dynamically based in "Deployment location" radio button in contribute create and edit pages.
Docker image name and environment variables field is displayed only when the deployment location is internal.
The API base location field is moved up.
Fixes #1119
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[x] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Converting to draft for more tests and code changes.

Work on this PR is paused.
This is will worked on after adminWebApp feature requests.


Proposal: add --rm flag to stop command

I personally find this useful when working with run -d and each time having to stop and rm the container in two commands.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

why not just use docker rm -f ... ?

I'm just used to stopping the container with stop so I thought it would be ok to have a flag on stop too


Does super-sitemap support this usecase?

I have docs in my website that I would like to generate a sitemap from. This is the path:
/src/routes/(docs)/docs/[provider]/[clusterstack=clusterstack]/[[kubernetes=kubernetes]]/[[version=version]]/[...slug]
where:

provider is always defined (aws, for example)
clusterstack is always defined (jasmin, for example)
kubernetes is the kubernetes version, which can be defined or not (1-29, for example)
version is the clusterstack version, which can be defined or not (v1, for example)
slug is always defined (getting-started/introduction, for example)

the thing is that I don't want to generate the old version entries of the docs into the sitemap, only the latest version, which doesn't include the kubernetes or the version param.

:x: /docs/aws/jasmin/1-27/v1/getting-started/introduction (old version)
:heavy_check_mark: /docs/aws/jasmin/getting-started/introduction (latest version)

This is my super-sitemap config's return:
return await sitemap.response({
	origin: origin,
	excludeRoutePatterns: [
		'.*\\[\\[kubernetes=kubernetes\\]\\]\\/\\[\\[version=version\\]\\]$',
	],
	paramValues: {
		'/docs/[provider]/[clusterstack=clusterstack]/[[kubernetes=kubernetes]]/[[version=version]]/[...slug]': [
			['aws', 'jasmin', 'getting-started/introduction']
		],
	}
});

but I'm getting this error:
Error generating sitemap: Error: Sitemap: paramValues not provided for: '/docs/[provider]/[clusterstack=clusterstack]'
Update your sitemap's excludedRoutePatterns to exclude this route OR add data for this route's param(s) to the paramValues object of your sitemap config.

I tried ending it with a $, with .*, splitting .*\\[\\[kubernetes=kubernetes\\]\\].* and .*\\[\\[version=version\\]\\].* as 2 different items, and I still get the same error.
Am I doing something wrong or supersitemap doesn't support this usecase?

When you have different paths generated for the same route, where you want to keep some paths and exclude other paths, then excludeRoutes will be too broad b/c it either matches or does not match the individual route prior to the data replacement that generates the "paths" for this route.
To solve your situation, you can exclude a portion of generated paths by writing a processPaths() function and not using excludePaths() for that route.
See the processPaths() docs and examples here. The processPaths() callback allows you to arbitrary alter or exclude the generated paths prior to XML being created. So it can do most anything.

Going to close this. But lmk if you have other questions.


updating to latest hubpress

This is not how you do it. You need to merge main repository you yours, not the other way around. Do again what you did, but before creating the pull request swap the repositories. You shouldn't see your posts  in the incoming changes.

Yea. I did this by accident. Sorry about that.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Artur Czajka <notifications<EMAIL_ADDRESS>Sent: Thursday, December 8, 2016 11:05 PM
Subject: Re: [HubPress/hubpress.iohttp://hubpress.io] updating to latest hubpress (#468)
To: HubPress/hubpress.iohttp://hubpress.io <hubpress.io<EMAIL_ADDRESS>Cc: Raghavendra Kotikalapudi <ragha<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>This is not how you do it. You need to merge main repository you yours, not the other way around. Do again what you did, but before creating the pull request swap the repositories. You shouldn't see your posts in the incoming changes.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/HubPress/hubpress.io/pull/468#issuecomment-265948049, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AO6vTFN8HLfrqhmowjv5pkwEnLqrz9hfks5rGP3CgaJpZM4LImmV.

You are merging your changes in the wrong direction. When you update to a new version of HubPress you need to ensure the source and destination repos are selected in the correct order.
See https://hubpress.gitbooks.io/hubpress-knowledgebase/content/admin/update_hubpress.html for help with doing this.
I'm closing off this PR.


Multiple logfactory instances, is it performance safe?

Hi!
I am using NLog with .netcore31 web api hosted in IIS10.
We are following a design that allows running parallel and independent pipelines within an application for each application area/branch.
I would like to configure individual nlog.config files for each of the independent pipeline so that each of them has its own logging configuration and logging filters/targets etc.
I am using following code to configure separate nlog.config for each branch -
//sample Code - for each branch/pipeline
    var webHostBuilder = WebHost.CreateDefaultBuilder()
        .ConfigureLogging((hostingContext, logging) =>
        {
            logging.AddNLog(serviceProvider => new LogFactory(nLogConfigFilePathForBranch))
        })

I have 18 such branches configured in the application.
I have not used UseNLog() method anywhere in the code.
Under load (200 concurrent requests) the response time of the application is very low and application is stalled for first 4-5 mins and then responds at very slow speed. There is one "Select" query on single view (select 1 record from roughly 500 records) in the functionality.
I also see an error in NLog internal log - "Warn Flush completed with errors Exception: System.TimeoutException: Timeout when flushing all targets, after waiting 15 seconds."
I am using following Nuget pckgs -
    <PackageReference Include="NLog" Version="4.7.4" />
    <PackageReference Include="NLog.Web.AspNetCore" Version="4.9.3" />
    <PackageReference Include="NLog.WindowsEventLog" Version="4.7.4" />

NLog.Config typically looks like -
    <?xml version="1.0" encoding="utf-8" ?>
    <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true" internalLogLevel="off" internalLogFile="admin.internalLog.txt">
      <extensions>
        <add assembly="NLog.Web.AspNetCore" />
        <add assembly="NLog.WindowsEventLog" />
        <add assembly="Sirius.Api.Platform.Common" />
      </extensions>
      <!-- the targets to write to -->
      <targets>
        <target xsi:type="EventLog" name="apiEventlog" source="Api.Travel" layout="${api-traceidentifier}|${api-userid}|${logger}|${message} ${exception:format=tostring}" Log="Application" machinename="."/>
        <!-- write to file -->
        <target xsi:type="File" name="Api.Travel" fileName="Logs\Api.Travel\${shortdate}.log" keepFileOpen="true" openFileCacheTimeout="120"
            layout="${longdate}|${api-traceidentifier}|${uppercase:${level}}|${api-userid}|${logger}|${message} ${exception:format=tostring}" />
      </targets>
      <!-- rules to map from logger name to target -->
      <rules>
        <logger name="*" minlevel="Info" writeTo="Api.Travel" />
        <!--Skip non-critical Microsoft logs and so log only own logs-->
        <logger name="Microsoft.*" maxLevel="Info"  writeTo="Api.Travel" />
        <logger name="*" minlevel="Warn" writeTo="apiEventlog" />
      </rules>
    </nlog>

api-traceidentifier and api-userid are layout renderer as follows -
    [LayoutRenderer("api-traceidentifier")]
    [ThreadSafe]
    internal class ApiUserLogin_RequestTokenLayoutRenderer : AspNetLayoutRendererBase
    {
        protected override void Append(StringBuilder builder, LogEventInfo logEvent)
        {
            var httpContext = HttpContextAccessor?.HttpContext;
            if (httpContext == null)
            {
                Guid traceId = System.Diagnostics.Trace.CorrelationManager.ActivityId;
                var identifier = Convert.ToBase64String(traceId.ToByteArray()).Replace("=", "").Replace("+", "-").Replace("/", "_");
                builder.Append(identifier);
            }
            else
            {
                base.Append(builder, logEvent);
            }
        }
        protected override void DoAppend(StringBuilder builder, LogEventInfo logEvent)
        {
            var httpContext = HttpContextAccessor.HttpContext;
            builder.Append(LookupTraceIdentifier(httpContext));
        }
        private string LookupTraceIdentifier(HttpContext httpContext)
        {
            var traceId = Guid.Empty;
            if (Guid.TryParse(httpContext.TraceIdentifier, out traceId))
            {
                return Convert.ToBase64String(traceId.ToByteArray()).Replace("=", "").Replace("+", "-").Replace("/", "_");
            }
            return httpContext.TraceIdentifier;
        }

    }

I would like to know if this approach is good, that its performance safe. If not, will pls be able to suggest any different approach please.

Good job on activating the NLog InternalLogger. The warning about flush-timout is strange, since you should not explictly call Flush() so check your source code. Also make sure that you are not constantly assigning new NLog-Configuration. Maybe turn-off autoreload="true" to see if something triggers automatic reload.
And to answer your question. There is no problem with having 18 isolated LogFactory-instances.
See also: https://stackoverflow.com/questions/68326235/multiple-logfactory-instances-is-it-performance-safe

Maybe change this method:
                Guid traceId = System.Diagnostics.Trace.CorrelationManager.ActivityId;
                var identifier = Convert.ToBase64String(traceId.ToByteArray()).Replace("=", "").Replace("+", "-").Replace("/", "_");
                builder.Append(identifier);

So it becomes:
                Guid traceId = System.Diagnostics.Trace.CorrelationManager.ActivityId;
                if (traceId == Guid.Empty)
                {
                      builder.Append("0000_0000_0000_0000");
                }
                else
                {
                       var identifier = Convert.ToBase64String(traceId.ToByteArray()).Replace("=", "").Replace("+", "-").Replace("/", "_");
                       builder.Append(identifier);
                }

Curious why you have this Convert.ToBase64String encoding.

Also make sure that each "branch" uses their own unique FileName-path when using NLog FileTarget (Ex. fileName="Logs\Api.Travel\${shortdate}.log" should not be used by all "branches").

Also change your logging rules so instead of this:
     <rules>
        <logger name="*" minlevel="Info" writeTo="Api.Travel" />
        <!--Skip non-critical Microsoft logs and so log only own logs-->
        <logger name="Microsoft.*" maxLevel="Info"  writeTo="Api.Travel" />
        <logger name="*" minlevel="Warn" writeTo="apiEventlog" />
      </rules>

Then it becomes this:
     <rules>
        <!--Skip non-critical Microsoft logs and so log only own logs-->
        <logger name="Microsoft.*" maxLevel="Info"  writeTo="Api.Travel" />
        <logger name="*" minlevel="Info" writeTo="Api.Travel" />
        <logger name="*" minlevel="Warn" writeTo="apiEventlog" />
      </rules>

You also have ${api-userid} maybe update your initial-post with the source-code for that also?

Response time of the application is very low and application is stalled for first 4-5 mins and then responds at very slow speed

This is usually a symptom of heavy garbage collection, or that you are constantly reloading NLog-configuration. Both issues that you have to solve in your own source-code.

Curious why you have this Convert.ToBase64String encoding.
Its to trace the logs easily, searching GUID (multiple words separated with -) needs more mouse clicks/keyboard strokes than that for a single string with one word.

Been back from recovery, so late replies.
Thank you so much for you time to reply my question. Will take a look at the suggestions by you.


abricotine: init at 1.0.0

Motivation for this change
#148152. To consider:

Uses Electron 6
Needs a very lengthy workaround to work, as stated on the package request.

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Not sure why the checks throw this:
error: undefined variable 'electron_6'


Undefined page slugs throw an error

After pointing next-wordpress-starter to an existing site, it populates everything as expected, but when I click on a 'page', it always results in the following error:
Error: A required parameter (slugParent) was not provided as a string in getStaticPaths for /[slugParent]/[[...slugChild]]
If I console.log segments out of the getStaticPaths function in src\pages\[slugParent]\[[...slugChild]].js I see that:
segment = [ 'contact' ]
From the code it appears that this is always expecting this array to have two parts:
      params: {
        slugParent: segments.shift(),
        slugChild: segments,
      },

So I'm not sure if I need to reconfigure things on the Wordpress side, or if the nextjs code needs to be updated to support top-level pages.
For reference, I've tried setting the order of the page to 0 and 1, as I saw that a previous version of next-wordpress-starter would only look for pages with an order > 0, but it did not appear to have any effect.

hey @Valid any chance the wordpress instance is public that i can debug with it?
The demo website has 2 top level pages that are being properly created:

https://next-wordpress-starter.spacejelly.dev/docs/
https://next-wordpress-starter.spacejelly.dev/about/

after debugging looks like the issue is a private page isn't able to be queried resulting in the slug being undefined, which is throwing an error in Next.js when it's trying to resolve the array of paths
two things here:

we need to update the page query to use URI for querying anyways, im not sure if that would resolve this, but generally something we need to do (per rec from Jason of WPGraphQL)
we'd likely want to filter undefined pages like that to prevent Next.js from erroring

i was able to get it working by simply adding:
paths: paths.filter(({ params }) => typeof params.slugParent === 'string'),

but unsure if that's a long term solution


Handle force creation of symlinked directories

Check if entry to force-create (delete) is a symlink and if so, simply
unlink it. Don't try to run rmtree on the underlying directory, which
will fail anyway.
Addresses issue #32.

LGTM!
Do you mind amending the commit message to remove the "Addresses issue #32."?
I prefer to keep issue references unidirectional -- I don't like referencing issue numbers in commit messages.

@anishathalye Done!

Merged. Thanks for the patch!


No Pseudo mods

The trade site doesn't support pseudo mods which means most stuff is a lot worse to filter by now it seems?
Updated info:
There are no pseudo modifiers for stat filters on the trade site yet. this makes price checks much more complicated. For the exact right now time I am going to play ostrich and deal with this later.
The main problem due to this is, take this ring:
Item Class: Rings
Rarity: Rare
Morbid Whorl
Ruby Ring
--------
Requirements:
Level: 23
--------
Item Level: 39
--------
+27% to Fire Resistance (implicit)
--------
+33 to Accuracy Rating
+35 to Evasion Rating
+13% to Lightning Resistance
38% increased Mana Regeneration Rate

The fire res is implicit so would mean the results would only be ruby rings, even though most players do not care and just want x% fire res.
Once this is available, I will be able to use them and just reuse old code for it. But until then the possible solutions are:

toggle switch for potential implicits
Could do multiple queries and combine the results (rate limit)
add behind the ui or sections

This seems the most likely to work as intended
This will take longer than the toggle, so depending on what it is looking like, I may just do the toggle for a bit and then this if the API still doesn't support pseudo mods

Yeah. If you currently search for explicit fire res, the search won´t show rings with fire res implicit. Not sure how the requests work, but if you just want fire res on rings, best to do is currently with the weighted sum. Not sure if that´s even possible. Sounds too complicated to invest hours of work at the start. Would also just wait for them to add pseudo.

yeah weighted sum works well. it just also eats 12 (9 without runes) of the mods, whereas total res is 1. :) for now im just going to ignore this problem probably until the parser is working

Don´t understand. Each entry has equal weight, whereas overall you want min 25 res. Guess that could be a bonus if everything else is done. Not having to put in every single entry manually is already a huge help. Thanks for your effort in fixing it for PoE2!

For now as a duct tape fix can we make the app ignore the enchant/rune mods and focus only on explicit/implicits? This would give it a lot more useability without adding too much headache

I mean, that would help to solve the limited filter slots with the trade site, but that isn't the biggest part of this, main thing would be changing the logic surrounding pseudo mods so that they use the weighted sums instead

This will add complexity, but this 2 is pretty common on rings to count total pseudo res

Are these not on it? if not, uh oops. I'll fix that for next release then

But for some items I don't see the "Hidden" button:

I'm not sure why hidden isn't showing up for these. I can reprod this so I'll look into it

Also the "Mods" switch doesn't seem to work (I don't remember what it's supposed to do, haven't played PoE1 few years)

I tbh never used it so I'm not sure what it does either.
Just looked into it, it is supposed to show the "sources" of pseudo mods/mods that have multiple things feeding into them. This is not working due to my hacky  implementation of pseudo-pseudos since they aren't actual filters on the trade site.


precice: 2020-01-20 -> 2.0.2

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

is the binary meant to be named binprecice ?

yes


ownCloud manual file locks are not respected by onlyoffice-owncloud

As of ownCloud 10.5, manually locking files is supported. In my own testing against two different instances running:

ownCloud server 10.5.0
ONLYOFFICE DocumentServer 5.6.3
onlyoffice-owncloud 4.2.1 and 6.0.1 (tried both on both instances).

I found that files that are locked manually can still be modified and saved by users other than the lock owner using the built-in OnlyOffice apps. This pretty much breaks the usability of file locking for anyone using onlyoffice-owncloud on their ownCloud server. Expected behaviour is that users would be denied the ability to modify a locked file unless they are the owner of the file lock.
Let me know if more info is needed.

@J4RF, please accept our apologies for the delayed response. Could you please describe the detailed step-by-step scenario on how we can reproduce the issue on our side?
We look forward to hearing from you.

sign in as user1, create a document file
share document file with user2
lock document file as user1
sign in as user2
edit and save document

Expected behaviour: user2 should not be able to modify the locked file
Actual behaviour: user2 can modify the locked file


Failures on Remove unnecessary leftover @dart=2.19 from tests.

There are new test failures on Remove unnecessary leftover @dart=2.19 from tests..
The tests
language/const/map_hashcode_override_legacy_test RuntimeError (expected Pass)

are failing on configurations
dart2wasm-asserts-linux-chrome
dart2wasm-linux-chrome
dart2wasm-linux-d8
dart2wasm-linux-jscm-chrome

In 2.19-mode constant maps/sets should not read the hashCode of objects with trivial equality, they should just use identity hash code (except for the lucky few platform objects where it should use the actual hashCode, likely numbers, Symbol and Type objects, because there will be runtime created objects equal to them).
The Wasm code crashes badly if hashCode throws. (That's a silly thing to do, but we have tests.)
This was probably accepted already, and just popped up again because I copied/renamed a file.

(In Dart 3.0, you can't override hashCode and have primitive equality, so a constant hash map won't call a user hashCode, because such an object is not allowed. In Dart <3.0, that was instead achieved by not calling the hashCode. One strategy here is to close our eyes and wait for Dart <3.0 to become unsupported, and blame anyone who makes a throwing hashCode until then - because you shouldn't be doing that anyway.)


Why HotPlugVolumes feature's validate webhook only support scsi bus?

Is this a BUG REPORT or FEATURE REQUEST?:
Why HotPlugVolumes feature's validate webhook only support scsi bus?
validateVolumeRequests

Uncomment only one, leave it on its own line:
/kind bug
/kind enhancement

/kind question
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

There is no technical reason we cannot support virtio for instance, however that comes with a large problem. Each disk hotplugged will use a pci-root port, and there is a maximum of 32 for all devices. So the number of disks we can hotplug is very limited, second you cannot modify the pci configuration after you start the VM, so you need to know ahead of time how many disks you want to hotplug. In contrast virtio-scsi supports millions of disks (well in theory, in practice its somewhere in the 60-70k range) and the performance difference between virtio-scsi and virtio is negligible. So basically to save everyone a lot of headaches we decided to only support virtio-scsi (like oVirt).

Ok，i got it. Thank you for your answer!

/close


i18n: Improve French (FR) and French Canadian (CA) translations

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[x] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[x] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description

Enhanced the French (fr-fr) and French Canadian (fr-ca) translations throughout the Open WebUI interface. This improvement aims to provide a more accurate and natural language experience for French-speaking users.

Added

New translations for previously untranslated strings in both fr-fr and fr-ca locales.

Changed

Updated existing French (fr-fr) translations for improved clarity and accuracy.

Deprecated

None

Removed

None

Fixed

Corrected mistranslations and inconsistencies in both fr-fr and fr-ca locales.

Security

None

Breaking Changes

None

Additional Information

The translations have been reviewed by native speakers of French (France) ensure authenticity and correctness.

Special attention may be given to technical terms to maintain consistency with established French and French Canadian IT terminology.

This PR is a resubmission after resolving merge conflicts with the dev branch. The translations have been updated to align with the latest changes in the project.

This PR supersedes the previously closed PR #3613, incorporating feedback and resolving conflicts.

Screenshots or Videos

N/A

LGTM, Thanks!


Fix incorrect explanation

In the description of semihosting is explains that IO occurs on the host. This should be target surely?

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @therealprof (or someone else) soon.
Please see the contribution instructions for more information.

No, semihosting allows the target MCU to perform I/O using the host computer.

@hargoniX do you mean even the peripherals (like DAC etc) are emulated somehow on the host? That is what I interpreted by the statement that semihosting does all the IO on the host. If this is the case then that is really powerful!

No what the statemt means is that the microcontroller can use the IO capabilities of the host which is basically always just the host's printf so you can have debug prints.

Yes that is what I suspected, which is why I suggested the PR in the first place. It is confusing to say "Semihosting is a mechanism that lets embedded devices do I/O on the host and is" as this implies (to me at least) all the IO of the target.

Thanks for the clarification @hargoniX. I understand now and will adjust the text accordingly if you don't mind?

Sure :+1:

I understand now and will adjust the text accordingly

Just do it


Remove Meta specific SparkSQL UDF

Reverting this sha: https://github.com/facebookincubator/velox/commit/95c89c4d88611c6c68899d397015d70cc8810cd4 .

@kgpai thanks for promptly resolving the CI failure.


Unable to change window size or position on linux after maximizing

Godot version
3.4 official build for linux x64
System information
ubuntu 21.04 x64 with gnome desktop environment
Issue description
After maximizing the game window with 'OS.window_maximized = true', it becomes impossible to either change the window size (with OS.window_size) or position (with OS.window_position) via script. Once maximized, the only way of changing window size or position is manually by the user clicking on the restore button in the window title bar or by dragging the window title bar so that the window restores it's previous size as consequence of the user dragging it.
The only changes that take effect by script are toggling the window border with 'OS.window_borderless', toggling fullscreen with 'OS.window_fullscreen', minimizing with 'OS.window_minimized' and calling the window back to foreground with 'OS.move_window_to_foreground()'. This behavior does not occur on windows 10 x64.
I have tried several combinations of possible workarounds, like minimizing, then changing the window size, and then calling the window to foreground, but none was successfull.
Steps to reproduce

Create a new project
Create a new scene
Create a new script in the scene root node
Use the code bellow and behold how the window refuses to get out of the maximized state

extends Node
func _ready():
	OS.window_maximized = true
	for i in range(60): yield(get_tree(), 'idle_frame')

	OS.window_size = Vector2(100, 100) # won't work
	for i in range(60): yield(get_tree(), 'idle_frame')

	OS.window_maximized = false
	for i in range(60): yield(get_tree(), 'idle_frame')

	OS.window_size = Vector2(100, 100) # won't work
	for i in range(60): yield(get_tree(), 'idle_frame')

	OS.window_minimized = true
	for i in range(60): yield(get_tree(), 'idle_frame')

	OS.window_size = Vector2(100, 100) # won't work
	for i in range(60): yield(get_tree(), 'idle_frame')

	OS.move_window_to_foreground() # will still be maximized =(

Minimal reproduction project
No response

I got a similar issue where I toggled fullscreen and after toggling it off, the title bar disappeared, so I have no other option but to close the engine and reopen it to get it back.
I'm on Manjaro LTS

Still reproducible in 3.5 RC 6.


RC 2.2 Data source refresh not working in EE 4.0 from PUC

could you add some details to that?
does it just not do anything? is there an error?
thanks!

i think thats fixed now. can you test with the latest version from CI?


feat: Add support for versioned docs

Overview
As part of the current docs overhaul, this PR adds support so that documentation is generated for each tagged version, as well as for the main branch and for the latest tag, so the docs for a given version will be available at https://stytchauth.github.io/stytch-swift/<ref>/documentation/stytchcore/ with ref being any of the tag values as well as main or latest. I've gone ahead and manually pushed up docs for each of these so we could be sure it would work properly, several examples of which you can see at:

https://stytchauth.github.io/stytch-swift/latest/documentation/stytchcore/
https://stytchauth.github.io/stytch-swift/main/documentation/stytchcore/
https://stytchauth.github.io/stytch-swift/0.1.0/documentation/stytchcore/
https://stytchauth.github.io/stytch-swift/0.8.0/documentation/stytchcore/

Implementation description
Before generating docs, the docs workflow now has a matrix job to create a matrix for main, latest and for each of the tags which don't already have documentation generated. After the matrix is created, the matrix is then used in a second job to generate the docs and upload artifacts. These artifacts will be subsequently downloaded in the final job where the artifacts are copied to the docs/live branch under docs/<ref> directories, resulting in per-version documentation being published like at the urls above.
Completes: SDK-869

Thanks! We'll see if it works out of the box w/ no adjustments needed! 😬🤞


Created action group does not appear when editing/creating a search guard role's index permissions

Hi.
Searchguard: 6.2.4-31.2 (TRIAL)
Nodes: 4
I'm attempting to add an action group to a searchguard role with the gui in kibana as the admin.
To be more specific it's a read only group for .kibana index.
I add that group with four single permissions:
indices:data/read/get
indices:data/read/search
indices:data/read/mget*
indices:data/read/search*

I add that group, and try to edit a Search Guard role with index .kibana (doc_type: *) to use that action group but the action group does not appear when editing index permissions for .kibana for the user. Even after several minutes.
I experienced this before, I created two different action groups, but only the first one created appeared in the Permissions: Action Groups tab. (They appear in the action group list)
Could it be a misconfiguration on my part? Or perhaps I'm missing something.

This might be a caching issue. Action Groups are fetched and cached for performance reasons, and deleted and re-fetched if something changes. Does the newly created action group appear if you log out and log in again?

It does! Should purge cache(from SG gui) have the same effect?
Thanks for responding.

No, this purges the cache on Elasticsearch, the action groups in the GUI are cached in your browser (session storage). It seems to be problem with purging this cache when action groups change. I'll label it as bug, thanks for reporting. Which version of the Kibana plugin are you using? The latest v13?

Yes I saw it being created on the ES side and it being listed in the action groups list.
At least it worked when logging in and out!
From the package.json
"version":"6.2.4"

Fixed with Kibana Plugin v14


Simple model.evaluate() example floods output with = characters

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Fedora 30

Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):

(binary): pip install tensorflow==2.0.0-rc0

TensorFlow version (use command below):

v2.0.0-beta1-5101-gc75bb66 2.0.0-rc0

Python version:

Python 3.7.4

Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
Running the code, I get an output flooded with hundreds of thousands of = characters when calling model.evaluate().
Train on 60000 samples
Epoch 1/5
60000/60000 [==============================] - 3s 43us/sample - loss: 0.5010 - accuracy: 0.8228
Epoch 2/5
60000/60000 [==============================] - 2s 38us/sample - loss: 0.3766 - accuracy: 0.8639
Epoch 3/5
60000/60000 [==============================] - 2s 38us/sample - loss: 0.3408 - accuracy: 0.8753
Epoch 4/5
60000/60000 [==============================] - 2s 37us/sample - loss: 0.3155 - accuracy: 0.8839
Epoch 5/5
60000/60000 [==============================] - 2s 38us/sample - loss: 0.2980 - accuracy: 0.8903
10000/1 [==================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================================================
...
... Literally hundreds of thousands of `=` ...
...
===========================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================================================
===========================================] - 0s 26us/sample - loss: 0.2803 - accuracy: 0.8673

Describe the expected behavior
Train on 60000 samples
Epoch 1/5
60000/60000 [==============================] - 3s 43us/sample - loss: 0.5010 - accuracy: 0.8228
Epoch 2/5
60000/60000 [==============================] - 2s 38us/sample - loss: 0.3766 - accuracy: 0.8639
Epoch 3/5
60000/60000 [==============================] - 2s 38us/sample - loss: 0.3408 - accuracy: 0.8753
Epoch 4/5
60000/60000 [==============================] - 2s 37us/sample - loss: 0.3155 - accuracy: 0.8839
Epoch 5/5
60000/60000 [==============================] - 2s 38us/sample - loss: 0.2980 - accuracy: 0.8903
10000/10000 [==============================] - 0s 26us/sample - loss: 0.2803 - accuracy: 0.8673

Code to reproduce the issue
import tensorflow as tf

mnist = tf.keras.datasets.fashion_mnist
(training_images, training_labels), (test_images, test_labels) = mnist.load_data()
training_images = training_images / 255.0
test_images = test_images / 255.0
model = tf.keras.models.Sequential([
    tf.keras.layers.Flatten(),
    tf.keras.layers.Dense(128, activation=tf.nn.relu),
    tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy'])
model.fit(training_images, training_labels, epochs=5)

test_loss = model.evaluate(test_images, test_labels)

Other info / logs
Running this code in a Jupyter Notebook results in a performance penalty for the huge, unnecessary output.

Perhaps you can use semi-verbose by setting verbose=2 to avoid repeated logging of =
GitHub_Gist
test_loss = model.evaluate(test_images, test_labels, verbose=2

@ymodak Yeah, that is not a problem, I can set verbose to 0 as well, but I think it is a bug anyway. Note the 10000/1 in the progress bar, instead of 10000/10000. I think that is unexpected. :wink:

same problem here
https://github.com/tensorflow/tensorflow/issues/32320#issuecomment-548883188

@Peque This has been resolved recently in 'tf-nightlywhich is2.1.0-dev20191108` that will be released in the future. I am closing this issue. Please check the gist here.
Please feel free to open the issue if it persists again. Thanks!

this issue still seems to still persist with the current tf-nightly - has anyone found a solution?

@warriorgiggles Can you please create a new issue with a simple standalone code to reproduce the issue? Thanks!


S2A record protocol implementation, part 3

This PR contains the implementation of the decrypt functions from the S2A record protocol. It depends on #5.

@cesarghali This PR depends on #5, which you've already approved but is still awaiting review from others. If you'd prefer to wait until #5 is merged to review this PR, no worries.


Add tutorial for Constellation activity

Added the tutorial for Constallation activity

You should not send a PR on the master branch.
Please resend a new PR on the dev branch.


next-translate doesn't work with next export

Hi, I'm adding next-translate package v1.0.7 to my next app.
And for build command, I do next build && next export.
I got this error when building.
Error: i18n support is not compatible with next export. See here for more info on deploying: https://nextjs.org/docs/deployment
    at exportApp (/app/node_modules/next/dist/export/index.js:14:296)
error Command failed with exit code 1.

@fr-irene Since version +0.19 of next-translate all the routing part is handled by Next.js and not by the library. One of the things that is still not supported, as commented here, is next export:

Note that Internationalized Routing does not integrate with next export as next export does not leverage the Next.js routing layer. Hybrid Next.js applications that do not use next export are fully supported.

I hope that from Next core they give support, now the routing is no longer the responsibility of this library and it would have to be solved directly in Next core. So I close the issue. Thanks anyway for reporting it


Calling CheckNetFramework more then once

I'm trying to call the plugin twice, example:
${If} {isXP}
!insertmacro CheckNetFramework 40Client
${ElseIf}
!insertmacro CheckNetFramework 45
${EndIf}
The makensis are pointing to a duplicate global variable error.
I've tried to put the script logic in a Function, but the error now is that the call DotNetChecker::IsDotNet452Installed (yes, fixed) throws a invalid command.
There is a right way for doing it? I'm not quite familiarized with the scripting stuff.

You could !include the nsh twice with a different name.
!include "DotNetChecker.nsh" !include "DotNetChecker2.nsh"
${If} ${AtLeastWinXP}
!insertmacro CheckNetFramework 40Full
${Else}
//MessageBox etc
Abort
${EndIf}
${If} ${AtLeastWinVista}
!insertmacro CheckNetFramework2 45
${Else}
//MessageBox etc
Abort
${EndIf}
On Fri, Jun 12, 2015 at 8:00 AM, Pedro<EMAIL_ADDRESS>wrote:

I'm trying to call the plugin twice, example:
${If} {isXP}
!insertmacro CheckNetFramework 40Client
${ElseIf}
!insertmacro CheckNetFramework 45
${EndIf}
The makensis are pointing to a duplicate global variable error.
I've tried to put the script logic in a Function, but the error now is
that the call DotNetChecker::IsDotNet40ClientInstalled (yes, fixed) throws
a invalid command.
There is a right way for doing it? I'm not quite familiarized with the
scripting stuff.
—
Reply to this email directly or view it on GitHub
https://github.com/ProjectHuman/NsisDotNetChecker/issues/16.

--
Later,
Brad

Nice! Thanks!


Locations not showing title

The keys are not strings anymore. They have iso written all over them now, rendering them unreadable text. Please fix.

Hi @ladeane00 , can you let me know what file you're referring to?  Which url you hit, file you downloaded, and when you got it?
I just ran this locally right now to check, and see the names in data.json, data.csv, report.json, locations.json, timeseries-byLocation.json, ... and many others.
Note: We have fairly recently moved to using iso codes for standardization -- it vastly simplifies things on our end, or more accurately it makes many things possible -- but we should still support human-friendly names.
Thanks for the note! jz

Yeah, we had an error, but it's fixed now! Try again.


Get https://mcr.microsoft.com/v2/: proxyconnect tcp: dial tcp: lookup kinpunp3proxy on <IP_ADDRESS>:53: no such host

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/microservice-tutorial/docker-image
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you provide more information? I don't know that there is enough in your title to help here.

Closing out due to lack of response. Please reopen if you're able to provide more details.

having same issue, using 'Docker Toolbar' on 'Windows 10 Home'
command : docker pull mcr.microsoft.com/dotnet/core/sdk

Closing out due to lack of response. Please reopen if you're able to provide more details.

same issue: using 'Docker Toolbar' on 'Windows 10 Home'
command:  docker pull mcr.microsoft.com/dotnet/core/sdk

I'm getting this error:
Error response from daemon: Get https://mcr.microsoft.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

when running docker pull mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim on a win10 pro v1909 running in a vm:
My docker engine is v19.03.13.
VS 2019 is updated to:
Microsoft Visual Studio Professional 2019
Version 16.7.7
VisualStudio.16.Release/16.7.7+30621.155
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Professional

Visual C++ 2019   00435-60000-00000-AA238
Microsoft Visual C++ 2019

ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools

ASA Service Provider   1.0

ASP.NET and Web Tools 2019   16.7.532.28833
ASP.NET and Web Tools 2019

ASP.NET Core Razor Language Services   <IP_ADDRESS>5807+72d099b977d3a85e65fa3b0614ca8cfc803fef02
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2012   16.7.532.28833
For additional information, visit https://www.asp.net/

ASP.NET Web Frameworks and Tools 2019   16.7.532.28833
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   16.7.532.28833
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.6.1000.1
Microsoft Azure Data Lake Tools for Visual Studio

Azure Functions and Web Jobs Tools   16.7.532.28833
Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio   2.6.1000.1
Microsoft Azure Stream Analytics Tools for Visual Studio

C# Tools   3.7.0-6.20514.1+600c0dadd199296df3ed07dfabdc014563a77f7c
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Cookiecutter   16.7.20248.6
Provides tools for finding, instantiating and customizing templates in cookiecutter format.

Dotfuscator Community Edition   <IP_ADDRESS>14-e0e25f754
PreEmptive Protection - Dotfuscator CE

Extensibility Message Bus   1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

GitHub.VisualStudio   <IP_ADDRESS>30
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info

Markdown Editor   1.12.253
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.

Microsoft Azure HDInsight Azure Node   2.6.1000.1
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.6.1000.1
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio   16.0
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service   2.6.1000.1
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30701.1

Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager   2.1.79+ge3567815aa.RR
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   16.7.5 (112c7bc)
Support for debugging Mono processes with Visual Studio.

NCrunch
Continuous Testing Tool for .NET
Copyright � 2010-2018 Remco Software Ltd

Node.js Tools   1.5.20701.1 Commit Hash:b0da3724234b78593207434292d9f891440edea1
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager   5.7.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Python   16.7.20248.6
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Python - Conda support   16.7.20248.6
Conda support for Python projects.

Python - Django support   16.7.20248.6
Provides templates and integration for the Django web framework.

Python - IronPython support   16.7.20248.6
Provides templates and integration for IronPython-based projects.

Python - Profiling support   16.7.20248.6
Profiling support for Python projects.

SQL Server Data Tools   16.0.62008.03130
Microsoft SQL Server Data Tools

Syntax Visualizer   1.0
An extension for visualizing Roslyn SyntaxTrees.

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript Tools   16.0.20702.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   3.7.0-6.20514.1+600c0dadd199296df3ed07dfabdc014563a77f7c
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools <IP_ADDRESS> for F# 4.7   16.7.0-beta.20361.3+3ef6f0b514198c0bfa6c2c09fefe41a740b024d5
Microsoft Visual F# Tools <IP_ADDRESS> for F# 4.7

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Container Tools Extensions (Preview)   1.0
View, manage, and diagnose containers within Visual Studio.

Visual Studio Spell Check Everywhere   VSSpellCheckEverywhere
An extension that enables spell checking within any Visual Studio file editor or tool window that uses WPF text boxes.
https://GitHub.com/EWSoftware/VSSpellChecker

Visual Studio Spell Checker   VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with tool windows.
https://GitHub.com/EWSoftware/VSSpellChecker

Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers

Visual Studio Tools for Kubernetes   1.0
Visual Studio Tools for Kubernetes

VisualStudio.DeviceLog   1.0
Information about my package

VisualStudio.Foo   1.0
Information about my package

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

Xamarin   <IP_ADDRESS>3 (d16-7@5209782)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   <IP_ADDRESS>5 (remotes/origin/d16-7@79c0c522c)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   16.7.85 (1bcbbdf)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   <IP_ADDRESS> (d16-7/025fde9)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: 83105ba
    Java.Interop: xamarin/java.interop/d16-7@1f3388a
    ProGuard: Guardsquare/proguard/proguard6.2.2@ebe9000
    SQLite: xamarin/sqlite/3.32.1@1a3276b
    Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-7@017078f

Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (e0ce49680)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.


try version 1.1, 1.2, 1.3 but never see the toolbar

Hi,
I try it in a very simple Fastapi apps  alike:
from debug_toolbar.middleware import DebugToolbarMiddleware
from fastapi import FastAPI
app = FastAPI(debug=True)
app.add_middleware(DebugToolbarMiddleware)
@app.get("/")
async def root():
return {"message": "Hello World"}
start with :uvicorn main :app
and doesn't works , I don't see the toolbar
logs:
INFO:     Application startup complete.
INFO:     <IP_ADDRESS>:61005 - "GET / HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:61005 - "GET /docs HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:61005 - "GET /_debug_toolbar/static/css/toolbar.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:50609 - "GET /_debug_toolbar/static/js/toolbar.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:61063 - "GET /_debug_toolbar/static/js/refresh.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:60063 - "GET /_debug_toolbar/static/img/icon-white.svg HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:61063 - "GET /_debug_toolbar/static/css/print.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:60063 - "GET /openapi.json HTTP/1.1" 200 OK

Hey @ericfran ,
You can see a tab on the right side of any HTML page (e.g. Swagger UI /docs), please click it to open the toolbar.
The tab can also be dragged up or down to place it wherever you like.

Hi,
Ok thanks will check in coming days.
But I didn’t saw it …. 😔
Regards
Eric

On 7 Aug 2021, at 16:48, Dani @.***> wrote:

Hey @ericfran ,
You can see a tab on the right side of any HTML page (e.g. Swagger UI /docs), please click it to open the toolbar.
The tab can also be dragged up or down to place it wherever you like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

if you can't see it.. let me know :)

Hi! I have the same issue!
INFO:     <IP_ADDRESS>:36844 - "GET /css/toolbar.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:36814 - "GET /img/icon-white.svg HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:36828 - "GET /js/toolbar.js HTTP/1.1" 304 Not Modified
Could you please help me?
This is my requirements.txt file
alembic==1.11.3
bcrypt==4.0.1
boto3==1.28.35
cryptography==41.0.3
email-validator==2.0.0.post2
fastapi==0.103.0
mangum==0.17.0
passlib==1.7.4
pydantic_settings==2.0.3
PyMySQL==1.1.0
pytz==2023.3
python-dateutil==2.8.2
SQLAlchemy==2.0.20
sentry-sdk[fastapi]==1.29.2
pynamodb==5.5.0
dynamodb-json==1.3
python-jose[cryptography]==3.3.0
requests==2.31.0
Also, I'm using Docker to running the app with uvicorn
main:app --reload --host <IP_ADDRESS> --port 8000

I discovered some things:
I need to define the api_url y static_url to make the resources work, because uvicorn not work with _ or create de 304.
app.add_middleware(
    DebugToolbarMiddleware,
    api_url=f"/{settings.PROJECT_NAME}/debug",
    static_url=f"/{settings.PROJECT_NAME}/debug/static",
    ...
)

But the problem is that app not load the docs URI... I think that is a uvicorn problem