Uncaught Error: dlopen(~/Desktop/CSCI 1133/Atom.app/Contents/Resources/app.asar.unpacked/node_mod...

[Enter steps to reproduce:]

...
...

Atom: 1.54.0 x64
Electron: 6.1.12
OS: macOS 11.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: dlopen(/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 1): image not found
At electron/js2c/asar.js:138

Error: dlopen(/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 1): image not found
    at process.func (electron/js2c/asar.js:138:31)
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
    at Object.func (electron/js2c/asar.js:138:31)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:16:16)
    at customRequire (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:1:696987)
    at get_KeyboardLayoutManager (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:14:2796761)
    at get_manager (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:14:2796863)
    at Object.getCurrentKeyboardLayout (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:14:2796989)
    at e.keystrokeForKeyboardEvent (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:14:1057808)
    at KeymapManager.keystrokeForKeyboardEvent (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:11:1228079)
    at KeymapManager.handleKeyboardEvent (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:11:1226064)
    at WindowEventHandler.handleDocumentKeyEvent (/Users/ammylin/Desktop/CSCI 1133/Atom.app/Contents/Resources/app/static/<embedded>:11:284879)

Commands
     -1:45.4.0 command-palette:toggle (div.tool-panel.tree-view)
     -1:40.4.0 window:install-shell-commands (div.tool-panel.tree-view)
     -1:06.2.0 command-palette:toggle (div.tool-panel.tree-view)
     -1:01.7.0 window:install-shell-commands (div.tool-panel.tree-view)

Non-Core Packages

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/21285. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.a

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/21285. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.a


Missing Default Style in HTML Export

On Canvas it showing 22px but when exported it showing 1px
@artf

Thank you for raising this, I replicated it here:

https://github.com/GrapesJS/mjml/pull/368

A workaround - You can move to any other value like 23px, which will work.
We will work on a fix soon - contributions are welcome :)

Hey Kindly Check this https://github.com/GrapesJS/mjml/pull/369 this is solution it worked for me


Add command to print version number

Add a -V option to print program version number.

Implemented by merge commit c8c7e12


Update dependencies, make kysely a peer dep

This pull request updates all dependencies in package.json to their latest versions. It also moves kysely to a peerDependency, so that developers using sqlocal can define which version of kysely they want to use.
I've also run npm install and npm dedupe to update the package-lock.json file.

I did a bit of research on how NPM handles peer dependencies and made some changes to get the correct behavior. Kysely, along with Drizzle, should be a peer dependency, but it should also be an optional peer dependency. Kysely and Drizzle also need to be dev dependencies for the tests. See #17 and let me know if the changes look good or if I missed something.


Minor typos and grammar fixes

Coverage remained the same at 77.049% when pulling 7f03115b9c02e9c286a63c8e2f0d741fbd612a13 on pwilczynskiclearcode:develop into 5ec2927f332708c76103bf199d05094c8a92badf on klen:develop.

Great, thanks.


/v2/leader doesn't work in newer etcd versions

In versions of etcd >= 2.x, /v2/leader is not a valid endpoint anymore.
should we maintain backwards compatibility or should we just drop it?

I guess that whole point of having "v2" in etcd url is to avoid such incompatible changes...
Best approach would be to query http://<IP_ADDRESS>:4001/version before doing leader calls and raise exception if that version no longer supports leader endpoint.

@lechat "/v2/leader" worked just fine in 0.4.x, it has been removed since then.
As per your approach, I don't see a reason to fetch the info there at the moment, I'd probably just yank the code away.

API http://localhost:4001/v2/stats/leader might be another option to get leader hostname.

@sukrit007 thanks, I figured that out, but the solution I found is still incomplete. I don't think we can't live without this being 100% functional, so my current patch is ok and I should've closed this a long time ago.


Cannot restore WebView when closing a folder and reopening the folder.

Version: 1.46.0-insider
Commit: 9e439b13d5784538333bee044ca1d1a992bc1c90
Date: 2020-05-28T18:46:41.056Z
Electron: 7.3.0
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 17.7.0
Steps to Reproduce:

Execute vscode-extension-samples/webview-sample.
Open an empty dir.
Execute catCoding.start
Close Folder (cmd-K F)
Open the folder
The webview is not restored sometimes, once in three times. It is restored sometimes.

When restarting Indsider, the webview is always restored.
Does this issue occur when all extensions are disabled?: Yes

Seems fixed.
Version: 1.46.0-insider
Commit: 1bfa086adb9271ff56be11821da686e4cfffb672
Date: 2020-06-02T08:10:00.819Z
Electron: 7.3.0
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 17.7.0


[ODS-5822] Fix codeql action

Ran successfully https://github.com/Ed-Fi-Alliance-OSS/Ed-Fi-ODS-Implementation/actions/runs/5329857151/jobs/9655949883?pr=700


[Bug] evaluation Unable to execute normally

Context / Scenario
I am working on a RAG project
What happened?
System.InvalidOperationException:“No service for type 'Microsoft.KernelMemory.Evaluation.TestSetGenerator' has been registered.”

https://github.com/microsoft/kernel-memory/pull/519
It can run normally before this PR
And now I have reported the error above
using Microsoft.KernelMemory;
using Microsoft.KernelMemory.AI.OpenAI;
using Microsoft.KernelMemory.Evaluation;
using Microsoft.SemanticKernel;

var azureOpenAITextConfig = new AzureOpenAIConfig()
{
    APIKey = "xxx",
    Endpoint = "https://xxx.openai.azure.com/",
    Deployment = "gpt4-turbo",
    Auth = AzureOpenAIConfig.AuthTypes.APIKey,
    APIType = AzureOpenAIConfig.APITypes.TextCompletion,
};
var azureOpenAIEmbeddingConfig = new AzureOpenAIConfig()
{
    APIKey = "xxx",
    Endpoint = "https://xxx.openai.azure.com/",
    Deployment = "text-embedding-ada-002",
    Auth = AzureOpenAIConfig.AuthTypes.APIKey,
    APIType = AzureOpenAIConfig.APITypes.EmbeddingGeneration,
};

var memoryBuilder = new KernelMemoryBuilder()
    .WithAzureOpenAITextGeneration(azureOpenAITextConfig)
    .WithAzureOpenAITextGeneration(azureOpenAIEmbeddingConfig)
    ;

var kernel = Kernel.CreateBuilder()
    .AddAzureOpenAIChatCompletion("gpt4-turbo", "https://xxx.openai.azure.com/", "xxx"
    ).Build();

var testSetGenerator = new TestSetGeneratorBuilder(memoryBuilder.Services)
                            .AddEvaluatorKernel(kernel)
                            .Build();

var distribution = new Distribution
{
    Simple = .5f,
    Reasoning = .16f,
    MultiContext = .17f,
    Conditioning = .17f
};

var testSet = testSetGenerator.GenerateTestSetsAsync(index: "default", count: 10, retryCount: 3, distribution: distribution);

I have reviewed the code for this PR and found it in the
Return this. _serviceCollection. BuildServiceProvider()
. GetRequiredService();
There is an error here, I did not see how TestSetGenerator was injected into the _serviceCollection
Importance
a fix would make my life easier
Platform, Language, Versions
The latest version
Relevant log output
No response

This error has not been resolved，Have you tested this code and it can run smoothly?
@kbeaugrand

System.InvalidOperationException:“A suitable constructor for type 'Microsoft.KernelMemory.Evaluation.TestSetGenerator' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.”

Thank you very much. It can now run normally


Pivacy concern.  Not possible to install Safe Paths on multiple accounts on the same phone - I guess because we are not storing data in a per-user location.

I think this merits some consideration.
Some info on the use cases for multiple user accounts.
https://www.guidingtech.com/android-multiple-users-feature/
I'm not sure there's actually a hard requirement to be able to install the app on multiple accounts.   That seems niche.  But I suspect that the problem is caused because we are storing app data in a location that is not user-specific.  And I have concerns about the Privacy implications of that design.
Version
Android 9, Moto G7
I have 2 different user accounts on the phone.  It's a situation I got into by accident, and have been meaning to sort out, but hadn't got round to doing so.
Steps to reproduce
On a phone with 2 Android user accounts.

Install Safe Paths on one account via APK sideloading
Attempt to Install Safe Paths on 2nd account  via APK sideloading

Install fails.  The failure messge doesn't give any detail.  It looks the same as the error when you try to install an APK without removing the previous version.
Indeed I guess that's exactly what we are doing: storing the data in a global location, rather than a per-user location.
Note: with 2 accounts, you can install Safe Paths on either account (doesn't have to be the admin account).  But the other account then can't install the app.
Expected Behavior
I woudl expect multiple users of the same phone to all be able to install the app.
That is the behaviour I see with other apps.
I don't know a lot about the use cases Google envisage for multiple user accounts per-phone, but I assume they developed the function to meet the needs of some users.  It's reasonable to assume that those users might want to run Safe Paths.
I am also concerned about potential Privacy issues if we are not storing the data in a user-specific location:

It is certainly possible for user B to determine that user A has installed the Safe Paths app, by trying to install it himself.
If the data is in a global location, I wonder if there is any risk that user B could extract location data recorded by user A?

OK - here's a relevant use case, which merits consideration in the long run.
In the short term, I'm only concerned about the Privacy issues flagged above.
Teen breaks phone
Teen wants to go out at night.  Parent not happy for Teen to go out without a phone.
Parent lends Teen phone.  Parents does not want Teen to have access to their account, so creates a 2nd account for Teen on the phone.
Family is COVID-aware, so of course they want to install Safe Paths on this new account.
Ideal behaviour would be:

Install succeeds
Safe Paths notices that the phone has multiple accounts, and gives explicit warning that location data is per-account, and is only stored on the phone, so if they want to check their exposure later, then need to check it in Safe Paths in this account  (this way Teen knows that they will have to come back & check periodically, rather than assumign they will be notified).

This use case is not a priority for MVP, but eventually we should be aiming to accommodate use cases like this.

On a related note we should think about communications on this topic.
When e.g. Ramesh talks about privacy, the focus is on "the daat doesn't leave your phone".  That covers Privacy from the authorities.
But will that messaging resonate with someone who shares a phone with someone else?  Probably not?  Should we be ore careful to cover "the data does not leave your account, on your phone" to bring these people in?
(once that is true, obviously!)

This application does assume the most common use case -- a phone is associated with an individual.  Automated background operation with multiple individuals is basically impossible.  If you have specific suggestions to make it possible, it would be appreciated.  But I don't see this as solvable.

Moving the data store to the user's account location (as opposed to global phone storage location) for privacy protections (in the case of encrypted user storage as opposed to full phone encryption) might be worthwhile in the short term.
I don't know enough about the android multi-user-accounts model to know if switching from one user account to a different one will automatically close down an app running in user A's account and then start up the background logging of the same app in user B's account, but I can easily see it as not solvable.
(On the other hand, I wouldn't be surprised to find an API that apps can use to detect user account switches and gracefully handle this situation.). I'm marking this low priority and next next release as I don't think we'll be working on user account switching soon.

I would say with a multi-user account, the desirable behaviiour on switching accounts is to shut down & stop logging location info on the 1st account & start on the 2nd.
See example above about a Teen borrowing Parent's phone to go out.
If the Teen is later infected, we want to share the Teen's movements.  If the Parent is infected the Parent's movements.
We are using phones as proxies for people.  But phone user accounts are actually a better match.
If we can't fix this, we should consider a nicer error message: "Sorry we can't support this operation at the moment"
Analytics so we know how often its happening would also be great, but I don't know how whether we can do analytics in a way that is consistent with privacy.

I've honestly never heard of this capability.  Is this common?  How does one do it?  In a brief search I couldn't find the capability on my Samsung (which often diverges from stock Android, I do realize).

Been available since Android 5.0.  Function is pretty much the same as you have with multiple users on e.g. Windows.
Some links here:
https://www.androidcentral.com/lollipop-brings-proper-multi-user-accounts-your-phone
https://www.guidingtech.com/android-multiple-users-feature/
I don't have any data on prevalence - I will ask around to see if anyone knows where to get such info.
I didn't intentionally test this.  I have a 2nd user account on my phone for some reasons completely unrelated to this project, and happened to stumble across this issue.
I don't think it's a "must have" feature by any means, but the Privacy implications of storing what is logically user data in the wrong place in the Android architecture worry me a bit.  And I also worry this might be a lot more expensive to fix later, rather than now.  (fixing later, we'll have to migrate data from one place to another on upgade, which sounds tedious).

Where is it?  In settings see the little blue person/face at the bottom

Closing this issue out as we have taken it into consideration and documented the feedback on this page in Jira.


Cleanup generic exception handling

For context - https://github.com/dotnet/upgrade-assistant/pull/812#discussion_r693134040

Probably should see if we can catch specific exceptions, or just turn it off. Generic exception handling should be more at the entrypoint level rather than deep within the code.


Add related herrbischoff/telemetry project

Found this related repo:
https://github.com/herrbischoff/telemetry
Add it to "related projects" section: https://github.com/beatcracker/toptout#related-projects
And add issue in the repo, like done for rljacobson/OptOutEnv repo at:
https://github.com/rljacobson/OptOutEnv/issues/2

Closing as it's solved by https://github.com/beatcracker/toptout/commit/0dcd3251f4fa12b045fc57d9d6f09cbcf9908092


Add fselect.fselect 0.8.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This package is expecting arguments:
fselect 0.8.3
Find files with SQL-like queries.
https://github.com/jhspetersson/fselect

Usage: fselect [ARGS] COLUMN[, COLUMN...] [from PATH[, PATH...]] [where EXPR] [group by COLUMN, ...] [order by COLUMN (asc|desc), ...] [limit N] [into FORMAT]

For more detailed instructions please refer to the URL above or run fselect --help


Responsive protection and causes page

Added responsiveness in 2 sections using media queries.
issue #38  completed.

[X] New feature (non-breaking change which adds functionality)

Checklist:

[X] I have made this from my own

[X] My code follows the style guidelines of this project

[X] I have performed a self-review of my own code

[X] I have made corresponding changes to the documentation

[X] My changes generate no new warnings

Merged !!


E2E randomly fail

https://build.libelektra.org/blue/organizations/jenkins/PermaplanT/detail/PR-992/2/pipeline
@4ydan any idea why most of the builds the last few days fail at the e2e step
Originally posted by @tschawax in https://github.com/ElektraInitiative/PermaplanT/issues/992#issuecomment-1770913948

I also noticed it, as it seems to be more than sporadically, we should fix this asap, as it is very annoying.

@tschawax ok, but in general you can also simply write close #993 in a commit and it will automatically be closed when merged.


remove restriction against generating JSON with an atomic root value

This fixes #121.
Unfortunately no tests to add; as it stands, there's a only a single monolithic test for pretty-printing, and the simple change doesn't seem to warrant setting up a new harness.

Could you add a note in the changelog? Not that I expect things to be breaking a lot but it would probably be helpful to users to know since when the behavior was improved.

Sure, my bad, just updated to include a changelog entry.


cmd/compile: permit multiple blank type parameters (fix export data)

While investigating #50419, I observed a problem with the way we're indexing type parameters in export data.  Consider the following type declaration:
type T[P A, _ B, _ C] int

Because we index type parameters along with other declarations in the package export data, we assign a unique name to them by prefixing with the name of the parameterized declaration, in this case, for example, "T.P" is the type parameter constrained by A. However, this schema has no way to distinguish the type parameter constrained by B and the type parameter constrained by C: both would be indexed by "T._".
Currently, our exporters are not failing, but rather choosing one of the blank type parameters to index.
Given the care required for changes to the export data, it is probably too late to fix this. Maybe we could change the indexed name for blank type parameters to something like "<prefix>.$<index>", so that the blank type parameters in the example above would be indexed as "T.$1" and "T.$2", but even that seems risky at this point.
This is unfortunate, but also should not be a significant problem for our users, since blank type parameters can always be given names. Discussing with @griesemer, we think that for Go 1.18 we should note this limitation and make it a type checking error to have multiple blank type parameters in a type or function declaration, or perhaps an error to have ANY blank names for type parameters.
Note that this limitation should NOT apply to receiver type parameters: func (T[_, _, _]) m() should be fine.
At some point, perhaps 1.19, we plan to increment the export data version again for the unified export data format. At that point we can lift this restriction.
CC @danscales @griesemer @mdempsky @ianlancetaylor

If we accept CL 376058 then this issue can be retitled accordingly and moved to 1.19 where we should remove the restriction introduced by this CL.

cc: @mdempsky (for consideration when working on 1.19 export data)

If we're imposing this restriction for 1.18 be sure to note it in the release notes in the list under "The current generics implementation has the following limitations:"  Thanks.

FWIW, unified IR indexes type parameters by ordinal index, not by name.
I'm interested if we have a test case that fails under the current scheme though.

I'm interested if we have a test case that fails under the current scheme though. Because blank type parameters can't be referenced. Is the issue that the type parameters end up with the wrong constraints due to non-unique indexing?

Before the change to disallow this, it was possible to import a type parameter with incorrect constraint (only one constraint could be recorded for _). This could result in explicit instantiations that either succeed or fail where they shouldn't.

Unfortunately, it's not actually trivial to support multiple blanks on method receivers. The reason being that we need to substitute receiver type parameters in their constraints, as in the example below, and there is no such API exposed by the type checker:
type T[P any, _ *P] int

func (T[R, _]) m() {}

In this example, the constraint on the second receiver type parameter should be *R.
Therefore, even though we may have an associated constraint for receiver type parameters, there is no way to make this constraint consistent with the rest of the declaration. This may not matter much in practice, but it's incorrect.
It appears we need to either disallow multiple blanks in receiver type expressions, which would be annoying, or revisit whether or not to change the export data format.

We've thought about this more, particularly in consideration of receiver type parameters (https://github.com/golang/go/issues/50481#issuecomment-1013551591). We decided that it would be better to fix this now (as unobtrusively as possible), than to have users continually bump up against this limitation in 1.18.
This hypothetical fix proposed in https://github.com/golang/go/issues/50481#issue-1095700173 is probably the least invasive change we can make: we will change the indexed name of blank type parameters from <type/function>.<method?>._ to <type/function>.<method?>.$i, where i is the index of the blank type parameter in its type parameter list. Notably, this doesn't change the layout of the export data, and doesn't change the indexed names of anything other than blank type parameters. For this reason, while this is technically a breaking change we don't think it will cause many problems.
To further smooth the roll-out of this change, we will ensure that our importers continue to support the old, ambiguous index name (T.m._).
Moved this to the 1.18 milestone, and marked as a release-blocker. We are working on it now.
CC @golang/release

Oops, CL https://go-review.googlesource.com/c/go/+/379194 fixes this bug and should have mentioned it in the commit.  We can maybe wait a few days to close this one, to make sure the compiler and tools changes all settle smoothly.

Builds all seem fine (including tools), closing this bug now.


Fix Z-Index Issue with Clusters

http://stackoverflow.com/questions/10243855/google-maps-render-marker-above-markerclusterer

This is a little above my pay grade. @jjandoc would you mind looking into it?


Feat: Add Image To Messages

What is your issue related to ?

[x] Code
[ ] Designing
[ ] Documentation
[ ] Testing/Research
[ ] Others[please specify]

Description
Users can also attach Image to message.
Describe the solution you'd like
Choose Image from user's mobile, also add cropping feature.
Upload the image to Firebase Storage and display it in the message.
Additional context
Will attach it when done.

It sounds cool but there are other things in the app that need attention now, you can work on them as discussed, putting this on hold for now


packages have unmet dependencies: gcc-multilib, libc6-dev:i386

In this trusty setup on Acer 720p
crouton: version 1-20151104200003~master:2a1fc9da
release: trusty
architecture: amd64
xmethod: xiwi
targets: cli-extra,xfce,xiwi,extension
host: version 7520.63.0 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Fri Dec 11 17:23:12 PST 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
A problem arised which hinders crouton target update:
...skipped...
trusty-update-error.txt
2015-12-17 23:02:27 (126 KB/s) - '/tmp/crouton-cras.ZNiSNt/adhd.tar.gz' saved [466696]
Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-utils is already the newest version.
libasound2:i386 is already the newest version.
libspeexdsp1:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
pkg-config is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gcc-multilib : Depends: gcc-4.8-multilib (>= 4.8.2-5~) but it is not going to be installed
libc6-dev:i386 : Depends: libc6:i386 (= 2.19-0ubuntu6) but 2.19-0ubuntu6.6 is to be installed
E: Unable to correct problems, you have held broken packages.
Failed to complete chroot setup.
What possibly had gone wrong?

That's because of /etc/apt/sources.list contained only two entries:
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
after I inadvertently turned off in the Synaptic Package Manager trusty-security and trusty-updates.
With them enabled crouton have updated trusty target just fine.

i had the same issue upgrading from trusty to xenial and it wasn't because of sources.list
none of the apt-get install, remove and dpkg --purge --force-depends tricks worked, so i ended up installing aptitude to fix gcc-multilib; then the crouton update finally worked


Optimize build speed

Our current implementation generates a Small, Medium and Large image size for each image in our blog. We should drop one of these sizes to improve the total blog size (1.7gb current release).

[x] investigate if we should drop small or medium size (looks like dropping small makes the most sense
[x] implement change
[x] validate if latest hugo version is working
[x] save large pptx as pdf and update blogposts with new link. Solved with #573 and #565
[ ] fix archetypes; currently each archetype item has an 8mb gif that is unused, should be removed.
[ ] Check large images (query for large gifs that could be PNG?)
[ ] Check current used template metrics

remark for self check file size naming (medium and large seem to be used interchangeable)

Might not be needed if we use a dept of 1 to do a shallow clone (thanks to a tip from @waldekmastykarz). Will investigate after the holidays

Hey @appieschot you still willing to help on this one? Build times are painfully long 😭

We have two things running:

Deploy to GitHub Pages; triggered on each PR as it is linked to our main branch
pages build and deployment: triggered by the github-pages[bot]

In both those workflows different things happen:

Our deploy to GH pages takes roughly 5 minutes to checkout all content (just improved with #558 to 2:30 so it's something 🤷)
Our Hugo build takes around 12 minutes, we can speed that up by removing one of the image sizes as the majority of the hugo time is spend on those images' sizes. Will have a look at that (requires quite some work as we use those sizes everywhere and we do not want to screw up our look & feel)
We should also add the latest version of Hugo and see if the problems 0.101.0 had are solved (and perhaps improves the speed)
Zipping the output takes time (since the whole site with all images is 3.3gb that takes time; part of it will be solved by removing 1 of the image sizes. But we also have a few pptx files in our content that hit the 60mb per file..), they total 2gb of file size of our content. I feel that we can majorly improve if we would move those pptx files out of the content. @LuiseFreese how do you feel about that? Could we store the PPTX on OneDrive or SharePoint and generate links in our content? Quick guestimate is we can shave of 66% of our upload time just by deleting those files ..

Once those steps are done, we start the actual deployment if a PR is approved

it takes 23 minutes to upload those 3.3GB, assuming we remove the PPTX we can shave of 66% of that as well (still a guestimate as larger files upload a tad quicker then smaller files)

I would opt to fix the pptx, or convert all PPTX to PDF to drastically reduce the size. Happy to hear other input! 🦾

hey there @appieschot , first - THANKS for your work - you rock 🎸

Please do feel free to run a test with the latest Hugo version - I assume we can switch back if it breaks again.
Maybe its a good idea to first try to convert all pptx to PDFs or to reduce image size in the pptx with this compress pictures feature in PowerPoint

Sharing the PPTX via OneDrive/SharePoint would be the last resort I think

@LuiseFreese ill have a look if we can automate the pptx to pdf with some form of script; reducing image size feels way more effort as we would need to go to the master slide and remove un-used master slides as well. Printing to PDF most likely is quicker. Will report back (and updated initial issue with a checklist to keep track of status)

@LuiseFreese started working on resizing some of the largers pptx but they are not referenced in the content so far... Any other place they might be linked from?

How will we proceed with this one? I can instruct Andrew Benson (who writes the community call posts) to save the PPTX as PDF and upload that.

Resizing does bring it down a bit ;-). Not there yet but the first step is taken 🦾

Ran a version with the --templateMetrics online (image in the initial issue), but results online differ quite a bit:

Will investigate if we can speed up some of those things by stripping some stuff.

Hey @appieschot, @LuiseFreese pinged me and asked if I wanted to assist. I've been doing a bunch of work on my Hugo sites lately & heavily leveraging the image processing stuff (which negatively impacted build times, but not too bad).
Interested in another set of eyes?

@andrewconnell would love to get some input. Agree that images are quite slow so a few observations I made so far:

Seems like images started breaking after a certain Hugo version
Feels like images are not cached in our build pipeline so everything gets generated evertyime we build
the single.html checks for a whole lot of sections and that slows the build quite a lot on our pipeline

So more than happy to learn what you think would be the best plan of attack :)

Cool... couple of questions:

Is the goal to (a) optimize for build speed (b) at the expense of making the repo bigger?
Are there any options for externally hosting some larger assets that don't need to be processed, like a slide deck or ZIP?
What do you mean by images breaking? Two of my sites are on Hugo v0.104.x, both use the image processing capability and are working fine (making sure images in the content area are no wider than Xpx & dynamically generating the open graph images). Got a pointer to something specific?

Cards on the table: I have one Hugo site that has ~2k content pages & makes heavy use of Hugo's image processing. I favor a smaller repo over longer build times because my build times for deployment aren't a concern (build+deploy = ~16 minutes)... locally it takes MUCH less.

Is the goal to (a) optimize for build speed (b) at the expense of making the repo bigger?
I favor a smaller repo as the current upload of 3gb is quite long, but would assume that we could cache the results of the images to prevent the build process issues we have now; Hugo just stops working in the latest version after like 12m

Are there any options for externally hosting some larger assets that don't need to be processed, like a slide deck or ZIP?
For me those are on the table; we recently saved all >10mb slide decks to pdf to save over 1gb of repo storage. If we would offload some of that content we need to figure out where and involve some other ppl to get that working but I am all for that.

What do you mean by images breaking? Two of my sites are on Hugo v0.104.x, both use the image processing capability and are working fine (making sure images in the content area are no wider than Xpx & dynamically generating the open graph images). Got a pointer to something specific?

We are using version 0.100.2, anything after that is currently not building with timeouts. See some thread here: https://github.com/pnp/blog/pull/424. I basicaly gave up figuring out why the latest hugo version would break. My feeling is that is has to do with _default/single.html and the section selection we do but I have not investigated further.

Cards on the table: I have one Hugo site that has ~2k content pages & makes heavy use of Hugo's image processing. I favor a smaller repo over longer build times because my build times for deployment aren't a concern (build+deploy = ~16 minutes)... locally it takes MUCH less.

Agree with this, but given the 30 to 45 minutes we have seen with the current release pipeline we would love to bring that down a bit. Since we have around the same amount of content pages in the blog I would be happy if we can hit those 16 minutes ish :)

Cool... thanks for the detailed response. Lemme take a few stabs and see if I can't figure something out.

How much flexibility do I/we have in making changes? Because... the first thing I looked at are huge files in the repo...
... and...

Not only do most of the archetypes contain an 8MB together-mode.gif sample animation, but those animated GIFs, which some are HUGE (3 over 20MB, 6 over 10MB), account for over 815MB in the repo.

... and every single one is processed using Hugo's image processing.

There are over 185 of these files in the repo, NOT including those that have been cached in the image processing. My question: are these really necessary? They are clearly having a significant impact on the build time.
I haven't gone through the trouble seeing what kind of an impact it will have, because it's going to require making a lot of edits to remove those images from content pages so the builds don't throw errors... but if we're open to purging these, I can see what kind of an impact it would have on the repo.
Personally, I can't see the value in keeping these around. I get using them in social media sharing, but in the content page?
Thoughts?

I won't mind purging them, @LuiseFreese how do you feel?

Personally, I'd go for this compromise:

Educate Andrew B. - who publishes the community call blog posts on how to reduce the size of a gif
Keep the gif for 2 weeks, then replace by a link to the SoMe post (I can easily do that as a recurring clean up task)

This means that we would have WAY less gifs and GB to process
WDYT?
Luise Freese
Microsoft  365 & Power Platform Consultant
Dual Microsoft MVP M365 Development & Business Applications
based in Germany: Uerdinger Str. 26 | 40474 Düsseldorf
but always traveling ✈✈✈

From: Albert-Jan Schot @.>
Sent: Wednesday, September 28, 2022 9:19:21 PM
To: pnp/blog @.>
Cc: Luise Freese @.>; Mention @.>
Subject: Re: [pnp/blog] Optimize build speed (Issue #144)
I won't mind purging them, @LuiseFreesehttps://github.com/LuiseFreese how do you feel?
—
Reply to this email directly, view it on GitHubhttps://github.com/pnp/blog/issues/144#issuecomment-1261363983, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL5FMITFQLQB4R5OWYWEJM3WASK3TANCNFSM5U6DW54A.
You are receiving this because you were mentioned.Message ID: @.***>

Correction... it does NOT look like those files are being image processed... they're just contributing to the huge size of the repo. But it's not just the GIFs... there are a lot of large files. The last PPTX was 86MB. Moving these large files will impact the build times but not as much as I was implying.
@LuiseFreese said:

Educate Andrew B. - who publishes the community call blog posts on how to reduce the size of a gif
Keep the gif for 2 weeks, then replace by a link to the SoMe post (I can easily do that as a recurring clean up task)

If you're trying to reduce the build times AND the size of the repo, this won't help. You're adding a large file to the repo, then removing it, but it's still in history. So, anyone who clones the repo, unless if they do a shallow clone, will get the history including those large files.
When I cloned the repo, it was 6GB... which is quite large for a content site.
The bigger issue with these animated GIF's is they're hurting SEO for the page. Google penalizes these pages for a bad mobile practice because it's impossible for a user to avoid downloading & rendering an animated GIF. That's unlike the PPTX files which the user must manually download.
So this really comes down to two things... what's more important / priority on the site?

SEO / reach of the page
build time for the site
the optimized size of the repo

IMHO, it's that order order. So... that means removing these 100% from the site (because the value of those pages is in the first period after publication, 2wks as you say @LuiseFreese). That makes the other two priorities moot.
IMHO, these should only be for social media marketing of the meeting. At most, include just a still frame, not an animated GIF, of the together mode.

Had a chat with @VesaJuvonen ...he agrees that we should optimize, but wonders, if there is really no way to reference the raw gifs and exclude them?
If there is no way, we will add a still image of the togethermode into the blog and add a link to the twitter/Linkedin post that shows the animated gif.

@LuiseFreese said:

if there is really no way to reference the raw gifs and exclude them?

Possibly with some CSS trickery, you could keep the image from being loaded on mobile, but when Google indexes the page, it will see the gif and add strikes against the page. I use a service that crawls my sites weekly. I used to use animated GIF's for a few demos, until I realized how much of a negative impact it was having on the SEO of the page.
So... referencing my previous comment, WRT (1), I think these animated GIF's are more negative than positive on the site.
And that doesn't even factor in the issues WRT (2) & (3)... from the recent builds, just the deployment of the rendered site content takes 5m... so slashing these big files down will have a substantial impact. In the worst case, it's going to cut 20% of the total deployment size.
FWIW - the way I deal with this on my content sites is to put big files (ZIP's, animated GIF's, etc.) in a separate location (https://cdn.[andrewconnell.com|voitanos.io]) which is an Azure storage blob fronted by an Azure CDN with a custom domain. If I want to show a demo using an animated GIF, I have a sill frame and link to a popup that shows the animation. But this way, the user has to request the animation with manual action (addressing point (1)) and it's served up NOT from my site content & stored in my codebase, rather it's externalized (addressing points (2) & (3)).
I understand this thread to say "remove them", correct? I'll proceed with that & optimizing a lot more of the big files.

I understand this thread to say "remove them", correct? I'll proceed with that & optimizing a lot more of the big files.

yes.


Javascript visualisations are not working in 0.25.2 :  Javascript library not loaded

Hi, thanks for the great package!
I wan't able to get the visualization working in jupyter notebook , and I checked the Chrome console it gives the following error:
Uncaught SyntaxError: Invalid regular expression: /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\></n.length&&!t.isPropagationStopped();i++)u(t,e,n[i],r[i]);else>]/: Unmatched ')'
    at Object.<anonymous> (<anonymous>:14:82938)
    at n (<anonymous>:1:110)
    at Object.<anonymous> (<anonymous>:6:20386)
    at n (<anonymous>:1:110)
    at Object.<anonymous> (<anonymous>:28:762)
    at n (<anonymous>:1:110)
    at Object.<anonymous> (<anonymous>:28:135121)
    at n (<anonymous>:1:110)
    at Object.<anonymous> (<anonymous>:28:122865)
    at n (<anonymous>:1:110)

I'm working with a Windows PC, and using shap version 0.25.2.  Any help will be really appreciated!!
btw, I fixed it by copy pasting the bundle.js from 0.23.0 version.
Thank you!

I second this, none of the interactive JS plots is working, they are displaying:
Visualization omitted, Javascript library not loaded!
 If this notebook was from another user you must also trust this notebook (File -> Trust notebook). If you are viewing this notebook on github the Javascript has been stripped for security. If you are using JupyterLab this error is because a JupyterLab extension has not yet been written.

Jupyter version 5.7.2
$ pip list | grep jupy
jupyter                                1.0.0
jupyter-client                         5.2.3
jupyter-console                        5.2.0
jupyter-core                           4.4.0

Update: it's a Shap issue, installing Shap 0.25.1 solves this and the graph appears. However, the JS errors are still visible on the console, so these two seem to be unrelated:
$ pip list | grep shap
shap                                   0.25.1

@adam-ah would you mind trying master and see if you get same issue?

@slundberg, happy to but please give me some step-by-step how to do it :)

Ah! Just run git clone https://github.com/slundberg/shap shap. Then cd
into the shap directory and do python setup.py install
On Mon, Dec 10, 2018 at 11:33 AM Adam Horvath<EMAIL_ADDRESS>wrote:

@slundberg https://github.com/slundberg, happy to but please give me
some step-by-step how to do it :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/slundberg/shap/issues/351#issuecomment-445767443, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADkTxdHVlMVp3cyQOypSrA8xU6kS8yQPks5u3jhigaJpZM4ZKkx5
.

I was facing the same issue reported by @adam-ah and confirm that downgrading shap to version 0.25.1 fixes the problem.
Ubuntu 18.04

@adam-ah You should be able to just pip uninstall it I think. I have now pushed 0.26.0 to pip so that fixes this issue.

I tried 0.24, 0.26 and 0.25.1 in JupyterLab with Ubuntu 16.04.1 on Google Cloud Platform. It still has the problem Visualization omitted, Javascript library not loaded!  If this notebook was from another user you must also trust this notebook (File -> Trust notebook). If you are viewing this notebook on github the Javascript has been stripped for security. If you are using JupyterLab this error is because a JupyterLab extension has not yet been written.

hmm. Are you just running a Jupyter notebook on a compute instance?

hmm. Are you just running a Jupyter notebook on a compute instance?

Yes, I am running Jupyter notebook under Jupyterlab on a GCP compute instance. I had no problem with it on my Mac using Jupyter notebook under Jupyterlab.

As long as you are running under the notebook server and not Jupyer lab I
don't know what would cause that. Unless you haven't "trusted" the notebook.
On Tue, Dec 18, 2018 at 11:42 AM Jundong Qiao<EMAIL_ADDRESS>wrote:

hmm. Are you just running a Jupyter notebook on a compute instance?
Yes, I am running Jupyter notebook under Jupyterlab on a GCP compute
instance. I had no problem with it on my Mac using Jupyter notebook under
Jupyterlab.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/slundberg/shap/issues/351#issuecomment-448325697, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADkTxek2EAkARMpJM4LLVDvySXCclc-Iks5u6TcCgaJpZM4ZKkx5
.

I got a solution for Databricks. You just need to get the HTML out of force_plot and use displayHTML to see the force_plot.
Try this:
force_plot = shap.force_plot(xgb_explainer.expected_value, xgb_shap_values, X_test, matplotlib=False)
shap_html = f"{shap.getjs()}{force_plot.html()}"
displayHTML(shap_html)
more info: https://towardsdatascience.com/tutorial-on-displaying-shap-force-plots-in-python-html-4883aeb0ee7c


Incorrect price impact for Composable stable pool on deposit

Depositing Tokens to this Composable Stable pool on goerli test network shows price impact equal to 0.00% which seems to be incorrect - it should be at least < 0.01%
Steps to reproduce:
Since those are custom tokens we can obtain them by depositing single token (let's say USDC) and do proportional withdraw. Now we can deposit pool tokens.
Expected result:
Price impact should be either < 0.01% or any other value except 0.00%

This is very likely something to do with Goerli and the specific pool composition here. If you can recreate this issue with a production network pool please re-open.


Post auth webapp behaviour

The example webapp should navigate to a welcome screen once sign-in successful. The welcome screen should tell the user what they signed in with and display the errors.

closing as https://github.com/WebOfTrust/signify-browser-extension/pull/100 is merged


Extract logic from MakeData to MetadataExtractor

create test suite
retouch composer.json
fix editor config

duplicated from #1


Support local GPG keys

gpgkey in repo.yaml currently does not support pointing it to a local file.
It would be more secure and, in the case of Fedora, convenient to be able to point it to a file stored in the repository.

Sounds like a nice improvement, do you think you can create a PR?


host-spawn: init at 1.6.0

Homepage: https://github.com/1player/host-spawn
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Actually, I believe this package should only be available on Linux, not Darwin. I will push an update shortly.

As best as I can tell, all relevant tests are complete.  The status indicator is still waiting on the host-spawn.passthru.tests on aarch64-darwin, but I don't believe this check is relevant since this package is now marked with platforms = platforms.linux;.

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


review all graph titles and make sure that the title is part of the downloadable graphic to avoid confusion

review all graph titles and make sure that the title is part of the downloadable graphic to avoid confusion

Giovanni would like that when a user downloads a graph on their computer then the title of the chart is part of the file name so user do not get confused.

Hi @giobetti, to check all the graph titles. I used Bologna as an example, I opened the CBE Clima tool and uploaded the EPW file for Bologna. I downloaded all the graphs that were available for download. I checked and compared the titles of all the graphs and I found that they were all unique, i.e. there were no duplicates. Also, in order to improve the graphc titles, I would like to check with you what the improved graphc titles should look like, for example, if there are any criteria. The following screenshots show my analysis of each graph. Thanks !

Hi @Ericlee0128  thanks for looking into this.
The names are already implemented. I guess we need to review them to check for consistency and to develop a better standard.
Currently the name structure is:
"CBEClima"_"Weather file name" _ "graph name" _ "tab name"
I believe that the "tab name" is not really useful and simply makes the names even longer so that could be deleted.
Also "CBEClima" doesn't really add information
The "Graph name"  part could be improved by recording optional inputs in the name.
As an example, downloading the heating and cooling degree days for Bologna now returns:
CBEClima_Bologna-Marconi.AP_ITA_hdd_cdd_summary_tab.svg
a proposal would be to change it to:
Bologna-Marconi.AP_ITA_hdd_cdd_10-18_C.svg
this structure is:
"Weather File name" "graph name" "custom inputs"_"unit"
Adding the units is especially important now that we have both SI and IP but it might introduce special characters (i.e. the slash in Wh/m2) that are not allowed. A thought would be to add simply SI or IP rather than the actual unit.
Another example would be in the sun path:
currently downloading a spherical sun path with no data overlay ("None") and with a temperature overlay ("Dry Bulb Temperature") returns files with the same name:
CBEClima_Bologna-Marconi.AP_ITA_spherical_sun_path_sun_tab.svg
CBEClima_Bologna-Marconi.AP_ITA_spherical_sun_path_sun_tab (1).svg
my proposal would be to have files with names:
Bologna-Marconi.AP_ITA_spherical_sun_path.svg
Bologna-Marconi.AP_ITA_spherical_sun_path_DBT.svg
in the same tab, downloading this chart:

returns the name:
CBEClima_Bologna-Marconi.AP_ITA_daily_sun_tab.svg
a more useful name would be:
Bologna-Marconi.AP_ITA_daily_GlobalHorizontalRadiation_SI.svg
one more example: the "customizable wind rose" in the wind tab.
currently it returns:
CBEClima_Bologna-Marconi.AP_ITA_custom_wind_rose_wind_tab.svg
a more useful name would be:
Bologna-Marconi.AP_ITA_custom_wind_rose_Jan-Dec_01-24.svg
with the last part "Jan-Dec_01-24" recording the user inputs in the
Start Month/End Month
Start Hour/End Hour
selection panel


Is there a way to set ClourRoleName to the NLog ApplicationInsights target?

Question:
Is there a way to set the ClourRoleName from the telemetryClient from the NLog target ?
What are you trying to achieve?
Using the NLog ApplicationInsights target I want to be able to specifty / override the telemetry.Context.Cloud.RoleName.
What have you tried so far?
Searching on Google and looking at the current implementation here
I've also found that setting WEBSITE_HOSTNAME will have the desired effect, but does it have other effects? This does not seem to be documented.

@cijothomas TelemetryConfiguration.Active is marked as obsolete


[Bug]: npm reporting several deprecated packages among the adminjs dependencies

Contact Details
Github messages
What happened?
I am trying to use the latest adminjs version 6.8.2, and am facing numerous warnings about dependency deprecations. See log output below.
I see, for example, rollup-plugin-terser listed among the dependencies here but its own npm page notes that it is deprecated and points to the version (@rollup/plugin-terser) that should be used instead. I didn't see this mentioned in a previous issue, so wanted to highlight it here.  Is there anything I can do to help with making that update, or are there other obstacles to updating?
Bug prevalence
Whenever checking dependency deprecation
AdminJS dependencies version
"node_modules/adminjs": {
"version": "6.8.2",
"resolved": "https://registry.npmjs.org/adminjs/-/adminjs-6.8.2.tgz",
"integrity": "sha512-+xxxxx==",
"dependencies": {
"@adminjs/design-system": "^3.1.6",
"@babel/core": "^7.10.2",
"@babel/parser": "^7.10.2",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.10.1",
"@babel/preset-typescript": "^7.10.1",
"@babel/register": "^7.10.1",
"@hello-pangea/dnd": "^16.0.0",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/babel-core": "^6.25.7",
"@types/react": "^18.0.8",
"axios": "^0.27.2",
"babel-plugin-styled-components": "^1.11.1",
"commander": "^5.1.0",
"flat": "5.0.1",
"i18next": "^21.9.2",
"lodash": "^4.17.21",
"ora": "^5.4.1",
"prop-types": "^15.7.2",
"punycode": "^2.1.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-i18next": "^11.18.6",
"react-is": "^18.1.0",
"react-redux": "^8.0.2",
"react-router": "^6.3.0",
"react-router-dom": "^6.3.0",
"redux": "^4.2.0",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"slash": "^3.0.0",
"styled-components": "^5.3.5",
"uuid": "^8.3.2",
"xss": "^1.0.13"
},
"bin": {
"admin": "cli.js"
}
What browsers do you see the problem on?
No response
Relevant log output
npm WARN deprecated<EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated<EMAIL_ADDRESS>Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated<EMAIL_ADDRESS>🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

Relevant code that's giving you issues
No response

@dickorydock we will update these alongside version 7 where we plan to upgrade to ES modules as well.

@dziraf is there a general timeframe for that upgrade to version 7?


Nothing past merge of json.sh works on Entware / QNAP

On QNAP / Entware you're required to roll back to dc552c602eca94737b66e62f4c4087a4e8f251e4 in order for it to work. Any commit past this always results in
 + Generating private key...
 + Generating signing request...
 + Requesting authorization for moria.dogspa.netconsonance.com...
EXPECTED value GOT EOF

With older versions such as right after you merged json.sh
+ 1 pending challenge(s)
 + Deploying challenge tokens...
 + Responding to challenge for moria.dogspa.netconsonance.com authorization...
ERROR: Problem connecting to server (post for ; curl returned with 3)
EXPECTED value GOT EOF

bash -x shows the following from current HEAD:
++ sed -n 's/.*\["type"\][[:space:]]*"\([^"]*\)"/\1/p'
+ [[ http-01 = \u\r\n\:\a\c\m\e\:\e\r\r\o\r\:\u\n\a\u\t\h\o\r\i\z\e\d ]]
++ echo '"challenges",0
["type"]	"http-01"
["status"]	"pending"
["uri"]	"https://acme-v01.api.letsencrypt.org/acme/chall-v3/1234508925/kYa2gw"
["token"]	"SY0UsSNvrjR9TL_BB8BBgU1Tc7Cip0FXryAHkAQADGs"'
++ get_json_dict_value validationRecord
++ local filter
++ get_json_string_value uri
++ local filter
+++ json_path validationRecord ''
+++ '[' '!' validationRecord = -p ']'
+++ printf '"%s"' validationRecord
++ echo '"validationRecord"'
++++ json_path uri ''
++++ '[' '!' uri = -p ']'
++++ printf '"%s"' uri
+++ printf 's/.*\[%s\][[:space:]]*"\([^"]*\)"/\\1/p' '"uri"'
++++ json_path validationRecord ''
++++ '[' '!' validationRecord = -p ']'
++++ printf '"%s"' validationRecord
+++ printf 's/.*\[%s\][[:space:]]*\(.*\)/\\1/p' '"validationRecord"'
++ filter='s/.*\["validationRecord"\][[:space:]]*\(.*\)/\1/p'
++ sed -n 's/.*\["validationRecord"\][[:space:]]*\(.*\)/\1/p'
++ filter='s/.*\["uri"\][[:space:]]*"\([^"]*\)"/\1/p'
++ sed -n 's/.*\["uri"\][[:space:]]*"\([^"]*\)"/\1/p'
++ jsonsh
++ tokenize
++ local GREP
++ parse
++ local ESCAPE
++ read -r token
++ local CHAR
++ echo 'test string'
++ egrep -ao --color=never test
++ GREP='egrep -ao --color=never'
++ echo 'test string'
++ egrep -o test
++ ESCAPE='(\\[^u[:cntrl:]]|\\u[0-9a-fA-F]{4})'
++ CHAR='[^[:cntrl:]"\\]'
++ local 'STRING="[^[:cntrl:]"\\]*((\\[^u[:cntrl:]]|\\u[0-9a-fA-F]{4})[^[:cntrl:]"\\]*)*"'
++ local 'NUMBER=-?(0|[1-9][0-9]*)([.][0-9]*)?([eE][+-]?[0-9]*)?'
++ local 'KEYWORD=null|false|true'
++ local 'SPACE=[[:space:]]+'
+++ unsetopt
+++ grep -c '^shwordsplit$'
++ local is_wordsplit_disabled=0
++ '[' 0 '!=' 0 ']'
++ egrep -ao --color=never '"[^[:cntrl:]"\\]*((\\[^u[:cntrl:]]|\\u[0-9a-fA-F]{4})[^[:cntrl:]"\\]*)*"|-?(0|[1-9][0-9]*)([.][0-9]*)?([eE][+-]?[0-9]*)?|null|false|true|[[:space:]]+|.'
++ egrep -v '^[[:space:]]+$'
++ '[' 0 '!=' 0 ']'
++ parse_value
++ local jpath= isleaf=0 isempty=0 print=0
++ case "$token" in
++ throw 'EXPECTED value GOT EOF'
++ echo 'EXPECTED value GOT EOF'
EXPECTED value GOT EOF
++ exit 1
+ challenge_uris[${idx}]=
+ remove_lock
+ rm -f /share/homes/jorhett/dehydrated/lock

One would assume the problem comes from it being a busybox shell...

@danimo tried requesting a certificate using openwrt with its version of busybox and tools and it worked without any issues.
The referenced change also shouldn't make a difference as it's completely separate code.
I can't keep supporting outdated / minimalized versions of weird alternative tools, it's hard enough to check if the normal versions work. You are free to contribute a patch yourself (or just keep using an older version), but I'm closing this issue as wontfix for now.

sorry for replying to a closed issue, I just hat the same error
EXPECTED value GOT EOF
I had an old CA URI in my config
CA="https://acme-v01.api.letsencrypt.org/directory"
which I deleted to fix the issue.


Use v-model for inputs

Use v-model logic.
Issue #190

This change is

Thanks for this! Would you also please also add this v-model reactivity to NumberInput.vue? We will need to make use of the number input widget very soon for a couple new features that the backend is building. This should probably be updated whenever the user hits enter (which should remove focus from text entry) or when the user clicks out of the input box (and therefore removes focus from the text entry).

You right, I must watch on every inputs. We have to see every input as a HTML Input and use v-model on it.

Thanks for this change! It also reminded me that you made your excellent feedback on my PR shortly after I submitted it, and I don't think I addressed that. I'm going to open it up so I don't forget again.
Is it possible to avoid the unknown type? For example, can we use a { minWidth: string } type, or define an interface?

Of course

Question (not requesting a change): what should determine whether a property is camelCase or kebab-case? I see you changed activeEntry to v-model:active-entry and :widthChanged to @width-changed. Is it everything except v-bind:foo (shorthand :foo) items? I want to learn the pattern for what I presume is the best practice in Vue so I can follow it from now on if I can remember to.

@Keavon I used kebab-case for props because this is a style recommandation from Vue (link). In HTML, it is more common to use kebab-case, where as in Javascript camelCase. Vue do the translation for you, it's not a problem. If you were using JSX, camelCase for props would be prefered.

I saw that we cannot use shortcuts for development case (opening inspector or refresh the tab). It could be cool to allow these shortcuts in development environment for ease.

Hi @FuriouZz, I just wanted to check that you saw my previous comment. If you don't have time to add that functionality, I can do it over the next few days. It'll be needed for setting opacity which @geom3trik is working on.

I'll go ahead and merge this and one of us can implement the functionality I described above.


The function fails to execute

Here is a JSON file, returned by a web-service
{"status":true,"data":{"minute":{"eth":64.73209428000526,"dollars":0.03445805896294384,"bitcoins":0.00006084816862320494},"hour":{"eth":3883.925656800315,"dollars":2.0674835377766305,"bitcoins":0.0036508901173922964},"day":{"eth":93214.21576320757,"dollars":49.61960490663913,"bitcoins":0.08762136281741512},"week":{"eth":652499.510342453,"dollars":347.33723434647396,"bitcoins":0.6133495397219059},"month":{"eth":2796426.472896227,"dollars":1488.588147199174,"bitcoins":2.6286408845224534}}}
The function "JsonConverter. ParseJson" cannot parse this JSON. It crashes somewhere inside. It's a correct JSON. Why does it crash?

Hi,
writing your JSON in a txt file and parsing it with the following code I encounter no errors...
As usual, after the "STOP" command, you can look to the variable "Parsed" in the "Locals Window" to see the parsed content.
Dim FSO As New FileSystemObject
Dim JsonTS As TextStream
Dim JsonText As String
Dim Parsed As Dictionary

' Read .json file
Set JsonTS =<EMAIL_ADDRESS>excel\temp.txt", ForReading)
JsonText = JsonTS.ReadAll
JsonTS.Close

' Parse json to Dictionary
' "values" is parsed as Collection
' each item in "values" is parsed as Dictionary
Set Parsed = JsonConverter.ParseJson(JsonText)

Stop

Hi,
writing your JSON in a txt file and parsing it with the following code I encounter no errors...
As usual, after the "STOP" command, you can look to the variable "Parsed" in the "Locals Window" to see the parsed content.
Dim FSO As New FileSystemObject
Dim JsonTS As TextStream
Dim JsonText As String
Dim Parsed As Dictionary

' Read .json file
Set JsonTS =<EMAIL_ADDRESS>excel\temp.txt", ForReading)
JsonText = JsonTS.ReadAll
JsonTS.Close

' Parse json to Dictionary
' "values" is parsed as Collection
' each item in "values" is parsed as Dictionary
Set Parsed = JsonConverter.ParseJson(JsonText)

Stop

Hi @AlekseyGor I'm sorry you're having an issue with the library, but I was able to successfully parse this json with no errors. I'll be happy to look at it further if you can include a more complete test case.


Merge from upstream repository.

This repository is automatically updated from the upstream repository.  See CONTRIBUTING.rst for instructions to contribute a change there.


Fix some typo in the admin manual.

Feel free to enrich the paragraph.

lol i have no idea what i was doing. thanks for spotting


Routing Tiny Icon

Plz add Icons for route and map

Thanks AakbariP - do you have any example icons we can use as a template?

Some nice bases : https://fontawesome.com/icons?d=gallery&q=map
(From a concurrent :scream: )

Just to be aware, Feather Icons has a pin icon that is 322 bytes and a map icon that is 373 bytes.
https://feathericons.com/?query=map
So maybe the map sign icon (seen in the first search result adrienluitot linked to) would be a good choice to give more options!

Would OSGeo icon and MapServer icon valid candidates?
As I have them but must make them fit in 1KiB...

If they're popular & recognisable services, sure.

No action after a year. Closing. Feel free to open a new issue if there's a specific service's icon you want.


[module/memory] Display MiB instead of GiB when GiB value is less than 1GiB

Is your feature request related to a problem? Please describe.
I find more intuitive if the memory/swap values are displayed in MiB instead of GiB when the value is less than 1 GiB, for better precision.
For example, display 512 MiB instead of 0.50 GiB.
Coming from i3-status, which does this by default, I find this more appropiate
Why does polybar need this feature?
I think that when values are lower than 1GiB is better to see their MiB value: we have an higher precision and the same number of digits.
Describe the solution you'd like
In addition to the already existing label tokens:
;   %gb_used%
;   %gb_free%
;   %gb_total%
;   %mb_used%
;   %mb_free%
;   %mb_total%

add something like:
;   %mb_gb_used%
;   %mb_gb_free%
;   %mb_gb_total%

that show the memory value as described earlier.
I'd like the same options available also for swap.

Hmm good idea :+1:
But, I'd opt for different names:
;   %used%
;   %free%
;   %total%
;   %swap_total%
;   %swap_free%
;   %swap_used%

These would work similarly to %upspeed% and %downspeed% in the network module.


Tumblr Rip Error

When I add this link from Tumblr
http://rapepuppy.tumblr.com/tagged/me
It gives me this error
Downloading http://api.tumblr.com/v2/blog/rapepuppy.tumblr.com/posts/photo?api_key=v5kUqGQXUtmF7K0itri1DGtgTs0VQpbSEbh1jxYgj9d2Sq18F8&offset=0&tag=me
Rip complete, saved to G:\Images\Rips\tumblr_rapepuppy.tumblr.com_tag_me
Failed to load http://api.tumblr.com/v2/blog/rapepuppy.tumblr.com/posts/photo?api_key=v5kUqGQXUtmF7K0itri1DGtgTs0VQpbSEbh1jxYgj9d2Sq18F8&offset=0&tag=me after 1 attempts

@tehloxely which version of ripme are you using? Have you tried updating to 1.3.0. This should be fixed (you'll see a new API key in the log (besides v5kUqGQXUtmF7K0itri1DGtgTs0VQpbSEbh1jxYgj9d2Sq18F8)

I didn't see there was an update. I tried hitting Update on the version that I have v1.2.13. It worked on the new version. Thank you.

@tehloxely Yeah, I'm working with @4pr0n to get the website updated with a version that will know to look on GitHub for updates in the future. Until that happens, it's unfortunate, but the only people who get updated will be the ones that come to GitHub and notice there's an update available.


Remove instanceof checks

[x] has-reproduction
[ ] feature
[x] blocking
[ ] good first issue

As discussed in the graphql project (https://github.com/graphql/graphql-js/issues/491)
instanceof causing problems every time I use graphql. In graphql-tools I get the deceptive error messages like Error: User was defined in resolvers, but it's not an object
This error is caused by instanceof in
https://github.com/apollographql/graphql-tools/blob/master/src/schemaGenerator.ts:
function getFieldsForType(type: GraphQLType): GraphQLFieldMap<any, any> {
  if (
    type instanceof GraphQLObjectType ||
    type instanceof GraphQLInterfaceType
  ) {
    return type.getFields();
  } else {
    return undefined;
  }
}

Since dependencies have there own version of graphql, this code results in a useless undefined being returned, and thus a different error up the stack.
Repro: Install a library like apollo-test-tools along with graphql-tools so two different graphql versions exist:
├─<EMAIL_ADDRESS>│  └─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>getFieldsForType fails silently.
Solution: Stop using instanceof so graphql version mismatches don't matter.

This is a well-known problem with instanceof and duplicate npm package versions, but what would you suggest instead? Without an alternative to instanceof, the only solution is to make sure you aren't using multiple copies of the package.
Ideas:

If GraphQLObjectType.prototype had a Symbol key that identified it across multiple copies of the package, we could test for that instead of using instanceof, but that requires cooperation from the upstream graphql project.
Perhaps graphql-tools could use global state to guarantee there's only one authoritative copy in use, though that doesn't necessarily solve the problem of multiple copies of the graphql package.

Hi Benjamin,
Thanks for your reply. As was discussed in the graphql thread, I think it might be best to simply rely on duck typing--does the instance in question have a getFields method. Is it possible under normal circumstances to pass some other GraphQl instance that has getFields but isn't one of these classes? Relying on a symbol would be okay if it resolved to the getFields method, but just having a symbol marking the classes seems problematic if there are major interface changes over time.
My problem was stemming from using npm/yarn link so I could reference my own packages locally. It forced me to make graphql a peer dependency in all packages and have all of the packages that use it link to the one version installed in my main application. That was the only way to get past instanceof.


Deploying with Helm Permission denied (publickey)

Hi,
git clone of "git@github.com:clockworksoul/helm-elasticsearch.git" is not allowed. Permission denied (publickey).
Can you update please?
Thanks.

Thanks Pires! i saw you removed -  type: LoadBalancer on both, kiban and elastic service. ant reason?
Thanks

Yes. Kubernetes integration with cloud-providers, such as GKE, would create Internet-facing load-balancers by default.

Thanks Pires. for me , i'm using azure  - ACS. so it is not a default.
By the way, on kibana services it was an issues about "accessing to kibana -  #119
I saw the solution was to comment both, #        - name: SERVER_BASEPATH
value: /kibana:5601.
So now it is Ok?
Thanks!


frontend: Added FAQ Section to Footer

Add FAQ section to footer of homepage
Added a Frequently Asked Questions (FAQ) section to the footer of the homepage. The FAQ component is now integrated into the Footer component. The styles are adjusted to maintain a consistent look, and the dark mode is supported.

In light mode

in Dark Mode

Issue: #70

The FAQ section is assigned already to someone else, kindly go through the issues and check  if I've assigned someone, because your effort goes in waste if I've already assigned aomeone and you are working  on it.


new boto errors

String checking always tricky.
UnauthorizedOperation is probably a bit broad to pass through, but, seemed to run fine enough for our account.

trying to merge into my fork, whoops.

@dwanderson-intel Have you seen these exception types? If so, we'd love to have your change upstream :-)

Thanks for the prompt follow-up!
I'll try to poke around and see - the renaming of the AccessDenied is maybe just a botocore version change; I'll double check what I have.
UnauthorizedOperation seems to be related to region-blocking that my company has across all AWS accounts, but I'm not sure how to make it more granular / appropriate to ignore (eg if someone didn't have the SecurityAudit IAM Policy, they might get blocked from a lot of things and we'd want to alert them).


add adapter for teambition/gear web framework

gear: https://github.com/teambition/gear

Thanks for contributing!


Fails with recent vars::i

Downgrading to CXW/vars-i-1.07.tar.gz does as a workaround.
Sample pass report with vars::i 1.07 http://www.cpantesters.org/cpan/report/6213b70a-7f27-11e9-ad21-6fb9494e4ebb
Report from same perl after upgrade: http://www.cpantesters.org/cpan/report/304f66ea-d69f-11e9-8956-bf4525a806fc
When I downgrade this same perl to CXW/vars-i-1.07.tar.gz, then the test passes again.

Thanks!  I'll take a look.

Looks like it's indeed triggered by cxw42/perl-vars-i#2 - see https://github.com/cxw42/Perl-vars-i/commit/caa9cf2c9242ba0fe9acc332228633c08fb09f70 , https://github.com/cxw42/Perl-vars-i/blob/caa9cf2c9242ba0fe9acc332228633c08fb09f70/lib/vars/i.pm#L22-23 .  vars::I doesn't distinguish $=>[] (here) from @=>[].
I can add that to vars::I but first want to investigate why this module didn't die, and also didn't fail.  Single coderef should have worked, at least somewhat.

@andk Would you please try https://github.com/cxw42/Perl-vars-i/releases/tag/v1.900000 and let me know how it goes?  It is a TRIAL release and works in my testing.  Thanks!

On Sun, 15 Sep 2019 19:29:49 -0700, Chris White<EMAIL_ADDRESS>said:

@andk Would you please try
https://github.com/cxw42/Perl-vars-i/releases/tag/v1.900000 and let me
know how it goes? It is a TRIAL release and works in my testing.
Thanks!

Looks good (but you know, "Testing shows the presence, not the absence of
bugs". Dijkstra (1969)) :)
Thanks,
andreas


TO DO: Rewrite nomadbsd-adduser-gui in Python

Write in the comments if you are interested.

For clarification, nomadbsd-adduser is the Qt tool for added preconfigured users?

Issue moved here


[incubator/sparkoperator] Fixed malformed CRD manifests

Signed-off-by: Yinan Li<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Fixed malformed CRD manifests introduced in https://github.com/helm/charts/commit/0f5eef548a24e49376ebdd249af322bb5ed47531.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @yuchaoran2011


feat: deprecate custom decorators

This PR marks the "registerDecorator" is now deprecated. The
decorator API exposes a lot of internal structures that
should not be part of the official API. An alternative
API can be discussed at #1574

"Handlebars.registerDecorator" now logs a warning
"Handlebars.registerDecoratorWithoutDeprecationWarning"
can be used in order to omit the warning, when
developers have read the notice.
(The inline-decorator is using this function now)

I would value comments about whether this is the correct way to introduce a deprecation.
My thoughts:

Pro: People only read a changelog when they have build failures. A deprecation notice in the build
log might be more visible than an entry in the release-notes
Contra: The warning will probably appear in the browser-console of end-users. This may not be
what developers want. In some cases, developer my have a hard time removing the warnings,
because they don't have direct access to the code that uses Handlebars. (like this comment suggests)
Contra: The message may not be as visible as I intend, if it is just in the build log and in the browser-console.

@wycats, @ErisDS opinions?


Language-wise setting for indents

Is your feature request related to a problem? Please describe.
I code in multiple languages and use different indent levels for each one, e.g.: 4 for Python, 2 for HTML
Describe the solution you'd like
Suggestions:

Language-wise setting for indents
If the first 2-3 lines of the file follow a particular indenting pattern (say 2 spaces), the editor could recognize that and use it for the rest of the file. This can override the default setting.

Describe alternatives you've considered
None
Additional context
None

2. If the first 2-3 lines of the file follow a particular indenting pattern (say 2 spaces), the editor could recognize that and use it for the rest of the file. This can override the default setting.

That's how it works currently

@panekj It's not working with HTML for me. I've set the default in the settings as 4, and am trying with 2 spaces in HTML.

Will close the issue because my problem seems to be solved with the latest update.


Projects does not appear in the cvat after installing

I noticed that there is a very nice and useful feature Projects in the cvat.org but it does not appear in the cvat after installation from the github.

@schliffen Please fill the issue template.

Probably your version of code doesn't have the feature. I will close the issue. If you can provide more details and you are sure that it is a problem with CVAT, don't hesitate to reopen.


Command Line options

Hi there Finnaly i have a little time to try out the new converter it would be great if you had a command line option list or help maybe inside a the program as well.
I'd like to ask you how to convert multiple input files to one cloud withou merging them beforehands. I'm talking about a lot of clouds like 5 to 10 hundred scan location so it cannot fit to the 2047 character long command line limit. So the best way would be that to place the urls to a file ad then i can add that single file as a source...
I tried to search the incremental convert option, but for that i would have to find the global AABB matrix i think, and that takes long time.

Hi, if list the directory as the input it'll process them all.
PotreeConverter C:/directory -o C:/converteddirectory
I think there's a way to designate a file list too as input, . I can't seem to find that example. Something like this:
PotreeConverter C:/filelist.txt -o C:/converteddirectory --filelist

2.0 doesn't have the list of files argument, but putting the files in a directory and specifying the directory as input should work.
The 2047 character command line limit might be a specific command line application limit? I think I've called PotreeConverter with way more characters using launch.json. If you custom compile PotreeConverter and then open the project with vscode, you can execute the launch.json config with ctrl + F5. I'm almost always calling PotreeConverter like that because it's very convenient once it's set up.

yes it is a batch script i don't have time to rewrite the whole converter subsampler script. i never run the same files always differents. the directory option can be easily made by script. thanks


When state has few terms compared with operator, faster to do direct…

… expectation value instead of projective approach

Codecov Report
Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (f182e2c) 75.91% compared to head (da42a45) 75.74%.

Files
Patch %
Lines

symmer/operators/base.py
22.22%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
- Coverage   75.91%   75.74%   -0.17%
==========================================
  Files          35       35
  Lines        3932     3934       +2
==========================================
- Hits         2985     2980       -5
- Misses        947      954       +7

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


Update README with pnpm config

Thanks for this @robin-whg, much appreciated! I'm going to make some small tweaks to the placement and wording then we can get this merged into main 💪


Vue 3 upgrade - Stars in client display get focus on tab

In the user/client display, tabbing through the application will select the star / rating component for Subjects.  The value of this can then be changed with the keyboard.

PR: https://github.com/NationalSecurityAgency/skills-service/pull/2660

:+1:


Problem to add a user to admin group

Hello,
I have installed terrakube and created an oidc connector for keycloak. The login works without any problems, but I can't add myself to the admin group.
I have made the following configuration:
dex:
  config:
    connectors:
    - type: oidc
      id: XXX
      name: XXX
      config:
        issuer: https://id-test.XXX.de/realms/XXX
        clientID: terrakube
        clientSecret: XXX
        redirectURI: https://terrakube-api.XXX.XXX/dex/callback
        basicAuthUnsupported: true
        scopes:
          - profile
          - email
        insecureSkipEmailVerified: true
        insecureEnableGroups: true
        getUserInfo: true
        providerDiscoveryOverrides:

    issuer: https://terrakube-api.XXX.XXX/dex
    oauth2:
      responseTypes:
      - code
      - token
      - id_token
    staticClients:
    - id: XXX
      name: XXX
      public: true
      redirectURIs:
      - https://terrakube-ui.XXX.XXX
      - /device/callback
      - http://localhost:10000/login
      - http://localhost:10001/login
    storage:
security:
  adminGroup: "TERRAKUBE_ADMIN"
  dexClientId: XXX
  dexClientScope: email openid profile offline_access groups
  dexIssuerUri: https://XXX/dex

After logging in, I always get the "grant access" window, after which I continue to the start page, but then I can't do anything else. The following entry appears in the browser console: ajaxIntercept.js:47 - GET https://terrakube-api.XXX.XXX/api/v1/organization 401 (Unauthorised)
In the Network Trace there ist the following:
Www-Authenticate: Bearer error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"
In the output of the Dex container I get the following:
time="2024-02-09T11:23:30Z" level=info msg="login successful: connector \"XXX\", username=\"Patrick Schmidt\"<EMAIL_ADDRESS>email=\"XXX.XXX@XXX.XXX(unverified)\", groups=[\"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"XXX\" \"TERRAKUBE_ADMIN\"]"

XXX is hidden for this issue

In the log of Dex the admin group is included, but I cannot perform any actions in the interface, there is always an HTTP 401.
We provide kubernetes with rancher and rke2.
We dont Use nginx as ingress controller in our cluster.
We use the netscaler ingress controller. So the nginx annotations does not have any effect.
Anyone can help?
Thank's a lot
Patrick

fresh installation with fresh secrets has helped

Hello @patsch9, I am glad that you were able to fix your issue, just one small comment about your configuration yaml, dont forget to change the default values for the token security
security:
  patSecret: "AAAAAAAAAAAAAAAAAAAA"
  internalSecret: "BBBBBBBBBBBBBBBBB"

Reference: https://docs.terrakube.io/getting-started/deployment/token-security


adding Upgrade Command for Core

Common
Upgrade
Checks and optionally installs core upgrades.
$ wireshell upgrade

Available options:
$ wireshell upgrade --dev --just-check --just-download

Output Example
❯ wireshell upgrade

A ProcessWire core upgrade is available master 2.6.0

  Downloading ProcessWire Version 2.6.0...
    9.35 MB/9.35 MB ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  100%

  Preparing new core version...

  Upgrade files copied.
  Installing new core files.

 Your index.php file is confirmed identical to the one included
  with ProcessWire version 2.6.0 so it should be safe to replace
  without further analysis.

  We have detected that your .htaccess file may contain site-specific
  customizations. Please double check before replacing it.

  Upgrade completed.
  Now double check that everything works.
  You have to replace htaccess.txt manually.

I'm extremely impressed! Thank you for another contribution! Will check it out over Pentecost Pfingsten

:+1: Great stuff!

Tried it, love its ease of use. In my test setup, I had a little CHMOD issue though. But maybe it's connected to my setup, MAMP or a combination of both. Either way - thanks again! :)


Refs 2443: fix db migration

Summary

replaced old migrations with new ones

Testing steps
Checklist

[ ] Tested with snapshotting feature disabled and pulp server URL not configured if appropriate

https://issues.redhat.com/browse/HMS-2443


Added a callback called cleanup to do additional tasks before removing animations

Hello,
I have created a new callback called 'cleanup' which can be called with the hook 'cleaner'. What I wanted to achieve is as follows:
I wanted to write an animation where on the complete callback, I change the position to absolute because it's place is taken up by another element. Now, once the animation was completed the position was set to absolute. But on reset, there was no way for me to set the target's position back to a relative which is what I wanted to do. Right now, I am unable to manipulate the position so I had to find a workaround like this. This is not very specific to my need and I feel many people can use a cleaner function to do something before resetting.

Hey, any update on the status of the pull request? It's been 3 months and I feel this is a very useful feature, a response will be highly appreciated.

Would begin() not do the trick if your problem is setting it back when resetting?


Enhancing the potential usage of CommandsFramework by making dispatch() public.

Most of my reasoning behind the changes are listed in the mile long description on commit https://github.com/l7ssha/nyxx/commit/de4e580c9aa7ebb828b22bd9f6f3a2c2d8329fad. (For clarity; a guild's stream is a stream that only contains message events for that guild)
The basic gist of it is it'll make it easier for users to make their own handler that triggers commands but still gets the features that CommandsFramework offers (command discovery, the metadata tags, etc...).
A potential flaw in this I see is that if a user defines a prefix but then tries to also manually dispatch events, the bot would still respond to the defined prefix when CommandsFramework is setup (assuming a stream isn't given). But if the user didn't define a prefix, the bot would use the mention which would allow for a custom prefix passed to dispatch and a constant trigger method that would be out of the way of conflicts with other bots.
I dunno if this is exactly a proper idea for the way the library works.

Can you provide example usage of this feature?

An idea could be:
import 'package:nyxx/nyxx.dart';
import 'package:nyxx/Vm.dart';
import 'package:nyxx.commands/commands.dart';

Future<void> main() async {
  Nyxx bot = NyxxVm("legit token");
  CommandsFramework handler = CommandsFramework(bot)..discoverCommands();

  await bot.onReady.first;

  for (Snowflake guild in bot.guilds.keys) {
    var stream = await guildStream(guild, bot.onMessageReceived);
    //Imagine there's a proper way to get a guild's prefix here & isolates
    //all this instead of a for each loop
    String prefix;
    if(guild.id == 1)
      prefix = "1";
    else
      prefix = "2";

    stream.listen((e) {
      handler.dispatch(e, prefix: prefix);
    });
  }
}

Stream<MessageEvent> guildStream(Snowflake guildID,
  Stream<MessageEvent> source) async* {
  await for(MessageReceivedEvent msg in source) {
    if(msg.message.guild != null && msg.message.guild.id == guildID)
    {
      yield msg;
    }
  }
}

A better usage could be seen here (big work in progress be warned):
https://github.com/One-Nub/remindme-bot/blob/master/src/main.dart#L33
https://github.com/One-Nub/remindme-bot/blob/master/src/GuildHandlerUtils.dart#L19

Okay seems cool to have feature like that. I will suspend this PR for some time because I just started working on NNBD in nyxx

@One-Nub can you apply appropriate changes to changed api?

Yea probably, I'll have to read up on the nndb syntax a bit more but then I should be able to

What about command from DM's? Also I think api would look more consistent by enhancing CommandsFramework with optional callback which will provide guild (or null if dm (?)) or async generator based on mentioned before data. That approach should be also more resource efficient, esspecially memory, It would look like:
import 'package:nyxx/nyxx.dart';
import 'package:nyxx/Vm.dart';
import 'package:nyxx.commands/commands.dart';

Future<bool> commandCallback(Guild? guild, String messageContent, MessageReceivedEvent event) async {
  if(guild == null && messageContent.startsWith("prefix1")) {
    return true;
  } else if(messageContent.startsWith("prefix2)) {
    return true;
  }

  return false;
}

Future<void> main() async {
  Nyxx bot = NyxxVm("legit token");
  CommandsFramework handler = CommandsFramework(bot, commandCallback)..discoverCommands();

But I don't know if it meets all your thoughs about that feature

I mean quite honestly I'm having a hard time understanding where commandCallback would fit inside the api. So with passing commandCallback would there be something inside the constructor that would dispatch based off of if it was a guild or a DM? I suppose that idea appears to work if you want a separate prefix in the DMs (so a public prefix) but how would one go about telling the callback object what prefix2 would be?
The example (I gave) above is a pretty isolated scenario where one would want a specific prefix in just one guild but if I wanted a specified prefix in multiple guilds I would have to have several callbacks(?).

Ok it took a bit but I think I'm understanding more now your thoughts on how commandCallback would work.
Just for clarification would that be something the user would try to implement and then pass to commandsFramework to use (basically your example?) & it would use that (assuming it just returns a bool) to determine if it should dispatch?
That's pretty much the understanding of the idea I've had.

I think it serves same or similar functionality for more consistent and readable API.
Future<bool> commandCallback(Guild? guild, String messageContent, MessageReceivedEvent event) async {
  if(guild == null && messageContent.startsWith("prefix1")) {
    return true;
  } else if(guild!.id == 67 && messageContent.startsWith("prefix2")) {
    return true;
  } else if(messageContent.startsWith("prefix2")) {
    return true;
  }

  return false;
}

it could be even revered into your example
Future<bool> commandCallback(Guild? guild, String messageContent, MessageReceivedEvent event) async {
  String prefix;
  if(guild.id == 1) {
    prefix = "1";
  } else {
    prefix = "2";
  }

  if(messsageContent.startsWith(prefix)) {
    return true;
  }

  return false;
}

Oh that's nice, I like that idea. Definitely would keep the api more readable.

@One-Nub Would you like to implement this feature in that form or I can start working on this?

You can go ahead and start on it

Cool, all right. This PR will stay open as he is source of informations. I will created another PR with other version of this feature.

Feature merged in #58.


Update sites.yml

https://gtmetrix.com/reports/v-glb.github.io/PVpMgsWU/

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: v-glb.github.io
  url: https://v-glb.github.io/
  size: 88.8
  last_checked: 2023-07-11

GTMetrix Report: https://gtmetrix.com/reports/v-glb.github.io/PVpMgsWU/

Cool concept!


Job starsolo_count.run_starsolo:NA:1 exited with return code 1 which has not been declared as a valid return code. See 'continueOnReturnCode' runtime attribute for more details.

I am running StarSolo on SeqWell-prepared scRNAseq samples. This is the error message on Terro.bio:
Failures in starsolo_workflow.starsolo_count / index 0 / attempt 1
[0:{"message":"Workflow failed"
"causedBy":[
0:{
"message":"Job starsolo_count.run_starsolo:NA:1 exited with return code 1 which has not been declared as a valid return code. See 'continueOnReturnCode' runtime attribute for more details."}]}]
When I look into the logs, this is what I see:
Traceback (most recent call last):
File "", line 184, in
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['STAR', '--genomeDir', 'genome_ref', '--runThreadN', '16', '--outFileNamePrefix', 'result/', '--soloType', 'CB_UMI_Simple', '--soloCBstart', '1', '--soloCBlen', '12', '--soloUMIstart', '13', '--soloUMIlen', '8', '--outSAMtype', 'BAM', 'SortedByCoordinate', '--outSAMattributes', 'CR', 'UR', 'CY', 'UY', 'CB', 'UB', '--readFilesCommand', 'zcat', '--readFilesIn', '220209Lov_D22-122039_0/220209Lov_D22-122039_2_sequence.fastq.gz', '220209Lov_D22-122039_0/220209Lov_D22-122039_1_sequence.fastq.gz', '--soloCBwhitelist', 'None', '--soloBarcodeReadLength', '0', '--soloFeatures', 'Gene', 'GeneFull', 'Velocyto', '--soloCellFilter', 'CellRanger2.2', '8000', '0.99', '10']' died with <Signals.SIGSEGV: 11>.
I cannot think of how this sample is different from my other samples (which passed), and I do not understand the error message. Could anyone help me with troubleshooting what's going on?
Thank you.

Hi @ymjzhang ,
There are 2 possibilities:

Can you check "monitoring.log" in the execution folder of starsolo_count task of your job? It monitors the memory and disk space usage during the execution. If you see a high percentage (say > 95%), then probably the error is due to out of memory or disk space. If in this case, you would need to increase them, and resubmit your job.
Another issue could be due to STARsolo itself, as we've encountered similar issues with Velocyto feature set. If your job was running with star_version set to 2.7.10a, which is the latest version we provide, then you may create an issue in STAR repo, with log files specified in starsoloLogs output of your job attached.

Update: I've just made STAR v2.7.10b available for starsolo workflow. You may rerun your failed sample with this version (by setting star_version input to "2.7.10b"), and see if the issue could be fixed by this new version.


Update index.md to correctly reflect aarch64 OS

Per the script @ https://get.docker.com/ aarch64 is supported on Ubuntu, Debian, fedora & CentOS but the table on this page didn't correctly represent aarch64 fedora support. This change adds that check mark to the fedora row in the aarch64 column.

Deploy preview for docsdocker ready!
Built with commit 5c7fe9a864460b3355bb38da30352e1f1a90813e
https://deploy-preview-7799--docsdocker.netlify.com

editorial review. GTG.


Remove dead Code in Server

There is a API Endpoint that is never used.

Will do as soon as the other server PR is merged (the other PR is neccessarry for this i think)


python3Packages.zwave-js-server-python: 0.35.3 -> 0.36.0

Description of changes
https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/0.36.0

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 170084 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.zwave_js

2 packages built:

python310Packages.zwave-js-server-python
python39Packages.zwave-js-server-python


Add User Defined Application Directory Flag

This commit mimics the behaviour of nwggrid in which the "-d" flag ("--dir" in our case) override the directory in which we search for applications.
Ex: nwg-drawer --dir $XDG_DATA_HOME/application/games
Will display only the applications found in '$XDG_DATA_HOME/application/games' and nothing else.
This makes reference to issue #34 in which I was hoping to achieve the same behavior but using a different strategy. At the time you proposed a solution which worked fine but ended up not meeting my needs due to other problems. It seems however the branch with the solution was never merged and is now dropped. I believe this to be an overall better way to deal with the problem because has a more direct and intuitive approach providing much power to the user select what application he wants to show up.
I must do a disclaimer that I am not in any way an experience Go programmer, in fact I mostly only work with much higher level languages (like Julia and R) and for Data Science purposes. That said I did spend a fair amount of hours reading your code and think this solution is particularly innocuous. As you may attest.
I have also tackled the other problem I had in issue #34: Adding Custom Categories and if you are receptive I am willing to make another pull request.  That, however, is a much more consequential change.

If it comes to modifying categories: please don't.

That's a shame. I am very happy with the results and don't think the necessary code is adding too much complexity.

Well, this is only needed for your, very specific use case, while I'd like to keep the app as simple, as possible. But of course, show me the code.