JVM configuration for heap size and garbage collection parameters

Since streamparse executes topologies as Java processes, I was wondering if it is possible to configure JVM parameters like initial and maximum heap size(I want to make garbage collection more aggressive to save on memory). A documentation of it with examples of Java configurations will be useful for all.

Hi @tanaysoni, streamparse already supports this by allowing you to pass Storm configuration options via your topology definition. I'll admit better documentation here is definitely needed but here's a quick example to get you over the hump.
A list of all Storm config options is available here but the options you're looking for are likely WORKER_CHILDOPTS, or TOPOLOGY_WORKER_CHILDOPTS.
From the docs, sounds as though TOPOLOGY_WORKER_CHILDOPTS is the one to use when submitting topologies and that WORKER_CHILDOPTS is probably best managed from your storm.yaml.
To set this param on a streamparse deploy, you can do something like:
> sparse submit -n my_topology -o worker.topology_worker_childopts "-Xms<size> -Xmx<size>"

Not 100% sure that worker.topology_worker_childopts will work, give it a shot and let me know.

I'm running into difficulty when using options that contain an '=' character. This is the command I'm running after trying several quoting variations...
sparse submit -n my-topology --option "'worker.childopts=\"-Xmx256m -XX:PermSize=64m -XX:MaxPermSize=256m -Xms64m\"'"
It looks like it's going into the lein command correctly (last line)...
Running lein command to submit topology to nimbus: lein run -m streamparse.commands.submit_topology/-main topologies/my-topology.clj --host vagrant-ist-01 --port 6627 --option 'topology.workers=2' --option 'topology.acker.executors=2' --option 'topology.python.path="/tmp/virtualenvs/my-topology/bin/python"' --option 'streamparse.log.path="/var/log/storm"' --option 'streamparse.log.max_bytes=1000000' --option 'streamparse.log.backup_count=10' --option 'streamparse.log.level="info"' --option 'worker.childopts="-Xmx256m -XX:PermSize=64m -XX:MaxPermSize=256m -Xms64m"'
But the storm submitter has mangled it at the '=' in the perm size parameter (last line):
2686 [main] INFO  b.s.StormSubmitter - Successfully uploaded topology jar to assigned location: /var/storm/nimbus/inbox/stormjar-8860275d-c760-4ba5-a562-a6d9430d80b1.jar 2687 [main] INFO  b.s.StormSubmitter - Submitting topology email-processor in distributed mode with conf {"storm.zookeeper.topology.auth.scheme":"digest","streamparse.log.backup_count":10,"storm.zookeeper.topology.auth.payload":"-6607125013727628424:-8189612296606544246","streamparse.log.path":"\/var\/log\/storm","topology.python.path":"\/tmp\/virtualenvs\/my-topology\/bin\/python","topology.debug":false,"nimbus.thrift.port":6627,"topology.max.spout.pending":5000,"nimbus.host":"vagrant-ist-01","topology.workers":2,"topology.acker.executors":2,"streamparse.log.max_bytes":1000000,"streamparse.log.level":"info","worker.childopts":"\"-Xmx256m -XX:PermSize","topology.message.timeout.secs":60}
Is there something I can do differently with escaping or quoting?


QF-2604 View an organization's active users

Clickup description:

under organization / change, add list of active users, if possible with number and identity of jobs triggered

Task linked: QF-2604 Show a list of the active users in the Organization Admin

I do no know how to pass data from the organization_projects_active_users custom field to the OrganizationFormActiveUsersWidget widget, and I don't know how to acquire the information.

@why-not-try-calmer the django admin looks nice! I would only ask if in the list view we just should the number of active users. I guess not filter is needed for now, if sorting works should be enough.

Split up into maintainable PRs


Show idp logo on PEP error message

This issue is imported from pivotal - Originaly created at May 26, 2017 by Thijs Kinkhorst
As an IdP I can configure authorization policies for my users, and configure a message that they get when rejected at the Policy Enforcement Point. For better recognition, I would like to see my IdP's logo near that message.
This should only be done for idp-specific rules.
We know the logo of an IdP from the wayf. Investigate whether this is relatively straightforward to add (do we know if the triggered rule was idp specific?). if so, add the logo. Otherwise, see how invasive it would be.

It wouldn\'t be very difficult to show the logo when the PEP grants no access to the service. To my knowledge, the response from the [PDP server](https://github.com/OpenConext/OpenConext-pdp/tree/master/pdp-server) does not provide specific information whether or not an idp-specific rule was applied or transgressed.

@okkeh, do you know if the server is capable of determining a rule was idp specific or not and is able to add this information in the response? (Michiel Kodde - Jun 28, 2017)

On the server this can be implemented but not without some changes. All the PDP policies are evaluated by an external library and the outcome is send to EB along with some context information like the error message. This required already some tinkering with the external library. Estimated effort to return to EB if the policy was IdP only is ~4 hours including tests, release and deployment. (Okke Harsta - Jun 28, 2017)

@thijskh In my opinion there are two possible solutions:

One is the solution @okkeh describes. Which will need some modifications on the PDP server from his part.
The other one is showing the logo when the PDP server returns a specific error message. This is not as accurate as the first solution and messages that did not actually originated at the idp might be decorated with the idp logo. This condition would trigger displaying the IdP logo

What do you think about these options? (Michiel Kodde - Jul 3, 2017)

I would advise to go for the first option.  (Okke Harsta - Jul 4, 2017)

The IdPOnly flag is wrapped in a AttributeAssignment (like the deny messages). See attached file. (Okke Harsta - Jul 4, 2017)

New PDP version on test2 installed that returns the extra IdPOnly flag. (Okke Harsta - Jul 5, 2017)

Thanks, @okkeh! (Michiel Kodde - Jul 5, 2017)

Excellent. So we have a go with that solution then. (Thijs Kinkhorst - Jul 5, 2017)

This is how the logo could be shown. Position can be changed. The size of the logo can be set in the SR.
(Michiel Kodde - Jul 5, 2017)


Training the models

Hi!
I am attempting to train the models on the data from scratch, and then testing and reproducing results. Is there a specific script/procedure I should run for training?

You can roughly follow the code here dataset_preprocess to prepare your data. It doesn’t need to be exactly the same, just make sure that the final file format is consistent with what I used for training (also, be mindful of the similarity threshold for enzyme sequences between the training, validation, and test sets). All the data preparation scripts are here, and you can modify them according to your needs.


Possible to add support for doas instead of sudo?

I installed a new Debian instance, and installed doas instead of sudo, some of the script runs, but nothing really works with out having sudo installed. Would it be possible to make it work with doas instead of sudo?

I'll think about it, but I feel it is unlikely to happen quickly. Is there a reason you don't want to install sudo?


Add reddit's onions

This works without any code changes because reddit has signed certs on their https://.onions.
Onion addresses retrieved from their official announcement:
https://old.reddit.com/r/redditsecurity/comments/yd6hqg/reddit_onion_service_launch/

I totally did not see another PR that does a similar thing but only adds the www .onion:
https://github.com/feather-wallet/feather/pull/53
Therefore I will leave this PR open.

Hey, I merged the other PR first. Would be happy to merge this one too. Could you rebase/edit your PR so the duplicate entry is removed?

Thanks


Add setter for Container Customizer on AbstractMessageChannelBinder

Based on suggestion in #2345, add a setter for Container Customizer and update documentation accordingly

@mattdupuy Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@mattdupuy Thank you for signing the Contributor License Agreement!

@mattdupuy Did you verify that these changes worked for your scenario? I wonder whether we need a test to verify.

@sobychacko It works with the use of reflection in the current version of the framework, as mentioned in issue #2345, so adding the setter will allow me to remove the reflection and have the expected behavior.
If you have an idea of a test to add, let me know.

Ok, sounds good. Since it is only a setter change, I think we can merge it without the test.

Merged upstream. Thanks for the PR!


DBZ-8175 Include jackson module deps: afterburner, jaxb-annotations, scala_2.13

https://issues.redhat.com/browse/DBZ-8175

@Naros Thanks for the PR. Upon firther investigation it is clear that another orute is needed - please see https://issues.redhat.com/browse/DBZ-8175?focusedId=25562384&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-25562384


Add an @inline direction in client-preset to unmask actual GraphQL fragments

Is your feature request related to a problem? Please describe.
A user may have prior-existing fragments, or want to use fragments, that are not 1:1 directly associated with a specific component. For example:
fragment User {
  id
  name
  ...
}

query {
  user(...) {
    ...User
  }
}

With the current fragment masking in client-preset, these fragments are assumed to be components, which will then fail to work.
Describe the solution you'd like
My suggestion is to mirror how Relay is designed, with an @inline or @relay(mask: false) directive. This directive indicates that a fragment is not a component's fragment and allows intermixing of actual fragments with component fragments:
query {
  user(...) {
     ...UserAvatar_User
     ...User @inline
  }
}

this will expand the User fragment, but continue to mask the UserAvatar_User fragment (which might itself want to expand the User fragment)
Describe alternatives you've considered
One alternative is to simply suggest that fragments themselves are an antipattern because repeated GraphQL entire objects should be abstracted to a component. I think this is an unrealistic approach, especially when considering transitioning onto fragment masking from an existing codebase.
Is your feature request related to a problem? Please describe.
No response

I believe it could be related to https://github.com/dotansimha/graphql-code-generator/issues/9075, which describes an incremental adoption of fragment masking via a type utility to unmask a fragment.
Unmasking specific fragments via a directive is an option I like, and I wasn't thinking about!
Regarding the alternative mentioned, I do believe that it is an anti-pattern to create a single fragment shared across many containers, but I also recognize the fact that, in some particular cases, this would be super useful.

@charpeni I think this is tangential, but if I'm not mistaken it has to be defined at the directive level (or at least, not at the Typescript level) to resolve this problem. This is because the fragment problem here is caused at the point of codegen, so we never get up to the point of Typescript at all to begin with.
My reading of #9075 is that an existing working codebase will need dramatic updates to update to fragment masking because you need to write every mask at once in order for it to work; the codegen works, but then each component isn't actually getting the props it thought it would
Though these could be consolidated by suggesting that the migrating user adds @inline to every fragment and then slowly removes them 🤷

This would also solve sharing a fragment between query and mutation (https://github.com/dotansimha/graphql-code-generator/discussions/9325) and also for cache updates (especially new additions where a fragment is needed)


Research on extending procedural city generator to export streets / graph edges

pcg doesn't seem to provide any information about streets. It only uses the vertices and checks for neighbours and the next "front" of vertices based on the parameters specified on the configuration file. There doesn't seem to be an easy way to include the concept of streets


[Placeholder] fix: restrict parity-scale-codec to <3.6.7

Workaround for https://github.com/paritytech/parity-scale-codec/issues/520
Don't merge unless upstream fix never appears
Motivation
Solution
PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

closing in favor of #320 and #313


Added missing content type for requestJSONEncodable task

Fixes #1406

          2 Warnings

:warning:
Any changes to library code should be reflected in the Changelog. Please consider adding a note there and adhere to the Changelog Guidelines.

:warning:
The library files were changed, but the tests remained unmodified. Consider updating or adding to the tests to match the library changes.

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #1410 into master will decrease coverage by 1.99%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master    #1410    +/-   ##
========================================
- Coverage   88.41%   86.42%    -2%
========================================
  Files           5       24    +19
  Lines         164      788   +624
========================================
+ Hits          145      681   +536
- Misses         19      107    +88

Impacted Files
Coverage Δ

Sources/Moya/URLRequest+Encoding.swift
87.5% <100%> (ø)

Sources/Moya/Moya+Alamofire.swift
82.6% <0%> (ø)

Sources/Moya/URL+Moya.swift
100% <0%> (ø)

Sources/Moya/MultipartFormData.swift
55% <0%> (ø)

Sources/Moya/Plugins/AccessTokenPlugin.swift
100% <0%> (ø)

Sources/Moya/Plugin.swift
75% <0%> (ø)

Sources/Moya/MoyaProvider.swift
81.53% <0%> (ø)

Sources/Moya/Plugins/NetworkLoggerPlugin.swift
91.8% <0%> (ø)

Sources/Moya/AnyEncodable.swift
100% <0%> (ø)

Sources/Moya/TargetType.swift
100% <0%> (ø)

... and 10 more

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 4a7451f...2aa1d6b. Read the comment docs.

Changelog and tests are updated.

Hey @Vict0rS - I think some other tests were impacted by this change. See here. Can you check if everything works fine locally?

It seems like there are some network connection inconsistencies. When I run tests locally they appear to pass or fail at random. The failing test requires to upload image in 5 seconds so definitely looks like network connection inconsistency.

I experience the same issue when running tests in version from master, so it doesn't seem like my fault. I guess we either need to increase wait time for this test or rerun tests a couple of times until they pass.

You are right @Vict0rS, both tests that were failing are not your fault, I've created an issue for this one as well (#1424).

Thanks a lot for contributing to Moya! I've invited you to join the Moya GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines and feel free to reach out with any questions.

Was happy to help :)


Merge dev into master

I worked in a new branch to avoid the messing around with master, and am merging that into dev.

Hi, @pvanderknyff! Thanks for opening this PR!

In the file tdvt/test/tdvt_test.py:

Line 629:1: W293 blank line contains whitespace
Line 579:1: W293 blank line contains whitespace

For reference: Error Code Reference, PEP8, Python code style


Split query review

Right now it's just query review <name> [<version>]
query
  review
    all
    of <name> [<version>]

I'm not sure about the of, but something should be there, so we can have in the future query review trusted etc.

Hmmmm... it could be --trusted ... Maybe this shouldn't be doe ...


ENH: Add CI Checks for CPU builds + GPU test

Adds Github Actions continuous integration:

cxx project builds on Windows, MacOS, Linux CPU-only environments and passes KWStyle and Doxygen style tests
Python module wheels build on Windows, MacOS, Linux CPU-only environments
cxx project builds and all tests succeed on Linux GPU environment in AWS EC2 cloud, spun up with Cirun.io

Thank you @StRigaud !!
For reference, those build warnings were coming from the Ninja build system + MSVC C/C++ compiler. I'll loop you in next time issues appear 😃

@dzenanz Do you know where I could confirm this? 3.6 sources are still being packaged in the Windows tarball.

Was able to temporarily work around castxml linking errors by copying headers from _deps/clic-src, _deps/thirdparty, and OpenCL-ICD-Loader to ITKCLEsperanto/includes.
Another error arose from .a shared libraries but was resolved by adding -fPIC to CMake CXX compiler options:

[ 95%] Linking CXX shared module /home/tom/builds/ITK/Wrapping/Generators/Python/itk/_CLEsperantoPython.so
/usr/bin/ld: /home/tom/builds/ITK/lib/libCLIc.a(clesperanto.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVN3cle24MaximumOfAllPixelsKernelE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Wrapping/Modules/CLEsperanto/CMakeFiles/CLEsperantoPython.dir/build.make:289: /home/tom/builds/ITK/Wrapping/Generators/Python/itk/_CLEsperantoPython.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:3367: Wrapping/Modules/CLEsperanto/CMakeFiles/CLEsperantoPython.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

With these changes the Python build succeeded on Linux.

Thanks @thewtex . Setting CLEsperanto_INCLUDE_DIRS works, but I had to add additional subdirectories to resolve pathing issues. Is there a better way to recursively include header directories for an ITK module?
Local build is completing successfully, if Python CI is green I will squash and mark ready for review.

Interestingly, Windows Python CI is passing but Linux Python CI fails as position independent code is not build for CLIc despite being enabled (and also passing locally on Linux):

2021-10-12T20:11:26.4522256Z -- CMAKE_POSITION_INDEPENDENT_CODE IS ON
2021-10-12T20:12:57.8447903Z FAILED: ../../../ITK-cp38-cp38-manylinux2014_x64/Wrapping/Generators/Python/itk/_CLEsperantoPython.so
2021-10-12T20:12:57.8577160Z : && /opt/rh/devtoolset-10/root/usr/bin/g++ -fPIC -O3 -DNDEBUG -flto -fno-fat-lto-objects   -shared  -o ../../../ITK-cp38-cp38-manylinux2014_x64/Wrapping/Generators/Python/itk/_CLEsperantoPython.so Wrapping/Modules/CLEsperanto/CMakeFiles/CLEsperantoPython.dir/CLEsperantoPython.cpp.o Wrapping/Modules/CLEsperanto/CMakeFiles/CLEsperantoPython.dir/itkMinimalStandardRandomVariateGeneratorPython.cpp.o
...
2021-10-12T20:12:57.8657560Z /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: _deps/clci-build/clic/libCLIc.a(clesperanto.cpp.o): relocation R_X86_64_32 against symbol `__pthread_key_create@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
...
2021-10-12T20:12:57.8998742Z /opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: _deps/clci-build/clic/libCLIc.a(cleCloseIndexGapsInLabelMapKernel.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
2021-10-12T20:12:57.9000720Z collect2: error: ld returned 1 exit status

Checks are green 💚


Is Vuejs working ?

Hi,
I got confused about VueJs support, There are some commands in cli but there is not documentation in your website and i'm not sure about it's usage and maximum laravel version.

Laravel version: 5.6
Php: 7.2.3
When i used infyom:vuejs --fromTable users command, i got the following error

  at /srv/http/AnzimServer/vendor/infyomlabs/laravel-generator/src/Generators/VueJs/ControllerGenerator.php:39
    35|         $i = 0;
    36|         $filter = '';
    37|         $searchableCount = 0;
    38|         foreach ($fields as $field) {
  > 39|             if ($field['searchable']) {
    40|                 $searchableCount++;
    41|             }
    42|         }
    43|         foreach ($fields as $field) {

Same problem.

@JafarAkhondali @yswtrue @dhsont #375 merged. Can you test it and check if it's working or not. Re-open it if the problem persists.

Dupliate: #531


Set wheel zoom as the active scroll tool on scatterplot

Fixes #102

Coverage remained the same at 67.893% when pulling 7362a3844c4812ac77ee4ec45629e6bea1c4cc1f on jni:wheel-zoom into d980e878cd3780f6b513ded5f7e998711b2faab0 on microscopium:master.


Move TagHelperDescriptorProvider out of legacy

It's the primary API to determine what are TagHelpers. We even use it in the TagHelperFactsService..

This needs to be redesigned, and is already tracked elsewhere

Not happening for preview 1

There's no real tooling impact of this change, since tooling now uses a service to get tag helpers

https://github.com/aspnet/Razor/issues/1289


_chpharos_os: command not found

root@ubuntu-s-1vcpu-1gb-ams3-01:~# source /usr/local/share/chpharos/chpharos.sh
_chpharos_os: command not found

Happens on first load because functions are defined after their usage.


feat: add support for reading crl files

Introduce new flag -read-crl to read crl files
Usage:
certify -read-crl ca-crl.pem

Codecov Report

Merging #14 (6dd59c6) into master (bf64611) will increase coverage by 0.24%.
The diff coverage is 74.32%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   72.20%   72.45%   +0.24%
==========================================
  Files           7        7
  Lines         842      915      +73
==========================================
+ Hits          608      663      +55
- Misses        188      201      +13
- Partials       46       51       +5

Files Changed
Coverage Δ

cmd/certify/helper.go
83.29% <0.00%> (-1.04%)
:arrow_down:

cmd/certify/main.go
54.94% <12.50%> (-4.10%)
:arrow_down:

cmd/certify/command.go
71.91% <84.21%> (+1.83%)
:arrow_up:

crl.go
78.57% <90.90%> (+17.70%)
:arrow_up:

certify.go
87.28% <100.00%> (+0.92%)
:arrow_up:


Improve VNA data analysis

Improve impedance output:

Improve formatting for output impedance values
Fix output csv files

Fix VNA summary plots:

Fix frequency plot... cannot see data due to axis limits
Fix axis limits
Fix labels
Fix grid major/minor emphasis

Issue addressed in this PR: https://github.com/ku-cms/eLink_Instrumentation/pull/38
Completed all tasks except this one:

Fix output csv files

Completed the last item (fix output csv files) in this PR: https://github.com/ku-cms/eLink_Instrumentation/pull/39


Add: Full mouse support for rnvimr

I hope this makes easier for you to test the feature. Unless you wanna add an option to enable/disable mouse support (which shouldn't really be necessary), that should be all.

Thanks!


[4.14] OCPBUGS-25384: psa cluster fleet evaluation

Backport of: https://github.com/openshift/cluster-kube-apiserver-operator/pull/1588
Cherry-pick not working as it contains a bumped library-go for release 4.14.
What
Add Cluster Fleet Evaluation for Pod Security admission to release 4.14
Why
We want to evaluate how many namespaces are violating across clusters that send telemetry.

/label backport-risk-assessed
/approve

Also double adding it from QE side:
/label cherry-pick-approved

@ibihim You need a OCPBUGS jira for this until someone can add the jira/valid-bug label here.

/jira refresh

/jira refresh

@ibihim For backport, the PR needs a bug jira (AKA OCPBUGS), not a story.

/jira refresh

/jira refresh

/jira refresh

FYI @wangke19 , @xingxingxia worked already on it.


Fix missing VERSION file when installing via setup.py

Fixes #92

Moves the VERSION file into the dowhy package
Updates the path to this file in setup.py, dowhy/__init__.py, and MANIFEST.in
Update setup.py to include the VERSION file in the package

I initially was going to rename the VERSION file to __version__ and include that way (therefore you can just import it), but I figured this might not be what others want, so I figured I would keep things as close to the original intent as I could.

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

To be honest I am not sure if there even needs to be an entry in MANIFEST.in for VERSION

Thanks @Lnk2past This is excellent! Yeah, I think it's probably not needed now in MANIFEST, but let's keep it like this to verify if the issue is resolved.


Update deprecated ::shadow selector

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor::shadow .ecfg-wrap-guide => atom-text-editor.editor .ecfg-wrap-guide

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Thank you @vinkla 💝 - will release this as soon as possible.


Introduce TARGET fallbacks in CMake

X86(-64) targets for cross-compilation are likely to be for a simulator/testing and not a production environment. Regardless, we do not know information about the target yet, so choose a default of core2/penryn.

I am not sure if this premise is correct, and I expect the performance hit from using old kernels on new hardware would be much more noticable than on ARM. Perhaps just expanding the error message with a hint on exactly how to specify the TARGET to cmake would be better ?

Well that's why I originally left it empty because we cannot work out what hardware it will be targeting automatically.

Maybe I am confused, but isn't the hunter ticket you linked to about cross-compiling from (whatever) to ARMV8 anyway ? And your emulator target scenario may be likely when the cross-compiler name suggests an Android NDK or the IOS equivalent coupled with x86 hardware (but I am not sure it would make sense to try to parse all that in the cmake file), but less so for general Linux/Windows cross builds.

No there is no issue on arm cause we can just target v8 or v7 and done.
It's when you cross compile to, for example, iOS x86-64 simulator.

If it is iOS and x86, it had to be the simulator.
Android is a bit more tricky.

X86 default is overly modern. While good for current 32bit windows (which you really dont simulate test much), modern 32bit linux would base at pentium or pentimpro (no MMX)

As stated above I am not convinced we would want a fallback for x86 at all, where both the variety of targets and the loss of performance from choosing a lowest common denominator would be much greater than on other the other supported architectures.

Indeed. Better to bail out early and get cpuid via bug report

As I understand it this is about cross-compiling where there is no chance to autodetect the target platform, so it would be "tell them how to name their target to cmake" with no need for a bug report or cpuid.

How about if we detect iOS and x86_64, we use a sane default? They likely won't care about performance so much for simulator.

I disagree with statement about minimal specification in emulator. Look no further than qemu and intel SDE.
If you know the reasonable default for iOS please feel free to share.


Simplify nextjs example

Splitting example into streaming and unary example
Simplify message sending via form submit

I was going to say let's change to the connectrpc paths here, but let's just merge this and then we can update them all in one PR (#777).


Enable admin manager to edit admin users

Trello ticket: https://trello.com/c/j1jx6KkX/154-allow-super-admin-edit-admin-roles
Prototype screenshots: https://docs.google.com/document/d/1MjvYx9aQWgcbryiaGrRLOPt_lVm8gIbqOH3vmkKx_fo/edit#heading=h.qdo4oz9trpdq
Screenshots of the real thing:

@karlchillmaid All good?

@constancecerf
Yep. Looks good.


suse: fix port URL detection for aarch64

Fix port URL detection for aarch64, and error out if an unknown
architecture is detected.
Fixes: #215

lgtm
/test

cc @Pennyzct @Weichen81

/test

I required /test here and it looks like that we didn't deploy arm CI under kata-containers/osbuilder repo?

You are right @Pennyzct, there are no ARM tests here.
/cc @chavafg

There's something broken in the Fedora installation:
/tmp/jenkins/workspace/kata-containers-osbuilder-fedora-PR/go/src/github.com/kata-containers/tests/.ci/static-checks.sh: line 157: make: command not found
Build step 'Execute shell' marked build as failure

@chavafg - another CI oddity today:
/tmp/jenkins/workspace/kata-containers-osbuilder-fedora-PR/go/src/github.com/kata-containers/tests/.ci/static-checks.sh: line 157: make: command not found

Same problem with the Fedora CI on #218.

@jodh-intel This is the first time I see it here (when testing PRs), but I have actually seen this issue a lot in the job that runs the changes to the master branch. I'll open an issue to investigate this, but honestly not sure why this happens, I even tried adding a dnf install make at the beginning of the job and seems that it is not solving the issue.
e.g.
http://jenkins.katacontainers.io/job/kata-containers-osbuilder-fedora-master/48/console


[1.9.4] Crash when tnt explode

Hi,
the server crash when TNT push another TNT outside the map.
Crash report : http://pastebin.com/SDwuJw2t

Closed with https://github.com/SpongePowered/SpongeCommon/commit/7c5399a16e96ae63f3fc81c84efb310a7282f825


Added mask handling to recursive filter.

Mark noticed that we are not handling masked data correctly. The mask fill values were being recursively filtered and dominating the output. When using the nbhood CLI with an external mask the recursive filter smeared values into the masked region and the re-mask option was not being employed to tidy up at the end.
The plugin changes are:

zero masked data before applying the recursive filter, where this may be the mask embedded in the input cube or an external mask.
add a re-mask option that will take the mask (regardless of the source) and re-apply it after the recursive filter has been applied.

Testing:

[x] Ran tests and they passed OK
[ ] Added new tests for the new feature(s) - Needs to be done

Incorporated into Mark's PR: https://github.com/metoppv/improver/pull/356


serialiseCompiledCode should be type constrained

Summary
serialiseCompiledCode :: forall a. CompiledCode a -> SerialisedScript
takes any a and turns it into a SerialisedScript.
It would be better for the users to constrain this to:
CompiledCode (BuiltinData -> BuiltinData -> BuiltinData ->() ) -> SerialisedScript for V1,V2
and
CompiledCode (BuiltinData -> BuiltinUnit) -> SerialisedScript for V1,V2
for V3.
This needs versioning the SerialisedScript module in the plutus-ledger-api. Also optionally provide an unsafeSerialiseCompiledCode version that behaves with any a
Steps to reproduce the behavior
No response
Actual Result
No response
Expected Result
No response
Describe the approach you would take to fix this
No response
System info
No response

I believe this is a UX issue and not a bug, hence I'm changing the label.


Replace temporary lowering of Wasm's load_splat with a new Cranelift instruction

What is the feature or code improvement you would like to do in Cranelift?
In bytecodealliance/cranelift#1347 I added a temporary lowering for Wasm's load_splat to two Cranelift instructions, load + splat. This generates extra instructions that could be removed by a specialized Cranelift load_splat instruction or by smarter codegen (e.g. complex addressing on splat).
What is the value of adding this in Cranelift?
Fewer instructions produced.
Do you have an implementation plan, and/or ideas for data structures or algorithms to use?
Seeking feedback on which way to proceed: specialized load_splat or smarter codegen.
Have you considered alternative implementations? If so, how are they better or worse than your proposal?
See above.

Having a specialized load_splat Cranelift instruction would be beneficial for the AArch64 backend (so that it could generate LD1R instructions). I tried the alternative approach quickly, i.e. smarter codegen, which in the AArch64 case means using maybe_input_insn(), but it didn't work (I was getting None as the return value) - the reason was probably because the load might have side effects.

Let's do that then; in the past, it's always been ok to create Cranelift instructions that map exactly to Wasm SIMD instructions so that seems like a good path forward. If you add it (somewhere in meta/src/shared/instructions.rs) feel free to tag me and I'll review it.

I'd be interested in having a wider discussion; in particular, @cfallin might have a different opinion with respect to the AArch64 backend.

I think it's a reasonably pragmatic solution to have the dedicated instruction; it reduces work overall in the pipeline if we can carry the whole package of operations together as one unit from Wasm to machine code.
There's a possible concern if we have a lot of these; it's certainly nice to only have to worry about literal "load" and "store" instructions when analyzing loads and stores. But perhaps we get around that by having accessors on the instruction ("this inst is a load of some form, with address X and size Y"). Or, in the worst case, the instruction is a black-box with unknown side-effects from the point of view of other optimization passes, so it inhibits some optimization but is still correct.
@akirilov-arm, the reason that your (quite reasonable!) approach attempting to merge the ops in the backend didn't work is indeed because load is side-effecting, so will never be returned by maybe_input_insn(). This prevents the backend from arbitrarily sinking a side-effecting op, which could lead to a miscompile (consider if the load-splat were sunk past a store to an aliasing pointer, for example). The "correct" thing to do is to hoist the splat instead and then merge, but the framework isn't really set up to allow that.


examples/jaeger-tracing and examples/zipkin-tracing protobuf Bootstrap has unknown fields

$ cd examples/jaeger-tracing

$ docker-compose pull

$ docker-compose build -d
...
front-envoy_1  | [2020-04-25 23:00:48.737][6][critical][main] [source/server/server.cc:94] error initializing configuration '/etc/front-envoy.yaml': Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:(tracing) provider: Cannot find field.) has unknown fields
front-envoy_1  | [2020-04-25 23:00:48.737][6][info][main] [source/server/server.cc:602] exiting
front-envoy_1  | Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:(tracing) provider: Cannot find field.) has unknown fields

Same for "jaeger-native-tracing" example.
front-envoy_1  | [2020-04-25 23:17:06.614][10][critical][main] [source/server/server.cc:94] error initializing configuration '/etc/front-envoy.yaml': Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:(tracing) provider: Cannot find field.) has unknown fields
front-envoy_1  | [2020-04-25 23:17:06.614][10][info][main] [source/server/server.cc:602] exiting
front-envoy_1  | Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:(tracing) provider: Cannot find field.) has unknown fields
jaeger-native-tracing_front-envoy_1 exited with code 1

@cmiller-sq I have tested Jaeger-tracing and Zipkin-tracing. it's working for me. Here,  you need to remove all previous pulled images regarding envoy.

Well, I can' reproduce it now. Sorry for noise.


Not setting NODE_ENV to production.

Hey,
I have a project which is deployed to GAE and is using this image as base, but i want to deploy a dev version of this app.
I've created a simple app-dev.yaml file, which looks like this:
service: dev-api
runtime: custom
vm: true
threadsafe: false

env_variables:
  NODE_ENV: development

But it isn't picked up by Dockerfile, is there any way to work around this?

Interesting - we'll do some testing to figure out why this isn't working.  In the meantime - can you try setting the env var via your Dockerfile?  Try adding this:
ENV NODE_ENV production

My guess is that we have a bug with the interaction between env vars set by Flex and env vars set in the base dockerfile.

Thanks @JustinBeckwith for the answer.
I think we are talking about 2 issues now,

is setting NODE_ENV in Dockerfile (rewrite any value it has from app.yaml file)

Not propagating any values from app.yaml file. The first issue is probably blocked by this too. I tried all the other ARG commands, but nothing helped. Example:

app.yaml
runtime: custom
vm: true

env_variables:
  MY_VAR: test

Dockerfile
FROM gcr.io/google_appengine/nodejs

# not in a list
RUN export

# empty
RUN echo ${MY_VAR}

Also, your workaround can't work in case I am having 2 app-production.yaml and app-development.yaml files and deploy accordingly.
Setting environment in Dockerfile doesn't help me (I can't have multiple Dockerfiles).

@hhhonzik Is there a specific reason why you are using runtime: custom. If you use runtime: nodejs, your NODE_ENV env. var. should get respected.
app-development.yaml
runtime: nodejs
vm: true
env_variables:
  NODE_ENV: development

Can you give this a try? We will independently investigate why the NODE_ENV environment variable doesn't get picked up with runtime: custom.

Hey @ofrobots, unfortunately, we need to use runtime: custom because our node.js application uses imagemagick and some private git modules (so i need to install SSH keys before running npm install)
I've decided I'll wait until this issue is resolved and keep my code on GCE for now.

@hhhonzik Would you be able to describe your workflow a bit more? Are you running the docker images locally inside docker, or are you deploying the app-*.yaml file to AppEngine and not seeing the environment variable take effect?
When I deploy applications to AppEngine, I do see the environment variables from app-*.yaml take effect. Here's my setup:
app-debug.yaml:
runtime: custom
vm: true
env_variables:
  NODE_ENV: development

index.js:
var express = require('express');
var app = express();
app.get('/', function (req, res) {
  res.send('NODE_ENV is ' + process.env.NODE_ENV + '\n');
});
app.listen(process.env.PORT || 8080, function () {
  console.log('Example app listening');
});

$ gcloud app deploy app-debug.yaml
...

$ curl https://${my-project-name}.appspot.com
NODE_ENV is development

$ gcloud app deploy app-production.yaml
...

$ curl https://${my-project-name}.appspot.com
NODE_ENV is production

The env_variables mechanism should allow you to set the NODE_ENV value to appropriate value. Feel free to re-open if this doesn't work for you.
Oh, btw, the default Node.js image for AppEngine now includes imagemagick by default in case that helps you decide :smile:.

Hi,
I've been trying to pass env_variables from the app.yaml with cutom runtime to the dockerFile  and the value I read for it is empty, any advice ?
23:48:19 env_variables:
23:48:19   JETTY_ARGS: -Djava.util.logging.config.file=WEB-INF/flex.logging.properties
23:48:19   NODE_NAME: sre-testing-metricbeat

However, when i try to read its value i see it empty:
23:50:46 [INFO] GCLOUD: Step 14/21 : RUN echo "__________________ $NODE_NAME ____________"
23:50:46 [INFO] GCLOUD:  ---> Running in 41737ae048df
23:50:46 [INFO] GCLOUD: __________________  ____________


Adds tileOffset param to Phaser.Tilemaps.Tilemap#addTilesetImage

This PR

Adds a new feature
Fixes a bug

Describe the changes below:
Currently addTilesetImage cannot set the tileOffset which means that changing the tileOffset requires you to update each tile after the Tileset is created.
This PR passes the tileOffset through to the Tileset constructor in Phaser.Tilemaps.Tilemap#addTilesetImage

👍


[Feature] [helper]-[LinePath]?

What problem does this feature solve?
src/chart/helper/LinePath.ts
What does the proposed API look like?
0

无实体元素


chore: add Pull Request Template

Added a pull request template.
Use to guide contributors to fill PR descriptions and make life a little easier for reviewers.

@jalajcodes i have already 12 hours ago, raised an issue for this, also updated my PR branch for the same. waiting for the mentor to assign me the task.
please raise an issue before  raising a PR. and abide by the Contributions guide

I request you to work on a new issue and do not spam other's Task. please close the PR ASAP
Thanks. :)
@jalajcodes

@jalajcodes, #24 Already raised an issue.

#36

Already reviewing https://github.com/react-native-elements/playground/pull/36


Add Lodi theme

https://github.com/xaviablaza/hugo-lodi-theme

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: pollend:x: xaviablazaYou have signed the CLA already but the status is still pending? Let us recheck it.

Hello Xavi,
thank you for sharing this awesome looking theme with us. Your theme should be listed soon on our themes site.
Furthermore, I'll promote your theme on Hugo's official Twitter account.


createRequire is not a function

Without any Atom update, suddenly every time I try to save a file, Atom error panes occur. With safe mode everything is fine.
Prerequisites
[] Reproduced the problem in Safe Mode: <https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode>
[x] Followed all applicable steps in the debugging guide: <https://flight-manual.atom.io/hacking-atom/sections/debugging/>
[*] Checked the FAQs on the message board for common solutions: <https://discuss.atom.io/c/faq>
[*] Checked that your issue isn't already filed: <https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom>
[*] Checked that there is not already an Atom package that provides the described functionality: <https://atom.io/packages>

Versions
Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.45.0
python 2.7.17
git 2.17.1

Community Packages (5) /home/sayem/.atom/packages
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Looks like an issue with prettier
https://github.com/prettier/prettier-atom/issues/725

For those who may land here like me.
The real problem is that createRequire have only been introduced in Node 12.2.0 and current Electron version in Atom stable version is using Node 10. Prettier fixed it by giving away the API for now but I'm facing same issue with eslint-plugin-vue 6.2.2.
Hopefully, Atom Beta 1.47 have switched to Electron 5 wich relies on Node 12. Running my package in Atom beta solves this issue and I look forward 1.47 stable release 😉


Fixed scaling issues for both Android and Ios

Taken from this PR - https://github.com/sbycrosz/react-native-credit-card-input/pull/103

Thanks @Noitidart. @ebellumat please follow up with this when you have time.


Support Koboldcpp

Hi, could be possible to support koboldcpp? It is faster and loads more models than lm studio and has a better compatibility with linux.
In fact, it connects using the lm studio option and writing the koboldcpp address, but responses on the chat get truncated at the first or second word, in the koboldcpp terminal the response is fully generated.

If it helps the implementation, using the lmstudio config, the koboldcpp terminal gives this response when sending a prompt:
Processing Prompt [BLAS] (509 / 509 tokens) Generating (10 / 100 tokens) (EOS token triggered!) ContextLimit: 519/2048, Processing:11.37s (22.3ms/T), Generation:1.19s (118.9ms/T), Total:12.56s (0.80T/s) Output: Hello! How can I help you today?

I couldn’t connect to kobaldcpp, I thought support for such a convenient backend would be built in right away
How can I connect?

https://petstore.swagger.io/?url=https://lite.koboldai.net/kobold_api.json
koboldcpp api ref

If its OpenAI Compatible, cant the Generic OpenAI connector (last LLM connector) work here?

@shatfield4

For some reason it’s not working for me again, I just downloaded a new version of AnythingLLM.
Kobaldcpp Version 1.65
Doesn't let me select a model, there's an empty window. Apparently something has disappeared again.

Then this likely is because whatever you have put in as the baseURL is not correct. Does http://localhost:5001/v1/models even return data in the browser?
cc @shatfield4

Yes, the browser opens the link http://localhost:5001/v1/models
I also pull out the value in Python using the API.
Should the base url be "http://localhost:5001/v1"?
This path is written in the tooltip.

Yes, the browser opens the link http://localhost:5001/v1/models I also pull out the value in Python using the API. Should the base url be "http://localhost:5001/v1"? This path is written in the tooltip.

Exact same issue for me. Koboldcpp has a few different api options and none of them are loading with AnythingLLM. But other clients, including koboldai, koboldlite, SillyTavern can all use it without issue.

Exact same issue for me. Koboldcpp has a few different api options and none of them are loading with AnythingLLM. But other clients, including koboldai, koboldlite, SillyTavern can all use it without issue.

У меня получилось обойти эту проблему так: вместо http://localhost:5001/v1 поставил http://<IP_ADDRESS>/v1 и все заработало


INFRASTRUCTURE_FACTORY vs PERSISTENCE_MODULE problems

During an exploratory test
    os.environ['INFRASTRUCTURE_FACTORY'] = 'eventsourcing_sqlalchemy.factory:Factory'
    os.environ["SQLALCHEMY_URL"] = "sqlite:///wtf.sqlite3"

and running a demo application as described in the readme, we see a wtf.sqlite3 DB file created correctly while
    os.environ["PERSISTENCE_MODULE"] = "eventsourcing_sqlalchemy"
    os.environ["SQLALCHEMY_URL"] = "sqlite:///wtf.sqlite3"

does not cause the same effect.
Any ideas what could be the root cause?
Also we noticed that
    os.environ["PERSISTENCE_MODULE"] = "any_random_string"

does not make the application crash, while changes to INFRASTRUCTURE_FACTORY are validated right away.

Thanks for raising this! I will look into it now...

The difference is the PERSISTENCE_MODULE name will supported in the next release of the eventsourcing library (v9.2) but this hasn't yet been released. A new version of this package will be released that includes this change soon. The README file on the main branch of this repo represents the new unreleased version. The stable versions of these packages don't support this setting, and the docs for these stable versions don't mention this setting. See:

https://github.com/pyeventsourcing/eventsourcing/tree/9.1
https://github.com/pyeventsourcing/eventsourcing-sqlalchemy/tree/0.1
https://pypi.org/project/eventsourcing-sqlalchemy/0.1.1/
https://eventsourcing.readthedocs.io/en/v9.1.9/topics/application.html#configuring-persistence

The new versions will be released very soon!

Thanks for clarifying that. I think the readme on the main branch should be something one can trust to work with, specially given the fact that it is the only source of documentation for eventsourcing_sqlalchemy. I would recommend that unreleased changes should be on a separate branch, but it is matter of taste. This took me a while to figure out and we wouldn't want people trying the package out to be mislead.
Thanks again!

Yes, I appreciate this view. It used to be that I generally had the 'main' branch as the stable branch, with a dev branch that had unreleased changes. But it seems more common these days for the main branch to be the "latest" and then to have release branches which are effectively the stable branches. But I don't have any data about which is actually more common. I'm sorry for the misdirection. Thanks again for raising this issue, and also for your interest in this package. If you have any need for further assistance, or have any other questions or issues, please don't hesitate to raise them. Good luck!

Thanks @johnbywater , I think it's my sqlalchemy version issue, you can close this issue.


Update to new rbac client

Description

updates to new rbac client
reorders packages in package.json

@Hyperkid123

Codecov Report

Merging #165 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
- Coverage   82.33%   82.29%   -0.05%
==========================================
  Files          86       86
  Lines         821      819       -2
  Branches       68       68
==========================================
- Hits          676      674       -2
  Misses        131      131
  Partials       14       14

Impacted Files
Coverage Δ

src/helpers/shared/user-login.js
88.46% <100%> (-0.83%)
:arrow_down:

Continue to review full report at Codecov.

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


std -> core

Use the core crate when possible, in preparation for no_std mode.
See #603 and #409

How does the use io; works?

How does the use io; works?

It just grabs the io module from the crate root, which is in turn is just use std::io for this PR.  This is in preparation to the core2 follow-on in #603.  I put it in this PR just because it was also an easy to review import change and it will keep #603 smaller.

oh right, can you maybe replace that with use crate::io so it will be more obvious? (and compatible with edition 2018)

Rust 1.29 doesn't support that syntax


[BUG] Refactor unnecessary dependency on TestGeoShapeFieldMapperPlugin tests

Describe the bug
The comment for this class says it all:
https://github.com/opensearch-project/OpenSearch/blob/ac322595eb1838b68e4d9a46cf97cbe56b811aed/test/framework/src/main/java/org/opensearch/test/TestGeoShapeFieldMapperPlugin.java#L44-L47
The issue seems to be that if the testing class extends AbstractQueryTestCase then no matter if the functionality has to do anything with geo-shape or not the test will fail if TestGeoShapeFieldMapperPlugin plugin is not included as well.
There are many examples in existing code where the plugin is just arbitrary included to mitigate this error.
Typical symptom of this problem is that getPlugins() method implementation looks like this:
    @Override
    protected Collection<Class<? extends Plugin>> getPlugins() {
        return Arrays.asList(Important_Plugin_XYZ.class, TestGeoShapeFieldMapperPlugin.class);
    }

Otherwise the following exception is thrown:
Failed to parse mapping [_doc]: No handler for type [geo_shape] declared on field [mapped_geo_shape]
MapperParsingException[Failed to parse mapping [_doc]: No handler for type [geo_shape] declared on field [mapped_geo_shape]]; nested: MapperParsingException[No handler for type [geo_shape] declared on field [mapped_geo_shape]];
	at app//org.opensearch.index.mapper.MapperService.internalMerge(MapperService.java:441)
	at app//org.opensearch.index.mapper.MapperService.merge(MapperService.java:417)
	at app//org.opensearch.test.AbstractBuilderTestCase$ServiceHolder.<init>(AbstractBuilderTestCase.java:437)
	at app//org.opensearch.test.AbstractBuilderTestCase.lambda$beforeTest$0(AbstractBuilderTestCase.java:258)
...

It is confusing and figuring out why this exception was thrown may require detailed code debugging. It is not obvious.

@vamshin  can you respond to this issue? Thanks

Removed bug label as this is a test refactor scenario and not affecting features.

@vamshin  removing untriaged label for this issue since you already triaged it. feel free to add the label if you think otherwise. Thanks


Add support for creating custom fields and case templates

Added API endpoints and corresponding models to create custom fields and case templates through TheHive API

Added delete_case function

Thanks @aurelienhess for this PR.

This PR will work only for TheHive 3, since the /apì/list/* is not available in TheHive 4.


Automated cherry pick of #2555: Handle iptables-restore failures correctly in NPL

Cherry pick of #2555 on release-1.2.
#2555: Handle iptables-restore failures correctly in NPL
For details on the cherry pick process, see the cherry pick requests page.

Codecov Report

Merging #2575 (a83d550) into release-1.2 (65d836a) will decrease coverage by 17.63%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release-1.2    #2575       +/-   ##
================================================
- Coverage        59.99%   42.35%   -17.64%
================================================
  Files              284      146      -138
  Lines            22297    18228     -4069
================================================
- Hits             13376     7720     -5656
- Misses            7489     9811     +2322
+ Partials          1432      697      -735

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.35% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


template validation

This request is a feature enhancement. Template installation may fail as described in issue #540 .
Installing a template like this fails if elasticsearch does'nt use http.bind = ["<IP_ADDRESS>", ...]
elasticsearch::template{'template-name':
        content=> template('template-file.erb'),
}

The problem is, that puppet marks the template as installed in some internal state and won't fix it in a second run with proper host settings. (unless the template checksum has changed because it's content has changed)
To fix it, we have to use ensure => 'absent' first before the template will be installed again.
elasticsearch::template{'template-name':
        content=> template('template-file.erb'),
        ensure => 'absent'
        #ensure => 'present',
        host => 'localhost6',
        #host => 'ip6-localhost',
}

My suggestion would be to always make an 'GET _template/template-name' request to validate if a template was properly installed in elasticsearch.

I'm planning to write a custom type & provider for this part as the current implementation is indeed fragile and fails in so many different ways.
Now i have more experience with it after writing the plugin type & provider it should be easier to do this for the other components.

Tracking it via https://github.com/elastic/puppet-elasticsearch/issues/548

Fully-featured native type and provider for elasticsearch::template implemented in #663, should be in the next release. 👍


Add help tooltip for Expression Score and % of Cells

Based on feedback from our first round of testing of CellGuide, we were asked to include a help tooltip for the definition of Expressions Score and % of Cells to help users understand that these columns of data represent.
Why - Expression scores and cell percentages can be complex metrics that require additional explanation to understand their meaning and significance. By incorporating tooltips, cell biologists can hover over or click on these metrics to access explanatory pop-up windows that provide detailed definitions, guidelines, or examples.
Tooltips also promote consistency and avoid confusion by providing standardized explanations, ensuring that researchers have a clear understanding of how to interpret and utilize these metrics in their studies.
User Stories:

As a user, I want the tooltip to provide clear definitions of expression scores and the percentage of cells, using language that is easily understandable to cell biologists of varying expertise levels.
As a user, I want the tooltip to offer guidance on how to interpret different ranges or values of expression scores and percentages. This includes explaining what high or low values may indicate, as well as any specific thresholds or benchmarks that users should be aware of.
As a user, the tooltip should be visually distinct and easily distinguishable from other elements in the user interface. They should have a consistent and recognizable appearance with the rest of the cellxgene product suite.

UX Design
Notes:

We use three SDS Tooltip variants: Dark, Condensed, and Table.
The dark-style Tooltip should be used for communicating information about the interface or system to the user. For example, Help tooltips like this issue.
TooltipCondensed and TooltipTable should be used for communication additional information about the data that are being displayed, depending on the amount/complexity of the information. For example, the overflow Tag in the Data table or the citation links, or hovering over the dot plot in Gene Expression

Text for expression score:
The expression score is the average rankit-normalized gene expression among cells in the cell type that have non-zero values.
Text for % of Cells:
Percentage of cells expressing a gene in the cell type. These numbers are calculated after cells with low coverage and low expression values have been filtered out.
Requires @niknak33 's approval :D

Approved - thank you Team.
On Tue, Jun 13, 2023 at 6:59 AM atarashansky @.***>
wrote:

Text for expression score:
The expression score is the average rankit-normalized gene expression
https://cellxgene.cziscience.com/docs/04__Analyze Public Data/4_2__Gene Expression Documentation/4_2_3__Gene Expression Data Processing
among cells in the cell type that have non-zero values.
Text for % of Cells:
Percentage of cells expressing a gene in the cell type. These numbers are
calculated after cells with low coverage and low expression values
https://cellxgene.cziscience.com/docs/04__Analyze Public Data/4_2__Gene Expression Documentation/4_2_3__Gene Expression Data Processing
have been filtered out.
Requires @niknak33 https://github.com/niknak33 's approval :D
—
Reply to this email directly, view it on GitHub
https://github.com/chanzuckerberg/single-cell-data-portal/issues/4932#issuecomment-1589375469,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2S5ZBDFTTG5XLZIKJJRJP3XLBW4FANCNFSM6AAAAAAYXSMQMY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Number lose precision after numberFormatter

Hi,
There is input element where user can enter number. Each time when input element  is loosing focus numberParser and numberFormatter (minimumIntegerDigits = 1, minimumFractionDigits = 0, maximumFractionDigits = 10) methods are called.
If enter<PHONE_NUMBER>2345,123 I get<PHONE_NUMBER>2345,121.
If enter<PHONE_NUMBER>2345,121 I get<PHONE_NUMBER>2345,12.
If enter<PHONE_NUMBER>2345,123 and two times click out and in input element (without manual editing of value) the value will change.
Is there any way to fix this?
Thanks

This is a tough one, which is related to the JavaScript capabilities. Details in https://github.com/globalizejs/globalize/issues/167#issuecomment-45002958
Closing as won't fix.


Pylance's auto-completion does not work properly in Jupyter

Environment data

Pylance version: v2024.8.1
OS and version: Ubuntu 22.04.3 LTS - Linux 6.2.0-26-generic
Python version (& distribution if applicable, e.g. Anaconda): Python 3.10.12

Code Snippet

import polars as pl
pl.Series()
pl.ser

Repro Steps

At first, when I write pl.ser in Jupyter-Notebook, Pylance's auto-completion works as expected, but when I try again, the memory usage goes up to 2.4GB, and the following error occurs.

 I was able to repro this issue. We'll take a look.

This looks to be caused by the docstring parsing. Infinite recursion found in the fixer.

This issue has been fixed in prerelease version 2024.8.103, which we've just released. You can find the changelog here: CHANGELOG.md


[Feature] Web support

Checklist

[X] I have read the relevant SDK documentation and have not found a suitable solution.
[X] I agree to the terms within the SAP Code of Conduct.

Describe the problem you'd like to have solved.
This package support Android & iOS
Describe the ideal solution.
Web support is asked by one of my clients : the ideal solution will be to use this package.
Alternatives or workarounds
I will implement through pigeon or js-interop the web sdk.
https://pub.dev/packages/pigeon
https://dart.dev/interop/js-interop
Additional context
No response

Duplicate of https://github.com/SAP/gigya-flutter-plugin/pull/69


[FEATURE REQUEST] Support installation on external media

I will install Asahi on my soon to arrive MacBook Pro. I would love to be able to semi install it to an external drive by installing the stub macOS, mini and u-boot loaders internally and actually using an USB (or SD) media for the actually Asahi Installation. This would be especially useful as apples storage prices come in at a premium. If this would be considered as being a desirable thing to be implemented I'd be very glad. This way I also would have a grab and go linux which would be amazing. Till then keep on the insanely great work! Kudos!
Best, Rastafabisch

Until USB/SD support is solid (particularly across suspend/resume) this isn't really practical, since having your root filesystem disappear randomly isn't exactly a good thing. This is desirable, but it will probably be a while until we get to it since fixing driver issues is a more pressing concern.

Might be worth hinting that https://davidalger.com/posts/fedora-asahi-remix-on-apple-silicon-with-luks-encryption/ has a part "Creating a Fedora USB Recovery Drive" which might cover some use cases. I used this to boot from, to encrypt the "real" installation. It's also reasonably fast when a USB3 connected NVMe enclosure is used instead of a slow usb-stick.


Work with OCM-UI router v6 ugprade

After making these changes it works with the react-router-dom v6 upgrade on OCM-UI (gitlab MR here)
// In OCM-UI:
import { Route } from 'react-router-dom'; // V6
import { UILibRoutes as AssistedInstallerRoutes } from '@openshift-assisted/ui-lib/ocm';
import useChrome from '@redhat-cloud-services/frontend-components/useChrome';

const { chromeHistory } = useChrome();

<Route
          path="/assisted-installer/*"
          element={
            <AssistedInstallerRoutes
              // this is a required prop, why?
              allEnabledFeatures={{}}
              history={chromeHistory}
              basename="/openshift"
            />
          }
        />

Note: I have not tested these changes outside of OCM-UI
Note 2: I've released these changes to npm to temporarily test this out and enable review of OCM-UI MR

Closing in favour of https://github.com/openshift-assisted/assisted-installer-ui/pull/2655.


Trying to get notes from localhost throws 403

Though I am logged in as a valid user, I can neither get nor create notes from localhost. I keep getting 403 { missing authorization token}. Can someone help with this?
Getting this error response
User: arn:aws:sts::abjkdbfjadfafd:assumed-role/notes-app-api-dev-CognitoAuthRole-hajfhdjkfhdf/CognitoIdentityCredentials is not authorized to perform: execute-api:Invoke on resource: arn:aws:execute-api:us-east-1:********7995:1nfaldncc5/dev/GET/notes

This looks like it is related to the Cognito Identity Pool permissions. Can you try double checking that step or redoing it?


AlertController: possibility to add  in message parameter

When createing an AlertController object:
let alert = this.alertController.create({
   title: "My title",
   message: 'Some message'
});

it would be great if we could add an ion-icon in the message, like this:
let alert = this.alertCtrl.create({
    title: this.translate.instant("tos.title"),
    message: '<ion-icon name="add-circle"></ion-icon>some text'
});

the ion-icon is removed (not rendered). First I thought the framework was removing html markup, but html standard tags (h1, h2, p, etc...) are not.

Also Toast can have icons, maybe some thing like
let toast = this.toastCtrl.create({
              message:'message',
              icon : "information"
            });

or may be the approach  like OP

👍 +1... this should be a really nice to have!

Hello everyone! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to driftyco/ionic-feature-requests#173

The place you moved it to is not available anymore. Any chance to see the progress or get some indication of the very rough expected timeline?

Any news?

+1

+1

please open this issue, your link not working @jgw96

+1

+1

+1

Is it possible to apply icons in alert controller inside button ?

+1

+1


⚠ Bofrost.de has degraded performance

In a4dfa68, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1776 ms

Resolved: Bofrost.de performance has improved in f3fdb0a.


Update user guide: Unicode characters for ATBD/Reference titles

Description
Based on feedback from a user on October 10, 2022.
Titles of scientific papers often have superscript, subscript and other unique characters. Right now, this is a plain text field. For both the ATBD title and the reference title, users need the ability to enter super- and sub-scripts so that scientific paper titles are accurately presented in the reference section.
Tasks:

[ ] Add to the user guide that unicode characters may be needed

Acceptance Criteria

[ ] User guide updated to describe the potential need to add unicode characters

Closing for now.  See #586


import on wordpress

Hello and thank you for your work, is it possible to use this tailwind built in wordpress? I installed tailwind on wp but i don't know how to import the project.
Thank you

Thank you for your reply, I took the liberty of asking this because I saw on the web that it is possible to make tailwind work in wordpress via tailpress for example.

Is it possible to convert it to pure HTML so that it can be used in Django?


Update config option for openstack block storage

node-volume-attach-limit for cinder added in the last cycle, updating the doc for the same
https://github.com/kubernetes/kubernetes/pull/74542

cc @dims @gnufied

/approve
/lgtm

/lgtm
/approve


Change default max heap size to 1/4 of physical memory

Proposal
Change the default max heap size from 25GiB to 1/4 of physical memory.
Use case
25GiB is an abnormally large amount of memory: a MacBook Pro comes with 8GiB standard and can be upgrade to a maximum of 16GiB.  Java defaults to 1/4 of physical memory and I can't think of a good argument against following Java's defaults.
Subjective Reasoning
Anecdotally, this setting is causing performance issues and hurting adoption.  I tried using Flow for a project and it immediately froze my machine.  Memory issues are a common gripe, both in the bug tickets an in articles on switching from Flow to TS (1, 2).  I'm guessing that the amount of physically available means that analyzing a large file will result in a frozen machine instead of a memory error.

Related with this, I think server.max_workers option should default to available_cores - 1. Jest uses a similar strategy: https://jestjs.io/docs/en/cli#maxworkers-num-string

/cc @mroch

relatedly,  i've thrown around the idea of an /etc/flowconfig file that governs machine-specific settings like this. a sensible default might be 1/4 or nprocs-1, but a CI  machine should dedicate far more resources than a laptop, even with the same flowconfig.

I'd prefer having some automatic defaults like jest does.
From jest docs:

Alias: -w. Specifies the maximum number of workers the worker-pool will spawn for running tests. In single run mode, this defaults to the number of the cores available on your machine minus one for the main thread. In watch mode, this defaults to half of the available cores on your machine to ensure Jest is unobtrusive and does not grind your machine to a halt. It may be useful to adjust this in resource limited environments like CIs but the defaults should be adequate for most use-cases.
For environments with variable CPUs available, you can use percentage based configuration: --maxWorkers=50%

Flow can use a different strategy if working in lazy=ide mode for example, like jest does in watch mode. Flow could also autodetect if running in CI environment and apply different defaults there.

sure, the defaults can be whatever. I'm thinking about how you override them. a CLI flag is a no-brainer. but to your example, server.max_workers being in a project's .flowconfig doesn't really make sense because that project can run on many kinds of machines. right now everything in flowconfig has the same meaning no matter where you run it, so I'd be hesitant to change anything in it to be machine specific.
rather than do that, I think it shouldn't be part of .flowconfig at all. so where should it go? I propose a machine-wide/user-wide /etc/flowconfig and ~/.flowconfig.

I see.
In my opinion, If you're going to have different available settings in those files (/etc/flowconfig, ~/.flowconfig), I'd use a different name for the files.
Also, not sure how easy it would be (or even posible), but could VSCode flow extension pass this kind of config to flow server? VSCode settings can be system-wide, per user, or per project.

but to your example, server.max_workers being in a project's .flowconfig doesn't really make sense because that project can run on many kinds of machines. right now everything in flowconfig has the same meaning no matter where you run it, so I'd be hesitant to change anything in it to be machine specific.

The problem you are surfacing is really that of configuration vs code.  You can switch to an executable config format, add different settings for different modes, or override using the CLI.  Is there some sort of environmental variable you could attach specific settings to?
Also, perhaps that discussion should be moved to another thread?


Weights of PReLU cannot be initialized

PReLU has weights and therefore it should be possible to initialize them when creating a new layer. (In the same way like in the "Dense" layer via the weights parameter).

In this case the zero initialization means that the initial behavior of the PReLU is that of a regular ReLU. It is unclear if a non-zero initialization would be at all helpful (the theory behind initialization schemes in dense/conv layers is entirely based on the fact that the weights are used in matrix multiplications, which is not the case for the PReLU weights).
So what are some benchmarks and arguments?

Re-reading your post, it seems it is about weight setting via a saved weight matrix, rather than weight initialization. Agreed that we need to be able to save / load weights in PReLU.

Added to master.


Git aliases broken with recent update to git plugin

I just updated to 599831b85a5fd4564ab820530e2bb45f37ca3f99 and it broke my existing git aliases :( https://github.com/danielbachhuber/dotfiles/commit/69391606d6ceaa817ebd6d29511336594fff150f
Can I disable the aliases added by the git plugin

Hi, and thanks for reporting.
Can you be more precise on what is bothering you?
Is it the gpu alias? Does it conflict with something?

Can you be more precise on what is bothering you?

gpu (https://github.com/robbyrussell/oh-my-zsh/blob/599831b85a5fd4564ab820530e2bb45f37ca3f99/plugins/git/git.plugin.zsh#L175) became aliased before my own gpu alias, so I had to unalias gpu.

Regarding your configuration over at https://github.com/danielbachhuber/dotfiles/commit/69391606d6ceaa817ebd6d29511336594fff150f, you don't need the unalias gpu since you are redefining the gpu alias afterwards. Your problem was that you were sourcing the aliases file before omz, when it is necessary to do any user config afterwards. So, the relevant part in your commit was that you moved the sourcing, the unalias gpu was unnecessary.
Given that, and that other people use the default gpu alias, we'll leave it there and you don't need to worry about it breaking your setup now.


OnNavigatedToAsync not called on Resume

I'm on Template<IP_ADDRESS>-preview-160509 (just updated), and I finally reached a state in my app in which I need to care about suspension/resume.
I've been messing with lifecycle events inside Visual Studio, and I noticed that something isn't going as I expect.
What happens is that OnNavigatedFromAsync is called upon suspension, but hitting Resume doesn't fire OnNavigatedToAsync, meaning that I can't restore my state.
Now, I don't know if this is intended behavior or not, but if it's intended then how am I supposed to do stuff after Restore? Because I'm doing time-related things with a DispatcherTimer and I need to reset it after restoring from suspension.

Are you suspend and terminate? if you just suspend, then typically your app would stay in memory, so would just resume and continue with the current state, rather than having to restore the state. Try suspend then terminate, then restart the app to see if it restores.

Suspend and terminate works, but it's a different case from mine.
I'll try to give a better explanation: I have a running DispatcherTimer in my ViewModel, and this decreases a value which is critical for the app.
What happens is that on Suspend the timer stops to tick and on Resume it just restarts from the value that it had before suspension, meaning that the timer won't see that time has passed.
If the OnNavigatedToAsync is not called after Resume event, I can't restart the timer and this messes up a lot. On the other hand, if OnNavigatedToAsync is called even after Resume event, I can reset the timer and let it start again from the updated timestamp, so that my data won't be invalidated.
Example:

var Value = 80;
tick -> Value = Value-1; (79)
tick -> Value = Value-1; (78)
Suspend
Resume after 5 seconds
tick -> Value = Value-1; (77) <-- this should have been 72 instead!

So, basically, on Suspend the app still stays in memory but the timer stops ticking, and not having a way to reset the timer after Resume breaks my app.
I hope that the question is a little bit more clear now.

So this isn't a problem with T10. If an application is resumed from suspension without being terminated the app doesn't navigate, so that method won't be called. It is up to the app developer to cater for that scenario.
Without understanding your scenario, it is hard to know why you are using timer and a counter. Rather than having an integer count down the number of seconds, use time and act relative to that.
Of course, you could also subscribe to the application Resuming event if you have other things you need to do.
        private DispatcherTimer _timer;
        private DateTime _stopTime;

        public MainPageViewModel()
        {
            if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
            {
                Value = "Designtime value";
            }

            _timer = new DispatcherTimer { Interval = TimeSpan.FromSeconds(1) };
            _timer.Tick += _timer_Tick;
            _stopTime = DateTime.Now + TimeSpan.FromSeconds(80);
            _timer.Start();
        }

        private void _timer_Tick(object sender, object e)
        {
            var seconds = (_stopTime - DateTime.Now).TotalSeconds;
            Value = seconds.ToString("N0");
            if (seconds <= 0)
            {
                Value = "Out of time!";
                _timer.Stop();
            }
        }

        string _Value = "Gas";
        public string Value { get { return _Value; } set { Set(ref _Value, value); } }

        public override async Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary<string, object> suspensionState)
        {
            if (suspensionState.Any())
            {
                Value = suspensionState[nameof(Value)]?.ToString();
            }
            App.Current.Resuming += Current_Resuming;
            await Task.CompletedTask;
        }

        private void Current_Resuming(object sender, object e)
        {
            // Do other things here!!!
        }

        public override async Task OnNavigatedFromAsync(IDictionary<string, object> suspensionState, bool suspending)
        {
            if (suspending)
            {
                suspensionState[nameof(Value)] = Value;
            }
            else
            {
                // we are just navigating away so unsubscribe
                App.Current.Resuming -= Current_Resuming;
            }
            await Task.CompletedTask;
        }

Very good solution.

Template10 handling of suspend / resume is terrible.
Ditching the platform as soon as possible.

Wow if it's so terrible as you claim, help fix it instead of coming here and posting that or tell us what is terrible so we can be fix it


Moving layers or UI elements in GIMP causes Hyprland to crash

Problem:
Consistently upon attempting to moving a layer or it seems like any UI element in GIMP, Hyprland instantly crashes without fail
Upon crashing my TTY contains this message:
/usr/include/c++/12.2.1/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = double]: Assertion '!(__hi < __lo)' failed. Gdk-Message: 09:20:40.257: Error reading events from display: Broken pipe Gdk-Message: 09:20:40.257: Error reading events from display: Broken pipe (EE) failed to read Wayland events: Connection reset by peer zsh: IOT instruction (core dumped)  Hyprland gimp: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Hyprland Version: 24.1-1
Bug Replication:

Open any GIMP file/create a new one
Attempt to move a layer/UI element
Hyprland core dumps

Logs:
error.log
error_cleanconfig.log
The first is using my normal config and the second using the Hyprland example config
Other Testing:
Tested both the native Arch GIMP package gimp-2.10.34-1 and the flatpak org.gimp.GIMP 2.10.34 and the problem occurs
Tested on Sway (wlroots) Awesome (X11) and problem cannot be replicated, does not seem to be an issue with GIMP itself

does not seem to happen to me, on -git.
Can you share the crash report? (~/.hyprland/ if XDG_CACHE_HOME is not set, $XDG_CACHE_HOME/hyprland/ if set)

The problem only recently started happening somewhere between updating from 23.0.0 beta and the current stable version
hyprlandCrashReport16938.txt

fixed with c86f06caa0be207882266947da67125177bba5af


Show terminal errors in the browser

Description
Is there a way to show the terminal such as:
17 Oct 07:55:01 - error: Compiling of app/meh.jsx failed. SyntaxError: app/meh.jsx: Unexpected token, expected , (14:0)

in the browser instead of in the terminal? I.e. in an overlay or something.
If not, I'd like to write a plugin for it but I'm not sure where to "catch" those errors?
Thanks

No.

@paulmillr Would you be ok to add some plugin API for that? I've tried some stuff with create-react-app lately, and the behaviour described by @phzbox is really convenient.

Sure thing.
Is this a basic built-in feature in CRA?

Is this a basic built-in feature in CRA?

Yap, this is basically what you've got during a build error

I don't think Brunch should do the heavy lifting, just allow to overrides in some way it's logger, the rest is up to a plugin.

is there any progress or ways to accomplish this in brunch ?

Hey @fatcop. We have not yet started to implement this. It requires exposing new methods to plugins. API design is the thing I would like not to rush. Please 👍 on original post so I can prioritize this.


Karma not opening browser on aws ec2 instance

I am installing Karma for angular js unit testing. I can successfully installed it on my localhost and can run it without any issue.
But I have to do the same for AWS EC2 instance. I can install karma there as well but when I am running karma it is showing message
 Karma v0.13.2 server started at http://localhost:9880/

21 07 2015 05:58:08.623:INFO [launcher]: Starting browser Firefox
But not opening browser to debug neither showing any error or message.
I am feeling very upset with this. I have installed, uninstalled so many times but not getting rid of this.
Please please help me.
Thank

What os are you using? What way do you use to connect to aws? How did you install Firefox?

Closing due to inactivity. Please reopen when you have more details.


Fixes #12 and Fixes #14

Trying to end the test immediately when any of the pings succeed
Status
READY
Breaking Changes
NO
Description
This turned out to be a one keyword change, removing an await so far. I have 6 AWS EC2 IP address for connection test in my app, and some of them started to act up. This caused me 10 seconds default delay. By removing the await there's no more wait. I tried to test the counter case: I put my phone into airplane mode and then the data check determines no connection. So it seems I'm not breaking any functionality.
The IPv6 address addition is based on https://github.com/komapeb/data_connection_checker/issues/13#issuecomment-732534075.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

I'm including a fix to #14 as well.

@MrCsabaToth Thanks for your contribution.


Improve modrinth description for better results when searching

oopsies accidentally hit enter, gimme a sec to type out the description lol


Why does android application is not supported for Xiomi Redmi Y2 mobile phone

Avoid duplicates

[ ] Question is not already answered in the FAQ
[ ] Question is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[ ] Question has not already been asked in another issue

Your Question

Source File:
Line(s):
Question:

Which Android version are you using and do you have Google Play services installed?

Google Play services, Yes I have installed.
Android version 9 PKQ1.181203.001

I just realized this application is not available worldwide. It is only for Germany. So I can not download It.
Actually I wanted to scan the barcode given by corona test center to determine the results of covid-19 test.

Hello @rebelgiri,
the Corona-Warn app currently is available in multiple European countries. Please check out the FAQ: https://www.coronawarn.app/en/faq/#international.
You should be able to switch to one of these PlayStores to be able to download the application.
Thanks,
LMM
Corona-Warn-App Open Source Team

The problem is Google Play Store allows to change region only once in a year.

@rebelgiri which country are you currently using?
If its not yet supported, you can create an entry in the wishlist repo for your country or upvote an existing one: https://github.com/corona-warn-app/cwa-backlog/issues/9#issuecomment-648745301

@rebelgiri you can also grab recent APK and sideload it: https://www.apkmirror.com/apk/robert-koch-institut/corona-warn-app/corona-warn-app-1-1-1-release/corona-warn-app-1-1-1-android-apk-download/
Note that it won't update automatically, and as soon as CWA is released in your Play Store country you should uninstall it and install from Play Store, but for now I guess using it like this is better than not using at all.

Thank you all for your support, I will close this issue as resolved. I am using APK for now as suggested by @kbobrowski.
@daimpi  Yes I will upvote it.


Online University Management System

The online University Management System Project In Java is a completely useful Java project which incorporates data about schools, colleges, and schools overall. It was made for the college and its partnered establishments to lead, screen, and dissect confounded exercises like brought together affirmation, unified assessments, and considerably more.

We are Closing this pr  pls reopen pr with sub module


Broken image in README

First-time caller and long-time listener. I wanted to mention there is a broken image in your README.

Thanks for flagging @robbyrussell! Long-time user of ohmyzsh here, thanks for everything you’re doing there 👋
The image has been fixed, and I’ve learned two unexpected things through this issue:

Some browsers display the alt text upon encountering a broken image (that’s great!)
GitHub apparently changed the way it handles paste-in-textarea uploads. If I remember correctly, doing so used to give a URL on the main github assets subdomain (user-images.githubusercontent.com)—and that URL was shareable publicly, independently of which repository it was created in. I grabbed the URL from the previous image on a random issue textarea from one of our private repos, and it returned a URL looking like https://github.com/orbit-love/<a-private-repo>/assets/<id>. I didn’t give it much thought, but it turns out that this URL is private. So while I (and my colleages) saw the image, the rest of the world didn’t. Looks like I’ll have to pay attention how I generate these URLs from now on!

Fixed in https://github.com/orbit-love/orbit-browser-extension/commit/ca4123f0c7505407337948c36df79c59ac6ec853 🙌


1.6.1 hotfix

the following fixes included:

when a a view controller that is deep nested under some exotic view hierarchy (e.g., react native component view) presents a view controller w/ hero transition and modalPresentationStyle set to overFullScreen (or formSheet or automatic for regular height size class) in which case the presenting view controller's view will not removed from the view hierarchy but instead shown beneath the presented view controller, and then dismiss the presented view controller, the presenting view controller's view leaks.
when a view controller (denoted as A), which is presented with modalPresentationStyle set to overFullScreen (or formSheet or automatic for regular height size class), itself presents another fullScreen (or formSheet or automatic for compact height size class) view controller (denoted as B) w/ hero transition enabled. After the presented view controller B is dismissed, the view controller A's frame will be changed to be full screen, what's worse, cannot be dismissed by using pan gesture.

Hey @nn1900, thank you this awesome hotfix.
It looks like a fix for well known issue https://github.com/HeroTransitions/Hero/issues/644
Please consider creating this pull request to original repository.

Sure. I have created the pull request https://github.com/HeroTransitions/Hero/pull/730. Thanks.


Fixed a lint warning due to code scoping.

Pylint reported first_commit and second_commit were being used when they
were defined in the for loop. Whilst this is valid Python 2/3, it is
better to avoid this. I have collapsed the code into the for loop as it
has the same logic in the end.
I mentioned this in #208.

Yep, after looking through my fix, I realise it is not logically equivalent. I will push a new one soon.


Remove unnecessary console.logs

Remove unnecessary console.logs from client side and sevrer side code.

Hi, can I work on this issue?

yes @jan-opala

Hi, can I work on this issue?


Can I have the Adguard version bad IPs list? thx

You only need to add $network at the end ^^''
like this: <IP_ADDRESS> --> <IP_ADDRESS>$network
How to create your own ad filters | AdGuard Knowledgebase:
https://kb.adguard.com/zh/general/how-to-create-your-own-ad-filters#network-modifier
thx ^^
Adguard got a router version, windows software version and browser version BTW~
and I think it will very be useful for Ad blocker user to ban those bad IPs ^^

ipsum.txt is as dumb as it gets. You can modify it to whatever form you need
IMO ipsum is not meant to be used as Adguard list. Those IPs are causing more problems as active attackers from the outside, than serving some ads/pua or similar


Add debug to upgrade to track down why the global.cfg isn't persisting

Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>damnit, the tests pass.

perfect example of the way we use qemu causing the drone box to fall over - same tests run twice - one succeeds.


javascript find the eigenvectors of a matrix

Why:

Closes #3178
What's being changed:
added javascript find the eigenvectors of a matrix

Why:
Closes https://github.com/codinasion/program/issues/5273
What's being changed:
added csharp find the inverse of a


Figure out URL and folder structure for API versioning

Background
Part of https://github.com/Qiskit/documentation/issues/77. We need historical versions for the API docs, like Qiskit 0.24 vs 0.25. Distinct versions will be for minor releases, but not patch releases like 0.24.1.
The non-API docs do not have versioning per-API. Instead, https://github.com/Qiskit/documentation/issues/133 tracks how we will indicate in non-API docs their version compatibility. This ticket is focused on API docs.
Relationship to translations
API docs have not ever been historically translated and we don't plan to in the future, per @SooluThomas.
So, while the folder structure we use for translations (https://github.com/Qiskit/docs/issues/7) is relevant, it's somewhat orthogonal.
Plan
/api/qiskit/<version>/, e.g. /api/qiskit/0.25/circuit
This URL scheme corresponds to the folder structure, that we'll have a folder api/qiskit/0.25 etc. That folder will be self-contained, e.g. with its own _toc.json. When in the frontend the user changes the currently selected version, we'll switch to rendering that folder.
Cross-references
We need to update cross-references for stable version folders so that they all link to files in the same version folder, i.e. 0.25 files all cross-link to 0.25 files.
This will be automated by our API generation script.
Keep un-versioned API
We'll also continue having an un-versioned "latest" URL, like /api/qiskit/circuit, so that people can link to latest.
When generating the API docs for the "latest", it will update both the stable folder and the unstable folders so that they're in sync.
None of our API pages start with a number—which would be a violation of Python naming rules—so we shouldn't have a clash between the version folder and the unversioned docs.
Non-API docs will link to the un-versioned docs in most cases, other than specific edge cases like how qiskit.algorithms is being deleted, so the Algorithms migration guide must link to the historical file.

@axelhzf thought through how best to integrate this with the web app. Each folder, including the top-level one for current, will have a _package.json file, similar to _toc.json. it will simply be this:
{
  "name": "qiskit",
  "version": "0.25.0"
}

Folder structure:
qiskit
├── 0.24.0
│   ├── _package.json
│   ├── _toc.json
│   └── ...  // content files for this version
├── _package.json
├── _toc.json
└── ... // content files for the latest version

He got this working in the web app (thank you!). So all that remains is in this repository improving the generation script to add these folders and the _package.json files, tracked by https://github.com/Qiskit/documentation/issues/77


[BUG] 3.3 Upromise error with edits created on plots created with plot wizard

Scope
Editing a piece of plot created by the plot wizard produces a upromise error.
To Reproduce

Create a plot with the plot wizard.
Edit a piece of the newly formed SC manually on the adventure or act page using the edit buttons.
Observe the lack of edit holding in both the modal and in YAML
Upromise error may or may not show up now.
Upromise error will absolutely show up if obsidian is reloaded or restarted. Furthermore, the modal will fail to load the YAML data.
After reload, the updated information you attempted to edit in step 2 will show up in the YAML.

Expected behaviour
I expected to be able to edit individual pieces of the plot to correct a typo on my end.


Fix problems with Halon notifications

Created by: qnikst
This commit includes solutions for a several tasks:

HALON-228
HALON-224
CASTOR-1406 and related

Closing as an obsolete


Terms (on mobile)

Terms may change, so it would be more acurate to redirect to up-to-date online Terms page.

iOS: done.

Android: done


Any way to support HDR or 10-bit color depth on Win10 ?

Amazing job! And this works on my win11. But is there any way to support Win10?
I need to create a virtual monitor which supports HDR(actually I need 10-bit color depth) using IDD or other virtual display driver, but it must work on Win10. Could anyone give me any guidance on this issue ?

Not likely;
https://github.com/roshkins/IddSampleDriver/issues/23#issuecomment-1345820453

Unfortunately, not unless Windows releases IddCx 1.10 for Windows 10. Until then, we're basically at their mercy.


iDrac Setup and Configuration

To be schedule on 12-18-18 after lunch.

It depends Rey Availability


Really confusing and broken

Sometimes it change behaviours by itself, it's confusing and unclear.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a1944149-ef01-c421-2ec8-c51626c31e0a
Version Independent ID: e774788f-e1db-babf-556f-9aff176a4bd9
Content: Manage notifications for an organization - Azure DevOps Services & TFS
Content Source: docs/notifications/howto-manage-organization-notifications.md
Product: devops
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @Simone000 I'm sorry you're confused and things are unclear. It sounds like your feedback should be addressed to the following Developer Community site, where you can report a problem and/or suggest a feature. They'll be able to help you out. Thank you.


check that we deal with obsoletion workflows and dangling classes

(from @cmungall)

Not sure what Chris meant with that comment, but this might be related to #52, about what to do with axioms/edges that refer to a to-be-obsoleted class.

Chris added this comment in response to my question about Table 1 in the KGCL paper (Types of changes supported by KGCL, grouped into Node Changes and Edge Changes). I asked whether Node Deletion also deletes the child nodes, or what it does, and Chris noted that that needed to be addressed.

See also #71


Ignore clippy::unreadable-literal (pedantic) for CONFUSABLES

“long literal lacking separators”
https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
This occurs 838 times and isn’t worth fixing here.

Should we enforce cargo clippy -- -W clippy::pedantic on CI now?

Fun :)

Is it possible to selectively enable the ones you've fixed, or no?

Yes, we can add options like -W clippy::inefficient_to_string for a denylist or -W clippy::pedantic -A clippy::default_trait_arms for an allowlist (documentation).


Fish sampling updates for 2023

Need to add the fish sampling info for 2023...
Tributary to Skeena River - 198217
Dale Creek - 198215
Spitballing suggested workflow - worth consideration:
Script addition of habitat_confirmations.xls file from the skeena_2023 rep to subfolder of this repo in a new directory called data/2023/habitat_confirmations.xls
all changes to the data/2023/habitat_confirmations.xls always occur only in the 2023 repo with file just copied over. Not this repo! ie. one version of the duplicated file only
script in objects required for fpr_table_fish_site(), fpr_table_fish_density() and fpr_plot_fish_box() in stand alone script (scripts/tables_2023.R or something)
Note - run fpr_import_hab_con() with the backup = FALSE so we don't overwrite the data/backups/*.csv files

[ ] At site Tributary to Skeena River - 198217, 2023 fiss site comments mention a weir upstream but no mention of this in 2022 report, except it says there are " Multiple small steps from large and small woody debris with heights ranging from 20-40cm were present at the time of survey." which is maybe describing a weir??
[ ] Lots of background work still to be done in this memo, some here https://github.com/NewGraphEnvironment/fish_passage_skeena_2022_reporting/issues/60#issuecomment-1771811880. Hard to me to do this background work because I think some of the streams are not in FWA so Hab tracks don't align with anything (mention here https://github.com/NewGraphEnvironment/fish_passage_skeena_2022_reporting/issues/60#issuecomment-1428868958), would be better for someone who knows the area. Maybe you could give me a little summary of the locations surveyed and I can write it up?

Dale Creek - 198215 is done.
Tributary to Skeena River - 198217 waiting for al's edits

all updates should be very briefly summarized in data/habitat_confirmation_priorities.csv so the information is included in the results summary tables.  Sterritt too.  on this

okay on it. Which summary table uses habitat_confirmation_priorities.csv ? Can't seem to find which one.


Improve the Speed in Batch Processing

How can I improve the Speed of my CLIP model in Batch Processing. Minimum Code:
tokenized_text = clip.tokenize(classes_descriptions).to(clip_device)

pre_processed_imgs =  [preprocess(Image.fromarray(cv2.cvtColor(im, cv2.COLOR_BGR2RGB))) for im in batch]

logits_per_image, logits_per_text = model(
        torch.stack(pre_processed_imgs).to(device), tokenized_text
    )
probs = logits_per_image.softmax(dim=-1).detach().cpu().numpy()

classes = [classes_descriptions[np.argmax(prob)] if prob.max() > 0.1 else None for prob in probs]

When the batch size is big, even for small images (100x100) it takes a lot of time i.e a 0.4, 0.5 seconds. I want to process it faster. What are some of the techniques/tricks I can use.

preprocess works using PIL and hence works on a single image not a batc.

Any solution for this yet?