fix(transformData): default data is an object when not provided

This fixes the nasty regression bug we have seen and reimplement the
transformData fix

Added a test to ensure we default to {}

The test looks fine :)


Track opponent mon ability

When an opponent's ability is activated, reflect that information in the tracker. A mon can potentially have 2 ability slots.

Due to Bizhawk only being able to handle a single event.onmemoryread event at a time, this is significantly more challenging. Unfortunately, the AbilityBattleEffects function is one of the largest in the game and is called often, so event.onmemoryexecute with this function fires all the time.

With the code optimizations coming in, it's possible this issue can be solved partially my manually checking for certain conditions.
For example, if the opposing Pokemon has any ability that activates when it appearances, the tracker knows the Pokemon has that ability from a game data read and can reveal that information to the player. Similarly, it could get more complex by checking if the player uses a move like earthquake that should have hit the opponent, but didn't, hence Levitate ability.
Thought ultimately it may be possible to gain a ton of this information and more through gBattleCommunication data in memory, just have to figure out how to parse it.

I've managed to find a workaround for showing many of the important abilities that activate in the middle of combat without using on-events. This is done by manually checking the battlescript instruction values intermittently and watching for memory address values that match one of the abilities.
For example, when Drizzle activates, the gBattlescriptCurrInstr memory value is set to 0x081d927f, which is the address BattleScript_DrizzleActivates. Thus we can track this ability.
A few issues so far:

Not all ability triggers are easy to match. Ones like Poison Point/Liquid Ooze don't have a clear BattleScript address that is unique to the ability activating, and unfortunately overlaps with other things that can trigger on the same address.
The gBattlescriptCurrInstr tells us that an ability triggered, but it doesn't tell as which Pokemon's ability triggered it. This is not an issue unless both active Pokemon have the same ability. We don't want to track and reveal information on the opposing Pokemon in this scenario, as it could spoil/reveal hidden information when the player's Pokemon's ability triggers first.
Each of the address values returned by gBattlescriptCurrInstr are not a clean one-to-one map to the BattleScript addresses defined in the rom dump information. Some are offset by +0x1, +0x3, +0x8, and so on. For example, BattleScript_FlashFireBoost doesn't match on it's defined value, but does match on +0x1 for FireRed 1.0 and +0x3 for FireRed 1.1
Each version of FR and LG appear to have differences in the offsets used for these values. In the example above, the Flash Fire address is different between FR rev 1.0 and rev 1.1. Therefore, this requires manually checking the values in game for each of the four versions of FRLG, which is a good deal of work. I imagine Emerald addresses are also different.

For now, most values I found for FR 1.1 seem to work just fine for other games, but it's worth noting some do not.

All of this auto-ability tracking will be included in the upcoming v0.5.0 release


[SPARK-41675][CONNECT][PYTHON] Make Column op support datetime

What changes were proposed in this pull request?
Make column op support datetime
Why are the changes needed?
should support it like the pyspark
Does this PR introduce any user-facing change?
yes
How was this patch tested?
added ut

relevant tests passed.
Merged to master.

thank you @HyukjinKwon !


function/module documentation with usage examples

The documentation for wallaby is improvable :)
Imo Browser and Query are the most important modules.
What should good documentation have imo?

a short description of the general purpose of the function
a longer description with edge cases etc. if needed
usage example (!!!) (ideally doctests, but I think that's hard/not practical for us) so that it's easy for people to get into

Something that I find myself looking up constantly when working with wallaby is what queries like button/text_field match on e.g. id, name, text... whatever. That information would be great to have documented as I don't believe everyone enjoys reading the compiled xpath queries :D
I especially think Query needs some love:

To see how far along we are, we have inch_ex.
We can also see, if we ant to exclude further modules and functions from the documentation.

+1

I'm not sure if I'll have time to go through and submit PRs for these but I'm available if you need to know about each query and what it will select on :+1:

Minus the usage example a lot of this is already implemented on master :)


Build for WebSMSAPI 1.1 - for your convenience

I added a commit on top of yours, so this PR is obsolete.
thx for the PR anyway.


TypeError: Cannot read property 'toString' of undefined

Node version:
4.4.4
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.0
Operating system:
OSX 10.11.5 El Captain
Description of the bug:
Typerror while using shell.exec
Example ShellJS command to reproduce the error:
java -jar CMDRunner.jar --tool Reporter --generate-png test.png --input-jtl results.jtl --plugin-type ResponseTimesOverTime --width 800 --height 600
I cannot find a simple command which reproduces the above issue, I am attaching a screenshot of the error message I am getting.

Hmm... This is really quite strange...
@ps06756, would it be possible for you to share the .jar file with us? (Or does this happen with other .jar's?) I'm somewhat at a loss for what's happening.

I am using the following jar.
CMDRunner.jar.zip
If I run the same command, from a terminal then the command runs without any problem.

@ariporad Are you still looking into this?

I saw a related error on an OS X Travis worker. Here's a screenshot, in case the build restarts and wipes out this log:

@nfischer: I think that's related to shjs, which is in need of some help, ref #497.

@ps06756: Sorry for the delay, I've been really busy recently.
Could you try this with the #471 branch? I've added some debugging stuff which should hopefully be helpful.

@nfischer: I think that's related to shjs, which is in need of some help, ref #497.

Yes, that's the PR in which the error occurred. I posted it, not to suggest that it's occurring on master branch, but as an example of the error to help with debugging this issue, since neither you nor I have seen the bug pop up in our usage of ShellJS.

What?

I'm getting this issue pretty frequently when running a development server with webpack:
  [491] ./~/moment/locale/lt.js/private/var/folders/ll/pd5zlkb138ldyyq6mzz9zd8h0000gn/T/shelljs_b5a18701642053f3a4d2:4
  fs.writeFileSync("/var/folders/ll/pd5zlkb138ldyyq6mzz9zd8h0000gn/T/shelljs_0cf1d4941d3414207791", err ? err.code.toString() : '0');
                                                                                ^

TypeError: Cannot read property 'toString' of undefined
    at /private/var/folders/ll/pd5zlkb138ldyyq6mzz9zd8h0000gn/T/shelljs_b5a18701642053f3a4d2:4:115
    at ChildProcess.exithandler (child_process.js:220:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
exec: internal error
/script/lib/common.js:40
  if (res.code !== 0) {
         ^

TypeError: Cannot read property 'code' of null

On MacOS X 10.11.6 (El Capitan), Node 4.3.2.
I reproduce this at least twice a day. @ariporad Would you like me to try something to help out with debugging? I can run the #470 branch if you need.

@eisenbergrobin: Sure, if you wouldn't mind trying out the debug/471 branch, that would rock. I think (think) it should be a bit more verbose.

@ariporad:
Tried putting your debug/471 branch, unfortunately it seems the code is not valid:
You are missing a trailing comma here and here.
I fixed it locally, but you might want to fix it on your branch :)
So I'm now running this, I'll get back to you if I get any interesting debug information.

@eisenbergrobin: Continually proving my geinousnessness. 😄

@ariporad:
Reproduced it. Here is the extra information from your console.log:
[Error: stdout maxBuffer exceeded] cmd: '/bin/sh -c npm run start'

So it seems I am exceeding the max stdout output buffer...
I've reduced logging verbosity on my webpack-dev-middleware and that should mitigate the problem enough for me not to see it (fingers crossed).
Thanks for the help :)

For those of you having the same issue when running a development server under webpack-dev-middleware, this occurs because the command is outputting (after a while) more than what the buffer can handle in a single command.
I fixed it by making my middleware less verbose when rebuilding:

app.use(require('webpack-dev-middleware')(compiler, {
  noInfo: true,
  stats: {
    colors: true,
    assets: false,
    version: false,
    hash: false,
    timings: false,
    chunks: false,
    chunkModules: false,
  },
}));

That means less lines are printed, and I still get information on whether the build was successful and what went wrong.

@eisenbergrobin: Have you tried changing the maxBuffer?

@ariporad: Continually proving my geniusness 😄 . I had no idea I could pass options from node::child_process to shelljs::exec to handle this.
I haven't reproduced the issue since the fix described above (since my webpack output was way too verbose anyways), but I increased the buffer size in any case:
const options = {
    ...opts,
    maxBuffer: 1024 * 1000, // Increase maxBuffer on node exec for long-running 'watch' commands with a lot of output to stdout
  };
return shell.exec(cmd, options);

Thanks for your help :)

Sounds like the root cause of this issue has been solved, so I'll go ahead and close this. Please ping this thread if the toString issues occur for some other reason.


nvidia.com/gpu: Invalid value, who is responsible for publishing kubeflow-dashboard bundle?

I have the following issue:
[422] Notebook.kubeflow.org "test2" is invalid: spec.template.spec.containers.resources.limits.nvidia.com/gpu: Invalid value: "integer": spec.template.spec.containers.resources.limits.nvidia.com/gpu in body must be of type string: "integer" http://<IP_ADDRESS>/jupyter/api/namespaces/admin/notebooks
That has already been mentioned in https://github.com/canonical/bundle-kubeflow/issues/390
When we download kubeflow-dashboard from the charm store:
https://api.jujucharms.com/charmstore/v5/kubeflow-dashboard-56/archive
the content of metadata.yaml is:
name: kubeflow-dashboard
display-name: Kubeflow Central Dashboard
summary: Kubeflow Central Dashboard
description: Kubeflow Central Dashboard
maintainers: [Juju Developers<EMAIL_ADDRESS>tags: [ai, bigdata, kubeflow, machine-learning, tensorflow]
series: [kubernetes]
resources:
  oci-image:
    type: oci-image
    description: 'Backing OCI image'
    auto-fetch: true
    upstream-source: public.ecr.aws/j1r0q0g6/notebooks/central-dashboard:v1.3.0-rc.1
requires:
  ingress:
    interface: ingress
    schema: https://raw.githubusercontent.com/canonical/operator-schemas/service-mesh-schemas/ingress.yaml
    versions: [v1]
  kubeflow-profiles:
    interface: k8s-service
    schema: https://raw.githubusercontent.com/canonical/operator-schemas/master/k8s-service.yaml
    versions: [v1]
min-juju-version: 2.8.6

To fix the bug we just need to replace
    upstream-source: public.ecr.aws/j1r0q0g6/notebooks/central-dashboard:v1.3.0-rc.1
by
    upstream-source: public.ecr.aws/j1r0q0g6/notebooks/central-dashboard:v1.3.1-rc.0
as v1.3.1-rc.0 contains the fix from PR related to https://github.com/kubeflow/kubeflow/issues/6014
But my question is: who is responsible for this bundle? where can we provide a PR for fixing the upstream-source?
Thanks.

Hello @gcheron the kubeflow team is responsible for this bundle, currently we are working on releasing 1.4 which will also include this fix. But for any kind of PRs feel free to open them in the repository related to the charm in this case this one

First, I would like to thank the team for this work.
When checking metadata.yaml file I think you are pointing to the wrong repo and I guess you wanted to mention this one canonical/kubeflow-dashboard-operator.
The bug in this repo has been fixed 2 months ago (the metadata now points to the correct central-dashboard:v1.4-rc.0 version).
I have 3 questions:

When the updated central-dashboard charm will be published? (for now the latest version does not include this change) What are your habits/procedure about charm publishing process?
Can I produce the charm myself from the repo sources?
What would be the easiest way to still use the global Kubeflow bundle + the locally fixed central-dashboard charm in order to deploy a working version on my machine?

Thank you for your time.

Hey gcheron yes you are right I might have given the wrong link.

When the updated central-dashboard charm will be published? (for now the latest version does not include this change) What are your habits/procedure about charm publishing process?

We are currently preparing a release of 1.4 and should have something released on edge for end of November

Can I produce the charm myself from the repo sources?

Yes you can, there might be some disparities as there are different versions but it should work for the most part.

What would be the easiest way to still use the global Kubeflow bundle + the locally fixed central-dashboard charm in order to deploy a working version on my machine?

You would have to build the charm with charmcraft:
# initialize lxd in case you haven't
sudo snap install charmcraft --channel=latest/candidate
cd kubeflow-dasboard-operator
charmcraft pack

Afterwards you should be able to upgrade the charm of your current deployment the following way:
juju upgrade-charm kubeflow-dashboard --path=./<result of charmcraft pack> --resource oci-image=public.ecr.aws/j1r0q0g6/notebooks/central-dashboard:v1.4-rc.0

Let me know if that works for you.

@DomFleischmann thanks for your reply. I have finally installed kubeflow directly from the manifests.

Thanks, that did the trick!


Removed ability to define a hostname as trusted because of possible security issues

Q
A

Is bugfix?
probably

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
Closes #14691

Merged: 1ce796ef0f1fc6bebbcf457b6c2ec7b760af0562


How do you feed long texts to a model?

I tried naively to add examples in https://github.com/mit-han-lab/streaming-llm/blob/main/data/mt_bench.jsonl, including examples with length of 4k tokens, without changing anything in the script. I receive:
ASSISTANT: Token indices sequence length is longer than the specified maximum sequence length for this model (3905 > 2048).  "?

As illustrated in our run_streaming_llama.py, the KV cache eviction occurs only before the prompt input and generation. This means the demo code isn't designed for single, long input samples.
However, for long text inputs with LLMs, you can reference our perplexity evaluation script. Here, we input text and evict the KV cache token-by-token.
Just so you know, as highlighted in our README's FAQ section, StreamingLLM doesn't enlarge the LLM context window. If you want to expand the context window, consider using a model like Llama-2-7B-32K-Instruct for your experiments.

Ok! Thank you for your answer, I knew it was too good to be true, still a great achievement!

Hijacking from this, (tell me if I need a separate issue for this) but would adding more sink tokens similarly act as "state" once the sliding mechanism starts evicting tokens? I bet the model would have to learn to use the register cache during training.
Similar to the VIT Paper, research direction can be directed towards looking for outliers, if they are similarly removed due to the availability of registers/sinks. That can hopefully perhaps make quantization a bit more easier! What exciting ideas! Amazing work!


PayloadType wrapper_payload attribute has the wrong documentation

Hello,
In the class PayloadType there is an attribute named wrapped_payload that is supposed to be the UUID of the payload to wrap but instead we got the binary data encoded in base64.
Link to the error:
https://github.com/MythicMeta/MythicContainerPyPi/blob/main/mythic_container/PayloadBuilder.py#LL458C9-L459C87
It's first a documentation error but could it be possible to also have this information (with another attribute for example) to allows us to fetch more metadata information regarding the payload over MythicRPC for example.
Thank you very much for the help!

Can you test out the new mythic-container==0.2.11-rc6 PyPi package and see if that works as you expect? If you're using docker images from me, you can add a line to your Dockerfile that says RUN pip install mythic-container==0.2.11-rc6 to force the container to install that specific version.

Thanks for your response!
I tried to implement it in a wrapper by adding the RUN ... command of the Dockerfile of the concerned module but I get a "None" in "wrapped_payload_uuid".
Should I add the RUN command to other Mythic modules?
Thank you!

Great question! This modification required two things - an update to the PyPi package and an update to the Mythic server (to actually send the data to the PyPi package). You'll need to make sure you pull the latest from the master branch of Mythic as well to get the value to populate

After updating Mythic, It seems to work !
Thank you very much!


[QUERY] Could the function execution timeout be increased or configurable?

Question
I often run into the "error: function execution exceeded 15.0s timeout" issue, where, if a function takes more time than 15s - the workflow will stop.
For various functions, the execution time will be more than 15 seconds, and breaking the function into smaller parts gets quite ugly and complicated.
Could this timeout please be configurable?

We are having many discussions on this topic internally. Let me state my view of this.
First, it's important to know why Slack put into place these limitations to begin with. It boils down to user experience. When an end-user does something in the Slack client, we want them to get some feedback that something happened within a reasonable timeframe. That's why in the original release of interactivity support for Slack apps, we almost always required a response to the interactivity event within 3 seconds.
Just increasing the timeout doesn't address this (quite reasonable, IMO) constraint.
I think what you're asking for, @tomas-zijdemans-vipps , is an ability to run long-running compute tasks. Increasing the timeout addresses this, but perhaps a different way of solving this would be a combination of:

easier way of modularizing your application into functions, and
being able to invoke these functions from each other, and
differentiating between a function that is responding to user interactions vs. functions that are not

At least, that's how I would think about.
Are you able to share your use case @tomas-zijdemans-vipps ? The more developer use cases I can collect, the easier it is to convince teams to work on this problem.

Thanks for looking into it!
We are a fin tech that offers a wide array of public APIs (e.g. ecommerce payment, pos payment, recurring payment, login, etc.). We have thousands of customers, big and small, and we want to notify them whenever we detect issues (wrong use of the APIs, payments not being processed, etc.). All errors are logged in Splunk. All customer data is in Salesforce. (Almost) all customers communicate with us on a Slack connect channel. Perfect setup for a Slack bot :)
Here are some use cases:
We now have 5 different workflows consisting of 6-8 steps each, the main steps are

Step 1: Get errors from Splunk (this one is problem free) about errors that have been logged
Step 2: Get the accounts from Salesforce for the relevant errors (this one gives us trouble, more details below)
Step 3: Send slack messages to our partners, integrators, plugin developers, internal key account managers (this sometimes gives us errors).

** Getting data from Salesforce **
When retrieving data from Salesforce, it's usually a very small graphql query ("give me 10 accounts" == 50 lines of json in and out). This usually takes 1-3 seconds. But a few times per day, it can take 30 seconds to get a response. We don't know exactly why, and Salesforce can't give us an exact answer. The function is trimmed down to the bone, it only fires 1 request - and it's the response that takes time. No data processing, nothing else. It can't be made more modular. I imagine this problem can happen for other external APIs and use cases.
My main gripe with this problem is that Slack simply terminates the workflow. If this execution limit is non-negotiable, a better developer experience would be that the workflow continued to the next step and logged a timeout error (and maybe there could even be a way to catch that a previous function did not execute successfully at some point).
The only workaround I can imagine right now is to have a new workflow that would figure out if the first one did it's job.. not pretty.
** Posting a lot of messages **
One of our customer groups is quite large, so we need to send out quite a few notifications. We have 1 function that would like to send messages to about 30 customers (so only using the built in client, no data processing or anything else).

Send a main message to a customer, check if ok
Send a thread response to the main message with more details about the errors, check ok
Get the permalink to the threaded message, check ok
Update the main message with a button that links to the threaded message.
This was very well received as a user friendly interaction by commercial users. But as you can see, that's 4*30=120 calls to Slack. The function can do about 17 before it quits due to the 15 sec limit. If you skip checking that the call was ok (not good ofc), or do other smart parallell tricks, you run into rate limiting. The solution we now have is:
Remove step 3 and 4 to half the amount of calls (not great for user experience, but it works).
Have a function that splits the customers into small chunks and then run the above function 4 separate times in the same workflow (works, but the code is really ugly :D )

** Chatting with a AI running on Azure **
On a separate note, we have a LLM running on Azure that allows our users to get help when copywriting. However, azure will put the function "to sleep" when inactive for some time. So the first user in the morning that starts chatting with the AI have to wait for a "warm up". Sometimes this takes to long.

Thanks for sharing this! These are great examples and I think your points make a lot of sense.
The reason I am thinking about differentiating interactivity handlers vs. other functions is exactly so that developers will be given more freedom (e.g. time) to do stuff in the latter compared to the former. Coupled with an ability to invoke one such function from another easily (without having to create a trigger and encapsulate into separate workflows), I think would address many of these problems.
The team is discussing extending the timeout from 15 seconds to something more, but I worry that inevitably, this same issue will be filed again asking to bump that timeout. Thus why I am trying to think about it from an architectural angle, as it seems the design and current abstractions for functions and workflows are insufficient to meet needs.

What timeout would be acceptable for your use case, @tomas-zijdemans-vipps ?

@filmaj I think a 60s timeout would do the trick!

Hi! Just wanted to see if there are any updates on extending the timeout or making function timeout configurable? Similarly to the use cases above, we have some API calls we use in our responses that are just very slow and sometimes exceed the 15 seconds causing our bot to not respond even though it got the response from the API post-15-second-limit.

Hi! Update: the team is actively working on extending the timeouts, but the second-order effects from this are rather wide ranging so we are taking a conservative approach.
We are trying to organize something like a pilot / test for this, where we could roll out the extended timeout to your workspace, understand your use cases and gather feedback from you. If you are interested in being involved with this, Jagdeep, the Slack Product Manager leading this initiative, wants to hear from you in our Community Workspace. If you are not a member of the Community Workspace yet, you can sign up here. In the welcome e-mail will be a link to join the workspace. Within the workspace, there is a #slackapi channel - find Jagdeep's post in that channel from yesterday and get in touch with him!

Thanks filmaj, I am also using for instance external API calls that sometimes just take time, and for my use case, the longer response times are ok for the users. 15 secs a bit agressive.

60s would be a great improvement, but could this be customizable? We integrate with Chat GPT4 where latency can vary anywhere between 10 and 300+ secs, depending on load and user input.

BTW 60 seconds is the now allotted timeout, so I will close this.
I do not think we will be considering extending it beyond 60 seconds, as the function timeouts directly contribute to the perceived performance of workflows for end-users. The original platform had a 3 second timeout for this exact reason. Even pushing it to 60 seconds violates this principle.

Ok, but if people need to call a slow API then they will just jump through hoops to call the API and then dispatch a function to respond to the user over 60 seconds later. So from a UX point of view it's exactly the same experience as just increasing the timeout, it's just additional work and complexity.

While I agree with you generally, not all APIs are created equal and ones that take a minute+ to respond should put pressure on consumers to employ special UX considerations, such as letting the user know that a long-running task is being performed to set expectations on responsiveness appropriately.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1166 ms

Resolved: Bofrost.be performance has improved in 0e75f7c.


Feat: add dodoc to autogenerate all the methods documentation

Purpose for this PR
Configure https://www.npmjs.com/package/@primitivefi/hardhat-dodoc to autogenerate all the methods documentation
If NatSpec is followed then the docs will be even better
ex:
/// @notice Does another thing when the function is called.
/// @dev More info about doing another thing when the function is called.
/// @param num A random number
/// @return A random variable

example of what we get https://github.com/windranger-io/windranger-treasury/blob/feat/auto-documentation/docs/documentation/bond/BondMediator.md

@octavioamu do you actually use the autogenerated docs, rather than looking at the code?

@octavioamu do you actually use the autogenerated docs, rather than looking at the code?

yes I feel is more easy to understand what the contract do methods with their inputs and outputs. For FE implementation I feel facilitates the work and take out some needs of asking the solidity devs when we don't get what is going on.

tbh the average NatSpec comment tends to be not helpful i.e. conveying no real detail beyond what you know from the function signature.
question: is merely have the function signature converted into the HTML meaningful? ...or do you actually need those quality comments?

Ah, you've got the generated docs checked in as part of the PR.
Raises an interesting question. @octavioamu would you use the web browser to see the docs?
What I'm thinking ...as there's no way to guarantee the docs are correct (as users can prevent local precommit hooks from executing), it would be better to have the generation tooling present and leave for people to generate locally 🤔
wdyt?

https://www.npmjs.com/package/solidity-docgen
Might be better to use that instead, due to usage numbers.

Closed by https://github.com/windranger-io/windranger-treasury/pull/327


Fully Configurable

I'm pretty new to chef, but not MySQL and I am looking to use this cookbook and from what I see and read this cookbook doesn't allow for configurations on all options. Am I wrong in this assumption? I'm looking at the default my.cnf and want to change every single option for the most part outside of port but I am not seeing where I can do this.

A service's my.cnf does the minimum to get it running and loading more configs out of conf.d via an include.
Look under test/fixtures/cookbooks for examples of how to use the mysql_config resource to drop templates into the appropriate conf.d directory.
—
Sent from Mailbox
On Fri, Jun 12, 2015 at 2:58 PM, geleman<EMAIL_ADDRESS>wrote:

I'm pretty new to chef, but not MySQL and I am looking to use this cookbook and from what I see and read this cookbook doesn't allow for configurations on all options. Am I wrong in this assumption? I'm looking at the default my.cnf and want to change every single option for the most part outside of port but I am not seeing where I can do this.
Reply to this email directly or view it on GitHub:
https://github.com/chef-cookbooks/mysql/issues/350

I understand the part about loading out of conf.d but I don't even want my.cnf file located in the place it is set up. With my organization we do a different file structure and would like to be able to fully customize the instance. This includes datadir and logs on separate mounts/partitions and tmpdir  mounted in memory on a separate tmpfs disk not /dev/shm/. I like what I have been able to do thus far but the ability to not be able to fully customize might be killer for me and I'm to green on chef to write a cookbook from scratch that does the install at this point.

You have full control of The mysql_service resource only owns a few lines, data_dir being one of them.
—
Sent from Mailbox
On Fri, Jun 12, 2015 at 3:14 PM, geleman<EMAIL_ADDRESS>wrote:

I understand the part about loading out of conf.d but I don't even want my.cnf file located in the place it is set up. With my organization we do a different file structure and would like to be able to fully customize the instance. This includes datadir and logs on separate mounts/partitions and tmpdir  mounted in memory on a separate tmpfs disk not /dev/shm/. I like what I have been able to do thus far but the ability to not be able to fully customize might be killer for me and I'm to green on chef to write a cookbook from scratch that does the install at this point.
Reply to this email directly or view it on GitHub:
https://github.com/chef-cookbooks/mysql/issues/350#issuecomment-111592150

Also I did see where I can create a foo.erb files for configs in the test location but I would need to override your defaults with these settings, but that still leaves me with the my.cnf and conf.d in a location I do not perfer. The datadir is a very important options for me to be able to control.

Er, sorry. iPhone.
You have full control of every line.
The mysql_service resource owns my.cnf, and will let you configure data_dir, listen_port, and a few others, listed in the readme.
Anything beyond that goes in a mysql_config template source.
-s
—
Sent from Mailbox
On Fri, Jun 12, 2015 at 3:18 PM, Sean Omeara<EMAIL_ADDRESS>wrote:

You have full control of The mysql_service resource only owns a few lines, data_dir being one of them.
—
Sent from Mailbox
On Fri, Jun 12, 2015 at 3:14 PM, geleman<EMAIL_ADDRESS>wrote:

I understand the part about loading out of conf.d but I don't even want my.cnf file located in the place it is set up. With my organization we do a different file structure and would like to be able to fully customize the instance. This includes datadir and logs on separate mounts/partitions and tmpdir  mounted in memory on a separate tmpfs disk not /dev/shm/. I like what I have been able to do thus far but the ability to not be able to fully customize might be killer for me and I'm to green on chef to write a cookbook from scratch that does the install at this point.
Reply to this email directly or view it on GitHub:
https://github.com/chef-cookbooks/mysql/issues/350#issuecomment-111592150

I guess I'm not seeing where I can change the ones in the README. I have been going through everything and just not seeing how I can do it. Granted like I said before I am a complete newb to chef but I'm not seeing where I can change the default/variable values.

Look at test/fixtures/mysql_service_test/recipes/multi.rb
—
Sent from Mailbox
On Fri, Jun 12, 2015 at 3:25 PM, geleman<EMAIL_ADDRESS>wrote:

I guess I'm not seeing where I can change the ones in the README. I have been going through everything and just not seeing how I can do it. Granted like I said before I am a complete newb to chef but I'm not seeing where I can change the default/variable values.
Reply to this email directly or view it on GitHub:
https://github.com/chef-cookbooks/mysql/issues/350#issuecomment-111594420

I guess I just have a lot things to figure out because that doesn't help me a whole lot. It's probably just my lack of knowledge in chef.

So I think I have finally got things figured out but have run into an issue. I read the multi.rb and see how i can hard code in such things as data_dir. So I'm trying to hard code the error_log location and it fails. I'm going to attempt to move tmp and try some others. The main ones i'm concerned with though are logs directory, data directory and tmp dir. Is the error_log use not correct by using it under service like data_dir?


error msg when missing default config toml and dyn_data_dir

improve by decreasing dependencies on env
least requirement is each of:

json-responder.toml
json-responder-data as default dyn_data_dir

fixed w/ 3c53d41


So what settings are actually needed?

Maybe I'm just not seeing it, but which CA cloud apps/services actually control the OneDrive client?
Specifically, I'm trying to prevent syncing to non-compliant devices, which is exactly the the example you mention, but you don't actually explain how it's done. The generic CA documentation doesn't seem to mention how to control OneDrive access anywhere. (again unless I missed it)
Alternatively, I'd like to disable OneDrive app access from non-compliant devices, but allow Teams access.
Thanks!

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

ID: 21c6bfdb-03aa-803d-a96b-9c9fd9a45572
Version Independent ID: 18425f39-d2af-21a2-2868-d218673a736e
Content: Enable conditional access support in the OneDrive sync app - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/enable-conditional-access.md
Service: one-drive
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hello @GeldHades27355
I'm working on this.

@cartergreen @gacarini can you help?

@cartergreen @gacarini Hello, wondering if you could see @MikePlumleyMSFT question here, if you are able to help, thank you

@gacarini is on maternity leave

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Flutter cannot use the.so dynamic library

Flutter cannot use the.so dynamic library

There is not enough information here for someone to understand what the problem is or investigate. Please file a new issue and follow the template, providing specific steps to reproduce and error messages/logs.


Batch and atomicBatch functionality

Implements #806
Needs tests (ahh!) but it functionally works.
Batch
All cases
var b = redis.batch();
b.set('test', '1');
b.get('test', function(err, res) {
  //= null, '1'
});
b.exec(function(err, res) {
  //= null, [ 'OK', '1' ]
});

"set" "test" "1"
"get" "test"

Atomic Batch
Multiple commands
var b = redis.atomicBatch();
b.set('test', '1');
b.get('test', function(err, res) {
  //= null, '1'
});
b.exec(function(err, res) {
  //= null, [ 'OK', '1' ]
});

"multi"
"set" "test" "1"
"get" "test"
"exec"

Single command
var b = redis.atomicBatch();
b.set('test', '1');
b.exec(function(err, res) {
  //= null, [ 'OK' ]
});

"set" "test" "1"

Note: no multi/exec wrapper as it's unnecessary for a single command

@simontabor thx for your work! I'd like to see such a feature in combination with pipelining commands together to reduce the RTT.
Could you try and find a way to implement pipelining? :) That would be just the same as your current batch functionality but more powerful. You can very likely just overload Multi and include some special conditions there to use pipelining. That way both, multi with transactions and "batch" without transactions could benefit from pipelining and you reduce code duplication and prevent divergent behavior. :)

yeah i'd need to get my head around how pipelining is implemented...
isn't it just automatically handled in RedisClient.prototype.send_command, so sending all of the commands through at once will have them all in a single pipeline?

Related: #659
send_command does not handle it automatically. It sends each command individually. So we'd have to collect all querys first.

Ping @simontabor

Closed in favor of #878


get showing map bound

how to get showing map bound from mapview or projection or everthing else ?
projection.getBounds() return all over world's bounds . but i want to get current view map bounds that showing in screen only.

Hey!
Unfortunately, this is not a trivial task and there's no direct function in our API.
However, you should check out our Swift and Kotlin examples that feature a ScaleBar view where this is calculated.
cf:

Kotlin: https://github.com/CartoDB/mobile-android-samples/blob/master/AdvancedMapKotlin/app/src/main/java/com/carto/advanced/kotlin/components/ScaleBar.kt#L85
Swift: https://github.com/CartoDB/mobile-ios-samples/blob/master/AdvancedMap.Swift/Feature Demo/ScaleBar.swift#L80

Please post SDK usage questions to stackoverflow (with carto-mobile tag) and these will be answered. This project's GH issues are meant for bugs, ideas or specific feature request which are related to SDK itself.


ENG-8511 - Update X & Y value Extraction from Touches

Looks good:
(NeuroID Debug) Event:  TOUCH_START -<PHONE_NUMBER>785 - Password - xy=[(x=95.33332824707031, y=350.0, tid=0)] tg=tgs: Password, location: UIControlSwizzle, sender: UITextField, etn: UITextField
(NeuroID Debug) NeuroID IH:  Adding NeuroID Health Event CUSTOM_TOUCH_END
(NeuroID Debug) Event:  CUSTOM_TOUCH_END -<PHONE_NUMBER>897 - Password - xy=[(x=95.33332824707031, y=350.0, tid=0)] tg=etn: UITextField, location: gestureRecognizer, tgs: Password attrs=[size=0.0, force=0.0]
(NeuroID Debug) Event:  TOUCH_START -<PHONE_NUMBER>647 - Email - xy=[(x=126.0, y=257.0, tid=0)] tg=location: UIControlSwizzle, etn: UITextField, tgs: Email, sender: UITextField
(NeuroID Debug) NeuroID IH:  Adding NeuroID Health Event CUSTOM_TOUCH_END
(NeuroID Debug) Event:  CUSTOM_TOUCH_END -<PHONE_NUMBER>775 - Email - xy=[(x=126.0, y=257.0, tid=0)] tg=tgs: Email, etn: UITextField, location: gestureRecognizer attrs=[force=0.0, size=0.0]
These X/Y coords look like absolute touches against the entire window (login screen). Are these density independent pixel readings (similar to Android),. It looks like it since these are floats.

Bypassing Sonar because the duplicate code is class specific and can't be generalized


Merge remote-tracking branch 'upstream/master' into master-svennissel

Please delete this pull request. I have a tooling problem (I'm the problem :-))


cdc: fail the changefeed blocking global gc and suppressing the gc-ttl

What problem does this PR solve?
Issue Number: close #9303
Issue Number: close #9243
What is changed and how it works?
If the service responsible for blocking the garbage collection process, make sure to verify if the checkpoint timestamp of the changefeed has surpassed the time-to-live (TTL) for garbage collection when ticking.
Check List
Tests

[x] Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
NA
Do you need to update user documentation, design documentation or monitoring documentation?
NA
Release note
A changefeed will fail if it is the service block the gc of the update stream TiDB and has surpassed the gc-ttl.

@charleszheng44 do we need to cherry pick this PR to 6.5/7.1?

/cherry-pick release-7.1
/cherry-pick release-6.5


Configure pytest in pyproject.toml

Codecov Report

Merging #23 (5c4db81) into main (59b431e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #23   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        16
  Lines          528       528
  Branches        90        90
=========================================
  Hits           528       528

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 59b431e...5c4db81. Read the comment docs.


ref(ci): remove terraform cli test/assets

What does this change

Removes the terraform cli test (will migrate to the porter-terraform repo)

What issue does it fix
Contributes towards https://github.com/deislabs/porter/issues/1079
Notes for the reviewer
Checklist

[ ] Unit Tests
[ ] Documentation
[ ] Schema (porter.yaml)

If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇♀

TestDependencySolver_ResolveDependencies is officially a flake. I'll open an issue to investigate.


Add plot3 function...

Add plot3 function that mimics the behavior of matplotlib.pyplot.plot function where you can input multiple arrays along with plotting parameters.  Also, this should automatically interpret a complex 1D array as a time series and plot it using a horizontal axis for the time variable.

Added plot_3d_complex and the alias plot3c.  This acts like plot3 in Octave.  You can plot a 2-dimensional array by plotting down the columns.


bad performance(compare with cuMemcpy) on x86 system

CPU info:
Architecture:            x86_64
CPU op-mode(s):        32-bit, 64-bit
Address sizes:         43 bits physical, 48 bits virtual
Byte Order:            Little Endian
CPU(s):                  256
On-line CPU(s) list:   0-255
Vendor ID:               AuthenticAMD
Model name:            AMD EPYC 7742 64-Core Processor
CPU family:          23
Model:               49
Thread(s) per core:  2
Core(s) per socket:  64
Socket(s):           2
Stepping:            0
Frequency boost:     enabled
CPU max MHz:         2250.0000
CPU min MHz:         1500.0000
BogoMIPS:            4491.63
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma c
x16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pst
ate sme ssbd mba sev ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt
lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca
Virtualization features:
Virtualization:        AMD-V
Caches (sum of all):
L1d:                   4 MiB (128 instances)
L1i:                   4 MiB (128 instances)
L2:                    64 MiB (128 instances)
L3:                    512 MiB (32 instances)
NUMA:
NUMA node(s):          8
NUMA node0 CPU(s):     0-15,128-143
NUMA node1 CPU(s):     16-31,144-159
NUMA node2 CPU(s):     32-47,160-175
NUMA node3 CPU(s):     48-63,176-191
NUMA node4 CPU(s):     64-79,192-207
NUMA node5 CPU(s):     80-95,208-223
NUMA node6 CPU(s):     96-111,224-239
NUMA node7 CPU(s):     112-127,240-255
Vulnerabilities:
Itlb multihit:         Not affected
L1tf:                  Not affected
Mds:                   Not affected
Meltdown:              Not affected
Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
Srbds:                 Not affected
Tsx async abort:       Not affected
IB/RDMA like:
hca_id:	mlx5_2
transport:			InfiniBand (0)
fw_ver:				20.31.2006
node_guid:			043f:7203:00df:3db8
sys_image_guid:			043f:7203:00df:3db8
vendor_id:			0x02c9
vendor_part_id:			4123
hw_ver:				0x0
board_id:			MT_0000000223
phys_port_cnt:			1
port:	1
state:			PORT_ACTIVE (4)
max_mtu:		4096 (5)
active_mtu:		4096 (5)
sm_lid:			302
port_lid:		232
port_lmc:		0x00
link_layer:		InfiniBand
hca_id:	mlx5_5
transport:			InfiniBand (0)
fw_ver:				20.31.2006
node_guid:			043f:7203:00df:4394
sys_image_guid:			043f:7203:00df:4394
vendor_id:			0x02c9
vendor_part_id:			4123
hw_ver:				0x0
board_id:			MT_0000000223
phys_port_cnt:			1
port:	1
state:			PORT_ACTIVE (4)
max_mtu:		4096 (5)
active_mtu:		4096 (5)
sm_lid:			302
port_lid:		233
port_lmc:		0x00
link_layer:		InfiniBand

Is there any known issue?

Hi @nkflash,
GDRCopy is designed for small message sizes. Based on what you have shown, GDRCopy is faster than cuMemcpy in that regime. Can you elaborate on the issue?
Also, you may want to run the application with numactl -C <cpus> -l or numactl -N <nodes> -l. It will perform better if you pin it to the CPU core that is close to the GPU in the PCIe tree. The -l will make sure that the host buffer allocation is from that numa node or CPU core.

Hi @nkflash,
GDRCopy is designed for small message sizes. Based on what you have shown, GDRCopy is faster than cuMemcpy in that regime. Can you elaborate on the issue?
Also, you may want to run the application with numactl -C <cpus> -l or numactl -N <nodes> -l. It will perform better if you pin it to the CPU core that is close to the GPU in the PCIe tree. The -l will make sure that the host buffer allocation is from that numa node or CPU core.

Thank you for your quick response.
Sure, I see the small size is better than large size. In this case I didn't bind special CPU. Is that(bind to special cpu) comparable to 'cuMemcpy' in large size?
BTW: Why gdrcopy only suitable for small message size?


License?

I saw your talk at the devopscon and really liked it!
I thought about doing something similar at my company for internal teaching, so I'd love to know what kind of license the code and slides have?

Hi @rndmh3ro sorry for my late response.  Also thanks for making me aware of the missing license. I added it (MIT) some seconds ago.
Let me know in case you need further details.

Thank you!


Don't animate when dequeuing cells

https://block.atlassian.net/browse/UI-5081
We now force a non-animated layout before dequeuing a cell, to ensure that any implicit animations that may occur are avoided. This avoids issues where you may see an animation as a reused cell's changed state is applied.
Checklist
Please do the following before merging:

[ ] POS Integration Test
[x] Market Integration Test
[x] Ensure any public-facing changes are reflected in the changelog. Include them in the Main section.

Seems reasonable, but this won't cause an extra layout, would it? it's just going to happen earlier and non-animated since the cell should be needsLayout = false after this?

I logged calls to layout and the number of calls seemed identical from what I could tell.

This is for some reason breaking the KIF tests, seemingly related to market search bar, will need to dig into that before merging: https://square-console.sqprod.co/bbr/production/ci_jobs/PR+ios+WK-SK4+Bazel-Pipeline-PR/3


cannot share encrypted notes

Solution is to save the note as unencrypted when the shared status is set to true. Otherwise it will save it as encrypted,

Duplicate of #399


Support Glimmer

ember-test-selectors ~might already work (more or less) well with Glimmer but I'm not sure anyone has checked yet~ does not currently work with Glimmer. There are some things we need to get done before we can officially support it:

[ ] fix stripping of data-test-* attributes from templates
[ ] setup testing with Glimmer
[ ] don't patch Ember.Component when in a Glimmer app
[ ] don't register Babel plugins when in a Glimmer app (as dataAttributeBindings doesn't exist in Glimmer anyway)

I think we should wait until Glimmer has a somewhat stable testing story before tackling this problem

Actually this should be more or less unrelated to how Glimmer's testing story looks in detail though.

I think the only way to setup proper testing with Glimmer (and Ember) would be to use ember-cli-addon-tests. I experimented with that a bit (see https://github.com/simplabs/ember-test-selectors/compare/ember-cli-addon-tests) and it should work (and it should also be possible to add a fixture app that uses the Glimmer blueprint so we could test against that). However, the massive downside is that we cannot actually tests the app as it is running in the browser but would have to make HTTP request and assert on the response body. That means we can only

assert on whatever is in app.js; this basically means we have to assert on the Glimmer wire format (see e.g. https://github.com/simplabs/ember-test-selectors/compare/ember-cli-addon-tests#diff-60623ee8d9c9d63756a3abe26cb1c5bdR23) which is pretty bad as it will break whenever that changes and also requires all data-test- attributes we use in tests to be unique which makes the tests brittle
we can add FastBoot as another dependency so that we can assert on the rendered HTML as opposed to the contents of app.js; this is obviously not great neither as we're adding another dependency which adds quite a bit of complexity; asserting on the rendered HTML though would make asserting as such much better (e.g. using something like https://www.npmjs.com/package/cheerio would even allow us to select attributes on specific elements etc.)

At the moment (and I couldn't see how that would change in the future) I don't see any other solutions than the above 2…

I think we should wait until Glimmer has a somewhat stable testing story before tackling this problem

☝
if we need to make this addon so much more complicated to support glimmer then IMHO it might make more sense to create a glimmer-test-selectors project instead to reduce the overhead for Ember users.

I don't think this situation will improve when Glimmer's testing story improves. After all, this is not a problem with Glimmer testing but with testing 2 very different Ember CLI projects. We'd be in the same situation if we needed to test with Ember CLI 1.x and and 2.x probably.
Forking glimmer-test-selectors also doesn't really seem like a viable solution. I think one of the key things we need to make sure in order for the Glimmer/Ember mid to long term plan to succeed is to not split the ecosystem (and community) in 2.

closing due to inactivity
if this ever becomes viable we can still reopen the issue...


port small changes, upgrade xxhash

Please note that for legal reasons we require you to sign the
Contributor Agreement
before we can accept your pull requests.
Code changes and contributions in the VelocyPack library should use
the "Google" style and conventions as used by clang-format.

Coverage decreased (-11.6%) to 84.847% when pulling 6a3c1a6e4c23a3641b898c037fcfa6d2b9a46578 on feature/upgrade-velocypack-20210319 into ea0b5417024af9ee6fe5925f27918971c332deea on main.


chore: bdd-spring-1582604607 to 0.0.1

chore: Promote bdd-spring-1582604607 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Update transaction build with the ability to specify votes and proposals

duplicate of https://github.com/input-output-hk/cardano-cli/issues/13


Static email

Add static email form to OAH pages
Additions

Static email html, css, and js

Testing

Check out branch and run grunt

Check that email form displays correctly on all pages:

[ ] /explore-rates
[ ] /closing-disclosure
[ ] /loan-estimate
[ ] /process template
[ ] /loan-options
[ ] /loan-options/fha-loans
[ ] /loan-options/conventional-loans
[ ] /loan-options/special-loan-programs
[ ] /mortgage-estimate

Check form submission and messaging:

[ ] Error message appears when form submitted with missing email address (in Safari since Chrome shows its own tooltip message)
[ ] Error message appears when form submitted with incomplete email address (again in Safari)
[ ] Form submits without page reload when a full email address is entered. It will show an error message locally on submit (it also errors with JS turned off), but it should be successful on build.

Review

@sonnakim

Screenshots
In brand footer:

In sidebar:

In process pages:

Missing email error:

Incomplete email error:

Server error:

Server success:

Notes

This pulls in email signup & notification JS from cfgov-refresh, but adapts it slightly to use jQuery for DOM manipulation as a short-term solution until the project transitions away from IE8 support and adds the cfgov-refresh polyfills/dependencies. The code can be directly replaced with the cfgov-refresh versions once that transition takes place.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

@virginiacc looks great! Just one thing, which the screenshot doesn't make very clear (sorry!). On the process pages, can you put about 15 px of space between the email signup module and the tools sidebar?

@sonnakim Spacing added:

@virginiacc looks great!


secondary structure not rendering when no HELIX/SHEET in pdb file

Is it expected that the protein viewer predicts secondary structure when there is no secondary structure annotation in a PDB coordinate file? on the website it mentions that one of the features is "built-in secondary structure assignment"
yet if pdb files are missing secondary structure annotation, it fails to render the cartoon view for me. is this expected?

Hi Omar,
sorry for the late reply. I've been a bad project maintainer for the last month and didn't get around to answer any questions on github. If this anwer comes too late for you to be relevant, feel free to ignore it.
There is a secondary structure assignment algorithm implemented and included in PV. You will have to manually invoke the algorithm  if you know you structures don't have secondary structure assigned:
var structure = pv.io.pdb(data);
pv.mol.assignHelixSheet(structure);

Best,
Marco

Hi Marco,
Thanks for your reply. I did indeed update PDB to include predictions DSSM, but I would rather use the original PDB files so this helps a lot, even if it’s a little late :-)
Thanks for a fantastic library, which is much needed!
Omar

On 16 Jun 2016, at 14:17, Marco Biasini<EMAIL_ADDRESS>wrote:
Hi Omar,
sorry for the late reply. I've been a bad project maintainer for the last month and didn't get around to answer any questions on github. If this anwer comes too late for you to be relevant, feel free to ignore it.
There is a secondary structure assignment algorithm implemented and included in PV. You will have to manually invoke the algorithm if you know you structures don't have secondary structure assigned:
var structure = pv.io.pdb(data);
pv.mol.assignHelixSheet(structure);
Best,
Marco
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/biasmv/pv/issues/159#issuecomment-226568857, or mute the thread https://github.com/notifications/unsubscribe/ABo2B98f8Ch7n0RAyP2DUFuqDCUyY3jbks5qMZMugaJpZM4IZBKR.

How do you select a residue based on the assigned secondary structure? I want to be able to color the structure according to my own colouring scheme by SS, but not sure how I can select all helix residues, sheet residues etc...

Just last week, @ajfarkas submitted a patch that allows you to specify your own colors for the bySS color scheme: http://pv.readthedocs.io/en/latest/coloring.html#pv.color.bySS. This feature is available in master.  You might want to use that.
But to your original question: To select a residue by secondary structure, you can use the rtype selector. Example:
structure.select({rtype : 'H'})

@biasmv How to check if a pdb file contains secondary structure annotation(HELIX/SHEET) ?


[REVIEW]fix display errors on form when no templates or LB Rules

URL
When customers didn't create LB rules and templates, setting page show error
Conclusion

add error message to the top of a form (templates and LB Rules)
add error message under each fields (templates and LB Rules)

I think OK. I'll merge it.


Dhivya's starter tasks: Added Datacard and Modelcard

My experience creating datacards and modelcards was very unique and interesting. I created a  datacard for the GTSRB dataset and created a model card for a CNN model which I deployed on my own. This experience helped me understand the documentation process and helped me realize how much transparency is important. The model lacked various aspects of fairness and, most notably, associated risks, impact, and explanations for the prediction. The challenges I faced were finding out about the access, retention and the wipeout of the dataset. I used the dataset documentation website and the research paper published for documenting the data and model cards. I look forward to contributing many more data and model cards.

@andrewzaldivar @mpushkarna @bhaktipriya kindly review my pull request.


iOS build ignoring ExportOptions.plist

I used XCode to archive my package and export an Ad-Hoc version, which created ExportOptions.plist. I copied that file to my ./ios directory in the flutter project and added the following to my pipeline yaml:
- task: Hey24sheep.flutter.flutter-build.FlutterBuild@0
  inputs:
    target: 'ipa'
    exportOptions: plist
    exportOptionsPlist: './ios/ExportOptions.plist'

My ExportOptions.plist file looks like this, with the teamID redacted:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>compileBitcode</key>
	<true/>
	<key>destination</key>
	<string>export</string>
	<key>method</key>
	<string>ad-hoc</string>
	<key>signingStyle</key>
	<string>automatic</string>
	<key>stripSwiftSymbols</key>
	<true/>
	<key>teamID</key>
	<string>(redacted)</string>
	<key>thinning</key>
	<string><none></string>
</dict>
</plist>

I've installed an Ad-Hoc provisioning profile and my .p12 file with my certificate. Running
flutter build ipa --export-options-plist=./ios/exportOptions.plist
on my local machine works and generates the IPA signed with the right ad-hoc profile and the cert from my machine.
Unfortuantely it seems this file is ignored. The important bit is at the end where it says it's trying to find a DEVELOPMENT profile, rather than the Ad-Hoc one.
2021-11-15T15:38:03.2166260Z ##[section]Starting: FlutterBuild
2021-11-15T15:38:03.2179080Z ==============================================================================
2021-11-15T15:38:03.2179510Z Task         : Flutter Build Task
2021-11-15T15:38:03.2179870Z Description  : Build a Flutter application project.
2021-11-15T15:38:03.2180150Z Version      : 0.3.0
2021-11-15T15:38:03.2180400Z Author       : Hey24sheep
2021-11-15T15:38:03.2180850Z Help         : [More Information](https://github.com/hey24sheep/azure-flutter-tasks)
2021-11-15T15:38:03.2181300Z ==============================================================================
2021-11-15T15:38:03.4400350Z [command]/Users/runner/hostedtoolcache/Flutter/2.5.3-stable/macos/flutter/bin/flutter build ipa --export-options-plist=./ios/exportOptions.plist
2021-11-15T15:38:09.5078210Z Running "flutter pub get" in flutter_tools...                       3.8s
2021-11-15T15:38:23.4056060Z Running "flutter pub get" in s...                                  13.8s
2021-11-15T15:38:41.5315790Z Archiving com.cas.il-connect...
2021-11-15T15:38:42.2972730Z Automatically signing iOS for device deployment using specified development team in Xcode project: (redacted)
2021-11-15T15:38:52.6832630Z Running pod install...                                              5.3s
2021-11-15T15:39:00.7376480Z Running Xcode build...
2021-11-15T15:39:00.7380760Z Xcode archive done.                                          8.0s
2021-11-15T15:39:00.7386430Z Failed to build iOS app
2021-11-15T15:39:00.7388700Z Error output from Xcode build:
2021-11-15T15:39:00.7389900Z ↳
2021-11-15T15:39:00.7391560Z     --- xcodebuild: WARNING: Using the first of multiple matching destinations:
2021-11-15T15:39:00.7393010Z     { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
2021-11-15T15:39:00.7394540Z     { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
2021-11-15T15:39:00.7396060Z     { platform:iOS Simulator, id:CA504BAF-14C7-4882-8717-17861EF2FAE0, OS:15.0, name:iPad (7th generation) }
2021-11-15T15:39:00.7397520Z     { platform:iOS Simulator, id:2B15421A-35EB-442A-BC83-2BFFB5A918FB, OS:15.0, name:iPad (8th generation) }
2021-11-15T15:39:00.7399020Z     { platform:iOS Simulator, id:7A50DBD2-DBAB-4668-8647-63DA3C73746D, OS:15.0, name:iPad (9th generation) }
2021-11-15T15:39:00.7400460Z     { platform:iOS Simulator, id:EE083219-74C0-45EA-95D4-BE69A0BECF34, OS:15.0, name:iPad Air (3rd generation) }
2021-11-15T15:39:00.7401950Z     { platform:iOS Simulator, id:61E74034-9F1C-4DE2-92B6-78E85712E172, OS:15.0, name:iPad Air (4th generation) }
2021-11-15T15:39:00.7403380Z     { platform:iOS Simulator, id:A4FAE159-8EAD-4B67-9C9E-BC092323D327, OS:15.0, name:iPad Pro (9.7-inch) }
2021-11-15T15:39:00.7404860Z     { platform:iOS Simulator, id:4AFC00A4-1E34-410C-AEED-64739C5AC09D, OS:15.0, name:iPad Pro (11-inch) (2nd generation) }
2021-11-15T15:39:00.7406350Z     { platform:iOS Simulator, id:81891748-1799-4438-9229-C4DD21F8313B, OS:15.0, name:iPad Pro (11-inch) (3rd generation) }
2021-11-15T15:39:00.7407830Z     { platform:iOS Simulator, id:BFE2B277-C73F-4C01-92BA-65E681BBF07C, OS:15.0, name:iPad Pro (12.9-inch) (4th generation) }
2021-11-15T15:39:00.7409350Z     { platform:iOS Simulator, id:05A1339C-B80D-4C57-9A22-774417508E59, OS:15.0, name:iPad Pro (12.9-inch) (5th generation) }
2021-11-15T15:39:00.7410890Z     { platform:iOS Simulator, id:A2CE1931-8C20-4318-81EF-AEBFB5E8BDA8, OS:15.0, name:iPad mini (6th generation) }
2021-11-15T15:39:00.7412310Z     { platform:iOS Simulator, id:816B76CB-2635-46BD-9051-8F0AEC0B6D4F, OS:15.0, name:iPhone 8 }
2021-11-15T15:39:00.7413670Z     { platform:iOS Simulator, id:94F71856-FC49-4F3E-906C-8DD5804F22DD, OS:15.0, name:iPhone 8 Plus }
2021-11-15T15:39:00.7415050Z     { platform:iOS Simulator, id:424812ED-A78C-47F5-88A3-AD5901E2453F, OS:15.0, name:iPhone 11 }
2021-11-15T15:39:00.7416440Z     { platform:iOS Simulator, id:C01131F9-506B-4347-9DCC-339D669A78AC, OS:15.0, name:iPhone 11 Pro }
2021-11-15T15:39:00.7417840Z     { platform:iOS Simulator, id:FD7E4265-50DA-427E-AC3C-E5DD8B060491, OS:15.0, name:iPhone 11 Pro Max }
2021-11-15T15:39:00.7419240Z     { platform:iOS Simulator, id:71B10A8D-AE1C-4258-9D14-7501BB8683AE, OS:15.0, name:iPhone 12 }
2021-11-15T15:39:00.7420620Z     { platform:iOS Simulator, id:07667609-E2C2-4C30-995B-496E3ED059B9, OS:15.0, name:iPhone 12 Pro }
2021-11-15T15:39:00.7422020Z     { platform:iOS Simulator, id:55876080-B5DD-4F1F-AC97-9EF95B429AAE, OS:15.0, name:iPhone 12 Pro Max }
2021-11-15T15:39:00.7424080Z     { platform:iOS Simulator, id:D32E0883-F25E-4F15-9D52-E99F9A351004, OS:15.0, name:iPhone 12 mini }
2021-11-15T15:39:00.7425460Z     { platform:iOS Simulator, id:55AF4882-1EFE-4A74-A335-5B5D449B3C14, OS:15.0, name:iPhone 13 }
2021-11-15T15:39:00.7426820Z     { platform:iOS Simulator, id:43CCA3DA-0CFF-42FC-84A5-BF89E12CE1DF, OS:15.0, name:iPhone 13 Pro }
2021-11-15T15:39:00.7428220Z     { platform:iOS Simulator, id:5CF88143-1177-432A-A9A6-C398EF2DEBC7, OS:15.0, name:iPhone 13 Pro Max }
2021-11-15T15:39:00.7429620Z     { platform:iOS Simulator, id:C67BBF8B-6303-4D78-A81F-64957AA9499E, OS:15.0, name:iPhone 13 mini }
2021-11-15T15:39:00.7431550Z     { platform:iOS Simulator, id:B8BBB460-79BF-4410-91BE-9899091F08C3, OS:15.0, name:iPhone SE (2nd generation) }
2021-11-15T15:39:00.7432990Z     { platform:iOS Simulator, id:BBDFD409-46E9-44BC-8DF6-935D3A9CFDC0, OS:15.0, name:iPod touch (7th generation) }
2021-11-15T15:39:00.7433800Z     ** ARCHIVE FAILED **
2021-11-15T15:39:00.7434170Z
2021-11-15T15:39:00.7434350Z
2021-11-15T15:39:00.7435060Z Xcode's output:
2021-11-15T15:39:00.7435690Z ↳
2021-11-15T15:39:00.7436290Z     note: Using new build system
2021-11-15T15:39:00.7436860Z     note: Planning
2021-11-15T15:39:00.7437420Z     note: Build preparation complete
2021-11-15T15:39:00.7438080Z     note: Building targets in parallel
2021-11-15T15:39:00.7439870Z     error: No profiles for '(redacted)' were found: Xcode couldn't find any iOS App Development provisioning profiles matching '(redacted)'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
2021-11-15T15:39:00.7440890Z
2021-11-15T15:39:00.7516800Z Encountered error while archiving for device.
2021-11-15T15:39:00.7768360Z ##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/2.5.3-stable/macos/flutter/bin/flutter' failed with exit code 1
2021-11-15T15:39:00.7786750Z ##[section]Finishing: FlutterBuild

Any help would be greatly appreciated.

I don't think the bug is file not found, otherwise it would have thrown plist option not found or invalid.
Solution 1 - You could make a runtime environment variable for this file and try to use that. Check here.
Solution 2 - Recheck if the file exists and provisional profiles exist.

I know that export plist works because of this. So, it is an error somewhere in your setup or profiles.

Thanks for looking into it. I've got another member of the team who's looked at it and he's stumped too. The files are there, at least.
We're going to have flutter just build an unsigned iOS .xcarchive and we'll do the distribution part afterwards. That should fix it.

I see, you could try changing the path. You could check this. I am sorry, I am not of much help here as that argument is working on others.
I am closing this issue as you have found a workaround. If you face any issue, feel free to ask for reopen or a new issue.


Wednesday 17-01-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

👋

good morning

Good morning everyone

:wave:

Good morning!

Good mornig!

Hi good moorning

Morning

morning ;)

Hi

Good morning

Good morning...

👋


Restart Workers on File Changes

It would be pretty cool to include something that works like Nodemon in this library: a process that scans for *.php file changes in the root folder of the project and then restarts the workers if any change in code is encountered.
It could be optional and configurable in the yaml file. Suggestion:
hot-reload:
    enabled: true
    root_dir: ./ # relative to the rr.yaml file
    rule: *.php # matches any php file.

I know a little bit of Go, so I could give it a try. I imagine the way to implement this is a goroutine that is dispatched every x seconds, checks for changes, and restarts the worker if any change is made.

Beta version - https://github.com/UPDG/roadrunner-hotreload
My version is not so optimized, but wors good on any platforms.

When developing, you can use the PhpStorm IDE built-in File Watchers feature to run RR with http:reset key.

I don't think that rr needs native file watcher. It should be kept simple. And http:reset is enough. There a lot of simple file watcher in wild already.

Totally agreed.


Add unique constraints for some model fields

Add unique constraints on the following fields:

Product.name
Product_Type.name
Tool_Type.name
JIRA_Issue.jira_id
Engagement.(name,target_start,product)
Endpoint.(protocol,host,path,query,fragment,product)

Now, all these objects can be uniquely identified by their names which is handy for synchronizing DefectDojo's state with external sources.
Some parts of the code already relied on the unique constraints, for example by using Model.objects.get(name=<...>). (There are probably even more cases)
In turn, this requires max_length <= 1024 for the corresponding char fields
and innodb_large_prefix must be ON which is the default for MySQL >= 5.7.7.
See also: https://stackoverflow.com/questions/45233362/django-says-that-mysql-does-not-allow-unique-charfields-to-have-a-max-length-2

The views don't gracefully handle a duplicate entry so it would be better to add the check and display a friendly message. Secondly, since some users may have duplicate issues this should be noted in the upgrade notes.

Looks good for me without any additional modifications:

Perfect, thanks for checking!


"GetCellRichText" and "GetStyle" method do not set font color when white

Description
"GetCellRichText" and "GetStyle" method do not set font color when white

Steps to reproduce the issue:
1.Call the "GetCellRichText" method for the cell set like the attached image

cell value

debug

Describe the results you received:
Color: ""
Describe the results you expected:
Color: "FFFFFF"
Output of go version:
go version go1.20.1 windows/amd64

Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.8.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):

Thanks for your issue. There 3 kinds of colors for the text in the spreadsheet: hex color, indexed color, and theme color. The priority of these colors is hex color takes precedence over theme color, and the theme color takes precedence over indexed color. The fields: Color, ColorIndexed, and ColorTheme in the Font data type represent these 3 colors. This library just added a new function GetBaseColor, which supports converting and returns the preferred hex color code from these 3 colors. Please upgrade to the master branch code, and this feature will be released in the next version. In addition, the color also supports applying tint value based on the hex color, so we need to use the ThemeColor function to apply the tint for the based color to get the calculated hex color value. Here is an example for your reference:
runs, err := f.GetCellRichText("Sheet1", "A1")
if err != nil {
    fmt.Println(err)
    return
}
for _, run := range runs {
    var hexColor string
    if run.Font != nil {
        baseColor := f.GetBaseColor(run.Font.Color, run.Font.ColorIndexed, run.Font.ColorTheme)
        hexColor = excelize.ThemeColor(baseColor, run.Font.ColorTint)
    }
    fmt.Printf("text: %s, color: %s\r\n", run.Text, hexColor)
}


offset, and time scale

So far fixed are:

time scale sec/2pi -> sec
offset resulting by a one-off error in bath states' angles

Still unresolved:

small differences in shape


fix koord-descheduler initialize profile error

Signed-off-by: Joseph<EMAIL_ADDRESS>Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm
/approve


MudSelect don't close dropdown when you select an item (on small screens)

Bug type
Component
Component name
MudSelect
What happened?
On the new version of the nuget package 6.0.7 the MudSelect don't close the dropdown when you select an item.
Warning : With try.mudblazor.com it works but not with the admin dashboard template (Server version) on Visual Studio 2022
Expected behavior
Select an item must close the dropdown
Reproduction link
https://try.mudblazor.com/snippet/QEmcumGsSMzQOdDm
Reproduction steps
1.Create a new project with the template MudBlazor AdminDashboard on Visual Studio
2.Upgrade the nuget MudBlazor to the last version (6.0.7 instead of 6.0.2)
3.Add a mudselect with items on the account page
4. Start the project, go the account page and try to select an item.
Relevant log output
No response
Version (bug)
6.0.7
Version (working)
6.0.2
What browsers are you seeing the problem on?
Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This happen to me when high latency, only on Server-Mode. WebAssembly works perfectly. To reproduce the bug you can add delay on the browser F12 -> Network -> Slow 3G.
There is another bug with high latency, writing over a TextField with mask moves characters in disorder.

In my side it arrives mostly when the size of the screen is small (when you test for tablet or phone size)

@just-the-benno could the reason be same with the menu doesn't open on mobile in server-side?

I am having the same issue on desktop with Blazor server. It was fine on 6.0.6 so I believe the bug was introduced with 6.0.7

Confirmed, same issue here on Desktop. Rolled back to 6.0.6 for now.

Hmm, looking which PRs touched Select. If I am not overlooking anything there is only #4005, but I doubt it has that kind of side-effect. :(

Hmm, looking which PRs touched Select. If I am not overlooking anything there is only #4005, but I doubt it has that kind of side-effect. :(

I think it not about select, there is also an issue on menu, we need to find something that effect both components that has dropdown

Can be tested easily. Just revert and see if the effect is gone.

Can be tested easily. Just revert and see if the effect is gone.

But cant reproduce the issue

With try.mudblazor.com it works but with my Blazor server projects MudSelect and Autocomplete is not closing after select. As the topic name implies it only occurs on small screens (mobile devices) no matter the browser.

With some investigation, It's an ongoing issue for a long time. Im not sure the main reason but at least hope find a solution.


Cranelift: x64 backend crashes compiling a standalone iadd_pairwise

Hey, In #3272 @dheaton-arm implemented tests for a standalone iadd_pairwise instruction without a swiden_low/swiden_high/uwiden_low/uwiden_high instruction as an input. It looks like this case is not implemented in the x64 backend, instead we always perform an optimization and merge those previous instructions.
.clif Test Case
test run
target x86_64 machinst

function %iaddp_i8x16(i8x16, i8x16) -> i8x16 {
block0(v0: i8x16, v1: i8x16):
    v2 = iadd_pairwise v0, v1
    return v2
}
; run: %iaddp_i8x16([1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16], [17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32]) == [3 7 11 15 19 23 27 31 35 39 43 47 51 55 59 63]

function %iaddp_i16x8(i16x8, i16x8) -> i16x8 {
block0(v0: i16x8, v1: i16x8):
    v2 = iadd_pairwise v0, v1
    return v2
}
; run: %iaddp_i16x8([1 2 3 4 5 6 7 8], [100 99 98 97 96 95 94 93]) == [3 7 11 15 199 195 191 187]

function %iaddp_i32x4(i32x4, i32x4) -> i32x4 {
block0(v0: i32x4, v1: i32x4):
    v2 = iadd_pairwise v0, v1
    return v2
}
; run: %iaddp_i32x4([1 2 3 4], [5 6 7 8]) == [3 7 11 15]
; run: %iaddp_i32x4([4294967290 5<PHONE_NUMBER> 5], [100 100 100 100]) == [4294967295<PHONE_NUMBER> 200 200]

Steps to Reproduce
Run clif-util the-above.clif
Expected Results
Tests to pass
Actual Results
Cranelift crashes with:
thread 'worker #0' panicked at 'not implemented: Operands not supported for IaddPairwise', cranelift\codegen\src\isa\x64\lower.rs:5095:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FAIL .\filetests\filetests\runtests\test.clif: panicked in worker #0: not implemented: Operands not supported for IaddPairwise

Versions and Environment
Cranelift version or commit: main
Operating system: Windows
Architecture: x64
Extra Info
The test file above should be in-tree at cranelift/filetests/filetests/runtests/simd-iaddpairwise.clif, once #3272 is merged.

cc @jlb6740 -- we discussed at the time (in #3209) that it was fine to merge without this more general case in order to make forward progress, but that we should eventually fill out the general case. Thanks for creating the issue to track this!

This was implemented in https://github.com/bytecodealliance/wasmtime/pull/6561 for the x64 backend, with tests enabled there, so I'm going to close this


CreateSite and RemoveSite with appinsights

Need to still address comment here: https://github.com/CatalystCode/project-fortis-spark/pull/36/files

add a record into the streams table upon a called to CreateOrReplaceSite, as long as the eventhub environment is properly setup.

createSite with defined siteType

createSite with undefined siteType

createSite with a duplicate site:

removeSite with an existing/nonexisting site

Graphql doesn't support overriding http codes (https://github.com/graphql/express-graphql/issues/111). As long as the decorators like trackEvent behave then the messages we have in the resolve/reject should be fine.

Still need to address: 'add a record into the streams table upon a called to CreateOrReplaceSite, as long as the eventhub environment is properly setup.', but I am waiting on Cassandra Table Overhaul

TwitterAccounts is back to normal and uses executeQuery

executeQuery with stream can return 30k records in 759ms.

LGTM. Nice work


haste-task-jasmine: clean require.cache between failing runs

Codecov Report

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

@@           Coverage Diff           @@
##           master     #140   +/-   ##
=======================================
  Coverage   95.37%   95.37%
=======================================
  Files          23       23
  Lines         238      238
  Branches       30       30
=======================================
  Hits          227      227
  Misses         10       10
  Partials        1        1

Continue to review full report at Codecov.

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


Some questions about the downscaling results from Climax downscaling.

I followed the code and the description in the paper, using the downscaling code, but I was unable to reproduce the metric results for the five variables in the article (z500, t850, u10, v10, t2m). May I ask if you can provide a checkpoint for me to verify this result?

Another question is, I want to know if there are only these five input and output variables when downscaling, or if there are other variables involved.

I tried to conduct a downscaling experiment using these five variables. Regardless of whether a pre trained model was used or not, the lrmse of t2m was only about 2.94, and z500 was around 821.43.


Vertical slider

Is it possible to make it vertical?

Bump, I think vertical orientation and the label's display orientation would be useful.


Linux Support for Dashboard

Is Linux Support a priority? is someone working on Linux support for the dashboard?

Our priority is Windows because is the platform most of our users will be using, but we could at least support Linux. The basic features should work fine there

Our priority is Windows because is the platform most of our users will be using

This is a good answer.
And about the at leat support linux, currently, i use, in most part of time, a linux distro. In the next days i will try to execute it on linux and test the most part of the features of the application

Im running the application in linux (ubuntu) and its working without any issues

Im running the application in linux (ubuntu) and it`s working without any issues

Yes, i'm running on an Linux Mint and is ok. Working on the #33, i will add an release version of the linux application today

Closing this issue due the workflow automation and new releases with Linux support.


"Save Paths as Relative" should be ON by default

I think this option should be turned on by default. Are there any issues with it?
I don't see any downsides, and as a plus it would allow to little more easily share some scenes that were designed in mind to be small and independent parts of the main project.
Also I'm wondering is it save to turn this option on in the middle of the works on the project?
Will mark this as 2.1 milestone since there will be some works to polish plugin system in this relase

It used to be on, but it just was less intuitive to find why stuff broke
when it did. Now you can rename/move stuff from UI so this is less important
On Tue, Jan 5, 2016 at 10:38 AM, kubecz3k<EMAIL_ADDRESS>wrote:

I think this option should be turned on by default Are there any issues
with it?
I don't see any downsides, and as a plus it's by default allowing to
little more easily share some scenes that were designed in mind to be small
and independent parts of the main project
Also I'm wondering is it save to turn this option on in the middle of the
works on the project?
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3244.

I think the option also at this point, given we can now move around files and keep dependencies fixed, should be removed. Instead, I was thinking of adding an option kind of similar to what Unity has to export a "package" from a directory, with all files saved as relative.

@reduz my thoughts on such feature are collected in this issue: https://github.com/godotengine/godot/issues/3077 Hope it might give some good amount of things to consider before actual implementation.

This issue has been obsoleted since the option was removed in 3aeafca.


[5.6] Add mergeWhen method to Collection object

this PR adds mergeWhen($condition,$items) method to Collection object .
i thought if we had $this->mergeWhen in Eloquent Resource , we can make it also for Collection , and here's an example in request rules
Before :

public function rules()
{
    $rules = collect(['name' => 'required']);

    if(auth()->user()->hasRole('admin'))
    {
       $rules = $rules->merge(['secret' => 'required']);
    }

   return $rules->toArray();
}

After :

public function rules()
{
   return collect(['name' => 'required'])
        ->mergeWhen(auth()->user()->hasRole('admin') ,
                  [
                    'secret' => 'required'
                  ])
        ->toArray();
}

No plans on adding right now.


mitmdump not running in docker container

Steps to reproduce the problem:

Created the following dockerfile:

FROM mitmproxy/mitmproxy:latest

RUN mkdir data_tampering
WORKDIR /home/$USER/data_tampering
COPY ./modify_content.py .

EXPOSE 80:80
EXPOSE 8080:8080

ENTRYPOINT ["mitmdump --mode transparent -s ./modify_content.py"]

Build image by: docker build . -t mitmdump_tampering
RUN image with: docker run -it mitmdump_tampering:latest resulting in:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: "mitmdump --mode transparent -s ./modify_content.py": stat mitmdump --mode transparent -s ./modify_content.py: no such file or directory": unknown.

Any other comments? What have you tried so far?
I have iteratively run the container (with docker run -it mitmdump_tampering /bin/bash) without the ENTRYPOINT and mitmdump runs successfully with the python script INSIDE the container. However, if I directly run the container from the host, i get the error above. I cannot see the reason for this
System information

Mitmproxy: 4.0.4
Python:    3.6.7
OpenSSL:   OpenSSL 1.1.0g  2 Nov 2017
Platform:  Linux-4.15.0-47-generic-x86_64-with-Ubuntu-18.04-bionic

Resolved with modification of ENTRYPOINT format to:
ENTRYPOINT ["/usr/bin/mitmdump", "--mode", "transparent", "-s", "./modify_content.py"]

Hey Adrian,
I've got a question.  I am facing similar issue but when I run image I have an error

/usr/bin/mitmproxy: No such script

Which directory you put your python script in?

Hello @michaeljau
If you look at the line:
COPY ./modify_content.py .

The script is copied in the current directory, which is given by the line:
WORKDIR /home/$USER/data_tampering

Cheers


Can't find translation key for 'Sign out' or 'Log out' ?

I want to have a 'Log out' or 'Sign out' button, but I cannot find the translation key for it.
Does it not exist?
Should it not exist here under sessions:
https://github.com/tigrish/devise-i18n/blob/master/rails/locales/en.yml#L106
Related:

https://github.com/tigrish/devise-i18n/issues/193

What happened to this? still can't find the Log out translation or equivalent.

I don't remember why I closed the issue, I'll reopen.
It's weird that 'Sign out' is not supported, but 'Signed out successfully' is supported :thinking:
https://github.com/heartcombo/devise/blob/c82e4cf47b02002b2fd7ca31d441cf1043fc634c/config/locales/en.yml#L50

I thought so too.
I personally think it should be added, because then the community at tigrish/devise-i18n could provide translations for it in multiple languages.
I have had to provide these strings manually in multiple projects, and it would save a lot of time if it was provided.
I know we can say this about many translation strings, but these 2 are essential :nerd_face:

I agree too, these 2 come hand in hand, as soon as we use Devise, we're bound to use Logout somewhere.

Just to make sure I understand what you are discussing here: that Devise does not provide a link to sign out anywhere? Or is it just about the translation key?

We are mainly missing the sign_out key, which would be super useful to have (most apps need one :nerd_face: )
And we guessed that the reason why it's not in this repo, is that it's not used anywhere in the scaffolds that Devise provides.
I personally don't care that Devise does not provide the link in the scaffolds, I usually add it myself in the header dropdown.

@carlosantoniodasilva Yes that's exactly it, Devise does provide the URL/route to log_out, but the scaffold views don't make use of it, the developer has to make use of it on its application views (with a link and a translation to match in a header or a side menu in a drawer), and that translation it's so widely used than providing it in the Devise I18n along with the sign_in one would help >= 90% of those that implement Devise with I18n.


Please reopen #2110

https://github.com/microsoft/appcenter/issues/2110 was closed with a comment asking to repost if still relevant. So please reopen it.
Thank you.

#2110 is reopened, thanks for putting an effort into creating an additional issue, @Tommigun1980 !


Questions regarding the re-animation

Hi,
Thanks for the great work!
As described in the paper, the re-animation optimizes the joint angles of each bone for the skeletal shape, or the rigid transform for control point-based shape to minimize the Chamfer Distance between the reference shape and the predicted shape.
I was wondering how this is achieved for LASR and ViSER as these two methods rely on 2D observations (images, optical flow etc.) instead of directly optimizing to fit a target 3D shape. Could you provide more details on the procedure to do re-animation for LASR and ViSER in the paper? Thanks!

For re-animation we utilize 3D supervision, directly optimizing the chamfer distance between the predicted shape and reference ground-truth shape. We do not use any 2D observation in this setting.  All three methods (CASA, LASR, ViSER) have the predictions of 3D shape at each iteration, which can be used for computing chamfer distances.

So during the optimization, the chamfer distance is used as the only loss function to fit the 3D shape? Just to confirm that my understanding is correct, this means that for LASR and ViSER, the canonical shape and blend skinning weights are fixed, while the control points are the only parameters being updated and optimized to fit the target 3D shape using chamfer distance as the loss?

Yes. The only difference is that for LASR/ViSER, the updated parameters are control points, while for CASA is the rotation angle for bones.

I see. Thank you so much for the clarification!


kde at icecubeopensource.github.com, simplify setup

kde module now open source, at github; point to it!
no need for requirements.txt
update docs accordingly
Numba is a requirement now

ok, i give you my blessing :D

Looks good to me, simplifying the install process would be a huge help. The kde moving out of IceCube svn is a particular help, issues with the svn credentials have tripped up quite a few people in the past.


Add coordinate-based coactivation-based parcellation class

Closes #260. Tagging @DiveicaV in case she wants to look at this.
We are using Chase et al. (2020) as the basis for our general approach- especially the metrics we're using for kernel and order selection.
EDIT: A recommendation from @SBEickhoff is to look at Liu et al. (2020) and Plachti et al. (2019) as well.
To do:

[x] Support lists of values for r and n parameters. These correspond to the "filter sizes" in Chase et al. (2020).
[ ] Determine clustering options
[ ] Filter size selection step
[ ] Metric: misclassified voxels
[ ] Metric: variation of information
[ ] Metric: silhouette value
[ ] Metric: percentage of voxels not related to the dominant parent cluster
[ ] Metric: change in inter- versus intra-cluster distance ratio
[ ] Refactor to easily support ImageCBP and MAMP with limited code duplication
[ ] Tests
[ ] Documentation

Changes proposed in this pull request:

Add n option to Dataset.get_studies_by_coordinate().
Draft new parcellate module with CoordCBP class.

@mriedel56 @62442katieb if possible, I'd love it if you could check out the new class (especially the _fit method, which does the actual CBP) and give your thoughts. So far, I just have the most basic elements of the algorithm implemented, so I still need input on (1) the clustering algorithm options, (2) the metrics to use, and (3) the outputs to save.
Ultimately, I want this class to be fairly basic, meaning not including too many tunable parameters, with some documentation pointing toward cbptools for users who require more control.

https://github.com/neurosynth/neurosynth/blob/master/neurosynth/analysis/cluster.py

@62442katieb has some code from her naturalistic meta-analysis that may implement some of these metrics: https://github.com/62442katieb/meta-analytic-kmeans/blob/daf3904caad990aeadc89bc98769aaed32857e09/evaluating_clustering_solutions.ipynb


[Power Toys- Color Picker]: The boundary of the Activation shortcut button should be bold and visible and must appear as button.

Microsoft PowerToys version
0.63.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
ColorPicker
Steps to reproduce
Repro Steps:

Launch 'Power Toys' application.
Turn on the narrator.
Navigate to the ‘Color Picker' tab and activate it.
Now navigate to ‘Activation shortcut’ button.
Observe the issue.

✔ Expected Behavior
The Activation shortcut button is not appearing as a button on the UI as there is no bold and visible boundary present.
❌ Actual Behavior
The Bold and Visible boundary must be present for the ‘Activation shortcut’ button so that it appears like button properly.
Other Software
Test Environment:
OS: Windows 11 Enterprise 22H2 (22621.598)                                                                                App version: 0.63.0
App name: Power Toys
Note:
Issue also repro on Power Toys Run pane.
User Impact: -> Priority 2
If any button will not be properly visible as a button the user may get confused of the functionality of it.
MAS Reference:
https://www.w3.org/WAI/WCAG21/Understanding/use-of-color.html)
https://user-images.githubusercontent.com/87321414/198983916-19c07abf-e55f-4bc8-81c6-fea73b4f71fd.mp4

@niels9001 did we make this into a control in community toolkit?

We did not, felt a bit too specific.
Either way this could be an easy fix by adding the SubtleButtonStyle to it.

Closing this issue as fixed.


[Bug] main windows stay white

Insomnia Version: 5.14.7
Operating System: Windows 10

Details
when i open insomnia the main windows stays open instead of restoring my previous workspace and side panel

Hey @pabx06,
Can you post any errors you see from View > Toggle DevTools > Console?

Tryed it but the User Interface dont change : it remain White ... samethings goes for others sub excepting the one that open an internet browser

OK probleme solved when i updated my NVIDIA's laptop  GRAPHIC CARD driver. but such a pain cause the new driver cause high CPU/interruption ...

Woah, that's a very strange issue. Seems like an issue with the Chromium/Electron environment rather than Insomnia itself. Unfortunately there isn't anything we can do here other than hope that Chromium will support this better in a future update.