Bug: get_config() not in MaxViT

I got the following error when trying to train and save a model:
NotImplementedError:
Layer MaxViT has arguments ['config']
in `__init__` and therefore must override `get_config()`.

Example:

class CustomLayer(keras.layers.Layer):
    def __init__(self, arg1, arg2):
        super().__init__()
        self.arg1 = arg1
        self.arg2 = arg2

    def get_config(self):
        config = super().get_config()
        config.update({
            "arg1": self.arg1,
            "arg2": self.arg2,
        })
        return config

On further investigation, it was ModelCheckpoint which was culprit here as I used save_weights_only=False. Setting it to True resolved the issue.


Fix selfDeaf and selfMute being undefined if false #323

So uh since it's like this
"foo" || "bar"; // returns "foo"
false || "bar"; // returns "bar"
when selfMute/selfDeaf is false it jumps to the memberMap which doesn't have the property -> undefined
This doesn't apply to mute and deaf (well it does, but it's somehow already with the correct values in the membermap?) so I left it out there

typos, did alternate commit


404 status on downloading sample.csv file

wget https://raw.githubusercontent.com/dcmoura/blogposts/spyql_cell_towers/spyql_cell_towers/sample.csv  gives 404 status

Thank you, forgot to update the linked after merging to master. Here's the updated URL:
https://raw.githubusercontent.com/dcmoura/blogposts/master/spyql_cell_towers/sample.csv

Blogpost updated.
Thank you so much for contributing @maxlit :-D


[IT-3396] Use jinja linter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6

Relevant Lines:
6

💛  - Coveralls


Cannot update records in postgres, adminbro issues an insert instead of an update

We just setup adminjs with nestjs and typeorm. We cannot edit records at all, as editing them and saving the form causes an insert instead of an update on all record types.
These are just standard typeorm entities, with a bigint autoincrement ID, nothing fancy. What are we doing wrong?

@dziraf: how can we get help on this? We've got a problem here and with logging in, but no one seems to be replying to tickets

Need more information as I have no issues in my projects. Please share your models. Relations with eager loading (eager: true) often cause various issues

Sorry, I should have come up with a minimal repository. This one reproduces the problem: https://github.com/synic/adminjs-typeorm-minimal
I suspect it's our primary key that is causing the problem, but unsure how to resolve it: https://github.com/synic/adminjs-typeorm-minimal/blob/main/src/thing.entity.ts#L5

@dziraf sorry to ping, I know github notifications are noisy but unsure if you saw this. And thanks in advance

I did, I should have time to take a look tomorrow. In the meantime, can you check if, when loading your edit form (edit action's GET) the returned record has record.id and record.params.id defined?

Tracked down the issue to our Primary Key being of type bigint which in typeorm maps to a string, but is included in the Number data type mapping. This change seems to fix it:
https://github.com/SoftwareBrothers/adminjs-typeorm/pull/31


all: support context.Context instead of golang.org/x/net/context.Context?

The Context type will be in the standard library once Go 1.7 releases. Switch to the context.Context type before we make any API compatibility promises.
/cc @okdave @jba

This is bigger than just trace: it would be weird for the trace API to use 1.7's native Context, but the other APIs to still take Context as their first arg for all the calls.
This is an excellent reason for proposal golang/go#16339 which would let us solve this more gracefully.
But without that, I don't really know what/how to make the change. The only way to support both is to fork every single file into a 1.6 and 1.7 version. And we're committed supporting 1.6 until at least 1.8 is out, so there's a long time for which we'll need both.

(Thinking a little more – maybe we only care about returned Contexts? That would limit the scope a lot but we'd still have a weird inconsistency.)

How does this affect, if at all, the user experience for customers also using the google.golang.org/appengine package?
I wouldn't want to force users to do weird workarounds to trade x/net/context.Contexts for context.Contexts and moving the appengine packages to use the standard context.Context isn't going to be possible (without gri's aliasing proposal) in the near future.

How does this affect, if at all, the user experience for customers also using the google.golang.org/appengine packages

The suggestion also applies to the appengine packages. I can't see a point leaving appengine packages depending on x/net/context while migrating the cloud ones.
But apart from that consistency between appengine and cloud packages and the migration plan to "context", Go 1.6 promise seems to be a big blocker.

Even assuming we didn't support 1.6 on App Engine anymore now that 1.7 is out, we can't just break user code that potentially explicitly references x/net/context.Context. At least that's my opinion. @okdave?

appengine package migrated from appengine.Context to x/net/context.Context (see https://github.com/golang/appengine/commit/1c3fdc51e1021e4822cf8475c97d3a14a2a6648e). I don't see why "context" migration isn't possible given that it is more trivial if we don't have different API promises now because it is just an import path change.

That's right: we've made some strong commitments on backwards support for App Engine packages. Most of the time, developers won't notice the change but there are defintiely cases where they will need to update their code (datastore.RunInTransaction jumps out in my mind).
I honestly can't see an smooth way forward without some support from the language itself to let us consider the two Context types as equivalent.
One solution (which is really ugly) is two maintain two copies: one for 1.6 with x/net/context and one for 1.7 with context), differentiated by release tags. Since the context usage is so invasive, we'd end up with almost every file completely duplicated, so we'd want a programmatic way to keep them in sync. This would be jaw-droppingly awful, but at least users could control their migration.

@rakyll that change happened when managed VMs / appengine flex was still in early development (IIRC, we hadn't even opened it up to trusted tester at that stage) so we didn't break any users with that change.
The old appengine.Context type still exists for users using the legacy packages, and we still support it. In fact, deprecating those packages will be a long process and not something we can without a lot of notice at all.

(You can actually see that in @dsymonds comment at the bottom of that commit – we hadn't even anticipated using those packages for standard App Engine when the commit landed)

Yup, I agree. The only way we could break code like that is if we could give users a transition period and reasonable deadline. I can't see a good way to achieve that.

Actually it's a little easier. The change from appengine to google.golang.org/appengine was tricky (and will remain tricky to fully remove the former) because the former package is treated as part of the standard library on App Engine. It is included in the prod toolchain, and the deployed app doesn't include a copy of it. If we want to be able to rebuild already-deployed apps, we need to keep an appengine package around.
However, google.golang.org/appengine is not part of the prod toolchain. It is shipped along with deployed apps that use it. The only impact on changing external-facing code in that package (e.g. by switching away from the x/net/context.Context type) is that new deployments would fail. It wouldn't have any impact on already-deployed apps.
You'd need build tags (since we would need to keep the 1.6 -> 1.7 transition smooth), but it wouldn't be as fraught with peril as the previous transition was.
However, I'm not sure how important it is to transition right away. The two context types interoperate (the interfaces are equivalent). It's only an issue if you've got it in a func/interface signature that you're trying to use as a type, and that's not very common.

The only way we could break code like that is if we could give users a transition period and reasonable deadline. I can't see a good way to achieve that.

To be clear, I am not in the favor of breaking anyone overnight but would like to act on any plan to contribute the resolution of the fragmentation in context types.
The very compatibility issue @adamtanner mentions between appengine and cloud package users will exist between "context" and cloud users. The main reason why it is not a critical issue today is that we don't have any current users of the new "context" package but it is an unavoidable issue in the future. The long term solution would be being on the same page everywhere.

However, I'm not sure how important it is to transition right away. The two context types interoperate (the interfaces are equivalent). It's only an issue if you've got it in a func/interface signature that you're trying to use as a type, and that's not very common.

The only major point is to be on the same page with the rest of the community for compatibility and the timeframe is mostly dependent on how fast the community will act on the new context.Context type. App Engine packages are more isolated from the community-driven libraries and utilities and the cloud packages will likely to face the incompatibility issue sooner.

@rakyll It looks as if adoption of context is happening already. See https://github.com/julienschmidt/httprouter/pull/147 for example. If they merge, this will break a somewhat big list of other dependencies: https://github.com/julienschmidt/httprouter#web-frameworks-based-on-httprouter

Any update on this? There are a few crucial libraries I'm unable to use because of this.

@otraore Can you link me to code or describe more of what is blocking you about this?

https://github.com/go-chi/chi/issues/105 @zombiezen , If I recall correctly using libraries that use the built in context package doesn't play nicely with appengine.

@otraore I see.  What you're describing is a different issue than this one, but very closely related.  Your issue is that Go on App Engine Standard is on 1.6 (although we have 1.8 in beta right now!), which causes problems when you bring in a library that uses context from the standard library.
This bug is about trying to switch all of the imports of golang.org/x/net/context in the cloud.google.com/go/... packages to use the standard library context.  We haven't done this yet because of exactly the problem you have run into.  We want these libraries to work correctly on App Engine Standard, so we're using golang.org/x/net/context to workaround.
With the advent of type aliases coming in Go 1.9, golang.org/x/net/context.Context will become an alias for context.Context, so at least for this bug, the issues of importing golang.org/x/net/context will lessen for non-App-Engine users while still supporting Go < 1.8 on App Engine Standard.

Oh I see, thank you for clearing it up. Do you think it's wise to start a project on go1.8 beta for appengine? We'd very much like to use certain libraries but we also want it to run on appengine because it's an amazing platform. The dilemma is how long the beta will last before becoming stable.

Go ahead and start on 1.8 beta. It's very unlikely that you'll run into any
issues, and it shouldn't be too long before it makes it into GA.
On Mon, Jul 17, 2017 at 12:49 PM, Ousmane Traore<EMAIL_ADDRESS>wrote:

Oh I see, thank you for clearing it up. Do you think it's wise to start a
project on go1.8 beta for appengine? We'd very much like to use certain
libraries but we also want it to run on appengine because it's an amazing
platform. The dilemma is how long the beta will last before becoming stable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-go/issues/312#issuecomment-315846414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbCqg7li3zTFjnzwzEYDrT9z4e5E1M-ks5sO6ywgaJpZM4Jfhla
.

Thanks @derekperkins, will do. Looking forward to 1.8 being stable in the near future.

I am trying to use go1.8 beta appengine, and am running into errors with the function that @okdave was mentioning: datastore.RunInTransaction. The google.golang.org/appengine/ package is using "golang.org/x/net/context" while my code is using the built in context
Any way to update my local appengine package to use the built in context without actually editing the core package files?

It is not clear if this is a specific request for a change any more or whether it can be closed out. @zombiezen can you clarify?

IMO, there's no specific action that needs to be taken and this issue should be closed.  In Go 1.9, golang.org/x/net/context.Context aliases to context.Context, so this issue will just go away on its own.

Thanks. Closing.


Request: Two-Handed Melee Spell Combat Cheat

Essentially remove the free hand requirement in a similar fashion to the kineticist cheats?  Allowing for two-handed + dual-wield builds.

Two-handed should already be able to do this just fine, given that you can one-hand the weapon temporarily to cast without issue? I also have no problem with my Woljif casting while dual-wielding.


Error CS1061 'DbContextOptionsBuilder' does not contain a definition for 'UseInMemoryDatabase' and no extension method 'UseInMemoryDatabase' accepting a first argument of type 'DbContextOptionsBuilder' could be found (are you missing a using directive or an assembly reference?)

UseInMemoryDatabase is not being recognised by compiler in .Net Core 2.0 Unit test application. I'm using Microsoft.EntityFrameworkCore.InMemory 2.3 package and passing database name in the method but it's not valid.
Exception message:
Stack trace:
Error	CS1061	'DbContextOptionsBuilder<EmployeeContext>' does not contain a definition for 'UseInMemoryDatabase' and no extension method 'UseInMemoryDatabase' accepting a first argument of type 'DbContextOptionsBuilder<EmployeeContext>' could be found (are you missing a using directive or an assembly reference?)	EmployeesHierachry.Test

Steps to reproduce
Use code as below
var builder = new DbContextOptionsBuilder()
.UseInMemoryDatabase("EmpTestDB");
and compile will generate error
Further technical details
EF Core version: (found in project.csproj or packages.config)
Microsoft.EntityFrameworkCore.InMemory Version="2.0.3"
Microsoft.AspNetCore.All Version="2.0.8"
Microsoft.EntityFrameworkCore.Relational Version="2.0.3"
Database Provider:  Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE:  Visual Studio 2017 15.7.2

Need repro project for this given it works for others (and also in the unit test projects in this repo)

Hi Smit
You can see my test project repo at
https://bitbucket.org/dr_maqsood/employeeshierarchy/src/master/EmployeesHierachry.Test/

Thanks Smit for quickly recognising the issue and helping. I have fixed these issues 👍


gradle init on a Maven project using http: repo URLs fails to add allowInsecureProtocol = true to build.gadle

Expected Behavior
Running gradle init on a Maven project should create a Gradle project that is functional.
Current Behavior
When the Maven project uses an insecure URL for a repo, Gradle uses the same URL but does not add the allowInsecureProtocol = true flag so that the build will run.
Context
The build file must be fixed manually.  This may not be a bad thing as it points out the insecurity, but in that case I would at least expect a warning from 'gradle init'
Steps to Reproduce
Grab a Maven project that uses an insecure URL.  I used https://github.com/AlmasB/FXGLGames/tree/master/SpaceInvaders
Run "gradle init" to create a Gradle project from the Maven project.
Run "gradle build"
Your Environment
Gradle 7.0.2
OpenJDK Runtime Environment (Zulu <IP_ADDRESS>-CA-macosx) (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (Zulu <IP_ADDRESS>-CA-macosx) (build 25.282-b08, mixed mode)
macOS 11.4

Thanks for the report, this is indeed a good remark.
Would you consider looking into fixing that?
It would mean:

Warn that insecure protocols are used during conversion
Add the flag to the generated project.

I made an attempt.. but the current head of the git repo fails to build:
  2 artifacts failed verification:
    - google-java-format-1.7.jar (com.google.googlejavaformat:google-java-format:1.7) from repository Gradle Central Plugin Repository
    - javac-shaded-9+181-r4173-1.jar (com.google.errorprone:javac-shaded:9+181-r4173-1) from repository Gradle Central Plugin Repository

I don't have much time to spend on it and there will be a bit of a learning curve.  I think I found the right place to put this in the code:
gradle/subprojects/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java
After line 997, maybe something like:
            if (url.toLowerCase().startsWith("http:")) {
                // TODO: emit a warning
                statements.propertyAssignment(null, "allowInsecureProtocol", new LiteralValue(true), false);
            }

But I'm making a lot of guesses given that I can't build and test the code... Is that a "legacy" property? I don't know, I said false, but the url has legacy Property set to true.

Okay... using the contributing instructions I managed to get the build to work and confirm that the above change does the trick.  I'll add the warning and fight with git to see if I can put together a proper pull request.


How I can add new object in json

I am having two json i want to add the second json data in by parent json and us the newly created data to generate view.
Patent =
{
"name": "analytics",
"children": [
{
"name": "cluster"
},
{
"name": "graph"
    },
	{
        "name": "optimization"

        }]

}
Child
{
"name": "cluster",
"children": [{
"name": "AgglomerativeCluster",
"size": 3938
}, {
"name": "CommunityStructure",
"size": 3812
}, {
"name": "HierarchicalCluster",
"size": 6714
}, {
"name": "MergeEdge",
"size": 743
}]
}
Expected is
{
"name": "analytics",
"children": [
{
"name": "cluster",
"children": [
{"name": "AgglomerativeCluster", "size": 3938},
{"name": "CommunityStructure", "size": 3812},
{"name": "HierarchicalCluster", "size": 6714},
{"name": "MergeEdge", "size": 743}
]
    },
	{
        "name": "graph"

    },
	{
        "name": "optimization"

        }]

}

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.
When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗


Chrome can reconstruct Edge (javascript) Ranges, but not vice versa

I have written code that saves information about a javascript range, and another routine that uses that information to re-create that range.
I find that when I save a range in Microsoft Edge, Google Chrome can reconstruct it.
However, the converse is not true.
When I save a range in Chrome, Microsoft Edge cannot reconstruct it.
My code does work.  If I use it in Edge exclusively, I can save and recreate ranges.  Likewise in Chrome exclusively.  And as I said, it can take a range that was saved in EDGE, and reconstruct it in Chrome, so it works partly cross-browser.  But only partly.  You can't do the reverse.  I'll add more info later.

Are you talking about this Range? If so this is a browser API. You can search for an existing bug or file a new one on the Edge bug tracker.

Hi @gidmeister2, following up with this issue - have you opened this bug in the Edge bug tracker? If so, can you link it here?
In any case, I'll close this issue soon because there's no action to take on our end.

This is an Edge bug. Closing as External.


Changes in Global Replacement feature

[x] Global replace should work on the current and unedited pages.
[x] Rename the buttons in the global replace dialog box. Change "Apply" to "Yes", "Cancel" to "No".
[x] Also, the description of the above-mentioned buttons should be shown in the global replace dialog box.

All the above-mentioned tasks have been done. Please refer to commit number ed8488cc94c5dfdbf79557168e7dcb8400b4db07 and ecb68cac25b49bf87a2a8aeaad49daf8b88b680a.


Integrate mailchimp (or similar) into the Subscribe block

Description
Integrate a mailing list, probably mailchimp, into the Subscribe block. This requires setting up an account and integrate into the project. This task partially depends on #157.
Acceptance Criteria

[x] Setup mailing list account
[ ] Integrate into the project
[x] We might need to develop a small express server for this

We might consider using https://zeit.co/ with a lambda function for this. The free tier would be enough for us: https://zeit.co/pricing.

States of success and error already predicted and shared with the team.

Lambda function can be found here https://github.com/AfonsoVReis/zeit-mailchimp, tell me if you need permissions to access

@AfonsoVReis thanks for the code!
We actually ended up using a Gatsby plugin for this.


Always show full type?

Is there a way to always show the full type without having to manually call :EnToggleFullType?

I guess you can call the command in your vimrc to force it.
We had a discussion about it a while back just in case you're interested #290. SPOILER I'm on your side :)
You can add your thoughts on that issue, feedback is always welcome.
Closing this issue as a duplicate of #290


Many infra failures on Mac_arm64_ios%20run_debug_test_macos

https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64_ios run_debug_test_macos

cc @vashworth
FYI: https://github.com/flutter/flutter/pull/133788

Should we revert that change then?

@zanderso  can you please use the infra issue template from now on?

change is being reverted

Thank you sir!

It seems that there is some kind of delay/error between what the phone is actually doing and the command we use to list devices is reporting.
For some reason the xcrun xcdevice list shows the device as waiting for debug symbols. However if you launch xcode and look at the connected device it shows up as connected.

It will show that it is waiting for the debugger but in this case it was operational and not looking for debug symbols as reported in the xcrun command.
Something may be wrong with the bot/device.
But I will need @Victoria Ashworth's help on this.

I also tried restarting the device and it always returns to that state of looking for the debug symbols.

It seems that there is some kind of delay/error between what the phone is actually doing and the command we use to list devices is reporting.
For some reason the xcrun xcdevice list shows the device as waiting for debug symbols. However if you launch xcode and look at the connected device it shows up as connected.

It will show that it is waiting for the debugger but in this case it was operational and not looking for debug symbols as reported in the xcrun command.
Something may be wrong with the bot/device.
But I will need @victoria Ashworth's help on this.

This used to be an issue previously, but it was a one time thing, which got fixed when we went in and manually opened Xcode. Once we opened Xcode it sets things up and then things just worked.
Is this running the new Xcode?

I am guessing. There was no dialog though. The device appears to be fine. Just something up with it's status in the device list. It is running this version: xcode/14e300c/XCode.app

So I don't think the symbols stuff is the main issue here. I can take a look at that, but it's usually fixed by opening Xcode or deleting the existing symbols.
The I think the real issue is that it failed to open Xcode:
[INFO] : stderr from `open`:
No application knows how to open URL file:///opt/s/w/ir/cache/cocoon/dashboard/ios/Runner.xcodeproj/project.xcworkspace/ (Error Domain=NSOSStatusErrorDomain Code=-10814 "kLSApplicationNotFoundErr: E.g. no application claims the file" UserInfo={_LSLine=1489, _LSFunction=runEvaluator}).

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8771213845302282993/+/u/ios_debug_symbol_doctor/recover_with_120_second_timeout/stdout
Not sure why that's happening, though

Is it attempting to load the directory or everything in it?

Okay figured it out and fixed. So this bot hasn't been in use for a long time and didn't have any Xcode versions installed previously.
So the issue is the current version of Xcode we use on CI is 14.3.1, which requires macOS 13+. However, all of our bots are 12.6 (It's kind of surprising it's been working thus far and more things haven't broken).
I was able to resolve this by installing an older compatible Xcode version (14.2) on the bot. As long as it has an older compatible version, it's smart enough to know to use that one when opening Xcode, even is the newer version is selected via xcode-select. So I'm assuming the only reason this hasn't been an issue yet out in the wild is because all of our bots probably have older Xcode 14.2 still installed.
I filed an issue for us to prevent this in the future by adding tests to check if the Xcode version is incompatible before allowed it to be used in CI:
https://github.com/flutter/flutter/issues/133867

I confirmed the Mac_arm64_ios run_debug_test_macos ran successfully on flutter-devicelab-mac-38 in presubmit
PR: https://github.com/flutter/flutter/pull/133869
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64_ios run_debug_test_macos/345/overview
Closing.


Amplify Geo

Is this related to a new or existing Amplify category?
No response
Is this related to another service?
Amplify Geo
Describe the feature you'd like to request
Needed Features in Geo CLI amplify add geo

Auth Cognito Groups privilege's with regards to Maps.
Missing Esri Satellite (Imagery) Map Style

Describe the solution you'd like
Adding groups auth, since incurring auth error when using groups to access maps.
Satellite Imagery Map not in CLI
Describe alternatives you've considered
Adding Custom LocationService Policy to Auth groups manually in Auth Groups via IAM.
Modify ampliy cloudfomation resource to add Satellite map
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Closing as geo category has since been added to the CLI, https://docs.amplify.aws/cli/geo/maps/


Add a screenshot to an indexed item

We should store a screenshot of an indexed page.
I'm not sure whether we should put the image path in the index or the picture as a base64 string.

I was doing this but stopped doing it. The major problem is that these automatic screenshots may contain harmful or copyrighted content which should not be published on ahmia.fi!
One solution may be an external tool that enables you to select those screenshots which can be published before pushing them to public.


🔈Calling for help

Hey everyone,
I've been trying to put more focus on this open source library for sometime but I keep failing. Sorry!
I'd like to ask for your help. Is there anyone willing to co-maintain this package? Or if you've been using it a lot for your work and you'd like to take over I'm happy to transfer the package to your account.
Thanks everyone, hope the package helped make your life easier :)

Hi, I can do some contribution, specially to port it to Laravel 8


Hal doesn't build with unproven features for atsamd21e18a

Compiling current master (and it seems also the releases) for the samd21e18a target with the unproven feature errors out
atsamd/hal [master] λ cargo build --features unproven,samd21e18a
[...]
   Compiling atsamd-hal v0.7.4 (/home/soryio/usr/proj/181127-embedded_rust-69/atsamd/hal)
error[E0432]: unresolved imports `crate::gpio::Pb0`, `crate::gpio::Pb1`, `crate::gpio::Pb2`, `crate::gpio::Pb3`, `crate::gpio::Pb4`, `crate::gpio::Pb5`, `crate::gpio::Pb6`, `crate::gpio::Pb7`, `crate::gpio::Pb8`, `crate::gpio::Pb9`
 --> src/samd21/adc.rs:3:57
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pb2, Pb3, Pb4, Pb5, Pb6, Pb7,
  |                                                         ^^^  ^^^  ^^^  ^^^  ^^^  ^^^  ^^^  ^^^ no `Pb7` in `common::gpio`
  |                                                         |    |    |    |    |    |    |
  |                                                         |    |    |    |    |    |    no `Pb6` in `common::gpio`
  |                                                         |    |    |    |    |    no `Pb5` in `common::gpio`
  |                                                         |    |    |    |    no `Pb4` in `common::gpio`
  |                                                         |    |    |    no `Pb3` in `common::gpio`
  |                                                         |    |    no `Pb2` in `common::gpio`
  |                                                         |    no `Pb1` in `common::gpio`
  |                                                         no `Pb0` in `common::gpio`
4 |     Pb8, Pb9, PfB,
  |     ^^^  ^^^ no `Pb9` in `common::gpio`
  |     |
  |     no `Pb8` in `common::gpio`
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pa0, Pb1, Pb2, Pb3, Pb4, Pb5, Pb6, Pb7,
  |                                                         ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pa1, Pb2, Pb3, Pb4, Pb5, Pb6, Pb7,
  |                                                              ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pa2, Pb3, Pb4, Pb5, Pb6, Pb7,
  |                                                                   ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pb2, Pa3, Pb4, Pb5, Pb6, Pb7,
  |                                                                        ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pb2, Pb3, Pa4, Pb5, Pb6, Pb7,
  |                                                                             ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pb2, Pb3, Pb4, Pa5, Pb6, Pb7,
  |                                                                                ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pb2, Pb3, Pb4, Pb5, Pa6, Pb7,
  |                                                                                ^^^
help: a similar name exists in the module
  |
3 |     Pa10, Pa11, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8, Pa9, Pb0, Pb1, Pb2, Pb3, Pb4, Pb5, Pb6, Pa7,
  |                                                                                ^^^
help: a similar name exists in the module
  |
4 |     Pa8, Pb9, PfB,
  |     ^^^
help: a similar name exists in the module
  |
4 |     Pb8, Pa9, PfB,
  |          ^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `atsamd-hal`.

To learn more, run the command again with --verbose.

Oops, guess we should feature flag those and turn unproven on during testing.


Is there a way to know if token is expired

Hello, its me again, i was wondering if there is a method that I can call from a controller to know if a token has expired so that I can refresh it.

Refresh a JWT token programmatically is not a good idea, it needs to be done via a reel refresh system based on refresh tokens transmitted in the same time as the original token. Then you can use this second token to get a new one when the original expires. This is what JWTRefreshTokenBundle does, and it does it well :)
To give you a simple example where do this would be a security hole, let's say an user login for the first time to your application, and you have a controller action that renew a token every time the given one is expired. If an user comex back on your api two years later with its very first token, it will just work. We can't provide this kind of features or whatever solutions to come to this behavior without introducing bad practices and usages. Let's use JWT as JWT, namely a self-auto-invalidated token.
I hope you can understand this and find what you need in the mentioned bundle

For support questions, please use our lexikjwtauthbundle tag on stackoverflow.
Thank you


Creating a VirtualService with FQDN gateway using kube/crd/client.go fails

Describe the bug
I'm creating VirtualServices using the golang Pilot client here: istio/pilot/pkg/config/kube/crd/client.go
I'm using a FQDN for the gateway, as the VirtualService lives in a different namespace. However, the FQDN causes the VirtualService validation to fail with the error:
validation error: gateway is not a valid DNS1123 label: gateway.networking.svc.cluster.local
Perhaps the regex for validation here: https://github.com/istio/istio/blob/master/pilot/pkg/model/validation.go#L46
dns1123LabelFmt       string = "[a-zA-Z0-9]([-a-z-A-Z0-9]*[a-zA-Z0-9])?"
should be updated to that used by kubernetes for a subdomain [here] (https://github.com/kubernetes/kubernetes/blob/4905c339ccbf54a8d872ca657d6b4a676d5b8959/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L126)? ...
const dns1123LabelFmt string = "[a-z0-9]([-a-z0-9]*[a-z0-9])?"
const dns1123SubdomainFmt string = dns1123LabelFmt + "(\\." + dns1123LabelFmt + ")*"
const dns1123SubdomainErrorMsg string = "a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character"
const DNS1123SubdomainMaxLength int = 253

Steps to reproduce the bug
Attempt to create a VirtualService with a FQDN gateway
Version
Istio release-0.8 golang dependency:
[[override]]
  name = "istio.io/api"
  branch = "release-0.8"
  source = "github.com/istio/api"

[[override]]
  name = "istio.io/istio"
  branch = "release-0.8"
  source = "github.com/istio/istio"

Aha, I see the main man @rshriram fixed this just a few hours ago: https://github.com/istio/istio/pull/6483 :)


'DateField' object has no attribute 'is_hidden'

I'm Facing the above error while loading the form
DateField doesnt seem to work.
AttributeError at /new/
'DateField' object has no attribute 'is_hidden'
Request Method:	GET
Request URL:	http://<IP_ADDRESS>:8000/new/
Django Version:	1.10.4
Exception Type:	AttributeError
Exception Value:
'DateField' object has no attribute 'is_hidden'
class newpatientform(forms.ModelForm):
    fname = forms.CharField(max_length=100, label="Name", required=True)
    agechoice = forms.ChoiceField(label="Age/DOB", choices=(('a', 'Age'), ('d', 'DOB')), widget=forms.RadioSelect)
    dob = forms.DateField(label="", widget=forms.DateField(label="Date of Birth"))
    age = forms.IntegerField(label="Age", widget=forms.NumberInput)
    sex = forms.ChoiceField(choices=GenderChoices, label=" Gender")
    cellular = forms.IntegerField(required=True, label="Mobile Number", widget=forms.NumberInput)
    layout = Layout(Span5('fname'), 'agechoice', Row('dob', 'age'), Row('sex', 'cellular'))

    class Meta:
        model = Patient
        fields = ['fname',  'payear', 'sex', 'cellular']

HTML
<form class="viewform" method="POST">
     {% csrf_token %}
     {% form %}
     {% endform %}
     <button class="btn waves-effect waves-light" type="submit">Submit
 <i class="material-icons right">add_circle</i>
 </button>
 </form>

forms.DateField(widget=forms.DateField) passing field as wiget is definetly wrong

The Default Date Picker Doesnt Seem to Work,
How do i go about adding a Date Picker
I'm still learning


[BUG]  Cannot find name 'SELECT' and  'INSERT'

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

error TS2304: Cannot find name 'DELETE'
error TS2304: Cannot find name 'INSERT'.

Expected Behavior
no error found npm run npm run build typescript
References
https://community.sap.com/t5/technology-q-a/sap-cap-typescript-error-could-not-find-a-declaration-file-for-module-sap/qaq-p/13764999
Versions

PRIVATE MY REPO
https://github.com/my-repo

@cap-js/asyncapi
1.0.2

@cap-js/openapi
1.0.5

@sap/cds
8.3.1

@sap/cds-compiler
5.3.2

@sap/cds-dk (global)
8.1.1

@sap/cds-fiori
1.2.7

@sap/cds-foss
5.0.1

@sap/cds-hana
2.0.0

@sap/cds-mtxs
2.0.5

@sap/eslint-plugin-cds
3.0.4

Node.js
v20.16.0

Anything else? Logs?
i'm using feature package of gitlab. when i run npm i  i want all package install for all repository dependency.
i'm used  "@cap-js/cds-types": "^0.6.5" when upgrade cds version 6 to version 8 with npm i -D @cap-js/cds-types
Current build CICD error when build. I'm used trig install npm i @cap-js/cds-types work well but not true because this package for dev mode not for production mode. Please help me. Thanks you so much

Hi @LeCongNam ,
thanks for reporting this issue.
I am not quite clear on what you mean by

because this package for dev mode not for production mode

We generally recommend to deploy only transpiled JavaScript in a productive scenario, so types should not play a role once you deploy. If you choose to run TypeScript in a productive scenario, then @cap-js/cds-types also has to be a regular dependency.
Best,
Daniel

this problem occurs if the npm link ist missing, have a look on other issues... you could solve it with "npm rebuild"
You need to find this entry:
npm list|grep __
├── @types/sap__cds@npm<EMAIL_ADDRESS>extraneous -> ./node_modules/@cap-js/cds-types

Hi @LeCongNam ,
thanks for reporting this issue. I am not quite clear on what you mean by

because this package for dev mode not for production mode

We generally recommend to deploy only transpiled JavaScript in a productive scenario, so types should not play a role once you deploy. If you choose to run TypeScript in a productive scenario, then @cap-js/cds-types also has to be a regular dependency.
Best, Daniel

Thanks @daogrady support me. But I confure because @cap-js/cds-types is ```TYPE``  in typescript will install for devdependency and support suggest type for coding local but you suggest for build production.
i think it not helpful for production mode with run time because cds v6 do not include type. I think if this package required for build prodction you have create Pull Request merge this package for Sap SDK. Thanks you

this problem occurs if the npm link ist missing, have a look on other issues... you could solve it with "npm rebuild"
You need to find this entry: npm list|grep __ ├── @types/sap__cds@npm<EMAIL_ADDRESS>extraneous -> ./node_modules/@cap-js/cds-types

Thanks you suggest you. But i want npm auto install. I install like @daogrady and fixed it. But I'm don't happy install types for dependency so i ask adn received answer like me :) funny

Hi @LeCongNam ,
I am still a bit unclear on your scenario.

install for dev-dependency and support suggest type for coding local. But you suggest for build production.

Yes, that is correct. We recommend you only use TypeScript (and in consequence: @cap-js/cds-types) in your local development scenario.
Yes, you said:

Current build CICD error when build

This implies, that you are either
(a) attempting to run TypeScript productively, or
(b) your CICD does not install the devDependencies.
If your CICD includes a build step from TypeScript to JavaScript, then you do need the @cap-js/cds-types package present when the build happens. So you can either have your build step use the devDependencies, or promote @cap-js/cds-types to a full dependency.
Best,
Daniel

this problem occurs if the npm link ist missing, have a look on other issues... you could solve it with "npm rebuild"
You need to find this entry: npm list|grep __ ├── @types/sap__cds@npm<EMAIL_ADDRESS>extraneous -> ./node_modules/@cap-js/cds-types

Hi @Markus-Schroeder-de , we had the same issue when trying to import something from @sap/cds in typescript.
Could not find a declaration file for module '@sap/cds'. '****/ai-sdk-js/node_modules/.pnpm/@sap+cds@8.4.1_express<EMAIL_ADDRESS>implicitly has an 'any' type.
  Try `npm i --save-dev @types/sap__cds` if it exists or add a new declaration (.d.ts) file containing `declare module '@sap/cds';`ts(7016)

Check the Known Issue section in https://github.com/SAP/ai-sdk-js/pull/273. As this creates complication for users, could this problem be solved? I can imagine almost everyone who uses CAP with typescript will face this issue.


Create (non-developer) FAQ

Document list-sources (with link to the list itself)
Document where our result come from

ChinaEye blocks a search result page if the search keywords match with an entry from a keyword list (raw file). The list is combined from 13 existing lists online by  Jason Q. Ng. Please refer to this link if you want to know more about the list.
For webpages that are not search result pages, Chinaeye will check the page domain in http://www.greatfirewallofchina.org/ and block the page if none of the servers from greatfirewallofchina can have access to the domain.
*greatfirewallofchina for now.

Looks good. Please add to FAQ here: https://github.com/dhowe/chinaeye/wiki


feat(Analytics): Add initial processing such as Guild and User Count, as well as Voice connections and Command uses

Here is the script to get total command usage.
from(bucket: "analytics")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "commands")
  |> sum(column: "_value")
  |> group(mode:"by")
  |> sum(column: "_value")


Source code for the examples

Is the svelte source code for the examples on the documentation website available somewhere? That would be a very good way to provide good minimal documentation.

I agree. I am struggling a bit with the different options.

Look at App.svelte inside the node_modules/@beyonk/svelte-datepicker This provides examples on various usages. But agreed, a documentation site would be ideal.


refactore creating record

use internal API aka invenio_records.api.Record
It should be checked where the permission handling comes in

[ ] create a record
[ ] apply permissions works out of the box
[ ] could be used over celery or in a cronjob
[ ] write a class to encapsulate the communication between the module and the database (after loading the content from the pure api, this class should be used to create/update/delete the record in the database)
[ ] handle the file the same way as the metadata with internal API
[ ] could be used with a not yet implemented sibling datamodel

Creating a record -
As I was told the previous dev was using the invenioRDM data model based class to create a record for pure, BUT to be sure @bengaal could you please add a permalink to where the current creating a record is taking place. to see what class is being used. Thanks

Creating a record -
As I was told the previous dev was using the invenioRDM data model based class to create a record for pure, BUT to be sure @bengaal could you please add a permalink to where the current creating a record is taking place. to see what class is being used. Thanks

Data for the record is being prepared starting here and then it is POSTed here

handle the file the same way as the metadata with internal API -
I don't think this will work until Invenio sorts it out. As of now it says the functionality is temporarily disabled until the new API is completely compatible with it.


Day/night time based on current location

Would be really cool

Do you mean when you're at home or work? Constantly scanning for your current location can significantly reduce your battery life. A more efficient approach would be to check for a Wi-Fi network instead. For example, when you arrive at home, your device can automatically connect to your home Wi-Fi, and my app can then listen for this event to change the wallpaper.

Do you mean when you're at home or work? Constantly scanning for your current location can significantly reduce your battery life. A more efficient approach would be to check for a Wi-Fi network instead. For example, when you arrive at home, your device can automatically connect to your home Wi-Fi, and my app can then listen for this event to change the wallpaper.

No, i mean receiving sunset and sunrise times for current location and using those values as day/night times. Updating those values every 12 or 24 hours or so should be sufficient and not heavy on battery.
There are services that provide sunset and sunrise times for given location, for example https://sunrise-sunset.org/api


Migrate metadata from setup.py to pyproject.toml

According to setuptools, it's recommended not to use the setup.py to declare the metadata. If it's ok, I can make the migration and add the package dependencies inside the metadata file, in that way will be easier to declare the metadata and handle the package dependencies, e.g. declare the test dependencies outside of the core dependencies of the package.

It's okay to change the setup setup! I'll read the documentation on setuptools recommendations. It was the first time I created a lib, so I got the first way I found to configure and publish. Any contribution will be welcome!

I also think that's a good idea to document the way to install the test dependencies for those who want to contribute.


The servers tab collapses all connections and folders when you X out of a search.

SQL Operations Studio Version:
0.23.6

Steps to Reproduce:

Connect to a server in the servers tab
Drill down to an object in the folders (Server -> Tables -> Object)
Use the "Search server names" textbox to search for a server, including the one you're connected to
Click the X to clear search results

Expected Results
Search should clear, and previous state -- including open server and folders -- should appear.
Actual Results
Search box clears, and all available servers appear but previously open folders and such are now closed.

Duplicate of https://github.com/Microsoft/sqlopsstudio/issues/73


upgrade to latest dependencies (#3610)

bumping knative.dev/pkg f95090a...b488e7b:

b488e7b upgrade to latest dependencies (# 2938)
bumping knative.dev/eventing 42af160...598e866:
598e866 New Event Filtering: Add rekt test for multiple filters (# 7574)
bumping knative.dev/reconciler-test eaf0b82...50276df:
50276df upgrade to latest dependencies (# 654)
4357f51 upgrade to latest dependencies (# 649)

Signed-off-by: Knative Automation<EMAIL_ADDRESS>

OCF Webhook is merging this PR


update from ioutil to os and io packages

in project we still have ioutil package. as it is deprecated we need to update it with os or io packages

here I made pull request for this change:
#92


Change the avatar (even just to a different letter?)

I really love this chatbot, and I took some time to get familiar with the commands and how it works, but I'd really love to be able to change the B to something else. Even just to be able to change that letter to match the name of the bot I intend to have, or (ideally) to be able to put an image in that position. Is there any way to do that?

Thanks for the feedback!
Yes, you can make your own bot avatar and provide it in the config to swap out the default avatar. Check the customComponents property of this config : https://gist.github.com/FredrikOseberg/87795296efb67fe76fa05fc839d22e25


feat!: x/params migration + msg_server

ref: #87 (1/2)

store migration
e2e upgrade from v7.0.1 image
add msg server (for updating params)

Maybe we push this to v8? Need to check that x/params works in v50.

Yep, it works.


Unable to build with vendored source

I need to build offline so am using cargo vendor in the verso repo to create vendored sources for offline builds. When building it gets a long way, but I keep hitting and working around problems and finally am stuck. I've since tried the same with servo/servo because the issues here seem to relate to servo, but I can't get that to build vendored either.
Below is my progress with a vendored build of verso.
vendoring verso
The reason I need vendored builds is that I am off-grid an the servo related repos cause remote git operations to fail. I've tried many things to get that to work which I won't go into here, but it is a dead end and I need a way to build offline. So I start by getting the sources to a cloud server, vendoring there and then transferring the results to my laptop using rsync.
On cloud server I clone the fork I made of verso yesterday:
mkdir ~/verso && cd ~/verso
git clone https://github.com/happybeing/safe-verso
cd safe-verso
cargo vendor ../vendor-safe-verso/ > ../vendor-safe-verso.config.toml

On Laptop:
Note: as verso depends on servo I've already followed the servo build instructions and set up the build system locally with ./mach bootstrap in a clone of servo, downloaded mozjs and set the environment variable as below:
export MOZJS_MIRROR=~/src/safe-browser/safe-servo/libmozjs-x86_64-unknown-linux-gnu.tar.gz
Now I get my safe-verso/ clone and the vendor-safe-verso/ directory to the laptop:
cd ~/src/safe-browser && rsync --progress  -lHpErz user@cloudserver:/home/user/verso/ safe-verso-vendored/
I add the following to the vendored sources template config file ~/src/safe-browser/safe-verso-vendored/vendor-safe-verso.config.toml
[net]
retry = 3                   # network retries
git-fetch-with-cli = true   # use the `git` executable for git operations
offline = true              # do not access the network

Then add the contents of the modified template to ~/src/safe-browser/safe-verso-vendored/safe-verso/.cargo/config.toml so verso will build off-line using the vendored sources.
Building vendored
Using cd ~/src/safe-browser/safe-verso-vendored/safe-verso && cargo run it builds successfully (offline) until it gets to embedder_traits.
Fails to compile embedder_traits
The build fails at embedder_traits because it can't find safe-verso/resources in the vendored source directory:
Compiling embedder_traits v0.0.1 (https://github.com/servo/servo.git?rev=d1fd8d5#d1fd8d55)
  error: couldn't read /home/user/src/safe-browser/safe-verso-vendored/safe-verso/../vendor-safe-verso/embedder_traits/../../../resources/prefs.json: No such file or directory (os error 2)

I worked around this with a symbolic link to place safe-verso/resources where it is looking:
cd ~/src/safe-browser/ && ln -s ~/src/safe-browser/safe-verso-vendored/safe-verso/resources resources
After that embedder_traits builds and it continues until the next issue.
Servo build script: can't find WebIDL
First it can't find the servo/third_party/ modules, and so errors importing WebIDL:
error: failed to run custom build command for `script v0.0.1 (https://github.com/servo/servo.git?rev=d1fd8d5#d1fd8d55)`

Caused by:
  process didn't exit successfully: `/home/mrh/src/safe-browser/safe-verso-vendored/safe-verso/target/debug/build/script-c5baaf37c41530a2/build-script-build` (exit status: 1)
  --- stderr
  Traceback (most recent call last):
	File "/home/mrh/src/safe-browser/safe-verso-vendored/vendor-safe-verso/script/dom/bindings/codegen/run.py", line 123, in <module>
	  main()
	File "/home/mrh/src/safe-browser/safe-verso-vendored/vendor-safe-verso/script/dom/bindings/codegen/run.py", line 23, in main
	  import WebIDL
  ModuleNotFoundError: No module named 'WebIDL'

I fixed this by adding the location to the environment, but as I didn't find the servo repo in the vendored sources I used the location of a servo/ clone:
export PYTHONPATH=~/src/safe-browser/safe-servo/servo/third_party
That enabled it to import WebIDL but immediately hit another error:
error: failed to run custom build command for `script v0.0.1 (https://github.com/servo/servo.git?rev=d1fd8d5#d1fd8d55)`

Caused by:
  process didn't exit successfully: `/home/mrh/src/safe-browser/safe-verso-vendored/safe-verso/target/debug/build/script-c5baaf37c41530a2/build-script-build` (exit status: 1)
  --- stderr
  Traceback (most recent call last):
    File "/home/mrh/src/safe-browser/safe-verso-vendored/vendor-safe-verso/script/dom/bindings/codegen/run.py", line 123, in <module>
      main()
    File "/home/mrh/src/safe-browser/safe-verso-vendored/vendor-safe-verso/script/dom/bindings/codegen/run.py", line 24, in main
      from Configuration import Configuration
    File "/home/mrh/src/safe-browser/safe-verso-vendored/vendor-safe-verso/script/dom/bindings/codegen/Configuration.py", line 8, in <module>
      from WebIDL import IDLExternalInterface, IDLSequenceType, IDLWrapperType, WebIDLError
  ImportError: cannot import name 'IDLExternalInterface' from 'WebIDL' (unknown location)

FYI: I also tried setting SERVO_ROOT but it didn't help.
At this point I gave up with verso and tried building servo vendored but that is failing as well so I'm stuck without a way to build verso.
Platform and Versions (please complete the following information):
OS: Ubuntu 22.04.04 LTS
cargo 1.74.1 (ecb9851af 2023-10-18)
rustc 1.74.1 (a28077b28 2023-12-04)
Additional context
I'd like to evaluate verso (and servo) for use as a browser for a new p2p platform. verso looks like a promising place to start putting together an initial version of a prototype browser if only I can get it building.
The reason I need to build offline is that I am off-grid, and while cloning and updating works for most repos, my mobile broadband can't handle servo and its dependencies. I can do some things on a cloud server but need to work on a local laptop without cargo trying to update dependencies. Hence trying the vendored approach.
I began with the wry servo demo and had the same issues, but was told that it had moved to this project.

I think this is an interesting case because I believe even Servo hasn't explored this yet.
WebIDL implementation from Servo is generated by python script during build script.
And there are also lots of other resource are located in different directories during compilation.
Did it work with simple cargo run on your cloud? This is one of the goals of this verso project, which is to simplify the DX.
Perhaps you can also opened an issue in servo so more people can look into it and see what are exactly required during vendored compilation.

Thanks. I will open an issue on Servo when I have some time.
I couldn't test the cloud build because it is Ubuntu 20 and doesn't install all the dependencies, such as Python 3.

This is indeed servo's problem that is tracked in servo/servo#31812.


New supervision

using fastAPI
offline/online working
warning if ZABBIX API is too long
showing settings
showing last ack message
showing procedure
menu split by SU team

Hi @sylflo,
Thank you for your PR.
Can you check if the README is OK ?
Thx


Landing card with metric

📝 Changed routes:

/

(view full size)

Commit 1206230e3c79e4121a55d4caa9a27a254cfa25a1 (https://thirdweb-oihjgyckg.thirdweb-preview.com).


How to  recurrent your result which recall

Hi Edward,
I tune hyperparameters such as the number of RNN layers, the size of RNN and the size of embedding,However,the result is disappointed. The recall@30 is about 0.35.

Therefore，first of all I want to recurrent your result.
Could you give your pre-train model which was trained via Suffer Database?
I don't have Suffer Database, but I have MIMIC-III, MIMIC-II is a part of MIMIC-III, I can use the MIMIC-III in your pre-train. Maybe I can get a same result as in you paper

thank you very much!
jianglong

Hi Jianglong,
It would be illegal for me to share a Doctor AI model trained on Sutter dataset with you, since the model is at least partially a property of Sutter Health.
Best,
Ed


Environment Variables expansion

Due to a logic issue, the command property of the web system in the excerpt below didn't work. In the other hand, the command of the worker system was working normally.
systems({
  web: {
    image: { docker: "azukiapp/ruby" },
    command: ["bundle", "exec", "rails", "-p", "$HTTP_PORT"],
  },
  worker: {
    image: { docker: "azukiapp/ruby" },
    command: "bundle exec rails -p $HTTP_PORT",
  },
});

The reason for it is that, in the case of the system worker, the command was sent to Docker as /bin/sh -c "[command]" and, therefore, the HTTP_PORT var was properly expanded.
In the case of the web system, the bundle command was executed directly, without variables expansion by a subshell (/bin/sh).
To solve this issue, two major changes was done:

The support for variables expansion using ${} and, less used but still available, <%%> in the Azkfile, have been deprecated;

Variables defined as ${UPPER_CASE_VAR_NAME} or $UPPER_CASE_VAR_NAME are expanded automatically;

Finally, the docs has a new session with a detailed explanation of how env vars are processed.

LGTM

This looks very nice.


CodeMirror stopped working after version 6.0.14. Why minor version contains breaking changes?

Laravel Mix Version: 6.0.16
Node Version (node -v): v14.16.0
NPM Version (npm -v): 6.14.11
OS: Ubuntu 20.04

Description:
After version 6.0.14 both CodeMirror and jquery-toast-plugin both have broken styles which rendered them useless. I'm still not sure what the issue is, since there is no errors and the end bundle size seems about the same but it may have something to do with importing CSS files in JS package.
Genuine question though: why minor version contains breaking changes?
It took me almost an hour to narrow it down to Laravel Mix and that was the last package I expected to cause an issue since it only came up from 6.0.11 to 6.0.16... I though semantic versioning was created to avoid such situations. Thank you for your hard work but I'm a bit frustrated by that.
Now I just want to know what to change in order to move forward and update because now I'm stuck on 6.0.11 until this is resolved.
Steps To Reproduce:
Install CodeMirror or jquery-toast-plugin and import their styles in the JavaScript file:
import CodeMirror from 'codemirror'; import 'codemirror/lib/codemirror.css'; import 'codemirror/theme/material.css'; import 'codemirror/mode/css/css'; import 'codemirror/mode/javascript/javascript'; import 'codemirror/addon/display/autorefresh';
or
import 'jquery-toast-plugin/dist/jquery.toast.min.css'; import 'jquery-toast-plugin';

The apparent breaking change is not on purpose. We have tests for these kinds of things and they all pass currently. I'll try to take a look tonight to see if I can figure out what's wrong here.

Thank you for the quick reaction.
Sorry if my tone was a bit harsh... it's just that when I downgraded I saw 17 packages removed, 24 added (or something similar) and I said to myself "this looks like a huge update for minor release" and that frustrated me a bit.
I would gladly help, if needed, to get to the bottom of this.

So I just tried this and, at least in isolation, the styles are injected into the  tag just as they were before. Could you provide a reproduction repository?

The project I develop is private but you can look the .vue component I attached.
AssetEditor.zip

Yeah this works fine for me. There does appear to be an issue in Safari where the code doesn't show up but it's only at random times (… which is concerning tbh but not a Mix issue) and does not happen in Chrome. And this was regardless of mix version.
The only thing I can think of is that it's related to your mix configuration or some other dependencies you have installed — could you reproduce this issue in a fresh project?

Sorry for the delayed response. I just checked on fresh Laravel project today and everything is working fine... maybe there is some conflict with something else I'm using. I'll keep investigating.

I stripped my project to make it absolutely identical with the fresh one and styles still didn't load... then I decided to diff the two app.js bundle files and turns out the fresh project has this line:
if(content.__esModule) content = content.default;
while my project bundle doesn't, and that's the only difference.
I have no idea how is that possible considering everything is the same.
I even copied the same package.json, deleted node_modules, did run npm install again and still this line is missing :(

Can you post a gist of the package-lock.json file from the fresh project and the stripped down project?

As I said I copied them to be absolutely the same, same goes for app.js and webpack.mix.js but here it is:
https://gist.github.com/roko91/c75aa9078cbf938bc551450bf3c36bef

Yes but not the package.json. I wanted to look at package-lock.json.

Oh, sorry, I misread. I completely forgot about the lock file when trying to replicate... now I deleted it as well as the node_modules folder, then did run npm install again but before that I added postcss-import in package.json 'cuz I noticed it was missing and viola - everything is working fine now! :smile:
Thank you a lot for the help, I suspect it was the missing postcss-import which isn't dependency for some reason.


Create .whitesource file

Adding .whitesource file to enable scans on cortx-hare repository
Corresponding JIRA ticket is raised here -> https://jts.seagate.com/browse/EOS-26134

Hi @swanand-gadre ,
Both PR description and commit message need to be updated.
It just mentions scans on repo, but doesn't mention which kind of scan, why it is required, what was the problem etc.
Can you please update both PR description and commit message, with these details, so that it becomes easy to understand the purpose etc, for reviewers as well as later for understanding about the commit
Thanks!

Please include JIRA number in the PR title and number of characters per line in the commit message need to be limited to 74.

PR description and title doesn't follow standard guidelines.
I am closing this PR and deleting swanand-gadre-patch-1.
Instead , I will create a new PR to add changes to enable whitesource scan.


API can't response the filename with a '.mov' suffix

As the source code "Providers/Movies.cs" line 96 searchTitle = searchInfo.Path;
The filepath(include file name's suffix) is parsed directly to the API handler "Providers/MetadataAPI" and is included in the search url. (line 58 var url = string.Format(Consts.APISceneSearchURL, searchTitle, oshash);)
This causing the API server can't recognize the movie with a suffix except from ".mp4" (such as ".mov")
Example:
filename: "woodman-scenes-xxxx-valentina-nappi-xxxx-bed-2-boys.mp4" -> successfully recognized
filename: "woodman-scenes-xxxx-valentina-nappi-xxxx-bed-2-boys.mov" -> null
result from metadataapi scenes search testing page
Can be fixed by adding a filter like regex to delete the suffix and parse to the API I suggest?
(😢Sorry I didn't request a PR cause I'm not quite familiar with C#)

I added this extension to site parser, now need to wait when site would be updated
You can also disable using path in plugin settings

Fixed


Not able to view files via Namenode UI

The issue can be reproduced as follows:
Go to namenode UI and select Utilities -> Browse files. Then try to download any of the files present in HDFS. The page redirects to the address such as http://ip-172-31-92-103.node.dc1.consul:50075, which is not resolvable from my machine.

duplicated by https://github.com/sequenceiq/cloudbreak-deployer/issues/67


Setup CI & CD using GitHub Actions

CI setup now. CD to come.

CD of packages built from main is done now. They get published to the repo artifacts feed.
Need to figure out some further actions for:

CI of PRs and branches that just builds/tests
Promotion of any main package to NuGet

This would simply take the package as is from the repo feed and push it to NuGet
It would create a repo release/tag
Twitter announcement (example)?

Something for stable releases

Relevant articles:

https://acraven.medium.com/a-nuget-package-workflow-using-github-actions-7da8c6557863

This was done!


Retrieve api key for the FMP api

Create an interface and one implementation for the api key retrieval for the FMP api.
The implementation should retrieve the key from VM Options - add comments though that in real prod circumstances the retrieval would be from a secret store like Vault.
I will not have a Vault instance, and no other secret store either.

done


Packaging and module loading questions

Hey, I have a couple quick questions about packaging and module loading of Orbit.js:

What's the preferred way to load Orbit.js? CommonJS support with the version distributed on Bower seems lacking. If I require orbit-common and orbit-common-jsonapi, Orbit and OC are actually leaked to the window object. Is this intentional? Is there a way to build Orbit to avoid this? Are ES6 modules preferred?
Why isn't Orbit published to NPM?

I'm trying to set up a new project with Orbit in a CommonJS/webpack stack and these two things are making it tough.

I've really just been optimizing for my own use cases until others are requested.
I've been targeting AMD usage but am open to exporting CommonJS as well. We should look into customizing the Brocfile to enable CommonJS output from the transpiler.
Also, I'd be willing to publish builds to npm in addition to bower.

Alright, cool. I ended up getting it working with Webpack, Bower and AMD, but need to wait for JSONAPI RC3 or 1.0 support before I go any further. Glad to know you're open to NPM and CommonJS, though! Thanks!

Sure - glad you worked something out in the meantime.
Also, we're tracking JSON API compliance in #113 - it's very high on the priority list.

@dgeb it would be awesome if the builds were also pushed to npm thanks. I was trying to integrate orbit and react native and this seems to be the only way to do it.

@dgeb Another vote here for publishing to NPM.  Any guess as to when this might happen?

@john-griffin @amutz Can you tell me more about your use cases? Are you looking for CommonJS builds as well? Are you using webpack?
If you know of any, please point me to any well done examples of libs published to both bower and npm and transpiled for AMD, CommonJS, and globals.

@dgeb I was attempting to integrate a React Native app with a JSON API data source. Orbit could be a good fit for that because it can be used with any framework, is JSON API compatible and allows for defining a custom data source (e.g. I could implement the equivalent of LocalStorageSource for React Native).
React Native apps are complied in Node so use CommonJS. I'm sorry but I'm not familiar with other projects that publish to both bower and npm.

@john-griffin thanks for the details. I'd definitely like to support this use case and will look into transpiling for CommonJS and simultaneous publishing to bower and npm.

I'd like npm if only to not need bower for anything :)

@wyattanderson , hey. Could you let us know how you got Orbit working with Webpack?
Thanks

could you let us know how you got Orbit working with Webpack?

Sorry, I don't have the code around anymore. We ended up going a different direction. I needed to do a lot of things mentioned on the shimming modules page to make it work.

+1 for Webpack and NPM

Orbit is now published to npm as orbit-core. In addition, sources have been extracted into their own repos as published as orbit-jsonapi and orbit-local-storage. Builds include CommonJS and AMD modules in /dist along with ES modules in /src.
Please let me know if you have any problems with the builds.

Related to this issue: I am using a React console project that imports another one of my modules (an "sdk' that uses OrbitJS).
On a basic test, I am getting compilation errors (using Webpack) such as the following:
Unexpected token: punc (,) [./~/@orbit/core/dist/modules/es2017/main.js:16,0][static/js/main.ee237ffc.js:17062,11]

What is the standard practice for using the es5 version of each Orbit  module?


boxed values and undefined properties

At first, thanks for all the work. I'm using this project excessively and like it a lot.
But there is one thing that I think is a bit weird with boxed values. There is a deepEqual check to make sure a boxed value is kinda the same after serialization and deserialization. But it currently complains about undefined values, which are not that bad.
Accessing an undefined value after serialization and deserialization still results in an undefined value, the only diffrence is that the serializer also drops the key for size reasons.
I made an example here. Edit the value and it screams to fix it.
Don't get me wrong, I do understand the difference between a not defined property and a property that is set to undefined. It just does not matter here and it produces some errors that I often need to work around.

Hmm, yeah, this is a tricky one. The whole serialized string equality check to check for serializability is indeed a bit hacky. It's just the simplest solution for this instead of having to recursively enumerate all properties to check if they are of a serializable type.
I see two options here: write a better explicit serializability check or use a custom replacer and reviver during the JSON serialization to keep undefined values in the object (e.g. by replacing them with the string "$ngrx-forms:undefined" or something else that is highly unlikely to ever actually be used by a user).
I think this is a good candidate for a first PR. Do you want to try your hand at it?

@MrWolfZ did you already look at the pr? Any thoughts?

Apologies for leaving this issue unresolved for such a long time. I have just released version 6.3.1 which contains a fix for this issue.


Assertion failed checking if declaration is parameter

Search terms

TypeDoc exiting with unexpected error:
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

Expected Behavior
Expected docs to generate without error
Actual Behavior
$ npx typedoc
TypeDoc exiting with unexpected error:
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(declaration &&
      (ts.isParameter(declaration) ||
          ts.isJSDocParameterTag(declaration)))

    at /node_modules/typedoc/dist/lib/converter/factories/signature.js:40:9
    at Array.map (<anonymous>)
    at convertParameters (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/factories/signature.js:38:23)
    at Object.createSignature (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/factories/signature.js:24:25)
    at Object.convertFunctionOrMethod (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/symbols.js:162:39)
    at convertSymbol (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/symbols.js:76:79)
    at convertSymbols (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/symbols.js:82:9)
    at Object.convertClassOrInterface (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/symbols.js:205:5)
    at convertSymbol (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/symbols.js:76:79)
    at Object.convertAlias (/home/bmccann/src/Chart.js/node_modules/typedoc/dist/lib/converter/symbols.js:365:9) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: undefined,
  expected: true,
  operator: '=='
}

Steps to reproduce the bug

git clone https://github.com/benmccann/Chart.js
cd Chart.js
git checkout typedoc-upgrade
npm install
npx typedoc

Environment

Typedoc version: 0.20.7
TypeScript version: 4.1.3
Node.js version: 14.8.0
OS: Ubuntu

Well, that's annoying... arguments is the issue here. TS knows there is a rest parameter, but there is no declaration for it.
	/**
	 * @private
	 */
	_onDataPush() {
		const count = arguments.length;
		this._insertElements(this.getDataset().data.length - count, count);
	}

Well, that's annoying... arguments is the issue here. TS knows there is a rest parameter, but there is no declaration for it.
	/**
	 * @private
	 */
	_onDataPush() {
		const count = arguments.length;
		this._insertElements(this.getDataset().data.length - count, count);
	}

Fixed in 0.20.9, plus another bug that this revealed

Fixed in 0.20.9, plus another bug that this revealed

Wow, amazing! Thanks for the super fast look at this!! :smiley:

Wow, amazing! Thanks for the super fast look at this!! :smiley:

It looks like publishing 0.20.9 might have failed. It's not available and I see a red X here: https://github.com/TypeStrong/typedoc/runs/1635049281

It looks like publishing 0.20.9 might have failed. It's not available and I see a red X here: https://github.com/TypeStrong/typedoc/runs/1635049281

Shoot, sorry about that. I was rushing to push the change and go to a friend's, so didn't properly test things. Published now!

Shoot, sorry about that. I was rushing to push the change and go to a friend's, so didn't properly test things. Published now!

awesome. thanks!  It looks like 0.20 is working on Chart.js now, so I just sent a PR to upgrade it :smiley:

awesome. thanks!  It looks like 0.20 is working on Chart.js now, so I just sent a PR to upgrade it :smiley:


2024 10 08 kirkstone next backport

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/run


[BUG] The packages list is empty sometimes when searching for something a second time

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.1
Windows version, edition, and architecture
Windows 11 Pro 23H2 22631.4249
Describe your issue
If I search for a package, the list shows up normally. If I try searching for a different package, the list seems to be empty.
Steps to reproduce the issue
No response
UniGetUI Log
[16/10/2024 02:26:37]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.1
[16/10/2024 02:26:37]
[16/10/2024 02:26:37] Version Code:  3.11
[16/10/2024 02:26:37] Encoding Code Page set to 850
[16/10/2024 02:26:37] Using bundled GSudo at C:\Users\Kody\AppData\Local\Programs\UniGetUI\Assets\Utilities\gsudo.exe
[16/10/2024 02:26:37] Loaded language locale: en
[16/10/2024 02:26:38] Randomly-generated background API auth token for the current session: jpp2nowwvb9u9m8duwjmbof1wssltc382vs3wdxsx2hg7pkqkd2jryjuwp4jqbjm
[16/10/2024 02:26:38] Api running on http://localhost:7058
[16/10/2024 02:26:38] Lang files were updated successfully from GitHub
[16/10/2024 02:26:38] UniGetUI is up to date
[16/10/2024 02:26:38] Downloaded new icons and screenshots successfully!
[16/10/2024 02:26:41] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pip
                      █ Executable path: C:\Python312\python.exe
                      █ Call arguments:  -m pip
                      █ Version:
                      █   pip 24.2 from C:\Python312\Lib\site-packages\pip (python 3.12)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:42] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: dotnet tool
                      █ Executable path: C:\Program Files\dotnet\dotnet.exe
                      █ Call arguments: tool
                      █ Version:
                      █   6.0.427
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:44] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: npm
                      █ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version:
                      █   10.8.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:45] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\Kody\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments:
                      █ Version:
                      █   System WinGet CLI Version: v1.8.1911
                      █   Microsoft.WinGet.Client PSModule version: ""
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:45] Command scoop was not found on the system
[16/10/2024 02:26:45] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:46] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\Users\Kody\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments:
                      █ Version:
                      █   This is try 1/3. Retrying after 400 milliseconds.
                      █    Error converted to warning:
                      █    Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.13744.update' is denied.
                      █   This is try 2/3. Retrying after 600 milliseconds.
                      █    Error converted to warning:
                      █    Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.13744.update' is denied.
                      █   Maximum tries of 3 reached. Throwing error.
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:47] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pwsh.exe
                      █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version:
                      █   PowerShell 7.4.3
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:50] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version:
                      █   Name                           Value
                      █   ----                           -----
                      █   PSVersion                      5.1.22621.4249
                      █   PSEdition                      Desktop
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                      █   BuildVersion                   10.0.22621.4249
                      █   CLRVersion                     4.0.30319.42000
                      █   WSManStackVersion              3.0
                      █   PSRemotingProtocolVersion      2.3
                      █   SerializationVersion           <IP_ADDRESS>
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[16/10/2024 02:26:51] Microsoft.Powershell.Client detection has been forcefully skipped as the module is not required on the current context
[16/10/2024 02:26:51] Dependency WinGet PowerShell Module for manager Winget is present
[16/10/2024 02:27:03] Dependency .NET Tools Outdated for manager .NET Tool is present
[16/10/2024 02:27:03] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[16/10/2024 02:27:09] Found 145 installed packages from Winget
[16/10/2024 02:27:09] Command parse_pip_search.exe was not found on the system
[16/10/2024 02:27:10] Found 0 available updates from .NET Tool
[16/10/2024 02:27:12] Found 83 installed packages from Pip
[16/10/2024 02:27:12] Found 0 available updates from Chocolatey
[16/10/2024 02:27:12] Found 0 installed packages from Chocolatey
[16/10/2024 02:27:12] Found 0 installed packages from PowerShell
[16/10/2024 02:27:15] Found 0 available updates from PowerShell
[16/10/2024 02:27:15] Found 2 installed packages from .NET Tool
[16/10/2024 02:27:15] Found 2 installed packages from PowerShell7
[16/10/2024 02:27:15] Found 19 available packages from Npm with the query roblox
[16/10/2024 02:27:15] Found 3 available packages from Winget with the query roblox
[16/10/2024 02:27:16] Error finding packages on manager Pip with query roblox
[16/10/2024 02:27:17] System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'parse_pip_search.exe' with working directory 'C:\Users\Kody\AppData\Local\Programs\UniGetUI'. The system cannot find the file specified.
                         at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
                         at UniGetUI.PackageEngine.Managers.PipManager.Pip.FindPackages_UnSafe(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 97
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.FindPackages(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 163
[16/10/2024 02:27:17] Found 13 available packages from .NET Tool with the query roblox
[16/10/2024 02:27:17] Found 3 available packages from Chocolatey with the query roblox
[16/10/2024 02:27:17] Found 0 available updates from Npm
[16/10/2024 02:27:17] Found 0 installed packages from Npm
[16/10/2024 02:27:19] Found 5 available updates from Winget
[16/10/2024 02:27:21] Found 0 available updates from PowerShell7
[16/10/2024 02:27:24] Found 0 available updates from Pip
[16/10/2024 02:27:29] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:27:29] Icon for package Roblox.Roblox was not found, returning default icon
[16/10/2024 02:27:34] Found 2 installed packages from .NET Tool
[16/10/2024 02:27:34] Found 83 installed packages from Pip
[16/10/2024 02:27:36] Found 0 installed packages from Chocolatey
[16/10/2024 02:27:37] Found 145 installed packages from Winget
[16/10/2024 02:27:39] Found 0 installed packages from PowerShell
[16/10/2024 02:27:40] Found 2 installed packages from PowerShell7
[16/10/2024 02:27:40] Found 0 installed packages from Npm
[16/10/2024 02:27:47] Found 0 available packages from PowerShell with the query roblox
[16/10/2024 02:27:47] Found 0 available packages from PowerShell7 with the query roblox
[16/10/2024 02:27:51] Command parse_pip_search.exe was not found on the system
[16/10/2024 02:27:51] Found 13 available packages from .NET Tool with the query roblox
[16/10/2024 02:27:51] Found 3 available packages from Winget with the query roblox
[16/10/2024 02:27:55] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:27:55] Icon for package Roblox.Roblox was not found, returning default icon
[16/10/2024 02:27:55] Found 19 available packages from Npm with the query roblox
[16/10/2024 02:27:55] Found 3 available packages from Chocolatey with the query roblox
[16/10/2024 02:27:57] Error finding packages on manager Pip with query roblox
[16/10/2024 02:27:57] System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'parse_pip_search.exe' with working directory 'C:\Users\Kody\AppData\Local\Programs\UniGetUI'. The system cannot find the file specified.
                         at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
                         at UniGetUI.PackageEngine.Managers.PipManager.Pip.FindPackages_UnSafe(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 97
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.FindPackages(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 163
[16/10/2024 02:28:28] Found 0 available packages from PowerShell7 with the query roblox
[16/10/2024 02:28:30] Found 0 available packages from PowerShell with the query roblox
[16/10/2024 02:28:46] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:28:46] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Discord.Discord
[16/10/2024 02:28:46] Icon for package Discord.Discord stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\Discord.Discord.png
[16/10/2024 02:28:46] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:28:46] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.PowerShell
[16/10/2024 02:28:46] Icon for package Microsoft.PowerShell stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.PowerShell.png
[16/10/2024 02:28:46] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:28:46] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=RustDesk.RustDesk
[16/10/2024 02:28:46] Icon for package RustDesk.RustDesk stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\RustDesk.RustDesk.png
[16/10/2024 02:28:46] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:28:46] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.WindowsTerminal
[16/10/2024 02:28:46] Icon for package Microsoft.WindowsTerminal stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.WindowsTerminal.png
[16/10/2024 02:29:09] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:29:09] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=RustDesk.RustDesk
[16/10/2024 02:29:09] Icon for package RustDesk.RustDesk stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\RustDesk.RustDesk.png
[16/10/2024 02:29:09] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:29:09] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=RustDesk.RustDesk
[16/10/2024 02:29:09] Icon for package RustDesk.RustDesk stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\RustDesk.RustDesk.png
[16/10/2024 02:30:41] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:30:41] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=RustDesk.RustDesk
[16/10/2024 02:30:41] Icon for package RustDesk.RustDesk stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\RustDesk.RustDesk.png
[16/10/2024 02:30:41] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:30:41] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=RustDesk.RustDesk
[16/10/2024 02:30:41] Icon for package RustDesk.RustDesk stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\RustDesk.RustDesk.png
[16/10/2024 02:31:20] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:31:20] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=RustDesk.RustDesk
[16/10/2024 02:31:20] Icon for package RustDesk.RustDesk stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\RustDesk.RustDesk.png
[16/10/2024 02:31:26] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:31:26] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.PowerShell
[16/10/2024 02:31:26] Icon for package Microsoft.PowerShell stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.PowerShell.png
[16/10/2024 02:31:26] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[16/10/2024 02:31:26] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.PowerShell
[16/10/2024 02:31:26] Icon for package Microsoft.PowerShell stored on C:\Users\Kody\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.PowerShell.png
[16/10/2024 02:32:02] Found 0 available updates from .NET Tool
[16/10/2024 02:32:03] Found 0 available updates from Chocolatey
[16/10/2024 02:32:07] Found 0 available updates from PowerShell
[16/10/2024 02:32:08] Found 5 available updates from Winget
[16/10/2024 02:32:09] Found 0 available updates from Npm
[16/10/2024 02:32:18] Found 0 available updates from PowerShell7
[16/10/2024 02:32:20] Found 0 available updates from Pip
[16/10/2024 02:32:32] Found 0 available updates from .NET Tool
[16/10/2024 02:32:34] Found 0 available updates from Chocolatey
[16/10/2024 02:32:35] Found 5 available updates from Winget
[16/10/2024 02:32:37] Found 0 available updates from PowerShell
[16/10/2024 02:32:38] Found 0 available updates from Npm
[16/10/2024 02:32:45] Found 0 available updates from PowerShell7
[16/10/2024 02:32:48] Found 0 available updates from Pip

Package Managers Logs
Manager WinGet with version:
System WinGet CLI Version: v1.8.1911
Microsoft.WinGet.Client PSModule version: ""
Using Native WinGet helper (COM Api)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 16/10/2024 02:26:45
Process end time:   16/10/2024 02:26:45

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Kody\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 16/10/2024 02:26:50
Process end time:   16/10/2024 02:27:03

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 16/10/2024 02:26:50
Process end time:   16/10/2024 02:27:09

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 16/10/2024 02:26:51
Process end time:   16/10/2024 02:26:57

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is FindPackages
Process start time: 16/10/2024 02:27:03
Process end time:   16/10/2024 02:27:15

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 16/10/2024 02:27:10
Process end time:   16/10/2024 02:27:19

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 16/10/2024 02:27:30
Process end time:   16/10/2024 02:27:37

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is FindPackages
Process start time: 16/10/2024 02:27:51
Process end time:   16/10/2024 02:27:51

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Kody\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 16/10/2024 02:31:59
Process end time:   16/10/2024 02:32:00

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 16/10/2024 02:32:00
Process end time:   16/10/2024 02:32:08

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Kody\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 16/10/2024 02:32:29
Process end time:   16/10/2024 02:32:30

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 16/10/2024 02:32:30
Process end time:   16/10/2024 02:32:35

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Relevant information
No response
Screenshots and videos
No response

Please test the latest beta, as similar issues have been fixed here: https://github.com/marticliment/UniGetUI/releases/tag/3.1.2-beta3

The error is still present, this still isn't working properly.

Can you please share a screen recording of the issue in 3.1.2 stable?


Delete dead code in coverage binaries

Motivation
Our coverage binaries are currently too large for the CI disks, causing our coverage CI to hang and fail.
Solution
Delete dead code, so the binaries are smaller.
Since we're deleting dead code, our coverage statistics might appear higher than they actually are.
Review
CI failures are urgent fixes.
Related Issues
#1923 is a better fix, because it gives more accurate coverage statistics.
Follow Up Work
Investigate ways to make Zebra's binaries smaller.

#1923 is a better fix, because it gives more accurate coverage statistics.
Let's merge #1923 if it works.
If #1923 doesn't work, and this fix does, let's merge this fix.

#1923 passed, so we'll go with that fix for now.


Consider refactoring a wrapper around create-next-app

Issue
Consider refactoring this template repo so that we aren't directly tracking generated files. For instance, instead of calling create-next-app and then committing the files, we could write a wrapper called nava-create-next-app that would:

run create-next-app
apply any nava specific tweaks

Context

https://github.com/navapbc/template-application-nextjs/pull/4#discussion_r877272283

@rocketnova Do you think this is still useful? I'm not fully following what it's saying.

Closing this very old ticket. This was specifically related to the initial creation of https://github.com/navapbc/template-application-nextjs


[ Aesthetics ] Keep Controller's width when collapsed ( if snapped )

If we have multiple Controllers snapped to the Top bar, it will look better if they keep their full width, when collapsed,

Mockup:

Original:

Original ( expanded controllers )

If the Controller always keeps it's width when snapped, it may help implementing snapping on collapsed Controllers ( https://github.com/chrisgoringe/cg-controller/issues/337 ).
Because this way, all Controllers would retain their original x axis positions, when collapsed.
This may be more straightforward and predictable for the user.
For instance, here I have all Controllers collapsed except the Controller that creates the  "Big Preview Area", on the right.
I want this Controller to always keep the same position, when the others are collapsed, even if they all are snapped to each other.

On second thought, this may not be necessary.
These small collapsed Controllers are very useful, to switch positions between snapped Controllers (   https://github.com/chrisgoringe/cg-controller/issues/337#issuecomment-2481552273 )