When Built with configure assetFileNames, the assets not found

Describe the bug
When project built, run the dist. The page will load all assets in css dictionary, actually the assets aren't in this dictionary.

build: {
  outDir: "test_dir",
  assetsDir: "static",
  rollupOptions: {
    output: {
      chunkFileNames: "static/js/[name]-[hash].js",
      assetFileNames(chunkInfo) {
        const fileName = chunkInfo.name;
        let extPath = "[ext]";
        if (/\.(png|jpe?g|gif|svg)$/i.test(fileName)) {
          extPath = "img";
        } else if (/\.(mp4|webm|ogg|mp3|wav|flac|aac)$/i.test(fileName)) {
          extPath = "media";
        } else if (/\.(woff2?|eot|ttf|otf)$/i.test(fileName)) {
          extPath = "fonts";
        }
        return `static/${extPath}/[name]-[hash][extname]`;
      },
    },
  },
},

Reproduction
No response
System Info
System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
    Memory: 3.63 GB / 15.88 GB
  Binaries:
    Node: 14.17.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.62)
  npmPackages:
    vite: ^2.5.0-beta.0 => 2.5.0-beta.0

Used Package Manager
npm
Logs
no error

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

@sodatea Here it is. https://github.com/kooriookami/vite-assets-error
npm run dev, it's no problem.

npm run build
npm run serve, missing the fonts and background image.

you need to set base to default value "/" or don't set base.

Of course, you can set other values as well, but . / is not a correct value in a production environment.
https://vitejs.dev/config/#base:

Of course, you can set other values as well, but ./ is not a correct value in a production environment.
https://vitejs.dev/config/#base:

Thx, but in some case, I dunno the absolute url, so I have to set a ./. Will this logic be modified later?

Then you can consider not setting the base, in most cases it is applicable.

I have the same problem

I was able to reproduce with Vite 2.9.9.
But after upgrading to Vite 3.0.0-alpha.0, it worked. Maybe https://github.com/vitejs/vite/pull/7644#issuecomment-1126257785 fixed this.
Closing as it is fixed.

#7644 was released in 3.0.0-alpha.1, so it should be another PR. But great this is solved anyway :)

I was lying 🤦♂. It was 3.0.0-alpha.1. (I was using ^3.0.0-alpha.0 instead of 3.0.0-alpha.0.)


Inverted zIndex

I am using RLayerVectorTile, passing the zIndex in the properties, but the rendering seems inverted, I believe. For example, if I have two layers, the first with index 1 and the second with index 2, and with two overlapping geometries, the one with index 2 should be on top of the one with index 1, but that's not happening. However, the click events are working as expected, respecting the higher index. Can you help me?

Let me exemplify:

Render 6 VectorLayerTile's, with unique zIndexes for each one (from 1 to 6)

Click on an area where 2 tiles overlaps

The click event will be fired on the layer with highest zIndex (correct behavior)

The layers with higher zIndex are rendered bellow the ones with smaller zIndex (inverse of what one might expect)

The order in which the VectorLayerTile is in the DOM does not change this fact if zIndex is set

If zIndex is not set, the order in DOM affects the render order but not the priority when interacting with the overlapping layers (the one being rendered behind will be the one receiving the event)

I was able to understand the behavior: actually, when I click on overlapping geometries, an event will be triggered for each geometry, and I was only handling the last one.
Thanks to #265, I was able to notice.


CLI spark commands to manage users

With the User command is possible by cli to run these actions on users :
'create', 'activate', 'deactivate', 'changename', 'changeemail', 'delete', 'password', 'list', 'addgroup', 'removegroup'
Available options :
'-i' => 'User id'
'-u' => 'User name'
'-e' => 'User email'
'-nu' => 'New username'
'-ne' => 'New email'
'-g' => 'Group name'
1. create a new user
./spark shield:user create -u newuser -e<EMAIL_ADDRESS>2. activate a user
by username : ./spark shield:user activate -u username
or
by email : ./spark shield:user activate -e<EMAIL_ADDRESS>3. deactivate a user
by username : ./spark shield:user deactivate -u username
or
by email : ./spark shield:user deactivate -e<EMAIL_ADDRESS>4. change user name
by username : ./spark shield:user changename -u username -nu newusername
or
by email : ./spark shield:user changename -e<EMAIL_ADDRESS>-nu newusername
5. change user email
by username : ./spark shield:user changeemail -u username -ne<EMAIL_ADDRESS>or
by email : ./spark shield:user changeemail -e<EMAIL_ADDRESS>-ne<EMAIL_ADDRESS>6. delete a user
by user id : ./spark shield:user delete -i 123
or
by username : ./spark shield:user delete -u user
or
by email : ./spark shield:user delete -e<EMAIL_ADDRESS>7. change a user password
by username : ./spark shield:user password -u username
or
by email : ./spark shield:user password -e<EMAIL_ADDRESS>8. list users
List all users : ./spark shield:user list
or filter by username and/or email ./spark shield:user list -u user -e<EMAIL_ADDRESS>9. add a user to a group
by username : ./spark shield:user addgroup -u username -g mygroup
or
by email : ./spark shield:user addgroup -e<EMAIL_ADDRESS>-g mygroup
10. remove a user from a group
by username : ./spark shield:user removegroup -u username -g mygroup
or
by email : ./spark shield:user removegroup -e<EMAIL_ADDRESS>-g mygroup
All the options are optional and if the username or email are not passed on command line, a prompt will ask the user for the necessary information to complete the required task. The data inserted are validated and every operation asks for a confirmation to proceed.

Thank you for the contribution!
You have one commit without GPG signed. Please sign all the commit.
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#gpg-signing-old-commits
There are some GitHub Action checks failed.
Please fix them.
See

https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#static-analysis-on-php-code

You committed some merge commits, but we do not use merge commits in PR branches.
Please use git rebase and it will remove the merge commits.
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#updating-your-branch

Hi @kenjis , thanks for the feedback. I made all the necessary amendments to the code. If you think everything is ok, I can work also on the documentation.


Merge develop branch to v2 branch

Codecov Report

Merging #2424 (08b9466) into v2 (7a532c2) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##               v2    #2424      +/-   ##
==========================================
- Coverage   97.62%   97.59%   -0.03%
==========================================
  Files          56       56
  Lines       10685    10680       -5
==========================================
- Hits        10431    10423       -8
- Misses        254      257       +3

Impacted Files
Coverage Δ

botocore/httpsession.py
92.55% <0.00%> (-0.47%)
:arrow_down:

botocore/utils.py
96.80% <0.00%> (-0.17%)
:arrow_down:

botocore/response.py
92.53% <0.00%> (-0.11%)
:arrow_down:

botocore/waiter.py
98.28% <0.00%> (-0.01%)
:arrow_down:

botocore/paginate.py
97.83% <0.00%> (-0.01%)
:arrow_down:

Continue to review full report at Codecov.

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


Provide convenient way to override dimensions

One of the major recurring issues we are seeing is that it is fairly difficult to change any options which have been set on a Dimension object, including ranges, formatters, units etc. One easy solution to that would be to provide a convenience method on all Dimensioned objects, which traverses the object and replaces the dimensions, much like the relabel method allows setting the label and group on a nested object.
Deciding on the name and appropriate signature is the major issue here but we should also decide whether it should allow renaming dimensions, which I believe would be very useful too.
Ignoring the name of the method for now (I'll use redimension but I'm sure we can come up with something better), here are some signatures I can see being supported:
Provide a dictionary mapping from the old name to the new Dimension settings:
# As a dictionary
obj.redimension({'x': dict(name='Time', unit='s', range=(0, 100))})

# As a dimension object
obj.redimension({'x': hv.Dimension(name='Time', unit='s')})

Alternatively we can do it directly as kwargs:
# As a dictionary
obj.redimension(x=dict(name='Time', unit='s', range=(0, 100)))

# As a dimension object
obj.redimension(x=hv.Dimension(name='Time', unit='s'))

Passing a dictionary would override individual attributes, while passing a dimension would completely override the previous dimension. It could also have a depth argument (just like relabel), but I think that should be set to be infinite by default.

Sounds good, and I like the keyword syntax.
I know redim is not a word but then neither is redimension really. I think redim as analogous to relabel is nice and short. Why we are at it, anything else X you might want to change on a HoloViews object that makes sense to have a reX method?

I think relabel and redim are the main ones, since those are the two main things that make up a Dimensioned object.

Just a quick note that implementing this is all very trivial except for one aspect, if we want to allow renaming of dimensions, which I'd argue for strongly, we'll have to provide a way for the data interfaces to change the name of a dimension in the underlying datastructure.

I vote for redim.  Changing the name of a dimension also sounds important.  The kw version seems far more convenient, though it presumably only works if the name can be a Python attribute name, which I guess must be true in this case?

I know redim is not a word but then neither is redimension really.

Well... redimension, v. t.

Sounds good. Only question to settle now is whether it should allow controlling the depth or whether it should apply throughout a nested object and what the correct default is.

Seems like we should do the same for relabel and redim, both in capability and in default value.  I know it's been discussed, but I can't remember whether relabel allows you to control the depth.

It does, however I'd argue that the depth behavior isn't entirely appropriate in this case. That's because many top-level objects don't in fact have any dimensions (e.g. Layout and Overlay), so in a Layout of Overlays the default depth of 0 or 1 we use for relabel will do nothing. The other thing is that unlike groups and labels a particular dimension usually occurs only at one specific level anyway so having to manually adjust the depth for what is already an unambiguous request seems awkward.

Sounds like redim needs to be infinitely deep by default, then?

Hmm, thinking about it more there is another mechanism we use to match specific objects that is currently used by the select, traverse and map methods. There you can supply a list of either types, functions, or type.group.label specs to match on, that would look something like this:
layout.redim([hv.Points, hv.Image], x={'name': Longitude'})

Everywhere we support this I'd also enable support for supplying just a single matching criterion rather than a list of them.

Ok, I think we can close this issue now the PR has been merged.
With specs=None by default, I believe that is essentially infinitely deep unless specified otherwise. Seems like reasonable behavior to me. Anyway, I will close this issue now, but I am happy to reopen it if we want to discuss things further.


Swagger UI - Request URL is always "null"

Working great so far.  Great project thank you.
Minor problem:  the "Request URL" field is always "null".
I would expect this field to display something like "http://localhost:8001/get/..." after pressing the "Try it out" button.

so, the reason request URL is always null is because there's no base path?


remove 'Configuration.json' dependency for cadl in autorest.csharp

When we generate SDK from cadl, the configuration.json is not used anymore.
We need to remove the dependency of the configuration when input is cadl in autorest.csharp.

How are we fulfilling Configuration?

emitter will auto emit Configuration.json from cadl-project.yaml or cadl options.


recover example/multiple_databases.py from cc03bf4

Recover the example file mistakenly removed.
Change uri to url

Currently two example files are identical. I believe the owner mistakenly overrode the "mutiple_databases.py" file. So, I recover the file from the history and modify appropriately.

@funcodeio thanks for the PR!


prune: Parallelize repack step

What does this PR change? What problem does it solve?
The PR parallelizes the repack step of the prune command.
This change is basically a simpler reimplementation of the corresponding part of #2340. There are a few notable differences though:

The repack pipeline in the PR only has 3 steps instead of 4 in #2340. The steps are: send packIDs into the pipeline, download packs, process pack + store blobs. In #2340 storing blobs is a separate pipeline step. However, this requires an additional buffer pool. Parallelizing the actual upload should be handled via #2696.
Repacked blobs are still removed from keepBlobs and not tracked in an additional sync.Map. The implementation follows #2340 in that it  is prepared to support using one of multiple duplicates of a blob in the future. (This is the reason for the duplicate keepBlobs check)
The number of workers is currently fixed at 8, adapting this depending on the backend and CPU core available should happen in another PR which adjusts other parts of restic as well.
Usage of sync.errgroup instead of tomb.

Note: Most of the changes are indentation only, so the actual changes are best viewed when ignoring whitespace changes.
Was the change discussed in an issue or in the forum before?
Probably in one of the issues regarding prune performance.
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
[ ] I have added tests for all changes in this PR Repack already has tests
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

IMHO it would make sense to review and merge https://github.com/restic/restic/pull/2844 first before changing prune.

IMHO it would make sense to review and merge #2844 first before changing prune.

That's the plan.
I've primarily opened the PR to avoid duplicate work. (Well, actually it was quicker to code this and run prune afterwards than wait for the four hour unparallelized repack step to complete ;-) )

I only took a cursory glance at the code, but could you explain why there are still two worker pools connected by a channel? It looks like the downloader goroutines could just call the processing code synchronously. Then numRepackWorkers would be the actual number of workers, rather than half of that number.

@greatroar The idea is to split the workers in the future into CPU- and IO-bound (to some extent). That is the number of download workers would scale with number of connections the backend can handle, whereas the repacking itself is more CPU-bound and would be limited to GOMAXPROCS (more workers would just unnecessarily gobble up RAM, but provide no speed-up). Right now the second part of the pipeline also handles the uploads itself and thus alternates between CPU/IO-bound.
I'm aware that DownloadAndHash will also require a lot CPU to verify the pack hash, but I want to keep the check of the downloaded pack file near the download itself to e.g. retry the download of damaged packs in the future. Repacking blobs is probably more expensive as it has to decrypt and hash each blob, then encrypt the blob and has the new pack file.
Right now, the number of repack workers is just an arbitrary number (I just used the same value as in cmd/restic/delete.go).


Simple object literal does not work as expected

<EMAIL_ADDRESS>I prepared following smallest test case (demonstrating the problem I found in my real code)
WRONG:
interface Low {
}

interface TransitionLow {
    native: {
        margin: string
    }
}

const testWRONG: TransitionLow & Low = {
    native: {
        margin: '',
        color: '',  // ==> NO ERROR HERE, "Object literal may only specify known properties" expected
    }
}

CORRECT:
const testOK: TransitionLow & Low = {
    native: {
        color: '',  // CORRECT ERROR: Object literal may only specify known properties,...
    }
}

const testOK2: TransitionLow = {
    native: {
        margin: '',
        color: '',  // CORRECT ERROR: Object literal may only specify known properties,...
    }
}

Another correctly error detect case (testOK3):
interface Low {
}

interface TransitionLow {
    native: {
        margin: string
    }
}

const testWRONG: TransitionLow & Low = {
    native: {
        margin: '',
        color: '',  // ==> NO ERROR HERE, "Object literal may only specify known properties" expected
    }
}

const testOK: TransitionLow & Low = {
    native: {
        color: '',  // CORRECT ERROR: Object literal may only specify known properties,...
    }
}

const testOK2: TransitionLow = {
    native: {
        margin: '',
        color: '',  // CORRECT ERROR: Object literal may only specify known properties,...
    }
}

const testOK3: TransitionLow & Low = {
    native: {
        margin: '',
        color: '',  // ==> NOW ERROR HERE
    },
    aaaaa: '', // Valid because Low is an empty interface
}

Playground.
Note that, in all cases, the tooltip on native shows that is a reference to TransitionLow native property.

Duplicate of #18075

@DanielRosenwasser, thanks a lot for duplicate notice.
In https://github.com/Microsoft/TypeScript/issues/18075 is this milestone info:
mhegazy modified the milestones: TypeScript 3.0, Future on 3 Jul
Could you be more specific? "3.0" milestone is out and "Future" is not too concrete. This feature is substantial for my project.
Thanks a lot for info.


fix: disable on localhost by default (with override)

Given Umami doesn't allow localhost URLs, I've disabled installing Umami if on localhost, with the parameter allowLocalhost to override this behavior.

Sorry for the delay, I've had a few things going on! This change seems fair, I'll try to get it merged in this evening.


improved cross-linking in computation.rst

As discussed in gitter, I added a couple of cross-links to the Computational tools section in the docs.

Thanks a lot!


Make the Page Responsive

please
assign to me

thank you i'm on it @surekashreya

@surekashreya
the version of the repo I have has no content in it...
I'd like to know if there is another version of this

@Petsamuel  We don't have another version of the website
Thank You
Instructions

Yes you can start working on it by taking latest pull from main branch
Don't Forget to join onboarding group for knowledge flow and direct conversation and support from other developers link  Curious Developers Community - Hacktoberfest
Please write the comments in your source code for development work and don't forget to attach the screenshots and video of the development work once it is done
Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number
Respect Co Developers And Please Reachout to admins if any issues

Thanks & Regards
The Curious Team


ES6/Babel Not Working?

Trying a simple test to see how ES6 works
const = new Date()

Produces following error:
http://d.pr/i/1irEi
Should I have to link to babel as well?

Here is the URL for the problem bin
http://jsbin.com/ziyakiw/edit?html,css,js,output

@michaelbragg: you might have to refresh your page after you've switched ES6/Babel. Your example works for me btw.


alter some interfaces to support GameEngine testability

Contains
Interface changes to support ModuleTestingEnvironment (creation and manipulation of TerasologyEngines)
see https://github.com/kaen/ModuleTestingEnvironment
How to test
Engine should work exactly as it did before :)

Hooray Jenkins reported success with all tests good!

Neat! Pinging @immortius @flo @skaldarnar to maybe get some quick review :-)

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Getting a client to connect to a host required some additional changes. Chiefly I had to normalize the behavior of States and Engines regarding when CoreRegistry is set. Now by definition a State is required to expose a context, and that context will be set as CoreRegistry when the engine is tickd.
Additionally, NetworkSystem now uses a local context reference rather than CoreRegistry in order to make it thread-safe (since some parts are apparently executed off of the main thread). The engine now sets the NetworkSystem's local contex on each tick. This is equivalent to the old behavior of relying on the State to set its own context as CoreRegistry, but without the CoreRegistry reference it becomes thread safe in the test environment. engine-tests have been updated to reflect this requirement.
Additionally I exposed the cleanup method to allow proper shutdown/cleanup of the Engine instances between test cases

Getting a client to connect to a host required some additional changes. Chiefly I had to normalize the behavior of States and Engines regarding when CoreRegistry is set. Now by definition a State is required to expose a context, and that context will be set as CoreRegistry when the engine is tickd.
Additionally, NetworkSystem now uses a local context reference rather than CoreRegistry in order to make it thread-safe (since some parts are apparently executed off of the main thread). The engine now sets the NetworkSystem's local contex on each tick. This is equivalent to the old behavior of relying on the State to set its own context as CoreRegistry, but without the CoreRegistry reference it becomes thread safe in the test environment. engine-tests have been updated to reflect this requirement.
Additionally I exposed the cleanup method to allow proper shutdown/cleanup of the Engine instances between test cases

Hooray Jenkins reported success with all tests good!

Tested it out, both in single, server-client + client, and headless + client, seemed solid! Well, found a pre-existing bug I hadn't noticed before, but that's something else :-)
Thanks!


performance: add batch lora function

rename the LoraLinear filename

mlora will use the index_add_ function to add the loras' result to the base linear's result, so when executing the backward, it will use some memory malloc function to create the tensor's copy, which will waste time.
so we need a new autograd.Function to reduce this part, consider Y = W + XAB as a whole, so it will not split this batch data.

NOTE: need someone to test and review this!

it will reduce the 50% time compared to the old version, and the same as the PEFT, but with less kernel launch time.
no more memory cost like the old version.


gnupg: apply patch to allow import of key updates without user ids

This adds a patch series which allows GnuPG to import updates
(revocations and subkeys) from certificates that contain no user ids.
This is relevant for refreshing keys from the default keyserver
keys.openpgp.org, where only user ids that contain verified email
addresses will be distributed, and revoked keys never contain any user
ids.
This patch series was originally authored and submitted to upstream half
a year ago (by me), but now comes from Debian packaging where it's been
included since then.
Relates to the following upstream issue: https://dev.gnupg.org/T4393

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

[x] NixOS

[x] Tested execution of gnupg and dirmngr binary files
[x] Fits CONTRIBUTING.md.

This needs to target the staging branch.

No problemo :)

Rebased onto staging. Builds and works fine for me.

I tried to collect some background information which might help a possible reviewer. NOTE: I am by no means an expert on this topic. @Valodim: please correct me if I am wrong.

This is needed in order to facilitate a switch to keys.openpgp.org which does not send any user-ids for unverified users.
This does not solve existing issues when downloading poisoned certificates from SKS keyservers.
Werner Koch is reluctant to merge this. After crawling through a lot of the discussions on dev.gnupg.org I do think I have found the reason why:

Re 3.: I am still unconvinced about the use cases for accepting keys without user-id. In contrast to pgp-2, gpg has always had the policy to allow only keys with a user-id and futher only with valid, ie. signed, user-ids. The reason for this is that properties of the key are carried in the self-signature of the user-id. It is possible to take them also from so-called direct-key-signatures, but we do not have much experience with that feature and thus I fear that this will have severe regressions to the ecosystem. RFC-4880 even requires the user id and the planned change in rfc4880bis is merely for a very limited use case on embedded devices where there is no space for a user-id.
-- Source

Patch-state in other distributions (19. Feb. 2020):

[x] Fedora included since  2.2.18-3 ( 04 Jan 2020 )
[x] Debian
[ ] Gentoo
[ ] Arch Linux
[ ] Void Linux

Personally this would have helped me a few days ago. Therefore, from a usability perspective I would like to see this merged. But I am a bit worried that this might have a possible security impact.

All of those points seem correct, thanks for writing them up :)

This is needed in order to facilitate a switch to keys.openpgp.org which does not send any user-ids for unverified users.

Correct. This is already the default in Nix since #63952, so even stable. Disclaimer: I maintain keys.openpgp.org.

I do think I have found the reason why:

The quoted argument is sound in itself, but slightly misses the point. I am still unconvinced about the use cases for accepting keys without user-id. - the patch doesn't allow importing keys without user ids per se, nor does it make an argument that this should be possible. It allows importing updates for keys that are already known, from key data that carries no user ids.
In a nutshell, a key typically consists of: primary key + subkeys + revocations + user ids. GnuPG checks for this structure on import. There is indeed a good argument not to import such keys, since the user ids (or rather, their self-signatures) carry metadata for the key. However, the subkeys and revocations can independently be checked for cryptographic integrity. For a key where a user id is already known, if we see a file that's "primary key + revocation + subkeys", the behavior this patch introduces is to merge the revocations and subkeys into the local store.
To put it differently, if you hand a primary key and a cryptographically correct revocation to GnuPG right now, the revocation will be ignored unless there is also a valid user id on the imported data.
I can only speculate why Werner doesn't want to merge this patch. So far I have not seen a sound technical argument against the use case.

Patch-state in other distributions (19. Feb. 2020)

It's also in GPGTools for macOS, iinm.

Hi there -- i'm the most active GnuPG maintainer in debian.  just wanted to weigh in here to corroborate @valodim's analysis and the attached patches in case that's useful.
The default keyserver is used for gpg --refresh, which is typically used to retrieve revocation information and new subkeys.  keys.openpgp.org is entirely capable of distributing those updates, but without the changes listed here, GnuPG will ignore those updates, even though they are cryptographically verifiable.
This change is an important one, and should be applied upstream.  But given upstream's inexplicable delay, those of us who redistribute GnuPG are obliged to fix it for our users.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/121


automatic flag setting based on country code

Hello here! Thanks for building this, it helps, but I think there is still room for improvement.
I'd like to have a component that does not force me to google for flag emojis. It would be nice to have it automatically detect the appropriate flag by default and then let the user provide either a fallback flag or just a custom flag.

My bad then, thanks for the reply


Use preemptible images for ci

We switched anndata over to pre-emptable images a while ago, and it's way cheaper with no issues caused. I'd suggest we do that here too.
It looks like a job here takes ~3 times as long, but costs ~20x more.

Ok looks good to me


when i try to connect i get an error

Unhandled rejection RequestError: Error: getaddrinfo ENOTFOUND undefined.omegle.com undefined.omegle.com:80
at new RequestError (C:\Users*\node_modules\request-promise-core\lib\errors.js:14:15)
at Request.plumbing.callback (C:\Users*\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (C:\Users*\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (C:\Users*\node_modules\request\request.js:187:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (C:\Users******\node_modules\request\request.js:813:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at Socket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

Are you calling connect after the ready event fires?

Sorry about that, I completely forgot about the ready event when writing the docs


perf: use HashMap to store alloc sizes instead of header

#602  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Nov 27, 4:18 AM EST: A user merged this pull request with Graphite.


I have a question about currentuser-liked-rowclass

Is it possible to assign likes in the gallery view as well?
Now it is so that when I want to like an item, then the edit window opens.

I just tried and it seems that it is still not possible😢
I am very sorry and would appreciate your feedback to Microsoft.
https://feedbackportal.microsoft.com/feedback/forum/ab3ad59e-6dd1-ec11-a7b5-0022481f35a4


Attempt to fix the Google Analytics

Making Content Publisher consistent with a few other publishing apps by rendering the partial outside content_for method. Assumption is that problems might have been caused by having partials rendered inside a method block which might not work as expected? Testing in integration
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Tested in integration - can see the tag manager scripts being included. This should fix it.


OfflineUtils tool does not show on ArcGIS 10.3

The script tools for OfflineUtils aren't available when opened in ArcGIS 10.3.

VS.

Per the collectorUtils readme

If you wish to use the toolbox in a version lower than 10.4, you can rebuild the toolbox in ArcGIS Desktop 10.x by creating a new toolbox, adding a script tool to it, and specifying the required parameters. Details can be seen in the documentation for each tool. Details on building script tools can be found here.

Check out this link for more details on re-creating the toolbox.
Let me know if  you run into any issues.


Transformed items like Seraph's Embrace are not reverted into untransformed versions

Some user reported to me on koreansbuilds.net that items like Serph's Embrace or Muramana are not transformed back into their untransformed verision and therefore do not show up in the ingame builds created by championify

@Apfelmann If I understand correctly digging around, Seraphs Embrace and Muramana are the only two items that transform?

@dustinblackman that is indeed correct

Poacher's Dirk also transforms now.

Honest question - is this really an issue? For any completed item you'd click on the item then buy the components on the right hand side. This would do the same wouldn't it? Click on Seraph's Embrace or Muramana and it'll show the full build on the right hand side including the transformed item itself?

Same issue happens with Molten's Edge.


Enable ReviewNB for this repository

Professor @yy, Please enable ReviewNB for this repository so that whenever any PR has notebook changes, it should run workflow and send a comment in the PR with diff. Please close this issue once you enable it.

done


SqlAG: Rename parameter SQLServerNetName

Details of the scenario you tried and the problem that is occurring:
The work renaming parameters in issue #308 does not mention the parameter
SQLServerNetName in the resource SqlAG.
https://github.com/PowerShell/SqlServerDsc/blob/9a1080c4da5d513eb4191388206cf37c16c0a0fd/DSCResources/MSFT_SqlAG/MSFT_SqlAG.schema.mof#L23
I suggest we rename it to NetName.
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
n/a
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

@randomnote1 @nabrond next one, what do you think?

I'm open for other names. Maybe NetServerName would be more appropriate?

NetName is the property off of the server object that is used. This is either the node name or the virtual computer object name of the FCI. ServerNetName would make sense to me.

ServerNetName works for me.

Should we drop the parameter all together? It looks like it is only used in the Get and Test functions. Seems odd to have a parameter that cannot be set be part of the evaluation for a resource's compliance.

In the Get-TargetResource function we could also return the value of the EndpointHostName if the parameter is set. If it is not set then we return $serverObject.NetName (the above code).

Well, I'm not entirely sure why I chose to create a read-only property for $serverObject.NetName. I'm in favor of using $EndpointHostName and dropping $SQLServerNetName.

@randomnote1 The same logic seem to exist in SqlAgReplica as well. So changing that as well.
Working on this now.

That makes sense. Thanks!


ChatGPT integration, Preffered lang for translation

Sorry - pretty big PR.
Added ChatGPT integration. 2 use cases:

"random post/comment interpretation" - lots of predefined styles, later we should consider adding more.
"annotate post/comment"
user setting for preferred lang and google translate will use it
always showing translate button because we don't know now if comment is writted on user's preferred lang
extra layer of protection when inserting comment/post content - to avoid script injection through GPT prompts

Followups:

rename "/translate" to "/interpreter", TranslatingManager -> InterpretationManager
save preferred language into DB
translate post titles
make more money for GPT
remove fasttext/make it honor preferred lang
Latest design:

Buttons hidden under "...":

Styled language select:


Ignore 'Options' method

Allow us to not generate an api method for http options.

When I try to use an 'options' method I get an error where it goes to generate the method. The allowed field is undefined. Line 25 of 'process-methods.ts'
const allowed: string[] = conf.allowedParams[method.methodName];
returns an undefined value because 'options' is not an allowedParams property.

Could you, please, post an example of your schema with options method? It seems conf.ts should be extended.

api.zip
Here is the schema. I tried adding operationids but that did not help. Thanks. I really just want to skip creating api methods.


Move package:native_assets_builder

Closes:

https://github.com/dart-lang/native/issues/67

And has a ton of small fixes due to the extra checks on the CI here:

Satisfies more lints.
Deleted dead code.
Updated dependencies.
Formatted files.

coverage: 98.64% (-0.9%) from 99.523% when pulling 6a1594b3d62ff4e2fc234e497acbb521419d6508 on native-assets-builder into c80be905f7c35044aaad56369a19619453132c4e on main.

@devoncarew Because this package is the shared implementation between dartdev and flutter_tools, and should not be used by users, we could consider hiding it in the main README.md table. What do you think? Should it be in there or not?

@devoncarew Because this package is the shared implementation between dartdev and flutter_tools, and should not be used by users, we could consider hiding it in the main README.md table. What do you think? Should it be in there or not?
Edit: the test mono repo lists all packages, but provides no description for the internal/private ones: https://github.com/dart-lang/test/tree/master

I guess I have mixed feelings. I'd normally say to list everything (for completeness, and to help users understand the repo contents). You'd then use the description column and or the published/version column to help indicate which packages were more user facing and which more impl. details.
There might be some types of packages that I would strip out I suppose - like test support / fixture packages.


Feature Request : Enforce consistency

Is your feature request related to a problem? Please describe.
Something I've noticed in our repositories at work, is that we often end up with a mixture of the various checks inside a single test-suite :

_()
value()
expect()

Combined with the various checks like assert, must, refute, should.
I know several of them are being deprecated by minitest itself however.
Describe the solution you'd like
I'm wondering whether we can write a Cop, that takes a specific configuration to say that all checks need to be done with one of the three lines above, and should be followed by the required syntax, being must, should or other plugin.

I still don't get the point. Could you show a code examples of these three using Minitest?

Sure,
as I wrote above, there are three ways to perform checks inside minitest:

def test_if_equal
   _(1 + 1).must_equal(2)
end

def test_if_equal
   value(1+1).must_equal(2)
end

def test_if_equal
  expect(1+1).must_equal(2)
end

You can freely mix these variants inside a test suite.
My recommendation is to create a Cop that takes a configuration parameter:
MiniTest/Consistency:
  Enabled: true
  Style: :expect

Which would flag example 1 and 2 as warning, with the error message that the expected form is expect() and not _() or value()

Thank you for the explanation. I got an understanding of the proposal and concept.
https://github.com/seattlerb/minitest/blob/ecb1afeb36f831d20f1f0f9081bd1b8e32ddbdfe/lib/minitest/spec.rb#L291-L320
The cop will make the style consistent as suggested. OTOH, the cop name Consistency is abstract, so a more specific name is likely to be preferred :-)

sure all for better naming :)
I'm just horrible at it like any other developer :D
But the link is exactly what I was talking about.

Ah, I forgot the important point. This issue should first be opened in The Minitest Style guide. So, I will transfer this issue to The Minitest Style Guide repo.


Formatting the calendar header

Hello.
I'd like to edit the month header label, so that the month is in bold, and the year displays as usual.
What's the best way to do so?
Thanks in advance!

One way would be to provide your own Toolbar component, which would give you total control. From what I can see there's no easier way.

I guess technically you could provide a custom header format that returns jsx instead of a string, but that's not strictly speaking supported. Otherwise a custom toolbar is the way to go

monthHeaderFormat.txt
When using this function in the formats prop I get this error:
Uncaught Error: localizer format(..) must return a string, null, or undefined
And also:
Uncaught (in promise) TypeError: Cannot read property '_currentElement' of null
Am I missing something or is it not possible?

oops yeah, sorry it's not possible to do that. Was thinking of my other project :P

Any new updates on this one??


Product key from Medion laptop not accepted

I am trying to reinstall a Medion laptop from 2007 that came with Windows XP. I don't have the installation disc that came with it (if any), but it does have an authentic product key sticker on it, and a sticker saying "Designed for Microsoft Windows XP". I found a Windows XP ISO, but it must be the wrong edition because it does not accept the product key.
I'm trying to use ShowKeyPlus to identify which edition the key belongs to, but ShowKeyPlus says that the key is invalid. I am quite confident that it is not and that I made no mistakes entering it. It's quite legible and has all the expected holograms. I tried several times.
How can I help get ShowKeyPlus to identify this key?

Hi Captain-Chaos
The legacy version ShowKeyPlus Version: 1.0.5730 I think supports XP - it's been a long time but I recall others having success with it with XP back in the day..

Thx. I tried, but no luck. Version 1.0.5730 also says "Invalid Key" (after saying "Retrieving Edition" for a while). I checked and double-checked that I entered it correctly.

OK that's a pity -  I will have to look into it when I release the next version - Should be just a matter of including the XP pkconfig but will have to test.
XP was never part of the spec from the beginning... so we shall see what we can do...I will leave this issue open until then.

Look  to your sticker and find x-code like "x12-12345" then search for distro noted this code.


PVRCNN Waymo model inference time  for range 75.2m x75.2m

@sshaoshuai
For the PVRCNN waymo model of range 75.2m x75.2m, what would be the inference time per pointcloud as given in this current repository https://github.com/open-mmlab/OpenPCDet/blob/master/tools/cfgs/dataset_configs/waymo_dataset.yaml#L5.
Reason is i don't have neither good GPUs to train your models nor i can download the giant waymo whole dataset. So kindly help by specifying inference time per pointcloud

Sorry got the solution from your previous answers. Closing the issue


All items in right or left side

Someone with challenge?

Hi there,
I've modified the code to allow for all the items on the top OR the bottom of a horizontal timeline if anyone wants that.


Produced regression-based child allowance amounts

spmu_infant        941.792613
spmu_toddler      2037.533137
spmu_preschool    2122.941829
spmu_age_6_12      433.789904

thanks! @jwal1024 fyi


Roll Flutter Engine from d409dcdc9b41 to 088dcfa6cf93 (2 revisions)

https://github.com/flutter/engine/compare/d409dcdc9b41...088dcfa6cf93
2024-08-11<EMAIL_ADDRESS>Roll Skia from 9e3c43cb424c to e3e3fd85802b (1 revision) (flutter/engine#54498)
2024-08-11<EMAIL_ADDRESS>Roll Skia from 8f5705639815 to 9e3c43cb424c (1 revision) (flutter/engine#54497)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


gpt-engineer keeps trying to background jobs when writing shell scripts

Expected Behavior
I expect gpt-engineer to be able to run my unit tests, analyze the results, modify the code, repeat, until successful
Current Behavior
I'm executing:
gpte -i .

This is my prompt:
Prerequisites:
Do not use the & character when writing shell scripts.

Overview:
We have code in remove_duplicates.js and a unit test in remove_duplicates.test.js.
Currently, when we run `npm run test`, the unit test fails.
Ask me to run the unit test and give you the results. Do not assume you know what is going wrong.
Modify the code in remove_duplicates.js so the unit test passes.
Ask me to run the unit test again to confirm the changes were successful.
If they were, you're done. If not, prompt and try again.

gpt-engineer keeps trying to write and execute bash scripts with & characters. For example:
npm install
npm test &
node remove_duplicates.js &

In this case my code is in remove_duplicates.js and my unit tests are in remove_duplicates.test.js.
For some reason, gpt-engineer keeps trying to run this by backgrounding the processes, then complains when it can't read the output (at least, I assume that's what is going on):

I've tried adding this to the top of my prompt:
Prerequisites:
Do not use the & character when writing shell scripts.

... but it keeps doing it.
Am I doing something silly, or is this a bug?
Thanks!

Great issue here!
First of all, its strange that the LLM doesn't get your hint about the & symbol, however, this is more of an LLM problem than a gpt-engineer problem. You could try to modify the prompt to not only refer to the & symbol, but being more explicit about not using sub processes or sub shells in the entrypoint script.
Secondly, your prompt suggests a non-standard work flow with multiple executions. This is not how gpt-engineer works atm. Currently, to do what you want to do, you have to make multiple calls to the command line (could be done in a script!). If you figure out something useful, feel free to suggest a feature request here on GH.


Evolve_all issues on both master + dev

Expected Behavior
evolve_all: all should evolve all pokemons.
Actual Behavior
On an earlier version of dev at commit 7b3f70f4e8e9a58d90d8367e4a75348503e98597
I added some log output, I have about 150 pokemons to evolve. But the api stopped working after 52 evolutions with evolve_speed set to 25. Double checked log output, it is due to the evolve api call not working.
On the very latest edge version, commit 5927c3b8a900ff79ce72fb8447c6c75dbb8ea858
The evolve_all task does not work at all.
It doesn't even reach the evolve api call, but evolve_list will not find any evolvable pokemons at all.
Steps to Reproduce
Set evolve_all to "all"
Other Information
OS: Ubuntu
Git Commit:Mentioned above
Python Version: Python 2.7.11

This is fixed in the latest commit to dev; PR #2305 Commit 550b2c3c357ce2f40aade8e63c3efda9beae6ab7

@JSchwerberg amazing. will try it

Fixed in latest dev branch.
/closed


synctoy

Description of the new feature / enhancement
please bring back the old synctoy!
Scenario when this would be used?
I use this all the time to make backups - robocopy isnt a very good replacement
Supporting information
No response

/dup #26


Add MCAD logo

What changes have been made
Adding MCAD logo
Verification steps
MCAD logo has been added under doc/images/mcad_logo.png
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[x] Testing is not required for this change

Thanks @mamy-CS , do you think we can add this to the ReadME of the MCAD project?

Thanks @mamy-CS , do you think we can add this to the ReadME of the MCAD project?

Added!

/LGTM

/approve


All actions now break which makes it hard to debug remote repositories

The new github actions mean that when I copy the template the workflows all break. I though that this might be because I did a private repo without Github pages, but when I tried a repo which was public and had pages it still didn't work.
Examples of actions breaking here:
https://github.com/vickytnz/xgov-design-history/actions
I don't really want this working on Github pages as i'd rather have it on a password protected heroku, but the breaking tests seem to mean I can work locally but not remotely.
Ideally there would be a way to turn off this workflow until it's set up on github pages (or not at all), and have it as a toggle.

@vickytnz ah, thanks for reporting! I wonder if there's a way to have the GitHub actions on the repo but not included as part of the "template"... I'll investigate! Although the workflow is useful for people who do want to deploy to GitHub pages, so maybe it should be an option. Hmm.
In the meantime you can turn the action off by deleting .github/workflows/deploy.yml.
Why the build on your repo is failing is another puzzle...

@vickytnz Ah, so it looks like there are 2 separate issues:

the deploy.yml is failing because GitHub Pages isn't enabled - you have to do this within Settings first, and then the deploy script would work
the pages build and deployment / build is I think not being triggered by any action included in the repo, but is instead the default one used if you have 'Classic' pages enabled?

I think if you were to change this setting from 'Deploy from a branch (GitHub Classic)' to 'GitHub Actions' then it might all work?

(and yes this is all needlessly fiddly... We'll have to try and improve the documentation on this to get people through these initial hurdles!)


Add vertical scrollable orientation

to: @majapw
Adds a new orientation that makes DayPicker vertically scrollable instead of using pagination. This scrollable DayPicker will fill the height of its parent and show numberOfMonths.
Replaces this previous PR. I've separated css by component and threaded the new orientation property throughout.

Coverage increased (+0.2%) to 87.356% when pulling 3eba56f5add4dc5215fdfe22dd15fd1e8dfa4b02 on moonboots:vertical-scrollable into f931a82049186d79fd447996e7791f95c8451da4 on airbnb:master.

@majapw I've update this PR with a new PropType shape ScrollableOrientationShape that's used by internal classes. Top level components that don't support scroll like DateRangePicker continue to use OrientationShape, which will guard against passing in unsupported orientations.

Coverage increased (+0.2%) to 87.429% when pulling bbbdd2024ac1eb168ff70c90e0de9755a0dab4a8 on moonboots:vertical-scrollable into 1cbc4db74a46aa8b49ea8e31803ea29c3b0547bc on airbnb:master.

Coverage increased (+0.2%) to 87.429% when pulling bbbdd2024ac1eb168ff70c90e0de9755a0dab4a8 on moonboots:vertical-scrollable into 1cbc4db74a46aa8b49ea8e31803ea29c3b0547bc on airbnb:master.

Coverage increased (+0.2%) to 85.04% when pulling c06e35e476bab20e5de8693c85a80844020a0404 on moonboots:vertical-scrollable into fa4d785bf6d16149b2e5aedfef80fd8037ebf51e on airbnb:master.

Thanks @majapw, fixed up the PR. The orientation changes in DayPickerRangeController allow a custom DayRangePicker to pass the scrollable orientation to the underlying DayPicker. There were a few leftover scrollable props from my previous PR that I've removed.

Coverage increased (+0.3%) to 85.141% when pulling b0491849693d002a6f7a95524d7cde49c3cb45a3 on moonboots:vertical-scrollable into 67c0fb5b4ac0d5752fef7196a037693ae2861108 on airbnb:master.

Changes Unknown when pulling 72d0b1f319224c602c313351378b9b03d989f2d2 on moonboots:vertical-scrollable into ** on airbnb:master**.

Coverage increased (+0.3%) to 85.141% when pulling 72d0b1f319224c602c313351378b9b03d989f2d2 on moonboots:vertical-scrollable into 20119653deaa3d3682d05dd0c2e0352756c66da9 on airbnb:master.

@majapw @moonboots Curious if there was a reason that this orientation wasn't included for SingleDatePicker?
In dealing with responsive decisions, this might be a much useful option.


DocumentDBVectorSearch and metadata filtering

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
not applicable
Error Message and Stack Trace (if applicable)
not applicable
Description
The DocumentDBVectorSearch docs mention it supports metadata filtering:
https://api.python.langchain.com/en/latest/vectorstores/langchain_community.vectorstores.documentdb.DocumentDBVectorSearch.html#langchain_community.vectorstores.documentdb.DocumentDBVectorSearch.as_retriever
However, unless I misunderstand the code, I really don't think it does.
I see that VectorStoreRetriever._get_relevant_documents passes search_kwargs to the similarity search of the underlying vector store.
And nothing in the code of DocumentDBVectorSearch is using search_kwargs at all.
In my project we need to review relevant parts of opensource softwares to make sure they really meet the requirements. So if this is not a bug, and the feature is indeed implemented somewhere else, could anybody please clarify how metadata filtering in DocumentDBVectorSearch is implemented?
System Info
not applicable

Nope you are wrong, vectorstore retriever  unzips the search_kwargs here therefore using the passed parameter such as k and ef_search here. The filter parameter that you are suggesting is not supported in current implementation of DocumentDB. Their is no bug whatsoever.

@keenborder786 thanks for the quick reply.
so you are saying the docs are wrong when they say DocumentDBVectorSearch supports filtering?

re: DocumentDB not supporting the "filter" parameter, that seems to me like an internal (LangChain's) implementation detail.
In the aggregation pipeline that DocumentDBVectorSearch builds here, LangChain should be prepending a $match step to the vectorsearch. Or, update the documentation to mention that it does not support filtering (for no particular reason, though).
Unless, again, I am misunderstanding the code, in which case I apologize for the noise :) and ask again to kindly be pointed to where the filtering is implemented, so I can document it for our internal processes.

@andreadisimone done, I have added the filter support.

@andreadisimone  please close this issue

thanks for the quick implementation @keenborder786 !
I am no mongo expert myself, but I tested in my setup a code similar to yours and it fails. I think the pipeline should look like
[{"$match": filter}, {"$search": search_config}]
instead of what you implemented:
[{"$match": filter, "$search": search_config}]
As it is now, it fails with
OperationFailure: A pipeline stage specification object must contain exactly one field.
But as I said I am no expert and I may have done something else wrong. if you are sure your new code runs I am happy to close this.

You are right, I am creating a Patch fixed PR.

thanks @keenborder786 looks good, closing.


Auto Effects: Myconid Adult(and probably sovereign)

The ability Pacifying Spores has its item details set to instantaneous when it should be 1 minute.  And to be extra meticulous, in the active effect tab, I'd recommend adding the duration of 10 rounds to the active effect too, it already has the 60 seconds but theres nuanced times where if its not filled out then it doesn't expire right inside of combat that lasts more than 10 rounds.

Thanks. I've made some changes that will impact all effects that are similar, so hopefully it will catch others that are like this.


feat: show swgoh-stats version in startup log

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

v1.3.0
GitHub release

Your semantic-release bot :package::rocket:


Build error - variables missing

│ Warning: Experimental feature "module_variable_optional_attrs" is active
│
│   on .terraform/modules/mongo-operator.service_account.rbac/version.tf line 4, in terraform:
│    4:   experiments = [module_variable_optional_attrs]
│
│ Experimental features are subject to breaking changes in future minor or
│ patch releases, based on feedback.
│
│ If you have feedback on the design of this feature, please open a GitHub
│ issue to discuss it.
│
│ (and 4 more similar warnings elsewhere)
╵
╷
│ Error: No value for required variable
│
│   on variables.tf line 87:
│   87: variable "mongo_dbpass" {
│
│ The root module input variable "mongo_dbpass" is not set, and has no
│ default value. Use a -var or -var-file command line argument to provide a
│ value for this variable.

closed by #36


feat(Authors Macro): adds a crate_authors macro

Adds a crate_authors! macro that fetches
crate authors from a (recently added)
cargo enviromental variable populated
from the Cargo file. Like the
crate_version macro.
Closes #447
Hopefully this fixed the previous problems.

Coverage decreased (-0.02%) to 87.548% when pulling 38fb59abf480eb2b6feca269097412f8b00b5b54 on rtaycher:authors into d9372d09bf21b512fa9ba3c3fe7adc90d9aa9471 on kbknapp:master.

Coverage decreased (-0.04%) to 87.526% when pulling ac468643818a52c949c6fab20923ef685088f190 on rtaycher:authors into d9372d09bf21b512fa9ba3c3fe7adc90d9aa9471 on kbknapp:master.

Coverage decreased (-0.02%) to 87.546% when pulling d0f1d204a0eb3c17f8cef6a8a8f90eefe5a75f64 on rtaycher:authors into d9372d09bf21b512fa9ba3c3fe7adc90d9aa9471 on kbknapp:master.

Is there a reason homu hasn't reported.

@rtaycher Sorry, I've been out of the loop for a few days. homu only starts once the PR has been reviewed and accepted by one of the collaborators.
@homu r+

:pushpin: Commit d0f1d20 has been approved by kbknapp

:hourglass: Testing commit d0f1d20 with merge 93a07e3...

:sunny: Test successful - status


License

What is this project's license? Could you please add a LICENSE file? Thanks!

No problem.

Thanks a lot!


Proposal: Add support for NewRelic transaction name

For environments integrated with NewRelic, cron executions are reported as transaction name 'unknown'. This makes troubleshooting crons difficult.
Per https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/transactions-named-indexphp-or-unknown, this can be overcome by calling the NewRelic API to name the transaction.
I propose using this solution to pass the job name when starting the job through the stub.
if (extension_loaded ('newrelic')) {  newrelic_name_transaction (<<job_code>>);}

Submitted PR https://github.com/magemojo/m2-ce-cron/pull/66. I've created a patch which can be applied in the interim until the PR is reviewed and merged.  The patch can be applied following the instructions in my repo (linked in my commits to this ticket). The patch has been applied in 2 of my environments and is working perfectly.

Thank you @JesKingDev


Is there a possibility to access original docker_container resource from custom init_template ?

When using this:
docker_container "name" do
  image "the_image"
  cookbook "my_cookbook"
  init_template "custom_init.conf.erb"
end

And in custom_init.conf.erb I want to be able to use @current_resource or something along these lines, which will enable me to access resource attributes, such as link for example.

I have this quick hack here: https://github.com/wimdu/chef-docker/compare/v0.36.0...wimdu:v0.36.0/allow_access_to_current_resource_from_custom_init_template#diff-114269aba847baa709d6a08687ffc745

Interesting use case. I'd be curious to see what you're doing in your custom init scripts. :)
If you submit this as a PR, I'll take a deeper look. Thanks!

Use case is to specify linked containers as a dependency of initial script,
so they will be run in proper order on boot. Otherwise some of them may
fail to start..
On Apr 14, 2015 8:17 AM, "Brian Flad"<EMAIL_ADDRESS>wrote:

Interesting use case. I'd be curious to see what you're doing in your
custom init scripts. :)
If you submit this as a PR, I'll take a deeper look. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/bflad/chef-docker/issues/286#issuecomment-92634452.

init_template has been removed with the docker_container reimplementation in master


Simplify editing labels and descriptions on the entity structure page

Add the ability to edit labels and descriptions with fewer clicks.
Design:

Duplicate of #230


pkg/util: fall back to reading kubeconfig from container environment

In a daemonset Kubernetes will provide the apiserver address via
the container environment and will map the token and CAcert into
/var/run/secrets/kubernetes.io/serviceaccount/.
So if neither the kubeconfig nor the apiserver are given via
configuration, try to read the necessary information from the
container environment instead.
@rajatchopra @shettyg @pecameron

@rajatchopra @dcbw I have been using ovn_k8s.conf instead of command line args. When I deleted the lines from ovn_k8s.conf it didn't work. Don't know if this is expected.

It would only from inside a pod launched by the correct service account.


SignalR negotiate endpoint migration from v3 to v4

Thanks so much for your hard work with the new programming model @ejizba. I've migrated many endpoints over from v3 to v4 and loving it. I'm now trying to migrate all of my "chat" endpoints over and wondering how I am supposed to change an existing function.json file for my signalR "negotiate" endpoint:
{
	"bindings": [
		{
			"authLevel": "function",
			"type": "httpTrigger",
			"direction": "in",
			"name": "req",
			"methods": ["post"],
			"route": "negotiate"
		},
		{
			"type": "http",
			"direction": "out",
			"name": "res"
		},
		{
			"type": "signalRConnectionInfo",
			"name": "connectionInfo",
			"userId": "{userId}",
			"hubName": "myapp_hub_default",
			"connectionStringSetting": "AzureSignalRConnectionString",
			"direction": "in"
		}
	],
	"scriptFile": "../dist/FN_Chat_Negotiate/index.js"
}

Could you please provide some suggestion? This is not quite there but is the path I am on:
import { app, trigger } from '@azure/functions';
import { trigger as endpoint } from './trigger';

app.generic('Negotiate', {
	trigger: trigger.generic({
		type: 'signalRConnectionInfo',
		name: 'connectionInfo',
		userId: '{userId}',
		hubName: 'myapp_hub_default',
		connectionStringSetting: 'AzureSignalRConnectionString',
		direction: 'in',
	}),
	handler: endpoint,
});

For example when I run this I get this error: The 'Negotiate' function is in error: The binding type(s) 'signalRConnectionInfoTrigger' were not found in the configured extension bundle. Please ensure the type is correct and the correct version of extension bundle is configured.
Seems like the type should be signalRConnectionInfo as configured not signalRConnectionInfoTrigger. Perhaps I am configuring something wrong. What's the suggested approach to get this working based off my existing function.json file? Thanks a lot
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-signalr-service-input?tabs=in-process&pivots=programming-language-javascript

Have resolved this like so:
import { app, input } from '@azure/functions';
import { trigger } from './trigger';

const inputSignalR = input.generic({
	type: 'signalRConnectionInfo',
	name: 'connectionInfo',
	userId: '{userId}',
	hubName: 'myapp_hub_default',
	connectionStringSetting: 'AzureSignalRConnectionString',
	direction: 'in',
});

app.post('Negotiate', {
	authLevel: 'function',
	handler: trigger,
	route: 'negotiate',
	extraInputs: [inputSignalR],
});

Although calling this from the frontend now gives this error Error: Failed to start the connection: Error: None of the transports supported by the client are supported by the server.. I understand that's most likely out of scope for this question, however if anyone knows if the implementation above is missing something please let me know. Otherwise feel free to mark as resolved, thanks


Update credential creation so the ID is a URL

The spec recommends that IDs can be dereferenced. This is currently not supported by ssi-service.
We should:

Set a config parameter for the base URL for the service (not sure if it exists already).
When creating credentials, call the SetID(id) method with id = baseURL + "/v1/credentials/" + uuid.NewString(). This will allow the ID to be dereferenced.

the config exists, and this is what is going on for schemas already as per #494. we should be careful the config still works after #502


json field

HI!
Not working with https://github.com/spatie/nova-translatable
error from console
?field=translations_content_en 404 (Not Found)
field
$table->json('content');
Thank you!

same problem

Why do you store content in json column?

Because of translation
On Sun, 15 Nov 2020, 6:12 pm Slava Razum<EMAIL_ADDRESS>wrote:

Why do you store content in json column?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/froala/nova-froala-field/issues/57#issuecomment-727585160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPLTX72A3ELCHEZF4XBFNTSP7VWBANCNFSM4LYNN7TA
.

Considering support of spatie/nova-translatable in future releases. Feel free to open a PR with json columns support.


Documentation about foundationRef

I'm not sure this is an issue or not, but I can't find a good information for using foundationRef. What are the use cases and best practices?

I should probably add some docs around that.
Short answer, the best practice is to avoid using it at all costs. The foundation / adapter pattern is one Google came up with for this project and is fickle to say the least. Previous versions of this library inadvertently exposed the foundation because the components were using React Classes. Basically, someone would get a ref to the component, and then access the foundation that was stored on it. foundationRef was added with the V6 hooks release to provide an upgrade path for people that had been messing around with the internals. One of the reasons it's not documented is I really really don't want people to use it :)
Now, reasons you might want to use it

You're not afraid of other peoples src code and want to dig around to see what Google is doing
There is some highly specific feature that you need that Google is offering from their components that RMWC is not currently providing.
There is some highly specific bug that you need to monkey patch since it can take a while to get the fixes in from upstream. In this case, I'd rather open an issue and patch in here.

Thanks for really useful comment.
I asked this because recently I'm working on a small issue related to IconButton focus. In our project we've created another DialogHeader to use it with RMWC Dialog. And for some weird reason I can not call this.buttonRef.current.blur() to clear the focus on that IconButton inside the header.
For now I work around with <IconButton tabIndex={-1} ... />, and I think this problem has nothing to do with foundationRef.
But still thanks for your awesome works and great support. I will close this issue.


Add more Pragma models

Currently, Pragma class only has Pragma.MC options available. Should add more for ability to express the full gambit of options available.
Need to think on this, though... Might be better off as a PlatformConfig (see: #2) thing.

Definitely do not want to do this. Maintenance on it would be insane. Better to simply pass a Map<String, String> and execute as PRAGMA $key = $value;
Closing this.


chore(deps): improve dependencies constraints for compatibility

The versions listed in pubspec.yaml indicate the minimum required for dependencies
and do not affect those used in the client's application.
For more information, visit:

https://dart.dev/tools/pub/dependencies#version-constraints
https://docs.flutter.dev/packages-and-plugins/using-packages#conflict-resolution
https://dart.dev/tools/pub/versioning
https://dart.dev/guides/libraries/private-files#pubspec-lock
https://dart.dev/tools/pub/pubspec#sdk-constraints

The pubspec.lock should be included only for application packages, which contain the used dependencies versions.
When the client runs flutter pub get they will get the latest compatible dependencies until they run flutter pub upgrade. The flutter pub upgrade --major-versions only updates the major versions in pubspec.yaml.
Changes

Updates the package to not require Flutter SDK or Google material icons
Updates flutter_lints to 5.0.0 and fix analysis warnings
Updates minimum supported Dart SDK version From 3.4.3 to 3.0

Aditional Context
There is an analysis warning coming from unintended_html_in_doc_comment which will be enabled by default and part of the core set starting from 5.1.0. I ignored the warning to avoid additional changes.
This repo will probably need an example so contributors and CI can test against the latest dependencies (pubspec.lock included).

This PR fixes an issue on the Flutter Quill repo:

https://github.com/singerdmx/flutter-quill/issues/2347

Details

Resolving dependencies...
The current Dart SDK version is 3.3.3.

Because flutter_quill >=10.6.1 depends on flutter_quill_delta_from_html >=1.1.5 which requires SDK version >=3.4.3 <4.0.0, flutter_quill >=10.6.1 is forbidden.
So, because su depends on flutter_quill 10.8.5, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on flutter_quill: flutter pub add flutter_quill:^2.0.7
exit code 1


[soci] Add patches for boost and postgresql

Port https://github.com/SOCI/soci/pull/728 and https://github.com/SOCI/soci/pull/729 which are required for new boost version and debug builds.

Could you also bump the verson in the CONTROL file to 3.2.3-4?  This will cause a rebuild on vcpkg update.

@Rastaban done 👍


bug: Failed to run start script

Summary
bash <(curl -sSfL 'https://code.flows.network/webhook/iwYN1SdN3AmPgR5ao5Gt/run-llm.sh')
error:
sed: /Users/user/.bash_profile: in-place editing only works for regular files
Reproduction steps

Run bash <(curl -sSfL 'https://code.flows.network/webhook/iwYN1SdN3AmPgR5ao5Gt/run-llm.sh')
Press Enter
Press 1
Press Enter

Screenshots

Any logs you want to share for showing the specific issue
No response
Model Information
None
Operating system information
macOS 14.2.1 (23C71)
ARCH
Not sure
CPU Information
2.6 GHz 6-Core Intel Core i7
Memory Size
32GB
GPU Information
Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB
VRAM Size
Not sure

Hi @liebkne
May I ask what the state of .bash_profile is? Is it a symbolically linked file?

Hello, yes, it is.

Could you please remove the wasmedge-related section inside your .bash_profile as a workaround?
I already raised an issue on WasmEdge about the uninstaller issue.

I tried and another issue happened
[I] This is a helper script for deploying LlamaEdge API Server on this machine.

    The following tasks will be done:
    - Download GGUF model
    - Install WasmEdge Runtime and the wasi-nn_ggml plugin
    - Download LlamaEdge API Server

    Upon the tasks done, an HTTP server will be started and it will serve the selected
    model.

    Please note:

    - All downloaded files will be stored in the current folder
    - The server will be listening on all network interfaces
    - The server will run with default settings which are not always optimal
    - Do not judge the quality of a model based on the results from this script
    - This script is only for demonstration purposes

    During the whole process, you can press Ctrl-C to abort the current process at any time.

    Press Enter to continue ...

[+] Installing WasmEdge ...

No root permissions.
Installation path found at /Users/user/.wasmedge
Removing /Users/user/.wasmedge/bin
Removing /Users/user/.wasmedge/bin/wasmedge
Removing /Users/user/.wasmedge/bin/wasmedgec
Removing /Users/user/.wasmedge/include
Removing /Users/user/.wasmedge/include/wasmedge/wasmedge.h
Removing /Users/user/.wasmedge/include/wasmedge/version.h
Removing /Users/user/.wasmedge/include/wasmedge/enum.inc
Removing /Users/user/.wasmedge/include/wasmedge/enum_configure.h
Removing /Users/user/.wasmedge/include/wasmedge/enum_errcode.h
Removing /Users/user/.wasmedge/include/wasmedge/int128.h
Removing /Users/user/.wasmedge/include/wasmedge/enum_types.h
Removing /Users/user/.wasmedge/lib
Removing /Users/user/.wasmedge/lib/libwasmedge.0.dylib
Removing /Users/user/.wasmedge/lib/libwasmedge.0.0.3.tbd
Removing /Users/user/.wasmedge/lib/libwasmedge.tbd
Removing /Users/user/.wasmedge/lib/libwasmedge.dylib
Removing /Users/user/.wasmedge/lib/libwasmedge.0.0.3.dylib
Removing /Users/user/.wasmedge/lib/libwasmedge.0.tbd
Removing /Users/user/.wasmedge/plugin/libwasmedgePluginWasiNN.dylib
Removing /Users/user/.wasmedge/env
Removing /Users/user/.wasmedge/bin
Removing /Users/user/.wasmedge/include/wasmedge
Removing /Users/user/.wasmedge/plugin
Removing /Users/user/.wasmedge/lib
Removing /Users/user/.wasmedge/include
Removing /Users/user/.wasmedge
Using Python: /Users/user/Downloads/demo/.direnv/python-3.10/bin/python3
INFO    - CUDA is only supported on Linux
INFO    - CUDA is only supported on Linux
WARNING - Experimental Option Selected: plugins
WARNING - plugins option may change later
INFO    - Compatible with current configuration
INFO    - Running Uninstaller
WARNING - Uninstaller did not find previous installation
WARNING - SHELL variable not found. Using bash as SHELL
INFO    - shell configuration updated
INFO    - Downloading WasmEdge
|============================================================|100.00 %INFO    - Downloaded
INFO    - Installing WasmEdge
INFO    - WasmEdge Successfully installed
INFO    - Downloading Plugin: wasi_nn-ggml
|============================================================|100.00 %INFO    - Downloaded
INFO    - Run:
source /Users/user/.bash_profile

    The WasmEdge Runtime is installed in /Users/user/.wasmedge/bin/wasmedge.

    * To uninstall it, use the command 'bash <(curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/uninstall.sh) -q'

[+] The most popular models at https://huggingface.co/second-state:

     1) Llama-2-7B-Chat-GGUF
     2) stablelm-2-zephyr-1.6b-GGUF
     3) OpenChat-3.5-0106-GGUF
     4) Yi-34B-Chat-GGUF
     5) Yi-34Bx2-MoE-60B-GGUF
     6) Deepseek-LLM-7B-Chat-GGUF
     7) Deepseek-Coder-6.7B-Instruct-GGUF
     8) Mistral-7B-Instruct-v0.2-GGUF
     9) dolphin-2.6-mistral-7B-GGUF
    10) Orca-2-13B-GGUF
    11) TinyLlama-1.1B-Chat-v1.0-GGUF
    12) SOLAR-10.7B-Instruct-v1.0-GGUF

    Or choose one from: https://huggingface.co/models?sort=trending&search=gguf

[+] Please select a number from the list above or enter an URL: 11
[+] Downloading the selected model from https://huggingface.co/second-state/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/TinyLlama-1.1B-Chat-v1.0-Q5_K_M.gguf
################################################################################################################################## 100.0%################################################################################################################################## 100.0%
[+] Extracting prompt type: chatml
[+] No reverse prompt required
[+] Running mode:

     1) API Server with Chatbot web app
     2) CLI Chat

[+] Select a number from the list above: 2
[+] Selected running mode: 2 (CLI Chat)
[+] The latest three releases of LlamaEdge CLI Chatbot:

     1)   LlamaEdge 0.2.9
     2)   LlamaEdge 0.2.8
     3)   LlamaEdge 0.2.7

[+] Select a number from the list above: 1
[+] Downloading llama-chat.wasm to the current directory

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2572k  100 2572k    0     0  1003k      0  0:00:02  0:00:02 --:--:-- 4834k
[+] Will run the following command to start CLI Chat:

    wasmedge --dir .:. --nn-preload default:GGML:AUTO:TinyLlama-1.1B-Chat-v1.0-Q5_K_M.gguf llama-chat.wasm --prompt-template chatml

[+] Confirm to start CLI Chat? (y/n): y

********************* LlamaEdge *********************

[INFO] Model alias: default
[INFO] Prompt context size: 512
[INFO] Number of tokens to predict: 1024
[INFO] Number of layers to run on the GPU: 100
[INFO] Batch size for prompt processing: 512
[INFO] Temperature for sampling: 0.8
[INFO] Penalize repeat sequence of tokens: 1.1
[INFO] Use default system prompt
[INFO] Prompt template: ChatML
[INFO] Log prompts: false
[INFO] Log statistics: false
[INFO] Log all information: false
thread 'main' panicked at src/main.rs:332:49:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2024-01-31 14:08:13.014] [error] execution failed: unreachable, Code: 0x89
[2024-01-31 14:08:13.014] [error]     In instruction: unreachable (0x00) , Bytecode offset: 0x0006dae8
[2024-01-31 14:08:13.014] [error]     When executing function name: "_start"

@liebkne
I don't have an Intel model macbook with me now. I will use GitHub CI Runner to reproduce this issue. Will get you back once I have the result. Thanks!

Hi @liebkne
The execution failed: unreachable, Code: 0x89 is caused by the wrong version of the plugin. I already uploaded the correct one. Could you please try again? It should download the right version now.

And I found that your GPU memory is a little bit small for running some LLM models. If you are trying to execute a larger model, you may need to append --n-gpu-layers <a small value> after the execution command, and run the command by youself:
[+] Will run the following command to start CLI Chat:

        wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama-2-7b-chat-hf-Q5_K_M.gguf llama-chat.wasm --prompt-template llama-2-chat --n-gpu-layers <a smaller value>

@hydai Hello, I start from a fresh state (removing related things from .bash_profile) and now get the bellow error
user@macos:~/Downloads $ bash <(curl -sSfL 'https://code.flows.network/webhook/iwYN1SdN3AmPgR5ao5Gt/run-llm.sh')

[I] This is a helper script for deploying LlamaEdge API Server on this machine.

    The following tasks will be done:
    - Download GGUF model
    - Install WasmEdge Runtime and the wasi-nn_ggml plugin
    - Download LlamaEdge API Server

    Upon the tasks done, an HTTP server will be started and it will serve the selected
    model.

    Please note:

    - All downloaded files will be stored in the current folder
    - The server will be listening on all network interfaces
    - The server will run with default settings which are not always optimal
    - Do not judge the quality of a model based on the results from this script
    - This script is only for demonstration purposes

    During the whole process, you can press Ctrl-C to abort the current process at any time.

    Press Enter to continue ...

[+] Installing WasmEdge ...

No root permissions.
Cannot detect installation path
Failed to uninstall WasmEdge
user@macos:~/Downloads $

and thanks for the tip!

Hi @liebkne
We are aware of this bug, it will be fixed in #101
Ref: https://github.com/second-state/LlamaEdge/pull/101/files#diff-10358b022767068e6ae38cf2a180b04cf4524e14b66c5604369c5243aa661856L191

So how should I rerun the start script?

So how should I rerun the start script?

The PR has just been merged; please try it again directly.

And I found that your GPU memory is a little bit small for running some LLM models. If you are trying to execute a larger model, you may need to append --n-gpu-layers <a small value> after the execution command, and run the command by youself:
[+] Will run the following command to start CLI Chat:

        wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama-2-7b-chat-hf-Q5_K_M.gguf llama-chat.wasm --prompt-template llama-2-chat --n-gpu-layers <a smaller value>

Could you please append --n-gpu-layers 0 to the options list to disable GPU? I have tested it on a MacBook i9 + Radeon Pro 5600M GPU. However, it looks like the Intel model + different GPU is not fully supported by the upstream. We are going to disable the AMD GPU support by default in the next update.

Ah, seems to work now, thanks!
user@macos:~/Downloads $ wasmedge --dir .:. --nn-preload default:GGML:AUTO:TinyLlama-1.1B-Chat-v1.0-Q5_K_M.gguf llama-chat.wasm --prompt-template chatml --n-gpu-layers 0
[INFO] Model alias: default
[INFO] Prompt context size: 512
[INFO] Number of tokens to predict: 1024
[INFO] Number of layers to run on the GPU: 0
[INFO] Batch size for prompt processing: 512
[INFO] Temperature for sampling: 0.8
[INFO] Penalize repeat sequence of tokens: 1.1
[INFO] Use default system prompt
[INFO] Prompt template: ChatML
[INFO] Log prompts: false
[INFO] Log statistics: false
[INFO] Log all information: false
[INFO] Plugin version: b1953 (commit 6f9939d1)

================================== Running in interactive mode. ===================================

    - Press [Ctrl+C] to interject at any time.
    - Press [Return] to end the input.
    - For multi-line inputs, end each line with '\' and press [Return] to get another line.

[You]:
hello

[Bot]:
how can I get started with learning spanish?

Thanks @liebkne!
This issue helps us determine the potential problems with the MacBook Intel model.


Defichain ElectrumX Server @ <IP_ADDRESS>:50001

I have an additional Defichain ElectrumX Server "<IP_ADDRESS>:50001" running on the mainnet to serve the project.
If you like to use your Electrum Wallet with my node, you can choose mine or even use both servers.

I running in trouble with my mode while running the electrumX server. Till I find the reasson my ElectrumX Server may be won't run:
https://github.com/DeFiCh/ain/issues/1365

Hello, I need help with withdrawal my dfi token from Electrum
Please give me server to working network
Thank You!!


SV analysis failed, run_metasv.py not found

I am running SV analysis (svcaller: [lumpy, manta, delly, metasv]), and it wasn't until the last step I realise metasv is not installed in the requested path. How can I solve this?
$ bcbio_nextgen.py --version
0.9.9

Error:
/xxx/bcbio/bcbio-nextgen/anaconda/bin/python: can't open file '/xxx/bcbio/bcbio-nextgen/anaconda/bin/run_metasv.py': [Errno 2] No such file or directory
Uncaught exception occurred

Thanks for the report and sorry about the issue. I've been trying to reproduce this on a clean install of bcbio but haven't been able to do so. metasv is included in the packages installed by bcbio and should be present. As a workaround you should be able to do:
bcbio_conda install -c bioconda metasv

to ensure metasv gets installed. Hope this resolves the problem for you.

Thanks, I re-install bcbio-nextgen, and it's now installed.


Input tag helper generates 2 inputs when adding an html attribute to TagHelperOutput Attributes collection

I extended the InputTagHelper to conditionally add disabled="disabled" attribute based on asp-is-disabled attribute.
[HtmlTargetElement("input", Attributes = ForAttributeName)]
public class MyCustomInput : InputTagHelper
{
    private const string ForAttributeName = "asp-for";

    [HtmlAttributeName("asp-is-disabled")]
    public bool IsDisabled { set; get; }

    public MyCustomInput (IHtmlGenerator generator) : base(generator)
    {
    }

    public override void Process(TagHelperContext context, TagHelperOutput output)
    {
        if (IsDisabled)
        {
            var d = new TagHelperAttribute("disabled", "disabled");
            output.Attributes.Add(d);
        }
        //base.Process(context, output);   // commented for now
    }
}

Now i use this like below
<input type="text"  asp-for="Name" asp-is-disabled="true" />
I hard coded true here, but it will be a C# expression which returns a boolean value. This works great. It generates the expected output.
<input type="text" id="Name" name="Name" value="" disabled="disabled">
But does not work when the type is checkbox
<input type="checkbox"  asp-for="IsActive" asp-is-disabled="true"/>
IsActive is boolean property of view model.
If i uncomment base.Process(context, output);, It does generate markup for  2 input elements, out of which the second one has the disabled attribute.
 <input data-val="true" data-val-required="The IsActive field is required." id="IsActive"
                             name="IsActive"  type="checkbox" value="true" />
<input name="IsActive" type="hidden" value="false" />
<input disabled="disabled" id="IsActive" name="IsActive" type="checkbox" value="true" />
<input name="IsActive" type="hidden" value="false" />

I think this is essentially a dup of https://github.com/aspnet/Mvc/issues/5983. The way the checkbox tag helper works is that it discards the original tag itself and create two new HTML elements (one for the checkbox, one for the hidden input). Because of this, when another tag helper (such as yours) tries to modify the tag, it isn't modifying the right tag.
cc @NTaylorMullen


click events on visual studio code with a pen tablet (Wacom Intuos Pro) are randomly missed

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:23:26.125Z)
OS Version: Darwin x64 17.2.0
Extensions:

Extension
Author (truncated)
Version

EditorConfig
Edi
0.11.1

nativebase-snippets
Gee
0.5.22

vscode-docker
Pet
0.0.22

Bookmarks
ale
0.18.0

project-manager
ale
0.23.0

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

vscode-eslint
dba
1.4.3

vscode-dash
dee
1.7.1

azure-account
ms-
0.2.2

node-debug2
ms-
1.19.1

debugger-for-chrome
msj
3.5.0

vscode-icons
rob
7.18.1

react-beautify
tai
0.3.0

vscode-react-native
vsm
0.5.7

(1 theme extensions excluded)

Steps to Reproduce:

Have a Pen Tablet, with drivers and else.
Open VIsual Studio Code.
Use the app.
Suddenly, clicks are missed and are only accepted from other pointing devices.

Reproduces without extensions: Yes/No

When this starts happening the solution is closing the app and opening again, which sometimes is workable if it takes some time to resurface, but half the time it resurfaces after a couple of minutes.

to clarify, it creates weird behaviours, of course you cant switch a specific line of code, but on top of that trying to select a different tab marks the button as a selected control, but doesn't execute the tabswitch, requiring a spacebar to confirm selection. Selecting text with the pen when the bug is ongoing causes the text to appear selected, but on a different color as the regular selection of text, and typing to overwrite a selected text wont work, requiring a click from a mouse or trackpad to recover a text cursor to type from.

I use the pen for RSI reasons, so I would greatly appreciate a fix, having to use the mouse is a dealbreaker for me.

In my limited testing, it appears to be triggering to the app's transitions between the foremost app and not, and/or the usage of another of the input devices (example, I use the trackpad for scrolling, and doing quick mousing towards the secondary monitor).

@kingmatusevich can you please try this with the latest vscode insiders since we have changed a bit how we handle touch input
https://code.visualstudio.com/insiders/

Will do, report back in 12 hours / after the bug triggers again, whichever occurs first.

Ok, thanks

This is still happening on the Insiders version.

@kingmatusevich ok thanks. However this is not on our immediate backlog, also we do not have a machine like that to try it out.
So we would accept PRs that fix this.
Code pointer

I was intermittently facing this issue with recent releases, however now all text editors are completely non-functional with a Wacom tablet. The file navigator remains functional.

Yes, the issue is worsening. It's gotten so bad I switched to Sublime Text for most of my work, which is sad, because I find VSCode a lot better for all of my uses, but the accessibility angle of not being able to use a Wacom Tablet is a problem for me.

Why is this still an open issue? And yes, it's getting worse with each new version. Crazy.

bought an intuos today since my wrist is killing me from all this scrolling in visual code
it's just utter rubbish, you can't even drag and scroll, you can turn of this windows popup window for writing, makes the clicks at least detect, with 0.5s delay
but scrolling, which was my main reason to get a wacom, not possible in visual code, works great in notepad++, browsers, everywhere, but code
I think the issue is the automatic code completion trigger, or auto highlighting
anyway, yeah, that's just sad

I'm not confirming anything yet, but it seems to me since the last update (where the Chromium version used was increased) that the issue of clicking is fixed. At the very least, I haven't yet encountered the issue again, but my testing hasn't been intensive enough to confirm that yet.

Cool, broke completely for me, no more left clicks. Hours later I figured I have to create a custom app and then in Mapping tab turn off the checkbox 'Use Windows Ink', now code works again

We are building exploration builds that use a much newer version of our UI framework (Electron version 6.0.x). I wonder if this issue reproduces with one of these builds, could you try? Download:

macOS: Download
Linux (DEB): Download
Linux (RPM): Download
Windows: Download


basic tutorial: improve style and readability

Hey @stonemaster I just had a short pass through the basic tutorial and tried to enhance the readability.
I hope that most changes make sense to you - feel free to comment on them ;-)

Thanks a lot! Looks good but give me some time to have a look at it :-)

Thanks a lot! Looks good but give me some time to have a look at it :-)

Addressed all comments. Sorry for that it took me so long.

Should I split this off in smaller bits, so that it is easier to merge?

@wilzbach That would be great! I just made a quick passthrough and found some smaller things but other parts perfectly fine to merge already.

That would be great! I just made a quick passthrough and found some smaller things but other parts perfectly fine to merge already.

Done, but seems like the rebasing didn't work for some of the PRs. If a PR contains two commits, that's a mistake. Will fix them later today ;-)

(this PR is rebased too)


Support http_proxy and https_proxy environment variables

In our company, every single HTTP request must be made through our corporate proxy.
We have http_proxy and https_proxy configured, but the cli doesn't use them.
Shall we support it?
➜  cdk8s -h
/home/debian/.config/yarn/global/node_modules/cdk8s/lib/_loadurl.js:39
    throw new Error(`http error: ${err.message}`);
    ^

Error: http error: connect ETIMEDOUT <IP_ADDRESS>:80
    at RedirectableRequest.<anonymous> (/home/debian/.config/yarn/global/node_modules/cdk8s/lib/_loadurl.js:39:11)
    at Object.onceWrapper (node:events:646:26)
    at RedirectableRequest.emit (node:events:526:28)
    at ClientRequest.eventHandlers.<computed> (/home/debian/.config/yarn/global/node_modules/cdk8s/node_modules/follow-redirects/index.js:14:24)
    at ClientRequest.emit (node:events:526:28)
    at Socket.socketErrorListener (node:_http_client:442:9)
    at Socket.emit (node:events:526:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
------------------------------------------------------------------------------------------------
A new version undefined of cdk8s-cli is available (current 1.0.139).
Run "npm install -g cdk8s-cli" to install the latest version on your system.
For additional installation methods, see https://cdk8s.io/docs/latest/getting-started
------------------------------------------------------------------------------------------------
cdk8s [command]

(omitted here ...)

But
➜  cdk8s -h --check-upgrade false
cdk8s [command]

Commands:
  cdk8s import [SPEC]  Imports API objects to your app by generating constructs.               [aliases: gen, import, generate]
  cdk8s init TYPE      Create a new cdk8s project from a template.
  cdk8s synth          Synthesizes Kubernetes manifests for all charts in your app.                       [aliases: synthesize]

Options:
  --version        Show version number                                                                                [boolean]
  --check-upgrade  Check for cdk8s-cli upgrade                                                        [boolean] [default: true]
  --help           Show help                                                                                [boolean]

Options can be specified via environment variables with the "CDK8S_" prefix (e.g. "CDK8S_OUTPUT")

Hi it seems your company is also my company. @jizusun  😺 😄
I guess  the cli is not using "request"  otherwise your http_proxy should work.
I have a workaround installation script. You can use it to do a "hack" install for cdk8s-cli:
https://gist.github.com/jevyzhu/6efac922e2eb53de1ebfc48a0a835029

Hi it seems your company is also my company. @jizusun 😺 😄
I guess the cli is not using "request" otherwise your http_proxy should work.
I have a workaround installation script. You can use it to do a "hack" install for cdk8s-cli:
https://gist.github.com/jevyzhu/6efac922e2eb53de1ebfc48a0a835029

This is a good workaround. Just it seems to produce the same error when cdk8s internally runs npm import k8s:
Importing k8s v1.25.0...
Importing resources, this may take a few moments...
k8s
Could not find a schema for k8s version 1.25.0. The current list of available schemas is at https://github.com/cdk8s-team/cdk8s/tree/master/kubernetes-schemas.
Error: connect ETIMEDOUT <IP_ADDRESS>:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1148:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 443
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>import: `cdk8s import`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>import script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /some/path/.npm/_logs/2022-11-15T14_53_09_888Z-debug.log
Error: error during project initialization: Error: Command failed: npm run import
    at checkExecSyncError (child_process.js:760:11)
    at execSync (child_process.js:833:15)
    at Object.exports.post (/some/path/cdk8s/node_modules/cdk8s-cli/templates/typescript-app/.hooks.sscaff.js:35:3)
    at executePostHook (/some/path/cdk8s/node_modules/sscaff/lib/sscaff.js:81:37)
    at sscaff (/some/path/cdk8s/node_modules/sscaff/lib/sscaff.js:48:15)
    at async Object.handler (/some/path/cdk8s/node_modules/cdk8s-cli/lib/cli/cmds/init.js:55:13)

A workaround might be to run npm import k8s manually, but that does not seem to be a final solution.

Just found a detailed tutorial to run nodejs application with corporate network, hope it can helps.
Running the backend behind a Corporate Proxy: https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/help-im-behind-a-corporate-proxy.md

Hi,
same matter here.
We need to use it throughtout coorporate proxy.


Catch goroutine panic with GinkgoRecover in tests

Add a missing GinkgoRecover to a test helper, fixing this new error in the test suite:
10:12:15: •panic:
10:12:15: Your test failed.
10:12:15: Ginkgo panics to prevent subsequent assertions from running.
10:12:15: Normally Ginkgo rescues this panic so you shouldn't see it.
10:12:15:
10:12:15: But, if you make an assertion in a goroutine, Ginkgo can't capture the panic.
10:12:15: To circumvent this, you should call
10:12:15:
10:12:15: 	defer GinkgoRecover()
10:12:15:
10:12:15: at the top of the goroutine that caused this panic.
10:12:15:
10:12:15:
10:12:15: goroutine 55926 [running]:
10:12:15: kubevirt.io/kubevirt/vendor/github.com/onsi/ginkgo.Fail(0xc002bde240, 0x108, 0xc002fc1f78, 0x1, 0x1)
10:12:15: 	vendor/github.com/onsi/ginkgo/ginkgo_dsl.go:267 +0xc8
10:12:15: kubevirt.io/kubevirt/vendor/github.com/onsi/gomega/internal/asyncassertion.(*AsyncAssertion).match.func1(0x2122e16, 0x9)
10:12:15: 	vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go:134 +0x385
10:12:15: kubevirt.io/kubevirt/vendor/github.com/onsi/gomega/internal/asyncassertion.(*AsyncAssertion).match(0xc001ddde40, 0x26f9f20, 0xc0036a1ac0, 0x40e801, 0xc002a8d720, 0x1, 0x1, 0xc002a8d720)
10:12:15: 	vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go:156 +0x3fb
10:12:15: kubevirt.io/kubevirt/vendor/github.com/onsi/gomega/internal/asyncassertion.(*AsyncAssertion).Should(0xc001ddde40, 0x26f9f20, 0xc0036a1ac0, 0xc002a8d720, 0x1, 0x1, 0x26cd740)
10:12:15: 	vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go:51 +0x81
10:12:15: kubevirt.io/kubevirt/tests.waitForVMIPhase(0xc002a8d680, 0x1, 0x1, 0x26cbac0, 0xc002e04480, 0x168, 0xc004120800, 0xc003c0c000, 0x430900)
10:12:15: 	tests/utils.go:2757 +0x68f
10:12:15: kubevirt.io/kubevirt/tests.waitForVMIStart(...)
10:12:15: 	tests/utils.go:2712
10:12:15: kubevirt.io/kubevirt/tests.WaitForSuccessfulVMIStart(...)
10:12:15: 	tests/utils.go:2802
10:12:15: kubevirt.io/kubevirt/tests.WaitUntilVMIReady(0xc002e04480, 0x22bddf8, 0x7f62e03e14b8)
10:12:15: 	tests/utils.go:2824 +0xa9
10:12:15: kubevirt.io/kubevirt/tests.WaitUntilVMIReadyAsync.func1(0xc0041a5c80, 0xc002e04480, 0x22bddf8, 0xc0031743b8)
10:12:15: 	tests/utils.go:2813 +0x69
10:12:15: created by kubevirt.io/kubevirt/tests.WaitUntilVMIReadyAsync
10:12:15: 	tests/utils.go:2811 +0xac

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @qinqon
/cc @dhiller
fixes the most annoying part about https://github.com/kubevirt/kubevirt/pull/4334#pullrequestreview-505398603. Please also address the rest.

/lgtm

/approve


Boost 1.80.0 without sub

I think you'll need to provide a description for this visionary PR.

There are probably more creative ways you could find to waste our time.

Sorry this came from a wrong manipulation of my part, this PR should not have been on your original repo
I really apologize for this mistake