CMaize Startup and Project Class

Is this pull request associated with an issue(s)?
No
Description
This PR writes up some notes about what happens when CMaize is included by the user and describes the design of the CMaizeProject class (an instance of which is created when CMaize is loaded).
TODOs

[ ] Document CMaizeProject.

@zachcran I'm looking at the CMaizeProject class. Do we track which targets are from dependencies and which are part of the project? In particular, I assume that in general the build_targets field will contain a mix of targets that may have either come from a dependency or the project? I also assume that the installed_targets field will only contain dependency targets (because I don't know how you have an installed version of the project you're building already).

Do we track which targets are from dependencies and which are part of the project?

I don't think we differentiate between targets generated from dependencies and targets generated from projects. installed_targets will likely only have dependency targets for the same reasons you gave, but build_targets can have both project and dependency targets in it.

I think this is r2g. I ultimately decided to combine the CMaizeProject and PackageSpecification components into one component (which I just refer to as the CMaizeProject component). This is how the source is laid out anyways. If we stuck with the previous design the CMaizeProject component would just be a single class (PackageSpecification would have been too, though I could see that evolving). This PR did result in some TODOs in #123.


Merge 1.9 into Staging

Don't merge until dev builds

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 12 committers have signed the CLA.:x: lieut-data:x: enahum:x: jarredwitt:x: esethna:x: jespino:x: hmhealey:x: stanchan:x: csduarte:x: saturninoabril:x: jasonblais:x: AndersonWebStudio:x: sudheerDevYou have signed the CLA already but the status is still pending? Let us recheck it.


Manual scheduling in compose file is set with "environment" instead o…

Describe the proposed changes
Manual scheduling in compose file is set with "environment" instead of "labels"

Project version

Docker Engine 1.12

@cpuguy83

Thank you!

Not fully fixed, please check #382 .

Not fully fixed, please check #382 .


In order to assert an asynchronous request I would like to extract a BLOB from the database

Hi Christoph,
thanks for this great framework. I would like to extract an asynchronous response from our BAM database (caused by a complex and unchangeable setup which does not run locally ...) . Unfortunately this is not due to the toString() call in
https://github.com/christophd/citrus/blob/master/modules/citrus-core/src/main/java/com/consol/citrus/actions/ExecuteSQLQueryAction.java#L155
Stopping at this line with a break point will give me the following:

column.getValue() => [60, 115, 111, 97, 1...
column.getValue().getClass() => class [B
column.getValue().toString() => [B@34552700

I know this can be dangerous as the byte[] can be huge but in my case this is unfortunately the only case (as long as the infrastructure will not change :-( )
If you need any further information, please don't hesitate to ask.
Cheers,
Andreas

I can even fix that by myself if you tell me how you would like to have it :-)

It really makes no sense to store the byte array object hash string as value with its toString() representation. I have added an automatic base64 encoding so that the byte data is storable as string. You can access the data with decode base64 function for further usage.
This could lead to huge amount of data loaded to the memory, but at the moment we can not pass a data handler or input stream object to the test variables and use them later on. So we have to deal with loading the data to the memory for now.

I have already tested your solution and it is working. Thanks for fixing.


e2e test catch panic in client utils init-genesis call

in #1163 we ran into an issue that caused client utils init-genesis to panic, but e2e tests were failing without reporting the panic in the client, e.g.:
No unread output for command: "anoma/target/debug/anomac" "--base-dir" "/var/folders/8n/xzxk5c154qzg_chndqmzgfdr0000gp/T/.tmpNCrj6l" "--mode" "validator" "utils" "init-network" "--unsafe-dont-encrypt" "--genesis-path" "/var/folders/8n/xzxk5c154qzg_chndqmzgfdr0000gp/T/.tmpNCrj6l/e2e-test-genesis-src.toml" "--chain-prefix" "e2e-test" "--localhost" "--dont-archive" "--allow-duplicate-ip" "--wasm-checksums-path" "anoma/wasm/checksums.json"
Error:
   0: EOF was reached; the read may successed later

this only seems to happen with expectrl (#1095), rexpect didn't have this issue


Create UI to tell the player about mod updates

Did a start of this with Helper Tips and Rainbow Brush in #580.


Assoc helper, batch id and query fun

With the introduction of the query fun support to tailor the batch query, I am wondering if it shouldnt be used to compose the batch id.
Suppose we have 2 fields which use the same ecto field but with 2 different queries. My understanding is that because they share the same batch id, only one of those 2 queries will run and those 2 fields will end up with the same value.
@benwilson512 what do you think ?

Hey @benwilson512 , whenever you get the chance, would appreciate your feedback on this, thanks in advance.

Hey @tlvenn apologies for the delayed response, it seems this package isn't hooked up to our slack room properly so I was missing notifications.
Just to make sure I understand the question properly, can you illustrate a quick example of what you mean? The absinthe_ecto batch key includes all of https://github.com/absinthe-graphql/absinthe_ecto/blob/master/lib/absinthe/ecto.ex#L163 which actually does include the generated query.

I will say, I'm not sure that this approach is sustainable. For example, this may already break with a query like:
assoc(fn query, args, info ->
  last_week = DateTime.utc_now |> subtract_one_week()
  query |> where([x], x.created_at > ^last_week)
end)

by recomputing the last_week time for every child there's a good chance the value will differ by some small amount by the time we've gone from the first child to the last, and we'll have multiple batches. Now, there are ways to write this via fragments that use NOW() in the DB or whatever but this quickly becomes a very subtle trap for folks.
It's also an issue for the DataLoader approach which, since you can ask for several things at once, requires that the user be able to supply the batch key in order to pull out the right result. But that may be really a different discussion.

Ha yes my bad, somehow got confused with the id variable above and my mind projected it as the batch id somehow ;)
Regarding your latest comment, I think it fails in the realm of limitation of the approach (similar to limit) and as far as the user is aware, it should not be too much of an issue but it definitely deserves to be documented.


Account deletion request v2

Supersedes https://github.com/biocore/microsetta-interface/pull/225

@cassidysymons All relevant changes migrated from the old PR. Haven't tested this locally yet. Will do so later tonight.

Created a new microsetta_private_api environment using master-overhaul branch and recreated errors seen in CI. Currently debugging each in turn. Will keep you posted.

@cassidysymons This fix requires one small fix to microsetta-private-api as well. Putting together a PR for that now.

test_existing_user_to_secondary_survey() is failing in CI but not locally. Comparing local and CI environments for any differences.

@cassidysymons I can't recreate the test_existing_user_to_secondary_survey() failure locally after reviewing the CI configuration, and using both master-overhaul and master branches of private-api. I've added two lines of code to return the entire result of the API call so I can determine what is being sent. If you don't mind, can you please rerun the integration test in CI so I can capture the result? Thanks!

@cassidysymons Thanks! I looked at the run and it doesn't look like the full result printed out, even though it does locally and even though self.maxDiff = None. I'll think of something else.

@cassidysymons It took some doing, but I was able to run and debug the Github workflow locally using https://github.com/nektos/act. I did have to modify the workflow significantly as act doesn't support services, and forced microsetta-private-api to pull master-overhaul branch, but I was able to confirm that the result included consent text. I believe this should pass all tests as long as master-overhaul branch of private-api is used.

@charles-cowart Thanks for getting that resolved! I'll give the PR a once-over in the morning and make sure it doesn't need anything else.


fix network interfaces names in conftest.py

Set network interfaces names according to the OS distribution in conftest.py

jenkins test pipeline


Show ProgressDialog while fetching Playlists

Added a ProgressDialog to show while the Playlists load.
Display a Toast if there is no Internet Connection.
Added Permissions to Access the Network and WI-FI State.

Updated the changes required

Thank you for your contribution! :)


UIScroolView as Pager into parallaxHeader

Hi,
I'm trying to insert in the header a image carousel (using a UIScrollView with paging enabled) and not only a single image.
The vertical scroll is ok but it is not possible to swipe horizontally the images on the header.
Seems that the pan gesture is not propagating events to the UIScrollview in the header view.
How can I solve?

Ok i've solved. I forgot to enable scrolling on the pager scrollview. Sorry for post!

Ok i've solved. I forgot to enable scrolling on the pager scrollview. Sorry for post!


Clap bridge doesn't seem to work

Request
I'm new to carapace-bin, but have been pleasantly surprised. I discovered that most Cobra-based software built with Go work by merely adding a %APPDATA%/carapace/bridges.yaml file:
---
cscli: cobra
flux: cobra
forwarder: cobra
rclone: cobra
shiori: cobra
trivy: cobra

This works amazing, with the exception of one tool cscli that has duplicate entries. However, I've tried the clap-based bridge with multiple programs now and none of them seem to work. I'm not sure if this is a documentation issue, where I just don't know how to use carapace-bin correctly, or some other limitation.
Proposed solution
Document the clap-based bridge and add options to make it compatible with multiple clap-based programs that provide completion (e.g. ruff, rye, ludusavi, wasmer, etc.)
Anything else?
No response

Polar

Ah yes, I should add a notice on that.
The bridge relies on the Rust-Native Completion Engine in clap which is still under development.
Best way for clap based commands at the moment is to scrape them with carapace-spec-clap.

cscli is https://docs.crowdsec.net/docs/cscli/ ?


Handle array types when checking JSpecify assignment compatibility

#715 added initial checking for JSpecify subtype compatibility at assignments, but I don't think it handled generic array types.  Example:
Foo<@Nullable String>[][] x = new Foo<String>[3][4];

We should get an error for the above, but right now I don't think we do.
In fixing this problem, we should probably switch to using a TypeVisitor to do the checking, rather than using our own recursive routine.  That way we could more cleanly handle generic types nested in arrays, passed as type arguments, and possibly any other type of nesting.
/cc @NikitaAware

Thanks. I will try to update accordingly


[FLINK-16438][yarn] Make YarnResourceManager starts workers using WorkerResourceSpec requested by SlotManager

What is the purpose of the change
This PR is one step of FLINK-14106, making YarnResourceManager starts workers using WorkerResourceSpec requested by SlotManager.
This also means YarnResourceManager no longer:

be aware of the default task executor resources
assumes all workers are identical

This PR is based on #11323.
Brief change log

5ee2a8ece3eefb4726618ed31a05a2e11737b57a..d7a0626255f2445cfe20dcb7bab1aede3af4b0d7: Commits from previous PR.
2f2053259d86240c56ad4498eadae237ab30e979..4e214f940b187704d0599b15380b78094b7ad7a8: Refactoring YarnResourceManagerTest, getting rid of using of Mockito.
ef959ec03f964ceb0664388b4b72c8eac5773fbd: Introduce WorkerSpecContainerResourceAdapter for converting between Flink WorkerResourceSpec and Yarn container Resource in YarnResourceManager.

This is to address the problem that resource of containers allocated from Yarn can differs from what were requested.

785558f7c2944cb50e57e191a242c5e981ab42b7: YarnResourceManager starts workers with resources requested by SlotManager.
0c5eb8c3d46d2142f9dd64acfaba9d27102ad3f2: Remove unused TaskExecutorProcessSpec from ActiveResourceManager.

Verifying this change
Added test cases in YarnResourceManagerTest, for:

Validating behaviors of WorkerSpecContainerResourceAdapter.
Validating YarnResourceManager dealing with workers with different resources.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot run travis

Rebased to resolve conflicts.

@tillrohrmann, thanks for the review.
Regarding hiding pendingWorkerCounter behind ActiveResourceManager methods, I think this is indeed a good suggestion. Just trying to confirm which methods the base class should expose before working on the implementation. I think the following methods would be good enough. WDYT?

getNumPendingWorkers()
getNumPendingWorkers(WorkerResourceSpec workerResourceSpec)
notifyNewWorkerRequested(WorkerResourceSpec workerResourceSpec)
notifyNewWorkerAllocated(WorkerResourceSpec workerResourceSpec)

BTW, I was trying to split the changes for K8s/Yarn into 2 PRs (#11323 for K8s and this one for Yarn) to make the review easier. I mentioned in the PR description that this PR is based on #11323, but I guess it's not obvious enough. So, would you prefer that I address the comments related to k8s in #11323, or just keep them together in this PR? I'm ok with both ways.

I would name the methods the following:

getNumPendingWorkers()
getNumPendingWorkersFor(WorkerResourceSpec workerResourceSpec)
notifyNewWorkerRequested(WRS wrs)
notifyNewWorkerAllocated(WRS wrs)

I actually think that neither the Yarn nor the K8s RM implementation should need to call these methods if we did the abstraction correctly. This is of course unrelated to these PRs. I believe that we could move a lot of functionality from the specific implementation into the parent class.
I don't have a strong preference concerning how to split the changes. Do what's easiest for you.

@tillrohrmann
I have addressed the comments. Please take a look.
This PR has been rebased onto recent master, for conflict resolving.
A hotfix commit has been added to fix that PerJobMiniClusterFactory improperly calculate numSlotsPerTaskManager, introduced by FLINK-16705.

Rebased onto the latest state of #11323.


hono/combine compatibility

It would be really nice if you could somehow use hono/combine with the hono-openapi middleware. In my case I want to build an opinionated high-level abstraction to reduce the boilerplate on each route.
Currently this does not work because the OpenAPI schema is stored to the prototype of the middleware function and wrapping it causes this information to be lost.
I suspect the easiest way to support this would be for hono-openapi to expose it's own hono-openapi/combine module because I think alternatives would require the OpenAPI schema's to be stored somewhere else and I am not sure if any other options exists that would be viable.
Thanks for this awesome project!

This is a good idea, but implementing it poses significant challenges without relying on some form of global storage. Even if we attempt to create a version of hono/combine tailored for this purpose, it would likely fall outside the scope of this project.
The main issue lies in how we generate the OpenAPI specs. The current approach relies on static generation, which doesn’t account for dynamic runtime conditions like those defined in some or every. These conditions require running the middleware functions to determine which validations are applied—a process that's not feasible during static spec generation.
Moreover, even if we manage to address this, there’s a high risk the final generated spec won’t comply with OpenAPI standards, given the complexities of conditional middleware.
That said, I’d love to explore this further if you have a concrete proposal or workaround in mind. Feel free to submit a PR with your idea


Add a "compute" type converter to the Define plugin

Currently you can set/get a can.compute's value with can.Map.prototype.attr if it is defined as a property of the map's prototype. Example:
var MapWithCompute = can.Map.extend({
  computed: can.compute(0, function (newVal, oldVal) {
      if (typeof newVal !== 'undefined') {
          return newVal;
      }
      return oldVal;
  })
});

var m = new MapWithCompute({
    computed: 1
});
console.log(m.attr('computed')); // -> 1

m.attr('computed', 2);

console.log(m.attr('computed')); // -> 2

http://jsfiddle.net/akagomez/90ottotb/
However, if you set the value of a property on a can.Map to a can.compute using can.Map.prototype.attr, the API for setting/getting that can.computes value changes. Example:
var MapWithCompute = can.Map.extend({});

var m = new MapWithCompute();
m.attr({
    computed: can.compute(0, function (newVal, oldVal) {
        if (typeof newVal !== 'undefined') {
            return newVal;
        }
        return oldVal;
    })
});
console.log(typeof m.attr('computed')); // -> function
console.log(m.attr('computed')()); // -> 0

m.attr('computed', 2);

console.log(m.attr('computed')); // -> 2
console.log(typeof m.attr('computed')); // -> 'number'

http://jsfiddle.net/akagomez/jt9x7kmr/
This is due to the fact that can.Map.prototype.attrsets/gets the value explicitly, per #530.
By adding a "compute" type to the Define plugin (and extending can.Map.prototype.___set) I was able to process can.compute's that are set with can.Map.prototype.attr in the same way that can.computes are processed on the prototype with can.Map.prototype.setup.
This enables us to do things like this:
var ToggleMap = can.Map.extend({
	define: {
		computable: {
			type: 'compute'
		}
	}
});

var toggleCompute = can.compute(false);

var sharedToggle1 = new ToggleMap({
	computable: toggleCompute
});

var sharedToggle2 = new ToggleMap({
	computable: toggleCompute
});

var soloToggle = new ToggleMap({
	computable: false // Converted to can.compute
});

console.log(sharedToggle1.attr('computable')); // -> false
console.log(sharedToggle2.attr('computable')); // -> false
console.log(soloToggle.attr('computable')); // -> false

// Update a reference to the compute
sharedToggle1.attr('computable', true);

console.log(sharedToggle1.attr('computable')); // -> true
console.log(sharedToggle2.attr('computable')); // -> true
console.log(soloToggle.attr('computable')); // -> false

// Update a reference to the compute
sharedToggle2.attr('computable', false);

console.log(sharedToggle1.attr('computable')); // -> false
console.log(sharedToggle2.attr('computable')); // -> false
console.log(soloToggle.attr('computable')); // -> false

// Update a reference to the compute
toggleCompute(true);

console.log(sharedToggle1.attr('computable')); // -> true
console.log(sharedToggle2.attr('computable')); // -> true
console.log(soloToggle.attr('computable')); // -> false

Closes #1409

This is great... but... docs?

Indeed, this will be super useful. I'm wondering if it's possible to implement without depending on _computedBindings.

I was a little annoyed at how sloppily I was testing this feature, so I cleaned that up a bit.
Also, made it so that functions passed to can.Map.prototype.attr get converted to can.compute's in the context of the can.Map.
@daffl Documentation added. It's a bit more wordy than the other types in the type list, but I think it works (for now).
@justinbmeyer I can't see any way around it due to bind and unbind's dependence on _computedBindings.
However, unless I'm missing something we can replace _computedBindings in can.Map.prototype.setup, can.Map.prototype.__get, and can.Map.prototype.___set with  val.isComputed. Then, account for the fact that the initial _computedBindings.propertyName object may not be defined yet in bind and unbind. They seem to be the only methods that depend on the binding count.
All of that said, I think that should be handled in a separate PR since it works as it stands.

Awesome, :+1: from me! I agree that the refactoring can be done in separately but can you maybe create a follow-up issue for it so that we don't loose track. Thanks!

@akagomez Clean up is fine in this pull request as it may need to be cleaned before it gets added.  I'm going to look at it tonight.

I added some tests for a define get/set that "should" provide the same behavior that this pull request is providing (but without the special type) here:
https://github.com/bitovi/canjs/commit/0e2ab190d95f14b5cf0936990dc1f43725f728b9
This exposes a few problems with can.compute that I'd like to address and should make this functionality easier to implement.
The primary problem is that I'd like to use only one compute to implement this functionality. That compute is the compute.async created by define.get.
The "real" problem is that setting a compute.async doesn't do any actual setting.  There are a few places I've started to fix this:
Fix 1 - a setter should update the cached value when called.
                                        context = options.context || options;
                                        get = options.get || get;
-                                       set = options.set || function(){
-                                               return value;
+                                       set = options.set || function(newVal){
+                                               return value = newVal;
                                        };
                                        //

Fix 2 - When a compute is set, it should not assume that the passed value is the new cached value.  The following makes it call the compute's function to get the actual cached value.
                                // If the computed function has dependencies,
                                // return the current value
                                if (computed.hasDependencies) {
-                                       return get.call(context);
+                                       return value = get.call(context);
                                }

Finally, even when setting a compute the following causes problems:
if (computed.hasDependencies) {
   return value = get.call(context);
}

It calls the compute's function, but is not doing it in a way that re-evaluates the value and might trigger a change event.
Ideally, the code within setupComputeHandlers's onchanged should be rerun. A "set" should be treated similar to a dependent observable changing.
I'm thinking this work should be done in @alexisabril 's can.Compute

can.Compute passes tests #1482

#1486 does this better by giving converters the ability to mixin set and get functions and reworks can.compute so that get can be derived from the result of set.


What is the correct syntax for interpolating a variable inside the filter's interpolateParams?

Subject of the issue
I'm trying to use the translate filter with pluralization and I've gotten it working without any issue when I use static values but can not figure out how to get the filter to recognize scope variables.
Your environment

angular-translate v2.17.0
angular v1.5.7
All browsers

Steps to reproduce
{{ 'SELECTED_ASSIGNEES_COUNT' | translate:"{COUNT: $ctrl.selectedAssigneesCount }":"messageformat" }}
Expected behaviour
$ctrl.selectedAssigneesCount should be interpolated.
Actual behaviour
$ctrl.selectedAssigneesCount is undefined, presumably because there's no reference to the current scope. (https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f)

I've gotten this to work with the directive approach. I suppose I'll have to go that route for now.

@dmigliorisi-we Yep, the filter's scope is undefined for years already. You are encouraged to replace your $ctrl approach with the much more modern way using bind controller.
More refs

https://blog.thoughtram.io/angularjs/2015/01/02/exploring-angular-1.3-bindToController.html

Also you cannot rely on the scope and a on-demand expression as you did with "{COUNT: $ctrl.selectedAssigneesCount }".
This is fine because it uses a pre-evaluated expression (not evaluated within the filter):
{{ 'SELECTED_ASSIGNEES_COUNT' | translate:{COUNT: $ctrl.selectedAssigneesCount }:"messageformat" }}
Maybe you also define messageformat as default which would remove the need of defining it.


fix(account): ensure email exist in account

Email in GoogleSignInAccount object is always null.
On Android, in case, we call configure() without email params (accountName = null), then we failed to fetch accessTokens from getTokens().
When accountName is null, this line (acct.getEmail()) will cause error, i.e. name must not be empty: null.
This fix will allow configure() called without email, but app still can get accessToken from getTokens().
reference: upstream repo and official docs

Closed by https://github.com/ExodusMovement/exodus-mobile/pull/13255

nACK
Automatically adding scopes is not the best practice - explicit passing in is desired & already possible, right? In case we still want to set it automatically we should only do it if accountName is not set

makes sense to me.


increase cURL timeout

Regarding this: https://github.com/concrete5/addon_community_translation/issues/8
I don't get a timeout anymore, but I still can't fetch the translation, 4th attempt!
Working on pt_BR
 - checking Locale entity... updated.
 - working on 5.6.2
   > fetching translations for 5.6.2... done.
   > parsing translations... done (3016 strings).
   > saving... done.
 - working on <IP_ADDRESS>
   > fetching translations for <IP_ADDRESS>... done.
   > parsing translations... done (3024 strings).
   > saving... done.
 - working on 5.6.3
   > fetching translations for 5.6.3... Error in cURL request: Failed to connect to www.transifex.com port 443: Timed out

Whoops, I didn't see this, and I already committed https://github.com/concrete5/addon_community_translation/commit/454c1bb5e4addec428d2eef8ba9d53898588b388

no problem, running the import again to see if it will work. I received a timeout with every attempt so far!


Update hello-cert-trust-validate-pki.md

Corrected section “Lab-based public key infrastructure” PowerShell cmdlet typos.

@maweeras-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Firefox 108 is out & add 110

https://www.mozilla.org/en-US/firefox/108.0/releasenotes/

Version 108.0, first offered to Release channel users on December 13, 2022

Done! Sorry for the delay on that one, had a lot going on lately and somehow missed it.


project sharedqueue efficiency

in your opinion, what is the most efficient way to implement the sharedqueue for scos (for those who did not create an additional manager class)

One way is as such:
you could implement such that when a customer waits at the SC,

you +1 the queue in all SC.
when customer gets served by any SC, -1 the queue in all SC.

the way i designed my queue was that when looping through your queue, looping until the first self check out and handling the queues just at this first self check out!

For me, i only created one instance of a SelfCheckOut and in it, there is an overall ServerID and an ImList of all the available times of the checkouts in it. This way, this one object handles the shared queue. When serving, my one SelfCheckOut instance will search the ImList inside it to see which specific counter should serve the customer.

i created a getQueue() method in my server, then all the SelfCheck counters reads queue from the first self check-out counter; when updating, the first SC queue is updated, all other SCs refer to the queue for generating events

For my implementation, I only initialised the first SCC with a queue and set the max queue of the rest of the SCC to be zero. This way, customer can only queue at the first SCC and each time they arrive and wait at the first SCC, it will check to see if there is any available SCC that can serve (if yes it will be assigned to that SCC)

^Mine is very similar to jianhao's. When seaching for available queues, the method would always ignore sccs except the first since their qmax is 0. Just remember to assign customers in the first scc's queue to other sccs when they become available (you may need your wait or other wait event to check for the earliest available scc)

I felt that queuing has to be handled separately, so I ended up making a Queue Management class.
You can read #665 to learn more about my project implementation.

I simply iterated through all the self checkouts when updating their queues

I also initialized my first SCC with a queue, and the rest have a queue of 0

how does the waiting time works for SCC? when do i add waiting time to my hidden wait , because all my queues are in the first SCC, if i add waiting time it only accounts for the serving time in first SCC and not the rest resulting in other scc being available but unable to serve waiting customer due to changed customer arrival time

Also @citronwhitetea, this is not CS2040 where they are particular about time complexities. The time limits are set in such a way that it only catches infinite loops, not inefficient code.

For me, I checked if the server was an SCO, if it was, then increase/decrease queue for all the other SCO, and that isn't too hard as you know that all servers to the right of the last human server are all SCOs

In my design, I have a single instance of a SelfCheckOut class. Within this instance, there exists a shared queue managed by an overall ServerID. Additionally, there is an ImList containing all available checkout times. This setup allows the SelfCheckOut instance to efficiently handle the queue. When serving a customer, the instance searches its internal ImList to determine which specific counter should attend to the customer.

Project is over, @citronwhitetea...

thank you all for your insightful povs!


mysql password cannot be set to numbers: Expected: string, given: integer

Version: v0.1.0-rc2
UI: v0.1.0-rc2
Env: Ubuntu 22.04 amd64
Test Steps:

Add a mysql module to app. Set password to 123456789 by variable.
Deploy an instance.

Test Result:

Cannot enter numbers as password. auth.password: Invalid type. Expected: string, given: integer

Error logs:
  # module.db.helm_release.mysql will be updated in-place
  ~ resource "helm_release" "mysql" {
        id                         = "db-mysql"
        name                       = "db-mysql"
        # (27 unchanged attributes hidden)

      + set {
          + name  = "auth.password"
          + value = "123456789"
        }
      - set {
          - name  = "auth.password" -> null
          - value = "yDvLRrHz575nCSR9" -> null
        }

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
module.db.helm_release.mysql: Modifying... [id=db-mysql]

Warning: Reference to undefined provider

  on main.tf line 35, in module "db":
  35:     helm       = helm.connector--455181358822588420

There is no explicit declaration for local provider name "helm" in module.db,
so Terraform is assuming you mean to pass a configuration for
"hashicorp/helm".

If you also control the child module, add a required_providers entry named
"helm" with the source address "hashicorp/helm".

(and one more similar warning elsewhere)

Error: values don't meet the specifications of the schema(s) in the following chart(s):
mysql:
- auth.password: Invalid type. Expected: string, given: integer

tf config file:
terraform {
  required_providers {
    helm       = {}
    kubernetes = {}
    random     = {}
  }

  backend "http" {
    address                = "https://xxx/v1/application-revisions/455191966502617092/terraform-states"
    password               = xxx
    skip_cert_verification = true
    update_method          = "PUT"
    username               = "seal"
  }
}

provider "helm" {
  kubernetes {
    config_path = "/seal/secrets/config455181358822588420"
  }
  alias = "connector--455181358822588420"
}

provider "kubernetes" {
  alias       = "connector--455181358822588420"
  config_path = "/seal/secrets/config455181358822588420"
}

module "db" {
  database       = "db"
  init_db_script = ""
  namespace      = ""
  password       = var._seal_password
  providers = {
    helm       = helm.connector--455181358822588420
    kubernetes = kubernetes.connector--455181358822588420
  }
  seal_metadata_application_instance_name = "ins"
  seal_metadata_application_name          = "mydb"
  seal_metadata_module_name               = "db"
  seal_metadata_project_name              = "myproject"
  source                                  = "github.com/seal-io/modules//mysql/0.0.1"
  username                                = "mysql"
}

variable "_seal_password" {
  type = string
}

No more valid in current version


Manual update Conbee firmware by firmware file

Because of some problems with ikea lightning there has been made an official release for testing, see this issue @ the github of Dresden https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1261#issuecomment-590530228
Is it possible to use that file to update the firmware of my conbee 1? Regarding this documentation at the Dresden Git it's not possible -> https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually
Or can the beta / test tag be applied as requested here https://github.com/marthoc/docker-deconz/issues/201

sudo systemctl stop deconz
sudo systemctl stop deconz-gui
wget http://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_Rpi_0x26340500.bin.GCF
sudo GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26340500.bin.GCF
works for conbee 1, see your link for conbee2 or others...

sudo systemctl stop deconz
sudo systemctl stop deconz-gui
wget http://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_Rpi_0x26340500.bin.GCF
sudo GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26340500.bin.GCF
works for conbee 1, see your link for conbee2 or others...

That's not for the docker version so it won't work.
(I'm trying to update to the latest Conbee firmware but it isn't bundled in the container so I'm interested in this too)

Maybe this helps a little further. Otherwise stop the service connect it another machine and upgrade it there f.e. https://github.com/dresden-elektronik/deconz-rest-plugin/issues/236

sudo systemctl stop deconz
sudo systemctl stop deconz-gui
wget http://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_Rpi_0x26340500.bin.GCF
sudo GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26340500.bin.GCF
works for conbee 1, see your link for conbee2 or others...

That's not for the docker version so it won't work.
(I'm trying to update to the latest Conbee firmware but it isn't bundled in the image so I'm interested in this too)

The firmware update script in marthocs docker didnt work for me... :/
I run the docker under Debian.
This is what I did, try to do like this:

download the firmware using wget from above

cd /opt/deconz
(sudo) docker exec -it deconz bash
cp /usr/bin/GCFFlasher_internal* /root/.local/share/dresden-elektronik/deCONZ/
exit
(sudo) apt-get install libqt5serialport5
(sudo) ./GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26340500.bin.GCF

sudo systemctl stop deconz
sudo systemctl stop deconz-gui
wget http://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_Rpi_0x26340500.bin.GCF
sudo GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26340500.bin.GCF
works for conbee 1, see your link for conbee2 or others...

That's not for the docker version so it won't work.
(I'm trying to update to the latest Conbee firmware but it isn't bundled in the image so I'm interested in this too)

The firmware update script in marthocs docker didnt work for me... :/
Even if I copied the firmware file to the firmware folder inside the docker but it was not listed when running the firmware-update script.
So I lifted out the flasher from the docker container and ran it on the host machine, to do so I needed to install a lib then it all ran fine.
I run the docker instance under Debian. And have the Conbee version 1 stick.
This is what I did, try to do like this:
cd /opt/deconz
wget http://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_Rpi_0x26340500.bin.GCF
(sudo) docker exec -it deconz bash
cp /usr/bin/GCFFlasher_internal* /root/.local/share/dresden-elektronik/deCONZ/
exit
(sudo) apt-get install libqt5serialport5
(sudo) docker stop deconz
(sudo) ./GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26340500.bin.GCF
(sudo) docker start deconz
(sudo) docker logs deconz

Thank you, tunalainen! This worked. 😄


cannot get lineupsjsx component to work

Release number or git hash:
Web browser version and OS:
chrome Version 65.0.3325.181/macOS

Steps to reproduce

generate react app using create-react-app
use minimal usage example code from https://github.com/datavisyn/lineupjsx

class App extends Component {
    render() {

// generate some data
        const arr = [];
        const cats = ['c1', 'c2', 'c3'];
        for (let i = 0; i < 50; ++i) {
            arr.push({
                a: Math.random() * 10,
                d: 'Row ' + i,
                cat: cats[Math.floor(Math.random() * 3)],
                cat2: cats[Math.floor(Math.random() * 3)]
            })
        }
        return (
            <div className="App">
                <LineUp data={arr}/>
            </div>
        );
    }
}

Observed behavior

only see

console output:

LineUpJSx.js:1 Uncaught TypeError: Cannot read property 'scrollLeft' of null
    at Ac.recreate (LineUpJSx.js:1)
    at Ac.render (LineUpJSx.js:1)
    at t.forEach (LineUpJSx.js:1)
    at Array.forEach (<anonymous>)
    at Ic.update (LineUpJSx.js:1)
    at Object.e.on (LineUpJSx.js:1)
    at S.apply (LineUpJSx.js:1)
    at i (LineUpJSx.js:1)
    at xc.fireImpl (LineUpJSx.js:1)
    at xc.fire (LineUpJSx.js:1)
    at xc.fire (LineUpJSx.js:1)
    at Object.Ac.delayedUpdate.n (LineUpJSx.js:1)
    at setTimeout (LineUpJSx.js:1)

you have to give the container a specific height, since lineup adapts to the available space but itself don't need a minimum height
cannot reproduce the error: https://codepen.io/sgratzl/pen/zjJPdd?editors=0110

see also https://github.com/sgratzl/lineupjsx-test and https://github.com/sgratzl/lineupjsx-test/blob/master/src/App.css#L6

example works here aswell. my code was at v1.0.0-beta.8. I now move to v1.0.0-beta.9 and it's working now aswell.
thanks a lot!


Explicitly exclude umbraco folders, so that the models build gets copied

Includes @AaronSadlerUK code
          "exclude": [
            "umbraco/Logs/**",
            "umbraco/Data/**",
            "umbraco/Licenses/**"
          ]


Log request issues

This PR sets up a system to log requests that go wrong. This involves several smaller changes.
Logging

Switches to structlog for all explicit logging. This makes it easy to write JSON logs that include all the response data from problematic requests, while also writing summary logs to standard output.

To keep built-in logs working, I store the structured logger in a new structlogger attribute of the app, leaving the default logger attribute as it is.
To do: once the commit hash endpoint is working, would it make sense to log a startup message with the current commit hash every time create_app runs? This might make it easier to see which version of the software other log entries are coming from.

Adds an oeis_get wrapper for OEIS requests, which automatically logs any problems.

Testing

Adds a unit test that just writes a log message and checks whether that works.
Revises the end-to-end lookup error test to comfirm that the failed request is logged as expected.

To accomplish this, adds a way to verify log messages in the abstract request test

Updates:

Brought the PR up to date with the new commit hash endpoint code.
Made each "request issue" log entry include a dump of the request-response conversation, like it's supposed to. (I thought I'd done this already, but I accidentally told the logger to throw away the dump instead of including it.)

I just pulled the current version of this PR and ran its tests, and the test of getting a nonexistent sequence failed. So @Vectornaut I am guessing this is not ready for further review and for building on to get a head start on #77? Let us know when you think it's stable enough. Thanks!

I just pulled the current version of this PR and ran its tests, and the test of getting a nonexistent sequence failed

Oh, right—I fixed the bug that was leaving HTTP response dumps out of log entries, but didn't update the expected log output to include a response dump. The easiest test (comparing against a fixed expected log message) could stop working if the OEIS changes its 404 page. Is that easy test good enough for now?

I just pulled the current version of this PR and ran its tests, and the test of getting a nonexistent sequence failed

Oh, right—I fixed the bug that was leaving HTTP response dumps out of log entries, but I haven't yet updated the test's expected log entry to include a response dump. The easiest test (comparing against a fixed expected log message) would stop working if the OEIS changes its 404 page. Is that easy test good enough for now?

I think definitely so. The OEIS tends to move slowly, technologically speaking, and it's easy for us to update test expectations if they do change. Thanks!

Including the HTTP response dump in the nonexistent sequence test was more annoying than I expected, because parts of the response (the date line and the "last updated" ticker on the OEIS 404 page) are time-dependent. However, I've managed to cut them out, yielding a test that covers at least part of the expected 404 response.

I think this is ready to review again! Could you both try it out, review the issues you brought up, and resolve the conversations that have been addressed to your satisfaction?

Oops:
backscope> git checkout logbad
Switched to branch 'logbad'
backscope> git pull
[...]
Updating 8893a52..9929fb8
[...]
backscope> sh tools/install-requirements.sh
[...]
Backscope dependencies successfully installed
backscope> flask test
Traceback (most recent call last):
  File "/home/glen/code/backscope/.venv/bin/flask", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/flask/cli.py", line 1064, in main
    cli.main()
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/click/core.py", line 1682, in invoke
    cmd_name, cmd, args = self.resolve_command(ctx, args)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/click/core.py", line 1729, in resolve_command
    cmd = self.get_command(ctx, cmd_name)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/flask/cli.py", line 579, in get_command
    app = info.load_app()
          ^^^^^^^^^^^^^^^
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/flask/cli.py", line 313, in load_app
    app = locate_app(import_name, None, raise_if_not_found=False)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/glen/code/backscope/.venv/lib64/python3.11/site-packages/flask/cli.py", line 219, in locate_app
    __import__(module_name)
  File "/home/glen/code/backscope/wsgi.py", line 5, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/glen/code/backscope/flaskr/__init__.py", line 129, in create_app
    file_handler = create_file_handler()
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/home/glen/code/backscope/flaskr/__init__.py", line 57, in create_file_handler
    handler = RotatingFileHandler('logs/api.log', maxBytes=2*10**7, backupCount=9)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/logging/handlers.py", line 155, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
  File "/usr/lib64/python3.11/logging/handlers.py", line 58, in __init__
    logging.FileHandler.__init__(self, filename, mode=mode,
  File "/usr/lib64/python3.11/logging/__init__.py", line 1181, in __init__
    StreamHandler.__init__(self, self._open())
                                 ^^^^^^^^^^^^
  File "/usr/lib64/python3.11/logging/__init__.py", line 1213, in _open
    return open_func(self.baseFilename, self.mode,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/glen/code/backscope/logs/api.log'

Does it fail if you have no logs directory and/or no pre-existing api.log file? Needs to be resilient to those possibilities, if so.
Thanks for looking into this!

I've added instructions on how to manually generate a log entry! Thanks for the reminder.
To make sure that the logs directory is always present, with the bonus of ensuring that nothing inside the logs directory will accidentally be committed, I've used the trick of populating logs with a .gitignore file that tells Git to ignore all the other folder contents.
One way to test this mechanism is to remove your logs directory before pulling commit 737eabb. The logs directory (and the .gitignore file inside it) should appear. If you've already pulled the commit, you can instead try removing the log directory and observing that git shows a deleted file.

I was about to squash and merge but the commit message is all over the place, with all of the commits. @vectornaut could you please write a single cogent commit message for the overall squashed commit? Roughly a one-paragraph overview of the changes wrought by the PR as a whole. You can just put it in a comment here. Then I will squash and merge, using that message. Thanks!

(To clarify, the initial comment in this PR is pretty close to what's needed, but I wasn't sure whether any of the comments should be amended in light of the subsequent development of this PR, and  it shouldn't have questions/to-dos; if you feel subsequent changes are still needed, open those points as issues, rather than putting that information into the proposed commit message, which in the end will be hidden away in the git log, which tends only to be consulted when code problems arise.)

Took the liberty of adding where to find the log files in production, since it seems on-point for this PR and then will also close #55.

And since this now touches server-administration.md, removed warning about get_commit not working to kill #115 too.

Took the liberty of adding where to find the log files in production

Awesome. I'm almost done with the revised commit message.

Here's my proposed commit message! Let me know if I should shorten it (or feel free to revise it unilaterally). While writing it, I realized that the current_app.structlogger attribute should be documented in the documentation, not just in the PR. I made an extra commit to do that.
Log request issues

Set up a system to log requests that go wrong. This involves several
smaller changes.

--- Logging ---

Switch to the `structlog` package for all explicit logging. This makes
it easy to write JSON logs that include all the response data from
problematic requests, while also writing summary logs to standard
output.

Add an `oeis_get` wrapper for OEIS requests, which automatically logs
any problems.

Move logs to a new `logs` folder, which is always present because it
contains a tracked `.gitignore` file. Tell Git to ignore log files, to
guard against accidentally checking them into the repository.

--- Testing ---

Add a unit test which just writes a log message.

Revise the end-to-end lookup error test to comfirm that the failed
request is logged as expected. To accomplish this, add facilities for
checking log messages in the abstract endpoint test. These are described
in the comments of `abstract_endpoint_test.py`.

My apologies, I saw the odd merge of logbad into logbad in the git log and didn't know what that was all about, so did a "git diff" versus main just to be sure all was well, and all these "noise" items came up which it would be good to squelch here before the merge. Sorry.

My apologies, I saw the odd merge of logbad into logbad in the git log and didn't know what that was all about

No, it's a good idea to clean these up. Because I'd imagined dealing with formatting errors in a separate commit, I didn't think to make sure this PR didn't introduce new formatting errors. I should be able to finish that in a few minutes.

Commit aa5db13 should prevent this PR from introducing new formatting inconsistencies. You may want to review the alphabetization of imports: I tried to imitate existing files, but I'm not sure I did it correctly.


Common front end: The return type of operator []= should be void if omitted

This is the common front end specific issue for #32241, which contains the details.

Discussed the prioritization of this issue with @peter-ahe-google and marking it P2 because it would be a breaking change to release Dart 2 without this feature and adding it later.

Closing: Just discovered #31779 which addresses the same issue: It is closed and it seems to have been completed.
Sorry — should have search even more carefully for an existing issue for this topic. ;)


Import NetCDF File throws warning at 10.2.2 and Pro

From @mfunk on April 22, 2014 21:56
Came across this warning using the 'forecast.nc' file included with the MAoW template. For some reason it seems to have trouble doing conversions (and also derivatives). The error (actually Warning) is:
ConvertMetresToFeet_maow("Cloud Ceiling__", "C:\Data\MyData\MAoW_Template_1_0\MAoW Template 1.0\Maps\Forecast data\latestforecast.gdb\Cloud_Ceiling__20120115T0300")
Calling tool 'ConvertMetresToFeet_maow' with parameters 'Cloud Ceiling__', 'C:\Data\MyData\MAoW_Template_1_0\MAoW Template 1.0\Maps\Forecast data\latestforecast.gdb\Cloud_Ceiling__20120115T0300'
Could not find (or encountered error calling) the conversion tool 'ConvertMetresToFeet_maow in C:\Data\MyData\MAoW_Template_1_0\MAoW Template 1.0\Maps\Toolboxes\MAoW Tools.tbx'
<class 'arcgisscripting.ExecuteError'>
The tools are named correctly (ConvertMetresToFeet is in the maow toolbox).
Copied from original issue: ArcGIS/military-aspects-of-weather-toolbox-RETIRED#1

From @mfunk on April 22, 2014 21:56
Assigned this to @dmMartin to review for 10.3/Pro using Python 3.4.

@abrowning80 - This issue needs to be resolved this sprint.

@jrweakland is this issue now closed?

@jrweakland you guys have a backlog task for this one?

@abrowning80 - please test at ArcMap 10.2.2 and 10.3. If fixed, please close this issue.

@jrweakland - have tested on both 10.3 and 10.2 and it all works fine and does not error so will close issue.


Feature parity with R raster

Essentially:

[ ] polygon operations like masking, union, intersect etc
[x] a few helper functions like extend - functions that make the spatial extent larger are missing
[ ] summation helpers like area and distance

was just working with the follow-up of raster in R, stars and thought if only one could do that stuff in julia. Well! Here we are! Great package!
I thought it's useful to add couple more useful features here. I think most will be about documenting things in a certain kind of way such that people with different backgrounds can access the functionality. I could help with that.

[ ] aggregate by a Geom. If I understand correctly the current Rasters.jl method aggregate is kind of low level in that the user is expected to supply the indices where to aggregate over with method. The R solution here is nice because I can have a raster prec and a sf object nc say and do

a = aggregate(prec, by = nc, FUN = max)

as long as they are in the same CRS. Again, I think that might be achievable with the current mask approach etc, but maybe that's worth an extension.

[ ] you are tracking intersection and union etc any ways here https://github.com/rafaqz/Rasters.jl/issues/233

Thanks for commenting here! This is the best kind of feedback :)
Yes aggregate could be better. It was written before the other methods, and isn't as slick as say mask.
But if you could help me out a little more with this function, I dont understand how the aggregation amount comes from nc:
a = aggregate(prec, by = nc, FUN = max)

Does nc cover the area that will be aggreagated to? So the X/Y aggregation pixels are those that would just cover the extend of nc?

That's exactly it. It can be any polygon or other shape, I guess even a line. It's related to another issue I saw you had I think, where someone wants to intersect with a line. So yes it's just about not having to think about creating a mask and aggregating over that.

For example I have a use case where the Raster represents some measures of soil quality in a country. Then I have 100 circles which are made as buffers around certain points. I want to know soil quality in those 100 circles. nc would just be a dataframe with a sf::geometry column (each row a different polygon representing the relevant circle).

I'm still not sure what the return value is though. Do you mean it's a raster with lower resolution? How does that resolution exactly match your 100 circles?
It sounds like you really want zonal stats? If I wanted to get mean values for 100 circles I would crop then mask them individually and then take the mean of the the skipmissing value of each. That's a super fast operation in Raster.jl. I've meant to add a zonal function to do that, it's only 1 line but would make it easier.

The return value is a vector as long as geometries in the by argument. So 100 numbers in this example.
You are correct with your approach, yes.
Here the stars docs https://r-spatial.github.io/stars/reference/aggregate.stars.html

Ok perfect. Thats what the new zonal PR does.
aggregate here returns a raster. Im not sure if it should share a name with zonal stars or remain separate? `aggregate can do things like take the center value rather than apply a function, which diesnt really make sense for polygons.

Can this be closed now that we have zonal?

Probably still a few things we don't have


Support internal links in the PDF version

Internal linking to entity definitions introduced in #568 does not work in the PDF version of the specification. While we're comfortable with leaving these links as a web-only feature, if anyone does have the time and interest to figure out how to support the links in the PDF version, that would be very helpful.
This stems from https://github.com/bids-standard/bids-specification/pull/568#issuecomment-686564674.

+1, would be awesome to get the internal links in the PDF working.
Currently we are explicitly removing all internal links from the MD source as a build step on the way from markdown to PDF, see:
https://github.com/bids-standard/bids-specification/blob/1d2c9722c2ccf0eb493619a754173db18ffd497c/pdf_build_src/process_markdowns.py#L102
If I remember correctly that is because our internal links often look like this:
[inheritance-principle](../some-file.md#some-section-header)
That is, the internal links are often across different files.
--> This works well for the html generated from the MD source with mkdocs, because the html specification still consists out of several documents (html documents) that stay interlinked that way.
However when building a PDF, we append all the distinct documents into a single document, and the links that were previously across different files stop working, because we have a single file now.
A solution would thus probably be to replace the above linked remove_internal_links function with a function that replaces the cross-file links with links how they are predicted to be once all distinct files have been appended into a single file.


Missing documentation on Total Requests Short Term policy?

Hi, I'm currently working on an App Configuration integration and noticed the following exception message in my app:
Caused by: javax.xml.ws.soap.SOAPFaultException: Status code 429, "{"type":"https://azconfig.io/errors/too-many-requests","title":"Resource utilization has surpassed the assigned quota","policy":"Total Requests Short Term","status":429}"

I tried looking for the Total Requests Short Term policy to find out more information about it, but all I can find is the Total Requests policy. I'm wondering if this is the same policy or something completely different (e.g., too many requests sent in a given time period, but not surpassing the assigned quota). Is the documentation on this policy missing?

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

ID: bcaac3d2-de23-4c56-acce-7a1b22a09e3f
Version Independent ID: d63f769e-b7c5-382d-7e4c-b1e2b03ec1e5
Content: Azure App Configuration REST API - Throttling
Content Source: articles/azure-app-configuration/rest-api-throttling.md
Service: azure-app-configuration
GitHub Login: @AlexandraKemperMS
Microsoft Alias: alkemper

Thank you for your feedback! We will review and update as appropriate.

Hi crookse, thank you for your interest in our documentation. You will find information about requests made to App Configuration in our FAQ, under Are there any limits on the number of requests made to App Configuration?

#please-close


Licensing of slides

Hi @jluethi ,
I just went through your slides linked from this page. They are amazing and have a huge potential, also for teaching purposes. Unfortunately, there is no copyright statement. According to European law this means that these slides cannot be reused / reshared.
I was just wondering if you would mind resharing those slides with an open license. For example, on https://f1000research.com/neubias you can share slides openly with the community CC-BY. This would allow others to reuse them.
Let me know what you think and thanks for making these slides available!
Best,
Robert

Hey @haesleinhuepf
Thanks for your interest. I briefly updated the slides (in minor ways) to make sure we could have them more broadly shared, still available under this same link here. If you need something of it for teaching or other purposes, feel free to use them (hopefully with an official license soon, with just written permission until then).
I had not put a license on them, because I did not consider them ready & relevant for general sharing yet. Fractal is approaching the point where we want to spread the word more broadly, but not ready for a broad user base just yet. But I do want our work to be in the open, so that's why they are already there.
If you consider them useful already, then that's a good point towards putting an actual license on them. I've always enjoyed the slide decks you shared on twitter, I'll have a look at putting this slide deck (and maybe the Fractal poster we have) on the f1000 NEUBIAS page then (need to briefly read up on that). Thanks for linking to it! I hope I can get this done before the holidays start :)
Also, if you're looking through the demo repo: We just went live with our overview page for Fractal here: https://fractal-analytics-platform.github.io
It links to the documentation pages where available, e.g. the newly launched Fractal server doc page and the fractal-tasks-core docs :)
We're wrapping up work on release candidates for server & client and will hopefully soon (=> in early January) have a version we can share with a bit of confidence that it can be made to run in different places

I've now shared the slides here with a CC-BY license: https://f1000research.com/slides/11-1557
And the Fractal poster we're presenting in early January can also be found here: https://f1000research.com/posters/11-1558
Thanks again for reaching out @haesleinhuepf ! I hope the material can be useful, would be curious to hear which parts you could use where :)

What a wonderful Christmas 🎄 present. Big thanks @jluethi ! I presume I'll reuse it next semester when we talk about data management and large scale processing. I keep you posted!


test millisecond

Description of Changes
Added a test case for ensuring ms values will be correctly interpreted:
- type: journald_input
  poll_interval: 100ms
  ...

Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
1.5345274
+0.017254591
128.18993
-0.5367737

1
5000
5.224201
+0.05170536
133.93588
-1.6761932

1
10000
10.034602
-1.1896696
141.01077
-5.00296

1
50000
49.945248
-1.728302
175.2461
-1.9661865

1
100000
97.71898
-4.591095
233.0493
-13.995285

10
100
1.9311038
-0.01718831
132.83554
-2.1175842

10
500
6.396578
+0.32744646
139.82584
-0.6784668

10
1000
12.069233
-0.017151833
146.68642
+1.3387604

10
5000
58.621815
+4.01791
177.96417
+0.7108002

10
10000
106.221664
-12.316566
224.33633
-2.6456146


Encoding.UTF8.GetString: The output char buffer is too small...

 (Parameter 'chars')'
Stack trace:
   at System.Text.Encoding.ThrowCharsOverflow()
   at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
   at System.Text.Encoding.GetCharsWithFallback(ReadOnlySpan`1 bytes, Int32 originalBytesLength, Span`1 chars, Int32 originalCharsLength, DecoderNLS decoder)
   at System.Text.UTF8Encoding.GetCharsWithFallback(ReadOnlySpan`1 bytes, Int32 originalBytesLength, Span`1 chars, Int32 originalCharsLength, DecoderNLS decoder)
   at System.Text.Encoding.GetCharsWithFallback(Byte* pOriginalBytes, Int32 originalByteCount, Char* pOriginalChars, Int32 originalCharCount, Int32 bytesConsumedSoFar, Int32 charsWrittenSoFar)
   at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount)
   at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding)
   at System.Text.Encoding.GetString(ReadOnlySpan`1 bytes)
   at ...Our code...

I was accidentally using it on binary data while doing some debugging.
It happened using the ReadOnlySpan overload, but these byte arrays are the data:
new byte[] { 1,6,104,97,115,104,116,120,1,32,125,34,109,16,93,67,238,247,111,164,124,222,214,204,168,122,3,194,48,190,150,196,26,251,175,111,65,1,97,0,30,248,0,4,207,225,40,0 } ;
new byte[] { 1,6,104,97,115,104,116,120,1,32,146,49,170,24,95,32,149,96,115,203,170,163,193,27,202,95,134,122,121,85,104,162,76,212,216,15,177,166,148,80,204,57,0,4,222,80,41,0 } ;

Neither of these is reproducible though.
Even when visual studio has the "Exception Thrown!" exception window open and highlighted, re-executing the same statement doesn't throw an exception the second time.
My suspicion would be something to do with ArrayPool, if that's even used by this method.
Not sure how to be more useful with this one...

Normally this means that the input buffer's contents have changed in the middle of the operation. The Encoding.GetString(ReadOnlySpan<char>) API performs two passes: the first pass to calculate the necessary string length, and the second pass to perform the actual conversion. If the data within the byte buffer changes between these two operations, the conversion routine might fail because the number of resulting output chars could have increased.


Add csv2view feature

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

👍


strip: File format not recognized

While building many programs, the strip command in fixupPhase emits the "File format not recognized" message many times. It would be nice if these messages were suppressed, as they do not mean anything.
Steps to reproduce
See http://hydra.nixos.org/build/34720826 for an example (nix-build '' -A SDL_stretch); there are many others.

Closely related to #5447. The current strategy is to run strip on every file from a directory list and ignore the errors. Perhaps we should use stdenv's isELF function, though that still shouldn't detect *.a and maybe other strippable stuff.

Ref https://github.com/NixOS/nixpkgs/pull/15339.

I think I have seen that this has been fixed somewhere, but I could be mistaken.


Missing latitude and longitude

I have noticed that 3447 rows in the full data set that contain longitude 0º and latitude 0º. I would like to know if there is an explanation for this fact. I would be interested in tracking down the missing data if I knew where it was gathered from initially.
Do you have any information regarding this? I understand that this repo is not active but it's worth a try.

Sorry for the delayed response. No I do not have that info, maybe we need to write a script that runs combinations of state,city through some api like google maps and updates that info


Another: "RangeError: Maximum call stack size exceeded"

Hi,
When I use chai-string I get this:
RangeError: Maximum call stack size exceeded
         at Object (native)
         at baseGetTag (BLABLA\node_modules\lodash\lodash.js:3078:51)
         at baseClone (BLABLA\node_modules\lodash\lodash.js:2663:19)
         at BLABLA\node_modules\lodash\lodash.js:2702:34
         at arrayEach (BLABLA\node_modules\lodash\lodash.js:537:11)
         at baseClone (BLABLA\node_modules\lodash\lodash.js:2696:7)
         at cloneSet (BLABLA\node_modules\lodash\lodash.js:4591:28)
         at initCloneByTag (BLABLA\node_modules\lodash\lodash.js:6254:18)
         at baseClone (BLABLA\node_modules\lodash\lodash.js:2680:20)
         at BLABLA\node_modules\lodash\lodash.js:2702:34
         at arrayEach (BLABLA\node_modules\lodash\lodash.js:537:11)
         at baseClone (BLABLA\node_modules\lodash\lodash.js:2696:7)
         at BLABLA\node_modules\lodash\lodash.js:2702:34
         at arrayEach (BLABLA\node_modules\lodash\lodash.js:537:11)
         at baseClone (BLABLA\node_modules\lodash\lodash.js:2696:7)
         at BLABLA\node_modules\lodash\lodash.js:2702:34
     From: Task: <anonymous>
         at World.stepWrapper (BLABLA\node_modules\serenity-js\src\serenity-cucumber\webdriver_synchroniser.ts:72:18)
         at World.stepWrapper (BLABLA\node_modules\serenity-js\src\serenity-cucumber\webdriver_synchroniser.ts:104:32)
         at World.arity1 (eval at <anonymous> (BLABLA\node_modules\util-arity\arity.js:22:24), <anonymous>:3:41)
         at _combinedTickCallback (internal/process/next_tick.js:73:7)
         at process._tickCallback (internal/process/next_tick.js:104:9)

And the Step is doing this:
       this.Then(/^Bla bla$/, () => {
        return this.stage.theActorInTheSpotlight().attemptsTo(
            ...
            See.if(Tab.MyText("HEY!"),
                (txt) => expect(txt).to.eventually.deep.be.equalIgnoreCase("HELLO!"))
        );
       });

If I change equalIgnoreCase to equal, it works (the test fails, but it works...)
Any idea? Thanks.

Hmm, could this be a chai-related issue?
In the below sample:
expect(txt).to.eventually.deep.be.equalIgnoreCase("HELLO!"))

string comparison doesn't need deep or be... Would that work instead?
expect(txt).to.eventually.equalIgnoreCase("HELLO!")

Yes. I just checked that. Thanks for the quick reply!! :)

Excellent, glad it worked! :)


docs for exports array

https://github.com/webpack/webpack/issues/536#issuecomment-59530883
There seems to be some undocumented magic happening in this suggested config, where exports is assigned to an array, and each element given a name attribute. How do you use this? What does it do?

done on configuration page


No OTA version for Sonoff POW?

I cannot find the file in your repo.

It will return. I'm in the process of releasing v2 of all the firmware.


Importing doesn't work

Hi! I am using Godot [4.1.3.stable.official] and I'm trying to import the heightmap. I do like the documentation/video says, I import my heightmap file, set the dimensions and min/max height, create a data folder for it. But when I press "Import", nothing happens.

What height-map format do you use?
Does that give you any error?
send me a photo of parameter in import window if you can


[BUG] Pass attempt id and payment id as reference in trustpay

Bug Description
Currently we pass payment_id as reference in trust pay. Webhooks processing will fail because of this as webhooks require attempt id
Expected Behavior
This needs to be fixed by passing both payment id and attempt id.
Actual Behavior
Payment id is being passed
Steps To Reproduce
NA
Context For The Bug
No response
Environment
Any env
Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to submit a PR?
Yes I am willing to submit a PR!

Closing as completed in #1444


CoreRT slower then regular .NET

I thinking about checking how CoreRT works for the Wavelets and decide to use https://github.com/codeprof/TurboWavelets.Net as starting point.
I migrate project to new SDK format and add Benchmarks.Net using samples provided.
To my disappointment regular .NET seems to be faster then CoreRT.
// * Summary *

BenchmarkDotNet=v<IP_ADDRESS>0-nightly, OS=Windows 10.0.18363.1082 (1909/November2019Update/19H2)
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET SDK=5.0.100-rc.1.20452.10
  [Host]     : .NET 5.0.0 (<IP_ADDRESS>114), X64 RyuJIT
  .NET 5.0   : .NET 5.0.0 (<IP_ADDRESS>114), X64 RyuJIT
  CoreRt 5.0 : .NET 5.0.29330.02 @BuiltBy: dlab14-DDVSOWINAGE075 @Branch: master @Commit: 145402e00724acbc9e7636739140fb84f7d64845, X64 AOT

|                Method |        Job |    Runtime |      Mean |    Error |   StdDev | Ratio | RatioSD |
|---------------------- |----------- |----------- |----------:|---------:|---------:|------:|--------:|
| Waveletimageupscaling |   .NET 5.0 |   .NET 5.0 | 155.72 ms | 3.267 ms | 9.426 ms |  1.00 |    0.00 |
| Waveletimageupscaling | CoreRt 5.0 | CoreRt 5.0 | 167.68 ms | 3.303 ms | 9.478 ms |  1.08 |    0.09 |
|                       |            |            |           |          |          |       |         |
|      AdaptiveDeadzone |   .NET 5.0 |   .NET 5.0 |  30.40 ms | 0.588 ms | 0.764 ms |  1.00 |    0.00 |
|      AdaptiveDeadzone | CoreRt 5.0 | CoreRt 5.0 |  33.79 ms | 0.683 ms | 1.763 ms |  1.14 |    0.08 |

So I have generic questions.

Does this results expected with CPU-bound workloads.
What can I do to look more closely on this particular case.

For compute heavy workloads that don't use things like HW intrinsics, I would expect both to be pretty much on par, since codegen is the same.
I would run both under PerfView and check:

GC Stats - does the GC do more work in one of them?
Look at CPU samples - are the same methods hot? Is there something that stands out? If so, I would check disassembly on both and compare if we got worse codegen somewhere.

can you share project? my game actually runs faster with CoreRT than normal dotnet

It is not unusual that performance of CPU-bound microbenchmarks is sensitive to memory alignment, code alignment or other factors that results into trends like this: https://github.com/dotnet/runtime/issues/39031#issuecomment-682207270 . This can be one of these bi-modal cases and you may be just hitting the lucky/unlucky spots on the spectrum.
Another potential source of the difference is that RyuJIT in dotnet/corert is several months old at this point. It is possible that the RyuJIT shipping in .NET 5 has bug fixes that make a difference for this micro-benchmark. This will get fixed once we migrate the project to dotnet/runtimelab and pick up up-to-date RyuJIT.

What can I do to look more closely on this particular case.

Michal's advice in https://github.com/dotnet/corert/issues/8354#issuecomment-703289432 is spot on.

@jkotas Thanks for explanation about potential root causes. I thought that this maybe related to fact that this is micro-benchmark, but do not though that this maybe due to changes in the runtime.
@MichalStrehovsky I would try to look. Since my priority was to have interesting use-case for CoreRT would be better then regular .NET I have to scratch my head a bit to find it.
@RUSshy you can see my benchmarks here https://github.com/kant2002/TurboWavelets.Net/tree/kant/benchmarks this is pretty trivial microbenchmarks, This is not actual project where maybe I will have some gains.


Find an issue in TensorMap and open an issue

Setup project then find an issue in the project and open an issue in the project’s GitHub page

https://github.com/scorelab/TensorMap/issues/57


update git vendor

Updates git dependency to fix https://github.com/go-gitea/gitea/issues/3458

Codecov Report

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

@@           Coverage Diff           @@
##           master    #4059   +/-   ##
=======================================
  Coverage   19.96%   19.96%
=======================================
  Files         153      153
  Lines       30478    30478
=======================================
  Hits         6086     6086
  Misses      23479    23479
  Partials      913      913

Continue to review full report at Codecov.

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

@lunny There are many other changes in the git repository that are not part of 1.4 yet. Specifically since commit https://github.com/go-gitea/git/commit/827f97aaaa6a4ab5c31b1b799c56687a8cf6aade
Don't know if this leads to problems?

@daviian I know and I don't know either.


Latest releases not appearing on website

Similar problem as #1237 but happening now with 3.0.7, 4.0.0-beta.6 and 4.0.0-beta.7 (newest item appears to be about 2 weeks old)
Edit: Just cleared cache and refreshed page; now I see 3.0.7.

@jacobq 3.0.7 would have appears after a few reloads, we had a bad Service Worker cache and the fix takes a few reloads to apply. (one to fix, one to clear cache)
The recent releases still aren't appearing though because electron/releases appears to have broken it's updating process.  --> https://github.com/electron/releases


Support annotations

Please Support annotations with various checkmk datasources: For example: comments, Status Changes, acknowledgements, downtimes.
https://grafana.com/docs/grafana/latest/reference/annotations/

There is already something available. See #14. Sadly it is not documented very well, but you should be able to configure an annotation source in your grafana dashboards.


Update CodeKit to 2.4-19051

Thank you for the contribution. It was merged directly as 560fd50cbff16df0b91fb656ea7961822e85e9ec to keep commit history cleaner. Your contribution is still credited to you.


Consume the same message if processing message fails

Description
Question:
I am using Confluent.Kafka .NET client version 1.3.0. I am following the docs:
var consumerConfig = new ConsumerConfig
{
    BootstrapServers = "server1, server2",
    AutoOffsetReset = AutoOffsetReset.Earliest,
    EnableAutoCommit = true,
    EnableAutoOffsetStore = false,
    GroupId = this.groupId,
    SecurityProtocol = SecurityProtocol.SaslPlaintext,
    SaslMechanism = SaslMechanism.Plain,
    SaslUsername = this.kafkaUsername,
    SaslPassword = this.kafkaPassword,
};

using (var consumer = new ConsumerBuilder<Ignore, string>(consumerConfig).Build())
{
    var cancellationToken = new CancellationTokenSource();
    Console.CancelKeyPress += (_, e) =>
    {
        e.Cancel = true;
        cancellationToken.Cancel();
    };

    consumer.Subscribe("my-topic");
    while (true)
    {
        try
        {
            var consumerResult = consumer.Consume();
            // process message
            consumer.StoreOffset(consumerResult);
        }
        catch (ConsumeException e)
        {
            // log
        }
        catch (KafkaException e)
        {
            // log
        }
        catch (OperationCanceledException e)
        {
            // log
        }
    }
}

The problem is that even if I comment out the line consumer.StoreOffset(consumerResult), I keep getting the next unconsumed message the next time I Consume, i.e. the offset keeps increasing which doesn't seem to be what the documentation claims it does, i.e. at least one delivery.
Even if I set EnableAutoCommit = false and remove EnableAutoOffsetStore = false from the config, and replace consumer.StoreOffset(consumerResult) with consumer.Commit(), I still see the same behavior, i.e. even if I comment out the Commit, I still keep getting the next unconsumed messages.
I feel like I am missing something fundamental here, but can't figure what. Any help is appreciated!
How to reproduce
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

I've added some comments here  in stackoverflow post. I believe it comes down whether there is  option to pass some kind of seek callback to the subscribe call so when the message processing fails we can seek to offset and process it again. I know this can be done by using separate assign/seek/consume workflow but we will lose the consumer re-balance and group subscription. Just wondering if there was option to keep everything while still be able to seek on demand from subscribe flow.

The problem is that even if I comment out the line consumer.StoreOffset(consumerResult), I keep getting the next unconsumed message the next time I Consume, i.e. the offset keeps increasing which doesn't seem to be what the documentation claims it does, i.e. at least one delivery.

this is intended behavior. what calling StoreOffset does is tell the consumer to commit the offsets back to kafka, marking them as consumed. doingthis doesn't have any effect until the next time a consumer in the group starts reading from the partition.


Hey I have this issue whenever I try to run the script

so ive been spending the past hour of the night trying to figure out what i am doing wrong or what i need to do. it just repeats over and over. I am really tired and i dont know what to do. Pls help. (i might take a while to respond thats because i might be out cold)

your technically doing everything right it is just discum log data but in my script has it set to false
so if you installed Discum thru pip then you get the version 1.1
you need version 1.3+ for it to run correctly in the long run
The please go to the link below as they will guide you to installing the latest version if discum:
https://github.com/Merubokkusu/Discord-S.C.U.M

just checking in ? on the status of the issue

hi yes i am currently installing discum 1.3

so update: im using this to install but it gives me this error
python -m pip install --user --upgrade git+https://github.com/Merubokkusu/Discord-S.C.U.M.git
ERROR: Error [WinError 2] The system cannot find the file specified while executing command
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

So you don't have "git" installed on your computer is why your getting this error
Sent from my iPhone

On Jul 6, 2021, at 5:13 AM, pentuhhh @.***> wrote:

so update: im using this to install but it gives me this error
python -m pip install --user --upgrade git+https://github.com/Merubokkusu/Discord-S.C.U.M.git
ERROR: Error [WinError 2] The system cannot find the file specified while executing command
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Still having git installation issues ? checking in haven't heard a reply in 24 hours

Yea im all set ty
Sent from Yahoo Mail on Android
On Thu, 8 Jul 2021 at 1:10 PM, Richard @.***> wrote:
Still having git installation issues ? checking in haven't heard a reply in 24 hours
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

alright thanks for letting me know I will be closing the issue now


Fix the error type of fadeOutClass property

Hi, I found the fadeOutClass property's type and usage are incorrect. It should be Number type instead of Boolean.

@ymhuang0808 Ooops, my bad. Thanks for your contribution!


Adding stdout output (alternate method)

I was looking to script this together with revorb and came across #8, which adds STDOUT output to ww2ogg.  It looks like that one never got fully cleaned up, though, and I'd prefer a different implementation anyway, so I've done up my own PR.
What this does is:

Adds a --quiet option which silences all "status" type messages
Allows using - as the output file option, which forces the use of --quiet
Status output (when not using --quiet) remains on stdout, rather than switching to stderr as the other PR does.
Checks isatty() as requested in that other PR

I've introduced some OS-specific tweaks to support some of this -- namely, Linux machines will need to include unistd.h and do some #define shenanigans to be able to use _isatty and _fileno, as they're known on the Windows side.  The other PR implied that MinGW32 needed fcntl.h for _O_OUTPUT as well, so that's there.  The call to _setmode (to ensure that stdout is handled as binary data) doesn't need to be done on Linux because Linux doesn't distinguish between binary + text on the standard streams (and doesn't define _setmode) anyway.
This has received no testing on Windows, w/ MinGW or not, so I can't vouch for that.  It also doesn't pull the --quiet functionality into those other commented cout instances throughout the code, since that would involve passing some more vars around and it didn't seem worth it.  I have tested this with revorb, and that works great.
I did verify that the output is identical in a variety of circumstances, and checked it versus the unpatched output as well:
Auto-filename:
$ ./ww2ogg<PHONE_NUMBER>.wem
Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter 0.24 by hcs

Input:<PHONE_NUMBER>.wem
RIFF WAVE 2 channels 48000 Hz 238352 bps
20209 samples
- 2 byte packet headers, no granule
- stripped setup header
- external codebooks (packed_codebooks.bin)
- modified Vorbis packets
Output:<PHONE_NUMBER>.ogg
Done!

Specified filename:
$ ./ww2ogg -o test1.ogg<PHONE_NUMBER>.wem
Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter 0.24 by hcs

Input:<PHONE_NUMBER>.wem
RIFF WAVE 2 channels 48000 Hz 238352 bps
20209 samples
- 2 byte packet headers, no granule
- stripped setup header
- external codebooks (packed_codebooks.bin)
- modified Vorbis packets
Output: test1.ogg
Done!

Quiet output:
$ ./ww2ogg -o test2.ogg --quiet<PHONE_NUMBER>.wem

Redirected to file manually:
$ ./ww2ogg -o -<PHONE_NUMBER>.wem > test3.ogg

Checksums:
$ sha256sum *.ogg
18bd61b76089691ae26deac21cd781454fb2a54d2043531f256dddc910342988<PHONE_NUMBER>.ogg
18bd61b76089691ae26deac21cd781454fb2a54d2043531f256dddc910342988  test1.ogg
18bd61b76089691ae26deac21cd781454fb2a54d2043531f256dddc910342988  test2.ogg
18bd61b76089691ae26deac21cd781454fb2a54d2043531f256dddc910342988  test3.ogg

Errors still display when redirecting:
$ ./ww2ogg -o - invalid_input > test4.ogg
Parse error: missing RIFF
$ cat test4.ogg
$

Refuses to output to stdout when on a TTY (also shows some extra usage() text):
$ ./ww2ogg -o -<PHONE_NUMBER>.wem
Argument error: STDOUT output is not supported when on a TTY

Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter 0.24 by hcs

usage: ww2ogg input.wav [-o output.ogg] [--inline-codebooks] [--full-setup]
                        [--mod-packets | --no-mod-packets]
                        [--pcb packed_codebooks.bin] [--quiet]

Use "-o -" to send the ogg file to stdout.  This will also
imply "--quiet".

Anyway, lots of text.  Let me know if you want any changes or a different implementation, etc!

Cool, thanks, I'll look over this soon.


Add flutter_lints and apply all suggestions

This PR adds an analysis_options file with flutter_lints and applies all the changes suggested by the analyzer.
I deliberately haven't updated pubspec or changelog, because nothing really changed.
List which issues are fixed by this PR.
Pre-launch Checklist

[x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making if a test is possible.
[x] All existing and new tests are passing.

This one can be closed as I merged it in https://github.com/albert-heijn-technology/platform_maps_flutter/pull/66

This repo is actively maintained just a few hurdles to cross. Also, you PR is not merged yet @millerf how do you mean?

@millerf At Albert Heijn we wanted to use this package, but also found some issues and possible improvement that we wanted first. After I got in contact with @LuisThein we decided to move the whole package to the Albert Heijn Technology organisation and we just started making improvements. This PR is the first step in that, but we have to manage some corporate administration first. The second step (which was the requirement of AH) is that we are going to migrate to a federated plugin setup. The big benefit of that is that you only add dependencies that you actually use. In the current setup the iOS app will also depend on the native Google Maps libraries, while you don't want that.
Once we are migrated to the federated setup we'll take a look at other issues and feature requests. So there is definitely no reason to publish a different fork to pub.dev as we'll also take over the pub.dev ownership from Luis.


Fix bugs

Strip out const assertions (Closes #656)
Fix exclude of the file matcher (Closes #658)
Automatic typescript detection (Closes #655)

bors r+


Sanitize_callback notice

Hi again, found this issue:
Notice:  Undefined index: type in .../kirki/includes/class-kirki-field.php on line 582
I fixed on my end by editing the function sanitize_callback in this way:
	public static function sanitize_callback( $field ) {

		if ( isset( $field['sanitize_callback'] ) && ! empty( $field['sanitize_callback'] ) ) {
			return $field['sanitize_callback'];
		}
		// Fallback callback
		if ( !isset($field['type']) )
			$field['type'] = '';
		return self::fallback_callback( $field['type'] );

	}

Don't know whether it is the right way, though, just to report the issue. Thank you as always for the great work.
Manuel :-)

Well... perhaps you have a control that doesn't have a type defined?
If that's the case, then the control will not function no matter what you do...
If you add the type, does that notice disappear?

 Many apologies.

:smile: no problem buddy, I'm glad it worked!
Closing this issue.
If you find any more issues don't hesitate to create new tickets for them... We need all the feedback we can get in order to improve the plugin.
Closing this issue.


Visual Studio Code frequently opens without window buttons

Type: Bug
Visual Studio Code has recently frequently been opening without the stoplight buttons in the toolbar. The window is also not responsive to the Close Window hotkey. This means that there is no way to close the window. The only way to close the window is to use Force Quit, but even that does not work very effectively.
 Meaning you can interact with the window but are having difficulty closing it.

@sbatten is there any more info I can provide? This happens at least daily.

@deepak1556 is there a known issue on the electron side? doesn't seem like something we would control?
@chriskuech what locale is your machine configured?

@sbatten I am en-us.
I believe both Discord and Slack are Electron and have not observed the same issue there.

You are right that they are Electron, but I don't know the version they use. I think I need @deepak1556 to point me in the right direction to figure this one out.

Is this possibly related to frame merging? I am pretty sure I have only (inconsistently) observed this when opening VS Code (accidentally) from the dock when it is already running with no windows open. I don't think I've had such a scenario with Discord or Slack that would trigger this.

Seems related to https://github.com/microsoft/vscode/issues/161586
@chriskuech are you facing a similar usage scenario to https://github.com/microsoft/vscode/issues/161586#issue-1383667662 ? can you share your settings ?

@deepak1556 this sounds like possible match. What settings can I provide and how?

I would like to confirm your window related settings, you can share the settings.json output in this thread.

Ah I do see "window.restoreFullscreen": true,. I have set it to false and will report if I still see the issue. It would be nice to have this supported though.

Using that setting seems to have helped--I no longer observe this issue daily, but still occasionally observe the issue.

I will merge this to https://github.com/microsoft/vscode/issues/161586


Cuda

Hi All
I successfully installed trt_pose on jetson nano board, very interesting, thanks! i would like to install on a pc with 2070rtx using  nvcr.io/nvidia/tensorrt:20.12-py3 based custom docker but, during model conversion (early), it gives me this error
[TensorRT] ERROR: CUDA initialization failure with error 222. Please check your CUDA installation:  http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
Traceback (most recent call last):
File "live_demo.py", line 40, in
model_trt = torch2trt.torch2trt(model, [data], fp16_mode=True, max_workspace_size=1<<25)
File "/usr/local/lib/python3.8/dist-packages/torch2trt-0.1.0-py3.8.egg/torch2trt/torch2trt.py", line 498, in torch2trt
TypeError: pybind11::init(): factory function returned nullptr
ubuntu:               20.04
Driver Version:  450.80.02
cuda:                  11.1
torch:                  1.7.1
torch2trt:             0.1.0
torchvision:         0.8.2
Thanks in advance
Gianluca

Hi All
Solved with nvcr.io/nvidia/tensorrt:19.12-py3 docker image
Thanks
Gianluca

[TensorRT] ERROR: CUDA initialization failure with error 222. Please check your CUDA installation:  http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
Traceback (most recent call last):
  File "tensorrt_convert2trt.py", line 54, in <module>
    main(args)
  File "tensorrt_convert2trt.py", line 35, in main
    model_trt = torch2trt(model, [input_], max_workspace_size=1 << 30)
  File "/home/gioipv/workspaces/miniconda3/envs/eye_state/lib/python3.7/site-packages/torch2trt-0.3.0-py3.7.egg/torch2trt/torch2trt.py", line 519, in torch2trt
    builder = trt.Builder(logger)
TypeError: pybind11::init(): factory function returned nullptr

Helllo, I am newbie
In my case, i think my user was not in docker group for user docker on nvidia.
I use aws and GPU is Tesla T4. Tensorrt use docker on nvidia.
Because, after I added my user account into docker group with  sudo usermod -aG docker $USER
I have to  activate the changes to groups with newgrp docker every time to use Tensorrt. Maybe after reboot my aws, i dont have to command newgrp docker, but for now, I had to do it for fix this issues


Why not just use the native macOS window?

CTRL + CMD + Space works system-wide, and is native to the operating system.
Screenshot:

Lol, I had no idea this existed!
I'm guessing this was just one of muan's learning projects early on.

The reason Mojibar exists is because with this native feature and in apps like Slack or elsewhere you need to remember the exact name of the emoji or be willing to search through them to find just the right one.
Mojibar uses a dataset of keywords associated with each emoji so that most often you can type the name of what you're thinking and find just the right emoji, hit a couple of keys and be on your way.
Like so:

😢
✨

Mojibar also can give you both versions: 😢 and :cry: which is sometimes needed.
So, for myself and I imagine others, that's why not 😄

Cool, thanks for that reply. It's just a matter of preference I guess.
I like how it integrates with any input field and automatically inputs the character. =]

"Systemwide" is actually not true. Ctrl+cmd+space doesn't work in Word...


Restarting protractor browser between tests can cause issues

It seems like restarting the protractor browser between tests can cause some issues:

an unnecessary browser session might get started after the test run is finished - #34, #43
the failing test might not get reported - #43

The possible root cause of those issues could be related to:

angular/protractor#4224 - "restartBrowserBetweenTests should restart test in beforeEach, not afterEach"
angular/protractor#2001

It would be great to get a reproducible scenario demonstrating this issue.

This appears to only happen in versions after 1.2.4

So far it seems like Protractor will kill the browser and spawn a new one after every single test, including the last test, if the restartBrowserBetweenTests flag is set to true
This results in an orphaned browser session that's spawned after the suite is executed.
I'm not yet sure if that's a problem with Protractor or how Serenity/JS communicates with the Protractor Runner and Protractor afterEach hook. I need to investigate this further.

While this is getting investigated by the protractor team, is there a way to manually specify a beforeEach and AfterEach in serenity? would it be in the world.ts file?

You can do this using the standard mechanisms of either of the supported test runners: Mocha or Cucumber.
Here's an example of using an after hook with cucumber.

Looks like @darrinholst managed to work around this problem, we'll need something similar...

Any Progress on this? We're not able to run more than 2 Cucumber-Testscenarios without this errors:
(node:6644) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 40): NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used.
NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used.          at WebDriverError (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\error.js:27:5)          at NoSuchSessionError (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\error.js:122:5)          at session_.flow_.promise (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\webdriver.js:856:16)          at new ManagedPromise (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:1067:7)          at ControlFlow.promise (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:2396:12)          at promise.finally (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\webdriver.js:855:34)          at promise.then.error (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:1590:12)          at ManagedPromise.invokeCallback_ (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:1366:14)          at TaskQueue.execute_ (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:2970:14)          at TaskQueue.executeNext_ (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:2953:27)          at asyncRun (C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:2813:27)          at C:\Users\s.sander\workspace\connector-client-protractor\contentHubNG.E2E.Tests\node_modules\selenium-webdriver\lib\promise.js:676:7          at process._tickCallback (internal/process/next_tick.js:103:7)

@hamber-dick I have managed to work around this by setting restart between tests to false and following @jan-molak example posted above on 23rd of June.

Hi Jan,
Do we have solution for this now or any workaround to proceed In SerenityJS.

@jan-molak : For now do we have any workarounds/suggestion, that we can use with serenity-js