Uncaught exception: +[RLMAccessor exception

What?
I've the following scenario on my app:

Framework A:

Models Repository and Label with the relationships defined as shown below:

final public class Repository: Object {
    public var labels: [Label] {
        return linkingObjects(Label.self, forProperty: "repository")
    }
}
final public class Label: Object  {
    public dynamic var repository: Repository?
}

Framework B

It depens on framework A
It uses Realm models defined in A

When I try to map the labels of a given repository from B I get the following exception:
Uncaught exception: +[RLMAccessor_v0_Label name]: unrecognized selector sent to class 0x7fa73457ff00
2016-02-02 23:53:07.616 Gitdo[79148:1053140] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[RLMAccessor_v0_Label name]: unrecognized selector sent to class 0x7fa73457ff00'

It seems to be a bug with Realm when working with multiple frameworks.
Thanks for your help.

Is it possible you've linked the Swift files where this model is defined in both frameworks? If so, that could be a manifestation of https://realm.io/docs/swift/latest/#avoid-linking-realm-and-tested-code-in-test-targets
Otherwise, does this issue also manifest itself if Repository has persisted properties of its own? I'm assuming you just omitted them from this example, but Realm won't persist objects with no persisted properties, so I just want to confirm that.

Hello @jpsim
Thanks for your help, the model Repository is currently defined only in one framework. The framework is integrated into the app as Embedded Framework using CocoaPods (I'mt not sure if there might be something wrong with how CocoaPods embeds the framework).
Regarding the persisted properties no, the entire model is shown below:
final public class Repository: Object, Mappable {

    // MARK: - Attributes

    public dynamic var id: String = ""
    public dynamic var name: String = ""
    public dynamic var fullName: String = ""
    public dynamic var isPrivate: Bool = false
    public dynamic var isFork: Bool = false
    public dynamic var desc: String = ""
    public dynamic var openIssues: Int = 0
    public dynamic var language: String = ""
    public dynamic var hasIssues: Bool = false
    public dynamic var owner: Collaborator?
    public var collaborators: List<Collaborator> = List<Collaborator>()
    public dynamic var source: String = "github" // Default

    public var issues: [Issue] {
        return linkingObjects(Issue.self, forProperty: "repository")
    }

    public var labels: [Label] {
        return linkingObjects(Label.self, forProperty: "repository")
    }

    override public static func primaryKey() -> String? {
        return "id"
    }
}

@jpsim more useful info:
If I use the .map operator to adapt the relationship elements then I get that error but if I iterate through the Realm relationships using a for bucle then it works.

I created a sample project from the information you shared here and was unable to reproduce the issue you've described. Could you please take a look at https://github.com/jpsim/RealmGH3170 to let me know if there's anything I missed when creating the project that would allow us to trigger the behavior you're experiencing?
Ideally, please make a PR towards the project that makes the unit test fail or crash.

@pepibumur we still haven't heard back from you since posting an attempt at a repro case over two weeks ago, so we're closing this issue.


cover use case of .jpeg files

A student of mine found a small issue where files with the extension of .jpeg throws incorrect errors. This covers that issue with an addition to the elif statement.

Great!


Localization of error messages with variables are not available

If the error messages contain variables then localization can't be done using the procedure mentioned in [1]
Example:- if the error message is "Unable to find an user with username: USER1 in the system", then we can't follow the procedure [1] because we don't know the username prior.
[1] https://docs.wso2.com/display/IS560/Localization+Support+in+Identity+Server

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


chore: cache cni/cns v1.5.32

What type of PR is this?
/kind feature

What this PR does / why we need it:
Update cached cni and cns version to 1.5.32
Which issue(s) this PR fixes:

Fixes #
Requirements:

[X] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
To be merged once OBP signed release pipeline for 1.5.32 passes.
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

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 71.021%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
2566

Relevant Lines:
3613

💛  - Coveralls


Fix Windows related failures due to line breaks

On my Windows setup, GenerativePluginSpec/scripted tests are failing due to not handling Windows line breaks. This PR solves this by replacing Windows line breaks with Unix line breaks so that the rest of the logic works
Resolves: https://github.com/sbt/sbt-github-actions/issues/126
Note that arguably a better solution for this problem is to use System.lineSeperator() rather \n, I tried to do this however its quite finicky and hence its also more risky but such an improvement can always be made in a future PR. Also as mentioned in the ticket this PR references the PR solves all of the issues on my Windows setup (i.e. sbt test scripted passes completely) however the github actions CI is still failing for what I assume are orthogonal reasons (so to verify this PR you need to run it on a Windows machine see https://github.com/sbt/sbt-github-actions/pull/125)

Just to be cautious, Ill merge this when @armanbilge looks at it.

So I just realized why my Windows machine was had failing tests where as the CI did not, it turns out that sbt-github-actions detects if you have setup windows in githubWorkflowOSes and if so it will configure git with git config --global core.autocrlf false so that it will automatically convert windows crlf line ends to unix line endings.
Due to this I have updated the PR so to make the git auto.crlf an SBT plugin setting called githubWorkflowAutoCrlfWindows which defaults to true (i.e. current behaviour). For this projects CI specifically the PR sets the githubWorkflowAutoCrlfWindows value to false so that we can actually test that sbt-github-actions still continues to work even if we have windows vs unix line breaks.
While some can say what are the merits of the PR since you can just set auto.crlf on a Windows machine, I would personally argue that practically speaking sbt-github-actions shouldn't complain if the content of 2 generated workflows are exactly the same but with different line endings, in such a case the project would still work fine and it improves the user experience for Windows developers.

@mdedetrich first of all, thanks for all your work investigating this :) I'm glad you were able to minimize the issue to the core.autocrlf git config.
If I understand correctly, the changes here are not necessary for fixing CI, nor are they solving a user-reported issue. So personally I am cautious to make a change here, "just because".
I am also hesitant to use non-default settings for the plugin itself. Dog-fooding is an important method of testing, since it is the only time we can actually "integration test" this plugin in GHA. If we disable this feature just for this plugin, we will no longer be checking that the core.autocrlf works correctly in CI for all the projects that rely on it.

I would personally argue that practically speaking sbt-github-actions shouldn't complain if the content of 2 generated workflows are exactly the same but with different line endings, in such a case the project would still work fine and it improves the user experience for Windows developers.

Would this mean that Windows users can commit regenerated workflows that are identical except for changes in line breaks? It seems like this would allow for noisy git histories.

Would this mean that Windows users can commit regenerated workflows that are identical except for changes in line breaks? It seems like this would allow for noisy git histories.

Yes although you could say that if a user is already regenerating a workflow then they are already committing said files at which point the noise is less of an issue. Unless a person actually triggers workflow generation with githubWorkflowGenerate then no crlf line breaks will be created in the workflow files.

If I understand correctly, the changes here are not necessary for fixing CI, nor are they solving a user-reported issue. So personally I am cautious to make a change here, "just because".

I would disagree here but there is one main reason why, afaik there isn't a way to enforce crlf when another project uses sbt-github-actions as a plugin. This means that if a person uses sbt-github-actions on a windows machine and they don't have auto.crlf set to true  (its false by default) then they will get not sbt-github-actions will fail to work with non obvious errors due to mismatches in line breaks.

I am also hesitant to use non-default settings for the plugin itself. Dog-fooding is an important method of testing, since it is the only time we can actually "integration test" this plugin in GHA. If we disable this feature just for this plugin, we will no longer be checking that the core.autocrlf works correctly in CI for all the projects that rely on it.

True, but also given my previous statement that core.autocrlf is by default false (with no proper way of enforcing it for projects that use sbt-github-actions) one can easily claim that setting core.autocrlf to true in the CI is a copout of not wanting to deal with differing line breaks for different operating systems.


Ensure that dataframe with multiple columns is categorically shaded

Ensures wide charts, i.e. those with with multiple y-values, are categorically datashaded:
pd._testing.makeTimeDataFrame().hvplot.line(datashade=True)

@philippjfr could you add some comments to make it easier to understand the long conditions? 🙏
The tests failed because of a transient issue with mamba.

@philippjfr I've added a test, feel free to merge as is or to add a comment on that pretty long if condition 🙃

Actually there are some failing tests, I'll check them.

Ensures wide charts, i.e. those with with multiple y-values, are categorically datashaded:

This sounds good and I think it's the most useful default. Note that datashader can happily render hundreds of thousands of columns, but it will run out of colors for them after 22 columns by default. Even with Glasbey categorical maps from Colorcet, it will run out after 256, raising a fatal error. It might be good to catch that error in hvPlot and either drop back to non-categorical with a warning, or at least raise a useful error telling people what to do:
Too many columns for the number of colors in the `color_key` ({len(color_key)};
reverting to a non-categorical plot. This warning can be suppressed by specifying
`categorical=False` (??) or by supplying a `color_key` with at least {len(columns)}
colors.

Indeed this error ValueError: Insufficient colors provided (256) for the categorical fields available (299) is raised by datashader when this code is executed:
import numpy as np
import pandas as pd
import hvplot.pandas

df = pd.DataFrame(np.random.rand(10, 300))
df.columns = [str(c) for c in df.columns]

df.hvplot(x=df.columns[0], y=list(df.columns)[1:], datashade=True)

I'm not sure how I would catch this error at the hvPlot level as it's raised in the plotting machinery of HoloViews, I'd be interested to know if and how that could be achieved, even just out of curiosity. @jlstevens can maybe help?
If a categorical plot is obtained with self.by I think that hvPlot doesn't hold the list of categories, instead it delegates that to HoloViews. Knowing the categories is required to emit the warning you suggest, as their length needs to be computed. The code would need to handle all the ways a categorical plot can be obtained, and the different types of data structures hvPlot supports (e.g. a Dask DataFrame). Is it worth the trouble?

@maximlt is correct that the error is raised when the display machinery is activated at the HoloViews level so I don't think hvplot can directly catch the error.
One option is to try to catch the conditions where such an error is expected, to raise a better error message early. The other option is to catch the error at the holoviews level and raise a better error message there instead (using language appropriate for hvplot users as well).

Right, shouldn't be hard to count the colors in the colormap/color_key and the number of columns in the NdOverlay that is being shaded and error/warn when there are more categories than there are colors. This is slightly more awkward when using by because computing the distinct categories in a dask dataframe can be quite expensive.

If a categorical plot is obtained with self.by I think that hvPlot doesn't hold the list of categories, instead it delegates that to HoloViews.

Good point. Maybe HoloViews can then create a similar warning or error?

Maybe HoloViews can then create a similar warning or error?

Sure! Any PR improving the errors in HoloViews is welcome, as long as the message is helpful to people using HoloViews directly, as well as hvplot users.

Since it seems that the warning could be upstreamed to HoloViews, I will merge this PR as is and open an issue in HoloViews.


Get-Item for files outputs PSObject instead of FileSystemInfo after Get-WmiObject

Get-Item normally outputs System.IO.FileInfo or System.IO.DirectoryInfo objects for the FileSystem provider.  After invoking Get-WmiObject, however, Get-Item outputs PSObject objects instead.  This causes binding to any command expecting one of the specific FileSystemInfo types to fail.
Steps to reproduce
(Get-Item .).GetType().Name
Get-WmiObject bogus -ea si
(Get-Item .).GetType().Name

Expected behavior
DirectoryInfo
DirectoryInfo

Actual behavior
DirectoryInfo
PSObject

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.0-rc.2
PSEdition                      Core
GitCommitId                    7.0.0-rc.2
OS                             Microsoft Windows 6.3.9600
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0ΓÇª}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Get-WmiObject is a Windows PowerShell cmdlet; by invoking that, you're importing a Windows PowerShell module, which (by the looks of it) also include Get-Item

Nice diagnosis.
Yeah we need to solve the module encapsulation of the Windows PowerShell modules, and possibly exclude some WinPS modules from imports.

@anmenaga

@vexx32 Thank you very much for explaining how that's happening.  I confirmed your explanation with this example:
.{
    Get-Command Get-Item
    Get-WmiObject bogus -ea si
    Get-Command Get-Item
} |
    % {[pscustomobject]@{
        CommandType = $_.CommandType
        ModulePath  = $_.Module.Path
    }}

which outputs

CommandType ModulePath
----------- ----------
     Cmdlet C:\program files\powershell\7\Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1
   Function C:\Users\un1w\AppData\Local\Temp\remoteIpMoProxy_MicrosoftPowerShellManagement_<IP_ADDRESS>_localhost_f7967f0e-9ΓÇª

@rjmholt @anmenaga I'd also suggest that any cmdlets that have the same name as ones already present in the pwsh builtin modules are not automatically given proxy functions, regardless of which module is imported.

Yeah we need to solve the module encapsulation of the Windows PowerShell modules, and possibly exclude some WinPS modules from imports.

It doesn't help in the issue. We discussed this earlier. The example shows that we need "import" only one cmdlet from the module. And my suggestion was that we need to have a white list. Otherwise we import whole  WinPS Microsoft.PowerShell.Management and overload PS Core Microsoft.PowerShell.Management. Alternative proposal was to make second one more high priority in discovering process,

Otherwise we import whole WinPS Microsoft.PowerShell.Management and overload PS Core Microsoft.PowerShell.Management

My thinking was to use a wrapper module that imports the WinPS module as a nested module and only exposes the commands that we want to add to the PS 7 session.
However, playing with that now I'm not sure how possible that is.

Looks like I've found a new bug in PowerShell!
Try this:
New-ModuleManifest -path ./wincompat.psd1 -NestedModules 'C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1' -CmdletsToExport 'Get-EventLog'

Import-Module ./wincompat.psd1

Get-EventL<Tab> # Completes Get-EventLog
Get-EventLog # Command not found

I'd expect that Import-Module ./wincompat.psd1 fail on loading .Net Framework dll and write the error.

fail on loading .Net Framework dll

But we support that! The 5.1 Microsoft.PowerShell.Management.dll is importable into PowerShell. The problem is the way commands exported from it currently override things

we support that

I guess you mean "the binary can be loaded" but we can not support the 5.1 module on 7.0. A similar module importing happened when we had a mess with the module paths. My suggestion was explicitly disable this for modules in the repo.

@rjmholt @iSazonov @vexx32 I've been experimenting with this behavior.  My findings suggest that the impact of how PowerShell 7 resolves names is broader than just what occurs when a Windows PowerShell module is imported.  There seems to have been a change to how names are resolved between 5.1 and 7 that introduces name resolution side-effects, in general, between modules.  I haven't to be able to reproduce that in 5.1.  I have opened #12036 that is a repro not involving WIndows PowerShell at all.  If you have a chance please take a look at that issue too.

My findings suggest that the impact of how PowerShell 7 resolves names is broader than just what occurs when a Windows PowerShell module is imported. There seems to have been a change to how names are resolved between 5.1 and 7. That change introduces name resolution side-effects, in general, between modules

Can you give an example where this new behaviour is causing an issue? It would help us pin down the change and the issue

Good ideas on this thread. The original issue with Get-WmiObject is covered by #11419

My findings suggest that the impact of how PowerShell 7 resolves names is broader than just what occurs when a Windows PowerShell module is imported. There seems to have been a change to how names are resolved between 5.1 and 7. That change introduces name resolution side-effects, in general, between modules

(I wasn't sure which "new behavior" you were asking about.  I answered for the new module resolution behavior over on #12036.)
@rjmholt The new behavior of auto-importing of Windows PowerShell proxy commands caused a problem during the same PowerShell 5.1 to 7 transition I described here and it occurred in a similar manner to that story: I had a module that invoked Get-WmiObject that inadvertently loaded the wrong Get-Item.  Most modules that called Get-Item (which is a lot) then resolved to the wrong Get-Item which resulted in errors when the output type didn't match the input type of the downstream command.  None of those modules contained a call to Import-Module Microsoft.PowerShell.Management so they were all resolving Get-Item in the global scope.  That is a mistake, it seems, albeit not one that is obvious even now.  The solution seems to be to include explicit imports for each module within the module that uses it.

Thanks for looking into this so deeply @alx9r

Another idea is to replace Get-WmiObject with Get-CimInstance that is in PS-Core-compatible module CimCmdlets. CIM cmdlets were done as a replacement for WMI.


Add label to Kubernetes Pods with spec id.

When deploying multiple Shiny apps to a Kubernetes cluster the Pods running the apps are given generic names. This makes it cumbersome to figure out which app is running in a given Pod.
This pull request adds a label to the Pods with the spec id of the app (called sp-spec-id). For example, if Shinyproxy has been configured with an app that has the id shinytest then kubectl get all --show-labels would return:
NAME                                                              READY   STATUS    RESTARTS   AGE   LABELS
pod/sp-pod-94aa06a8-f94e-4204-a476-832b7d26d1dd                   1/1     Running   0          81s   app=94aa06a8-f94e-4204-a476-832b7d26d1dd,sp-spec-id=shinytest

Hi @johannestang
Thanks for your PR. We worked on a similar feature, which is ready to be released in the next version. This adds lots of metadata about the app as Kubernetes annotations. We opted for Kubernetes annotations, because of two reasons:

having many pods with many labels may slow down the Kube API server, therefore it's best practice to limit the amount of labels
the app spec may contain arbitrary characters (such as '@') which are not allowed by kube as labels

Here is an example (the sp-instance and sp-realm-id are created by our shinyproxy operator, but it works without the operator as well):

I'll keep this PR open until the next release.

Hi @johannestang
Thanks for your PR. We worked on a similar feature, which is ready to be released in the next version. This adds lots of metadata about the app as Kubernetes annotations. We opted for Kubernetes annotations, because of two reasons:

having many pods with many labels may slow down the Kube API server, therefore it's best practice to limit the amount of labels
the app spec may contain arbitrary characters (such as '@') which are not allowed by kube as labels

Here is an example (the sp-instance and sp-realm-id are created by our shinyproxy operator, but it works without the operator as well):

I'll keep this PR open until the next release.

Hi @LEDfan
That looks great, thanks a lot. I'm looking forward to the next release 😃

Hi @johannestang
We just released ShinyProxy 2.5.0 which now includes all the mentioned labels and annotations. You can find all details in our documentation.
Since this is fixed now, I'm closing this issue. As always, feel free to open a new issue if you encounter any problem.


Typings only work when importing a default using older TS syntax

In #169, it was mentioned that adding a default export solved for import chalk from 'chalk';. The way it's done now means we can't import * as chalk from "chalk";:
import * as chalk from "chalk";

// Property 'blue' does not exist on type 'typeof "---/node_modules/chalk/types/index"'.'
chalk.blue("foo");

This has been discussed at great lengths in https://github.com/chalk/chalk/issues/215. tl;dr It's working as intended and we're not going to change it.


Updated train.py

Modified it since it takes a longer amount of time to execute

HI,
Thank you for merging my change request.
I am sending this email to clarify some details in that Mesh CNN code
1) After executing  bash ./scripts/shrec/view.sh  , I dont know
where the result is getting stored. I cant visualize the output in the
Google Colab Console. I didnt get any error message too.
2) After executing tensorboard --logdir runs , when I click the url,
its takes me to a new tab but it shows some error. I cant view the training
plot loss.PFA the screenshot for your reference.
It would be so kind of you if you could help me with this problem.
Thanking you,
Kailash.
[image: Screenshot (16).png]
On Thu, Feb 13, 2020 at 6:42 PM Rana Hanocka<EMAIL_ADDRESS>wrote:

Merged #61 https://github.com/ranahanocka/MeshCNN/pull/61 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ranahanocka/MeshCNN/pull/61?email_source=notifications&email_token=AORDFFMKVSLX2A45GQQRBXDRCVBLBA5CNFSM4KTVBFK2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWTRSQPQ#event-3034785854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORDFFINK62X3Y7VJWZCJITRCVBLBANCNFSM4KTVBFKQ
.

Hi @Kailash2906
I have the same problem, I don't know where to store the segmentation results.
did you find the answer to your question?


p6doc broken pipes when closing less pager

The problem
I have Raku installed from source on a Linux machine, with install/bin and install/share/perl6/site/bin symlinked into my $PATH.
Running p6doc <topic> and then immediately quitting the resulting pager instance occasionally produces a broken pipe error. For instance: p6doc operators opens the expected page, which appears to be complete, searchable and in order. However, if I quit the pager immediately after running the command, I get
Failed to write bytes to filehandle: Broken pipe
  in block <unit> at <HOME>/rakudo/install/share/perl6/site/doc/Language/operators.pod6 line 2947

For p6doc operators the error always references line 2947. Another example is regexes:
Failed to write bytes to filehandle: Broken pipe
  in block <unit> at <HOME>/rakudo/install/share/perl6/site/doc/Language/regexes.pod6 line 2255

Here, the line is always 2255.
I can't quite understand the error-occurrence pattern, but this does not happen every time; it tends to happen only if I quit the pager soon after opening the page. If I poke around in there, scroll, search, etc. the error doesn't occur when closing the page.
For instance, for regexes, searching for something like Substitution in the pager makes the problem go away. To be precise, if I

run p6doc regexes
search for Substitution with /Substitution in the pager (less)
quit the pager with q

I do not see the error.
Suggestions

p6doc is going to be replaced as soon as we can; we appreciate your reporting, but I think it's going to be fixed as soon as we start using the new one.

Cool, thanks! May I ask what it will be replaced with, and whether that other tool will be packaged with the next Rakudo Star release?

That's the idea, yes
El sáb., 8 feb. 2020 a las 13:18, stuart-little<EMAIL_ADDRESS>escribió:

Cool, thanks! May I ask what it will be replaced with, and whether that
other tool will be packaged with the next Rakudo Star release?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Raku/doc/issues/3201?email_source=notifications&email_token=AAAAD5AUZRCOLYNUP66TX5LRB2PHXA5CNFSM4KRHQPJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFQSKI#issuecomment-583731497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAD5HNXPRBADIBLWGVQQLRB2PHXANCNFSM4KRHQPJQ
.

--
JJ

The other tool is in github.com/raku/rakudoc

p6doc is no longer part of this repository, closing ticket. Please see the linked repository above.


Have a Demo?

@huangboju
Hello. Today I added an example of use. You can clone a project and run it.


Cloud Refactor

https://antv.alipay.com/zh-cn/g2/3.x/demo/other/word-cloud.html

Done
<EMAIL_ADDRESS>&&<EMAIL_ADDRESS>word-cloud word-cloud with image mask


Collapse a Category by default

Description
It would be lovely to be able to set a category as collapsed by default.
in my case for example i dont wand my indexers and download clients to take up that much space in the interface.
i know this is a smaller one but i would still love to see it :)
Priority
Low (Nice-to-have)

Hi. I was searching for exactly for the same thing.
In my case, I'm making a mini Wiki section or How's to page that I would like to looks like this at first place:

to let the user know the content list at glance and choose later which part is interested in

Hi. I was searching for exactly the same thing. In my case, I'm making a mini Wiki section or How's to page that I would like to looks like this at first place:

to let the user know the content list at glance and choose later which part is interested in

I know that my case would work better having a collapsible Notebook widget, but in absence of this I'm using the Category workaround

I mean i've been told by now/found out/confirmed that homarr caches that information so if you collapse it once it will be that way when you next load the page.
I would still like to see it as a feature. Although its not high up in the priority list

homarr caches that information so if you collapse it once it will be that way when you next load the page

Yes, that's true, but it's not for me but for all my users. So, it shouldn't matter how I left the category in my last session, I want the other users finds it collapsed by default (in their first session).
IMO it's important because they would see the points like an index and learn that they can expand the categories at first place, otherwise they find a complex page where the scrolling it's a bit messy and most probably don't discover the collapse/expand feature (because they aren't familiar with homarr)

I would also very much like to see that feature, or maybe the option to set the default state of all categories to collapsed regardless of stored session data, maybe as a variable in .env / docker environment variable, so it stays that way in any browser. This would be very convenient, if you have a lot of categories and don't want to scroll through all of them to get to the one you need.
Btw. same goes for setting the dark theme as default. 🙏🙂


chore(publish): fix ref_name split

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 96.593%

Totals

Change from base Build<PHONE_NUMBER>0:
0.01%

Covered Lines:
473

Relevant Lines:
480

💛  - Coveralls


ADBDEV-4935-8: Fix null check for ITask::Self

Fix null check for ITask::Self
In several places, there is a check for ITask::Self() for null, but then CTask
is used. Self in CTask does dynamic_cast the result of ITask::Self(), which can
lead to null pointer dereference.
This patch fixes the null check by checking the result of CTask instead of
ITask, also this patch adds such a check in two other places.

How about https://github.com/arenadata/gpdb/blob/fd5939d4f491238bbd28be88b98949cd0e2d6fe0/src/backend/gpopt/utils/COptTasks.cpp#L637 and other usings CTask::Self() or ITask::Self()?

In general, Task::Self() should not be null if the call occurs inside the task.

How about

In this case, the call occurs inside the task, so it is safe. in other cases, it is more difficult. Somewhere there is a check for null somewhere debug assert somewhere without checking at all. Does it make sense to add a check where there is a debug assert?

In general, Task::Self() should not be null if the call occurs inside the task.

How about

In this case, the call occurs inside the task, so it is safe. in other cases, it is more difficult. Somewhere there is a check for null somewhere debug assert somewhere without checking at all. Does it make sense to add a check where there is a debug assert?

How about adding GPOS_ASSERT here before the return?
https://github.com/arenadata/gpdb/blob/c097366900c7699f6e10fe5f29a763792d34af41/src/backend/gporca/libgpos/include/gpos/task/CTask.h#L285-L289

Considering that CTask is the only implementation of ITask, the possible return of NULL from ITask::Self() is a bigger problem than the cast error. It also looks like the Task can only be NULL during error handling and throwing a new error might not be a good idea.


Moved modules to a package.

Unfortunately test fixtures were not usable as they were not included with setup.py py_modules.
Adding them to a list of modules would mean there was a danger that pytest_fixtures.py would endup in users's root of virtualenv and clash with module of the same name.
This PR includes:

Move from module to a package nameko_sqlalchemy
nameko_sqlalchemy/__init__.py added for backwards compatibility.
After discussion with @mattbennett reverted default model_base to raise NotImplementedError if not overridden. Otherwise returning
declarative_base from sqlalchemy.ext.declarative.declarative_base would never provide a value for the user.
Coverage actually runs against pytest_fixtures.py

One small comment.
@davidszotten I don't have ownership of nameko-sqlalchemy on PyPI. The 0.0.3 release is defunct because the plugins weren't shipped. Is it possible / recommended to remove the old build from PyPI and replace it with a new one if we update the tag in GitHub?

removing releases from pypi is pretty bad practice. better to just bump and do a new one

👍


Load() doesn't work without default or Optional

It would be great that the load() method works if we add only one property upon which object in Memgraph is found.
For example, let's say we have defined Stream class like this:
class Stream(Node, labels={"User", "Stream"}):
    name: str = Field(index=True, unique=True, db=memgraph, label="User")
    id: str = Field(index=True, unique=True, db=memgraph)
    url: str = Field()
    followers: int = Field()
    createdAt: str = Field()
    totalViewCount: int = Field()
    description: str = Field()

Now, let's suppose I want to find a streamer based on its id (which is unique). I expect that stream = Stream(id="7").load(db=memgraph) returns Stream whose id is "7". That does not work, because it's expected that I give value for all properties of class Stream. This can be solved by adding default value ("") to each property, or by using Optional for now.

Hm, after giving it some thought, we don't need to create anything. The class Node should work for this purpose.
stream = memgraph.load_node(Node(
    id="7",
    _label="Stream"
))

This will return an instance of Stream. If you were to do a Node(...).load(db=memgraph) you would have gotten an instance of Node.
I think this is plenty good for this use-case. I would close this issue if you agree.


User-Agent header in "show advanced options" for Basic fast Plaintext/HTTP Client is not respected

Edit an entry > Request > Show advanced options > Request headers > User-Agent: curl
The actual request being sent does not set this user agent. It uses the globally configured one in settings.

related to https://github.com/dgtlmoon/changedetection.io/issues/2384


Angular Translate is not working

Subject of the issue
var $translate = $filter('translate');
$scope.titleDefault = $translate('EMPLOYEE_ADMIN_TAB_SEARCH');
on loading of application it's working fine but if i am Refreshing it,then it is showing the 'EMPLOYEE_ADMIN_TAB_SEARCH' as it is, i don't no why.
can any one please suggest me any solution for it.plz
Your environment

version of angular-translate
version of angular->1.4.7
which browser and its version ->Chrome latest

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo, you can use this template as a base.
Expected behaviour
'EMPLOYEE_ADMIN_TAB_SEARCH' this is the key for json file from there it get the value like 'search tab' if we refresh the application also.
Actual behaviour
'EMPLOYEE_ADMIN_TAB_SEARCH' but if we refresh it is showing as it is simple text like 'EMPLOYEE_ADMIN_TAB_SEARCH' i dont no y.

Hello,
as we had already mentioned in the issue's template, we need a working and as minimal as possible demo covering your specific use case or issue.
Follow these steps:

Please open this plnkr base.
Fork it (at the top left).
Ensure the version of AngularJS and angular-translate is correct.
Ensure all angular-translate plugins are available; reduce and remove anything you can.
Write a minimal as possible demo for your specific issue.
Save and freeze. Provide us the final link to your demo.

https://plnkr.co/edit/sqPF45?p=preview


HapGetFrameChunkCount

Hi Hap team !
Thanks you very much for sharing this wonderful codec library.
I think it could be nice having a HapGetFrameChunkCount function like HapGetFrameTextureFormat, allowing the client application to get the hap chunk's count of a file without decoding it.
This can be useful during the workflow to check if the graphists correctly encode their video files for quick decoding.
This can also help client application to fit the number of thread to decode hap files.
I wrote a version of this function who seems to work very well.
It's greatly copy pasted from hap_decode_single_texture function.
So a refactoring should be certainly needed.
Here my little contribution:
unsigned int HapGetFrameChunkCount(const void *inputBuffer, unsigned long inputBufferBytes, unsigned int index, unsigned int *chunkCount)
{
  unsigned int result = HapResult_No_Error;
  const void *texture_section;
  uint32_t texture_section_length;
  unsigned int texture_section_type;
  unsigned int compressor;

  /*
  Check arguments
  */
  if (inputBuffer == NULL
    || index > 1
    || chunkCount == NULL
    )
  {
    return HapResult_Bad_Arguments;
  }

  *chunkCount = 0;

  /*
  Locate the section at the given index, which will either be the top-level section in a single texture image, or one of the
  sections inside a multi-image top-level section.
  */
  result = hap_get_section_at_index(inputBuffer, inputBufferBytes, index, &texture_section, &texture_section_length, &texture_section_type);

  if (result == HapResult_No_Error)
  {
    // copy past from hap_decode_single_texture
    compressor = hap_top_4_bits(texture_section_type);
    if (compressor == kHapCompressorComplex)
    {
      const void *section_start;
      uint32_t section_header_length;
      uint32_t section_length;
      unsigned int section_type;
      size_t bytes_remaining = 0;

      const void *compressors = NULL;
      const void *chunk_sizes = NULL;
      const void *chunk_offsets = NULL;

      result = hap_read_section_header(texture_section, texture_section_length, &section_header_length, &section_length, &section_type);

      if (result == HapResult_No_Error && section_type != kHapSectionDecodeInstructionsContainer)
      {
        result = HapResult_Bad_Frame;
      }

      if (result != HapResult_No_Error)
      {
        return result;
      }

      section_start = ((uint8_t *)texture_section) + section_header_length;
      bytes_remaining = section_length;

      while (bytes_remaining > 0) {
        unsigned int section_chunk_count = 0;
        result = hap_read_section_header(section_start, bytes_remaining, &section_header_length, &section_length, &section_type);
        if (result != HapResult_No_Error)
        {
          return result;
        }
        section_start = ((uint8_t *)section_start) + section_header_length;
        switch (section_type) {
        case kHapSectionChunkSecondStageCompressorTable:
          compressors = section_start;
          section_chunk_count = section_length;
          break;
        case kHapSectionChunkSizeTable:
          chunk_sizes = section_start;
          section_chunk_count = section_length / 4;
          break;
        case kHapSectionChunkOffsetTable:
          chunk_offsets = section_start;
          section_chunk_count = section_length / 4;
          break;
        default:
          // Ignore unrecognized sections
          break;
        }

        /*
        If we calculated a chunk count and already have one, make sure they match
        */
        if (section_chunk_count != 0)
        {
          if (*chunkCount != 0 && section_chunk_count != *chunkCount)
          {
            return HapResult_Bad_Frame;
          }
          *chunkCount = section_chunk_count;
        }

        section_start = ((uint8_t *)section_start) + section_length;
        bytes_remaining -= section_header_length + section_length;
      }

    }
    else if (compressor == kHapCompressorSnappy)
    {
      // no chunk ?
    }
    else if (compressor == kHapCompressorNone)
    {
      // no chunk.
    }
    else
    {
      return HapResult_Bad_Frame;
    }
  }
  return result;
}

Hoping this can help
Best regards,

Thanks - I see the utility of getting the chunk count.
Rather than duplicating so much code I'd rather some refactoring to share the common code between the functions which use it - a pull request to that effect would be welcome, or I'll get to it eventually.


extract axis to separate class like ServirApi

Use encapsulation)

API is autogenerated into separate folder: api/generated


No html tags being shown on page source after building the boilerplate.

After building the nextjs boilerplate,
I am not getting the the <div,  and other elements on page source. Just getting

This won't be useful for SEO right. The web crawling bots won’t be able to extract and index the required data.  How can I fix this?  Thanks.

Can you please provide us a repo or a stackblitz demo so we can reproduce the problem.


remove duplicate word

Hello!
I found another small typo (duplicate "the") and thought I might as well quickly fix it.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Radar chart (& polar): horizontal registers render with a rectangular box around the register.

Scenario:
Horizontal registers in radar as well as polar render with a rectangle around them.  Not per design.
Environment:
Vis1.0.1+Radar 1.0.0
Screenshot:

Code Snippet:
series-config='{"axis1":{"yAxisUnit":"Hz","title":"Axis 1"},"axis2":{"yAxisUnit":"F","title":"Axis 2"}}'
 axes='["axis1","axis2","axis3","axis4","axis5"]'

 show-tooltip
 tooltip-config='{
     "tooltipStyle": "light",
     "forceDateTimeDisplay": true
   }'

  axis-register-config='{
     "forceDateTimeDisplay": true,
     "type": "horizontal",
     "height" : "20"
   }'

....

No longer an inside in v4


refactor: continue looping when Validator is nil

Description

Add continue to for loop when the validator is nil or when there is no reward coins

ref #455

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added appropriate labels to the PR
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #457 (1b5e209) into main (952b694) will decrease coverage by 0.05%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##             main     #457      +/-   ##
==========================================
- Coverage   47.14%   47.09%   -0.06%
==========================================
  Files          61       61
  Lines        7998     7997       -1
==========================================
- Hits         3771     3766       -5
- Misses       3955     3957       +2
- Partials      272      274       +2

Impacted Files
Coverage Δ

x/oracle/keeper/reward.go
79.06% <42.85%> (-9.57%)
:arrow_down:


can't find modules for the swiper even though i reinstalled it many times

Check that this is really a bug

[X] I confirm

Reproduction link
didn't push it since the swiper isn't working
Bug description
when i try to import the swiper react fails to compile and the exception is that's module wasn't found specially css files for the swiper, when i check the folder for the swiper  i didn't find any directory for the css
Expected Behavior
import modules
Actual Behavior
module not found
Swiper version
7.0.0
Platform/Target and Browser Versions
Windows
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

I have the same issue, but I think that it will be closed, because author think that it normal.

https://github.com/nolimits4web/swiper/issues/4871


More info about @PlatformIO, add keywords to package

Added to PlatformIO Documentation: http://docs.platformio.org/en/latest/ide/atom.html
Thanks a lot!

Could I ask you to add description and link to this repo? https://github.com/vigetlabs/platomformio

As for link and description, see my fork: https://github.com/platformio/platomformio

Should we use atom.project.getPath() for https://github.com/vigetlabs/platomformio/blob/master/lib/platomformio-view.coffee#L56 ?


raftstore: improve lease accuracy for leader transfer

Hi,
This PR tries to fix issue #1593
PTAL @BusyJay @zhangjinpeng1987 @siddontang @ngaut

Any update @hhkbp2 ?

PTAL @BusyJay @zhangjinpeng1987 @siddontang @ngaut

PTAL @BusyJay @zhangjinpeng1987 @siddontang @ngaut

LGTM

Any tests to cover the new logical?

If the lease is None and transferee has a value, we can't update the lease. Is it more clear?

The lease is None doesn't mean that it's reset by MsgTimeoutNow. I think the current implementation is very clear.

PTAL  @zhangjinpeng1987 @siddontang

PTAL @zhangjinpeng1987 @siddontang @ngaut

PTAL @BusyJay


Added new test case for Linux VM hibernation with storage workload

Added a new test case PERF-STORAGE-HIBERNATE
Fixed a few lines in POWER-HIBERNATE for VM size adjustment.

TEST RESULT
[Canonical UbuntuServer 18.04-LTS latest] [LISAv2 Test Results Summary]
[Canonical UbuntuServer 18.04-LTS latest] Test Run On           : 06/09/2020 22:58:25
[Canonical UbuntuServer 18.04-LTS latest] ARM Image Under Test  : Canonical : UbuntuServer : 18.04-LTS : latest
[Canonical UbuntuServer 18.04-LTS latest] Initial Kernel Version: 5.3.0-1022-azure
[Canonical UbuntuServer 18.04-LTS latest] Final Kernel Version  : 5.7.0-next-20200609
[Canonical UbuntuServer 18.04-LTS latest] Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
[Canonical UbuntuServer 18.04-LTS latest] Total Time (dd:hh:mm) : 0:0:54
[Canonical UbuntuServer 18.04-LTS latest]
[Canonical UbuntuServer 18.04-LTS latest]    ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
[Canonical UbuntuServer 18.04-LTS latest] -------------------------------------------------------------------------------------------------------------------------------------------
[Canonical UbuntuServer 18.04-LTS latest]     1 POWER                PERF-STORAGE-HIBERNATE                                                            PASS                51.72
[Canonical UbuntuServer 18.04-LTS latest]
[Canonical UbuntuServer 18.04-LTS latest]
[Canonical UbuntuServer 18.04-LTS latest] Logs can be found at C:\LISAv2\ND25\TestResults\2020-06-09-22-58-20-3588

I had a quick look and this looks good to me. Thank you, @juhlee-microsoft !

@juhlee-microsoft I suggest you use the same ps1 script for functional and perf testing, most of the logic is the same. difference is that if it is perf testing, then you add fio verification before and after hibernate, you can use test name or a testparam to distinguish and then decide to run the fio code or not. Also I don't think it is a perf testing, you just run it and didn't collect any results to display the perf data.


yt-dlp: 2021.08.02 -> 2021.08.10

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Duplicate of #133762

The other PR is blocked because the packaging is being switched. I think we can just merge this one and wait until the packaging change is solved.

Result of nixpkgs-review pr 135536 at 7004e529 run on aarch64-linux 1

5 packages built successfully:

python38Packages.yt-dlp
python38Packages.yt-dlp-light
yt-dlp (python39Packages.yt-dlp)
yt-dlp-light (python39Packages.yt-dlp-light)
tartube-yt-dlp

2 suggestions:

warning: unused-argument
Unused argument: fetchurl.
Near pkgs/tools/misc/yt-dlp/default.nix:1:8:
  |
1 | { lib, fetchurl, buildPythonPackage
  |        ^

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/tools/misc/yt-dlp/default.nix:50:0:
   |
50 |     description = "Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)";
   | ^


Shim fails in IE8 compatibility mode: 'Element' is null or not an object

This line throws the following exception when running on a page in IE8 compatibility mode (basically IE7):
, elemCtrProto = (view.HTMLElement || view.Element)[protoProp]

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Mon, 30 Jan 2012 21:46:40 UTC
Message: 'Element' is null or not an object
Line: 23
Char: 4
Code: 0

Does it fail in normal IE8 mode too?

Hi Eli--
Nope, works fine there.
Todd
On Jan 30, 2012, at 7:30 PM, Eli<EMAIL_ADDRESS>wrote:

Does it fail in normal IE8 mode too?

Reply to this email directly or view it on GitHub:
https://github.com/eligrey/classList.js/issues/2#issuecomment-3733005

IE7 is impossible to support as it has no accessor support. You can make helper methods that behave like classList, but you can't implement classList.

Figures. :) Thanks for checking into it.
Todd
On Sun, Feb 5, 2012 at 6:53 PM, Eli Grey
<EMAIL_ADDRESS>wrote:

IE7 is impossible to support as it has no accessor support. You can make helper methods that behave like classList, but you can't implement classList.

Reply to this email directly or view it on GitHub:
https://github.com/eligrey/classList.js/issues/2#issuecomment-3822900


Update package-lock.json file to v2

The CI/CD currently produces the following error
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!

Closed via #489


chore: switch to released data provider chart

Description

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Hi @ds-jhartmann
due to presumed issue that the umbrella chart was running out of resources during install, I reviewed the tx-data-provider integration more thoroughly.
I noticed that in its current setup, the values file from the tx-data-provider chart and - afterwards when integrated - the values file from the umbrella chart don't perform any kind of overwrite on the subcharts (tractusx-connector, digital-twin-registry, simple-data-backend and vault). I assume the connection to the subcharts fails because most of them have hyphens in the chart name. I tried to work with aliases in tx-data-provider chart, and that works, so the overwrite from the values file from the tx-data-provider was taken into account but when integrating, the overwrite from the values file of the umbrella still doesn't work.
Note: once the overwrite from the values file from the tx-data-provider works, the dependency to the common chart of Bitnami of the digital-twin-registry causes issues with the postgres setup.
Let's discuss next week how to proceed. Maybe it's better to add the charts for the tx-data-provider directly to the umbrella chart and work with aliases for setting up some charts multiple times, in order to avoid such nested situations.

I did look into it a bit more:
Some corrections:

the values file from the tx-data-provider chart does perform the expected overwrite when installing the tx-data-provider directly
the values file from the umbrella chart does perform the expected overwrite if only one, dataconsumer or dataprovider, is enabled (even though dataprovider did run into the following error if the password for the dtr database was not set Error: INSTALLATION FAILED: template: umbrella/charts/dataprovider/charts/digital-twin-registry/templates/registry/postgres-init.yaml:35:63: executing "umbrella/charts/dataprovider/charts/digital-twin-registry/templates/registry/postgres-init.yaml" at <b64enc>: invalid value; expected string)
the digital-twin-registry chart doesn't have a direct dependency to the common chart of bitnami

There were to issues at play (all solved there https://github.com/eclipse-tractusx/tractus-x-umbrella/pull/73):

dataconsumer and dataprovider couldn't be enabled at the same time without running into an related to the existingSecret override in the digital-twin-registry chart, I changed to a working setup https://github.com/eclipse-tractusx/tractus-x-umbrella/pull/73/commits/9376e25551982fb3442a381e9cbb8fe56b9c31a4
the install of the umbrella chart was running out of resources with the tx-data-provider components integrated and enabled: due to that I reworked the chart testing concept: https://github.com/eclipse-tractusx/tractus-x-umbrella/pull/73

I recommend to close this PR and merge https://github.com/eclipse-tractusx/tractus-x-umbrella/pull/73 instead.

Hi @ds-jhartmann
due to presumed issue that the umbrella chart was running out of resources during install, I reviewed the tx-data-provider integration more thoroughly.
I noticed that in its current setup, the values file from the tx-data-provider chart and - afterwards when integrated - the values file from the umbrella chart don't perform any kind of overwrite on the subcharts (tractusx-connector, digital-twin-registry, simple-data-backend and vault). I assume the connection to the subcharts fails because most of them have hyphens in the chart name. I tried to work with aliases in tx-data-provider chart, and that works, so the overwrite from the values file from the tx-data-provider was taken into account but when integrating, the overwrite from the values file of the umbrella still doesn't work.
Note: once the overwrite from the values file from the tx-data-provider works, the dependency to the common chart of Bitnami of the digital-twin-registry causes issues with the postgres setup.
Let's discuss next week how to proceed. Maybe it's better to add the charts for the tx-data-provider directly to the umbrella chart and work with aliases for setting up some charts multiple times, in order to avoid such nested situations.

I did look into it a bit more:
Some corrections:

the values file from the tx-data-provider chart does perform the expected overwrite when installing the tx-data-provider directly
the values file from the umbrella chart does perform the expected overwrite if only one, dataconsumer or dataprovider, is enabled (even though dataprovider did run into the following error if the password for the dtr database was not set Error: INSTALLATION FAILED: template: umbrella/charts/dataprovider/charts/digital-twin-registry/templates/registry/postgres-init.yaml:35:63: executing "umbrella/charts/dataprovider/charts/digital-twin-registry/templates/registry/postgres-init.yaml" at <b64enc>: invalid value; expected string)
the digital-twin-registry chart doesn't have a direct dependency to the common chart of bitnami

There were to issues at play (all solved here #73):

dataconsumer and dataprovider couldn't be enabled at the same time without running into an error related to the existingSecret override in the digital-twin-registry chart, I changed to a working setup 9376e25
the install of the umbrella chart was running out of resources with the tx-data-provider components integrated and enabled: due to that I reworked the chart testing concept: chore: rework chart testing and tx-data-provider #73

I recommend to close this PR and merge #73 instead.

Thanks a lot for the feedback and fixes.
Closing this PR since it will be fixed with https://github.com/eclipse-tractusx/tractus-x-umbrella/pull/73


Event listeners lost on data-turbo-permanent after navigation

I have a element which is market as data-turbo-permanent (navigation). Inside this element event listeners are added to various elements of the DOM. After navigate into to another page with turbo all the event listener are gone. The eventlisteners are registered over on the elements using addEventlistener. How can I prevent that turbo is doing anything with the elements inside this container?

Got another problem it seems registering the stimilus component multiple times when using turbo permanent: #471

@alexander-schranz was this closed unintentionally?

@seanpdoyle Thx for the response. I close intentionally as I interpreted the issue wrongly and thought a new issue describing the new problem would be better then editing the whole description and title of this issue. Thx for your answer 🙏 here and in the other issue.


added color to message

I added displaying of an emoji at the beginning of the message, based on severity of the trigger. In order for this to work, Zabbix message must contain "Severity: {TRIGGER.SEVERITY}" in it's body (it does by default).

I replaced severity emoji with severity color - it looks much better and is more readable when there are long messages

This is really just personal preference; I'm going to stick to emojis in my repository, but thanks for the PR.


monday.com Raycast extension

Description
This is a new monday.com Raycast extension I've been working on.
It has a bunch of nice and productivity-enhancing features for monday.com users, the notable ones are:

See recently interacted-with boards, and let you directly navigate to a board
Quick-add an item to one of the recent boards
See all your team members and their contact information, quickly letting you copy or interact with

Screencast
Recent boards flow:

Team flow:

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast

Hey @pernielsentikaer,
I believe I've addressed your concerns. The only thing I'd love to do is being able to reset the user's preferences on a token failure, but based on the docs there's no way to do this today ...
I've settled on a Detail-based error view based the status code of the request:

Hi @freak4pc 👋
It's getting better and better 💪
Could you add your new error screen to "Go to My Account" also? 😄

🎉


Dataset tests

Motivation and Context
Test cases for the new Dataset API

The commit history is polluted, I'll probably create a new one

Closing and recreating a new PR


[1.12.2] Sleeping Blocking TC Progress

With the recent changes to TC you start the mod by finding a vis crystal and then sleeping.  This is fine, except what if you can't sleep.  I have a mod pack that we are creating where the player is never in the overworld, and so can't sleep.  They can set their spawn, with a bed but can't ever actually sleep because they aren't in dimension 0.  This is an issue with TC as Salis Mundus requires the player to sleep to unlock it.  Is there any other Overworld REQUIRED bits we need to know about?
Is it possible to add a config for opening this research without sleeping?

Some of the progression also requires taking notes about the sun, moon and sky in the Overworld.

hhmmm...any chance that works in any dimension with sun and moon?

Can you give specific research or observations with commands?

/mt help
/tc help

I've got no idea what else is in your pack, but I'm wondering if this is something JustEnoughDimensions could solve. You can have "overworld" dimensions, and just customize the world generation to mimic whatever world's you wanted to emulate. This should allow you to sleep, and most likely will allow you to collect notes on the sky.

I am using JED, just have no idea how to set stuff up.  It's pretty complicated.  I've looked through the Wiki and will need to figure it out.  If you know of a clear guide somewhere, I'd love to know about it.
For now, I'll just have to give the research via commands until we have a better solution.


Add "Parallel map reduce" example

Showcase a basic map-reduce scheme with rayon crate.
Please discuss the idea here before starting implementation.
cc https://github.com/rust-lang-nursery/rust-cookbook/issues/272

One simple idea I had for this is computing the size of a vector (square root of the sum of the squared components). It's a very simple map-reduce operation, although I could see the argument that it is too mathematical/scientific for a cookbook recipe.
Another idea is to do what seems like the canonical map-reduce example (at least in the Hadoop setting) of word count. We have a vector of sentences, map those sentences to number of words, then reduce by summing the counts.

Both seam fine to me :+1:. Are you interested in writing this example?

I'd be happy to take this on as well if you don't mind me working on two in parallel (no pun intended)

None taken 😸

I have a toy working example here. Similar to the other rayon example, this is a pretty simple example.

Cool! But this example could be replaced by a call to rayons
par_split_whitespace and
count without collecting to a vector.
paragraph.par_split_whitespace().count();

Lets see if we can come up with some example that is not implementable more cleanly via other means.
Probably we should go with something that first filters then maps and finally reduces or folds
At the moment I'm pretty dry in terms of ideas :/ we can brainstorm a little later on if you also come up dry. :+1:

Sorry this has slowed down a bit - it has been a busy week. I will give this some thought over the weekend!

no worries!

@budziq I have a more interesting example here. Admittedly it is still a bit contrived since Person isn't really all that useful, but I think the idea is very applicable and the example is simple.
One thing I should point out is that I'm intentionally using reduce() over sum() here to illustrate the usage of reduce().

Nice @j-haj !
Few suggestions:

Id change the age to some unsigned type
f64 might be an overkill. How about just f32?
I'd suggest to use sum anyway and maybe show how it can be used with reduce too
the division part of the code is quite hard to read. I'd split it into two distinct f32 variables.


(PUP-11313) Prevent puppet from executing directories

Puppet is trying to execute directories which results in plenty of error messages in the logs.

Can one of the admins verify this patch?

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


[improve][broker] Add annotation for topic compaction strategy

Motivation
Add Audience.Private annotation for topic compaction strategy. Since this interface only uses for load manager, other users should not use this interface.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[x] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

@heesung-sn Can you help review this PR?

One concern is that if we want to cherry-pick this PR to branch-3.0 and some users use this API for their ecosystem, this may break the upgrade from 3.0.0 to 3.0.1.
After discussing with @Demogorgon314, this interface is only used inside the Pulsar Java client and Pulsar broker. The user is not able to use it. This also doesn't affect the upgrade of the pulsar from 3.0.0 to 3.0.1

I'm not aware of this annotation practice. Can you share any reference that we need to enforce such annotations?


DownAlbum stopped working...

Extension stopped working. Gives an error when trying to download photos from pages, groups, photos of, photos all, photos from Messanger in Facebook. Please fix it.

Close as it's not related to this repo.


lake field indexes: support multi-field indexes

This almost already works as microindexes already support this, but the rule matching algorithm needs to be enhanced in order for this to work. While we're at it, also add a test case for this.

Closing because #4972 removed the index package.


When the same id is used in the Flow EVENT, it is drawn strangely.

flow_simple.json

Problem : SenderC does not connect to SenderD.  And SenderA is connected to SenderD.
There are cases where the flow ID value is reused.
However, this reused id value is used in other flow contexts.
I expect it to be drawn like below when using the attached json.
SenderA -> SenderB
SenderC -> SenderD
However, contrary to expectations, it is drawn as shown below.
SenderA -> SenderB / SenderD
SenderC -> X
Even if the same id is used, shouldn't the previous flow context be ignored when a new flow context starts?
thank you.!

This is working as intended see [1]. TLDR: the Chrome JSON tracing format does not take into account ids at all when considering how to link slices with flows. If you need this functionality, please use the Perfetto tracing format instead.
[1] https://github.com/google/perfetto/issues/686


[2.2] Stop assuming dependent entity types have a key

Fixes #14226
Specifically, when using a store-generated key, propagation of a key value will cause dependents to be searched for, which can't be found since the dependents don't have keys.

Description
Query types don't have keys, but we were still attempting to find instances by their key when doing fixup to new entities during key propagation of store-generated keys.
Customer Impact
Regression from 2.1 reported by multiple customers when using store-generated keys and query types.
Regression?
Yes.
Risk
Very low; additional check for null.


Compiler bug with logical OR || and union type

This is probably a different manifestation of #1728 but it causes the compiler to crash so I've filed it separately.
n = true ? 3 : "foobar"   # (Int32 | String)

if n.is_a?(String) || false
  puts("Is a string")
else
  puts(n * 10)
end
```

>Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/manastech/crystal/issues

>Bug: trying to downcast (String | Int32) <- Int32
[135895023] ???
[139360157] ???
[139476020] ???
[139382138] ???
[139486667] ???
[139383040] ???
[139503478] ???
[139486830] ???
[139383040] ???
[138397924] ???
[142314380] ???
[135892569] ???
[142297479] main +55
[3072578711] __libc_start_main +247
[135875431] ???

Same with logical AND && false. As long as it makes it to the else, it's hosed. Doesn't happen without a union type or without a failing condition using a logical operator.
n = true ? 3 : "foobar"   # (Int32 | String)

if n.is_a?(String) && false
  puts("Is a string")
else
  puts(n * 10)
end


Getting Warning about XCode but have XCode 9.x installed

Summary
Getting Warning about XCode but have XCode 9.x installed

[install_deps] WARN: Xcode does not appear to be installed on this system.

Steps to reproduce
(include tooling version, platform, etc)
1.
Operating System
Specify: (MacOS, Linux, Windows)
Supporting details
(Logs, stack traces, images, etc.  Wrap in <detail> ... </detail> tags as appropriate)

Development "done" checklist

[ ] Test case to verify
[ ] Public Documentation updated
[ ] Change added to "release notes" as appropropriate
[ ] Notification to stakeholders (OM, other squads, etc)

Closing: Dependency on Xcode and auto-installation of Cocoapods were removed from the installation script in https://github.com/IBM-Cloud/ibm-cloud-developer-tools/commit/cb1cd63aaebe09422cad88832495ca1f7b017256


Pipeline crash - Empty Key

[covizu@BEVi ~]$ tail -n50 issue264.log
...
🏄 [1 day, 20:07:46.232783] start C.36.3.1, 11 entries
🏄 [1 day, 20:08:29.199395] start P.4, 46 entries
🏄 [1 day, 20:09:16.516216] start AY.1, 15 entries
🏄 [1 day, 20:09:58.892957] start A.29, 1 entries
🏄 [1 day, 20:09:58.893210] start , 3 entries
Traceback (most recent call last):
 File "batch.py", line 167, in <module>
  'residual': residuals[lineage],
KeyError: ''

Seems like by_lineage had a couple of entries without a lineage assigned:
ggugan@Ala:~$ grep -oh '\"covv_lineage\": \"\"' by_lineage.json
"covv_lineage": ""
"covv_lineage": ""
"covv_lineage": ""

Going through by_lineage.json, the accession ids for those without a lineage assigned are:

EPI_ISL_2443325
EPI_ISL_2443326
EPI_ISL_2443327

Link to #264

residuals is deprecated so we should work on removing it in dev branch

We should have an exception handler in place for records that are missing lineage designations in the GISAID database

Link code filtering NoneType values in lineage in latest commits to this issue and close


Variable name case information should be preserved

Reported by Jonathan S Callahan on 25 Feb 2005 20:47 UTC
Although it can be convenient for human users to have Ferret be case
insensitive it leads to problems when interacting with other software.  A case
in point is the following FDS scenario:
FDS provides access, through Ferret, to local or remote datasets.  When FDS
provides access to a remote (OPeNDAP) dataset, Ferret reads the OPeNDAP URL
and then spits out a description of the dataset for FDS using SHOW DATA/XML.
At this point any case information has been lost and all the variable names
are now upper case.  So variables that are lower case in the original OPeNDAP
URL can now only be accessed from FDS with upper case names.
It is incumbent upon Ferret to retain case information for various output
products even if it doesn't use it internally.
Yonghua suggests the following fixes to Ferret:
(1) XML output should be case-sensitive.
    For example, after loading a dataset either from a url or a local

file, or running a journal script, the variable names, dataset names, axis
names, grid name etc.  of xml output should be case-sensitive.
(2) output CDF file should be case-sensitive.
    This is for caching purpose. After writing a variable to a CDF file

and reading it back, no case information shoud be lost.
(3) This is optional. If Ferret can not tell the difference of "let a=SST"

and "let A=SST", then a new qualifier is required for let/case_sensitive or
something like that.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1177

Comment by<EMAIL_ADDRESS>on 16 May 2005 16:48 UTC
Removing Yonghua from the CC list after his departure.

Comment by<EMAIL_ADDRESS>on 7 May 2007 21:17 UTC

for XML output, we need to use the original case of the variables, as stored
in the attribute-access structure; see SHOW DATA/ATT

We can keep the original case of variable and attribute names, if we CANCEL
MODE UPCASE_OUTPUT.  The default value of this attribute is SET so that the
default behavior is the same as the historical behavior of Ferret

3)As an intermediate step, short of allowing "let a=SST" and "let A=SST" to
define two different variables, We can fairly easily save the case of the
variable in the attribute structure for user-defined variables. The variable
name is still case insensitive within the Ferret session, so that
LET BB = 12; let bb = 14; list Bb
defines and lists just one variable, BB=14. But, the case of the variable on its
latest definition would be saved, and issuing the command CANCEL MODE
upcase_output would result in the lowercase form bb being written to the file.

Comment by ansley.b.manke on 13 Oct 2010 21:47 UTC
MODE UPCASE should operate on any command that returns variable names or axis names. The family of SHOW DAT/XML commands is one instance where we've run into this, but one can imagine wanting to get the original case of names to define symbols or such things.  If it's done at the level of utility routines like "get_var_name" the the setting automatically extends out to all of the functionalities of Ferret.
MODE UPCASE currently seems to operate only for output to NetCDF files.
See also ticket #100, #109 (addressed by attribute-handling code, really).

Modified by ansley.b.manke on 5 Jan 2011 18:22 UTC

Comment by ansley.b.manke on 12 Jan 2011 22:16 UTC
This is fixed so far as Ferret running under LAS is concerned.  I'll open a new ticket containing the last comment.


GUACAMOLE-781: Translation updated based on latest en.json and filename fixed to cs.json

Translation updated based on latest en.json and filename fixed to cs.json

A couple things:
1. Please rebase on top of `staging/1.2.0` branch. As GUACAMOLE-781 is slated for the 1.2.0 release, these changes should be made relative to the 1.2.0 release branch. I've updated the merge base of this PR manually, but that has resulted in a bunch of merge commits appearing.

2. Please correct the indentation of `cs.json` to use 4-spaces for each level. Your previous `cz.json` followed this, which is great, but git isn't recognizing these changes as a simple update+rename due to each line having different spacing. It should be able to automatically recognize the new `cs.json` as a renamed `cz.json` and show which additional lines were modified.

I already create a PR for just the basic rename (#480), but I don't mind setting that aside in favor of these changes.

is it ok now?
https://github.com/apache/guacamole-client/pull/483

Closing in favor of #484


New command to remove all images

This will be equivalent to docker rm $(docker ps -aq)

Done, made with /docker kill_all

Should be docker rmi $(docker images -q)

Done


Remove timestamp

Motivation
Closes #2225 (obsoletes #2231)
Changes
Remove Timestamp field from the BlockHeader struct.
Test Plan
Unit tests have been updated and all pass consistently. System tests should be unaffected and will be run.
DevOps Notes

[x] Does this code require configuration changes? ❌
[x] Does this code affect public APIs? ❌
[x] Does this code assume a new version of external services (PoET, elasticsearch, etc.) ❌
[x] Does this code make changes to log messages that our monitoring infrastructure may rely on? ❌

bors try

@antonlerner weird behavior from Github actions - it reported ci-stage1 as both skipped and passing and didn't report ci-stage2 at all. All test passed, though - so ignore the "failed" bors try.

bors try

bors try

bors merge


QueryString constructor for Url.php is invalid

Guzzle version(s) affected: x.y.z
PHP version: x.y.z (hint: php --version) 8.1
cURL version: x.y.z (hint: php -i | grep cURL)
Description
A websocket class I am using is using a factory which will  send ''
Blank string !== QueryString is the bug
How to reproduce
Set 'query' as a blank string
Possible Solution
Add an else condition to set query to null

Additional context
An empty string is not an instance of QueryString so it throws an error

It seems that code in question has already been refactored (removed) from the repo of this library in 2015 (and moved to https://github.com/guzzle/psr7) so this issue is likely outdated.
Versions which contain code in questions (Guzzle 5.x or before) is not supported, so it may be best to migrate to newer version of Guzzle.

Neither Guzzle 5 nor 6 support PHP 8 at all. You need the latest version of Guzzle 7 to run on PHP 8.


Could not open a file on AsyncProfiler.stop()

When being called from within a Java process, the profiler should probably communicate the problem opening the dump file as IOException rather than just printing to stderr and complete "successfully".

Did you mean AsyncProfiler.execute()? Because stop does not open a file and does not dump anything.
I thought about that. I'll probably fix this by the next release.

I didn't realise that if I call AsyncProfiler.execute("start"), I need to pair it with AsyncProfiler.execute("stop") rather than stop(). Thanks.

Actually AsyncProfiler.execute() already throws IOException if it fails to open output file.
Can you please clarify what else works wrong?

No, real reason was #103


Propertygroups - Add support for UNC paths e.g. \networklocation\folder\COPYBOOKS

Description of the enhancement requested
I would like to be able to specify UNC paths to targets of COPY verbs in the Propertygroups SYSLIB specification.  I avoid creating a bunch of drive letters to network locations.  I've found using UNC names to be much more flexible.

Thanks for this request. So far we were only thinking of files in your local workspace (that might come from a git repo) and MVS. We do have an enhancement open for using USS (via RSE, zOSMF, SSH etc). Other network locations is definitely another interesting use case would could look into.

We have about 10,000 copybooks, so we would like to have a shared repository on the LAN.  Getting a copy of these to each developer would be unwieldy at best.
For now we will map a drive letter (K:) and use that.
I’m enjoying the editor.  We are hoping to hook up with the systems people and get OSMF access to our z/OS files.
Steve Wolf
Programmer III/Hogan Support
O/C:<PHONE_NUMBER>
From: Peter Haumer<EMAIL_ADDRESS>Sent: Wednesday, 2 September, 2020 13:22
To: IBM/zopeneditor-about<EMAIL_ADDRESS>Cc: Wolf, Steven<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [IBM/zopeneditor-about] Propertygroups - Add support for UNC paths e.g. \networklocation\folder\COPYBOOKS (#78)
WARNING: This email is from an [EXTERNAL] sender. Do not click on links or attachments unless you expect them from the sender and know the content is safe.
Thanks for this request. So far we were only thinking of files in your local workspace (that might come from a git repo) and MVS. We do have an enhancement open for using USS (via RSE, zOSMF, SSH etc). Other network locations is definitely another interesting use case would could look into.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_IBM_zopeneditor-2Dabout_issues_78-23issuecomment-2D685974881&d=DwMCaQ&c=uUZbzTZZgO9xXVRZz77NpQ&r=limEzwh9lhvxNH9jnckGtdQ33GwOhyminHjuFH4Xsrs&m=ql1acKag-SW7xirjJkguU4XZN_MN3DOZRGQaG4s37Wg&s=YXmONL1roOEimejkBEQXrlUCVMQ204GU1nbkKtFT8ow&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQV5TVA4RDRGPVZUBOHJDOLSD2SM3ANCNFSM4QTWB6CA&d=DwMCaQ&c=uUZbzTZZgO9xXVRZz77NpQ&r=limEzwh9lhvxNH9jnckGtdQ33GwOhyminHjuFH4Xsrs&m=ql1acKag-SW7xirjJkguU4XZN_MN3DOZRGQaG4s37Wg&s=EmBcnDPF0bWtgplDUTooJ3wpXFYe2bIdk2Dw_5aXuA4&e=.
At PenFed we take the security of your personal information very seriously. By default, our email uses encrypted sessions if your email service provider supports encryption. If your service provider does not support email encryption, or if you’d prefer otherwise, confidential information can also be sent to us by fax or postal mail. Information about contacting PenFed can be found here:  https://www.penfed.org/aboutUs/contactUs.asp


Can't change PIN code

Your environment
Version: 1.4.8 (F-Droid)
OS: Android 11
Steps to reproduce
Changing PIN code results time ban
Expected behavior
Changing PIN code
Actual behavior
Temp time ban

Hello @reg3xp . The fix is already completed and will be available in the next version of the app. Thanks for reporting the issue!


Created PowerShell 7 devcontainer

Created a PowerShell 7 devcontainer.
This uses the 3.1 SDK and ~3 host runtime.
FROM mcr.microsoft.com/azure-functions/dotnet:3.0-dotnet3-core-tools

Changed to using the dotnet image rather than the dotnet/core/sdk:2.1 as this already contains the Azure CLI, core tools and PowerShell installed with the dotnet global tools.
I kinda followed how the other dotnet azure functions were configured. Let me know if it should be done differently.
PS /workspaces/repo> $psversiontable
Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Linux 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PS /workspaces/repo> dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.302
 Commit:    41faccf259

Runtime Environment:
 OS Name:     debian
 OS Version:  10
 OS Platform: Linux
 RID:         debian.10-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.302/

Host (useful for support):
  Version: 3.1.6
  Commit:  3acd9b0cd1

.NET Core SDKs installed:
  3.1.302 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

PS /workspaces/LSM_repo> func --version
3.0.2630

PS /workspaces/repo> lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

@TylerLeonhardt you okay to review?

In this case, I don't see there being a PS8 or PS7.1 verison any time soon so maybe when we get to that point, we can refactor to the build arg you described... unless @brettmillerb wants to take a crack at that.

Yeah there's an existing one for pwsh-6 is part of what I was curious about.
https://github.com/microsoft/vscode-dev-containers/tree/master/containers/azure-functions-pwsh-6

@brettmillerb @TylerLeonhardt Yeah there's an existing one for pwsh-6 is part of what I was curious about.
https://github.com/microsoft/vscode-dev-containers/tree/master/containers/azure-functions-pwsh-6

I created that one too.
I can create the build args version but that would mean we'd be pinning the devcontainer to a specific version of PowerShell when the image in use should technically be using the GA/LTS version.
I have opened https://github.com/Azure/azure-functions-docker/pull/306 to bump the image is using to 7.0.3 as that is now the latest stable release. I would have thought the devcontainer should remain static and the version is dictated from the upstream version. Just fewer places to have versions incremented. 🤷♂
Let me know your thoughts either way.

Thanks @Chuxel I looked at the node one and it's straight forward.
Pushed another commit with those changes. Doing it this way does VSCode unpack those options to the user when they choose an image to build from or will the user have to download the default, change and rebuild the container?

Pushed another commit with those changes. Doing it this way does VSCode unpack those options to the user when they choose an image to build from or will the user have to download the default, change and rebuild the container?

Not currently. The node one got merged this iteration which is why you still see multiple in the dropdown. Python 3 is an example of this now. It supports 3, 3.8, 3.7, and 3.6.
However, if someone updates the "arg", we will prompt to rebuild because the config changed, so that part is covered.  We add a note in READMEs to this effect.  e.g. here is Ruby:

Using this definition with an existing folder
While this definition should work unmodified, you can select the version of Ruby the container uses by updating the VARIANT arg in the included devcontainer.json (and rebuilding if you've already created the container).
"args": { "VARIANT": "2.7" }

There is a metadata file that could be added and used for this scenario, it's just not there yet. But this definition will be in good company.
Would it make sense to remove the other v6 container and just rename this to azure-functions-pwsh?

Thanks @TylerLeonhardt
Removed any version specific content and tidied up the folders. Tested the new VARIANT layout locally and builds and debugs fine. Might want to give the README a quick glance over in case I have missed anything there @Chuxel

Ditto!  Thanks so much for the contribution. Merging.

@Chuxel when do these show up in vscode?

Next release. @chrmarti has been on vacation, but next week is endgame, so we should have it in insiders by then at a minimum.


Import error with workspaces using yarn 2 (berry) PnP

Describe the bug
When setting up a CRA project with yarn workspaces, importing a library in the same workspace fails when using yarn 2 berry which has PnP mode by default.
Environment
Environment Info:
current version of create-react-app: 3.4.1
running from /Users/oscar/.config/yarn/global/node_modules/create-react-app
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 2.0.0-rc.31 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Browsers:
Chrome: 80.0.3987.149
Firefox: 73.0.1
Safari: 13.1
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
See steps in repo: https://github.com/oscar-b/styled-pnp/commits/cra-berry-workspaces
Expected behavior
It should compile.
Actual behavior
$ yarn build
Creating an optimized production build...
Failed to compile.

./src/App.js
You attempted to import /Users/oscar/dev/test/styled-pnp/.yarn/$$virtual/lib-virtual-7d458e3583/1/lib which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.

Reproducible demo
https://github.com/oscar-b/styled-pnp/commits/cra-berry-workspaces

This is still relevant and needs triage.


First pytest commit

Coverage increased (+5.7%) to 42.529% when pulling 23987aee69c5115bf9707de6a77a21fba5a7d97e on rowan08:tutorial_wip into d5fd52c818b07dcac4abe7eb852a216c80b6fde2 on keeppythonweird:master.

Coverage increased (+5.7%) to 42.529% when pulling 23987aee69c5115bf9707de6a77a21fba5a7d97e on rowan08:tutorial_wip into d5fd52c818b07dcac4abe7eb852a216c80b6fde2 on keeppythonweird:master.


Is there any way to set on delete cascading as default?

Yes, it is now the default for required relationships (in RC1)

Oh thanks!

@rowanmiller I'm using EntityFramework.MicrosoftSqlServer rc2 latest, but it still on delete is no actions

That is the default for non-required relationships (i.e. where the foreign key property is nullable). You can change it though:
modelBuilder.Entity<Blog>()
    .HasMany(b => b.Posts)
    .WithOne(p => p.Blog)
    .ForeignKey(p => p.BlogId)
    .WillCascadeOnDelete();


CWBI Test /location/group endpoint returning location group without an id

curl -X 'GET' \
  'https://cwms-data-test.cwbi.us/cwms-data/location/group?location-category-like=RDL_Findley' \
  -H 'accept: application/json'

Response
[
  {
    "location-category": {
      "office-id": "MVS",
      "id": "RDL_Findley"
    },
    "assigned-locations": []
  }
]

The group-id field should be required and the client does not expect it to be missing.

Weird.   The Category is in an office but the group has a null group-id and a null group-office-id.  How do those get created and what are they used for?

I am also seeing an issue where I filter the category, but not the office and include assigned locations
curl -X 'GET' \
  'https://cwms-data-test.cwbi.us/cwms-data/location/group?include-assigned=true&location-category-like=Agency%20Aliases' \
  -H 'accept: application/json'

This returns an error code 500, but no body and just these headers:
 access-control-allow-credentials: true
 access-control-allow-headers: x-requested-with,Content-Type,origin,authorization,accept,client-security-token
 access-control-allow-methods: POST,GET,OPTIONS,DELETE,PUT
 access-control-max-age: 600
 connection: close
 content-length: 0
 content-security-policy: frame-src 'self' *.usace.army.mil *.sec.usace.army.mil *.ops.usace.army.mil *.cwbi.us *.rsgis.dev; frame-ancestors 'self' *.usace.army.mil *.sec.usace.army.mil *.ops.usace.army.mil *.cwbi.us *.rsgis.dev
 content-type: application/json
 date: Fri,15 Mar 2024 18:12:26 GMT
 server: USA
 strict-transport-security: max-age=31536000; includeSubDomains
 vary: Origin
 x-content-type-options: nosniff
 x-frame-options: SAMEORIGIN,SAMEORIGIN
 x-xss-protection: 1; mode=block

I think it might be related?

It might be related.  Hard to say.   I think the already merged pr resolved this issue.  If filter the category, but not the office and include assigned locations continues to 500, lets open a new issue.   I just tried your query on my local system and got results (didn't get a 500) but I also don't have ton of data in my db so its possible I just don't have a group that triggers.

@MikeNeilson   On 4/18 Kevin was still seeing issues with this against CWBI test for the NWDM office.   Need to see if there is something weird in the Location Categories  - like maybe a category with a null ID?

@MikeNeilson There is still some sort of weird data in HEC T7 NWDM database that isn't fixed by my previous pr.  It is triggering a NPE in Kevin testing leading to https://bitbucket.hecdev.net/projects/SC/repos/hec-monolith/pull-requests/403.  Would you be able to look at that NWDM database and see if there is anything obviously wrong with the Location category/group data in there?   Things like Location Category with a null ID or a Location Group with a null id?  Or maybe an empty id that wasn't null?


SimplePerceptron in P5

My first contribution to the coding train, I saw your SimplePerceptron video and as i noticed its not available in JS/P5 I thought that I would try to make it :D.

Hey @tonyslab,
thank you for this port. @shiffman ready to merge?

Hey @tonyslab,
thank you for this port. @shiffman ready to merge?


IFUS hard bricked

After power loss, camera died. Putty stops there:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2022.02.04 11:14:49 =~=~=~=~=~=~=~=~=~=~=~=
[233]HELLO! BOOT0 is starting Nov 14 2019 20:01:31!
[238]BOOT0 commit : 81c18ee
[241]board init start
[243]set pll start
[245]set pll end
[247][pmu]: bus read error
[250]board init ok
[251]chip id check OK
[254]DRAM BOOT DRIVE INFO: V0.41
[257]DRAM CLK = 528 MHz
[259]DRAM Type = 2 (2:DDR2,3:DDR3)
[262]DRAMC read ODT  off.
[265]DRAM ODT off.
[267]DRAM SIZE =64 M
[274]DRAM simple test OK.
[277]rtc standby flag is 0x0, super standby flag is 0x0
[282]dram size =64
[285]spinor id is: c8 40 17, read cmd: 03
[289]Succeed in reading toc file head.
[292]The size of toc is 4c000.
[345]Entry_name        = optee
[348]Entry_name        = u-boot
[352]Entry_name        = dtb
[356]Jump to secend Boot.
MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-12-g97f2688 #1 2019年 11月 08日 星期五 08:26:51 UTC arm
ERROR:   [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node
ERROR:   [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node
BTW for unbrick you can use micro usb cable instead of soldering just find old usb cable, cut it and you can use as UART:
black - GND
red - 5V
white - RxD
green - TxD

BTW for unbrick you can use micro usb cable instead of soldering just find old usb cable, cut it and you can use as UART: black - GND red - 5V white - RxD green - TxD

This depends on which camera, for h60ga it is possible https://github.com/roleoroleo/yi-hack-Allwinner-v2/discussions/254
Without u-boot you still have an option of SPI programmer as shown also in that link. There's also a possibility for recovery using an SDCard but hasn't been done yet AFAIK.

Someone have backup for y211ga?

@h4k3r2s1 I have the one from the backup.tar.gz package -- is that what you're looking for? how do I get it to you?

I need all partition. If you have it sent me plz. I try unbrick my camera :D

I'll leave it here for a few hrs https://drive.google.com/file/d/1lHdr8Qyg7qPse1D0cwZMPrhLQwk802GO/view?usp=sharing


Error to create new firewall rule

Issue Type: Bug
Sometimes when I need to create a new firewall rule due to dynamic IP changes, and sometimes I get the message "An error occurred while creating a new firewall rule."
The only way it passes (but I'm not sure if always) is to restart Azure Data Studio.
On old Sql Operations this error was more common to happen.
Thanks.
Azure Data Studio version: Azure Data Studio 1.4.5 (887f4e8985023602e599cf86bdb44df48bb28569, 2019-02-12T06:09:15.672Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: unavailable_softwarechecker_imaging: disabled_offflash_3d: unavailable_softwareflash_stage3d: unavailable_softwareflash_stage3d_baseline: unavailable_softwaregpu_compositing: unavailable_softwaremultiple_raster_threads: unavailable_offnative_gpu_memory_buffers: unavailable_softwarerasterization: unavailable_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: unavailable_offwebgl2: unavailable_off

Load (avg)
19, 11, 8

Memory (System)
8.00GB (0.05GB free)

Process Argv
/Applications/Azure Data Studio.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

import
Mic
0.5.0

I'll close out this issue for now. Please comment back if you've seen this behavior recently and I'll reopen the issue.

@aaomidi the issue is not solved as today

@cssuh @kburtram FYI
@EkimoCode Could you verify the version of ADS that you're seeing this with?

This Bug still exists. Very annoying. Most often occurs when the studio wasn't used for a while. An app restart always helps.
Date: 2021-06-16T18:57:01.467Z (2 wks ago)
VS Code: 1.53.0
Electron: 11.2.2
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.5.0

@caohai could you please investigate if this is related to an expired token?  If it is, could you please include this use case in the various token refresh bugs you're fixing?  Thanks!

Closing as when making a request to create firewall rule, an active token is ensured.
If issue occurs again, please open a new issue to investigate.