Flexbox - align-items vs. align-self

This is a thing I see pop up for me on the KF project - where I have an item I need to be flex-end that has siblings that shouldn't. Should we come up with a way to differentiate btwn. align-items and align-self @chrsgrffth

Here's the example:
http://cl.ly/2x0u0U153y1J
The Apply now section + sentence above it should always be at the bottom and everything else should be at the top like normal.


[DOCFIX] Translate chinese verison of revised part in Running-Flink-on-Alluxio.md

English version is /docs/en/Running-Flink-on-Alluxio.md

Merged build finished. Test PASSed.

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


Watcher Not working

Below is the watcher config put through sense
PUT watcher/watch/Email_watch
{
	"trigger": {
		"schedule": {
			"interval": "1m"
		}
	},
	"input": {
		"search": {
			"request": {
				"indices": "logstash-2017.02.20",
				"body": {
					"size": 0,
					"query": {
						"range": {
							"syslog_sev_level": {
								"lte": "6 "
							}
						}
					}
				}
			}
		}
	},
	"condition": {
		"script": "return ctx.payload.hits.total > 0"
	},
	"actions": {
		"send_email": {
			"throttle_period": "60m",
			"email": {
				"to"<EMAIL_ADDRESS>				"from"<EMAIL_ADDRESS>				"subject": "Syslog_sev_level less than or equal to 5",
				"body": "Syslog_sev_level less than or equal to 5",
				"attachments": {
					"attached_data": {
						"data": {
							"format": "json"
						}
					}
				},
				"priority": "high"
			}
		}
	}
}

Below is the Curl output
XXXX@ubuntu:/usr/share/elasticsearch/config$ curl -XGET 'http://localhost:9200/_watcher/stats?pretty'
{
	"watcher_state": "started",
	"watch_count": 2,
	"execution_thread_pool": {
		"queue_size": 0,
		"max_size": 15
	},
	"manually_stopped": false
}

Elasticsearch.yml config:
watcher.index.rest.direct_access : true
watcher.actions.email.service.account:
exchange_account:
profile: outlook
email_defaults:
from<EMAIL_ADDRESS>smtp:
auth: false
starttls.enable: false
host: Smtp.1bank.XXX.com
port: 25
user<EMAIL_ADDRESS>password:

Below is the versions been used ..
Kibana Version 4.5.4
elasticsearch 2.4.2
Logstash 2.3.4
Watcher 2.4.4.
Email for some reason is not been initiated ..Anyone can help if possible

GET watcher/watch/Email_watch
Will tell you when it last ran succesfully, if it ran succesfully this usally means from our perspective the email was succesfully handed off in which the pronblem might be somewhere in your infrastructure.
Using the watcher execute API you can manually trigger watches and debug them:
https://www.elastic.co/guide/en/watcher/current/api-rest.html#api-rest-execute-watch
If the watcher is somehow failing the logs in elasticsearch should hold more information.


[Go live] Application deployment

Describe the necessary steps to be able to go live

1 - The domain

Whatever our hosting solution, we need a domain name so that the user can connect to the client from the name rather than the IP address of the web host.

OVH is in my opinion the most logical choice to subscribe to a domain like refemi.com. They even offer a migration if the name is not available but you own it, a bit like refemi I think.
2 - Hosting

Several choices are available to us in terms of hosting; we can entrust the management of services to a provider, or rent a server and manage the various services ourselves.

a. Provider
I ) Database

Heroku : we could very well keep the same database until the offer evolves when we need it.
AWS: Amazon RDS would seem to be the offer to subscribe to, but honestly I can't figure it out; if you prefer, I'll have to do a little training.
OVH also offers its service; I've never used it, but I'm used to their interface and I find it rather relevant

II ) API server

Heroku : while we are at it, it is always possible to host the API with the same providers if we want to limit the access time to the DB.

III ) Web hosting

OVH : I often used their services which are more than correct, especially the support which is really reactive.
AWS : same problem as with the database, I am not comfortable with the interface, but I am sure they offer web hosting services

a. Personal hosting
I know of a debian overlay (YunoHost) that I personally use that would do the job perfectly as all the necessary services and security settings are pre-configured. One could of course set up everything manually.
VPS

OVH
Contabo

Dedicated server
I think that the solution with this type of server is much too much for what we intend to do.
3 - Deployment
1. API
The server must run constantly to provide data requested by the client; the API must therefore be deployed and launched from a server accessible with remote terminal access via SSH or via a web terminal provided by the provider
2. Web client
An Apache or NGinx service (or other but I can only think of those two at the moment) runs on a server and is configured to provide the connected user with what files to use for the given address (a domain name or an IP address); the files are conventionally stored in a www folder
If we choose a web host, it is possible that we will only be provided with FTP access to the server folders (like OVH); we will have to transfer the new build every time we update the project. But I suppose it should be possible to deploy the web server with tools provided by the provider.

Webpack
If we opt for a VPS, it will be possible, at first, to configure a webpack script to build the project in the www folder of the site, to then add unit tests, to make sure to deploy a new build when the main branch is updated, etc.
Again, I suppose some web host offers this kind of solution, but I don't know of any.

Feedback concerning your analysis:

for the API server/DB it's a good idea to remain with Heroku
OVH seems a good solution, I've used it too and it seems like a good choice
in terms of server I don't understand what you meant, but you're way more informed than I am, so I'll trust your advice :)
webpack could be the subject of another ticket because we'll need it anyway for the web performances

Questions :

could we keep deploying on your server as a testing environment?
should we create another ticket for the different steps to deploy on your server so we can add it to the documentation?
could create the needed tickets to report the different actions to go live?

Sorry for the twisted explanations but I preferred to detail the steps exhaustively so as not to forget anything. In short I think we need a virtual machine on which we can deploy the API and the web client.
We can of course continue to test the applications from my server: I have just created a user that I will communicate to you when I have configured the rights so that you can connect to it and act on the repository updates.
I will create the different tickets related to the deployment and try to feed their descriptions; I think the only tickets we need are for the webpack setup and the production server setup (configuration + upload)


Install the wheel

To be sure that we didn't miss any file in the package

No, it's not needed, in the audit it's needed because of asdf-vm...


Opengov locks

User had a warning that they are unable to pay for transaction fees despite showing 40,880.4714 HDX as transferrable.
User had:

400,000 HDX locked in Council elections
444,444 HDX locked in democracy (gov 1)
500,000 HDX locked as a decision deposit in opengov
1,000,000 HDX locked in an opengov referendum

In our UI, this gave a balance of -461,339 HDX.
Address: 7Hsq5RH9xUtPWFZMGXtoVWNd4CEjpJWsidf7bcGwNwdxp9Ha

On Polkadot OpenGov, it is not possible to vote in referenda using tokens that are used for DD - so it should not have been possible for the user to vote with 1,000,000 HDX.
polkadot.js apps and our UI then did not overlap the locked and reserved balances, meaning that the user was unable to pay transaction fees and became "bricked".

Hi there,
We use GitHub issues as a place to track bugs and other development-related issues.
Please see the link below to our dedicated support line:
Help Center :  Click Here
Ticket ID: WB240
Note: Click on the live chat icon at the bottom corner of the page to start a conversation.


Tokenizer in bert.cpp is not good enough, how about tokenizers-cpp

As mention in title, https://github.com/mlc-ai/tokenizers-cpp is a good implement for token.
Maybe persons do not like another dependency, but it is worthy.

Using a mature implementation is helpful

case / uncase may both work.
CJK will work.
it is effecient.

I believe it works (demo as bellow).

But it won't be done right away.

Great!

After review and testging, I found current tokenize implement is not efficient enough.
Import tokenizers-cpp boost much.
Bellow is the benchmark on my laptop (via m2 max).

I believe it works (demo as bellow).

But it won't be done right away.

E5 or m3e?  that's great!

This is a very exiting direction, and huge props to FFenglll for getting this working.
Unfortunately I don't have much time to work on this project right now, but I think people would enjoy the changes you've made recently.
The usecase I originally had for this project is no longer valid, so I'm not as invested in making this library "production quality".
So I have 2 suggestions on how to share your changes:

Make a new repo with the updates and I'll add a link to it at the beginning of the readme, saying that version is more up to date
I can give you contributor rights to this repo and the huggingface storage for the pre-converted models. I can still do code reviews and answer any questions, but you'd be free to set the direction for the project to your liking (e.g. changing the tokenizer)

This is a very exiting direction, and huge props to FFenglll for getting this working. Unfortunately I don't have much time to work on this project right now, but I think people would enjoy the changes you've made recently.
The usecase I originally had for this project is no longer valid, so I'm not as invested in making this library "production quality".
So I have 2 suggestions on how to share your changes:

Make a new repo with the updates and I'll add a link to it at the beginning of the readme, saying that version is more up to date
I can give you contributor rights to this repo and the huggingface storage for the pre-converted models. I can still do code reviews and answer any questions, but you'd be free to set the direction for the project to your liking (e.g. changing the tokenizer)

@skeskinen  Thanks for your suggestions.
After thinking, I wish to build a new repo (actually still a fork) with name embedding.cpp.

of course, orginal info for bert.cpp is kept.

The reason is what I really require is just a efficient text embedding tool which can be deployed standalone.
I've worked on this area for some time, and very glad to see bert.cpp and join in.
Some other minor reasons might be

I am eager for efficiency, but tokenizers-cpp will import rust into build, someone may not like the way.
Changes are large and happens frequently, holding in a fork might be better.

@cgisky1980 both of them work well.

This is a very exiting direction, and huge props to FFenglll for getting this working. Unfortunately I don't have much time to work on this project right now, but I think people would enjoy the changes you've made recently.
The usecase I originally had for this project is no longer valid, so I'm not as invested in making this library "production quality".
So I have 2 suggestions on how to share your changes:

Make a new repo with the updates and I'll add a link to it at the beginning of the readme, saying that version is more up to date
I can give you contributor rights to this repo and the huggingface storage for the pre-converted models. I can still do code reviews and answer any questions, but you'd be free to set the direction for the project to your liking (e.g. changing the tokenizer)

@skeskinen Thanks for your suggestions.
After thinking, I wish to build a new repo (actually still a fork) with name embedding.cpp.

of course, orginal info for bert.cpp is kept.

The major reason is what I want is just an efficient text embedding tool which can be deployed standalone.
I've worked on this area for some time, and very glad to see bert.cpp and join in.
Some other minor reasons might be

I am eager for efficiency, but tokenizers-cpp will import rust into build, someone may not like the way.
Changes are large and happens frequently, holding in a fork might be better.

THX.   where is the new repo?

@FFengIll   need  embedding.cpp

Here is the repo: https://github.com/FFengIll/embedding.cpp
And I must remind that it is WIP and not stable enough.


liquid convertor package upgrade 4.3 fix

This was based on the compass teams suggestion for fix. The recent version of the liquid convertor package caused one of the unit tests to fail.
Description
Describe the changes in this PR.
Related issues
Addresses [issue #].
Testing
Ran through unit test after modification was done. This works with previous version of the package as well not just 4.3
FHIR Team Checklist

[ ] Update the title of the PR to be succinct and less than 50 characters
[ ] Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
[ ] Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
[ ] Tag the PR with Azure API for FHIR if this will release to the Azure API for FHIR managed service (CosmosDB or common code related to service)
[ ] Tag the PR with Azure Healthcare APIs if this will release to the Azure Healthcare APIs managed service (Sql server or common code related to service)
Review squash-merge requirements

Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)

Dependabot build fixed it self and it contained this change already. Abandoning this PR


Fix random test fails due to segfault by chromadb & Float32Array not shared in jest context isolation

The way chromadb imports @xenova/transformers package in file chromadb/src/embeddings/TransformersEmbeddingFunction.ts:33 makes it result in random segment fault errors terminating the tests prematurely. This fix contains a code that bypasses chromadb package and directly uses the @xenova/transformers package
Due to how jest isolates the context of each running test (https://github.com/xenova/transformers.js/issues/57, https://github.com/kayahr/jest-environment-node-single-context, https://github.com/jestjs/jest/issues/2549) - it makes it impossible for onnxruntime-node package to validate the array passed as an input to it is actually an instanceof Float32Array type. The instanceof results in false because the globals are different between context. This commit shares the Float32Array global between each context.

Makes sense, thank you for looking into this!

You're the best @jacoblee93 for finalizing this! Hail to the opensource community!!

Thank you again!


Finding a constant value which is not a phase in img for surface_area…

… padding calculation

This is not exactly what I was hoping for, it does not compare between -1 and 255 in uint8.
For example:
-1 in np.array([0, 255], dtype=np.uint8) False


[Question] Partial attribute translation

After reading the documentation, I've seen that it is possible to do translations on attributes by annotating it correctly. e.g. <input type="text" placeholder="{{'Username'|translate}}" /> . However, I was wondering if it was possible to do partial translation on an attribute. e.g. i only want to translate the "step" text in the following code <label for="btnStep_{{$index}}" aria-label="{{$index == 0 ? '' : 'Step ' + $index}}" translate="yes">{{item.pageTitle}}</label>
Thanks!

nevermind i was able to accomplish this task by using the proper angular js method and splitting out the label into two labels.


fix(operator): allow retries to consider exit code from init container and don't consider node as pending if init failed. Fixes #11354/#10717/#10045

Fixes https://github.com/argoproj/argo-workflows/issues/11354 and https://github.com/argoproj/argo-workflows/issues/10717 and https://github.com/argoproj/argo-workflows/issues/10045
Before this fix it would always go into pending because main container was waiting state (https://github.com/argoproj/argo-workflows/blob/4742e9dd6ab2b797d32cb0953849fdcfe82ea325/workflow/controller/operator.go#L1404) even though init container already terminated with non-0 exit
This supersedes https://github.com/argoproj/argo-workflows/pull/13852
cc @terrytangyuan

Before this fix it would always go into pending because main container was waiting state even though init container already terminated with non-0 exit

This will only be encountered when using ContainerSet, right?

Before this fix it would always go into pending because main container was waiting state even though init container already terminated with non-0 exit

This will only be encountered when using ContainerSet, right?

no, see the logs/comments in the linked issues

We face this issue regularly, adding retry might very help.
We use 3.6.12.

Before this fix it would always go into pending because main container was waiting state even though init container already terminated with non-0 exit

@tooptoop4 I think your PR does not truly resolve this issue, because the nodes in the containerSet are initialized to Pending by default. Could you please add some tests?
https://github.com/argoproj/argo-workflows/blob/9d1d2cd518628b2d4298b435386e82c7e7960f0d/workflow/controller/container_set_template.go#L35

@jswxstw this has nothing to do with containerset, i don't run that workflow type

@jswxstw this has nothing to do with containerset, i don't run that workflow type

But the line of code you posted here is only relevant to the issue with containerSet.
https://github.com/argoproj/argo-workflows/blob/4742e9dd6ab2b797d32cb0953849fdcfe82ea325/workflow/controller/operator.go#L1404

that block is not limited to containerSet

that block is not limited to containerSet

Please provide the workflow you tested to prove it.

@toralf @epifanov6 Could you please clarify whether the issue you encountered is related to the missing exit code of the init container, or is it that the node is Pending when the init container fails?

see linked issues for all the details

@jswxstw Init container is in state "Terminated", because of the reason "Error".
Then main container is in state "Waiting".
I believe that retry of the init container could help it this situation.

@jswxstw Init container is in state "Terminated", because of the reason "Error". Then main container is in state "Waiting". I believe that retry of the init container could help it this situation.

@epifanov6 The node should be Failed if init container fail, which by setting retryStrategy, you can achieve automatic retries.


sql: provide documentation on row-level ttl workarounds

We don't yet support row-level TTL. This feature is useful in that it cuts down on the effort developers need to take to delete and manage data.
In the meantime, we should document workarounds such as using cron jobs to periodically delete certain data in a performance first manner.
cc @rkruze who was asking about this.

@awoods187 any progression on this?

We haven't prioritized the doc work here given the opportunity cost for other work. Do you want to make a case for increasing the prioritization?

I'm making this p-1 and grouping it with various delete issues:
https://github.com/cockroachdb/docs/issues/5592
https://github.com/cockroachdb/docs/issues/4819
https://github.com/cockroachdb/docs/issues/4818

Here's a customer ticket related to needing better recommendations around batch deleting https://cockroachdb.zendesk.com/agent/tickets/5882

Some guidance on why and how to batch large writes would be great. For example, with Postgres you'd batch writes to avoid holding row-level locks on a huge number of rows for a long time, which would block other concurrent writes to those rows. By batching you reduce the max number of rows locked at any given time, and those locks are held for a shorter time-frame. I'm not sure if CRDB has similar behavior for large writes, but an explanation of this form would be great.

Since @rohany's change that adds crdb_internal_mvcc_timestamp, we can recommend this pattern:
root@<IP_ADDRESS>:55288/defaultdb> delete from t where crdb_internal_mvcc_timestamp ><PHONE_NUMBER>127148000.0000000000 LIMIT 10000;

Very nice
Sent from my iPhone

On Aug 11, 2020, at 3:23 PM, Jordan Lewis<EMAIL_ADDRESS>wrote:

Since @rohany's change that adds crdb_internal_mvcc_timestamp, we can recommend this pattern:
root@<IP_ADDRESS>:55288/defaultdb> delete from t where crdb_internal_mvcc_timestamp <<PHONE_NUMBER>127148000.0000000000 LIMIT 10000;
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Undefined Reference to "GLOBAL_OFFSET_TABLE" when linking guest32.o

Hi,
first of all thanks a lot for all the code, I'm currently trying to get started setting up a VM with KVM api (ideally 64 bit mode later on) and these examples help me a lot in understanding how to use the KVM api :+1:
Unfortunately I get an error message When trying to compile the code with "make run":

Original Output:
ld -T guest.ld -m elf_i386 guest32.o -o guest32.img
guest32.o: In Funktion »_start«:
guest.c:(.start+0x6): Warnung: undefinierter Verweis auf »GLOBAL_OFFSET_TABLE«
Makefile:26: die Regel für Ziel „guest32.img“ scheiterte
make: *** [guest32.img] Fehler 1

So ld complains about an undefined reference to "GLOBAL_OFFSET_TABLE" at offset ".start+0x6" when trying to link the guest32.o file into guest32.img using the guest.ld linker script.
(Trying to build this on an Ubuntu 17.10 64 bit OS with Intel® Core™ i5-2400 CPU inside).
Anyway 16bit and 64bit version give no errors when compiling and linking, everything works just fine here.
Did I miss anything for 32bit-mode? Unfortunately I don't have an idea how to fix this problem currently ...
Could you maybe tell me what causes this problem and how to fix it?
Thanks a lot in advance for your help :)
Kind regards,
Andreas

I'm not sure what the problem is.  It doesn't sound like you are doing anything wrong.  I'll try installing Ubuntu 17.10 in a VM and see if I can reproduce the problem.  I hope to do that in the next few days.

I couldn't get nested KVM working within a VM, so I reproduced the problem by using debootstrap to build an Ubuntu 17.10 chroot.
The error is due to recent versions of Ubuntu building PIE/PIC by default (https://wiki.ubuntu.com/SecurityTeam/PIE).  I've added the -fno-pic option to the relevant gcc lines in the Makefile to prevent this.  It should work for you now.


shouldEstablishDirectChannel issue

Xcode version: 10.1
Firebase SDK version: 5.16.0 (latest)
Firebase Component: Messaging
Component version: 3.3.0

Steps to reproduce:
I'm building an app for displaying the user real time data updates using firebase messaging notifications. I've implemented all of the required code from the quick start and set Messaging.messaging().shouldEstablishDirectChannel = true.
Everything works fine, but my issue is the queuing feature the comes with the direct channel enabled.
Is there any way to disable this specific feature? My use case is notifying the user without asking for notifications permission as i don't show the user any notification once received - just UI updates in foreground mode only.
Relevant Code:
class AppDelegate: UIResponder, UIApplicationDelegate {
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        FirebaseApp.configure()

        Messaging.messaging().delegate = self
        Messaging.messaging().shouldEstablishDirectChannel = true

        return true
    }
}

extension AppDelegate: MessagingDelegate {
    func messaging(_ messaging: Messaging, didReceive remoteMessage: MessagingRemoteMessage) {
        print("Push received")
        print("Push data: \(remoteMessage.appData["title_data"] ?? "")")
    }

    func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String) {
        print("Firebase registration token: \(fcmToken)")
    }
}

JSON data sent:
{
  "to": "/topics/test",
  "data": {
    "title_data": "This is a Firebase Cloud Messaging Topic Message!"
  }
}

@eitanaviv what queueing feature are you referring to specifically?

@morganchen12 I would like to use the Direct FCM channel messages to reliably receive silent, data-only messages directly from FCM, bypassing APNs when the app is in the foreground (as the docs says), but i'm also getting this queuing feature as described in the docs With the direct channel enabled, the FCM backend uses a reliable message queue to keep track of pending messages when the app is in the background or closed.
This queuing feature i would like to disable, for just getting the data payload from the notification when in foreground mode only.

There's no way to disable that feature unfortunately. Have you considered using Firestore and observing a document? That way you could change the document every time you wanted to show a new message and then in the client display the contents of the document. Whenever you wanted to not listen to updates, you could just detach the listener.
Alternatively, you can implement a timeout on your client for the messages you're receiving from FCM so stale messages could just be ignored.

@morganchen12 I don't want to use firestore/real-time database so it won't cost me.

Alternatively, you can implement a timeout on your client for the messages you're receiving from FCM so stale messages could just be ignored.

How can i reach that?

You can add a timestamp as a parameter to all your FCM sends, and then on the client just compute the time that's elapsed since each send and ignore messages that are too old.
Closing this for now since this isn't a feature we plan on adding, but feel free to continue discussion on this issue.


Discord Emote filtering

Currently it dumps an internal representation in Discord emotes, such as this; https://gyazo.com/77eb01cc6db50f9b46f4606f8e7a3b9c - figure a better format.

Fixed by 96d82caeff0ac87b7b777695f34fe338cd3fce08


Budget given is smaller than the lower bounds

Hi has anyone faced the below error when trying to run optimize_media.find_optimal_budgets--Budget given is smaller than the lower bounds of the constraints for optimization. This will lead to faulty optimization. Please either increase the budget or change the lower bound by increasing the percentage decrease with the bounds_lower_pct parameter.

When you are running budget optimization, budget is the total for the n_time_periods of your desired time period. If your average weekly spend is 10k and you want to optimize for a quarter(12 weeks) , then the budget would be 120k. The bounds_lower_pct  and bounds_upper_pct  are levers for you to set some constraints on individual media variables, the default is 0.2/20% I guess. If you look at the code in optimize_media.py the bounds are set from average media values from the training data.
You will get the above error you have mentioned, if the sum of all lower bounds for the media variables is greater than the budget specified. It is just that the optimizer finds that even if all the media variables are set to lowest possible spend, it exceeds the total budget and fails the budget constraint. What you can do is either allow the optimizer to reduce spend on some media variables (by decreasing the bounds_lower_pct) or increasing the budget.
Going by same example above, if the budget is 120k and all media channel spend are set to given bounds_lower_pct say comes to 150k, you will have the error above as the optimizer couldn't meet budget constraint. You can decrease the bounds_lower_pct to allow optimizer to meet the 120k budget or increase the total budget from 120k to 150k.

Thank you for the response.The code only works when I reduce the lower bound by 1/100%. Is that normal?

So, typically the bound range should be 0.5/50% for lower and 1-2/100% for upper.
Following is the code from _get_lower_and_upper_bounds function in optimize_midea.py file.
if media.ndim == 3:
        lower_pct = jnp.expand_dims(lower_pct, axis=-1)
        upper_pct = jnp.expand_dims(upper_pct, axis=-1)

    mean_data = media.mean(axis=0)
    mean_data = MEDIA_MEAN
    lower_bounds = jnp.maximum(mean_data * (1 - lower_pct), 0)
    upper_bounds = mean_data * (1 + upper_pct)

    if media_scaler:
        lower_bounds = media_scaler.inverse_transform(lower_bounds)
        upper_bounds = media_scaler.inverse_transform(upper_bounds)

    if media.ndim == 3:
        lower_bounds = lower_bounds.sum(axis=-1)
        upper_bounds = upper_bounds.sum(axis=-1)

    return optimize.Bounds(lb=lower_bounds * n_time_periods,
                                                 ub=upper_bounds * n_time_periods)

The function just takes the mean for all media channel values, multiplies the percentage set using lower and upper argument. Using that as the avg value multiplies that by n_time_periods to get the bounds for each channel for the whole time period of the optimization.
Now couple of things could be a problem.

I am not sure how you are setting the budget. It has to be unscaled value of spend for the total time period you're running optimization for. Try setting it high value to check
Depends, If you're using just cost or just impressions or mix of cost/impressions. bounds.lb*prices is checked against the budget. So check the price values you're passing to the function. You can just use historical cost/historical impressions as an estimate.


How can I set active slider in slick?

I was trying to set active slider via init method.
There is no option to set active slide in "Options"
OR
There is any other way though "init" callback method?

Closing pending edit of this issue to conform to guidelines detailed in https://github.com/kenwheeler/slick/blob/master/CONTRIBUTING.markdown


Update doc.yml

Description
update pandoc version

Job PR-169/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-169/1/index.html


Generate new objects.

Current dependencies on/for this PR:

main

PR #16   👈

This stack of pull requests is managed by Graphite.


Flutter web: CreateProcessW failed 2 debug error

Steps to Reproduce

I was trying to debug my main.dart file in VSCode and there is this error being thrown up in my debug console which i have attached below and my webpage won't render after it.
Here is the output  in my debug console:
Registering build targets...
Starting initial build...
Serving DevTools at http://<IP_ADDRESS>:51507
Starting resource servers...
Serving `web` on http://localhost:51499
CreateProcessW failed 2
Exited (1)

and there is this error
CreateProcessW failed 2
Exited (1)

Tried removing spaces and disabling my firewall but the problem still persists.

flutter analyze report:
$ **flutter analyze**
Analyzing ghghghghgghh...
No issues found! (ran in 3.0s)

flutter doctor report:
 $ flutter doctor -v
[√] Flutter (Channel beta, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.14393], locale en-GB)
    • Flutter version 1.5.4-hotfix.2 at C:\flutter
    • Framework revision 7a4c33425d (3 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\acer\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\acer\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

This is a dupe of https://github.com/Dart-Code/Dart-Code/issues/1735.
@bayardkalyan can you confirm if you've got Chrome installed, and if so what the location of chrome.exe is (please post on https://github.com/Dart-Code/Dart-Code/issues/1735 and we'll continue the investigation there).
Thanks!


After disabling Markdown security warnings, I can't change the markdown security policy

Testing #32251

Open markdown preview with disabled content
Click warning
Disable warnings
Run command Markdown: Change Preview Security Settings
Nothing happens :bug:

I should still be able to change it manually.

Sounds like a duplicate of #39387. Can you please try switching back to the markdown editor and see if the commands work then

Oh yeah, I guess so


sequential number becomes discrete

I checked a sequential number of received MAVLINK - MESSAGE.
A sequential number becomes discrete.
Receive Seq# D
Receive Seq# F
Receive Seq# E
.
Receive Seq# 20
Receive Seq# 22
Receive Seq# 21
I expect that the following cord is the cause.
memcpy(transmit_buf + transmit_buf_size, msg.buf, msg.buf_len);
transmit_buf_size += msg.buf_len;
transmit_buf_packets++;

if (msg.msgid == 0)
    broadcast_packet(msg);

sending que(Seq#C) ----> Receive C
sending que(Seq#D) ----> Receive D
queing Seq#E
queing Seq#F
sending Seq#F(msg.msgid=0) ----> Receive F
sending que(Seq#E) ----> Receive E
sending que(Seq#F)
Thank you for useful package.

Indeed, since I don't generally touch the sequence numbers, the receiver could receive both the packet that is broadcast in the network and packet with identical data which is addressed directly to the receiver.
I don't think it can be easily solved, unless one doesn't need the broadcast functionality. Re-writing the sequence numbers would be a worse idea, because that packet essentially is a duplicate data.
IMO, this should not pose a problem for the following reasons:

This is a guaranteed to be a heartbeat packet (msgid=0), so the side effects should be minimal (increased received heartbeat frequency?)
Receiver implementation can (should?) discard the packets with identical sequence number.

Thank you for replay.
I respect your opinion.
Please close this issue.


Add non-breaking standard RSA decryption

Closes #90, detects what decryption way app wants to use (standard RSA one, like arweave.app uses, or old ArConnect one with AES in the middle), and uses it.

@martonlederer Can you review?


orcania: 2.2.2 -> 2.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/babelouest/orcania/releases.
meta.description for orcania is: "Potluck with different functions for different purposes that can be shared among C programs"
meta.homepage for orcania is: "https://github.com/babelouest/orcania"
meta.changelog for orcania is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.3.0 with grep in /nix/store/hlh96r5jnjsmq6pyqqdxd0pkixjz7wqs-orcania-2.3.0
found 2.3.0 in filename of file in /nix/store/hlh96r5jnjsmq6pyqqdxd0pkixjz7wqs-orcania-2.3.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
orcania
yder

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hlh96r5jnjsmq6pyqqdxd0pkixjz7wqs-orcania-2.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A orcania https://github.com/r-ryantm/nixpkgs/archive/546a3ad5b1ea815a207174b8228a116ba21ab72b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hlh96r5jnjsmq6pyqqdxd0pkixjz7wqs-orcania-2.3.0
ls -la /nix/store/hlh96r5jnjsmq6pyqqdxd0pkixjz7wqs-orcania-2.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

orcania
yder

Maintainer pings
cc @JohnAZoidberg for testing.

Result of nixpkgs-review pr 183700 run on x86_64-linux 1

2 packages built:

orcania
yder


grid_300 fixed

I have fixed grid Creator - Web design [https://github.com/KwickerHub/WebCraftifyAI/issues/300] and added the resources
grid_300_ViprajTelukoti.html
img-1.png
img-2.jpeg
img-3.jpeg

Solved the issue grid Creator - Web design #300

Hello @NtemKenyor, I have submitted a PR. Could you please check and approve it? Thank you so much for all your help.

Heartfelt Thanks for Your Contribution to Our Open Source Project!
            Dear @viprajtelukoti,

            I trust this message finds you in good health and high spirits. I am reaching out with a heart full of gratitude for your recent contribution to our open source project. Your dedication has not only elevated the functionality of our project but has also exemplified the collaborative spirit that lies at the core of thriving open source communities.

            A heartfelt congratulations are in order for your exceptional work! Your commitment and expertise have played a pivotal role in the success of our project, and we consider ourselves truly fortunate to count you among our community members.

            I must extend my sincere apologies for the delay in responding to your pull request. Your patience and understanding during this time are immensely appreciated. As our project continues to grow, we acknowledge the imperative need to enhance the quality and response time for contributions. To address this, we've kickstarted a call for maintainers and reviewers who can help us uphold the high standards of our project and ensure swift responses to pull requests.

            Your involvement and insights would be invaluable in this initiative. If you, or someone you know, is interested in taking on a more active role in the project, please don't hesitate to reach out. We firmly believe that with a robust team of maintainers and reviewers, we can elevate both the quality of the project and the speed of our responses.

            On an exciting note, I am thrilled to share that we have activated the sponsorship button for our project. This development allows supporters like yourself to contribute to the sustainability and growth of the project. Your ongoing support, whether through code contributions or sponsorship, is genuinely appreciated.

            Once again, congratulations on your outstanding contribution, and thank you for being an indispensable part of our open source community. We eagerly anticipate your continued collaboration and shared success.

            Best regards,

            Ntem Kenyor K.
            Lead
            Kwickerhub


Using min and max constraints together results in inconsistent (random) layout.

To Reproduce
let chunks = Layout::default().constraints([
    Constraint::Max(terminal.size()?.height - 2), // 0
    Constraint::Length(1),                        // 1
    Constraint::Min(1),                           // 2
])

Sometimes makes chuncks[0] fill up the screen and the chunks[2] is just one line. Sometimes chunks[0] is just not there at all and there's a bunch of empty space on the bottom because 2 took up all the space.
Expected behavior
The layout should come out the same way every time. Honestly it doesnt matter if its the way I want it to be or not it has to be the same every time I run it.
Screenshots
┌Tree vie┐┌List───────────────────┐
│        ││Item 1                 │
│        ││Item 2                 │
│        ││Item 3                 │
└────────┘└───────────────────────┘
Modeline
Logs

Modeline
Logs

Environment

OS: Linux
Terminal Emulator: Alacritty
Font: Monospace
Crate version: 0.19.0
Backend: Crossterm

Additional context

Hey :wave:
This crate isn't being worked on anymore, if you're interested, you can reopen your issue over on the ratatui repo. Ratatui is the new community maintained fork of this wonderful crate !


⚠ Bofrost.ch has degraded performance

In 11a3169, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1614 ms

Resolved: Bofrost.ch performance has improved in a02a18a.


Search not working?

The player search opens the all player list and shows uncaught error 200, which is odd, as 200 shouldn't be an error I guess?

Works fine in my dev environment. Can you open the Network tab in your developer tools and follow the Ajax/XHR request of the search? Should look something like: http://banmanager.devel/index.php?action=searchplayer&player=%&server=0&excluderecords=undefined&ajax=true&size=10&page=0&sortby=column[0]=1&filter=filter
And it's (JSON) response looks like:
{
  "total_rows": 7987,
  "rows": [
    [
      " superman9944<\/a>",
      "Ban",
      "Console",
      "imported",
      "Permanent<\/span>",
      "20 May 2012 04:01:36 AM"
    ],
    [...]
}

What's your response?

Thats odd, know it works. It didn't work the last 2 days and I had reports coming in that it didn't work. It magically started working.
Could it be that while the skin API is offline (which it was) it stops working?

Oh, another idea: did you perhaps forgot to disable $settings['debug']['error_reporting'] or $settings['debug']['sqlcache']?

Debug is completely disabled.

Okay, then try to follow the Ajax request next time you see such error. Then we can try to find the origin of this problem :)

Alright will do, thanks.

This issue still persists for me, I'm unable to follow the AJAX request exactly, however a) I seem to always get a 404 on the language file, even though it seems to work, it asks for domain.com//bansl10n/de.json instead of domain.com/bans/l10n/de.json.
Also, it seems to answer with the search results, but instead of displaying the them it shows the uncaught error 200.

Can you give me a link so I can reproduce the problem?

https://halfminer.de/bans/index.php
This should work with most players, but not all weirdly

Somehow I can't get it to throw that error. What do you search for exactly? I almost tried the whole alphabet and also full player names which worked fine.

Try Quickiii

Ha, found it:

Seem's like this is the same problem as reported in #95.
I have to take a look at this. I also wonder why happens randomly.
Stay tuned :)

Nice, thanks!

You can keep track of the progress of this issue in #95. I'll close this and mark it as duplicate instead :)


ibm-table-toolbar-search clear button not working in Firefox

Detailed description
Toolbar search close button not clearing the text present into search text box in Mozilla.
Steps to reproduce the issue

Include toolbar search in page
Open that page in Firefox.
Write something in search text box
try to clear by pressing clear button
You will observe that text does not get cleared.

Additional information
I have attached screenshot of same

Seems to work for me ... a couple of questions:

what version of firefox?
are you using the experimental styles?
what version of carbon-components and carbon-components-angular?
can you create a minimal reproduction? (on codesandbox ideally)

Seems to work for me ... a couple of questions:

what version of firefox?
are you using the experimental styles?
what version of carbon-components and carbon-components-angular?
can you create a minimal reproduction? (on codesandbox ideally)

what version of firefox?
Please find attached image for Firefox version
are you using the experimental styles?
Yes
what version of carbon-components and carbon-components-angular?
carbon-components version :- ^9.76.0
carbon-components-angular version :- ^2.32.1
can you create a minimal reproduction? (on codesandbox ideally)
https://codesandbox.io/s/ol521qn4my

Ah, I see the issue now ... the close button needs z-index: 1 in firefox to bring it to the front

Seems to be fixed as of carbon-components 9.84.14


Fix capitalization issues in import path

Goal of this PR
This PR fixes some import path issues that people have had sometimes.
How to test it

CI should pass
Tests should pass go test ./...
go mod tidy should not cause any change in the go.mod file

Pull Request Test Coverage Report for Build 743

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 741:
0.0%

Covered Lines:
536

Relevant Lines:
536

💛  - Coveralls

CI is breaking but not due to this PR, it seems to be an issue with Travis again so I'll make this pass in the meantime. I contacted the support, it should be fixed soon.


types: Remove ImageResource type.

The ImageResource type was just an alias for string.
Therefore, we can just assign the string type directly
instead of ImageResource.
See #2561 for further discussion.

Thanks!
That looks more reasonable than what we had :)


Update prod-beta to newest master

Codecov Report

Merging #20 (8403001) into prod-beta (32ce367) will decrease coverage by 0.24%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##           prod-beta      #20      +/-   ##
=============================================
- Coverage      11.94%   11.69%   -0.25%
=============================================
  Files             34       34
  Lines            335      342       +7
  Branches          54       57       +3
=============================================
  Hits              40       40
- Misses           286      293       +7
  Partials           9        9

Impacted Files
Coverage Δ

src/Components/ConfirmChangesModal/index.js
0.00% <0.00%> (ø)

src/Routes/Dashboard/index.js
0.00% <ø> (ø)

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 32ce367...8403001. Read the comment docs.


add more emoji to readme

because if not in this project, where else?

fixed in f56a368b028869e84362fe17385fb73ecfec4180 (will be in main in next release after v1.2.1)


Changed Go Versioning output to allow multiple segments

Hello there,
Pardon if this is not the correct way to approach this. Yup this might be my first PR. Love the bullet-train theme. Today I started learning about go and noticed that there is an issue with multi segmented versions on the prompt output. It would look
1.1
0.10
and have a lot of white space. I think this new regex will work as long as the version number comes first.
Let me know if you want to discuss it's just a suggestion and appears to work with at least the current go version information.

#264

Thanks awk is definitely a nicer solution.
On Tue, Apr 24, 2018 at 3:35 AM, Salmanul Farzy<EMAIL_ADDRESS>wrote:

#264 https://github.com/caiogondim/bullet-train.zsh/pull/264
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/caiogondim/bullet-train.zsh/pull/277#issuecomment-383833466,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqUbiPEgCDedzQn-7DYA01AqY3pngl5ks5trtXKgaJpZM4Tg-CV
.


release sdk

we have gone through many approaches, but there are the options:

to convert the monorepo to one go module
to tag each module separately with a tag name module/version to be auto published on https://pkg.go.dev/
publish each module manually on https://pkg.go.dev/

went with the 2nd approach, thanks for doing the investigation!


Move function builtin_bswap128 to BitUtil.h

There are CI failures:
In file included from /home/runner/work/velox/velox/velox/./velox/common/base/BigintIdMap.h:20,
                 from /home/runner/work/velox/velox/velox/velox/common/base/BigintIdMap.cpp:17:
/home/runner/work/velox/velox/velox/./velox/common/base/BitUtil.h:973:6: error: #elif with no expression
  973 | #elif
      |      ^
ninja: build stopped: subcommand failed.

All the PRs cannot pass Build Pyvelox Wheels CI, it should not be caused by this PR.
This PR also fails https://github.com/facebookincubator/velox/pull/6200


[PLT-670] Add  MustValidateIn to tx constraints

MustValidateIn is now managed in OffChain.processConstraint.
There's an integration test to check that mkTx set the validityTimeRange accordingly when the constraint is used.

Pre-submit checklist:

Branch

[X] Tests are provided (if possible)
[X] Commit sequence broadly makes sense
[X] Key commits have useful messages
[X] Formatting, PNG optimization, etc. are updated

PR

[X] Self-reviewed the diff
[X] Useful pull request description
[X] Reference the ADR in the PR and reference the PR in the ADR (if revelant)
[X] Reviewer requested

For this PR, I would recreate the same tests in Spec.TxConstraints.TimeValidity, but for plutus-tx-constraints instead of plutus-ledger-constraints (keep the old one until we finally remove it).

Got a failure I'm unable to explain in the protocolV5Cardano test.
The transaction pass despite the validityRange, not sure if it's normal due to how we build the transaction in Tx.Constraints or not.

protocolV5 test keeps failing with Tx.Constraints. I wonder if it can come from the way we test in the two cases: we check that the transaction is validated within its validity range in the Tx.Constraints case, while we are checking the validity range that is stored in ScriptContext in the initial case. Unfortunately, I can't use the validator as not enough Tx.Constraints are available on main.

I'm fine with removing the V5 test, as long as we have a good negative test that shows the positive test doesn't succeed by accident.

It leads to the other issue with the PR at this stage: the failing test defines an unreachable range for a Tx and checks that the Tx isn't validated after some slot. Unfortunately, the transaction isn't failing either, it's just waiting for a valid slot that doesn't (and can't) come.
I think it's ok, but maybe we  (I) should open an issue to investigate whether this behavior should be fixed.


RequestState & DidDetermineState Sometimes Doesn't Get Called on iOS

I see why they put a delay timer directly after requesting the state per the stackoverflow link, but still sometimes, RequestState & DidDetermineState doesn't get called.  Anyway to remedy this any further, or even give a way to detect RequestState & diddeterminestate doesn't fire (through GPS strength, etc).  Seems to happen too when the geofences are saved (persistant) when you launch the app.  Has anyone encountered this?
  locationManager.StartMonitoring(cRegion);
// Request state for this region, putting request behind a timer per thread:
   Task.Run(async () => {
        await Task.Delay(TimeSpan.FromSeconds(2));
        locationManager.RequestState(cRegion);
    });

Marking this as closed.  Turns out an AdBlocking app was highjacking location request for some odd reason, and the Geofence would not start about 10% of the time, and RequestState was not called.  Make sure any adblocking VPNs, especially on iOS is turned off for this to work properly.


C-a: Increment number, or toggle boolean

C-a is currently bound to evil-numbers/inc-at-pt which only works on numbers.
I'm thinking to extend the notion of "incrementing" to "flipping" boolean values. So for example C-a on a line containing True would flip it to False; C-a again would flip it back to True.

Could be useful: https://gitlab.com/ideasman42/emacs-cycle-at-point


Update Generic Pages “projects”

Automatically generated by Netlify CMS

👷 Deploy Preview for benevolent-muffin-215770 processing.

Name
Link

🔨 Latest commit
dbca8267eaaca556dda95824ff29df5c563b8599

🔍 Latest deploy log
https://app.netlify.com/sites/benevolent-muffin-215770/deploys/62841c6f6d27c60008c1dc28


Make lldb-mi optional and change how we deal with missing tools in lit

We don't need the variables in lit, we can use the capabilities to check
if the utility exists.
Differential revision: https://reviews.llvm.org/D61533
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@359926 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 097a7f74695bbd3a3256b391ab054d9bb37e06ce)

@swift-ci please test and merge


cookbook installs fluentd 0.14.21

Im wondering if this is an expected behavior being that fluentd 0.14.21 is not even officially released and i would expect this to install 0.12.X.
Most of our pipeline is breaking because of this of this release.

sorry i just found this in the docs
Another problem: if you install the plugin which depends on fluentd v0.14, gem installs fluentd v0.14 together even if you installed fluentd v0.12. This is unexpected result for fluentd v0.12 users.

I think this might our problem.


Excellent

This should be more significant as a Starting point for beginners

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

ID: 52542c44-015a-746d-5d6f-c43f6e4e6774
Version Independent ID: dfe8c9fb-4107-e19b-972a-c5a58eeb2646
Content: Work with Events using the Excel JavaScript API - Office Add-ins
Content Source: docs/excel/excel-add-ins-events.md
Service: excel
Sub-service: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for the suggestion. I will make a work item to investigate whether we can work a link to this article into our getting started/beginners documentation.


fixed credential key.

Turns the original key 'credential_desc' to 'credential_description' as expected in 'jenkinsapi/node.py'

Is there an issue with the root cause based on this? All systest were passing with previous name.

As this is new class, it needs to have unit tests. Would you mind writing them?


CAB-3650: add e2e for 1969 dates

Coverage remained the same at 81.837% when pulling e0167b37b4116da4b2072e00f471244d8502ffb5 on feature/cab-3650-e2e into 533bcf9a385dbb44f960c6a7502f9583bb45db66 on develop.


rancher-gatekeeper auditinterval default is 300

Rancher version master-head 8a60de75d master-8a60de75db5324c73535b71c087c3e4bd5f36d29-head

Go to the Dashboard in the local cluster
Apps -> Charts -> rancher-gatekeeper Install.
Note auditInterval is set to 60

After installation succeeds got o Apps -> Installed Apps

Under IRancher Gatekeeper > View as YAML:
audInterval is set to 300
values:
      affinity: {}
      auditChunkSize: 0
      auditFromCache: false
      auditInterval: 300
      constraintViolationsLimit: 20
      disableValidatingWebhook: false
      emitAdmissionEvents: false
      emitAuditEvents: false

The bug fix is verified with Rancher server rancher\rancher:master-head version 76c26fb
README has been updated with default auditinterval value of 300.


minor fixes in quickstart/apollo_1_0_hardware_system_installation_gui…

…de.md

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


feat(deps): updated to support intellij platform 2024.1

Updates to support 2024.1.

Switched to com.jetbrains.rust plugin, as the old one is dead now. Bad idea? I can't find any docs..
Best guess updates to Inference
Updated Kotlin version.
Fixed a couple typos in the README.md 😅
Bump version to 0.3.3 & update changelog.

Seems to work okay with a few (fairly big and diverse) files I have locally, but please don't accept this without your own testing 🙈

Hi @shousper! Thanks for you enthusiasm :)

Bad idea?
Yeah, I didn't do this in purpose to be sure nothing breaks in non-payed IDEs of IntelliJ, so with these changes PR won't be merged surely

But I will take a look at typos and other stuff

I think the better idea to do something like a dependency switch is to make a separate fork of a plugin with the switch to the new dependency, so both worlds will use something which suit their needs

Ahh, I didn't realize this would only work for he paid versions. With the old plugin not being maintained anymore, I figured there were no other options? Perhaps.. one would need to use your own rust PSI now? 🤷🏻♂
Anyway, makes sense 👌🏻 I'll close this


Improve tests

Currently our tests are pretty much about running against 3rd-party service or validating outputs manually. This is far from desired and we should at assert/validate the expectation tests.

Also, add tests for empty ports and empty ca cert dirs

@mikonieminen Hasn't this been implemented?


pylint==2.0.0 complains about bare except statement

travis has updated pylint to verison 2.0.0 which complains about the following:
************* Module sockeye.utils
sockeye/utils.py:632:16: E0705: The except handler raises immediately (try-except-raise)
pylint found errors in the sockeye package

The corresponding line of code in acquire_gpus() is::
[...]
            if master_lock is not None and not any_failed:
                try:
                    yield acquired_gpus
                except:
                    raise
                return
[...]

@tdomhan do you know what kind of exceptions to expect here? Changing to except Exception is equally objectionable for pylint.

intermediate "solution" in #481

I wonder if the raise is actually necessary. I remember running into some unintuitive behavior when exceptions were thrown in the generator.

no objections from my side to removing it :)

ok, let's test if we can potentially remove it.

travis is now at pylint==2.0.1, which returns a number of new errors in the image_captioning module:
sockeye/image_captioning/train.py:268:20: E1101: Instance of 'Namespace' has no 'seed' member (no-member)
sockeye/image_captioning/train.py:271:36: E1101: Instance of 'Namespace' has no 'output' member (no-member)
sockeye/image_captioning/train.py:277:43: E1101: Instance of 'Namespace' has no 'quiet' member (no-member)
sockeye/image_captioning/train.py:282:45: E1101: Instance of 'Namespace' has no 'max_seq_len' member (no-member)
sockeye/image_captioning/train.py:290:53: E1101: Instance of 'Namespace' has no 'device_ids' member (no-member)
sockeye/image_captioning/train.py:291:50: E1101: Instance of 'Namespace' has no 'use_cpu' member (no-member)
sockeye/image_captioning/train.py:292:65: E1101: Instance of 'Namespace' has no 'disable_device_locking' member (no-member)
sockeye/image_captioning/train.py:293:51: E1101: Instance of 'Namespace' has no 'lock_dir' member (no-member)
sockeye/image_captioning/train.py:295:11: E1101: Instance of 'Namespace' has no 'batch_type' member (no-member)
sockeye/image_captioning/train.py:296:28: E1101: Instance of 'Namespace' has no 'batch_size' member (no-member)

we should probably also fix our pylint version and try to update manually in order to prevent a specific version of pylint from blocking Travis completely.

I've played around with this and am unable to fix it. I thought it might have something to do with the fact that the image captioner creates params (line 108) with the code in sockeye/arguments.py and then fills the arguments with code from sockeye/image_captioning/arguments.py, but merging them didn't fix the problems. It is strange that this shows up only in the image captioner, however.
I filed a bug report; maybe they can help us.

this should fix the issue: https://github.com/awslabs/sockeye/pull/493 (at least it works locally).

it's basically doing what we do in train.py, where we have a separate function taking args as an argument.

closing for now. I don't think we will have to come back to this.


Add MAXUCHAR, MAXUSHORT and MAXULONG

They're present in ntdef.h but not present in winnt.h, add them to phnt's ntdef.h.

Added upstream: https://github.com/winsiderss/systeminformer/commit/591159ab162d1d1e5c35fdc907f5607a4924b983


Doesn't work with multiple proto files.

The cli doesn't pass multiple proto files if provided and then each generated file contains an htmlstringer definition (among others).

You mean multiple proto files in the same package is a problem, because of conflicting htmlstringer functions?

Correct.

The generated has changed a bit in the mean time.
Lets look at this file for example:
https://github.com/gogo/letmegrpc/blob/master/test/grpc.letmegrpc.go
You can now inject your own htmlstringer instead of setting a global variable.
func Serve(httpAddr, grpcAddr string, stringer func(req, resp interface{}) ([]byte, error), opts ...google_golang_org_grpc.DialOption) {
	conn, err := google_golang_org_grpc.Dial(grpcAddr, opts...)
	if err != nil {
		log.Fatalf("Dial(%q) = %v", grpcAddr, err)
	}
	MyTestClient := NewMyTestClient(conn)
	MyTestServer := NewHTMLMyTestServer(MyTestClient, stringer)
	net_http.HandleFunc("/MyTest/UnaryCall", MyTestServer.UnaryCall)
	net_http.HandleFunc("/MyTest/Downstream", MyTestServer.Downstream)
	net_http.HandleFunc("/MyTest/Upstream", MyTestServer.Upstream)
	net_http.HandleFunc("/MyTest/Bidi", MyTestServer.Bidi)
	if err := net_http.ListenAndServe(httpAddr, nil); err != nil {
		log.Fatal(err)
	}
}

Also you could write a bit more manual code at rather access NewHTMLMyTestServer and inject the stringer for each client.
func NewHTMLMyTestServer(client MyTestClient, stringer func(req, resp interface{}) ([]byte, error)) *htmlMyTest {
	return &htmlMyTest{client, stringer}
}

This stringer is stored in the struct meaning that every client can have its own stringer.
Maybe this solves your problem?

Reopen if it does not solve your problem.


AKS attaching demo miss a key step

The demo of using sdk to attach aks cluster seems confused. There is a key step aks_target.wait_for_completion(show_output = True) missing, which may lead user to deploy a service to aks cluster while attaching.
from azureml.core.compute import AksCompute, ComputeTarget
# Set the resource group that contains the AKS cluster and the cluster name
resource_group = 'myresourcegroup'
cluster_name = 'myexistingcluster'

# Attach the cluster to your workgroup. If the cluster has less than 12 virtual CPUs, use the following instead:
# attach_config = AksCompute.attach_configuration(resource_group = resource_group,
#                                         cluster_name = cluster_name,
#                                         cluster_purpose = AksCompute.ClusterPurpose.DEV_TEST)
attach_config = AksCompute.attach_configuration(resource_group = resource_group,
                                         cluster_name = cluster_name)
aks_target = ComputeTarget.attach(ws, 'myaks', attach_config)

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

ID: d3783f41-ce06-3d23-8e2e-64abbb5c96c4
Version Independent ID: f66fcf5b-c259-8e77-20e2-9bbe750d52c5
Content: Deploy ML models to Kubernetes Service - Azure Machine Learning
Content Source: articles/machine-learning/how-to-deploy-azure-kubernetes-service.md
Service: machine-learning
Sub-service: core
GitHub Login: @jpe316
Microsoft Alias: jordane

@mjaow we will review your feedback and get back to you shortly. Thanks.

@mjaow thanks for your feedback, document will be updated shortly. Thanks.


All muscles are red when Forward Tool is running; turn blue in playback

Open leg6dof9musc.osim, lock pelvis, and run Forward Tool. Muscles are inactive but are red when the Tool is running; they are correctly colored blue during animation playback.
(AppVeyor artifact OpenSim-dd7dc47b-2018-02-11.zip)

Muscles are colored blue throughout playback even if excitation was high during parts of forward simulation. Expected muscle color to be a function of excitation.

I'm experiencing the same issue with the ToyDropLanding model. Muscles should be activating due to stretch reflexes, but do not. (Same AppVeyor artifact.)

Still needs verifying.

I just tested this. The muscles turn blue when I run the forward tool using the steps Tom outlines above. (3-13 build; Windows 10 VM)


updatecli is applying some linting functionality on apply

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When I run updatecli apply it works mostly as expected. However, it is performing some amount of linting functionality on my yaml files.  Specifically:

it is removing top level --- from my files
removes double spaces between code and comments
removes subsequent manifests if my yaml file contains more than one

Expected Behavior
I wouldn't expect any linting behavior to be applied, or the ability to disable it.
Steps To Reproduce
run updatecli apply with the following updatecli manifest.yaml specified:
sources:
  istio-gateway:
    kind: helmchart
    spec:
      url: "https://istio-release.storage.googleapis.com/charts"
      name: "gateway"
      version: "1.*.*"
    sourceid: istio-gateway
conditions: {}
targets:
  gateway:
    name: bump chart dependencies
    kind: yaml
    spec:
      file: "gateway.yaml"
      key: "spec.chart.spec.version"
    sourceid: istio-gateway

on the below istio manifest file.  The dashes & secondary manifest will be removed.
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: gateway
  namespace: istio-ingress
spec:
  interval: 5m
  chart:
    spec:
      chart: gateway
      version: 1.15.0
      sourceRef:
        kind: HelmRepository
        name: istio
        namespace: flux-system
      interval: 5m
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: gateway
  namespace: istio-ingress
spec:
  selector:
    istio: gateway
  servers:
    - port:
        number: 443
        name: https
        protocol: HTTPS
      hosts:
        - "*"
      tls:
        credentialName: tls
        mode: SIMPLE

Environment
- OS: Mac Monterey & ubuntu-latest in GitHub Actions
- updatecli: 0.34.0

Anything else?
No response

Duplicate of https://github.com/updatecli/updatecli/issues/794
This is annoying indeed.

I agree with you.
They are a bunch of limitation from the underling library such as https://github.com/go-yaml/yaml/issues/899

saving for later
I recently discovered this library https://github.com/goccy/go-yaml which could be a good replacement for https://github.com/go-yaml/yaml.


Problem with Update directory and file permissions examples

The examples above say that they are to update permissions on a "User", however in the example, you are setting -AccessControlType for a Group.  This should be changed to User.
Current:
# Add ACL Entries
$aclnew = New-AzDataLakeGen2ItemAclObject -AccessControlType group -EntityId $id -Permission "-wx" -DefaultScope -InputObject $aclnew

Should be:
# Add ACL Entries
$aclnew = New-AzDataLakeGen2ItemAclObject -AccessControlType User -EntityId $id -Permission "-wx" -DefaultScope -InputObject $aclnew

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

ID: 562aa838-243f-bed8-c3cb-9164af5efe71
Version Independent ID: 369544f3-5260-3773-68f2-3479c6e9587e
Content: Azure Data Lake Storage Gen2 PowerShell for files & ACLs (preview)
Content Source: articles/storage/blobs/data-lake-storage-directory-file-acl-powershell.md
Service: storage
Sub-service: data-lake-storage-gen2
GitHub Login: @normesta
Microsoft Alias: normesta

@bigdatamoore  Thanks for bringing this to our attention. I have assigned the issue to the content author to review further and update the document as appropriate.

Thank you @bigdatamoore ! We've fixed the mistake. The change should appear live shortly. Thanks again!

#please-close


Plugin incompatible with EDD 11.x

Hi again!
I now have my x52 Pro - EDD does still work when loading DirectOutput.dll (slightly newer version from Logitech than what you provided for reference), and your EDDX52.dll.
However, I'm running into an issue when trying to run action files? I've included a screenshot for what happens when I try and run my test code (using the > button to the right of the program).
Also, the same error occurs when simply trying to continue, and save the now edited action file. I have used the Misc event class in EDD, but this error seems to persist no matter what I do.
I don't really understand the Action Lanaguage that much, nor can I find much helpful documentation on it. Do you think it would work better by using the version of EDD that you used when creating this extension? (I am currently running v 11.9.3, and I assume it has a newer version of the action language).
If this is unfixable/would require re-writing, please feel no pressure from me to do so - I feel like it would be a LOT of work!

If you would like the full output code for either of these error messages, please say.
Thanks :)

Hmm, that looks to me more like an issue with EDDiscovery or an issue where the DLL crashing is not caught properly... The error, unfortunately, doesn't provide any real clues to what exactly went wrong and where.

Just to update this, I have tried the same action program again with a fresh install of EDD v10.1.3, and it works flawlessly. I have created an issue on their github, and I will link it here if you want to see: github issue
Otherwise, since I use EDMC nominally, I will continue using the outdated version of EDD as it suits my needs, and enjoy programming the X52! Thank you for all your hard work creating this, hopefully I may be able to show what I've come up with if you're still interested in that :)

Thanks, I'm going to keep a watch on the EDD issue and hopefully be able to make changes if there was a breaking change I missed!

hopefully I may be able to show what I've come up with if you're still interested in that :)

Absolutely, I never really came around to using this plugin so I'd love to include your setup as an example script, feel free to open an issue once you have something there!

Sure!
I'd also like to add - no idea why - but I updated my EDD version to 11.9.3 following their reply on the issue I opened, and I'm no longer seeing the same issue at all. The DLL works pretty flawlessly so far, and I'm excited to do a sort of showcase when I'm done!
Only thing I haven't learnt yet is how to do MFD callbacks, going to sort them soon.

Just for info:
https://github.com/EDDiscovery/EDDiscovery/issues/3318


Ampersand (&) character inserted during Run Python File in Terminal. (latest update).

Environment data

VS Code version: 1.52
Extension version (available under the Extensions sidebar): 2021.1.502429796 (just got upgraded from 2020.12.424452561)
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32, conda 4.9.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions:  Python v2021.1.502429796, Pylance v2021.1.2
Value of the python.languageServer setting: XXX

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Python file runs in terminal cmd.exe.
Actual behaviour
F:\Code\test>conda activate stan_env
(stan_env) F:\Code\test>& C:/Anaconda3/envs/stan_env/python.exe f:/Code/test/test.py
& was unexpected at this time.
Steps to reproduce:
Run Python File in Terminal with cmd.exe terminal with workspace settings like below.
workspace settings
{
	"folders": [
		{
			"path": "."
		}
	],
	"settings": {
		"python.pythonPath": "C:\\Anaconda3\\envs\\stan_env\\python.exe",
		"python.terminal.activateEnvironment": true,
		"python.condaPath": "C:\\Anaconda3\\Scripts\\conda.exe",
		"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"

	}
}

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Just want to add that this started happening after last update of ms-python.python.
I tried to downgrade the extention though, but that didnt help either.

Just want to add that this started happening after last update of ms-python.python.
I tried to downgrade the extention though, but that didnt help either.

Hi @oppsig,
It looks like the terminal detection system thought your terminal was a Git bash instance, and sent commands formatted for this type of terminal, which didn't work. It isn't controlled by the Python extension, hence why downgrading it doesn't change anything.
What happens if you remove "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe" from your workspace settings?

Hi @oppsig,
It looks like the terminal detection system thought your terminal was a Git bash instance, and sent commands formatted for this type of terminal, which didn't work. It isn't controlled by the Python extension, hence why downgrading it doesn't change anything.
What happens if you remove "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe" from your workspace settings?

The problem is that if remove that it tries to load the conda environment in powershell instead.
Because I'm stuck with windows in this use case, and restrictions with powershell I had to use code-runner extention instead as a workaround.
But I just want to add again that everything was working fine with "terminal.integrated.shell.windows": "C:\Windows\System32\cmd.exe" last friday.

The problem is that if remove that it tries to load the conda environment in powershell instead.
Because I'm stuck with windows in this use case, and restrictions with powershell I had to use code-runner extention instead as a workaround.
But I just want to add again that everything was working fine with "terminal.integrated.shell.windows": "C:\Windows\System32\cmd.exe" last friday.

What happens if you use the terminal UI to set your shell to cmd?

What happens if you use the terminal UI to set your shell to cmd?

@kimadeline, will try out tomorrow and report back!

@kimadeline, will try out tomorrow and report back!

@kimadeline, yeah, that works actually! Thanks!

@kimadeline, yeah, that works actually! Thanks!

Glad to hear it works 🙂 I'm going to close this issue as it is resolved, but feel free to leave a comment here (or open a new one) if you encounter any problems further down the road!

Glad to hear it works 🙂 I'm going to close this issue as it is resolved, but feel free to leave a comment here (or open a new one) if you encounter any problems further down the road!

@kimadeline Hey, I have this issue now, it randomly appeared while I was working, and while removing cmd fixes it, that's not an option as it's the only working choice in our work environment.
If this is in fact a problem with VSC itself like you're suggesting, would you perhaps be able to create an issue on their repo? I don't know anything about it otherwise I'd do it myself.

while removing cmd fixes it, that's not an option as it's the only working choice in our work environment

Have you tried setting a default shell using the dropdown UI?

Sorry, I tried that after, but forgot to restart the shell when testing haha. Yeah it's back to normal now, thanks :)


Implement UART support for ESP32-P4

Did some basic testing, seems to work as expected. Didn't include it in this PR but also tested with a modified version of the advanced_serial.rs example, tested multiple UART peripherals.
(In general, probably won't add a lot of examples for the P4 right now, since I'm also slowly working on unifying things in parallel and they'll all just be removed soon anyway...)

I guess this might be a clocks issue, @playfulFence would you mind looking into this?

The panic seems to originate from the interrupt vectoring initialization, disabling the vectored feature fixes this. Not sure why it just started happening, but will need to resolve that.
Still, my UART is not working following my last rebase, so I will need to fix this again.
It seems that P4 support is lower-priority than some other tasks I have on the go, so this will probably just sit here as a draft for a bit, until I have time to return to it. If anybody else feels like debugging it and getting it the rest of the way there, please feel free!

I'm not getting to this any time soon by the looks of it, and there have been changes to the UART driver in the meantime, so I'm just going to close this.


Certificate verification issue

Hi!
I'm having some issues setting up the software of the Pico W microcontroller. I tried to follow the given build instructions but I keep getting error messages related to the certificate verification:
connected
ip = <IP_ADDRESS>
Obtaining CA Certificate
Detected devices at I2C-addresses: 0x39
Traceback (most recent call last):
  File "/lib/data_logging.py", line 56, in initialize_sdcard
  File "/lib/sdcard/sdcard.py", line 56, in __init__
  File "/lib/sdcard/sdcard.py", line 84, in init_card
OSError: no SD card

SD Card failed to initialize
Traceback (most recent call last):
  File "<stdin>", line 287, in <module>
  File "/lib/umqtt/simple.py", line 74, in connect
OSError: (-9984, 'MBEDTLS_ERR_X509_CERT_VERIFY_FAILED')

Retrying client.connect() in 2 seconds...
Traceback (most recent call last):
  File "<stdin>", line 292, in <module>
  File "/lib/umqtt/simple.py", line 74, in connect
OSError: (-9984, 'MBEDTLS_ERR_X509_CERT_VERIFY_FAILED')

I'm using the latest version of Thonny for MacOS (4.1.4 with Python 3.10) and the latest v0.8.8 sdl_demo.zip. For the MicroPython firmware I used the one that can be found in scripts/picow-setup/rp2-pico-w-20230309-unstable-v1.19.1-953-gb336b6bb7.uf2, which is dragged & dropped on to the RPI-RP2 drive.
Any help would be greatly appreciated. Thanks!

Hi @viola-m-li, this is due to a recent change in how HiveMQ handles the certificates. The certificate for the default HiveMQ broker should be available in a new version v0.8.9 shortly (as long as https://github.com/sparks-baird/self-driving-lab-demo/actions/runs/9779179700 completes successfully). However, if you create your own HiveMQ broker, you will need to generate your own via the instructions in the warning at https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/1.1-running-the-demo.html, copied here for convenience:

Recently, HiveMQ Cloud changed such that hivemq-com-chain.der (a Certificate Authority (CA) file) is not transferrable across different broker instances. The latest hivemq-com-chain.der file from self-driving-lab-demo will be hard-coded to the self-driving-lab-demo public test credentials (i.e., what is used in Module 1 - Running the Demo), so the tutorials should run without issue as long as you are using that file. However, the assignment requires you to have your own HiveMQ Cloud broker instance, so you will need to generate a hivemq-com-chain.der file specific to your instance and upload it to your microcontroller in place of the default one.

Do you have any suggestions for where this would best be clarified in the self-driving-lab-demo repo? For example:

Add a note in the README
Add the warning from above to https://colab.research.google.com/github/sparks-baird/self-driving-lab-demo/blob/main/notebooks/4.2-paho-mqtt-colab-sdl-demo-test.ipynb
Update the tutorial video

The manuscript is the hardest place to change this - I've requested a minor fix to a link before, but I don't think I've heard back from them after months. This is pretty specific to the journal.

Hi @sgbaird, thanks for the clarification! It works now.
Having a more useful error would have been the most helpful for me since this is the first thing you see and try to fix before going to the notebook.
A section/note in the README that provides some updated information on changes since the release of the tutorial video (/manuscript) might also be a good idea.

@viola-m-li thanks! I updated main.py. Do you mind testing this? https://github.com/sparks-baird/self-driving-lab-demo/blob/hivemq/src/public_mqtt_sdl_demo/main.py

@sgbaird I tested it and it look good for me :)


Playlunky tab won't load

No idea what I'm doing, so I could just have done something wrong. All I did was download modlunky 2, put it in the spelunky 2 folder, and run it. The Playlunky tab won't load and this is the error message
2022-08-31 17:18:06,126: Failed to register tab Level Editor: Traceback (most recent call last):
File "modlunky2\ui__init.py", line 429, in register_tab
File "modlunky2\ui\levels\tab.py", line 86, in init__
TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'

This is a Modlunky issue, not a Playlunky issue. But I see you got help on the Discord either way.

Under the settings tab, you probably don't have an install directory set. Select the directory containing Spel2.exe and restart modlunky2


--test_guid not selecting tests

When executing
atomic-operator.exe run --test_guid fe94a1c3-3e22-4dc9-9fdf-3a8bdbc10dc4 --check_preregs True --return_atomics True

I get listed all the atomic tests.
I would expect only the test(s) with the given guid. As the default for --techniques  is "all", I thought I try to disable it using['None'] or [] but those do not work. I only get the empty dict:
atomic-operator.exe run --techniques ['None'] --test_guid 89676ba1-b1f8-47ee-b940-2e1a113ebc71 --check_preregs True --return_atomics True
{}

Maybe I am using it wrong? What would be the recommended way to just execute a sub test via guid?

The same seems to be true for using --config_file_only:
atomic-operator.exe run --config_file_only ato-config.yml
{}

type .\ato-config.yml
atomic_tests:
  - guid: 89676ba1-b1f8-47ee-b940-2e1a113ebc71
  - guid: 4c4959bf-addf-4b4a-be86-8d09cc1857aa

I can get the desired behaviour using
atomic-operator.exe run --config_file_only --config-file ato-config.yml --return_atomics True

Using the config file ato.config.yml
atomic_tests:
  - guid: 89676ba1-b1f8-47ee-b940-2e1a113ebc71

But I am still wondering how I would get that behaviour using the command line only.

@phantinuss The reason it is returning all of the atomics is that the parameter for --test_guid is actually --test_guids so atomic-operator doesnot recognize that parameter when passed in.
The other thing, which is not a big deal, but you don't have to specify True when using the --check_prereqs and --return_atomics paramters. by passing them you are saying they are true.
All that being said, I am going to add some additional logic to handle parameters that are similar and throw an error when used.

A little embarrassing for me. But thanks for clarifying.


Moving from tabs to a dropdown style widget

Before submitting a pull request (PR), please read the contributing guide.
Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)
Description
What is this PR

[ ] Bug fix
[x] Addition of a new feature
[ ] Other

Why is this PR needed?
This PR replaces tabs with collapsible compartments to guide the user through the workflow without overloading the screen with all possible options.
What does this PR do?
Use the CollapsibleWidgetContainer from brainglobe-utils to organize the widgets displayed by the plugin.
How has this PR been tested?
All previous tests pass, plugin function has been examined visually.
Is this a breaking change?
No.
Does this PR require an update to the documentation?
No.
If any features have changed, or have been added. Please explain how the documentation has been updated (and link to the associated PR). See here for details.
Checklist:

[x] The code has been tested locally
[x] The code has been formatted with pre-commit

Sounds good! I've made issues to keep track of these suggestions.


Add more linting workflows

Add linters for more file types: Dockerfile, YAML, etc.
Some libraries already exist:

https://github.com/adrienverge/yamllint
https://github.com/hadolint/hadolint (possibly https://github.com/AleksaC/hadolint-py)
https://pre-commit.ci/

This could alternatively be performed by pre-commit hooks.
See: https://github.com/CarrotManMatt/RateMyModule/blob/main/.pre-commit-config.yaml

May I suggest Black? It'll very happily solve a lot of the code formatting qualms for you, and it has a check mode

Most of the linting features provided by black are already available in the tool ruff that we use. It also contains checking rules for other tools beyond black, like pylint, flake8 & pyflakes. These pre-commit checks are more intented to aid in non-python specific formatting beyond the scope of ruff/black. For example gitleaks that scans to check for possible tokens/passwords accidentally added even before a commit is made

Dependabot update checking is added in #275


Add error handling for command "give role on poll"

check if the message and poll exist before attempting to retrieve the poll answer.

Check out this project: https://github.com/7AXEL/Web2APK


'exports.clearTimeout' shadows global/window 'clearTimeout'

Minimal reproduction repo: https://github.com/ntilwalli/rollupSuperagentIssue
I'm trying to bundle Superagent using rollup and it is not working.  I had originally thought the issue had to do with this being overwritten to undefined but in actuality, the cause of the failure is the naming of one of the exports on the request-base.js module.    One of the functions exported is exports.clearTimeout.  That function itself calls the global clearTimeout, but this call to the global method gets shadowed upon transformation and during run-time the local clearTimeout function which tries to call the global clearTimeout ends up calling itself instead causing an error.
The offending function is here: https://github.com/visionmedia/superagent/blob/master/lib/request-base.js#L15
A non-ideal workaround does exist and has been posted (but this is arguably more of rollup-plugin-commonjs issue): https://github.com/visionmedia/superagent/pull/1076
I'm looking to start a discussion on how to handle this.  I'd be willing to submit a PR if given guidance.
cc: @pornel

Sorry for the slow response. I'm unable to run the repro because of this line. Could you update it please so that there's no TypeScript noise in the repro (unless TS is part of the problem)?

BTW, we've released superagent 3 with a workaround for this. I think the problem still exists in rollup, but we've changed our inheritance implementation to dodge it.

Fixed in 6.0.1


Error running appliction on Ubuntu 22.04

Does the application have support for Ubuntu Linux, I'm getting this error bash: /usr/local/sbin/wifi-connect: cannot execute binary file: Exec format error  after installation

Try building it yourself once you have cargo installed. Should run smoothly!


fix(map) - add collection actions qa classes [EP-3662]

Signed-off-by: Vlad Tomsa<EMAIL_ADDRESS>All boxes should be checked before the PR can be accepted. Exceptions can be made, but they need to be argumented and discussed with the reviewer

BUGFIX
Required

[x] Added QA classes on main containers and all actionable items like Buttons, Inputs, etc
[x] Ran Unit Tests and they pass successfuly
[x] Ran the linter with yarn lint
[x] No TypeScript warnings are introduced

Not Needed

[ ] Translated all the user facing text (static & dynamic)
[ ] I have made corresponding changes to the documentation

References

Include any links supporting this change such as a:

GitHub Issue/PR number addressed or fixed
StackOverflow post
Support forum thread
Related pull requests/issues from other repos

If there are no references, simply delete this section.

By submitting a PR to this repository, you agree to the terms within the Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

:tada: This PR is included in version 1.16.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.16.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix Haddock errors

This is breaking the build on master at the moment

:+1: thanks

@amosr if you can think of a different style for formatting records that you'd prefer, I'd be happy to change it


better(?) error for loadSound

Reason for changes

Expclicitly indicate that the sound file isn't supported.
Change sentence in favor of both potential error causes matching up in form "sound ....." (sound path & sound file)

Uh, the second file is a typo fix. Yes, typo in a PR supposed to be better than an existing thing.

oh
OH
OOOOOOOHHHH
EDITING THE BRANCH EDITS THE PULL REQUEST TOO
LESSSGOOOOOOOO

welp looks like this PR is conflicting after the 1.0 release. Can you update it to be at the new directory?


Invalid Values for data write with Valuelabels

I am writing data with ValueLables. The data can be opened alright, but the labels are invalid. The value portion of the label does not appear, rendering the value column on spss as invalid.
Thanks

Sorted myself out. Thanks

I've encountered the same issue. Can you tell what was your solution


Sample sequentially from multiple DataLoaders in LightningDataModule

🚀 Feature
Currently, the LightningDataModule handles multiple DataLoaders but returns either a list of batch samples, or a dictionary of batch samples. What I would like is a new functionality, in which we can sample sequentially from multiple DataLoaders instead of the default of sampling in combination.
Motivation
Although we most commonly applying transforms directly to the data in our Dataset class, there are cases where the transform is much faster to apply batch-wise. This can easily be done by writing a custom collate function, but in the case where the transform is dependent on an underlying attribute of the Dataset, we can't use a ConcatDataset and then create the DataLoader.
Pitch
Either we should modify train_dataloader, val_dataloader, test_dataloader methods of LightningDataModule such that we can choose sequential/combined batch sampling, or create a new class that works with LightningDataModule and handles sequential sampling from multiple dataloaders.
Additional context
I've seen #1089, the AlternateIterator from here and #2457, but none of these address sequential sampling from >2 dataloaders.

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.

Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.

Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

Currently, the following works fine for me: (maybe related to https://github.com/PyTorchLightning/pytorch-lightning/issues/10696.)
from torch.utils.data import DataLoader

class SequentialLoader:
    def __init__(self, *dataloaders: DataLoader):
        self.dataloaders = dataloaders

    def __len__(self):
        return sum(len(d) for d in self.dataloaders)

    def __iter__(self):
        for dataloader in self.dataloaders:
            yield from dataloader

    def train_dataloader(self) -> TRAIN_DATALOADERS:
        dataloaders = (
            DataLoader(
                dataset=dataset,
                batch_size=self.hparams.batch_size,
                num_workers=self.hparams.num_workers,
                pin_memory=self.hparams.pin_memory,
                collate_fn=self.collate_fn,
                persistent_workers=self.hparams.num_workers > 0,
                shuffle=True,
            )
            for dataset in self.datasets
        )
        return SequentialLoader(*dataloaders)

Thanks! Soon after opening this issue I actually figured it out, lol. An alternative __iter__ method is
    def __iter__(self):
        yield from functools.chain(*self.dataloaders)

I don't understand why this functionality of chaining DataLoaders is not implemented in neither Pytorch nor lightning. It's not technically hard and pretty useful in certain cases.
It really took me a while to reach the solution and it turns out the only part I missed is __len__ for mimicking a DataLoader.


chore: release 1.6.12

:robot: I have created a release *beep* *boop*
1.6.12 (2021-11-08)
Bug Fixes

add per ingress annotations (44d4359)
use helm hooks (#376) (e8f3929)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/GluuFederation/cloud-native-edition/releases/tag/v1.6.12 :sunflower:


JSDoc @type function with variable args is interpreted incorrectly

Bug Report
🔎 Search Terms
jsdoc varargs @type function
🕗 Version & Regression Information
4.2.4
💻 Code
This is in a .js file:
/**
 * @type {function(boolean, string, ...*):void}
 */
const warn = "anything" // the value doesnt matter, TS gets the type from the comment

When I call this in a .ts file VSCode and WebStorm underlines it, saying that the 3rd parameter is necessary.:

The strange thing is that the generated d.ts file contains the correct code: export var warn: (arg0: boolean, arg1: string, ...args: any[]) => void;
So the issue is that the live type checker (the language server?) types the last rest param to ...[any] instead of ...any or  ...any[]
🙁 Actual behavior
error in the IDE (see screenshot). Also it works fine if there is one argument besides the rest arg.
🙂 Expected behavior
no error in the IDE, it uses the same signature as the .d.ts file.

thanks for the fix!


Chore/GmbH to AG

j&s-soft GmbH has now become an AG.

as this changes the imprint I'll deploy a new app version for this directly :)


undefined references

Hi, your work is really great!
I run the inference,but just got these error:
/home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so：‘tensorflow::Node::requested_device[abi:cxx11]() const’undefined references
/home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so：‘tensorflow::SetAttrValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, tensorflow::AttrValue*)’undefined references
/home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so：‘stream_executor::blas::AlgorithmConfig::ToString[abi:cxx11]() const’undefined references
/home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so：对‘tensorflow::OpDef* google::protobuf::Arena::CreateMaybeMessage<tensorflow::OpDef>(google::protobuf::Arena*)’undefined references

it seems to be cmake error, and my cmake output is:
-- Detecting TensorFlow info
-- Detecting TensorFlow info - done
-- Found TensorFlow: (found suitable exact version "1.9.0")
-- TensorFlow-ABI is 0
-- TensorFlow-INCLUDE_DIR is /usr/local/lib/python2.7/dist-packages/tensorflow/include
-- TensorFlow-LIBRARY is /usr/local/lib/python2.7/dist-packages/tensorflow/libtensorflow_framework.so
-- TensorFlow-CC-LIBRARY is /home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so
-- TensorFlow-SOURCE-DIRECTORY is /home/mjj/Tensorflow/tensorflow
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mjj/Tensorflow_robosense/tensorflow-cmake/inference/cc/cmake-build-debug

so , can any one help me? I will be very thx!

Does your pip install of TensorFlow matches the TensorFlow source?
What is the output of:
nm -C /home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so | grep requested_device
nm -g /home/mjj/Tensorflow/tensorflow/tensorflow_dist/libtensorflow_cc.so | grep requested_device

nm -C /usr/local/lib/python2.7/dist-packages/tensorflow/libtensorflow_framework.so | grep requested_device
nm -g /usr/local/lib/python2.7/dist-packages/tensorflow/libtensorflow_framework.so | grep requested_device

And the elefant in the room, did you use pip install from your local tensorflow installation from source or do you just use pip install tensorflow-gpu ? There might be a version missmatch.

This is not how it is supposed to work. If you want to run the inference examples you will need to build your own pip package locally and install your own pip package then to ensure all libraries will match.
You already built the libtensorflow_cc.so file. Please follow the official guide to built that wheel file ...whl.

@PatWie Oh,I see. I followed the official guide to install the tensorflow, and then the probelm solved! thx~