Installation Errors

Working on windows, pip install for pygsodeiv2 and pykinsol leads to failures due to package issues. Similar to older issue on pip install.
Any chance that these could be modified to be installed via conda?
Does Sundials need to be installed outside of python?
Does python-Sundials work for chempy?
I would like to learn this system better and would appreciate any help.
Thanks. Tim.

Hi Tim,
It's all a bit of a moving target unfortunately. I'm worried that pykinsol and pycvodes probably won't compile with latest Sundials (they've made breaking changes between 5->6 I believe). Those projects should ideally be updated to support latest release. But I personally will not be able to find the time to do so myself in the foreseeable future.
And I'm not sure GSL even supports Windows.
On Windows your best bet is to use subsystem for Linux (WSL2) and then either install directly there, or build a container (using either podman or docker).  Soy nuevo contribuyendo en proyectos open source, me gustaria colaborar en este. Estuve viendo las issues y la guia de contribucion pero seria de utilidad una mejor ayuda o guia, gracias!
Hello! I am new to contributing to open source projects, I would like to collaborate on this one. I was looking at the issues and the contribution guide but better help or guidance would be useful, thank you!


Ensure we don't override XamlLanguage if it's already set.

When NuGet imports the props as part of PackageReference, it easy to end up in situations where the project file defines XamlLanguage before the C++/WinRT props are imported.
We shouldn't override if the value is already set.

This is a very straightforward change. I think we can skip the extensive validation for this.

While Dale is updating the OS compiler vpack, I don't think he's updating the msbuild vpack. Did you want to do that or is there not really any value?

Yeah let's do it. Best to be in sync.


Fix Travis-CI by adding a step to install ant on OSX

It looks like the download-deps.sh now requires ant to build BerkleyLM?  If so feel free to merge this, it should make sure the OSX image has ant installed before building.

A better option here would be to upgrade the Berkeley Aligner (Joshua's version) to Maven, and distribute it as a maven resource. This reflects the fact that the Berkeley Aligner code — already almost a decade old — is unlikely to change much.


polkadot: 0.9.16 -> 0.9.17

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

We'll be able to remove the fakeGit gimmick in the next version, I didn't forget about it :)

/marvin opt-in
/status needs_reviewer


boost 1.72.0 HTTP request sent, awaiting response... 403 Forbidden

make launch output:

Setup.sh: llvm-8.0 already installed.

Setup.sh: Retrieving boost.
--2020-03-27 23:59:00--  https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
Resolving dl.bintray.com (dl.bintray.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to dl.bintray.com (dl.bintray.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-03-27 23:59:00 ERROR 403: Forbidden.
Util/BuildTools/Linux.mk:126: recipe for target 'setup' failed
make: *** [setup] Error 8`

find the same topic thread, but it still doesn't work for me
https://github.com/carla-simulator/carla/issues/2533

open carla/Util/BuildTools/Setup.sh and replace
wget "https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/${BOOST_PACKAGE_BASENAME}.tar.gz"
with
wget "https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.gz"
it is a temporary fix.

For those trying to build legacy carla releases and are running into this problem, bintray sunset on 5/1/21.


Scheduling and MPI Interfaces

So this issue documents the proposed breakdown for the design of a SchedulingInterface and MpiInterface. From prior experience it is horrible to couple the MPI generation with the scheduling interface, and it is also horrible to rely on an actual instance of the class because it requires generating a bunch of instances when a class method API would do just fine. There would be commiserate enumerations to standardize returns.
I propose the following:
class SchedulingInterface(ABC):
    @abstractclassmethod
    def submit_script(cls, script_path, resource_spec):
        """
        Submit a script to a scheduler.
        """

    @abstractclassmethod
    def submit_command(cls, script_body, resource_spec):
        """
        Submit a string of commands to a scheduler.
        """

    @abstractclassmethod
    def resource_header(cls, resources, cluster_spec=None):
        """
        Construct the resource header for a scheduler.
        """

    @abstractclassmethod
    def cancel_job(cls, identifier):
        """
        Cancel the specified job through the scheduler API.
        """

   @abstractclassmethod
   def cancel_jobs(cls, identifier_list):
        """
        Cancel a list of jobs through the scheduler API.
        """

A generalized version of the above SchedulingInterface can be created that would take a serialized specification that could be indexed into that would only make it so that specialized cases needed a custom adapter (think something like Flux's Python APIs).
I'll write up a second comment about the MPI interface in a few.

I meant to come around to this sooner, but got sidetracked with other things. This functionality in the past is something I've coupled together with writing out scripts. By leaving this as a class API, we can now let a tool handle what it wants to do with the header, submission command, etc. If a tool wants to write out a script, it can rely on the SchedulingInterface can provide the header, and then we can rely on an MpiInterface to provide the command line contents. Something like:
script_contents = f"{SchedulingInterface.resource_header(resources)}\n{MpiInterface.substitute_mpi(resources)\n"
with open(path_to_script, "w") as script:
     script.write(script_contents)

SchedulingInterface.submit_script(path_to_script)

Obviously the above is simplified, but I want to get to something that's a bit more simple like above. Maestro couples the MPI with the scheduling and has hidden methods that subclasses have to override. It's not the most seamless thing in the world, and introduces complexities/required hardcoding when not using the scheduler's flavor of MPI.
Relatedly, I had an idea about adding methods to this for getting scheduler specific items from the environment (or for performing smart queries if a scheduler supports it). Something that would allow someone to write a Python worker that could know how much time was left, or to query the total resources in an allocation, etc. This functionality would also make it much easier to write resource aware workers that could be allocated and then used to manage pools of resources.


Content-type question

Hi
I need to send a request without specifying a content-type header value (I'm trying to upload a document to Amazon S3 and haven't specified a value for content-type when previously requesting S3 token). However current fetch implementation seems to insist on setting that header - is there some reason for that? Can someone point me at a location in https://fetch.spec.whatwg.org/ or elsewhere that states that Content-Type header is mandatory?
thanks in advance,
Greg

@bergr01
I think it's because of the following:

5.2 Basic fetch
To perform a basic fetch using request, switch on request's current url's scheme, and run the associated steps:
"blob"
...
5. Append Content-Type/blob's type attribute value to response's header list.
...

Hi dkfiresky
Thanks for your suggestion - however, what you posted seems to talk about a set of steps in a response to GET request... in my case I'm making a PUT request myself.

You might try setting Content-Type to null or the empty string.
fetch('/url', {
  headers: {'Content-Type': null}
})

// or

fetch('/url', {
  headers: {'Content-Type': ''}
})

Looks like this issue is partially back for me - as even with type-less blob creation, when I upload a document using webkit/Safari, for some reason empty Content-Type header value gets sent along... this doesn't seem to happen for me in any other browser (e.g. Chrome, IE 11, Firefox)


500 Internal Server Error

Hi,
I'm using Weaviate and when I try to query my db I'm getting the 500 internal server error, Error: None is not a valid Source. The upsert worked with no issues.
This is the query:
`queries = [
{'query': "¿Cuanto dura la jornada laboral?"},
]
res = requests.post(
f"{endpoint_url}/query",
headers=headers,
json={
'queries': queries
}
)
res`
My OpenAI account does not have access to chatgpt plugins or gpt-4, so I'm wondering if that might be the problem.
Thanks,

did you find any solution?


Flicker when editing text between two images

The new feature of having images render even in the edit pane now is nice, but when editing text between two images there's a distracting flicker happening. See here.

This flicker is still present in latest version.

Ok, I'm still reproducing it.


Support unix hex time

Fixes #134.
Description of Changes
Added test for unixhex.
Allow type_layout with new type litteral unixhex in helper/time.go file.
layout is not required with unixhex.

Hi @tzzed -- just an update for ya. This is our first 3rd-party contribution, so we need to get some process figured out. Specifically, we're waiting until we get a CLA set up before we can merge this. Thanks for your patience!

What about this PR?

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


Shift anchor view when used in AlertDialog

When using your library in AlertDialog, the highlighted view is shifted. How can I put it in its place?
Screenshot:

Looks like the offset caused by status bar height. I will take a look at once I can - approximately today/tomorrow. If you will find the solution before me, please share it for other users via PR.

This is not related to the status bar, as the shift is up and to the right. The problem is the indent of AlertDialog. The only solution that I found was to make the same button with the offset I need and alfa = 0 and pass it to the function. It works. But the code is getting dirty.
Today we noticed that the problem is not only in AlertDialog, but also in Activity with titleBar. The problem here is that I cannot find rootView without statusBar, but with titleBar.
If I pass ViewGroup as (ViewGroup) findViewById (android.R.id.content) then:

If I pass ViewGroup as (ViewGroup) findViewById (android.R.id.content).getRootView() then:

Since the titleBar and statusBar are wrapped in one block and it is impossible to find a parent who would include the title bar, but not include the statusBar :( If it is not possible to correctly specify the parent, then it would be great to at least have an offset function for targerView.


Use with a proxy

I would like to be able to use the cli with a proxy server + use a custom CA.  Is it possible to do this?

Don't need this personally anymore.


private fields which are never re-assigned were made readonly

As an extra, I removed unused namespace references in the files that were touched by this change

 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.Lehonti Ramos seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Syntax docs

Here are questions that I have while reading the syntax docs

What goes in the body of an anonymous function created by _? eg does g(f(_)) expand to  x -> g(f(x)) or g(x->f(x))? What about a + _, f(_ + _), etc. What are the rules?
Does inserting __ mean the previous value doesn't get inserted as the last argument?
"In nested pipes, use the _ꜛ placeholder to refer to the _ argument of the outer pipe" I thought __ was the argument of the outer pipe? I don't understand what this means.

Sounds good, cheers!


AjaxTool cannot get POST data

The POST issue,  could you make sure you have this part in your web.xml file?
following configuration lines are needed in web.xml:
 <servlet>
    <servlet-name>Jersey Web Application</servlet-name>
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
    <init-param>
      <param-name>jersey.config.server.provider.packages</param-name>
      <param-value>   io.swagger.jaxrs.listing,org.helm.rest</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
         <multipart-config>
            <location>c:\temp</location>
            <max-file-size>20848820</max-file-size>
            <max-request-size>418018841</max-request-size>
            <file-size-threshold>1048576</file-size-threshold>
        </multipart-config>
  </servlet>

https://github.com/tony-yuan/HELM2WebService/blob/master/WebContent/WEB-INF/web.xml

This is fixed.  This file is updated: https://github.com/tony-yuan/HELM2WebService/blob/master/src/main/java/org/helm/rest/AjaxTool.java

POST call is working now.


-displayed transaction id on confirmation page

-added application number to confirm page

CI: No security warnings found


Implement an appendMonoid Aggregator factory which yields aggregators…

… that can take advantage of an efficient append method for faster aggregations.
This is a PR in response to:
http://erikerlandson.github.io/blog/2015/11/24/the-prepare-operation-considered-harmful-in-algebird/
The rationale for a solution based on a factory function is that the append method and prepare method need to remain logically consistent with each other.  The factory function enforces that logical constraint, and in addition allows a few other efficient overrides.
Working through this issue has left me still feeling like an Aggregator class explicitly based on a Monoid, augmented with append, is desirable.  The main problem is that it would not be backward compatible with the current design that requires a definition of prepare.
Related but tangential, I'm still feeling like a Monoid[T] subclass AppendMonoid[T, E], having zero, plus and append, is a possibly useful thing.  The type laws for such an object would include all the Monoid type laws, and also probably something like:
mon.append(t, e) == mon.plus(t, mon.append(mon.zero, e))

The rub seems to be that there are some possibly-incompatible cases.  If you have a zero, and if append is efficient, then it is advantageous to take advantage of scala's aggregate formulation.  But that may not be true, and assuming it can possibly be worse.
My desire to always have my cake and eat it too makes me wonder if there is any advantage to adding some method like aggregateIsFast which defaults to false, and which can be tested by various methods (and in spark and scalding, hopefully) to be smart about how to do aggregations depending on the characteristics of the objects in question.

Last night I spent some time trying to work through what I'm "really" after, and how that relates to algebraic concerns and algebird's type system.
Firstly, I've been coming at this from the perspective that I want a principled algebraic way to capture the functionality of Scala's traversableOnce.aggregate(z)(seqop, combop), and leveraging as much efficiency as possible.   Starting from that goal, in no particular order:

Right off the bat, algebird's Aggregator is not exactly that, although it can clearly embody that functionality.  Aggregator is a type for representing a map-reduce computation, and so (with respect to my particular goals) it comes with some extra baggage.  My unconscious tendency of equating it with Scala sequence aggregation is misleading.
Scala's aggregate requires an identity element.  If I have a Monoid to work with, then all is well.  I also have to provide seqop (aka append), but that does not appear to be the limiting factor in any cases that I've ever seen.
However, it is also desirable to support Semigroups, and so in that case aggregate has to be replaced with reduceLeft, and furthermore there is now a need for some way to instantiate Semigroup objects from data elements.  In algebird Aggregator, the prepare (aka "map") phase is drafted into this task.
So we have two not-directly-compatible cases of enhancing "normal" algebraic objects:  Monoid + append and Semigroup + prepare
With Algebird Aggregator, the first case was made a subclass of the second, I presume by analogy to the fact that Monoid is a subclass of Semigroup.
However, I'm now wondering if they should actually be sibling classes that inherit from an abstract trait that expresses the idea of "things that can aggregate data elements"

trait ElementAggregator[A, E] {
  def aggregate(data: TraversableOnce[E]): A
}

trait MonoidElementAggregator[M, E] extends Aggregating[M, E] {
  def monoid: M
  def append(m: M, e: E): M
}

trait SemigroupElementAggregator[S, E] extends Aggregating[S, E] {
  def semigroup: S
  def construct(e: E): S
}

From my original blog post, the main cost with prepare/construct for working with the Semigroup case is actually instantiating Semigroup objects for every single data element (in the cases where that is nontrivial).  And it isn't avoidable.  Working with Monoids versus Semigroups comes with nontrivial advantages, from that point of view.   I bring this up because some of Algebird's aggregating objects like CountMinSketch are semigroups.  Based on discussions from #495, there was a desire to keep free parameters out of the identity element, which led me to discard the identity element and make t-digest a semigroup.   I'm now wondering if that's the best solution.

I'm not sure I understand why "it isn't avoidable". That only seems to be true if you want to treat every element of your input identically. But why is that necessary? Can't you do the equivalent of list.tail.foldLeft(prepare(list.head))(append) ?

@avibryant good point.  Using aggregate can still be substantially faster than foldLeft, but it does require specifically invoking some parallelism:
scala>  val data = Vector.fill(1000000) { scala.util.Random.nextInt(100) }
data: scala.collection.immutable.Vector[Int] = Vector(73, 26, 81, 92, 90, 73, ...

scala> val zero = Set.empty[Int]
zero: scala.collection.immutable.Set[Int] = Set()

scala> val plus = (s1: Set[Int], s2: Set[Int]) => s1 ++ s2
plus: (Set[Int], Set[Int]) => scala.collection.immutable.Set[Int] = <function2>

scala> val append = (s: Set[Int], e: Int) => s + e
append: (Set[Int], Int) => scala.collection.immutable.Set[Int] = <function2>

scala> val construct = (e: Int) => Set(e)
construct: Int => scala.collection.immutable.Set[Int] = <function1>

// This is still the worst:
scala> benchmark(10) { data.map(construct).reduceLeft(plus) }
res11: Double = 0.4000747779

// Using one construction followed by foldLeft is quite a bit faster
scala> benchmark(10) { data.tail.foldLeft(construct(data.head))(append) }
res12: Double = 0.040250169200000005

// without parallelism, aggregate performs same as foldLeft above
scala> benchmark(10) { data.aggregate(zero)(append, plus) }
res13: Double = 0.038395296800000006

// with parallelism, aggregate will beat foldLeft:
scala> benchmark(10) { data.par.aggregate(zero)(append, plus) }
res14: Double = 0.011873102699999999

scala>

Interesting. I don't have time to do this right now but it seems like you could add a scala.collection.parallel.Task similar to Aggregate but that worked with semigroups? The Aggregate imeplementation, for reference, is here: https://github.com/scala/scala/blob/v2.11.7/src/library/scala/collection/parallel/ParIterableLike.scala#L1005

Seeing that the foldLeft formulation of aggregation -- data.tail.foldLeft(construct(data.head))(append) -- is also as fast as the aggregate version (and can work without a monoid identity element), caused me to realize that the AlgebirdRDD aggregate method could be modified to use that and achieve the corresponding speed increase, in the cases with an appropriately optimized appendAll method.   And it will not suffer any speed decrease in the default case.   I updated the branch with those improvements.

This looks good. As a slightly separate thing (but that might be worth including in this PR anyway), I think we should have the default appendAll make use of sumOption; that would make it likely that the AlgebirdRDD was making use of an optimized method wherever possible.

@avibryant I think appendAll already uses sumOption - it calls reduce, but that defaults to a thin wrapper around sumOption:
https://github.com/twitter/algebird/blob/develop/algebird-core/src/main/scala/com/twitter/algebird/Aggregator.scala#L194

Aha, you're right, I hadn't realized that. Thanks.
This LGTM, then.

This has addressed @johnynek's comments and LGTM, I'm going to merge. Thanks @erikerlandson !


Updated tags in order to reflect latest changes in PlatformIO

Hi @juangallostra ,
Thanks a lot for your great work, thanks @simondlevy  I also read your absolutely incredible tutorial on Kalman and complementary filters. Just so much better than any white paper or tutorial I could find anywhere else. The Matlab guys have good videos but still lose people in maths, because they love it, but for an average developer understanding the concepts and having the jigsaw together, before looking into deconstructing it piece by piece is just what matters, the rest usually follows using libs and detailed tutorials.
Anyhow, PlatformIO is a great tool to expose your work and i got to know about it thanks to this great platform. However it does not seem to download the latest version of your Altitude estimator since the last tag v0.2 is 14 commits behind the master head and it does not seem to pull the master head by default but the latest tag.
Because of this the old version using i.e. the #include  is still the default, the examples are also behind.
I thought I'd let you know as i got caught, but being familiar with git this was not an issue finding out, but many IOT hobbyist will bump into it.
Regards
Romain developer at Flightcell International (Rescue, police, firefighter helicopters and fixed wing flight tracking solutions)

@romatou18 thanks for pointing that out. 👍


Added note about testing against HTTPS servers [ci skip]

Addresses issues #396 and #146

@rimiti

Could also be addressed by #549.

@gjohnson Looks quite promising. I'll run a few tests to see how well this works and make a new PR to use the new feature.

Is anyone could upgrade superagent ? I'm currently busy on others projects, but I can provides some help if needed.

@rimiti I just opened #553 to address updating superagent.


[MySQL] Treat MySQL date as utc to fix timezone bug

Pull request to fix bug #1442

Any reason this hasn't been added yet? Looks like the same logic is already in place for MySQL. Right now, the date type in Postgres with { mode: 'date' } is unusable as the mapped Date() object on the consumer side is a day earlier.


Clone is required in a bound by Copy, however Clone is marked as uncovered

As per the title, if you #[derive(Copy)] you must also #[derive(Clone)].
However Clone will be marked as uncovered in the #[derive(Clone, Copy)] statement.

This is the upstream issue: see https://github.com/rust-lang/rust/issues/84605#issuecomment-984287186 and subsequent 3 comments.

This will be fixed in https://github.com/rust-lang/rust/pull/120185.


Implement logic to securely store key

Crate

ibc-relayer
ibc-relayer-cli

Summary
Currently the key file for each chain is stored in plaintext mode on the host running the relayer
Problem Definition
When users add a key from a chain that can sign messages using the relayer command hermes keys add [chain-id] [filename] where filename is a JSON file that contains the mnemonic that can restore a private key (usually this file is generated and output from a chain command for example gaiad keys add.
After executing the keys add command, currently the implementation is just to copy the file in the hermes home folder, so for example, for a chain ibc-0 and filename key_seed.json the file will be stored using the key_name parameter from the config. So if the key_name is testkey the file will be stored in plaintext mode in the following path:
$HOME/.hermes/
├── config.toml
├── keys
│   ├── ibc-0
│   │   └── keyring-test
│   │       └── testkey.json

Proposal
Even though the key is stored as plaintext, node (relayer) operators should ensure the file permissions are properly setup in order to keep the key secure.
But we should look into ways to store the key in a way that is encrypted and not visible in plaintext mode. The solution would also allow the relayer process to retrieve and use the key without a user intervention since the relayer should be able to sign messages without human intervention.
Some ideas to implement this could be:

Use a keyring solution:

Such as https://github.com/hwchen/keyring-rs

Use a vault solution like Hashicorp vault:

Such as https://crates.io/crates/secret-keeper

Use a kms service that supports hardware kms:

Such as https://github.com/iqlusioninc/tmkms

I expected that some discussion will happen related to benefits and trade-offs of each different approach especially from a production / devops / secops perspective until there's a decision on what is the best approach.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

I think the most flexible approach may be to utilize some "remote signing" interface -- e.g. tmkms has this: https://github.com/iqlusioninc/tmkms/blob/main/README.txsigner.md

bumping this because today we are facing operational situations where key protection makes more sense (chains with account whitelisting) 🙏

@clemensgg Which, if any, of the potential solutions listed above by @andynog would fit your use case the best?


[SMALLFIX] replace anonymous type with lambda

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

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

Merged build finished. Test PASSed.


Increment VSCode Extension version after release

Increment VSCode Extension version after release

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/2261/azure-dev-0.7.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file


Disable efcore query information logging ?

Thanks Jeremy for this little gem !
There is any method to disable efcore information logging on console ?

I have tried some logging configuration in appsettings. without luck:

Thanks

Found the solution:
https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/configuration?view=aspnetcore-7.0#logging-configuration
or
builder.Logging.SetMinimumLevel(LogLevel.Warning);


Normalise to MNI via

Collaborators might wish to normalise to MNI space after running ANTsCT targeting a different space.
The MNI space metadata currently does not store transforms to other coordinate systems to prevent its becoming cluttered.
Other standard spaces store the <space>:MNI and MNI:<space> routes in their metadata.
Direct normalisation to MNI could be achieved by loading metadata both from the ANTsCT target space and from MNI and then setting standard to MNI.

If this option is used, then it will be assumed that the last space in the chain is the ANTsCT/structural target space unless spatial metadata already exist for the ANTsCT space.
For instance,
MNI%2x2x2_via_PNC
and
REWARD%2x2x2_via_MNI_via_PNC
would both assume that structural images were registered to the PNC template.


update requierements

If we open a collab notebook and install pyrovision
pip install pyrovision
Then try to import mobilenet_v2 from pyrovision.models.mobilenet import mobilenet_v2  ,  that leed to the following error:
 ImportError: cannot import name 'model_urls' from 'torchvision.models.mobilenet' (/usr/local/lib/python3.7/dist-packages/torchvision/models/mobilenet.py)

We need to update torchvision in the requirements to fix it

Bad interpretation on my part the error does not come from there, it is a change of import


Trunk OCaml version

Trunk version is now 5.1.0.
$ ocamlopt.opt --version
5.1.0+dev1-2022-06-09

Does this not cause an issue here?
https://github.com/ocaml-bench/sandmark-nightly-config/blob/595cdaeae18870bab454046d131b48aff6211b84/config/custom_turing.json#L4

Yes, we need to bump the sandmark-nightly-config to use 5.1.0+trunk. We have Sandmark CI benchmarks running for 5.1.0+trunk, and we are testing the build of the remaining benchmarks for the same.

I added a new request to sandmark nightly config
https://github.com/ocaml-bench/sandmark-nightly-config/blob/main/config/custom_turing.json#L7-L10
Is this expected to fail then?

Is this expected to fail then?

Yes. The default dune version in the switch on these servers is 2.9.0. We will need to update the servers to use dune.2.9.3-5.0.0 from the -alpha repository since we use the USE_SYS_DUNE_HACK option to build the benchmarks. After the macro_bench benchmarks build fine in our testing, we will update the servers with the latest dune version for the nightly runs.

Can you schedule this as a priority, please? Now that OCaml trunk default version is 5.1.0+.., developers will produce PRs against this version. Currently, they can't use sandmark nightly config facility.

Yes, we are taking this as high priority. We will update sandmark-nightly-config and the Sandmark setup on the servers to build for 5.1.0+trunk.

sandmark-nightly-config has been updated to use 5.1.0+trunk with the latest dune.2.9.3-5.0.0 from the -alpha repository. The 5.1.0+trunk and 5.1.0+trunk+decouple_major_and_minor2 results from Navajo and Turing servers are also available at https://sandmark.tarides.com.


Consistent styling

Ensure consistent styling across the entire app

I will start working on this, but I think this PR #112 need to be merged before work on the whole style


Feature request: Toggle to show precipitation percentage in hourly chart when it's not raining

Platform: iOS
OSS Weather version: 2.6.1
Currently, on the hourly chart, the precipitation percentage only shows when it's raining.
Since the precipitation percentage can still be higher than 0% when it's not raining, i would like to see a toggle in the settings menu to always show the precipitation percentage in the hourly chart as i find it useful information regardless.
Currently, the workaround is to go to "Compare Charts" and only show the best match model of Open-meteo, which is quite cumbersome.

@CypherNL nice idea. I ll have to see how i "represent" this for it not to be mistaken for actual precipitation

@CypherNL It is now released!

I’ve updated the app and enabled the option. It does work as I've described. Thanks for adding the feature!


Sync eng/common directory with azure-sdk-tools for PR 899

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/899  See eng/common workflow

Can one of the admins verify this patch?

/check-enforcer override

/azp run net - template - ci


Fix/layout

I believe this problem has been resolved on Master for Swift 3. If not, please reopen. Thanks!


Out of date example for attribute on return?

let function1 x : [<return: Obsolete>] int = x + 1

gives me This attribute is not valid for use on this language element  on F# 4.7 + dotnet core 3.1

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

ID: aace421d-61eb-5fc0-ec1b-41f3848625f5
Version Independent ID: e237e964-3f9d-ceb9-8ff6-5cc0813718de
Content: Attributes - F#
Content Source: docs/fsharp/language-reference/attributes.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: phcart

I don't think this was ever supported (at least certainly as of F# 4.0). The documentation is a bit old, so I'll remove that from the table and file an issue on the F# repo.

Sorry, to clarify - Obsolete isn't supported for that target. So the table is just bad.


Declare metric "per thread" data members as unique_ptr<T[]>, remove mutable

Declared registration metric "per thread" data members as unique_ptr<T[]> (similar to pull request #3613 and #3614), and removed mutable keywords from their declarations.

@ebrahimebrahim Thanks for having a look at this pull request, and for your approval! 😃

IDK the original intention behind making those data members mutable

I don't know either, but I think it might be a misinterpretation of the meaning of mutable for a pointer: in this case (for example, mutable AlignedMMIMetricPerThreadStruct * m_MMIMetricPerThreadVariables;), the keyword applies to the pointer itself, not to the value(s) that it points to. So mutable would only be necessary when the pointer itself would need to be assigned or reset in a const member function. On the other hand, the values that it points to can still be modified by both const and non-const member functions, even when the mutable keyword is not there!!!
https://github.com/InsightSoftwareConsortium/ITK/blob/b03347bcdc4c2fb1d47f1fbcb1f7bc48c3f59089/Modules/Registration/Common/include/itkMattesMutualInformationImageToImageMetric.h#L363

the keyword applies to the pointer itself, not to the value(s) that it points to. So mutable would only be necessary when the pointer itself would need to be assigned or reset in a const member function

Ah I was wondering if that's how it worked ... makes sense that it was a misinterpretation


Support for np.ix_

This allows us to easily retrieve slices of multi-dimensional arrays

Even with an implementation of np.ix_, I think this may face the limitations of numba's current advanced array indexing support http://numba.pydata.org/numba-doc/latest/reference/numpysupported.html#array-access.
Even if you do
@njit
def do_slice(arr, inds):
    return arr[inds]

do_slice(np.arange(20).reshape((5, 4)), np.ix_([0, 1], [2, 3]))

you get
TypingError: Failed in nopython mode pipeline (step: nopython frontend)
No implementation of function Function(<built-in function getitem>) found for signature:

 >>> getitem(array(int64, 2d, C), UniTuple(array(int64, 2d, C) x 2))

One idea is to make a np.extensions function that is the equivalent of
def slice_ix(arr, *slices):
    return arr[np.ix_(*slices)]

since in this case, we can easily decompose the multi-dimensional index into a sequence of single-dimension indices.  What do you think @stuartarchibald ?

Since this is still one of the first results you find when looking for "numba np.ix_" I'd share my workaround for 2d arrays here which is faster than using plain old numpy.

@nb.jit(nopython=True, cache=False)  # cache=False only for performance comparison
def numba_ix(arr, rows, cols):
    """
    Numba compatible implementation of arr[np.ix_(rows, cols)] for 2D arrays.
    :param arr: 2D array to be indexed
    :param rows: Row indices
    :param cols: Column indices
    :return: 2D array with the given rows and columns of the input array
    """
    one_d_index = np.zeros(len(rows) * len(cols), dtype=np.int32)
    for i, r in enumerate(rows):
        start = i * len(cols)
        one_d_index[start: start + len(cols)] = cols + arr.shape[1] * r

    arr_1d = arr.reshape((arr.shape[0] * arr.shape[1], 1))
    slice_1d = np.take(arr_1d, one_d_index)
    return slice_1d.reshape((len(rows), len(cols)))

When comparing with this plain numpy implementation:
def numpy_ix(arr, rows, cols):
    return arr[np.ix_(rows, cols)]

Performance:
def main():
    arr = np.random.random((123, 456))

    rows = np.array([0, 2, 4, 8, 16, 32, 64])
    cols = np.array([1, 3, 9, 27, 81, 243])

    a = numpy_ix(arr, rows, cols)
    b = numba_ix(arr, rows, cols)

    print(np.all(a == b))

    n = 1_000_000
    print("numpy", timeit.timeit(lambda: numpy_ix(arr, rows, cols), number=n))
    print("numba", timeit.timeit(lambda: numba_ix(arr, rows, cols), number=n))

Result:
True
numpy 6.635205999999999
numba 1.6339226999999994


⚠ Movie Manager has degraded performance

In b6c73ae, Movie Manager ($SITES_URL_MOVIE_MANAGER) experienced degraded performance:

HTTP code: 525
Response time: 21539 ms

Resolved: Movie Manager performance has improved in 25cbd69 after 29 minutes.


Bump plutus <IP_ADDRESS>

Bumps plutus-core, depends on #672

We should've bumped the major version since it is a dependency update


Uncaught TypeError after uploading to GitBook but not locally

Category
Bug with the uploading or build
What is the current behavior?
One of my pages hits the following error in theme.js:1:
Uncaught TypeError: Cannot read property 'removeChild' of null
    at n (theme.js:1)
    at A (theme.js:1)
    at de.fn.init.replaceWith (theme.js:2)
    at Object.success (theme.js:4)
    at l (theme.js:2)
    at Object.fireWith [as resolveWith] (theme.js:2)
    at r (theme.js:3)
    at XMLHttpRequest.<anonymous> (theme.js:3)

This causes some plugins to fail and the custom CSS to partly fail.
The weird thing is that this only happens after it's uploaded. When running with gitbook serve it works perfectly.
Additional information
Applies to, at least, Firefox and Chrome. Gitbook CLI version 2.3.0. Gitbook version: 3.2.2.

This commit https://github.com/Starcounter/Docs/commit/d551a8358ec6917c3f4d1b43d62c7d9c4dc69ef1 fixed the problem for me. I think it might be from target=_blank

@Mackiovello Don't you have a custom theme ? Could you check if you have any calls to .removeChild( ?

@Mackiovello Don't you have a custom theme ? Could you check if you have any calls to .removeChild( ?

No, I don't use a custom theme only custom CSS and template extension. The only occurrences of .removeChild are in _book\gitbook and _book\theme.js.

Closing as no longer relevant


Improving readability of generated externs

The linter finds around 300 errors in build/ol-externs.js, due to:

too long lines;
some spacing convention.

These long lines are due to typedefs being written on a single line.
For example, olx.MapOptions reaches 600 characters making it really hard to read.
It will certainly be difficult to fix a compile error in this condition.
I feel it is unnecessary to stick to 80 characters for this generated file. However 600 is clearly unmanageable. It would be a big improvement if we could have json fragments indented.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Closing due to lack of activity, but pull requests accepted.


Multiple local aliases of same name conflicting

Using multiple local aliases of the same name should be perfectly safe, but for some reason they're interfering with one another.

turned out it was the damn cache all along!  per-instance caching has fixed this but raised a new issue of if flushing @ instance level is a requirement...


Modify outdated comments and error messages regarding indexed images

Godot doesn't support indexed images anymore (FORMAT_INDEXED), so those are removed to avoid any confusion.

Thanks!


Fix PhysicalAppDataFolderTests

Fix ten tests found in PhysicalAppDataFolderTests.cs by fixing some implementations in OrchardFileSystem.cs.
Remaining failing tests are now 13.

Thanks dude :)

Thank you too :smile:


Excellent benchmarks except sort

Summary

There appears to have been a regression in speed of OrderByRelativePath(), at least on my machine. Can it be fixed?
String sort speed is slower than with JSP, at least on my machine. Can it be improved?

More info is below.
I benchmarked library tree. With one of the earlier SMP versions, SMP & JSP initialisation times of the various library tree views were essentially same.
I am pleased to say that in 1.0.4 all the default views (e.g. View by Artist etc) initialise ~1.5 times faster with SMP 1.0.4 compared with JSP (well done!), bar one.
That one is "View by Folder Structure", which now initialises faster in JSP. I pinned it down to a regression in the speed of OrderByRelativePath() which has occurred since version 1.0.3, at least on my machine. Test code:
var handle_list = fb.GetLibraryItems();
var t1 = fb.CreateProfiler();
handle_list.OrderByRelativePath();
//var relative_paths = handle_list.GetLibraryRelativePaths();
console.log("OrderByRelativePath Time: " + t1.Time + " msec")

The OrderByRelativePath() step in the initialisation of "View by Folder Structure" accounts for >80% of the initialisation time of that view and so its speed has a clear effect. As its a regression since version 1.0.3 may be it can be fixed.
Sometimes library tree uses string sorts, & I noticed certain things that use these were slower in SMP 1.0.4 vs JSP. I pinned this down to the string sort functions running more slowly on SMP 1.0.4 compared with JSP, at least on my machine: e.g. standard string sort was ~6 times slower. As far as I tested number sorts were 2-3 fold faster in SMP 1.0.4 vs JSP, and so the issue seemed specific to string sorts. Test code for string sorts is below. I'm not sure if string sorting speed is something you have control over?
var t1 = fb.CreateProfiler();
var A = [];
var ln = 100000
for (var i = 0; i < ln; i++) A.push("Disc " + (Math.round(Math.random() * 20)).toString());

var localeCompareSort_NumHandling = function(a, b) {
    return a.replace(/^\?/,"").replace(/(\d+)/g, function(n) {return ('0000' + n).slice(-5)})
    .localeCompare(
        b.replace(/^\?/,"").replace(/(\d+)/g, function(n) {return ('0000' + n).slice(-5)})
    );
}

t1.Reset();
A.sort(localeCompareSort_NumHandling);
console.log("localeCompare String Sort with Number Handling: Time: " + t1.Time + " msec");

A = [];
for (var i = 0; i < ln; i++) A.push("Disc " + (Math.round(Math.random() * 20)).toString());

var strSort_NumHandling = function (a, b) {
    a = a.replace(/^\?/,"").replace(/(\d+)/g, function(n) {return ('0000' + n).slice(-5)});
    b = b.replace(/^\?/,"").replace(/(\d+)/g, function(n) {return ('0000' + n).slice(-5)});
    return a < b ? -1 : a > b ? 1 : 0;
}

t1.Reset();
A.sort(strSort_NumHandling);
console.log("Standard String Sort with Number Handling: Time: " + t1.Time + " msec");

A = [];
for (var i = 0; i < ln; i++) A.push("Disc " + (Math.round(Math.random() * 20)).toString());

var localeCompareSort = function(a, b) {
    return a.localeCompare(b);
}

t1.Reset();
A.sort(localeCompareSort);
console.log("localeCompare String Sort: Time: " + t1.Time + " msec");

A = [];
for (var i = 0; i < ln; i++) A.push("Disc " + (Math.round(Math.random() * 20)).toString())

var strSort = function (a, b) {
    return a < b ? -1 : a > b ? 1 : 0;
}

t1.Reset();
A.sort(strSort);
console.log("Standard String Sort: Time: " + t1.Time + " msec");

Thanks for the report!
Since it's a regression from v1.0.3, I'm 99% sure that it can be fixed =)
And I even have the inkling on what might be causing it...

OrderByRelativePath()

I benchmarked a bit, and it seems that old sort (based on pfc::sort) is faster on randomized arrays (up to 30%) and slower on sorted arrays (up to 15%) than new sort (based on std::sort).
I will return the old sort, since there's no sense sorting already sorted arrays...

standard string sort was ~6 times slower

Confirmed to be a Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1502882
This won't be fixed in SMP anytime time soon though: the bug will be most likely fixed only on the latest Firefox/SpiderMonkey, while SMP uses the latest stable build (ESR60). Unless they port the fix to ESR60, of course.

I will return the old sort, since there's no sense sorting already sorted arrays...

I will not, since I found something MUCH better: https://github.com/tvanslyke/timsort-cpp
Same as pfc::sort on uniformly distributed data and up to 6x faster on partially sorted data (which is usually the case, e.g. tracks in albums).

Should be fixed in the latest build (once it's done building).

It looks like you've broken it because you've removed the subsong from the end of the path. This breaks sorting for cuehseets or files with multiple chapters - using `get_relative_path. One physical file can have multiple handles which all return the same path and now you have no way to differentiate them from each other.

Oh, I see, should've known that it was there for a reason... Thanks!

@marc2k3 : fixed in https://github.com/TheQwertiest/foo_spider_monkey_panel/commit/0968478abbb274729fe910d3f14cd8d260cf8c23

Thanks. Just to confirm that OrderByRelativePath performance is fixed: timsort seems a great find.


OneNote bug squash bounty — $300

Bounty
See the Contribution guidelines for how to claim this bounty.
Bounty: $300 USD
Timeframe: 10 days
Requirements
Similar to #84 but for OneNote

[ ] #100
[ ] #95
[ ] #102
[ ] #103
[ ] #94

Assigning to @p3rid0t

I accept this bounty since I have developed the OneNote Importer before. Thank you!

 Very excited to finally have a good pipeline from OneNote to Obsidian. Let me know if there's anything someone like me can do to help test etc.  Very excited to finally have a good pipeline from OneNote to Obsidian. Let me know if there's anything someone like me can do to help test etc. I'm jaybins in the discord

Be sure to join the #importer thread on Discord! Most of the testing opportunities will be posted and done there.


Stage 2 training

Hi, I was wondering how much time it took to train the main model with 1M frames. Currently, I am using 4 GPU, with 128 batch size. Currently, one epoch took 20 hr with 35 % complete.
Will increasing the batch size help for faster computation or would it affect the training as well?

I used 4 Titans (Pascal) with roughly 4 days to train the leaderboard model with the default batch size.


Use data: URLs instead of Holder.js for placeholder images

Refs #17373.

i'm currently writing an alternative, text-only, SVG engine for Holder. the intent is to make CLI and programmatic use easier, so Holder could be leveraged here to embed the data URIs as the docs are built. it'd reduce potential confusion and keep the source images declarative.
let me know what you think

Holder could be leveraged here to embed the data URIs as the docs are built.

@imsky Not sure what you mean by this.

Source doc:

Grunt builds the docs, with Holder, which transforms the above (at build time) into:

Jekyll builds the docs at present. Good luck integrating with Ruby :-)

the data uri embedding stage can run after jekyll builds docs - as a grunt plugin, for example.

@imsky I'd be interested in such a transform plugin.

@cvrebert very happy to take this issue, but you aren't going to get the same effect you have currently (the dimension text changes when you resize the window, at least on album).

Closing as stale.


Could not connect to MCP server mgcw

Hi
My claude_desktop_config.json:
{
    "mcpServers": {
        "memory": {
            "command": "npx",
            "args": ["-y", "@modelcontextprotocol/server-memory"]
        },
        "wcgw": {
            "command": "uv",
            "args": [
                "tool",
                "run",
                "--from",
                "wcgw@latest",
                "--python",
                "3.12",
                "wcgw_mcp",
                "--computer-use"
            ]
        }
    }
}

When I start Claude for Desktop (macOS) I see this:

This also happens without computer-use.
I have Orbstack installed and running (for Docker).
Any idea what might be going wrong in my setup?
Thanks!

I don't know about Claude with computer-use since I haven't tried it, but it works for me when using the full path from 'which uv'

Ok that did the trick, thank you!
README.md should be updated to mention this.

I don't know about Claude with computer-use since I haven't tried it, but it works for me when using the full path from 'which uv'

I got the same problem, thank you very much!


Using cyber_recorder to record data generate many offline record files

Systems
Apollo 5.5
Ubuntu 16.04
Questions
When I run the following scripts by use LGSVL simulator to record offline record data for testing:
cyber_recorder record -a -o lgsvl.record

I found the recorded files have been saved with lgsvl.record.00000, lgsvl.record.000001 and so on, and every file is 2.2G, I want to know how to unset the record file size limit so that I can record the messages in one file.
And another problem is when I use the offline lgsvl data to test Apollo 5.5 perception module, I get cann't get the pose error due to the localization related messages delay. However, when I record these messages, I'm sure the messages frequency is normal, I don't know why.

For your first question, you may run cyber_recorder record --help to see the record options.
There are options like -i, --segment-interval <seconds>	record segmented every n second(s) 	-m, --segment-size <MB>			record segmented every n megabyte(s) you may found useful.

Did the suggestion above help solve your issue? We will close the issue for now. If you have any additional question, please feel free to open a new issue.


Upgrade Adafruit-DHT==1.3.3

Fixes install error with more up-to-date pypi repo
Description:
Related issue (if applicable): fixes #15333
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @googanhiem,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Duplicate of https://github.com/home-assistant/home-assistant/pull/15706.

you didn't update requirements_all.txt

I am fixing #15706, close this one.


Add Ænix to the Adopters list

Hi, we use CloudNativePG in our free PaaS platform Cozystack for running PostgreSQL-as-a-Service.
We'd like to share this information :)

/ok-to-merge new adopter


with message 'No origin header'

hello
my name is hisa
I use version 2.0.8.
i run "php server.php" .
When the ip address is (http://<IP_ADDRESS>:8000, ws: // <IP_ADDRESS>: 8000) it works normally,
but my local ip <IP_ADDRESS> (http: //192.168. 1.6: 8000, ws: // <IP_ADDRESS>: 8000)
If specified ('No origin header') an error will be displayed.
By the way, <IP_ADDRESS> is the ip address allocated from the home wifi router.
[message]
info: Wrench\ConnectionManager: Wrench\Connection: <IP_ADDRESS>:61801 (680871ddbcc61956670124d9d8dcea6e8857e5ab0379ff823ca8453fe3babc9a8ae17cea788024f106db26171bd2fe49d90e46459fa0d285b9356e8c8a16583c): Connected
warning: Wrench\ConnectionManager: Error on client socket: exception 'Wrench\Exception\BadRequestException' with message 'No origin header' in /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php:471
Stack trace:
#0 /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/Connection.php(223): Wrench\Protocol\Protocol->validateRequestHandshake('GET /chat_a/exa...')
#1 /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/Connection.php(206): Wrench\Connection->handshake('GET /chat_a/exa...')
#2 /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/Connection.php(402): Wrench\Connection->onData('GET /chat_a/exa...')
#3 /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/ConnectionManager.php(243): Wrench\Connection->process()
#4 /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/ConnectionManager.php(168): Wrench\ConnectionManager->processClientSocket(Resource id #35)
#5 /Users/hisashi/git/Wrench/vendor/wrench/wrench/lib/Wrench/Server.php(198): Wrench\ConnectionManager->selectAndProcess()
#6 /Users/hisashi/git/Wrench/examples/server.php(45): Wrench\Server->run()
#7 {main}

Feel free to rebase and reopen


Management - A way for admins to "Resend" emails to users where they have been on a task for an extended period

Expected outcome

When someone has not done their tasks, should be a way to "Resend" email notifications to user that they need to do something. Only available to RC - Coordinator Functional role / Admin role

Email should have text such as "THIS IS A REMINDER EMAIL - NOT THE FIRST TIME YOU HAVE RECIEVED THIS [YOU ARE 43 DAYS ON THIS STEP NOW]"
Business Value / Developer Experience

To remind users they need to do something.
Acceptance Criteria

[ ] Button to resend email to user that they need to do something
[ ] email that is resent has some info to tell user it is not the first time they are recieving this, so they dont think this is the first time they are receiving this request.
[ ] The email pick up the "Days on this step" and puts that into the email.

we have this good enough with reasign. not high priorirty. but for future RC, yes please as it would be nice to say... remind them every 3 days:)


Load events automatically

Is there any way to do this? I have tried loading it in the scope at launch it and with "onload" and "ng-init" in the html and there is no way, has anyone got it?

@Devl189 Loading event in ng-init should work, is it possible that you are setting the eventSource array in a different scope?

Already is solving, it was scope position problems


New icon added - workato

Thanks for submitting your employer's icon. Looks good - but I think you can still make it smaller. Take a look at the source code of the SVG. Can you remove those decimal places?

Thank you @edent, I reduced the icon.

Perfect! Thanks. Feel free to add more icons.


UTM Projections

I tried to transform to a UTM projection.
prj = "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
fig = GeoMakie.Figure();
ax = GeoMakie.GeoAxis(fig[1,1],     dest=prj,     title="UTM 32";)
lp = lines!(ax, GeoMakie.coastlines();      transformation = (; translation = (0, 0, 1)))
This is what i get:

I can replicate that.  For UTM projections you probably want to restrict the projection to that particular zone though?  And you can restrict latitudes to (-90, 90).

Yes, i was wondering, if it wouldnt be much effort to implemnt this kind of transformations, since GeoMakie already uses proj strings.
https://proj4.org/en/9.4/operations/projections/utm.html

You are already using those, no?  It's just a matter of passing the correct limits to GeoAxis then.

No, i would expect a grid with X and Y coordinates.
Like this:
import ArchGDAL
srccrs = "+proj=longlat +datum=WGS84 +no_defs"
destcrs = "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
xc,yc = 11.5, 50.5
pt = ArchGDAL.createpoint(xc,yc)
#Geometry: POINT (11.5 50.5)
ArchGDAL.reproject(pt,
    ProjString(srccrs),
    ProjString(destcrs)
    )
#Geometry: POINT<PHONE_NUMBER>65446 5597210.83026226)

Ah, for that you can plot in a regular Makie axis!  You would have to explicitly reproject your geometries, though.

Got it, thanks... so no internal Raster transformation. for example.
this works.
r isa Raster
#true
#already utm
import Makie
fig = GeoMakie.Figure();
ax =  Makie.Axis(fig[1,1],title="UTM 32";)
rsf = GeoMakie.heatmap!(ax,r;)
fig

Yep this works!  The idea of GeoMakie is to be as transparent as possible with the least amount of added features - everything that works here except for (a) multiple CRS in a plot and (b) lat-long grids in any projection will work in base Makie.  Some code has actually been shifted from here to Makie.jl for that reason.


config: Use URI.open directly

Signed-off-by: Hiroshi Hatake<EMAIL_ADDRESS>
Which issue(s) this PR fixes:
None
What this PR does / why we need it:
URI.open via Kernel#open is already obsoleted on Ruby 3.0.
Otherwise, the following error is occurred when using http or https
scheme URI on @include directive:
@include "https://raw.githubusercontent.com/fluent/fluentd/master/example/in_forward.conf"

bundler: failed to load command: fluentd (~/GitHub/fluentd/vendor/bundle/ruby/3.0.0/bin/fluentd)
~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:175:in `initialize': include error https://raw.githubusercontent.com/fluent/fluentd/master/example/in_forward.conf - No such file or directory @ rb_sysopen - https://raw.githubusercontent.com/fluent/fluentd/master/example/in_forward.conf (Fluent::ConfigParseError)
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:175:in `open'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:175:in `eval_include'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:146:in `parse_include'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:105:in `parse_element'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:44:in `parse!'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:33:in `parse'
	from ~/GitHub/fluentd/lib/fluent/config.rb:58:in `parse'
	from ~/GitHub/fluentd/lib/fluent/config.rb:39:in `build'
	from ~/GitHub/fluentd/lib/fluent/supervisor.rb:615:in `initialize'
	from ~/GitHub/fluentd/lib/fluent/command/fluentd.rb:350:in `new'
	from ~/GitHub/fluentd/lib/fluent/command/fluentd.rb:350:in `<top (required)>'
	from ~/GitHub/fluentd/bin/fluentd:15:in `require'
	from ~/GitHub/fluentd/bin/fluentd:15:in `<top (required)>'
	from ~/GitHub/fluentd/vendor/bundle/ruby/3.0.0/bin/fluentd:23:in `load'
	from ~/GitHub/fluentd/vendor/bundle/ruby/3.0.0/bin/fluentd:23:in `<top (required)>'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli/exec.rb:63:in `load'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli/exec.rb:63:in `kernel_load'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli/exec.rb:28:in `run'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli.rb:474:in `exec'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli.rb:30:in `dispatch'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli.rb:24:in `start'
	from ~/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.22/libexec/bundle:49:in `block in <top (required)>'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/friendly_errors.rb:128:in `with_friendly_errors'
	from ~/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.22/libexec/bundle:37:in `<top (required)>'
	from ~/.rbenv/versions/3.0.2/bin/bundle:23:in `load'
	from ~/.rbenv/versions/3.0.2/bin/bundle:23:in `<main>'
~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:175:in `initialize': No such file or directory @ rb_sysopen - https://raw.githubusercontent.com/fluent/fluentd/master/example/in_forward.conf (Errno::ENOENT)
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:175:in `open'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:175:in `eval_include'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:146:in `parse_include'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:105:in `parse_element'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:44:in `parse!'
	from ~/GitHub/fluentd/lib/fluent/config/v1_parser.rb:33:in `parse'
	from ~/GitHub/fluentd/lib/fluent/config.rb:58:in `parse'
	from ~/GitHub/fluentd/lib/fluent/config.rb:39:in `build'
	from ~/GitHub/fluentd/lib/fluent/supervisor.rb:615:in `initialize'
	from ~/GitHub/fluentd/lib/fluent/command/fluentd.rb:350:in `new'
	from ~/GitHub/fluentd/lib/fluent/command/fluentd.rb:350:in `<top (required)>'
	from ~/GitHub/fluentd/bin/fluentd:15:in `require'
	from ~/GitHub/fluentd/bin/fluentd:15:in `<top (required)>'
	from ~/GitHub/fluentd/vendor/bundle/ruby/3.0.0/bin/fluentd:23:in `load'
	from ~/GitHub/fluentd/vendor/bundle/ruby/3.0.0/bin/fluentd:23:in `<top (required)>'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli/exec.rb:63:in `load'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli/exec.rb:63:in `kernel_load'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli/exec.rb:28:in `run'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli.rb:474:in `exec'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli.rb:30:in `dispatch'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/cli.rb:24:in `start'
	from ~/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.22/libexec/bundle:49:in `block in <top (required)>'
	from ~/.rbenv/versions/3.0.2/lib/ruby/3.0.0/bundler/friendly_errors.rb:128:in `with_friendly_errors'
	from ~/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.22/libexec/bundle:37:in `<top (required)>'
	from ~/.rbenv/versions/3.0.2/bin/bundle:23:in `load'
	from ~/.rbenv/versions/3.0.2/bin/bundle:23:in `<main>'

Docs Changes:
No needed.
Release Note:
Same as title on Bug fix section.

FYI: On Ruby 2.7.0
/var/lib/gems/2.7.0/gems/fluentd-1.13.1/lib/fluent/config/v1_parser.rb:174: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open

Yes. With Ruby 2.7.x, URI.open via Kernel#open is still working.


Error on executing anchor build

Hi @eskaine  I have cloned the repo and installed the essentials and when I am trying to execute the anchor build command I am receiving the following error as shown in the screenshot

Please suggest a solution for the issue

hi @ashlinSajan i noticed you are using v1.9.9, maybe that's the problem, can u try using a newer release?

hi @ashlinSajan i noticed you are using v1.9.9, maybe that's the problem, can u try using a newer release?
Hi @eskaine thanks for your timely reply.I updated the solana-cli version to 1.14.3.But I am receiving a different error now.Could you please help.

that's not an error, u can ignore that, it's just a warning about an unused variable

Hi @eskaine actually the build is getting stopped with the following error after the unused variable warning

Hi @eskaine actually the build is getting stopped with the following error after the unused variable warning

Could you please help on this issue.

hi @ashlinSajan i have push a new MR, can u pull and try that instead

Hi @eskaine I have tried using the new MR.Still getting issues

Please suggest a solution

Hi @eskaine I have tried using the new MR.Still getting issues  Please suggest a solution
I am absolutely stuck with this and unable to proceed.
Please suggest steps for running your repo.

have u update all the necessary configurations specific to your machine? the steps to running this repo is standard solana/rust/anchor stuff you can find on the internet, there's no special configurations,
if not I suggest running other projects with well written guides

Hi @eskaine thanks for your reply.
I have run solana projects previously using the machine.Could you please elaborate on what specific configurations you are asking for inorder for me to cross check?

if you are able to run the other projects, there's no reason my project is not able to run
on a side note, one of the tests should be failing as it can only be run on devnet
unfortunately, i cannot provide further assistance


Question / Feature request to delete a group / channel of keys

Hello.
I don't think ther is an existent feature that allows you to delete a predefined group of keys, is it ?
Maybe something like this can be added ?! ...
So that when creating values, you can optionally specify a group, e.g "User Names Cache":
$memcached->set('name_of_user_120', 'John Smith', 60*60*24, 'User Names Cache');
Then later you can delete a group of keys with: $memcached->delete-group('User Names Cache');
When having many different values in memcached, the only way to reset all the data is to restart memcached, but I would find it usefull to drop large groups of values like above.

Em,,,why not use redis?

I didn't use Redis at all, but I did see a similar function when I looked at some samples days ago.
Will need to look more into that if it has functions like these.

I didn't use Redis at all, but I did see a similar function when I looked at some samples days ago.
Will need to look more into that if it has functions like these.

I think redis could be suitable for you. But note that if the value of the key is very large, it may cause stopping the world.

Sorry I missed this. Since memcached is a distributed system that command doesn't make sense; keys are distributed across N servers.
https://github.com/memcached/memcached/wiki/ProgrammingTricks#namespacing
namespacing is the common workaround.


Fix: rolebindings targeting incorrect serviceaccount

Currently kustomization for rbac is using namePrefix: flux-kluctl- which is ok.
However it only appends it to metadata.name.
This causes rolebindings to reference a service account with just the name controller and as such cause failures such as:
`E0707 08:26:55.133509       1 leaderelection.go:330] error retrieving resource lock flux-system/flux-kluctl-controller-leader-election: leases.coordination.k8s.io "flux-kluctl-controller-leader-election" is forbidden: User "system:serviceaccount:flux-system:flux-kluctl-controller" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "flux-system"`
`E0707 08:26:55.133509       1 leaderelection.go:330] error retrieving resource lock flux-system/flux-kluctl-controller-leader-election: leases.coordination.k8s.io "flux-kluctl-controller-leader-election" is forbidden: User "system:serviceaccount:flux-system:flux-kluctl-controller" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "flux-system"`
 "system:serviceaccount:flux-system:flux-kluctl-controller" cannot list resource "kluctlmultideployments" in API group "flux.kluctl.io" at the cluster scope
W0707 08:11:52.704337       1 reflector.go:324] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:158: failed to list *v1alpha1.KluctlDeployment: kluctldeployments.flux.kluctl.io is forbidden: User "system:serviceaccount:flux-system:flux-kluctl-controller" cannot list resource "kluctldeployments" in API group "flux.kluctl.io" at the cluster scope
E0707 08:11:52.704386       1 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:158: Failed to watch *v1alpha1.KluctlDeployment: failed to list *v1alpha1.KluctlDeployment: kluctldeployments.flux.kluctl.io is forbidden: User "system:serviceaccount:flux-system:flux-kluctl-controller" cannot list resource "kluctldeployments" in API group "flux.kluctl.io" at the cluster scope

Additional info:
Kluctl-controller was installed with:
 kustomize build "https://github.com/kluctl/flux-kluctl-controller/config/install?ref=v0.3.0" | kubectl apply -f-
If this was wanted setup for some plans in the future, please disregard this PR or close it :)

After some more research, you might have been a victim of https://github.com/kubernetes-sigs/kustomize/issues/3430, which was later fixed in https://github.com/kubernetes-sigs/kustomize/pull/3441

Hi @codablock , yes, you are right, after upgrading to newer kustomize, it appended correctly. Thanks.
Closing.


RangeError (end): Invalid value: Only valid value is 0: 5

In the App Screen, it has 3 TextFormField s where user can enter details to login to app.
As per report from client user, App getting below error.
---------- ERROR ----------
RangeError (end): Invalid value: Only valid value is 0: 5

------- STACK TRACE -------
#0      RangeError.checkValidRange (dart:core/errors.dart:338)
#1      _StringBase.substring (dart:core-patch/string_patch.dart:393)
#2      TextRange.textBefore (dart:ui/text.dart:2785)
#3      RenderEditable.deleteByWord (package:flutter/src/rendering/editable.dart:1194)
#4      _DeleteByWordTextAction.invoke (package:flutter/src/widgets/default_text_editing_actions.dart:99)
#5      ActionDispatcher.invokeAction (package:flutter/src/widgets/actions.dart:518)
#6      ShortcutManager.handleKeypress (package:flutter/src/widgets/shortcuts.dart:830)
#7      _ShortcutsState._handleOnKey (package:flutter/src/widgets/shortcuts.dart:1171)
#8      FocusManager._handleKeyMessage (package:flutter/src/widgets/focus_manager.dart:1761)
#9      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:830)
#10     BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:73)
#11     BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:72)
#12     _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:379)
#13     _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:376)
#14     _invoke2.<anonymous closure> (dart:ui/hooks.dart:205)
#15     _rootRun (dart:async/zone.dart:1428)
#16     _CustomZone.run (dart:async/zone.dart:1328)
#17     _CustomZone.runGuarded (dart:async/zone.dart:1236)
#18     _invoke2 (dart:ui/hooks.dart:204)
#19     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42)
#20     _Channel.push (dart:ui/channel_buffers.dart:132)
#21     ChannelBuffers.push (dart:ui/channel_buffers.dart:329)
#22     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:544)
#23     _dispatchPlatformMessage (dart:ui/hooks.dart:92)

Flutter version details
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.22000.556], locale en-IN)
    • Flutter version 2.5.3 at D:\flutter_sdk
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 months ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\praveenb\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2021.1)
    • Android Studio at D:\Android_bumble
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] Connected device (3 available)
    • Redmi 7 (mobile) • de84976b • android-arm64  • Android 10 (API 29)
    • Chrome (web)     • chrome   • web-javascript • Google Chrome 99.0.4844.51
    • Edge (web)       • edge     • web-javascript • Microsoft Edge 99.0.1150.39

! Doctor found issues in 1 category.

Please need help to resolve this issue

Please check:
https://stackoverflow.com/questions/54977982/rangeerror-index-invalid-value-valid-value-range-is-empty-0

Please check:
https://stackoverflow.com/questions/54977982/rangeerror-index-invalid-value-valid-value-range-is-empty-0

ListBuilder not used in the app screen. So issue not related to it.
It seems issue is happening when editing Text in TextFormField and i see its invoke a method  _DeleteByWordTextAction.invoke as per crash log causing the issue.

Hi @praveenb, your flutter doctor shows that you're on an older version of flutter, can you upgrade to the latest version of stable(2.10.3) to see if this issue still reproduces?
If it does, can you please provide a complete minimal reproducible code sample, the updated flutter doctor -v as well as steps to reproduce?
Thank you


Move Styling to Tailwind-RN alongside RNE

I have used https://github.com/vadimdemedes/tailwind-rn previously and didn't need to write so much stylesheet stuff, tailwind is heaviliy readable as well. Opinions? Comments?

I have never used tailwind, so I don't have a particular experience or strong input with that option, but we used to use https://www.npmjs.com/package/react-native-extended-stylesheet before.
I remove the use of this library maybe 6 month-ish ago because it was not based on typescript, and so we would not know if we are using invalid type.
it seems this library is similarly unmaintained, so I'm not sure we should really go that path.

a look at the issues shows the issues popping regarding the fact the library is unmaintained on types and new features: https://github.com/vadimdemedes/tailwind-rn/issues


This is strange, I'm not sure a docker expert; probably You need to refresh docker cache or sth (https://forums.docker.com/t/how-to-delete-cache/5753) ?
It doesn't seem to be related to Vue Storefront - i've tested docker file even today and it went just fine


Add method to export trash path (issue #38)

Description
Up to now, there is no way of knowing where the files are going when removed. Of course you could use this specification, but doing that would require to duplicate the code for getting the trash directory on every user.
Possible solution
To fix this, public method thrash_path() has been added to the public API along with tests and documentation. This methods returns the same Trash directory that the crate uses for removing files.
Fixes issue #38.

Closing due to inactivity.


Search by multiple properties

<autocomplete-vue
    :list="[{name: 'item1', type: 'factory'}, {name: 'item2', type: 'office'}, {name: 'item3', type: 'factory'}]"
    placeholder="Autocomplete"
    property="{name, type}"
></autocomplete-vue>

Essentially that is what I want to be able to do if it's possible. Search by multiple properties of a object. In this case both name and type.

Sounds good, could you make a PR?

I've created a pull request for this issue


Support app/group config replacement instead of only updates (PUT semantics)

Currently, PUT requests on apps or groups update current app definitions instead of replacing them. If the app already exists, only the fields mentioned in the request are updated. If a field is not mentioned, it will not be removed but it remains unchanged.
If you want to delete a field, it is not possible. Even setting it explicitly to null in the JSON does not work. You have to delete the app definition first and thus cannot perform a rolling update.
It would be very nice if you could specify a complete definition which completely replaces an old one. This way the app definition could be a build artefact. The developer adjusting the build artefact doesn't have to think in terms of all possible upgrade paths but only has to specify what he wants in the future.
We cannot just change the semantics of our PUT requests without breaking API compatibility but I propose to
[update] add a boolean parameter replace. The value false would correspond to the current semantics and remain the default. If you want to replace an app definition completely, you would use PUT /v2/apps/service1?replace=true instead of PUT /v2/apps/service1.
[initial version] add a Parameter op which can be either update or replace. update would correspond to the current semantics and remain the default. If you want to replace an app definition completely, you would use PUT /v2/apps/service1?op=replace instead of PUT /v2/apps/service1.
Example: Updating an App to a Dockerized Version
Start a simple non-docker app:
PUT /v2/apps/service1 HTTP/1.1
<some headers>

{
    "cmd": "python -m SimpleHTTPServer $PORT0",
    "cpus": 0.0001,
    "id": "service1",
    "instances": 1,
    "mem": 32,
    "ports": [
        0
    ]
}

HTTP/1.1 201 Created
<some headers>

{
    "deploymentId": "552a0b26-9674-4c5d-a39d-528c0db25cf0",
    "version": "2015-04-22T10:11:16.105Z"
}

Now try to upgrade it to a dockerized version:
PUT /v2/apps/service1 HTTP/1.1
<some headers>

{
    "args": [
        "python",
        "-m",
        "SimpleHTTPServer",
        "8080"
    ],
    "cmd": null,
    "container": {
        "docker": {
            "image": "python:2.7",
            "network": "BRIDGE",
            "portMappings": [
                {
                    "containerPort": 8080,
                    "hostPort": 0,
                    "protocol": "tcp",
                    "servicePort": 0
                }
            ]
        },
        "type": "DOCKER"
    },
    "cpus": 0.0001,
    "id": "service1",
    "instances": 1,
    "mem": 32
}

HTTP/1.1 422
<some headers>

{
    "errors": [
        {
            "attribute": "",
            "error": "AppDefinition must either contain one of 'cmd' or 'args', and/or a 'container'."
        }
    ]
}

If you DELETE the app first and repeat the second request, it works.

@ssk2, @ConnorDoyle For your client, it would also be nice to be able to replace app definitions fully instead of patching them. What do you think?

That makes sense. I'd rephrase the parameter name to "replace=true" and leave update as the default behaviour (it's more intuitive than "op") - what do you think?

@ssk2 makes sense. For me it's equally good. If it is better for you, then it's reason enough for me to change that.

@ssk2 I checked the description above to match your proposal (hopefully ;) )

Looks good :)

whether this issue has solution?  marathon version 1.1.0 still confront the bug. can  any one help me ?

+1, wishes actually add replace=true feature to make it works.

The Marathon 1.4.0 release notes mention that PATCH semantics for PUT will be deprecated and replaced by a proper distinction.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4745. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Flickr still not working

Ripme version: 1.7.92
Java version: 1.8.0_251
Operating system: Windows 10
Exact URL you were trying to rip when the problem occurred: https://www.flickr.com/photos/148163890@N02/ but any profile returns this error
Please include any additional information about how to reproduce the problem:
Probably related to other issues with Flickr but I've noticed that they all have normal usernames while the ones I see now are a bunch of numbers. Not sure if that means anything but it could be the structure of the site has changed?
Expected Behavior
The entire photoset gets downloaded.
Actual Behavior
Downloading https://www.flickr.com/photos/148163890@N02/
Downloading next page
Rip complete, saved to E:\rips\flickr_148163890_N02

This is just my issues post but on Windows 10. Still no fix for it I guess


Support of the session engine with Redis

This PR adds the support of the session engine with Redis for the Omero  web role
It includes an example of deploying the web client with the Redis session engine in the readme file.

In general big :+1: for adding Redis to the example. See also #43 for a possible alternative approach usingomero-web[redis]
What puzzles me though is that the IDR deployment playbook seems to install django-redis without any extra task. So far  I cannot find where the installation happens

where the installation happens

We have a specific redis role, so maybe that is how ? At least this is how (via the role) I install redis in the learning playbook.

So far I cannot find where the installation happens

https://github.com/IDR/deployment/blob/825c70b6b778e76d9efbee0aea492d967c0f3753/ansible/idr-omero-web.yml#L7 ?

We have a specific redis role, so maybe that is how ? At least this is how (via the role) I install redis in the learning playbook.

The ome.redis role installs the Redis server but that's not sufficient to install the Redis backend for Django sessions.
After a bit of searching, I think I identified how the installation of django-redis happens: omero-mapr depends on omero-web[redis]>=5.14.0 which will install django-redis - https://github.com/ome/omero-mapr/blob/9631b155c44fcec9986b03315dd9f5c5c64aa7eb/requirements.txt#L2.
That's very fragile at best, I completely support bringing this installation at the level of the role, possibly using an variable if we want to make optional.

The ome.redis role installs the Redis server but that's not sufficient to install the Redis backend for Django sessions.
After a bit of searching, I think I identified how the installation of django-redis happens: omero-mapr depends on omero-web[redis]>=5.14.0 which will install django-redis - https://github.com/ome/omero-mapr/blob/9631b155c44fcec9986b03315dd9f5c5c64aa7eb/requirements.txt#L2. That's very fragile at best, I completely support bringing this installation at the level of the role, possibly using an variable if we want to make optional.

Understood and makes sense, thanks for explanation.

@pwalczysko that will make sense especially we want to decommission mapr

I have added a variable to control adding the support of the Redis session engine, i.e. omero_web_setup_redis_session. The variable default is false, so you may not change any of the current installation ansible-playbooks which install the package.
What do you think?


Order of "Group by" field items is reset after refresh / back+forward / switch between main tabs

Order of "Group by" field items is reset, but filtering of cards remains correct.
Steps:

Log in and go to a tab that has "Group by" filter (e.g. Images)
Select two or more items in filter "Group by" and change their order
Refresh of page / Back + Forward / Switch between main tabs

Actual result: Order of "Group by" field items is reset
Expected result: Order of "Group by" field items is saved
Connected feature: vm_list_groupby, image_list_groupby, storage_list_groupby, volsnapshot_list_groupby, account_list_groupby
Screenshots:
Before refresh / back+forward / switch between main tabs

After refresh / back+forward / switch between main tabs

Regression:
vm_list_groupby, image_list_groupby, storage_list_groupby, volsnapshot_list_groupby, account_list_groupby, sshkey_list_groupby

After refresh / back+forward / switch between main tabs checked options in "Group by" moved to beginning of the list

@chewlite @tamazlykar let's stick to current solution. A comment of @chewlite will be considered inrefactoring where we use ngrx/store in "group by" components.


Add an admin panel

As we start collecting user-generated content, it will be useful to make small ad-hoc fixes to database data or ban/block problematic users without needing a CLI.

Closed in 4780657f.


selecting drivers when using Webcam wc = new Webcam

I would like to be able to specify that my 2-cam system use USB 2.0 as the system driver.  I would prefer not to use the General UVC & USB 2.0, one-for-each camera, that comes up as the default.
QUESTION;  1) Is it possible to invoke the USB 2.0 driver n-times?,  2)  Is there example code demonstrating how to invoke a particular driver?, and 3) How do I get the system name of the driver I want to invoke?  DETAIL: I am coded using the basic Webcam wc = new Webcam () pattern.  (Example follows.)
Your code is stable and has made my project possible.  Thank you.
Maelzel
EXAMPLE:
int item = 0;
for ( Webcam webcam : Webcam.getWebcams () )
{
webcam.setViewSize ( WebcamResolution.VGA.getSize () );
if ( item == 0 )
cameraRight = webcam;
if ( item == 1 )
cameraLeft = webcam;
item++;
}

Hi @orouly,
I do not understand to what kind of drivers you are referring to as USB 2.0 driver and General UVC driver. In Webcam Capture API you only have abstraction, something called capture driver, which is not the same as the low-level USB/UVC drivers used by the operating system. Webcam Capture API has nothing to do with USB in general, and there is no code to differentiate USB/UVC. Webcam Capture API utilizes the idea of capture frameworks. The capture framework abstracts API installed or pre-installed in operating system (e.g. DirectShow, GStreamer, V4L, etc), or HTTP client in case of IP cameras, which is used to access webcam devices which are exposed by these frameworks. The exposure of native webcam devices through capture framework is different in each case, and the goal of Webcam Capture project is to provide simple and unified API, so users does not have to deal with different implementations when integrating webcam in their applications. Instead, when you would like to migrate from one capture framework to the other (e.g. from DirectShow to GStreamer or OpenCV) you can simply switch the capture driver used by the project without rewriting your code.

Yes, thank you.  That's what I thought.
Best regards, and thanks again for the library.

Hi again @orouly,
From your code example I suppose that you would like to select webcam by name? Is this correct? In this case this is what you should do:

Iterate over all available webcams and save their names:

for (Webcam webcam : Webcam.getWebcams()) {
	System.out.println(webcam.getName());
}

This will output something like (names format differs between operating systems, this one is from Linux).
Integrated Camera /dev/video0
HD Webcam /dev/video1

These names will most likely be different in your case, but now you can use these names to access specific webcam without doing for/each loop. The names will not change if you keep the webcams on the same USB ports as they were connected when you listed them.

Select webcam by names:

Webcam cameraLeft = Webcam.getWebcamByName("Integrated Camera /dev/video0");
Webcam cameraRight = Webcam.getWebcamByName("HD Webcam /dev/video1");

Please let me know if you have any further questions.

Sarxos,
In that last post I answered my own question: I suspected a HW issue... 3 or my 4 cams were using the PID3232 instance.  So, I ran a test with 2 of those 3 and found the following per your suggestion.

Sarxos,
In that last post I answered my own question: I suspected a HW issue... 3 or my 4 cams were using the PID3232 instance. So, I ran a test with 2 of those 3 and found the following per your suggestion.
[main] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used
CAM NAME BASE: GENERAL - UVC  0
CAM NAME 0: GENERAL - UVC  0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam GENERAL - UVC  0
INFO: Right camera found.
Preparing camera.  Done.
INFO: Camera ready.
CAM NAME BASE: GENERAL - UVC  1
CAM NAME 1: GENERAL - UVC  1
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam GENERAL - UVC  1
INFO: Left camera found.
Preparing camera.  Done.
INFO: Camera ready.
Apparently, the iteration scheme I wanted was available all along.  I had avoided it because the cams that use the GENERAL UVC driver produce undesirable side-effects in their images.  However, by forcing the question and using 2 of the "poorly performing cams" I discovered the desired iteration.
Thank you for your time, patience, and above all your code.
Cheers


Matrix Multiplication added

Without any Module
Verifying result using Numpy

renamed the file as README.md description  @Aman22sharma


[Snyk] Security upgrade next-remote-watch from 1.0.0 to 2.0.0

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json
package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  696

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

👷 Deploy Preview for tubular-mochi-1fdb3f processing.

Name
Link

🔨 Latest commit
a6ace38c26aaf2267269ce7df261e1b306d398f0

🔍 Latest deploy log
https://app.netlify.com/sites/tubular-mochi-1fdb3f/deploys/66e40f97602b280008b501b7


Can't move to nested tasks in filter or search list

While viewing a task list from a filter or search when there are sub-tasks you can use h/l to open and collapse the parent, but you can't navigate up or down to the sub-tasks with j/k. If there are tasks at the same indention as the parent below the sub-tasks it jumps to the next task at the same indention as the parent when navigating down (j) and back to the parent when navigating up (k).

Thanks for reporting this issue.  It's now fixed in version 46.
While looking into it I encountered some other issues - #65 - where the best resolution seemed to be to only use the blue cursor, rather than attempting to use the drag handle.


Implemented multithreading to compile pages

All Submissions:

[x] Have you followed the guidelines stated in CONTRIBUTING.md file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

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

New Feature Submission:

[x] Does your submission pass the tests?
[x] Have you linted your code locally prior to submission?

Changes To Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.
     Make the page compile process multithreaded

b. Describe your changes.
     This PR intends to make the compile pages function multi threaded make the compile process much faster

closes #1133

Hi @Alek99, could you review my PR?

I did a rapid test of this PR with pcweb.
By timing the execution time of compile, there is no significant improvement.
[13-15 sec of runtime with and without the PR].
Your PR also throw some errors in that case.


License of included graphics.

I failed to find a dedicated license for the included graphics, so what is the license of the included graphics (f.e. the Office icon pack)?

The reason I ask is as that is important to know for all created drawings. Because any drawing that uses these icons has to adhere to the license of them.

We perform due diligence on the license to all shape sets that we use and derive from to check that adding them to a diagram is:

Legally allowed for all cases
Does not require attribution

Might be worthwhile to mention that in the README or LICENSE file, knowing an exact source and license would be nice though. For example, that doesn't answer whether derivations for commercial usage would be allowed.


replace frodobuf with wasmbus for webassembly imports

my first elixir pr!

It appears that the code in these files works for both wapc and wasmbus module names. So it doesn't preclude codegen that uses the (pre-otc) wapc namespace. It just replaces frodo/frodobuf, which is already deprecated, with wasmbus.

@stevelr this is approved, feel free to merge (squash and merge please)


docs(locators): protractor stye docs for click, className, css, id, name, partialLinkText, and xpath

…className, css, id, name, partialLinkText, and xpath

Commit message is wrong.  Otherwise LGTM


CI when miri is not available for the most recent nightly

As seen in https://rust-lang-nursery.github.io/rust-toolstate/ and https://rust-lang.github.io/rustup-components-history/, the miri rustup component is not always available in every nightly. Currently when this happens, CI on PRs to this repo fails in the "Build miri tool container" job, which is not a good contributor experience, since this failure has nothing to do with the content of the PR.
Currently the miri container is built FROM shepmaster/rust-nightly, which is the most recent nightly, not necessary the most recent nightly that supports miri:
https://github.com/integer32llc/rust-playground/blob/5ff43d72affe1eff0293c47241c51e3603ad9811/compiler/miri/Dockerfile#L1-L2
I would propose that we instead build it FROM shepmaster/rust-nightly-miri, which will be conditionally pushed by the same job that pushes shepmaster/rust-nightly. Basically the job will push shepmaster/rust-nightly, then run docker run shepmaster/rust-nightly rustup component add miri and if the exit code is 0, then push the same container as shepmaster/rust-nightly-miri. This way shepmaster/rust-nightly-miri will always track the most recent nightly that supports miri, and not get updated during intervals that miri is unavailable on nightly.


Mapping between 'id' and 'series_id'

Is there a mapping between 'id' (an integer) and 'series_id' (a string) ?  Some functions require one or the other.  Thank you.

Not exactly. FRED offers various identification numbers, and each number has a particular purpose. In some cases, a relationship exists among identification numbers. For instance, series are associated to categories, so the string identification number assigned to a series may be mapped to the integer identification number of its parent category. However, you definitely cannot use the integer identification number for a category in a function that's built to query a series. That's just how the API works.


Move boolean/equals to value/equals

This commit moves boolean/equals to value/equals to ensure predictability of the input types (#42).
The commit also fixes a typo in the equals() specification.

Nice! Thanks!


Write a debriefing document

After our first meeting, it's necessary to write a debriefing document to show our client we understand the assignment.

The document is added to the wiki and sent to our client.


06/11/2018 21:42 : Create Pull Request for branch master -> prTesting1_2018061121

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Decide on the type of the second argument of ldexp

In Metal, SPIRV-GLSL.std.450 and GLSL it is int.
But in HLSL documentation it is float.
For now I am following HLSL in this, but we should check what exactly it does and if anyone uses it that way.

Myles checked, and ldexp(1, 3.5) returns 11.31 in HLSL. So it really accepts its second argument as a float.


Typo in repository name

This repository is named vpn-gateway-strongwswan (note the extra w between strong and swan), which makes use of strongSwan. So, should it be named vpn-gateway-strongswan instead?

You are correct.  While we publish a second blog post addressing configuration of certificate-based authentication, I'll fix the repository name and update the first blog post.  This should occur in the next few weeks.

@junkangli - FYI - I just renamed the repo to remove the extra "w". The associated blog posts' references to the repo are also in the process of being updated. Thanks for filing this issue!


Make Automated Building with Dockerfile or yml

we could use something like HoloISO's Buildroot which builds the iso automatically but i am not sure how i can get the iso and upload it to the Releases page

will add in later versions for 19.1.0