Update mrv2_translations.nsh

@ggarra13
Update Italian language strings.
Could you please enable me to translate other part in italian
adding here
https://github.com/ggarra13/mrv2/tree/main/mrv2/po/python/plug-ins/locale
a folder it/LC_MESSAGES
where can i upload the update-mrv2.po
Thanks.

Thank you very much for your contribution!

For tranlating other parts in Italian, you should create a fork of mrv2 under your name with github.
There are GitHub docs, e.g.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
In a nutshell:

fork the mrv2 repo to e.g. your-username/mrv2
create a feature branch in you fork (important although not required [1])
push one or more commits to your feature branch
request a PR on your repo/feature-branch

[1] If you didn't create your own feature-branch you'd push to "your"
master branch which is not recommended for some reasons. It's hard to
maintain for developers.
Also, see:
https://github.com/ggarra13/mrv2#translating

@ggarra13
Please create it/LC_MESSAGES in this source path
/mrv2/po/python/plug-ins/locale
where can i upload the language file.

Git, which is the service for files that uses GitHub, does not allow creating empty directories.
Just rename the files to:
it.po.txt                                    # if you translated all of mrv2
update-mrv2.po.txt               # if you translated just the python update-mrv2.py plug-in.
and attach them to this thread.  Use the "Clip" button at the top of the add comment or "Paste, drop or click to add files" at the bottom of the comment.

@ggarra13
You can create teh directory and copy then tehn english file renamed for italian.
Then this is the update-mrv2.po file
update-mrv2.po.txt


Fix Splash screen

Updated some constraints and renamed the screen to reflect the design

How does it look with the action bar now?
Looks like a real app :D

Dropping this one favor of another


[New practice exercise]: Killer sudoku helper

Looks like the darts generator failed. There was a minor change to the problem specification shortly before your last commit, but I don't see why that spelling change would have broken anything.

The generator ci is super sensative to changes on problem spec. If more test cases are added it wont freak out, but as fast as some one change or gets in a different order, it fails.
I just pushed a pr to fix it any way.


netlify dev --live can't see live URL message in terminal

- Do you want to request a feature or report a bug?
Bug
- What is the current behavior?
Running netlify dev --live successfully creates tunnel but sometimes I can't see the "connected" message notifying me of the public url.
- If the current behavior is a bug, please provide the steps to reproduce.
Reinstalled netlify-cli 2.19.0, reinstalled local gatsby site, run `netlify dev --live, always produces same result.
- What is the expected behavior?
Once the tunnel is set up, I should be able to clearly see the notification in the terminal.
- Local Environment Information
──────────────────────┐
 Current Netlify User │
──────────────────────┘
Email<EMAIL_ADDRESS>Github: kmcaloon
Teams:
  kevin-dartdrones's team: Collaborator

────────────────────┐
 Environment Info   │
────────────────────┘

  System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 12.12.0 - /usr/local/bin/node
    Yarn: 1.17.3 - ~/.yarn/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 78.0.3904.70
    Firefox: 65.0.1
    Safari: 13.0.2

────────────────────┐
 Netlify Site Info  │
────────────────────┘
Current site: condescending-booth-644542
Netlify TOML: /Applications/MAMP/htdocs/dartdrones.com/netlify.toml
Admin URL:    https://app.netlify.com/sites/condescending-booth-644542
Site URL:     https://condescending-booth-644542.netlify.com
Site Id:      e7591fbe-89a4-4f77-a94b-1256d5d125b1

Above pretty much says it all. I have been using netlify dev --live for a while without any issues, then for some reason the I stopped seeing the "connected" message with the public URL. It flashes for a split second then is hidden but subsequent terminal output.
Here is an example of what I'm seeing:

Sometimes I see this:

Disabling the bundle analyzer doesn't help. Not sure where to start here?

Same issue here. I thought it was being caused by gatsby-plugin-ts, but now I'm thinking it's being caused by Gatsby itself, trying to keep its own output clean and accidentally erasing netlify-cli's output in the process.

Exact same issue happening here.  Also using Gatsby, in case that helps

This should get solved with https://github.com/netlify/cli/pull/612 @raeesbhatti merged in recently.
Looks like we need to cut a release

I just created a release. @kmcaloon Please update and let me know if it doesn't open the correct URL on netlify dev --live

Still seeing this with v2.21.0.


fix(jsonschema): allow self references

Current dependencies on/for this PR:

main

PR #48

PR #49   👈

PR #50

PR #51

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: cDSyTs4rRKHy1gaGhtoF


added link to BEP005 - ASL on index page

Signed-off-by: Henk Mutsaerts<EMAIL_ADDRESS>

Thanks!


A keyboard called RK61 does not recognize the fn key

A keyboard called RK61 does not recognize the fn key

the same

Many keyboards handle their function keys internally, modifying what happens when other keys are pressed. In that case, the OS has no way of knowing when the function key is pressed.

OK , Thank you for your reply

Maybe You are Right, carlsmith.  It seems like that the RK61 function key is handled internally by RK61 Keyboard.


Unable to parse formatted  tag

Describe the bug
With formatted Xaml as:
<ResourceDictionary xmlns="https://github.com/avaloniaui"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Color x:Key="White">
        White
    </Color>

</ResourceDictionary>

I get a build error:
0>Colors.axaml(4,26): Error AVLN:0004 Avalonia: Unable to parse "
        White
    " as a color Line 4, position 26.

To Reproduce
Attempt to build a project that has a file with the above <Color> tag
Expected behavior
The whitespace should be ignored
Avalonia version
11.0.10
OS
Linux
Additional context
I utilize https://github.com/Xavalon/XamlStyler for consistent Xaml formatting.

I don't think it's a good idea to modify Color.Parse to trim input. But we should trim parsing input on the compiler side.
Somewhere in this method https://github.com/AvaloniaUI/Avalonia/blob/b5db6bb0f6c19070e2a09a23231bcc1e01c40610/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/AvaloniaXamlIlLanguageParseIntrinsics.cs#L166-L179 (possibly before other types as well).

Timespan parsing is trimmed already https://github.com/AvaloniaUI/Avalonia/blob/b5db6bb0f6c19070e2a09a23231bcc1e01c40610/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/AvaloniaXamlIlLanguageParseIntrinsics.cs#L37
If trimming doesn't break other types, we can move it above. And also add some tests in https://github.com/AvaloniaUI/Avalonia/blob/b5db6bb0f6c19070e2a09a23231bcc1e01c40610/tests/Avalonia.Markup.Xaml.UnitTests/Xaml/AvaloniaIntrinsicsTests.cs


Torch metrics for ELBO

Fixes #1113
The current codebase computing training & validation metrics at the end of each epoch suffers from several problems. First, it has a lot of code duplication. Second, it requires to (i). compute batch-level metrics (ii). average them manually.
As an alternative, pytorchmetrics can solve this exact problem with minimal effort
This pull request aims at solving these two problems using pytorchmetrics
TODO

Verify that weight in MeanMetric has the proper behavior, i.e., that the metric is normalized by \sum_i w_i.
Add tests to verify that all keys are conserved & have the proper names
Add pytorchmetric dependency

Refactored the code; metrics are now stored into a single class.
My assumption was that the elbo, the reconstruction loss, and the KL metrics are always going to be logged. Other, model-specific metrics can be tracked, but may need to modify the log_metrics`method (see the semisupervised training plan).
When I think about it, maybe we should instead have a model-specific Metric class instead, and let log_metrics to remain the same for all models.
If you agree, then my plan is to:

modify the current code to introduce a semisupervisedmetric
double-check for errors in the elbo computation

In this paradigm, I feel that the Metrics should belong in another file than the training plans, but I am not 100% sure about that

@PierreBoyeau I made some changes and force pushed. There's something about this torch metric that is making .grad of tensors None after training, and it's messing up some scarches stuff.

Thanks so much for your help @adamgayoso. I'll have a look at the code and see what to do from there. Can't we just clone the metrics or something?

@PierreBoyeau I found the embarrassing bug... I wasn't returning a loss -- weird how it was working in the first place

@PierreBoyeau can you review this PR?

There's something going on with the first epoch:
Latest release, 10 epochs of scvi on synthetic iid:
      elbo_train
epoch
0        338.495
1        331.845
2        327.447
3         323.57
4        320.989
5        318.708
6        317.046
7        315.781
8        314.374
9        313.127

New code:
      elbo_train
epoch
0          2.005
1        331.845
2        327.447
3         323.57
4        320.989
5        318.708
6        317.046
7        315.781
8        314.374
9        313.127

@adamgayoso : I checked for reproducibility of the metrics in this notebook for the autoZI model, and it looks like all metrics make sense.

There are some glitches going on with this PR and python 3.8, as well as Codacy. I'm going to merge now


feat/docx-content-control-fields

Is your feature request related to a problem? Please describe.
Currently content in .docx files that are in content control fields aren't being processed by Unstructured. These fields are commonly used to add valuable metadata, such as headers, to a document.
Describe the solution you'd like
Unstructured should process content in content control fields similarly as it does other elements. Perhaps a new element type would be good.
Describe alternatives you've considered
Unstructured currently relies on a third-party package called docx to handle parsing of content. This lib does not support content control fields. There are other third-party libs that do such as: https://pypi.org/project/docx-form/

@scanny had a chat with @ds-filipknefel about this issue which is currently blocking us.


Does it work with tableviews?

Well, I see no reason why it wouldn't. What are you trying to achieve?

Yes it works definatly.
You can use
tableName.rectForRowAtIndexPath(NSIndexPath(forRow: 0, inSection: 0))
to get rect of UITableViewCell
and to get position of View
you can always calculate it by adding or removing different tableview height from table

Closing due to inactivity from original opener.


Export to terraform failing (sometimes)

I can query and export to terraform for a few different profiles but have one that fails.
i run from docker
logs: docker logs okit --follow
ERROR: 'ocid1.subnet.oc1.iad.xxxxxx'
Traceback (most recent call last):
File "/okit/okitweb/okitWebDesigner.py", line 230, in generate
generator.generate()
File "/okit/visualiser/generators/okitGenerator.py", line 206, in generate
self.renderInstance(instance)
File "/okit/visualiser/generators/okitGenerator.py", line 610, in renderInstance
self.jinja2_variables["subnet_id"] = self.formatJinja2IdReference(self.standardiseResourceName(self.id_name_map[instance["vnics"][0]["subnet_id"]]))
KeyError: 'ocid1.subnet.oc1.iad.xxxxxx'

@scanlonjts I suspect that is because the subnet is missing from the design.


about gtFine_InstanceIds

Is it right to treat it as an uint16 image, where first 8 bits represent the label and last 8 bits the instances number?
please let me know

Nope, please refer to json2instanceImg.py


chore: update akka-persistence, ... from 2.6.17 to 2.6.19

Updates

com.typesafe.akka:akka-persistence
com.typesafe.akka:akka-persistence-query
com.typesafe.akka:akka-persistence-tck

from 2.6.17 to 2.6.19.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #160.


Add zebra-network test where all address book peers are outdated

Motivation
#3030 implemented a filter for outdated peers, so Zebra stops attempting to connect to peers that are likely unreachable. That PR added some unit tests, but it would be useful to have a separate integration test for it.
The integration test should check the following scenarios:

What does Zebra do if all its peers are outdated?

Zebra should keep crawling for new peers

What does it do if all its peers are outdated, and it has no open peer connections?

Zebra should wait for an inbound connection, crawl for new peers, then start connecting to peers again

Scheduling
This isn't required for the stable release, but it is probably something we should do for lightwalletd.
We should do this test earlier if the issue actually happens on Zebra nodes.

redistributing issues that can be separately worked from Epic #2311


uhdm-yosys: update runner to use uhdm as a plugin

This PR updates uhdm-yosys runner to use uhdm frontend as a plugin to yosys.

[x] It requires https://github.com/hdl/conda-eda/pull/118 to be accepted and merged first.

Signed-off-by: Kamil Rakoczy<EMAIL_ADDRESS>

Are you also updating the build rules for the runner.mk to build the plugin-enabled yosys ?

I have updated PR to include changes to build plugin-enabled yosys using runner.mk.


Design for features in Preview.2

This includes:

Appearance, Style, TextStyle
Page range or pages

Other issue https://github.com/Azure/azure-sdk-for-net/issues/17813

Other issue https://github.com/Azure/azure-sdk-for-net/issues/17813

For Appearance, design is:
FormPage{
 ...
 List<FormLine> Lines
}
FormLine {
  List<FormWord> Words
  TextAppearance Appearance
}
TextAppearance{
  TextStyle Style
  TextFont Font
}
TextStyle {
  StyleName Name
  float Confidence
}

For Appearance, design is:
FormPage{
 ...
 List<FormLine> Lines
}
FormLine {
  List<FormWord> Words
  TextAppearance Appearance
}
TextAppearance{
  TextStyle Style
  TextFont Font
}
TextStyle {
  StyleName Name
  float Confidence
}

Current proposal  for Page range or pages is to leave as is. IEnumerable<string> Pages

Current proposal  for Page range or pages is to leave as is. IEnumerable<string> Pages


Automatic PR of restapi_auto_ro-joowan_revert-path-parameters into master

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2417

@lmazuel Manual for this one as well.


Include the existing helm package

This guy created a helm package to one clic deploy baget on a kubernetes cluster.
https://github.com/jbowtie/baget-helm-chart/tree/master/baget
Would be nice to integrate it directly.
I can help with this one.
Also, when can we expect private feeds ? Need help ?

Ty for push request


Catalog TUI Improvements

Description
This PR refactors our catalog TUI to try to prevent some of the terminal errors from occurring.
Fixes https://github.com/gruntwork-io/terragrunt/issues/2952.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[x] Run the relevant tests successfully, including pre-commit checks.
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

@denis256 thanks I'll fix this one:

INFO [runner] linters took 40.220868596s with stages: goanalysis_metalinter: 40.215411498s
cli/commands/catalog/tui/model.go:70:80: newModel - result 1 (error) is always nil (unparam)
func newModel(modules module.Modules, opts *options.TerragruntOptions) (model, error) {

@denis256 regarding the other remarks. I won't fix the 2 / magic number errors. It seems we'd need to use a constant which would be a bit overkill in certain places or stop using the go-mnd linter. What do you think? https://forum.golangbridge.org/t/how-to-solve-the-magic-number-linter-warning/20421

@denis256 regarding the other remarks. I won't fix the 2 / magic number errors. It seems we'd need to use a constant which would be a bit overkill in certain places or stop using the go-mnd linter. What do you think? https://forum.golangbridge.org/t/how-to-solve-the-magic-number-linter-warning/20421

I think it is fine to leave a magic value and set a linter comment to ignore this checked in this specific file through //nolint:gomnd

@denis256

I think it is fine to leave a magic value and set a linter comment to ignore this checked in this specific file through //nolint:gomnd

Okay I've done that.


Uncaught TypeError: Cannot read property '_c' of undefined

I was trying to follow the «How to use» example, and i received this error:
Uncaught TypeError: Cannot read property '_c' of undefined
    at Proxy.TradingVuevue_type_template_id_235c0ade_render (trading-vue.js?0042:5873)
    at renderComponentRoot (runtime-core.esm-bundler.js?5c40:696)
    at componentEffect (runtime-core.esm-bundler.js?5c40:4035)
    at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
    at effect (reactivity.esm-bundler.js?a1e9:17)
    at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4018)
    at mountComponent (runtime-core.esm-bundler.js?5c40:3976)
    at processComponent (runtime-core.esm-bundler.js?5c40:3936)
    at patch (runtime-core.esm-bundler.js?5c40:3547)
    at mountChildren (runtime-core.esm-bundler.js?5c40:3736)

I guess, the reason of that is that I use Vue 3.0.0. Is it so?
My dependencies:
  "dependencies": {
    "core-js": "^3.6.5",
    "trading-vue-js": "^0.8.0",
    "vue": "^3.0.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0",
    "@vue/eslint-config-airbnb": "^5.0.2",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-vue": "^7.0.0-0"
  }

How can i prevent this problem? Do you have something missing in the «How to use» example? Thanks.

Indeed, chart works perfectly on "vue": "^2.6.11".
I guess, this might be used as a workaround for me right now.

Yea, the vue3 branch is in progress.

@C451  - Thank you for this gorgeus projekt.
Would like to use it with Vue 3. I'm also getting this "_c of undefined error". Any Idea when this might get available?

@C451  - Thank you for this gorgeus projekt.
Would like to use it with Vue 3. I'm also getting this "_c of undefined error". Any Idea when this might get available?


Manage Access Resource Pools: "Unable to update Portainer access"

Bug description
When I now want to add a team to an endpoint, the error message "Unable to update Portainer access" appears.

Expected behavior
I would expect that I'll be able to assign permissions for a team to a resource pool. No matter how the namespace or any other entity is named.
Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here
The link above ends in a 404. I also find no new faq or other article mentioning how to get the logs you need. These are logs I see in portainer (for the portainer container):
2021/06/08 06:53:31 Failed retrieving service account token: namespaces "portainer" not found
2021/06/08 06:53:31 http: proxy error: namespaces "portainer" not found

Please note, that these lines don't appear directly when I try to add a team to a resource pool. There is no log for that.
UPDATE: the namespace errors are not related to the issue. Thanks to portainer support I was able to spot the error and fix it. Unfortunately the error persists anyway.
Steps to reproduce the issue:

I am using portainer on an Azure Kubernetes Service (AKS) Instance.
For personal reasons I have opted for another namespace than "portainer" for the setup.
In my test scenario I have this set up:

one endpoint in group "unassigned"
one team with one leader and another team member
access on team level is given to the endpoint (no roles, as this is a business feature and I'm using CE)
all the above is working as expected

when I now want to add a team to an endpoint

I click on "manage access" on the resource pool
I select the team from the drop down
I click "create access"

now the error message "Unable to update Portainer access" appears.

Technical details:

Portainer version: 2.5.1 CE
Docker version (managed by Portainer): N/A
Kubernetes version (managed by Portainer): 1.20.7
Platform (windows/linux): Linux; AKS VM
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): yaml manifests for kubernetes used. Like you had them documented once but this documentation shows now a 404.
Browser: Firefox (with a ton of Plugins)
Use Case (delete as appropriate): Using Portainer in a Semi-Commerical setup.
Have you reviewed our technical documentation and knowledge base? Yes, but there are a lot of 404 right now in the instructions and not much is readable.

Additional context
Add any other context about the problem here.
N/A

As discussed with your support colleague Bala today: we have spent quite some time analyzing this. Here in short some findings.
General conditions:

I have an automated  setup with Azure Build Pipelines and Terraform
Traefik and Portainer get installed in that automated process and should sit in a namespace together
The goal is basically to have a boilerplate Kubernetes cluster with traefik and portainer up and running
I have now 2 environments for testing purposes here:

TST: the environment where portainer is in the namespace "ns-admin"
DEV: portainer lives in the portainer namespace

The important finding is: when we keep the namespace portainer, everything works as expected. Only when I switch the namespace to something else, managing permissions as described above is not working. everything else seems to work just as expected.
We did test quite a lot of things like checking permissions with kubectl auth can-i get pods --as=system:serviceaccount:ns-admin:portainer-sa-clusteradmin or kubectl who-can list pod -n ns-admin. We did all checks on both environments. There seems to be no difference.
We also checked the portainer.db files of both systems. Also here seems to be no difference which could cause that issue.
So in the end, it seems there is somwêwhere hardcoded the namespace in portainer or there is something else special. The namespace portainer must be somehow special as only today I learned that it is handled as a system resource which is not displayed by default. As I always used the setup with a separate namespace I never realized that. Only today it was the first time I had to give a user access to a cluster for only one resource group which didn't work.

I found some important clue: the config map portainer-config which contains the NamespaceAccessPolicies key is not created when using a different name space. This seems to be the root cause.

Yeah, that was it. When I create a namespace portainer manually and then add the empty config map with this:
apiVersion: v1
kind: ConfigMap
metadata:
  name: portainer-config
  namespace: portainer
data:
  NamespaceAccessPolicies: "{}"

It is working. I guess the propper solution would be to:
A) put this bit into the yaml manifest templates
B) make portainer look for this in the namespace it is living in and not hardcoded in the portainer namespace

Is it possible, that the access model is somehow broken? No matter in which scenario (namespace portainer or a custom one) I use I can log in with a user who is not an admin and should see only one resource group, I see everything. Apps from different resource groups. Partially system components etc.
What is the status of the user access and role model? Is this somehow beta?
Thanks!

@JamborJan
I have confirmed that Portainer needs to be deployed in the portainer namespace to work properly.
As you have confirmed, Portainer will create resources in the portainer namespace (this is hardcoded at the moment), including that access ConfigMap.
We'll investigate a way to support running Portainer outside of that specific portainer namespace.

Having those values configurable via cli arguments would probably be the easiest fix and would allow most flexibility.
https://github.com/portainer/portainer/blob/067a7d148f2a71796420e9a5026d8d876a3fb745/api/kubernetes/cli/naming.go#L9-L12


ci: Move armhf test to Cirrus CI

See https://github.com/crossbeam-rs/crossbeam/issues/837 for the motivation.

bors r+


New version of qbs-shared changed the way to install to /opt?

Hi
My last scripts for building qbs-shared and anything in liri using qbs were all using
qbs resolve profile:qt5 profile:qt5 qbs.installRoot:$INSTALLDIR qbs.installPrefix:/ qbs.buildVariant:release

Before it would install to /opt
With a recent change it seems to install everything under /opt/usr/local
I have tried
qbs resolve profile:qt5 profile:qt5 qbs.installRoot:/ qbs.installPrefix:$INSTALLDIR qbs.buildVariant:release

but this just installs to /usr/local
I even tried
modules.qbs.installRoot:/ modules.lirideployment.prefix:$INSTALLDIR

I am not sure what to try now
Thanks

solved it
qbs resolve profile:qt5 projects.QbsShared.prefix:$INSTALLDIR qbs.installRoot:/ qbs.buildVariant:release

for qbs-shared
qbs resolve profile:qt5 qbs.installRoot:/ modules.lirideployment.prefix:$INSTALLDIR qbs.buildVariant:release

for everything else


Blade servicebuilder failing.

Today, the service builder started producing illegal code again. I'm guessing the service builder itself needs an update? (and yes, I cleared my gradle cache)
/home/brendan/work/liferay/test7/blade/gradle/blade.servicebuilder.svc/src/main/java/blade/servicebuilder/service/base/FooLocalServiceBaseImpl.java:693: error: method getSqlUpdate in class SqlUpdateFactoryUtil cannot be applied to given types;
SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
^
required: DataSource,String,int[]
found: DataSource,String
reason: actual and formal argument lists differ in length
/home/brendan/work/liferay/test7/blade/gradle/blade.servicebuilder.svc/src/main/java/blade/servicebuilder/service/base/FooServiceBaseImpl.java:417: error: method getSqlUpdate in class SqlUpdateFactoryUtil cannot be applied to given types;
SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
^
required: DataSource,String,int[]
found: DataSource,String
reason: actual and formal argument lists differ in length
Note: /home/brendan/work/liferay/test7/blade/gradle/blade.servicebuilder.svc/src/main/java/blade/servicebuilder/service/persistence/impl/FooPersistenceImpl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:blade.servicebuilder.svc:compileJava FAILED

Actually, most likely the other way around? portal-service needs to be updated in the repository?

Hey @deadcyclo this should be fixed in my most recent commits.  Please reopen if it is isn't fixed.  Specifically this one:
https://github.com/rotty3000/blade/pull/242

Confirmed working on todays master.


Button with cut text

Description

Version information
Aurora Editor: 1.0 (1)
Commit: 9b046a05a46c4bb308ea87ae9adbeca2b98a1ac3
MacOS: 12.5.1
Xcode: 13.4.1

Fixed in the following PR: Various UI Fixes


[HMS-3358] feat: enable host-metering.service on rpm installation

feat: enable host-metering.service on rpm installation
Use systemd preset for enabling host-metering.
Refactor systemd calls to macros as recommended by packaging policy.
feat: start host-metering service on rpm installation
The host-metering.service is started at the end of transaction if the
service is enabled. It is enabled by preset, so it is possible to
disable it also by other preset with higher priority.
It's in selinux poststrans as it was otherwise failing with permissions
issues.
Overall this is a hack and e.g. might be against Fedora packaging
policy.
https://issues.redhat.com/browse/HMS-3358

LGTM

I've removed the "start" patch for now as it was causing some selinux issues in downstream testing.

The COPR build failures looks to be caused by Source Hub outage caused by D-DOS: https://outage.sr.ht/  It'where the log package is hosted - needed for downloading dependencies for creating tarball.


Show roy version on http://roy.brianmckenna.org/

For me and presumably others, my source of Roy experimentation is http://roy.brianmckenna.org/.  The version of Roy present here should be shown for bug reporters.

+1

Added in 3359ab181f1445909449048ac204d052504a13cb


add support for custom post-install scripts

Description
Adds a script hook to define custom scripts after the installation completes. This allows me to copy from a ConfigMap in kubernetes the configuration files for valheim plus et al. Example post-install script:
#!/usr/bin/env bash
set -ex

rm -rf /home/steam/valheim/BepInEx/config
cp -r /home/steam/bep-config /home/steam/valheim/BepInEx/config
chown -R 1000:1000 /home/steam/valheim/BepInEx/config

Where /home/steam/bep-config is a volume in kubernetes pointing to a ConfigMap.
Contributions

I changed the startup script because I couldn't attach extra logic between the mod installation and server startup.
Added logic executing all scripts under /valheim-post-install.d/ before the valheim server starts.

Checklist

[ ] I added one or multiple labels which best describes this PR.
[x] I have tested the changes locally.
[ ] This PR has a reviewer on it.
[x] I have validated my changes in a docker container and on Ubuntu. (Only needed for Odin or Docker Changes)

Are these to be executed as root or the steam user?

For my use case being executed as the steam user worked fine. I'm also using this to install additional plugins such as epic loot which doesn't seem to install correctly due to its non-standard structure.

I do have a question, unrelated to this PR, why not mount your config map to /home/steam/valheim/BepInEx/config ?

There's already a mount in /home/steam/valheim, wasn't working for me on k3s.


changes

Done permission to edit only respective branch manager can edit the staff details, and group member delete only when all the loans are in closed state.

Coverage decreased (-0.1%) to 86.916% when pulling 3a3c10c5644204f5ae254db17a8bcc4a2357cb26 on swethanaretla:savings into 20a6929ba1126d776cfdb415e4bd38653780219f on MicroPyramid:master.


implement the connection ID management frames

We're not using them yet, but we need to be able to parse them if we want to interop.

Codecov Report

Merging #1598 into master will increase coverage by 0.03%.
The diff coverage is 86.49%.

@@            Coverage Diff             @@
##           master    #1598      +/-   ##
==========================================
+ Coverage   87.53%   87.55%   +0.03%
==========================================
  Files          96       97       +1
  Lines        6173     6210      +37
==========================================
+ Hits         5403     5437      +34
- Misses        550      551       +1
- Partials      220      222       +2

Impacted Files
Coverage Δ

session.go
74.14% <0%> (+0.21%)
:arrow_up:

internal/wire/frame_parser.go
96.3% <100%> (+0.14%)
:arrow_up:

internal/wire/new_connection_id_frame.go
88.24% <88.24%> (ø)

Continue to review full report at Codecov.

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


[REQUEST] Add option to keep system font

Hi
It could be possible to add an option to keep system font ?
I ask that bcz i don't like the google font, so i have apply a custom font on my device, but the google one have been forced in a recent update.
Thanks to add an option to keep the system font, to let the user decide.

no

no.

Since your answer was very brief, i know that it is possible to add this option in an application like this.
Could you please tell me why you don't want to add this option?

However, there are other fonts that don't come from Google and that work perfectly with any Android application, hence my proposal to add a simple option to allow this.
Adding this little option in the settings will keep everyone happy and on track.

A decision based on a vote would have been perfectly understandable, a lie based on a simple refusal to add an option is not.
If you had told me that you lacked the time and/or inclination to code this option, i could have completely understood that.

not a lie, reflection is not a option for this app. so there you have 2 ways. xml font or not. thats it

reflection ???

read about it, then youll understand

You say to me that you use a sort of SDK on this app which don't support multiple fonts usage ?

bruh, if you dont know how to code dont complain or say what to do

if you really want it, do it without reflections and ill may merge it.


Make sender default to the SMTP auth user

summary-report.py currently has two separate variables for sender email:

smtp_username:  the address to authenticate to the SMTP server (along with its password contained in smtp_password)
sender: address in the data-from, which appears in the email client

Make the required changes to use the smtp_username as sender by default.
You might want to wait for #1 to be fixed and merged so that it becomes a bit easier to fix this issue.
See README.md for details about the script, and CONTRIBUTING.md on how to send a PR.

Hi there! I'll try to make these changes


[website] download page HTML doesn't validate

Problem description
The page http://wpn-xm.org/downloads.php doesn't validate.

Check: https://validator.w3.org/

Expected behavior
Pages renders valid HTML. https://validator.w3.org/ is green.
Possible solution

[ ] fix HTML rendering by adding bugfixes to https://github.com/WPN-XM/website-wpn-xm.org/blob/master/downloads.php

Bounty
120€

Rewritten download page generation. Commit incoming.


Unable to fetch formatter options

Environment

Elixir & Erlang versions (elixir --version):
Erlang/OTP 24 [erts-12.1.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]

Elixir 1.12.3 (compiled with Erlang/OTP 24)

Elixir Language Server version:
Operating system: MacOS
Editor or IDE name (e.g. Emacs/VSCode): Neovim
Editor Plugin/LSP Client name and version:

Current behavior
After formatting three-ish times in my editor I get an error: Unable to fetch formatter options. Possibly an issue with the formatter.exs file in the repo I linked below, or the recent changes 18 days ago to the elixirLS code?
Here is a link to a GitHub repo I made that reproduces this issue
https://github.com/wilkinson4/unable_to_fetch_formatters_elixir

Closing this issue. Seems to be because of the Eunomo plugin.


merge with osm-polygon-features?

@bhousel: I've recently published a very similar module osm-polygon-features (the only major difference being that osm-polygon-features also supports blacklisted whitelisted tag values). Do you think it would make sense to merge the two efforts?

Wow thats funny that we did almost the same thing within a few days of each other!
This areaKeys dataset gets automatically generated from the iD presets. My plan is to just make a new release this whenever I release iD.
It looks like the other project is more of a hard coded list used by overpass as documented on the OSM wiki. It's definitely worth comparing the two lists. They should be almost the same, even if we arrived at them through different process.

Yeah, quite a coincidence. :smile: Here's a quick diff:
catch-all keys
missing in id-area-keys:

boundary
building:part
ruins

missing in osm-polygon-features:

emergency
junction
piste:type

blacklisted tag values
missing in id-area-keys:

natural=cliff (see http://wiki.openstreetmap.org/wiki/Proposed_features/cliff_clarification)
natural=ridge
natural=arete

missing in osm-polygon-features:

aeroway=gate
man_made=flagpole
man_made=mast
man_made=petroleum_well
man_made=surveillance
man_made=survey_point
natural=peak
natural=saddle
natural=spring
natural=tree
natural=volcano
amenity=atm
amenity=bbq
amenity=bench
amenity=bureau_de_change
amenity=clock
amenity=drinking_water
amenity=grit_bin
amenity=parking_entrance
amenity=post_box
amenity=telephone
amenity=vending_machine
amenity=waste_basket
amenity=waste_disposal
building=entrance
golf=hole
historic=boundary_stone
leisure=picnic_table
leisure=track
leisure=slipway
power=line
power=minor_line
power=pole
power=tower
public_transport=stop_position
tourism=viewpoint
waterway=canal
waterway=ditch
waterway=drain
waterway=river
waterway=stream
waterway=weir
emergency=fire_hydrant
emergency=phone
junction=roundabout

whitelisted tag values
missing in id-area-keys:

highway=services
highway=rest_area
highway=escape
highway=elevator
waterway=riverbank
waterway=dock
waterway=boatyard
waterway=dam
barrier=city_wall
barrier=ditch
barrier=hedge
barrier=retaining_wall
barrier=wall
barrier=spikes
railway=station
railway=turntable
railway=roundhouse
railway=platform
power=plant
power=substation
power=generator
power=transformer

missing in osm-polygon-features:

N/A

Quick comment: The diff appears to be quite large, but most can be explained by the fact, that osm-polygon-features doesn't include tags which are typically used on nodes only (e.g. natural=tree) and the fact that some tags (e.g. waterway) are mapped as a polygon-whitelist in osm-polygon-feature instead.
Apart from those design-differences I can't really spot any major thing missing on either list, maybe with the exceptions of area highway and railway tags like highway=services, railway=platform, etc.

Yeah there are some interesting findings in there.
We know the two datasets are a subtly different.  If I understand correctly,

osm-polygon-features answers the question of "what are all the known area tags in OSM?"
id-area-keys answers the question of "in the absence of an explicit area= key, what can we assume is an area?"

So here are my quick impressions..

"catch-all missing in id-area-keys":

boundary / building:part
These we intentionally treat as line features in the iD presets, even though the wiki considers them area features.  I'm not sure if there is anything actionable to do here.
ruins
This is a weird tag.  In iD, we have a historic=ruins preset which is treated like an area feature.

"blacklisted missing in id-area-keys":

The cliff discussion is interesting - I didn't know about that.  It means closed-way cliffs can now be either lines or areas, so they would need an explicit area=yes tag to disambiguate them.  (this makes them like barrier tags, see below)

[ ] adjust iD presets for cliff / ridge / arete

"osm-polygon-features doesn't include tags which are typically used on nodes only"

That's a good point, and we really should exclude these kinds of tags from our list.

[ ] exclude from id-area-keys blacklist tags which are node only

"whitelisted missing in id-area-keys":

You mentioned that there are a bunch of missing highway, railway keys.  iD ignores a bunch of keys when it builds the list.
ignore = ['barrier', 'highway', 'footway', 'railway', 'type']
This is like saying "don't whitelist these keys".  It serves 2 purposes:

If someone invents a new tag like highway=foobaz, it's probably a line, not an area.
Closed ways that can be either a line or an area need area=yes to disambiguate the meaning.  barrier is also in this ignore list because closed ways that are tagged like barrier=city_walls can be a line or an area.

Note that if a key is in this ignore list, it doesn't mean it can never be an area - it just means that we add an area=yes tag to make sure the intent is clear.
You found piste:type as "missing in osm-polygon-features", and that is probably another key we should ignore in our list.

[ ] ignore piste:type

power
id-area-keys whitelists power=* and blacklists tags like line/minor_line
osm-polygon-features blacklists power=* and whitelists tags like sub_station/substation
These two approaches are pretty much the same, so probably nothing to do here.


Sampling in chunks for admixpops

Compiles and runs, but beyond that it's entirely untested.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@58349da). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main     #17   +/-   ##
======================================
  Coverage        ?   1.24%
======================================
  Files           ?       3
  Lines           ?     402
  Branches        ?       0
======================================
  Hits            ?       5
  Misses          ?     397
  Partials        ?       0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Great, will take a close look!

Re your first plot: Assume the "c" labels denote the chunked ones. Then the plot shows that both the chunked and the sap-based fake-admixed individuals are lining up linearly between the two groups as expected, but they are separated from each other on PC2? I don't think that is too concerning, as it is likely that the chunking creates mild batch effects with respect to the sap-based ones. Also, if you plotted this on similar scales for PC1 and PC2 you would see that the batch effect is relatively mild.
Re your second plot: I don't understand what is shown. Could you briefly comment?

OK - I renamed some types to make the code a bit more readable. I also ran my own tests again to check if the code is still running after all this time and if it still produces plausible, yet experimental and not well understood results. As this is the case, I will merge now and make a new release, which will also enable xerxes to handle Poseidon v2.7.1 packages.
Eventually I would like to go back to admixpops and consolidate the current set of features - ideally with a blog post presenting the test code over in https://github.com/nevrome/paagen.


Add custom layers package

This Pr is adding custom onnx layers to extend our onnx coverage.
We start here by creating the onnx hard sigmoid operator as custom keras layer.
I converted this package also to poetry for our convenient.

@tip3x I agree about x vars, but its quite common generally in the keras community and docs to use it.
I can rename it to out_tensor or any other good name you can think of


Dex classes not available from session.get_classes

Using version 3.0.1 (installed from pip in a virtualenv), session.get_classes() yielded classes whatever the type of file (APK, DEX, DEY).
After updating to master branch I expected to obtain the same result.
Nevertheless calling session.get_classes() from master branch not longer gives access to classes for DEX files.
After looking at the code, it seems, analyzed_vms is only populated for APK type but neither for DEX or DEY files. I currently use the following workaround:
for digest in session.analyzed_dex:
for vm in session.analyzed_dex[digest].vms:
_class = vm.get_classes()
It works but it is no longer "agnostic" because I have to know if I deal with APK, DEX or DEY.
Is this voluntary?
Thanks.

Is this voluntary?
probably not... there was a lot of restructuring in this module. I'll have a look!

can you provide a short example how you used session before?

Sure!
On version 3.0.1 I used the following code:
from androguard.session import Session
def extractTargets(filename):
with open(filename, "rb") as fd:
data = fd.read()
filename = fd.name
session = Session()
digest = session.add(filename, data)
targets = set()
for idx, filename, digest, classes in session.get_classes():
for _class in classes:
source = _class.get_source()

thanks!
I tested it now with my changes and it seems to work...

Great! Thanks for your quick answer!

Just seen your PR. Thanks!

So I found out that the PR broke some stuff, so I removed it.
For now you can get the DEX files from the Analysis Object... But the session module needs some rework after all.


how to remove TITLE ACTION BAR

how to remove action bar in svelte native

how to remove action bar in svelte native

solved thanks

...


adding "format code" in blocks

Format Code applies a "Flow" layout

I will try the new menu item for blocks "Format Code"


how to import a mach-o fat binary with analysisHeadless

I use command like "analysisHeadless project_path project_name -import /path/of/this/mach-o/fat/binary -postScript xxx" and got error like "ERROR The AutoImporter could not successfully load xxx with the provided import parameters"
ghidra version: 9.2.3

As a sanity check may you try importing it in the gui and see what happens?

As a sanity check may you try importing it in the gui and see what happens?

with gui it give me three options to choose: single file, batch and file system, only the batch mode is correct. I just want to know how to import a single mach-o fat file with this batch mode

Fat binary is treated as a "file system" in Ghidra, and the headless analyzer currently does not have the capability to dig into file systems to automatically extract and analyze their files (in this case, their files being the individual mach-o's).

For anyone who finds this in the future, you can lipo the binary before processing it to extract the slice you want to analyze.
Check man lipo, for the -thin argument.

You can also directly import the "slice" from Ghidra if you open it as a File System.


Troubles with non-angular login page after updating to 2.0.0

Hi, I have a protractor.conf.js really similar to the one you use for login in the repo specs. I employ an onPrepare function that invokes the browser.driver.get and then there is a browser.driver.wait. Everything was fine until I updated to the latest version of protractor. But I've found that if I put the onPrepare code inside my Jasmine tests (inside a beforeEach, for instance), it works again.
I guess there is an issue wrapping Jasmine?
This is my troubleshoot output.
Cheers!
DEBUG - Running with --troubleshoot
DEBUG - Protractor version: 2.0.0
DEBUG - Your base url for tests is http://localhost:8080
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Running 1 instances of WebDriver
DEBUG - WebDriver session successfully started with capabilities { caps_:
   { platform: 'MAC',
     acceptSslCerts: true,
     javascriptEnabled: true,
     browserName: 'chrome',
     chrome: { userDataDir: '/var/folders/bq/cm6ls90j0xn0kqw8qkscmbwm0000gn/T/.org.chromium.Chromium.1DXf0h' },
     rotatable: false,
     locationContextEnabled: true,
     mobileEmulationEnabled: false,
     'webdriver.remote.sessionid': 'c5054c16-7f14-4b32-9560-69fcbc9ca1a9',
     version: '41.0.2272.101',
     takesHeapSnapshot: true,
     cssSelectorsEnabled: true,
     databaseEnabled: false,
     handlesAlerts: true,
     browserConnectionEnabled: false,
     nativeEvents: true,
     webStorageEnabled: true,
     applicationCacheEnabled: false,
     takesScreenshot: true } }

I have the same issue with a manually bootstrapped angular app (without the browser.driver.wait part):
With Protractor 1.8.0:
protractor.conf.js
onPrepare: function() {
  browser.get('path/to/index.html');
},

With Protractor 2.0.0: I have to call browser.get at the beginning of my tests, otherwise I get:
 Error while waiting for Protractor to sync with the page: "angular could not be found on the window"

We never encountered issues like #66 before.
Let me know if you want me to provide more debug info :wink:

@ricogallo can you provide your config file including onPrepare function? We need to know if you're using jasmine 1.3 or 2 and what your onPrepare actually looks like.

@juliemr I'm using jasmine 1.3, and my on full config is:
exports.config = {
  seleniumAddress: 'http://<IP_ADDRESS>:4444/wd/hub',

  specs: [
    '../e2e/**/*_test.js'
  ],

  multiCapabilities: [
    {'browserName': 'chrome'},
    {'browserName': 'firefox'}
  ],

  baseUrl: 'http://localhost:8000',

  onPrepare: function() {
    // https://gist.github.com/elgalu/82929eeeef4a80e01835
    browser.getCapabilities().then(function(s) {
      var browserName = s.caps_.browserName;

      browser.isFirefox = function() {
        return /firefox/.test(browserName);
      };

      browser.isChrome = function() {
        return /chrome/.test(browserName);
      };
    });
    browser.driver.manage().window().maximize();
    browser.get('e2e/index.html');
  },

  jasmineNodeOpts: {
    isVerbose: true
  }
};

Hi @juliemr , sorry for the late reply. It seems that adding framework: 'jasmine2' to the config file solved it! Thanks

@ricogallo Lucky you if you can switch to jasmine2 so easily! :smile:
@juliemr Should I open a dedicated new issue for our case?

@glepretre please do open a new issue, I'm closing this one. It would be helpful if you can add more information from the test output as well, since I'm not sure what is triggering the timeout.

Hi,
I'm using Protractor Version 2.0 and set 'jasmine2' as a framework. I'm loading angular manually via a chrome extension and the content script is running, but I still see this error:
Failed: Error while waiting for Protractor to sync with the page: "angular could not be found on the window"
  Stack:
    Error: Failed: Error while waiting for Protractor to sync with the page: "angular could not be found on the window"

Thank you,
Deepak


Add support for a local icons folder

Description
Make custom icons accessible by mounting a folder (E.g. /icons), and making it the root directory for local icons. This would allow for people to have a local folder for icons, instead of having to host them somewhere on the web.
Icons would be accessible via name.png/svg

Priority
Medium (Would be very useful)
Please tick the boxes

[X] You've read the docs
[X] You've checked for duplicate issues

Wait 7 people liked this and none of you have made issues on that previously?
I tried to implement it yesterday but couldn't find a decent way to pass the image file as a call to the backend.
Can someone help me with links to methods on how to pass (and receive) files as a web call (POST/PUT call)
It's the only thing missing so this can be implemented

People just want a mounted folder, uploading is useful but unnecessary

Why not mount a folder to allow people to upload with a certain naming for modules i.e sonarr.png and where-ever the icon is render do a check if that file exists if not render the one from the app instead?

Icons matching is just quality of life. I don't want to touch it anymore, you have to provide your own icon.
I will see if I can make the public folder mountable

This is already supported.
Mount point :

Usage in Homarr :

@walkxcode Can you document it ?


Write module to process ANIm output and test

While developing the snakemake interaction, we need to be confident that our output is correct.
We should use pytest to manage this process (so a tests directory etc. wil be required) and we will need to parse output/compare it to the expected output (see #1)

NOTE: This is on branch issue_4

An initial module for parsing delta files has been added to branch issue_4. The code was tested against values returned by the current pyani v0.3, and all tests pass.
I am currently working on writing a Snakemake workflow to parse delta files for ANIm calculations.

I am currently working on writing a Snakemake workflow to parse delta files for ANIm calculations.

We should talk in more detail about this as I'm not sure what the design intent is, here. We need to break down what we're doing into self-contained tasks, and the task at hand here is to parse a delta file into an internal representation. That doesn't need snakemake, but could reuse code from the pyani repository (specifically https://github.com/widdowquinn/pyani/blob/master/pyani/nucmer.py)

Hi @widdowquinn,
Yes, you are right. I'm currently reusing the same code from pyani to calculate ANI values. However, the last time we spoke about it, you suggested using pyroject.toml to create an executable script for this so we can use snakemake rules to run the script. Am I missing something?
I agree that this might be unnecessary because parsing delta files does not take a lot of time. Maybe if we wish to use pyani-plus on bigger datasets, it would make a difference, but that would need to be tested, I guess.

the last time we spoke about it, you suggested using pyroject.toml to create an executable script for this so we can use snakemake rules to run the script. Am I missing something?

I don't think you're missing anything, but there are two steps being munged together in what may not be the best order. We need to build up the software in steps, something like:

workflow to run the necessary comparisons
module with a parser to correctly parse the comparison output (A)
module to calculate the distance/comparison value from the parsed output (B)
module to add a comparison result to the database [assuming the database is built/available] (C)
script combining A, B, and C
workflow that executes this script at the appropriate time

Going in this order means we can build on solid foundations, knowing the earlier steps in the process are working and unlikely to require us to go back and rewrite lots of code. The workflow is arguably the last thing (in sequence) that we need to write in this process. We could write it at any point, but if we write it before the script is available we may not know enough about how to call the script, and end up rewriting it anyway, which is lost effort.
You don't build a stone arch without a keystone, but you can't put the keystone in first - it's about the order in which we develop things, not that the workflow is unnecessary.

Yes, you are right. I'm currently reusing the same code from pyani to calculate ANI values.

I can see how you might have got that intent from my badly-worded issue name/title. I've changed the name of the issue to restrict the scope to something more achievable and appropriate.

So, I have been working on this in the issue_4 branch.
As of now, I have written a module that calculates the values for the aniM method. In fact, I copied the module from the previous pyani codebase and reformatted it based on the recommendations of ruff.
I have also written tests to verify the values against what we have already agreed upon with the current working version of pyani.
We discussed this in today's meeting, but I'll note it here so we don't forget: ruff does not like the use of the assert statement in the code, raising an S101 error. We agreed that this is not problematic for pytest, and we want to continue using assert for this purpose. I have added a few lines in pyproject.toml to ignore the S101 error for all tests.

Thanks @kiepczi - just to add a note from the discussion, we talked about ignoring errors for files matching tests/test_*.py to the ruff config in pyproject.toml so that we could avoid the S101 warnings.

At today's meeting, we discussed improving the code by removing repetitive lines and replacing them with a function.
For example, our previous lines for calculating the lengths of aligned bases in the query and reference sequences without overlaps were as follows:
    for seq_id in regions_qry:
        qry_tree = intervaltree.IntervalTree.from_tuples(regions_qry[seq_id])
        qry_tree.merge_overlaps(strict=False)
        for interval in qry_tree:
            qaln_length += interval.end - interval.begin + 1

    for seq_id in regions_ref:
        ref_tree = intervaltree.IntervalTree.from_tuples(regions_ref[seq_id])
        ref_tree.merge_overlaps(strict=False)
        for interval in ref_tree:
            raln_length += interval.end - interval.begin + 1

I have now written a separate function that can be called within the parse_delta function for both query and reference sequences:
def get_aln_length(aln_regions: dict) -> int:
    """Return the number of aligned bases (without overlaps).

    :param aln_regions: dict of aligned regions
    """
    aln_length = 0
    for seq_id in aln_regions:
        tree = intervaltree.IntervalTree.from_tuples(aln_regions[seq_id])
        tree.merge_overlaps(strict=False)
        for interval in tree:
            aln_length += interval.end - interval.begin + 1

    return aln_length

I should probably mention that I also checked how this change affected the runtime of a single parse. The time did not decrease, but CPU usage dropped slightly, which I suppose is a plus?
eg. previous code:
python old_method_anim.py  0.04s user 0.01s system 83% cpu 0.062 total

after modifications:
python method_anim.py  0.04s user 0.01s system 86% cpu 0.056 total

Changes of that level are more or less noise - but we can say there was no unexpected performance regression.

Hi @kiepczi - just to be sure, you want me to take a look at the issue_4 branch at commit e93f1dc?

Hi @widdowquinn - yes.
I want to see if I understood what we talked about yesterday, so I don't waste time on something that is wrong or pointless.
If that's the idea how we want to catch the information by parsing delta files, I will try to restructure this code by separating it in different scripts, as you showed me yesterday based on old pyani.

I've merged main into issue_4 so that everything's up to date, and am working forward from that point.

I've been through the code in that commit, and made some changes. I hope that they're either self explanatory or adequately documented. You can see the differences (including the merged files from main) at the link below:

https://github.com/pyani-plus/pyani-plus/compare/6b53037..e93f1dc

where the new code is on the left. My changes don't kick in until you get to method_anim.py. I'll try to explain my rationale in order of occurrence in each file, though there is some cross-linking.

I hope the copyright change is obvious ;)
I've explained why a NamedTuple rather than a data class (and you made the right choice!) for ComparisonResult
I've added a TODO here because the comparison also needs coverage information
I've modified some attribute names for clarity, as "length" could be total length or aligned length, or aligned base count if not clarified
I changed the name of get_aln_length() to get_aligned_bases_count() for the same reason
I expanded some variable names for clarity
In parse_delta we didn't need to declare initial values for variables that weren't being modified (e.g. current_ref, etc.)
I updated some of the comments where they hadn't followed the type change
I changed weighted_identical_bases from a list to a count, to match the other changes
I moved the calculation of the aligned base counts into the return statement. If you think it's clearer the other way I'm happy for you to restore it.
I changed the name of update_comparison_results() as I thought collect_results_directory() was a bit more specific, though I'm open to better names
I added a TODO comment to add a test for this function code
I modified variable names to be a bit more explicit

The big change here compared to the old pyani - which I added in a comment at the appropriate point - is that you've now got the code that parses a complete run's output directory into the core module code (the equivalent of anim.py or nucmer.py in the original codebase), rather than in the CLI (subcmd_anim.py in pyani). I don't mind that, but we should probably have a more comprehensive meeting about the overall architecture of what we're doing, and solidify it with a reference in the design-docs repository.

Thanks, @widdowquinn! That is very helpful.
I've been working on this today, and you can find the progress under the c1be097 commit.
I’ve added genome coverage calculations for both the query and the reference, as well as Hadamard calculations. Based on the previous Hadamard calculations in pyANI (available here), it’s calculated as genome identity * genome coverage. However, if this is incorrect, I apologise and am open to corrections.
For the genome coverage calculations, I needed to get the total lengths of genomes, which I achieved with the function below. I know that genome lengths will be needed to calculate values for other methods (e.g., dnadiff). It might be worth having a separate script that can be called when needed, but (as @widdowquinn briefly mentioned today), we need to talk about how we would like to structure pyani_plus. I'm just putting this here so we don't forget when the next meeting arrives.
def get_genome_length(filename: Path) -> int:
    """Return total length of all sequences in a FASTA file.
    :param filename:  path to FASTA file
    """
    with Path.open(filename) as ifh:
        return sum([len(record) for record in SeqIO.parse(ifh, "fasta")])

Please keep in mind that I still need to write tests to ensure the code is working as expected.

Sounds good. It probably doesn't matter, but we can speed up that get_genome_length function using a different bit of Biopython.

That would be great. Unfortunately that's the only way I know, so I'm happy to suggestions ;)
Do you have something specific in mind. It would be great if you could point me in the right direction.

Thinking about it, it's probably a good idea for us to take a look at the database schema on Tuesday and bring it into the codebase as early as we can. It would be wasteful to write a lot of placeholder code we know we need to remove later, which is where I think this discussion is potentially leading.

Closing this issue as it was solved in #100 and #107.


Which is for fronted and backend ??

Here we get confused that which project is for fronted and which is for backend.. all though we can indetify by Technology used in this project and that is also mentioned..
But we should write in title Like "Club-gamma website (Frontend)" so its easier for contributer to redirect to that project..
Rather than indentify from labels of technology , the title is much easier to identify..
Make Easy as possible for user...

/assign


[Bug?]: Catch-all that starts with number after ellipsis in filename causes hydration errors in nested paths on dev

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
If you create a nested path--for instance, /foo/bar--using the starter templates, sometimes you'll get a hydration error for that path on local dev:

This error goes away if I rename [...404].tsx to something like [...notFound].tsx, or any other filename that doesn't start with a number after the ... ([...n404].tsx works, for example).
Expected behavior 🤔
Catch-all routes shouldn't trigger hydration errors in other paths. Furthermore, there shouldn't be a difference in what errors are triggered simply based on what characters/numbers are used in the catch-all route's filename.
Steps to reproduce 🕹
Steps:

npm init solid@latest and select the Tailwind template.
Create a nested path like /foo/bar. (It's a bit flaky, you might need to create a couple of nested paths.)
npm run dev
Visit /foo/bar.

Context 🔦
Discussion on Discord
GitHub repro repo
Stackblitz repro (doesn't work, see below)
Notes:

I'm only able to reproduce this on my local machine while running npm run dev. The error doesn't occur in Stackblitz nor on prod (npm run build && npm run start).
So far, I've only tested this using the basic and Tailwind templates, and I was unable to reproduce in the basic template.

Your environment 🌎
2021 M1 MacBook Pro, macOS Sonoma 14.4.1
Chrome 123.0.6312.87
node v21.7.1
package.json
{
  "name": "example-with-tailwindcss",
  "type": "module",
  "scripts": {
    "dev": "vinxi dev",
    "build": "vinxi build",
    "start": "vinxi start"
  },
  "dependencies": {
    "@solidjs/router": "^0.13.1",
    "@solidjs/start": "^1.0.0-rc.0",
    "autoprefixer": "^10.4.14",
    "postcss": "^8.4.26",
    "solid-js": "^1.8.16",
    "tailwindcss": "^3.3.3",
    "vinxi": "^0.3.10"
  },
  "engines": {
    "node": ">=18"
  }
}

Hmm. In the course of trying to fix some screen jank (see here for more context), I installed/reinstalled vinxi and the problem went away. Not sure why I specifically had to install/reinstall.


cleanup: skip eventarc using Pub/Sub

Tolerate higher latency by sending messages via a push
subscription in Cloud Pub/Sub. It also avoids introducing more
infrastructure.

Part of the work for #138


TAB button crashes process

Windows Terminal version (or Windows build number)
10.0.19042.0
Other Software
Windows Powershell
Steps to reproduce
Open new console, type a letter and try auto complete with TAB
Expected Behavior
To autocomplete commands
Actual Behavior
Process exited, maybe an issue with poweshell instead?

Ok, it was an issue with my own installation, fixed with:
dism /Online /Cleanup-Image /RestoreHealth
:)

Off-topic, but<PHONE_NUMBER> is a pretty common one (0xC0000005).  Maybe WT could give the hex version of exit codes, perhaps parenthetically.


Command line management tool?

I think we need some kind of facility to generate the database schema objects for document types. Think about this one more. Is it a console tool on top of the library support? Migrations?
Possible features would be:

Dump the full DDL for the entire schema
Generate patches for any places where the schema is different than the Marten configuration
Bulk data loading?
Wipe out Marten schema objects?
Load the Javascript projections?

Here's my proposal. For right now, I'm proposing that we have a separate library to hold the command line support. In usage, you'd build your own console app so you could build out the StoreOptions any which way you want, then delegate to the Marten CLI support. That quickly sidesteps the issues of needing to use separate AppDomain's and "finding" the right StoreOptions if we distributed our own console app.
For usage, I've got:
yourtool ddl [file] --> writes all the DDL for the StoreOptions to the designated file
yourtool patch [file] --> writes the patch (if any) and drop files to the designated location
yourtool apply --log [file] --> applies all outstanding changes at one time
yourtool assert --log [file] --> asserts that the db schema matches the Marten configuration
yourtool sqitch [folder] --> See https://github.com/JasperFx/marten/issues/493

This is done, just needs to be doc'd. I'm closing it for now.


Can't fetch small images, API MISUSE, SwiftUI

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
Some images fetch always fails, my observation is that it applies only to smaller images like
https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
for this https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/logo.png it works fine 🤔
Reproduce
KFImage.url(url)
    .onSuccess { r in
        print(r) // never called
    }
    .placeholder { p in
        ProgressView(p) // shows up to 100%
    }

Other Comment
console output:
API MISUSE: NSURLSession delegate KFSessionDelegate: <KFSessionDelegate: 0x28252ac40> (0x28252ac40)
API MISUSE: dataTask:willCacheResponse:completionHandler: completion handler not called

completion for sessionTask.onTaskDone.delegate(on: self) { (self, done) in is never called
using debuging tool I can see successful http response with image

Ummm. It is weird. Kingfisher never implements the willCacheResponse delegate method. I will see if I can reproduce it and try to understand what is going on.

Not sure I am doing the right thing or not, but when running in the demo project, it seems everything goes well:

@zzzkk Is it a 100% reproducible issue? Can you also try on some other simulator/device/network condition and share more information about it? (Or are you trying to extend KFSessionDelegate (or SessionDelegate in Swift) and implement some willCacheResponse method in your project?)

Maybe a reproducible sample repo would be a great help for us to track this issue better!

right, issue reproduces only in my repo, no matter which device/network/etc
I'm not extending session delegate or modifing other networking related logic
but
maybe some other external library I use is messing it up?
I'll try to turn them off one by one and check if it fixes Kingfisher behaviour 🤔

maybe some other external library I use is messing it up?

Maybe. But actually, that's beyond what I can imagine... Kingfisher is creating its own URLSession when downloading an image and the session delegate is also defined inside the project. So not sure what can cause the "API MISUSE". Please let me know if you can find anything. Thanks!

Thanks for the feedback. Great to hear you found that!
That is a very common mistake that one forgets calling the handler. I guess once DBDebugToolKit fixes it, everything should go back working.


Upgrade to latest Postgres

Why
According to sources, Postgres 16 is a lot faster for importing data via COPY.
https://pganalyze.com/blog/5mins-postgres-16-faster-copy-bulk-load
Given that our pipeline is slowed down by the DB SNOMED loader, this should make our builds faster.
Type of change
Internal change (non-breaking change with no effect on the functionality affecting end users)
Checklist:

[ ] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have updated the Changelog with details of my change in the UNRELEASED section if this change will affect end users
[ ] A corresponding change has been made to the Mapping Documentation repository

I couldn't see any change in performance comparing this version to existing version in Jenkins so closing...


Copy-CompanyInNavContainer feature

Hi @freddydk ,
This feature is useful during testing process, when I want to copy company from Cronus f.ex. to new company, and then test some business process there.

Could you rename the function to Copy-NavCompanyInNavContainer - and make the parameters the same names as the Copy-NavCompany function - then I will take it (SourceCompanyName and DestinationCompanyName) - I try to do this will all the "proxyfunctions"

Thanks


Hallowed Sepulchre fire traps, light tile traps and Hallowed Lantern aren't glowing. Using WIndows 10 64bit version. Please provide support to Hallowed Sepulchre!

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Windows, Ubuntu, macOS]
RuneLite version: [e.g 1.4.6]
Launcher version: [e.g 1.5.2]

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

+1 on this, would be great to see! Seems odd that all other fires in the game have the lighting effect, but the flame traps don't...

This can now be called as it was added


⚠ Bofrost.be has degraded performance

In b350699, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1399 ms

Resolved: Bofrost.be performance has improved in 4612c5c after 22 minutes.


Add comments about registration of HttpClient

Add comments about different approaches to registering HttpClient for dependency injection as suggested in #1.
/cc @andrecarlucci

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #2   +/-   ##
=======================================
  Coverage   99.81%   99.81%
=======================================
  Files           5        5
  Lines         536      536
  Branches       71       71
=======================================
  Hits          535      535
  Partials        1        1

Continue to review full report at Codecov.

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

@andrecarlucci Are you happy that these changes addresses your concerns?

Perfect, @martincostello , thanks :)


Add an option to fail if a manual resolving action is needed

Hi,
What do you think about adding an option to mark bower install as a failure if bower is unable to find a suitable version for a component.
This could prevent a job in Jenkins (or other automated script) from being blocked, waiting indefinitley for an answer.
Something live : bower install --failOnResolve ?
I would be happy to contribute with a PR.

--config.interactive=false should work

also you can set CI env variable to 1

Thanks !


Clicking on Resources does not expand/ collapse the panel

Clicking on bot explorer toggles the explorer panel in and off view.
Clicking on Resources does not toggle the resources panel in and off view.
This is inconsistent behavior.

Addressed in #843


chromium: build fail multiple definition of 'enum _VA_TEE_EXEC_FUNCTION_ID'

chromium.LOG
I don't really know what happened I was just testing out my new TOP AMD Ryzen 7 PRO 4750G performance on chromium but then it failed like that

There is an issue with chromium and libva 2.11 I am troubleshooting.
You can either remove libva or downgrade to 2.10.
Mar 25, 2021, 8:03 PM by @.***:

chromium.LOG https://github.com/kiss-community/repo-community/files/6208515/chromium.LOG
I don't really know what happened I was just testing out my new TOP AMD Ryzen 7 PRO 4750G performance on chromium but then it failed like that
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, > view it on GitHub https://github.com/kiss-community/repo-community/issues/246> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AEVM3SKMUDCEAVBWLHQL2LDTFPFOLANCNFSM4Z2L6AXQ> .

Update:
Still haven't looked super closely at your log (or mine), but the biggest issue seems to be that some things are being redefined (they're defined by files provided by system libva but also ones provided by bundled `libva).
Adding libva_protected_content to the list here https://github.com/kiss-community/repo-community/blob/0a3a95dea85ed46afa753348f7ba39dc3d5bb243/community/chromium/build#L76 may very well do it. Building right now with it set, will update this post in... <30 minutes.

Update:
Just remove the redefinitions from the third_party header. I imagine this is the solution chromium devs will come to when they get around to making a new release... I leave it to @git-bruh to apply these, but you can do it yourself in the meantime!
diff --git a/community/chromium/build b/community/chromium/build
index 94129db..6640097 100755
--- a/community/chromium/build
+++ b/community/chromium/build
@@ -70,6 +70,14 @@ system="
     opus
 "

+# libva 2.11.0 introduced changes for protected content in the va headers.
+# Chromium is currently using an outdated third_party header.
+# This temporary change allows chromium to build with system libva.
+if kiss list libva; then
+    vaapi=true
+    patch-p1 < fix-libva-redef.patch
+fi
+
 # remove build scripts for system provided dependencies - basically does the
 # same as the bundled script to remove bundled libs, but this way we don't
 # have to list the remaining libs.
@@ -93,8 +101,6 @@ done

 ./third_party/libaddressinput/chromium/tools/update-strings.py

-kiss list libva && vaapi=true
-
 conf="
     angle_enable_vulkan=false
     blink_symbol_level=0

--- a/dev/null
+++ b/community/chromium/patches/fix-libva-redef.patch
@@ -0,0 +1,86 @@
+--- a/third_party/libva_protected_content/va_protected_content.h
++++ b/third_party/libva_protected_content/va_protected_content.h
+@@ -132,19 +132,6 @@
+ #define VA_PC_SAMPLE_TYPE_FULLSAMPLE 0x00000001
+ #define VA_PC_SAMPLE_TYPE_SUBSAMPLE 0x00000002
+
+-/** \brief TeeExec Function Codes. */
+-typedef enum _VA_TEE_EXEC_FUNCTION_ID {
+-  VA_TEE_EXEC_TEE_FUNCID_PASS_THROUGH_NONE = 0x0,
+-
+-  // 0x40000000~0x400000FFF reserved for TEE Exec GPU function
+-  VA_TEE_EXEC_GPU_FUNCID_ENCRYPTION_BLT = 0x40000000,
+-  VA_TEE_EXEC_GPU_FUNCID_DECRYPTION_BLT = 0x40000001,
+-
+-  // 0x40001000~0x400001FFF reserved for TEE Exec TEE function
+-  VA_TEE_EXEC_TEE_FUNCID_PASS_THROUGH = 0x40001000,
+-
+-} VA_TEE_EXEC_FUNCTION_ID;
+-
+ /** \brief values for the encryption return status. */
+ typedef enum {
+   /** \brief Indicate encryption operation is successful.*/
+@@ -159,63 +146,6 @@
+   VA_ENCRYPTION_STATUS_UNSUPPORT
+ } VAEncryptionStatus;
+
+-/** \brief structure for encrypted segment info. */
+-typedef struct _VAEncryptionSegmentInfo {
+-  /** \brief  The offset relative to the start of the bitstream input in
+-   *  bytes of the start of the segment*/
+-  uint32_t segment_start_offset;
+-  /** \brief  The length of the segments in bytes*/
+-  uint32_t segment_length;
+-  /** \brief  The length in bytes of the remainder of an incomplete block
+-   *  from a previous segment*/
+-  uint32_t partial_aes_block_size;
+-  /** \brief  The length in bytes of the initial clear data */
+-  uint32_t init_byte_length;
+-  /** \brief  This will be AES 128 counter for secure decode and secure
+-   *  encode when numSegments equals 1 */
+-  uint8_t aes_cbc_iv_or_ctr[16];
+-  /** \brief Reserved bytes for future use, must be zero */
+-  uint32_t va_reserved[VA_PADDING_MEDIUM];
+-} VAEncryptionSegmentInfo;
+-
+-/** \brief encryption parameters, corresponding to
+- * #VAEncryptionParameterBufferType*/
+-typedef struct _VAEncryptionParameters {
+-  /** \brief Encryption type, attribute values. */
+-  uint32_t encryption_type;
+-  /** \brief The number of sengments */
+-  uint32_t num_segments;
+-  /** \brief Pointer of segments */
+-  VAEncryptionSegmentInfo* segment_info;
+-  /** \brief The status report index for CENC workload.
+-   *  The value is to indicate CENC workload and needs to be
+-   *  different for each CENC workload */
+-  uint32_t status_report_index;
+-  /** \brief CENC counter length */
+-  uint32_t size_of_length;
+-  /** \brief Wrapped decrypt blob (Snd)kb */
+-  uint8_t wrapped_decrypt_blob[16];
+-  /** \brief Wrapped Key blob info (Sne)kb */
+-  uint8_t wrapped_encrypt_blob[16];
+-  /** \brief Indicates the number of 16-byte BLOCKS that are encrypted in any
+-   *  given encrypted region of segments.
+-   *  If this value is zero:
+-   *    1. All bytes in encrypted region of segments are encrypted, i.e. the
+-   *       CENC or CBC1 scheme is being used
+-   *    2. blocks_stripe_clear must also be zero.
+-   *  If this value is non-zero, blocks_stripe_clear must also be non-zero. */
+-  uint32_t blocks_stripe_encrypted;
+-  /** \brief Indicates the number of 16-byte BLOCKS that are clear in any given
+-   *  encrypted region of segments, as defined by the CENS and CBCS schemes in
+-   *  the common encryption spec.
+-   *  If this value is zero, all bytes in encrypted region of segments are
+-   *  encrypted, i.e. the CENC or CBC1 scheme is being used.
+-   */
+-  uint32_t blocks_stripe_clear;
+-  /** \brief Reserved bytes for future use, must be zero */
+-  uint32_t va_reserved[VA_PADDING_MEDIUM];
+-} VAEncryptionParameters;
+-
+ /** \brief structure for VA_TEE_EXEC_GPU_FUNCID_ENCRYPTION_BLT */
+ typedef struct _VA_PROTECTED_BLT_PARAMS {
+   uint8_t* src_resource;  // The source resource which contains the clear data.


en.yml changes in Angular JSS app giving error : Duplicate function implementation

I just created a new Angular App and its running fine with "JSS Build". But when you change any of the en.yml files, those changes are not reflected in browser and I am getting below error on command prompt
path or pattern './sitecore/pipelines/**/*.patch.js' did not match any files.
sitecore/definitions/component-content.sitecore.ts:32:10 - error TS2393: Duplicate function implementation.
32 function convertToItems(data, basePath, rootItemName, language) {
~~~~~~~~~~~~~~
sitecore/definitions/component-content.sitecore.ts:73:10 - error TS2393: Duplicate function implementation.
73 function convertPhsyicalPathToItemRelativePath(physicalPath, basePath) {
Do anybody know the reason and possible fix?

@alexksharma - Did you ever figure this out? I am battling the same issue at the moment.

@alexksharma Fixed in #440
Will be released in JSS 15


Avoid taking snapshot during journal suspension

When journal is suspended, snapshot should not be taken because some entries included up to the snapshot index might not have been applied by the suspended journal applier.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11216/
Test PASSed.

@gpang @LuQQiu PTAL.

alluxio-bot, merge this please.


fixes #89 added toObjectContaining

Description
fixes #89 adding toObjectContaining to revive to
{ [k: string]: SomeClass }
// or
{ [k: string]: SomeClass[] }

Proposed changes in this PR

add toObjectContaining
added tests for toObjectContaining
add docs for toObjectContaining

Things to look at

[x] Test coverage
[x] Code Style
[x] Documentation (README.md, doc/, examples/, etc..)

Blocking because serializable.ts changes break handling empty arrays

Am I missing a test?

Added requested changes, also added fromObjectContaining as a toJSONstrategy,  @ChrisDufourMB your change also has type protection.


ChatGPT support

(while I'm adding requests)
ChatGPT API call requires different options Chat vs. Completions. Was going to add this to my lib, but am going to just move to manifest.

Will be added in https://github.com/HazyResearch/manifest/pull/68. I added a openaichat client. It hooks into all the main prompt stuff (so I don't support conversations) per say and just cast everything as user content.

manifest = Manifest(
    client_name="openaichat",
)
manifest.run("test")


Album Art on mp3 file

Sorry if this isn't an issue but i have been searching days for a good mp3 downloader that could also put the album art of the song on the mp3 file. I always used soundflush to get songs from soundcloud and have their album art on it. However it suddenly stopped working and i have no alternatives.
I was hoping maybe you guys know if i can do the same with youtube-dl-gui.
This is how the mp3 files with art looked like.

Youtube-dl-gui works really well. I am looking forward to also use it for youtube songs if thumbnail art can also be added to the mp3 file.

This project is abandoned, you could one of the forks such as this one or this one.
In all cases you will need to install FFmpeg which does the actual file modifications. The second link can install FFmpeg for you automatically, if that's helpful.


✍ @Jessica's Blog

Hi and welcome to Content Lab! Here is a self paced guide to ensure you get feedback as you publish your technical blog.
Resources:

Previous workshop recording
Previous blog posts

Timeline:

📋 Dec 1st have an outline and open up issue
📰 Dec 8th have rough draft in

Mentor reviews by 12/15

[ ] Dec 15th-20th turn in final draft

📋 Blog Outline: Write your outline in the issue directly
Requirements
Questions to consider:

Who’s reading this? Where are they in your dev journey? What do they need to know before they can dive into this story?
If people could leave with just one action, what would it be?
Were there surprises or alternative problem solving you want to give a heads up to?

Sample Topics for your blog post

Creating tests for Stripe/Cicero/Twilio
Using Vuetify and V-cards
Debugging a PR test failure affecting entire codebase and creating an issue for it
System Design/Architecture design for caching capability
Implementing Text to Speech
Configuring secrets for APIs in codespaces
Building Actions for [security|community|CI| etc]

Example Outlines

What makes good documentation on open source?

Could this be a list? (3 pieces of documentation thats easy to check for and add to the project to add immediate value?
What inspired you from the Tech documentation workshop?
What would you help encourage other first time contributors to do?
Is a learning curve for everyone? And whats the balance between good documentation and too much documentation? Choice architecture
What is each space used for? Wiki vs Discussion vs Pages
How do we search and find?
Reference: https://blackgirlbytes.dev/conquering-the-fear-of-contributing-to-open-source
Reference issue/PR for photos
Conclusion: Documentation is always changing, will always be needed`

To Do: when you complete the requirements, add "outline ready" label on your issue

[ ] Identify your topic from one of the PRs approved
[ ] Outlining bullet points of blog roadmap
[ ] Is your blog a List, Survey, or demo?
[ ] Which Visuals or Diagram or Code snippets will you add
[ ] References to resources

📰 Blog Rough draft: Format into a google doc
Questions to answer across draft

Why is this helpful for a reader?
What problem does this help them solve?
What kind of experience should the reader have or that you will provide so they’re up to speed
What larger problem is this solving?
Were there other ways of solving this problem - what made you choose the one that you did?
What were the positive tradeoffs? (Did it save time? Save hours? Was more secure?)
What is the best way to present the content (i.e. code snippets, graphics) ?
What additional resources can they provide the reader if they want more information?
Is there a call to action?

To do: when you complete the requirements, add "draft ready" label on your issue

[ ] intro paragraph
[ ] context of Amplify
[ ] paragraph on problem
[ ] paragrph compare your solution
[ ] paragraph impact your solution
[ ] Less than 600 words
[ ] Drop link to your google doc (with permissions for edits) in review issue

Outline of Blog
Topic: Data Models
Title:  Before You Build a Database: Why Understanding Data Models is Key
Sections:

Data Model Overview

What are data models
Why are data models important

Understanding Data Model

Types of data models (Conceptual, Logical, Physical)
Core components of data models (entities, attributions, relationships)

Data Model in Action

Documenting Data Models

General Techniques
Applying to Amplify

Breakdown of the data models from the Amplify Project

Incorporating a data model into a database

Use my current working issue as an example on how its done - Data Model: AdvocacyGroupTypes
Testing & Iterations

How I test
Why iterations are important

Useful Optimization strategies - indexing, partitioning, etc.

Things to keep in Mind

Common Challenges (data redundancy, scalability)
Best practices (flexibility, version control)

Conclusion

Why it is important to have a solid understanding of data models
Data models is the backbone to ensure data in your project is stored and managed effectively

Blog: https://docs.google.com/document/d/1SjO3eulxmxBmmfDScjMXNZrln_VolrBiIjPmONCqTtU/edit?usp=sharing


Unable to verify secret hash

Hello,
we changed our cognito pool to support email or phonenumber as username, but now we get follwing error with the example app.
Thank you so much for your help!

Hi. I think you’re using a User pool client with a secret? Try one without a client secret. Does that help?

Was this resolved? Can the issue be closed?


Cloud lab

Everything that went into the cloud labs

Whoops - meant to create this on my fork ... apologies. closing


Bot Framework Emulator doesn't clear attachments

If you add an attachment to the chat (like an image), it will be resend with every next message you send. Attachment should be cleared after sending a message.

should be fixed in build 64 released today


Incorrect Virtual Machine Processors.

🐛 Workbook is showing incorrect information
I raised this issue earlier. My customer mentioned an issue with the Cost Optimization workbook showing AMD processors (A series) incorrectly as Intel processors. This discrepancy was noted while reviewing the workbook that categorizes CPU types. They highlighted that the report inaccurately labeled AMD A series processors as Intel, which was not the case. It looks like the workbook is updated and it is partially fixed.
AMD for Da series is updated in the table, but did not update on the graph:*

AMD for Ea series still shows as Intel.*
Cx pulled the table and here’s how the AMD SKU’s show:

👣 Repro steps
TODO: Add repro steps below:

Go to Azure Portal > Advisor > Workbooks > Cost Optimization Workbook
Click on Usage Optimization > scroll down to ProcessorType per VM

@naseemhira1196 I will ship the new release with this fix at the end of this month. Thank you for flagging it.


About sort problem in search results

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[x] Vim
[x] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

About sort problem in search results
search sample is here:
/h/h/dotfiles/gin  < 3/14
 > .gitignore
   .gitconfig
   .vim-plugin.vim

expected

file .vim-plugin.vim should be top

/h/h/dotfiles/gin  < 3/14
 > .vim-plugin.vim
   .gitignore
   .gitconfig

It's expected. fzf prefers characters at the beginnings of the words.
# fzf prefers `oh-oh` even though the matched substring is longer
> (echo 'foo'; echo 'oh-oh') | fzf -f oo
oh-oh
foo

Refer to the following links:

https://github.com/junegunn/fzf/issues/638
https://github.com/junegunn/fzf/blob/master/src/algo/algo.go#L39


Fail to install type-combinators in order to load model.hs

How to load https://github.com/mstksg/inCode/blob/master/code-samples/functional-models/model.hs in ghci?
When I load it. I get the following message
model.hs:31:1: error:
    Could not find module ‘Data.Type.Option’
    Perhaps you meant Data.Type.Util
    Use -v to see a list of the files searched for.
   |
31 | import           Data.Type.Option

When I install type-combinators by running "cabal install type-combinators". I get the following error
src/Type/Family/Nat.hs:65:1: error:
    • Illegal instance for closed family ‘==’
    • In the type instance declaration for ‘==’
   |
65 | type instance x == y = NatEq x y
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed to install type-combinators-<IP_ADDRESS>
cabal: Error: some packages failed to install:
type-combinators-<IP_ADDRESS>-Fh07Kc39xOV2fiSnegBCi4 failed during the building
phase. The exception was:
ExitFailure 1

Thank a lot

Ah yeah, this is because the current type-combinators on hackage is incompatible with the latest ghc.  The easiest way to load this into ghci would be to modify line 2 in the file.  I've modified the file slightly to provide an alternative stack script line that pops you into a ghc session instaed.  https://github.com/mstksg/inCode/blob/master/code-samples/functional-models/model.hs should have the new instructions! (on lines 4 and 5)
Let me know if this works :)

Thank a lot!
This works for me.

Glad it worked out! :D


No Get Sign Of Life keyword breaks DMI004.001 on APU

Device
APU2
RTE version
1.1.0
Affected component(s) or functionality
No response
Brief summary
No keyword with name 'Get Sign Of Life' found. Did you try using keyword 'RequestsLibrary.GET' and forgot to use enough whitespace between keyword and arguments?
How reproducible
No response
How to reproduce
robot -b command_log.txt -v snipeit:no -L TRACE -v rte_ip:<IP_ADDRESS> -v device_ip:<IP_ADDRESS> -v config:pcengines-apu2 -t DMI004.001* dasharo-compatibility/dmidecode.robot
Expected behavior
Test should pass.
Actual behavior
No keyword with name 'Get Sign Of Life' found. Did you try using keyword 'RequestsLibrary.GET' and forgot to use enough whitespace between keyword and arguments?
Link to screenshots or logs
command_log.txt
Additional context
No response
Solutions you've tried
No response

@PLangowski I propose we drop the RELEASE_DATE_FROM_SOL variable, along with the Firmware Release Date Verification From SOL keyword.

@macpijan ok, I'll do that


samples/subsys/usb/console: Console routed to UART of no USB

When testing samples/subsys/usb/console, "Hello World" is routed to UART console if USB console is not there.
I don't know if this is intended behavior, but this could be confusing when testing.

This totally caught me off guard as well a week ago when I was trying to get a usb shell working on stm32l4. We could maybe add a disclaimer in the README for this sample.

So what is the problem? Missing console?
Since we change console parameters to DTS we have to for every board include the same DTS overlay. Just copy existing overlay to your board name :)

Maybe if DTS magic does not include USB console we could issue #error so that user notice that he needs to enable it?


Do not use cudatoolkit from conda for building libcucim

When find_package(CUDAToolkit REQUIRED) is called, CUDA library path is determined by the location of libcudart.so.

https://gitlab.kitware.com/cmake/cmake/-/blob/v3.22.1/Modules/FindCUDAToolkit.cmake#L922
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.22.1/Modules/FindCUDAToolkit.cmake#L848
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.22.1/Modules/FindCUDAToolkit.cmake#L834
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.22.1/Modules/FindCUDAToolkit.cmake#L793

For https://github.com/rapidsai/cucim/pull/191 to be built, it needs CUDA::culibos (libculibos.a) which is a static library that will be needed to link a custom nvjpeg static library(libnvjpeg.a).
If cudatoolkit is set to host of libcucim's conda recipe, it cannot find CUDA::culibos component because conda's cudatoolkit (runtime libraries) takes precedence.
This patch removes cudatoolkit dependency for libcucim recipe so it can build the library without error.
Signed-off-by: Gigon Bae<EMAIL_ADDRESS>

Necessary change is merged in #191


[labs] Rationalize text editors

Phase 1

[x] Reconcile react-ui-editor TextEditor/MarkdownEditor
[x] Remove RichText
[x] Reconcile themes (set defaults).

Phase 2

[ ] Reconcile plugin-markdown components (and types)
[ ] Reconcile useTextModel (w/Dima)

[ ] Don't allow return undefined?

[ ] Replace with BlockNote plugin: https://github.com/dxos/dxos/pull/4908
[ ] Clean-up MarkdownPlugin (e.g., reconcile EditorMainStandalone vs EditorMainEmbedded)

PRs

https://github.com/dxos/dxos/pull/4920

@richburdon how eminent is phase 2? should we split it into a separate unscheduled issue and close this one out?