Readme fix

Is it rust macro perhaps?

Yes it is a rust macro.

Thx,

The repo description was also set to "Marco"

Haha.. Maybe it wasn't on that day. We need a historical view into the repo description. You see previously this was a code generator.


Feature/remove exception from logging

The logging-class throws UserActionableSDKException in case we're in developer mode and something is logged using ``InternalLogging.error(...)```.
This has the side-effect of crashing the app.
Though this shouldn't happen in a build that's released into the app store (developer mode == development only), the SDK should, under any circumstance, crash the developers app.
How I found this: when going to Airplane-mode while dev-mode is enabled, the app crashes when sending.
I also changed the error-loglevel to be only used for errors during initialization that will prevent the SDK from working at all. All other errors/exceptions, e.g. when reading a file, are now logged using warning-loglevel.
@Scott
I don't know why the UserActionableSDKException exists in the first place.
Let me know what you think, maybe I'm missing something?

Hi @TroubleMakerBen, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Benjamin Reimold). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Since we never throw errors it is possible for users to do bad things that are unrecoverable for the SDK (for example tracking garbage data, setting an invalid instrumentation key, etc). The intent here is to provide a way for users to see exceptions thrown when they do this while never crashing in production (so the runtime error is only thrown when developer mode is enabled).
I agree there is some risk of a developer releasing an app with the mode enabled and having our SDK crash. Maybe we could change the logic to only throw the runtime error when running in the emulator? We could also remove this entirely if you think that's a better approach.


undefined in v3.1.2

Hi,
i have the following error in v3.1.2:  this.plugin is undefined, in function update. I use it to load a second structure(chain). This problem is not existing in v1.2.1 however. I can load 2 structures through the update function.
I checked for similar issues before posting this one and found one. According to that thread it looked like it was solved:
"Mol* core dependency update to v3.8.2 is now available without the above mentioned issue"
Not sure what it means tho :) So i installed nodejs 18.17.0 and build the latest version of the plugin with the hope the error to be gone. But no such luck :)
Any ideas or hints on how to solve the issue will be appreciated!
Thank you for time and help in advance!
Cheers
Dimitar

Hi,
I'm thinking this issue could be caused by calling the update function before the plugin is fully initialized (i.e. before the asynchronous render function has completed).
I expect your javascript code looks something like this:
const viewerContainer = document.getElementById('myViewer')!;
const viewerInstance = new PDBeMolstarPlugin();
viewerInstance.render(viewerContainer, initOptions);
viewerInstance.visual.update(newOptions, false);

Try to change it to something more like this:
const viewerContainer = document.getElementById('myViewer')!;
const viewerInstance = new PDBeMolstarPlugin();
viewerInstance.render(viewerContainer, initOptions).then(() => viewerInstance.visual.update(newOptions, false));

Also, updating to version 3.1.3 could help.

Or alternatively
const viewerContainer = document.getElementById('myViewer')!;
const viewerInstance = new PDBeMolstarPlugin();
viewerInstance.render(viewerContainer, initOptions);
viewerInstance.events.loadComplete.subscribe(() => viewerInstance.visual.update(newOptions, false));

Hi,
thank you very much for your reply. I tried both solutions which you provided including using v3.1.3. The following kinda worked:
viewerInstance.render(viewerContainer, initOptions);
viewerInstance.events.loadComplete.subscribe(() => viewerInstance.visual.update(newOptions, false));
Both structures got loaded but then the coloring was weird. The colors of the chains we jumping and changing by themselves :) I guess i would have to change my coloring functions as well in order to make them work with the new version of the plugin. Too much work to do tho haha. So for now i will stick with v1.2.1 of the plugin as everything works well with it.
Thank you again for your time and help!

Oh, sorry. Loading the second structure actually triggers the loadComplete event again and creates an infinite loop. The jumping chains you saw were probably the same structure being loaded again and again and again and again...
Fortunately, there is an easy fix for this. Just unsubscribe as soon as the event fires for the first time:
const viewerContainer = document.getElementById('myViewer')!;
const viewerInstance = new PDBeMolstarPlugin();
viewerInstance.render(viewerContainer, initOptions);
const subscription = viewerInstance.events.loadComplete.subscribe(() => {
    subscription.unsubscribe();
    viewerInstance.visual.update(newOptions, false);
});


Update for Slack compatibility

We'll probably need to change some stuff to take into account https://api.slack.com/changelog/2017-09-the-one-about-usernames

I'm not sure what the current state of the Slack API is, but right now, the hubot-group plugin actually seems to work just fine? For example, I think the HackMIT team is using the hubot-group plugin as-is, and it seems to be working all right.


Syntax error on dev-master

Hello,
There is a small syntax error on Form/Type/EmailType.php L65 dev-master branche :
->add('useFallbackLocale', CheckboxType::class, array(
This line must be removed as it is a duplicate of line 60.
Best regards

Hi, I removed the line, thx :)


Add Windows & Macos to CI test matrix

Overview

Expands the test matrix job to run on Windows and MacOS
Refactors the test-core job to be part of the main test matrix

TODO

[x] #3030
[x] #3032
[x] Ensure "required checks" names unchanged

Before we can merge this PR we'll need admin changes from @slundberg to merge, as it changes the name of the GH Checks such that the previously "required" checks are no longer available.
EDIT: got a workaround working, specifying name in the matrix such that there are still Checks with the exact same name as before.

Good spot. It would be fantastic to get those numbers down - maybe we can find a way to re-write those unit tests to something much less compute intensive.
 Provided they always run on master, it should be easy enough to identify any future platform-specific breaking change.


Almost 2GB GPU memory missing in Tensorflow as compared to what nvidia-smi reports

I have a 11GB 1080Ti GPU, NVidia-smi reports 11264MiB memory, Tensorflow reports 9.1GiB memory only.
I understand that stackoverflow may be a better option to raise this question, but I believe this issue could be a bug or incompatibility among Windows 10, NVidia driver and Tensorflow.
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Problem starts to happen when enabling the GPU in python:
import tensorflow as tf
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=1)
config = tf.ConfigProto(gpu_options=gpu_options)
session = tf.Session(config=config)

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 10

TensorFlow installed from (source or binary):
Tensorflow installed from binary

TensorFlow version (use command below):
print(tf.version)
1.10.0

Python version:
python --version
Python 3.6.6

CUDA/cuDNN version:
nvcc: NVIDIA (R) Cuda compiler driver
Cuda compilation tools, release 9.0, V9.0.176
NVIDIA-SMI 388.13                 Driver Version: 388.13

GPU model and memory:
EVGA 1080 Ti 11GB memory

Exact command to reproduce:
import tensorflow as tf
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=1)
config = tf.ConfigProto(gpu_options=gpu_options)
session = tf.Session(config=config)

Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
I couldn't find similar situation online. After a fresh boot, with the 1080Ti connecting to NO monitor (Intel 4600HD act as the primary display), NVIDIA-SMI reports no process occupying the memory, Tensorflow still reports much less memory than NVIDIA-SMI.
Below are the output after issuing the tensorflow-start script with GPU support, and the outputs of the nvidia-smi command. The free GPU memory is 9.1GiB only in tensorflow as compared to 11GB by nvidia-smi. Tensorflow does attempt to allocate 11GiB memory because of per_process_gpu_memory_fraction=1, but cuda reports out of memory error. Using the Allow_growth option won't break the 9.1GiB limits. After launching tensorflow with GPU support, nvidia-smi reports 9460MiB / 11264MiB of memory usage.
*************************************Output from tensorflow ***********************************
T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2018-09-30 03:14:36.523917: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1405] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:01:00.0
totalMemory: 11.00GiB freeMemory: 9.10GiB
2018-09-30 03:14:36.528039: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1484] Adding visible gpu devices: 0
2018-09-30 03:14:37.821700: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:965] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-09-30 03:14:37.824541: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971]      0
2018-09-30 03:14:37.826779: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:984] 0:   N
2018-09-30 03:14:37.828695: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 11264 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-09-30 03:14:37.835373: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc:903] failed to allocate 11.00G<PHONE_NUMBER>4 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
2018-09-30 03:14:37.838382: E T:\src\github\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc:903] failed to allocate 9.90G<PHONE_NUMBER>8 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
**************************nvidia-smi output before launching tensorflow **************************
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 388.13                 Driver Version: 388.13                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108... WDDM  | 00000000:01:00.0 Off |                  N/A |
|  9%   55C    P0    60W / 250W |    132MiB / 11264MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
**************************nvidia-smi output after launching tensorflow **************************
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 388.13                 Driver Version: 388.13                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108... WDDM  | 00000000:01:00.0 Off |                  N/A |
| 10%   55C    P2    57W / 250W |   9460MiB / 11264MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     18556      C   ...cal\Programs\Python\Python36\python.exe N/A      |
+-----------------------------------------------------------------------------+

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
Mobile device

Hi,
The Bazel version should be unrelated to this issue. It is ok to leave them as N/A. Thanks.

Nagging Assignee @wt-huang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@maxlawwk You may need to reduce per_process_gpu_memory_fraction to a lower value depending upon the model used. Also, make sure to terminate all processes that consume GPU memory. You can refer to this link to install TensorFlow on Windows.

Thank you for you reply. After an excursion to the rendering software community, I found that WDDM 2.x driver required by Windows 10 only tells all processes at most 90% of actual video ram of a GPU, even if it is a secondary, no-monitor-attached GPU. Turn out the available VRAM which can be allocated by a tensorflow script is roughly about 90%*90% = 81%. Only Tesla and some Quadro GPUs support TCC mode which completely skips WDDM driver. This is a common problem for all GPU-memory hungry applications working in Windows 10.
Back to Windows 7 using WDDM 1.x, applications can use about 95% of video memory. Such a problem also does not exist in Linux. Even worse, both NVidia and Microsoft do not have much motivation about fixing this bug or feature or whatever it is.

@maxlawwk glad that you are aware of possible solutions. Most drivers reserve a block of memory for tasks other than supporting main applications. Windows for example, unused RAM is always allocated for disk read\write cache. You may not want to go beyond 90% where performance issues and slowdowns will likely occur.

Closing as a solution is identified

@wt-huang I know it is closed but is there workaround for this other than downgrading to W7 or switching to ubuntu?

@maxlawwk @wt-huang  I am not sure if the numbers on my system fit the calculation and explaination here. I have RTX 2060 having 6 GB VRAM even reported by tensorflow but only 3961 MB is used while creating tensorflow device. Just ~64% of the total.
Attaching screenshot for reference:

Below is what I got as free memory stats from nvidia management library which is consistent with what's reported by nividia-smi(below-2)
Nvidia Management Library Output

nvidia-smi Output

So yes, I have hard time believing that 35% of my VRAM is reserved by WDDM driver.

any solution found for this? so far I was not even able to use the GPU (I think) until I installed cuda and cudnn libraries from anaconda navigator. But now I found out only 2gb out of 4gb is being used by tensorflow.. That doesn't seem right.

any solution found for this? so far I was not even able to use the GPU (I think) until I installed cuda and cudnn libraries from anaconda navigator. But now I found out only 2gb out of 4gb is being used by tensorflow.. That doesn't seem right.

Same issue happen to me, RTX 3050 with 4GB memory but Tensorflow only use 1673MB memory. Any solution yet?


https://cloud.google.com/conversation/docs   Docs page returns 404 error page

Thanks for stopping by to let us know something could be better!
Please run down the following list and make sure you've tried the usual "quick
fixes":

Search the issues already opened: https://github.com/dialogflow/dialogflow-nodejs-client-v2/issues
Search the issues on our "catch-all" repository: https://github.com/GoogleCloudPlatform/google-cloud-node
Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js

If you are still having issues, please be sure to include as much information as
possible:
Environment details

OS:
Node.js version:
npm version:
dialogflow version:

Steps to reproduce

???
???

Following these steps will guarantee the quickest resolution possible.
Thanks!

are there no docs for the standard version?
On Wed, May 30, 2018 at 6:52 AM, pskirko-google<EMAIL_ADDRESS>wrote:

The "Dialogflow Enterprise" docs are available at:
https://cloud.google.com/dialogflow-enterprise/
Let me know if these are the docs you are looking for. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dialogflow/dialogflow-nodejs-client-v2/issues/95#issuecomment-392999909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZIMxANBzc_mYL3uqvsIUPcprjifHOUnks5t3fQ8gaJpZM4UQ7Qd
.

For the community docs, please check out https://dialogflow.com/docs


FlexIO has 8 shifters and timers for 106x

Accoring to the reference all FlexIO periphials have 8 shifters and timers fo the 1060 e.g. the teensy 4.
This forum post says that this information is wrong in some other resources.

Acknowledged. The 1060 reference manual (revision 3) states there are eight shifter and timer registers. However, today's imxrt-ral only exposes four of those eight registers.
https://github.com/imxrt-rs/imxrt-ral/blob/0b0d9689aabf19eabfb89abc8465cc4ec8f07cb8/src/blocks/imxrt1061/flexio.rs#L32-L66
I haven't checked, but my guess is that this is an issue in the SVD files. We should be able to patch that.
We should also check the FlexIO peripherals for other chips, making sure they have the expected number of shifters and timers.

We should also check the FlexIO peripherals for other chips, making sure they have the expected number of shifters and timers.

Checked as part of #41. The 1060 seems to be the special case with double the shifters and timers.


chore: go-demo-6 to 1.0.343

chore: Promote go-demo-6 to version 1.0.343

[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


As a contributor I want to be able to add my name to the project

Add all contributors to project

https://github.com/all-contributors please add @hemerson-git for code

@all-contributor please add @hemerson-git for code

@all-contributors please add @hemerson-git  for code


Added Kuhn's Algo

issue: Kuhn's Algorithm for finding - for finding the maximum Bipartite matching #534

Resolve conflict


Implement button stretch

This PR implements button stretch, thus making it possible to define larger buttons.
Larger buttons can be defined by using the optional Stretch field:
MediaLayerKeys = [
    # ...
    { Icon = "search", Action = "Search", Stretch = 2 },
    { Icon = "play_pause", Action = "PlayPause" } # has a default stretch of 1
    # ...
]

The stretch value must be a positive integer and means that the button will be that many times bigger than the buttons with the default stretch value of 1.
However, fractional stretch values are possible by modifying all button stretches:
PrimaryLayerKeys = [
    { Text = "F1",  Action = "F1", Stretch = 2  }, # because most buttons have stretch 2, they behave as if they all had 1
    { Text = "F2",  Action = "F2", Stretch = 2  },
    { Text = "F3",  Action = "F3", Stretch = 1  }, # < these two buttons are half the size of the other buttons
    { Text = "F4",  Action = "F4", Stretch = 1  }, # <
    { Text = "F5",  Action = "F5", Stretch = 2  },
    { Text = "F6",  Action = "F6", Stretch = 2  },
    { Text = "F7",  Action = "F7", Stretch = 2  },
    { Text = "F8",  Action = "F8", Stretch = 3  }, # < these two buttons are one and a half the size of the other buttons
    { Text = "F9",  Action = "F9", Stretch = 3  }, # <
    { Text = "F10", Action = "F10", Stretch = 2 },
    { Text = "F11", Action = "F11", Stretch = 2 },
    { Text = "F12", Action = "F12", Stretch = 2 }
]

Closes #42.

Please add the documentation on how to use this feature in the config template file (look at how the existing keys are documented), and i will merge it.

Please add the documentation on how to use this feature in the config template file

Done.


Link to guild?

What is the link to Guild, the successor of Kamaelia? (It's a rather common word, so not easy to be sure to find the correct one)

Hi,
That's an interesting question - I hadn't thought about putting a forward link in - thanks for the feedback.
The main links to guild at present are:

https://github.com/sparkslabs/guild - main repo
http://www.sparkslabs.com/michael/blog/category/guild - blog posts I've written relating to guild
http://www.sparkslabs.com/guild/ - place holder website - generated from the repo - cf https://github.com/sparkslabs/guild/tree/master/site
https://github.com/sparkslabs/guild-kamaelia - nascent compatibility layer - not really linked to anywhere yet because I don't think there's enough useful in there yet :-)

Guild is a play on Actor incidentally - an Actor's Guild.
As things go, the status of guild is that it's sufficiently useful for the things I need to use it for, and I've had some pull requests for bringing in things like python 3 support and so on.
I've added these to the README, with some additional notes.
If they look good, if you could close and comment, that'd be great :-)
Michael


chore(main): release 10.4.0

:robot: I have created a release beep boop
10.4.0 (2024-12-05)
Features

add 'episode-regex-exclude' option (553c799), closes #91

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/lightpohl/podcast-dl/releases/tag/v10.4.0 :sunflower:


move definition of which actions exit cursorless mode to the config

Fixes #2117
Checklist

[-] I have added tests
[-] I have updated the docs and cheatsheet
[-] I have not broken the cheatsheet

Unfortunately, package.json is not as expressive as one might hope.
There doesn't appear to be a way to allow objects and yet also
restrict any strings that appear to a list of enums.

Works fine for me: 755806c6c1cafa71ffba1078f04a33ad099baccd. Did that not work for you?

I would be tempted to live with the yellow squiggly rather than lose autocomplete for the common case of simple id

ok figured it out. See latest push

ok figured it out. See latest push

Nice! The joys of DSLs.
All the changes you added LGTM, thank you! (I still don't really know how to write nice idiomatic TypeScript.)
I definitely appreciate the "I'll just fix this trivial stuff for you instead of playing tennis". (And the non-trivial stuff!) I should really do more of that myself.

Note that there's also a lodash isString, which we use elsewhere in the code base. Wasn't sure whether that was intentional or not.

I definitely appreciate the "I'll just fix this trivial stuff for you instead of playing tennis". (And the non-trivial stuff!) I should really do more of that myself.

yeah I think that model works well in open source because people appreciate the saved time. in a company I don't think it works as well because it can become a turf war 😅

in a company I don't think it works as well because it can become a turf war

i think maybe it has to do with the personalities involved instead? or both? either way, happy trails right here right now, which is all one can really ask for in life.

OK. Happy to pick it back up and get stuff working again, but I have to admit I don't understand what the shenanigans accomplished vs the previous code. Stronger typing?

You had the wrong types in a couple places and had to cast your way out of it, and this code also keeps the weird polymorphism restricted to the spot where we read config rather than bleeding it everywhere. Along the way we also support exiting cursorless mode for wrap, which is probably not too useful but seemed more consistent

i just pushed one more commit

we also have the ability now to transform the config when we create tokens, which is how we avoid that odd polymorphic type bleeding out

Note that there's also a lodash isString, which we use elsewhere in the code base. Wasn't sure whether that was intentional or not.

Oh yeah let's do that

Note that there's also a lodash isString, which we use elsewhere in the code base. Wasn't sure whether that was intentional or not.
Oh yeah let's do that

Done.
That's all I added. I find the new transform code for simpleAction and wrap in getTokenTypeKeyMaps to be pretty unreadable. I know what it does, it's just an awful lot of goo for core configuration code.
I tried to refactor it into a shared function and got lost in generics and the layers and layers of types, and eventually lost my will to continue. (I think I have a lower threshold for chasing strong typing than you do; I found the pre-shenanigans code a lot more readable. That's OK, just reflecting.)
All the tests pass, and a bit of smoke testing came out ok...so I guess this is ready to ship?

transformActionDescriptor is the thing i kept trying (and failing) to write. Thanks.
I tweaked a few comments. Good to merge, I think. Since I touched last I'll let you hit the merge button.


$ionicFilterBar.hide() maybe?

Essentially, I have a list of products and a shopping cart. Each has its own UI state. And each view is collection-repeat.
When viewing products and using $ionicFilterBar it works as expected. However, when clicking an item, it adds the product to the shopping cart and the redirects to shopping cart. When redirecting I get an error in the products collection repeat - it seems be closing the $ionicFilterBar before redirecting is required?
The error starts off as:
Error: collection-repeat tried to compute the height of repeated elements "product in products", but was unable to. Please provide the "item-height" attribute. http://ionicframework.com/docs/api/directive/collectionRepeat/
at HTMLElement.refreshDimensions (http://localhost:8100/lib/ionic/js/ionic.bundle.js:50732:17)

So, I realized if you do...
$scope.showFilterBar = function () {
    filterBarInstance = $ionicFilterBar.show({
        items: $scope.products,
        update: function (filteredItems) {
            $scope.products = filteredItems;
        },
    });
};

I can later call filterBarInstance() to "cancel" the filter-bar.
It still doesn't like switching between states unless until the filter-bar has been completely removed... which ends up with a delay before changing states...
This is definitely only an issue with collection-repeat...
Anyway, thank you for great work!

Thanks @ryanyakich !  The filter bar is configured to cancel on stateChangeSuccess so I would think it would cancel after the state change has already taken place.  Are you not seeing this behavior?  Do you have a codepen or example I can use to replicate what you are seeing?
Thanks!

Sorry for the delay.
http://codepen.io/anon/pen/GJzvGQ http://codepen.io/anon/pen/GJzvGQ
View the log when you add an item from the filtered data…

On Aug 5, 2015, at 12:14 PM, Devin Jett<EMAIL_ADDRESS>wrote:
Thanks @ryanyakich https://github.com/ryanyakich ! The filter bar is configured to cancel on stateChangeSuccess so I would think it would cancel after the state change has already taken place. Are you not seeing this behavior? Do you have a codepen or example I can use to replicate what you are seeing?
Thanks!
—
Reply to this email directly or view it on GitHub https://github.com/djett41/ionic-filter-bar/issues/27#issuecomment-128055000.

ionicfilter bar cancel button is working inside the $ionicFilterBar.show(). but i want it to be cancelled manually by me on certain successfull api response. how can i cancel the filter bar manually.. i have tried $ionicFilterBar.hide(),  cancelfilterbar but i cant cancel it. the error states hide and cancelfilterbar is not a function or not defined.Please Help

Same case for me @rahulvaradharajan091 . If you find a way let me know

+1


Prevent ability to select all texts

We should go from website style to more app-like. Cursor must be set to cursor: pointer in most places except the details panel (drawer).

Should be like this

Why we should disallow users to select & copy text from app views? Isn't it downgrade of UX.

I think it would make sense to allow text selection from specific parts of the UI.

I agree that some places it would make sense to not allow text selecting, for instance the text of buttons.

App contains a lot of textual data which must have ability to be copied, so we should do otherwise issue title says: prevent to select text partially on specific areas, and not everywhere.


Regarding push to talk

Describe the bug
I have enabled push to talk, however it works for some people and doesn't work for others, any suggestions?

What?

That was my first question when I nearly spurted out some private info to about 5 people.


Use env variables for all samples

Currently not all samples are using env variables to get the actions port. Update all samples to accomplish this.

Closed with #69


Add a tutorial section for renaming sub-WF outputs

I added a tutorial section about renaming sub-WF output using WF variables.
@paulzierep @mvdbeek Whenever you have some spare time, could you please review this? Thanks a lot!

Sorry, I had missed this. Yeah, looks good, but this is not related to subworkflows. You should use this always, and in fact the best paractice panel will warn you if you use a variable that doesn't match a formal input.

@mvdbeek so do you propose some changes or can this go in as is or?


(MAINT) Fix Powershell Manager Short Timeout Test

This change fixes a race condition in the spec tests that causes
frequent transient errors and CI failures.

Closing in favor of #390 since without the changes in that PR, this change cannot be merged.


Removed version check when reading plugin composer.json to avoid warn…

1. Why is this change necessary?
Avoid composer warnings regarding version field when executing CLI command plugin:refresh
2. What does this change do, exactly?
It disables the version check in the config validator, which only produces this warning.
3. Describe each step to reproduce the issue or behaviour.
bin/console plugin:refresh
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-17345
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[X] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

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

You should remove the change onto .github/PULL_REQUEST_TEMPLATE.md
This file is loaded by github when opening a PR to show fields for the opener. You should not fill it into this file.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-17417
Please use this issue to track the state of your pull request.

Thanks for your contribution, your PR will be merged when our internal pipeline is green.


Date comparison handles nanoseconds incorrectly

The comparison result for nanoseconds was backwards. This also takes the chance to switch to a more Swift-friendly version of modf.
rdar://116433981

@swift-ci test

We have a tranche of calendar tests that cover this but are written in ObjC which we hope to port soon.


Simulations fail in dev deployment due to AWS error

Fixes #2294

@Jonrkarr fixes the typo in the command causing the error


Add ms.custom value for intro-hub-or-landing

Docs Build status updates of commit 72e56d9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Articles/index.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Wrapped types

Has anyone proposed support for wrapped types?
I don't know if this is the correct name for it, but what I mean is, the ability to "specialize" primitive types, in the static sense only, e.g. meaning a particular assertion has been made about the pseudo-type or the content, range, format, etc. of a given value.
Examples:

Columns (e.g. grid units) are a kind of number
Zip-code is a kind of number
E-mail address is a kind of string
Hex color code is a kind of string
User ID is a kind of number

And so on.
Currently we can't define types for these types.
That is, type aliases don't really work for this:
type Columns = number;

var c = 12 as Columns; // inferred type is number

Becaus they're just aliases, obviously.
But even extending Number into Columns doesn't really work:
interface Columns extends Number { }

var c = 12 as Columns; // works, but...

c = 6; // ... doesn't really work

Here the type of c is Columns, but a regular number is direcly assignable to it with no assertion about the unit - there's no guarantee here that 6 is actually a number of columns.
So the behavior I'm looking for is something more along the lines of this:
typedef Columns = number;

var c = 12 as Columns; // c inferred as Columns

c = 6; // should error

So typedef would work more like extends, but with stricter type-checking: you should be able to cast a number to Columns, but the compiler should not permit you to implicitly cast a number literal to Columns.
This would enable us to make "type-casts" in the form of simple functions that make various assertions - for example:
typedef Color = string;

function color(hex: string): Color {
    if (/^[0-9a-f]{6}$/.test(hex)) {
        return hex as Color;
    }
    throw new Error("out of range: " + hex);
}

let maroon = color("ee30a7");

let blue = color("blue"); // throws Error

How come we don't have this feature?
Seems like this would be low hanging fruit?

I would just wrap it in a class with a private property to get nominal typing.
class Color {
    constructor(private value: string) {
        if (!/^[0-9a-f]{6}$/.test(value)) {
            throw new Error("out of range: " + value);
        }
    }

    toString(): string {
        return this.value;
    }
}

The cast has to be explicit both ways though (new Color(string), color->toString()).
Otherwise I tend to do what you want in Hack using newtype, which creates a type that only the file it is declared in has permission to instantiate. For example Hack (and PHP) have no native type for text/unicode, only string which is a byte string, so to express that a string is valid UTF-8 in the type system I have a file like this:
newtype utf8 as string = string;

function assert_utf8(string $x): utf8 {
  if (!\preg_match('//u', $x)) {
    throw new Exception('Invalid UTF8');
  }
  return $x;
}

function concat_utf8(utf8 ...$xs): utf8 {
  return \join('', $xs);
}

// .. other utils for utf8 strings

Then utf8 can be used as string anywhere, but to create a utf8 you have to go through assert_utf8(), and there is no boxing/unboxing overhead.

@mindplay-dk take a look at this: #4895

This is also discussed at some length in #202 - there is already a way to do this that works for number as well using enums:
interface Nominal<T> {
    'nominal structural brand': T
}

const enum ColumnsT { }
const enum RowsT { }

type Rows = number & Nominal<RowsT>
type Columns = number & Nominal<ColumnsT>

const x = 123 as Rows
const y = 123 as Columns

let z: Rows = y; // error
let a: Rows = 123; // error

// Colors

const enum ColorT { }
type Color = string & ColorT

function color(hex: string): Color {
    if (/^[0-9a-f]{6}$/.test(hex)) {
        return hex as Color;
    }
    throw new Error("out of range: " + hex);
}

let b = color('FFFFFF');
let c: Color = 'CCCCCC'; // error

@svieira so this kind of uses a dummy enum as a "tag" of sorts - that's a clever hack, but kind of pollutes the type-space and it's not really semantic. It's clever though :-)
I suppose I'll hold out for tags.
@RyanCavanaugh so tags is the solution, is why you marked this a duplicate, correct?

@mindplay-dk Is the reason you don't want a wrapper class because of the boxing/unboxing overhead (both syntactic overhead and runtime overhead)?

@jesseschalken boxing/unboxing has more side-effects and drawbacks besides the (memory and CPU) overhead, but, yeah - that's one reason. Tags look interesting and solve the same (and more) problems, so let's see where that leads :-)

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Custom spinner

Can I Can add a little improvement for custom spinner style and color
https://ionicframework.com/docs/api/components/spinner/Spinner/
I need the color match to my base style
I can try to change on image-loader.ts
<Ion-spinner * ngIf = "&& spinner isLoading"> </ ion-spinner>
to this
<Ion-spinner * ngIf = "&& spinner isLoading" color = "primary" name = "dots"> </ ion-spinner>
still not working

I will publish a new release with this feature included sometime this weekend.

Great thanks

what is the correct way to create a custom spinner using a custom SVG? Do you just pass the SVG as a string in the name tag?


i2c_ll_stm32: Allow to send zero length message

Some applications, like i2c_scanner, require to send zero length messages.
Tested on disco_l475_iot1 with samples/driversi2c_scanner.
Tested also samples/sensor/hts221 and samples/display/cfb_shell to
make sure I didn't break something.
Fixes #20325
Signed-off-by: Yannis Damigos<EMAIL_ADDRESS>

@frantony Could you also check it?

@ldts ping for review

@frantony can you check the provided fix?

@ioannisg @ydamigos

Could you also check it?

I have at least STM32F103 and STM32L152 boards.
I can make simple check in a few hours (I can check that i2c_scanner changed behaviour).
Checking that i2c_scanner actually works need more time.

@ldts ping for review

@ydamigos, I had a discussion with @ldts recently and unfortunately he has not time to contribute to this driver anymore. So we can remove his name from CODEOWNER file.

To be honest I just tested it with x_nucleo_iks01a3 and it does not work (no messages on console).
Not sure what it is doing but I guess it stops inside the loop forever... (??).
I'm debugging more on this.
@erwango, can you try at your end with: samples/shields/x_nucleo_iks01a3/standard ?
Thx

There's a variety of confusion about this sample, some of which I'm responsible for.  I've just pushed #20623 to make the output a bit more useful.
The test is also subject to #20330, so the wrong device will be used when searching for shield devices on at least some ST boards.  You have to edit the source to set the correct device.
Here is the output on nucleo_l476rg with the IKS01A2 shield attached with #20623 on top of this PR:
Starting i2c scanner...
0x19 FOUND
0x1e FOUND
0x5d FOUND
0x5f FOUND
0x6b FOUND
5 devices found on I2C_1

As I noted in https://github.com/zephyrproject-rtos/zephyr/pull/20560#pullrequestreview-314615105 this does work (and part of "works" was that it found a device on the bus).

@erwango, can you try at your end with: samples/shields/x_nucleo_iks01a3/standard ?

@avisconti, I don't have x_nucleo_iks01a3 by tested with x-nucleo-iks01a1 and it's working fine.

@erwango, can you try at your end with: samples/shields/x_nucleo_iks01a3/standard ?

@avisconti, I don't have x_nucleo_iks01a3 but tested with x-nucleo-iks01a1 and it's working fine.

@erwango
I think that the issue is a race condition when multiple sensors are used with a mixed interrupt/polling mode. I guess the x_nucleo_iks01a1 has too few sensors that compete.
The current x_nucleo_iks01a3 sample setup is not working:
HTS221: polling
STTS751: polling
LIS2MDL: polling
LIS2DW12: polling
LPS22HH: irq
LSM6DSO:irq
But other combinations are working. It seems also that the issue is not related to this change itself, but it was always there. In fact if I delay a bit inside the loop (a simple test with 'if' always false) it works.
Confused... So, this commit is breaking the x_nucleo_iks01a3 sample, but the issue is something else.

@ldts ping for review

@ydamigos, I had a discussion with @ldts recently and unfortunately he has not time to contribute to this driver anymore. So we can remove his name from CODEOWNER file.

@erwango pls, send a PR for the code-owner change ;)


@AfterMethod method not executed when @Test method is skipped (TestNG 6.8)

Hi, i declare an ITestResult in my @AfterMethod method:
@AfterMethod (awlaysRun=true)
public void after(ITestResult tr)
 {
    int status = tr.getStatus(); // ITestResult.SUCCESS, FAILURE or SKIP
    System.out.println(status );
 }

@Test
public void testMethod1(){
    assertEquals(1,2);
}

@Test(dependsOnMethods = { "testMethod1" })
public void testMethod2(){
    System.out.println("");
}

testMethod1 is failed, and testMethod2 is skipped.
My issue:
why did it not print test Status of testMethod2 in @AfterMethod method? In other words, why testng does not run @AfterMethod(awlaysRun=true) when a test method is skipped?  (TestNG 6.8)

It makes sense for configuration methods to be run before test methods that would/have run. So it makes sense for TestNG to run them for passed and failed methods. But when a test method is being skipped, then it doesn't make any sense for TestNG to run @AfterMethod methods for it, because the test method itself is not eligible for execution.


Please Add Mongodb Datebase

Mongodb Datebase batter more than Mysql in some project, advice add MongoDB datebase support.

There is a clear plan for support, but it is not a high priority.
https://github.com/YaoApp/gou/tree/main/kv
https://github.com/YaoApp/gou/blob/main/runtime/yao/objects/store_test.go JavaScript API
https://github.com/YaoApp/gou/blob/main/store_test.go Process
docker pull yaoapp/yao:0.9.2-amd64


HTTP Error 404: Not Found

Hello,
I am trying to run the inference tutorial example but I receive the following error:
Downloading: "https://hanlab.mit.edu/projects/tinyml/mcunet/release/mcunet-5fps_vww.tflite" to /home/mashemat/.torch/mcunet/mcunet-5fps_vww.tflite
Traceback (most recent call last):
File "/home/mashemat/Projects/MISO/code-base/tinyengine/mcunet/mcunet/utils/common_tools.py", line 104, in download_url
urlretrieve(url, cached_file)
File "/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "examples/vww.py", line 25, in
tflite_path = download_tflite(net_id="mcunet-vww1")
File "/home/mashemat/Projects/MISO/code-base/tinyengine/mcunet/mcunet/model_zoo.py", line 91, in download_tflite
return download_url(tflite_url)  # the file path of the downloaded tflite model
File "/home/mashemat/Projects/MISO/code-base/tinyengine/mcunet/mcunet/utils/common_tools.py", line 108, in download_url
os.remove(os.path.join(model_dir, 'download.lock'))
FileNotFoundError: [Errno 2] No such file or directory: '/home/mashemat/.torch/mcunet/mcunet-5fps_vww.tflite/download.lock'
Could you please help me on that? It seems the file remove from the server.
Thanks,

Hi @mashemat, thank you for reaching out. The problem should be fixed now, so please try it again. I'll close the issue then. Feel free to reopen it if you have any further questions. Thanks!


Syntax error in GCP Query when using multiple tags

[x] I have read the Contributing Guidelines for this project.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Operating System:

Windows 10 (22H2)

Browser:

Chrome

Expected Behavior
When specifying the following environment variable:
GCP_RESOURCE_TAG_NAMES=["tag:project", "tag:environment"]
The api is able to successfully complete estimations for GCP data
Actual Behavior
An error is generated which results in a 500 error (local filepath removed):
[1] 2023-08-11T10:38:38.414Z [api] error: Unable to process footprint request.Error: BigQuery create Query Job failed. Reason: invalidQuery, Location: query, Message: Syntax error: Unexpected keyword ON at [23:26]
[1]     at BillingExportTable.createQueryJob (...\cloud-carbon-footprint\packages\gcp\src\lib\BillingExportTable.ts:699:13)
[1]     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[1]     at BillingExportTable.getUsage (...\cloud-carbon-footprint\packages\gcp\src\lib\BillingExportTable.ts:671:22)
[1]     at BillingExportTable.getEstimates (...\cloud-carbon-footprint\packages\gcp\src\lib\BillingExportTable.ts:92:23)
[1]     at Object.getCostAndEstimates (...\cloud-carbon-footprint\packages\app\src\App.ts:81:27)
[1]     at async Promise.all (index 0)
[1]     at getEstimatesForMissingDates (...\cloud-carbon-footprint\packages\app\src\Cache.ts:119:11)
[1]     at App.descriptor.value (...\cloud-carbon-footprint\packages\app\src\Cache.ts:71:24)
[1]     at FootprintApiMiddleware (...\cloud-carbon-footprint\packages\api\src\middleware.ts:59:31)

To Reproduce
Specify the given environment variable in your packages/api/.env file, along with valid environment variables to connect to a GCP account. The tags specified do not need to exist and your cache should either be empty or not cover the period set in packages/client/.env (REACT_APP_START_DATE & REACT_APP_END_DATE). Run yarn start and wait for the browser to request data.
Additional Information
I have a local fix for this in packages/gcp/src/lib/BillingExportTable.ts but it doesn't break any tests by changing the query produced. I'm not sure what would be the preferred way to test this as validating the entire query passed to mockCreateQueryJob seems like it would be overly brittle and sensitive to further changes. I'm really interested in validating the output of BillingExportTable.buildTagQuery, which is a private function. Would it be acceptable to make this a public method to test in isolation? If not, what would be your preference in how to approach it?

I've also discovered a few more issues with querying project and resource labels, which I don't know whether they could be rolled into the same fix or would want separate issues (tagNamesToQueryColumns results are used in wrong order, 'project.label' is used instead of 'project.labels' in buildTagQuery and the joins are always done on tags.key not ${columnName}.key).

@mgriffin-scottlogic Thanks for opening this issue!
I'm having a bit of trouble replicating it on my end, as I seem to still be able to get estimates when using multiple configured tags when both using the tag: prefix or a combination of multiple tag, labels, or project label prefixes. However, the error that you have copied definitely makes it seem like an error resulting from generated query.
Feel free to open a PR with your proposed changes, perhaps it'll further illustrate the issue. You're welcome to also make the functions public if it makes testing easier. We did a similar thing for AWS' tag builder, but skipped it for this one since we thought the cases were covered by modifying the preceding test cases. You're welcome to include the project and resource labels into the same fix, as long as proper commit-separation is used.

Hmm, that's interesting that you don't see a problem - I don't know much about GCP/BigQuery but could there possibly be some different version/mode where it allows the format? Looking at the generated query it seemed to have a problem with:
ON tags.key = "project" OR ON tags.key = "environment"
But it was fine if I changed it to:
ON tags.key = "project" OR tags.key = "environment"
I'll have a look at the AWS tag builder and see about starting a PR, thanks 🙂

@mgriffin-scottlogic Sorry about that, I was finally able to replicate it. That was a configuration error on my part. I'm indeed seeing the same thing with the second "ON" being included for the next tag.
I think your solution will do the trick. Looking forward to your PR! 🚀


(fix) Steps and CLI call the new init properly if no state is given ;…

… Add option to set currentTime on the CLI
Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage increased (+0.2%) to 93.16% when pulling 1207cf43f82eccacbd9327acee67f77e0bb59fd5 on jeromesimeon:js-deprecate-js-logic into 6429c9832777fa336cd8abec8fd461465578bcf2 on accordproject:js-deprecate-js-logic.


[core] Class renamed with disabled deobfuscation

Checks before report

the new jadx problems arising, the old jadx none of these problems.

Describe error

Real name is com.yandex.metrica.impl.ob.pu, and jadx show the name is com.yandex.metrica.impl.ob.C1994pu.
Jadx show a few extra letters. And i did't open de-obfuscate. Below is my settings.
And there is also other wrong class name like:
com.yandex.metrica.impl.ob.AbstractC2234xn   = real class is com.yandex.metrica.impl.ob.zk
com.yandex.metrica.impl.ob.AbstractC2227xg   = real class is com.yandex.metrica.impl.ob.xg
com.yandex.metrica.impl.ob.C1726hD               = real class is com.yandex.metrica.impl.ob.hD
And so on, many class names have been changed.
Question two: there is a language it show wrong.

IMPORTANT! attach or provide link to apk file (double check apk version)
https://cdn-us01.apkcombo.com/com.yd.dinorunner/恐龙快跑3D—疾速冲撞_2.3.83_apkcombo.com.apk?ecp=Y29tLnlkLmRpbm9ydW5uZXIvMi4zLjgzLzgzLmM1NjljMTJlNjIzNGRmNzllZGJjNTgwOTY3ZGZlMDliNDMyOGM5ZGMuYXBr&iat=1647857532&sig=8f177d06eb281753b03ea79be14efcab&size=122257560&from=cdn&version=latest&x-colo=%40%40%40&x-continent=NA&x-country=US&x-region=CA&x-asn=35916

I guess this is one of the default renaming classes provided, and it is really useful. But sometimes is will destroy the original class name. it means i can't use the search(when is search apk's real class, i find nothing).
So if possible, provide the game's original class name by default. Add a setting to open the auto rename class name. 😊

@zhongqingsong
These classes were renamed to make class names correct for recompilation, you can check the reason why class was renamed by comment above that class (enabled on code comments level INFO or below):
/* renamed from: com.yandex.metrica.impl.ob.pu  reason: case insensitive filesystem */
public final class C1994pu extends Ys implements Zs<IReporter, ReporterConfig> {

This class renamed because class with name Pu exists in same package and after export these names will collide on case-insensitive file system.
To disable that rename, you can:

Disable first or all options in Rename identifiers block (below deobfuscation)
If your file system is case-sensitive, you can enable that option

About language name: looks like your font don't support Korean symbols, so it doesn't render correctly. Maybe we need to add English names for all languages to make at least that part readable.

com.yandex.metrica.impl.ob.pu

Thanks, "To fix case sensitivity issues" i got it, and i disabled. It worked.
There a some else doubt, i try to find out other two option, but i didn't find answer,so i'd appreciate any answers：
To make them valid, this is what's mean? It is not work like i thought.
To make printable, I don't understand it at all.
😉

@zhongqingsong
To make them valid - will rename all invalid identifiers according to JLS. For example, identifiers can't start with a number.
To make printable - for now, leave only printable ASCII characters (32 to 126 codes), remove others


ISSUE WITH IMPLEMENTING THE AES C CODE IN STM32F407

I AM TRYING TO HAVE AES ENCRYPTION FOR MY DATA (120 bytes in one second) WHICH IS TRANSMITTED THROUGH UART PERIPHERAL OF MY MICRO-CONTROLLER STM32F407 WHICH RUNS AT 168MHZ. SINCE THE MICRO-CONTROLLER DOESN'T HAVE A CRYPTO LIBRARY, I TRIED TO RUN THIS CODE AND I WANTED TO KNOW THE TIME IT TAKES FOR ENCRYPTION . IN THE CODE, IT  SENT 16 BYTES OF DATA. SO IF I CAN FIND THE TIME FOR 16 BYTES, I COULD EASILY CALCULATE THE TIME FOR  ENCRYPTION OF 120 BYTES BEFORE UART TRANSMISSION.  THEN I TRIED TO CALCULATE THE TIMING. I ACTUALLY PUT A DELAY OF 1 SECOND ALSO. BUT AS SOON AS THE CODE RUNNING STARTS, THE EXECUTION MOVES TO THE HARD FAULT  AND PROGRAM EXECUTION STOPS. HOW TO RESOLVE THE ISSUE. ALSO PLEASE HELP ME BY TELLING WHETHER I AM DOING SOMETHING IN A WRONG WAY TO CALCULATE THE TIMING OF AES FOR 120 BYTE DATA? LOOKING FORWARD FOR YOUR REPLY.
THANKS & REGARDS

**As stated on the first page of the repository, this code is very BASIC and only for EDUCATIONAL PURPOSES. I strongly recommend that you do not use it in your projects, especially in embedded projects that have very limited resources.
This code is not optimal in using memory resources, and even it does have some security issues. SO DO NOT USE IT FOR REAL PROJECTS!**
With all the above in mind I assume that you are running this code on the STM32F407 for evaluation or learning purposes only.
I wrote this code when I didn't know much about C language and my code may have memory leak problems. Every malloc() should have a corresponding free() somewhere in the code, but this is not the case in my code. I guess the HARD_FAULT error occurred because of this. I will fix my code as soon as I can.
Another point is that I don't see anything in your code to measure the time! You only put two delays that have nothing to do with time measurement. You should use one of micro-controller timers to measure time.

I made some changes in the code in commit fca0091. Please inform me if it solved your problem.


added sql tags

@icoric : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@icoric Hi Igor, please try to avoid creating too many single article Pull Requests, or any unnecessary PRs.
At a glance, to me it looks like PRs #5287 and #5288 contain a good idea.  But couldn't they have been combined?
Plus now I see both are Closed.  We receive emails to come examine these PRs, only to find the tiny and Closed.
Anything you can do to limit the many PRs and communications would be appreciated.
Plus, you should almost never create a PR in the public repo 'sql-docs'. Instead, create PRs in the private repo 'sql-docs-pr'.
Thank you.  GeneMi


[CERT-TEST-FAILURE] TC-MCORE.FS-1.2 - Segmentation Fault After Sending pairing Command in fabric-admin

Feature Area
Other
Test Case
TC-MCORE.FS-1.2
Reproduction steps
Command used to build -
Fabric admin app
./scripts/build/build_examples.py --target linux-arm64-fabric-admin-rpc build
Command used to launch : ./fabric-admin
fabric-bridge-app
./scripts/build/build_examples.py --target linux-arm64-fabric-bridge-rpc build
Command used to launch : ./fabric-bridge-app
TH - python controller
commands used to build -
source scripts/activate.sh && scripts/build_python.sh -m platform -d true -i no
source no/bin/activate
Command used to build all-clusters app
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux/ examples/all-clusters-app/linux/out/all-clusters-app chip_inet_config_enable_ipv4=false
Command used to run the python script : rm -r admin_storage.json && python3  TC_MCORE_FS_1_2.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --paa-trust-store-path ../../credentials/development/paa-root-certs/ --storage-path admin_storage.json --string-arg th_server_app_path:</home/ubuntu/Aug26_cntr/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app/chip-all-clusters-app>
Bug prevalence
Everytime
GitHub hash of the SDK that was being used
125b8e7f64db14f650f8fdea9e8d42fbc7a5b951
Platform
raspi
Anything else?
Issue Description:
A segmentation fault occurs in the commissioning process after executing the pairing command with the parameters onnetwork<PHONE_NUMBER>1 in fabric-admin. This issue causes the commissioning process to fail during the AttestationRevocationCheck step.

[1725011537.751] [4945:4947] [CTL] Commissioning stage next step: 'SendAttestationRequest' -> 'AttestationVerification'
[1725011537.751] [4945:4947] [CTL] Performing next commissioning step 'AttestationVerification'
[1725011537.751] [4945:4947] [CTL] Verifying attestation
[1725011537.772] [4945:4947] [CTL] Successfully finished commissioning step 'AttestationVerification'
[1725011537.772] [4945:4947] [CTL] Commissioning stage next step: 'AttestationVerification' -> 'AttestationRevocationCheck'
[1725011537.772] [4945:4947] [CTL] Performing next commissioning step 'AttestationRevocationCheck'
[1725011537.772] [4945:4947] [CTL] Verifying device's DAC chain revocation status
Segmentation fault (core dumped)
ubuntu@raspberrypi:~/Aug7/connectedhomeip/out/linux-arm64-fabric-admin-rpc$

PFA log below :
TC-MCORE.FS-1.2 - Fabric admin log.txt
TC-MCORE.FS-1.2 - Fabric bridge app.txt
TC-MCORE.FS-1.2 - python controller log.txt

Encountered the same issue while validating the TC-ECOINFO-2.1 and TC-ECOINFO-2.2 Python scripts.
Reference Log:
TC-ECOINFO-2.1(All-cluster-app).txt
TC-ECOINFO-2.1(CNTRL).txt
TC-ECOINFO-2.1(Fabric-admin).txt
TC-ECOINFO-2.1(Fabric-bridge).txt


Use new getJsonObject kernel for json_tuple

This PR updates json_tuple with new getJsonObject kernel.
All current xfailed cases got passed:
./integration_tests/run_pyspark_from_build.sh -s -k json_tuple
......
============= 16 passed, 13 xpassed, 8 warnings in 49.36s ============

I think the performance will not be good because it calls getJsonObject kernel many times, which is not very fast by itself.
With the new json_parser in jni, I think we can implement a kernel for json_tuple to get much higher performance by passing all fields in one pass. So this PR will be a short-term workaround, even if it gets merged.
Depends on https://github.com/NVIDIA/spark-rapids-jni/pull/1893

Wow, so it is actually quite fast. Not sure if I tested it right.

A bit of feedback on the quick test.

Looks like you only ran it once. Cold runs are usually a lot slower than hot runs, but even then.
All of your data is the same. Which means that there is no thread divergence in the GPU.
You don't mention what CPU/system was used so it is hard to tell if it is a fair comparison or not.
It would be nice to see how fast the parquet read is compared to the CPU. all of the performance gains might be in that, just because it is a single string column repeated 3,000,000 times.

Updated, the special field name checks are safe to drop.

build

build

build

build


aiopioneer on port 23

Is it possible to run aiopioneer tool for a host that has telnet on port 23 ?
I tried with hostname:23 but doesn't seem to work.
Thank you.

Port option added to CLI in dev (it was hardcoded to 8102 :) and will be included in the next release.

Thank you.


refactored calculate_kpoint_conv() and calculate_encut_conv()

refactored calculate_kpoint_conv() and calculate_encut_conv()
Relative paths are good for tutorials, but unfortunately that broke these two functions. Further because they errored that left the working directory in a changed state, which made it difficult to debug. So I was going to make a small change, but ended up significantly refactoring these functions. They still follow essentially the same steps.

Unified the output df format for both, since they were so similar

extract_kpoints() modified to return list[int] instead of list[str] (don't know if this will cause bugs elsewhere)

both calculate_kpoint_conv() and calculate_encut_conv() are now basically convenience functions that call extract_convergence_data() and their respective plotting function (plot_kpoint_conv() or plot_encut_conv()).

extract_convergence_data() is located in aggregate_data_extraction.py. I left everything else in workflows.py. I'm thinking maybe workflows should be only for the custodian type stuff maybe. not sure about that though.

I forgot to add doc strings. let me do that

refactored calculate_kpoint_conv() and calculate_encut_conv()
Relative paths are good for tutorials, but unfortunately that broke these two functions. Further because they errored that left the working directory in a changed state, which made it difficult to debug. So I was going to make a small change, but ended up significantly refactoring these functions. They still follow essentially the same steps.

Unified the output df format for both, since they were so similar

extract_kpoints() modified to return list[int] instead of list[str] (don't know if this will cause bugs elsewhere)
both calculate_kpoint_conv() and calculate_encut_conv() are now basically convenience functions that call extract_convergence_data() and their respective plotting function (plot_kpoint_conv() or plot_encut_conv()).
extract_convergence_data() is located in aggregate_data_extraction.py. I left everything else in workflows.py. I'm thinking maybe workflows should be only for the custodian type stuff maybe. not sure about that though.

You can move calculate_kpoint_conv(), calculate_encut_conv(), plot_kpoint_conv(), and plot_encut_conv()) to aggregate_extraction.py


No token refreshing

Description
I am not sure if this is a valid issue or not, but if token expires while user is using the website then they loose the access to /account
I think there should be some token refreshing.
and also when this happens the upload files button still works but the create secret does not work.
Screenshots
No response
Additional information
No response

This is valid. Not been added yet, and it is really needed. Let us keep this issue open.

I was thinking of adding a check in preValidation if the token is about to expire then issue new one, but since there is no access to any api with preValidation on home page this approach might not work there and only the presence of public token is changing the state to loggedin so if token expires or someone explicitly deletes it, they will still be loggedin as long as public token is there (username)

I am also looking into changing the entire setup for tokens. I.e. Change it to use sessions and not JWT. Not quite sure yet.

https://github.com/HemmeligOrg/Hemmelig.app/pull/250/files
temp solution


Add support for sparkmagic

Tested with Azure HDInsight Cluster <IP_ADDRESS> / PySpark 2.4.6

@krishnan-r

Thank you very much for contributing this,
@utkarshgupta137 Can you also fix the eslint errors, yarn run check:all, I think you need to run prettier on it.
Sorry for the delay in merging this.


[Feature] Better error message when a column in a contracted model is missing a data_type

Originally posted by @yuna-tang in https://github.com/dbt-labs/dbt-core/issues/8070#issuecomment-1909558511
Hi @jtcohen6, I find this post when we try to implement the contract configs for our models.
We are on dbt1.6, however, I see different error messages:

06:03:09  Completed with 1 error and 0 warnings:
06:03:09
06:03:09    'data_type'

We are using redshift and dbt1.6. I would prefer to see messages like below.
05:26:10  Running with dbt=1.6.5
05:26:10  Registered adapter: redshift=1.6.0

18:42:35    Compilation Error in model my_model (models/my_model.sql)
Contracted models require data_type to be defined for each column. Please ensure that the column name and data_type are defined within the YAML configuration for the ['tool'] column(s).

Reprex
Create project files as described in https://github.com/dbt-labs/dbt-core/issues/8063.
Then run:
dbt seed && dbt run -s my_model

And get an error like this:
23:28:27  Unhandled error while executing
'data_type'
23:28:27  1 of 1 ERROR creating sql table model dbt_dbeatty_tools.my_model ............... [ERROR in 0.07s]
23:28:28
23:28:28  Finished running 1 table model in 0 hours 0 minutes and 3.88 seconds (3.88s).
23:28:28
23:28:28  Completed with 1 error and 0 warnings:
23:28:28
23:28:28    'data_type'
23:28:28
23:28:28  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

There's a full stack trace within logs/dbt.log, but it wasn't clear to me exactly where the true issue was.
Proposed solution
To match the order in dbt-postgres, dbt-bigquery, and dbt-snowflake, just flip the order of these two lines:
https://github.com/dbt-labs/dbt-redshift/blob/f95c534e06bcc9b11ae16f16ca76036ad8b39dd0/dbt/include/redshift/macros/adapters.sql#L51-L52
It's supposed to be:
    {{ get_assert_columns_equivalent(sql) }}
    {{ get_table_columns_and_constraints() }}

Nice-to-have
Add some defensive code immediately above here to raise a helpful error message when the data_type key is not defined:
            if not v.get("data_type"):
                raise ColumnTypeMissingError([col_name])


SIGSEGV when accessing a Language

Regarding the Arena.ofConfined() usage: I tested it now in a Linux Docker container and it is crashing there as well with a SIGSEGV. To be safe, could you please try as well?
My code looked like this:
Language language;
try (Arena arena = Arena.ofConfined()) {
    SymbolLookup symbols = SymbolLookup.libraryLookup(Path.of("libtree-sitter-java.so"), arena);
    language = Language.load(symbols, "tree_sitter_java");
}
try (var parser = new Parser(language)) {
    try (var tree = parser.parse(source).get()) {
        var rootNode = tree.getRootNode();
    }
}

The language pointer is copied into the library arena anyway, so the initial arena shouldn't affect it.

Do you mean this code in the Language constructor?
https://github.com/tree-sitter/java-tree-sitter/blob/364154ca620b846e92ff1486c5d148fb1bd2db2e/src/main/java/io/github/treesitter/jtreesitter/Language.java#L42-L43
The documentation of reinterpret says (emphasis mine):

Returns a new memory segment with the same address and size as this segment, but with the provided scope.

So maybe this is not actually performing a copy, and therefore after the library was unloaded still refers to that (now unloaded) memory area?
(maybe applies to the other reinterpret calls in this library as well then)
Originally posted by @Marcono1234 in https://github.com/tree-sitter/java-tree-sitter/issues/24#issuecomment-2339191292

https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/foreign/SymbolLookup.html#libraryLookup(java.lang.String,java.lang.foreign.Arena)

Loads a library with the given name (if not already loaded) and creates a symbol lookup for symbols in that library. The lifetime of the returned library lookup is controlled by the provided arena. For instance, if the provided arena is a confined arena, the library associated with the returned lookup will be unloaded when the provided confined arena is closed.


Improve docs around bicepconfig.json

Is your feature request related to a problem? Please describe.
There is no article on docs covering all available settings that can be used in bicepconfig.json. We have articles on linter settings and module aliases settings. The credentialPrecedence setting is covered under module aliases, it affects insert resource function as well and should not be "hidden" there. As a user you need to jump around a lot.
Describe the solution you'd like

Create a docs article with all available settings that can be used in bicepconfig.json. Preferably update https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-config
Create a new article that covers the cloud property with profiles and credentialPrecedence instead of including it in the module settings article.

@mumian - can you take this one? I think @StefanIvemo is correct that the credentialPrecedence setting is not specific to module references and would fit better in the general "bicep config" article.

@mumian - can you take this one? I think @StefanIvemo is correct that the credentialPrecedence setting is not specific to module references and would fit better in the general "bicep config" article.

@alex-frankel - I can take this one, just created the issue to get feedback on the matter.
@mumian - Get ready to review a docs PR. 😊

@StefanIvemo - sounds good.

hey @StefanIvemo , what's the status on this one?

@mumian a PR is ready for review.

@StefanIvemo - thank you for working on this.  I just signed off the PR.


we need add gd32f407nb-iot boart support to LiteOS

GD32F407nb-iot baord with nb  module inside,we need support.

Hi，guys，could we closed this issue?


Python 2/3 test environments

Test with python3 support.
easier than it sounds, I've been struggling with building a docker container that has a functioning python 3 & freecad v0.17.
Tasks
Test with locally built docker-containers (ie: images are not to be released, they're just to encapsulate independent test environment)

[x] python2, freecad (whatever the standard app install version is)
[x] python3, freecad>=0.17

I'm playing docker containers in https://gist.github.com/fragmuffin/a0cc76606a51910b3be12435801ca416
I've taken a little while with this because on my internet connection it takes me ~2hrs to build a container with all it's packages...
I've installed a proxy server to help with repeat requests, but it's still taking a long time.

The above gist now works as expected. yay! :+1:
Next step is to move this method over to the test folder

test environments appear to be reliable
To run tests from test environment
Ubuntu Python 2.x
From the tests/env/ubuntu-py2 folder:
# build a docker image based on ubuntu 16.04, and install freecad & python v2
./build.sh

# create a container from the above build image,
# and run the unit tests
./run.sh

Ubuntu Python3.x
(as above with py3 instead of py2)


Update 3.x aws provider

Prepare the v0.2.2 release.
Add support for terraform aws provider 3.x by removing region argument (BREAKING)
Prepare 0.3.0 release

#40 needs to be merged and released first..


Add linear gradient animation to the h2

Hey, I added an infinite animation on the h2 title that runs infinitely when the page loads.
Below is a video of how the animation works:
https://user-images.githubusercontent.com/94648837/192091676-672abdc3-e126-474e-8519-ce94415eae33.mov

Looks good Abit! My only concern is that when you are viewing the page in light mode, the H2 disappears temporarily when the font colour is white, the same colour as the page background!
Do you have any interest in finding a fix for this? I've approved your Pull Request because it isn't a big deal and I'm glad you've gotten involved :)

Hey @jeffreycharters I had not checked it in light mode, my bad. I will check it again and add a feature that when the light mode is active the gradient to be different color, so the starting color will be black.
You can raise an issue and assign me with this.
I'll get into this sometime later today. :)

@jeffreycharters I checked the website and I thought u said that there was a light mode, but I checked and there isn't one.
I raised an issue to create a dark/light mode, with a toggle button, and there I can also fix the gradient from changing through modes!

You're not wrong here, in that we don't have a toggle switch - but I think, according to @sarajw, the site will naturally use whatever your system is set to use. But I think adding a toggle is a good idea, thank you for adding the issue!
And there is no rush to any of these things, I'd rather you enjoy the process than feel like you are working on a deadline.


consider $isDisabled before removing selected

If a $isDisabled: true option is preselected, it should not be deletable.

Good call! Thank you very much!

This commit seems to cause this error sometimes:
Uncaught TypeError: Cannot read property '$isDisabled' of undefined
    at c.removeElement (vue-multiselect.min.js:1)
    at c.removeLastElement (vue-multiselect.min.js:1)
    at e.searchable.n.on.keydown (vue-multiselect.min.js:1)
    at t (vue.esm.js:2137)
    at HTMLInputElement.e._withTask.e._withTask (vue.esm.js:1926)

Would it be possible to provide a reproducible scenario to this? Coz this can only happen if remove gets called on an undefined option. I can, however, add a check to see if option is an object before checking for $isDisabled or should an undefined check be put at the beginning of the function @shentao

It occurs in my app, which has an async wrapper around the multiselect component for loading remote options. I think what happens is that the user sets a value to an option in the list, and then does a text search, which removes the existing options from the list, and causes the selected value to become undefined (the bound value is a computed value with separate getter/setter). Somehow, then removeElement is called on that undefined value. The interactions are complex, especially with the vue tick cycle, eventing and reactivity. There may be a better way I could implement the wrapper, but it did work fine up until this commit. Thanks!

BTW, this wrapper component I wrote is published here:
https://gist.github.com/jacobg/8503eb18ca3754f1749eb6ce2879c0d2
Check out the getter for the completeValue computed property.

will do.


[Template]: 6 month employee feedback

Title
6 month employee feedback
Objective
The bi-yearly feedback that every employee in an organization looks out for from other employees is the use case for this app.
The app consists of the following 3 pages:

Custom form builder: This page allows the user to enter the fields that they desire for in their form.
The form builder would be a list, wherein the user enters the question and the form gets constructed on the next page accordingly. The form would also contain a few fields already which could be removed by the user, if not needed. The existing fields in the form builder would be:

First and Last name (text input)
Pod name (dropdown)
How long have you known me for (approximately)? X Months (number input)
Overall rating (rating)
Things I have been doing well? (text input)
Things that I can improve on?(text input)
Things that I should be doing, but not doing?(text input)
Any other suggestions/feedback?(text input)
LinkedIn recommendation(text input)

The form builder should allow the user to enter the field that they would like to have in the form and the answer fields could be either a rating input, a text field or a number input.

Answering the form: This page allows the user to share the form with other employees where they can answer the form that the user built from the last page.
The recommendation section would call the LinkedIn API which would allow the employee to write a recommendation for the user (optional field).

Feedbacks at a glance: On this page, every employee can see the aggregate rating for every other employee.
On clicking their own name, they can see all the feedback that they have received along with the button to post the recommendation on their LinkedIn profile or not. A few charts (and a feedback word cloud) could also be displayed to help understand the feedbacks more efficiently.

Wireframes
https://www.figma.com/file/jt3nkpptBTCwKamcyXLeR7/6-month-feedback-wireframes?node-id=0%3A1
Validation criteria

User should be able to make a custom form
User should be able to check the form responses
User should be able to submit recommendation

Use case
Human Resources (HR)
Industry
Other
Data sources
PostgreSQL

https://app.appsmith.com/templates/629f5363e8e73110ce2518af


I would like to add Rock Paper Scissors game

Assign me , I would like to work on it

@iamrahulmahato
assign me , I would Like to work on it

@rutikakengal There is already one person working on this project.


Drop Python 2 support.

Drops Python 2 support from the codebase.
I didn't remove every reference to the PY2 variable, only those used in packaging and a few core areas. The remaining areas where it is used can be removed later because I didn't want to create new bugs by mass changing code that checks PY2.

I didn't realize this was a thing. I was reading code last week, and noticed several places where there's still Py2-compat code, and I was thinking of excising it myself (because 2020 you know...). It's not explicitly using PY2 variable, rather some more subtle things about unicode strings vs bytestrings (the usual deal...). I'll try to find it again, and make a PR.
On the same topic, what are the current target versions for Kivy? Is there a plan to make it 3.6+-only so we can use f-strings and the likes?
I think your warning to users in https://github.com/kivy/kivy/issues/5560 is great @matham , forcing them to pin target version is indeed beneficial to everyone - we can be more bold in our changes, and they can be mostly certain their apps won't break.
In the same mindset, wouldn't it be fantastic if kivy.require() function (you know, the one we all SHOULD use, and never do?) could specify a maximum/specific target version rather than specifying only the minimum?

I believe we already only support 3.6+ in master. I'm not sure if there's a single place we say this though? I suppose we need to update setup.py.
About kivy.require() I'm not actually into it. Why duplicate python's built-in package requirements (in setup.py) into kivy? We should aim to re-use python eco-system standards rather than creating our own when possible.

Yeah, I guess that's a fair point! As long as we clarify which versions we
support and stick to them, that will be fine :)
Le jeu. 19 mars 2020 à 17:58, matham<EMAIL_ADDRESS>a écrit :

I believe we already only support 3.6+ in master. I'm not sure if there's
a single place we say this though? I suppose we need to update setup.py
https://github.com/kivy/kivy/blob/master/setup.py#L1135.
About kivy.require() I'm not actually into it. Why duplicate python's
built-in package requirements (in setup.py) into kivy? We should aim to
re-use python eco-system standards rather than creating our own when
possible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/pull/6351#issuecomment-601298299, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAANLNW4CRKVSQM554HO2JDRIJFNHANCNFSM4HSBONCQ
.


ABI finalization.

After we release 1.0, we won't have many opportunities to make API changes that break gRPC's ABI. We need to stabilize it by then.

Technically done in #2612, but re-assigning to @ctiller for double-checking if everything was covered, and potentially doing the same with the channel state API (or not).

Oops! I just created a new issue to see about doing this for channel
connectivity. I will close that up as a dupe.
On Thu, Aug 13, 2015 at 3:12 PM Nicolas Noble<EMAIL_ADDRESS>wrote:

Technically done in #2612 https://github.com/grpc/grpc/pull/2612, but
re-assigning to @ctiller https://github.com/ctiller for double-checking
if everything was covered, and potentially doing the same with the channel
state API (or not).
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/1799#issuecomment-130863596.

Assigning myself to take care of grpc_security.h.

Fixed with #2947


generator: add support for 12.5+ custom resources

as documented here https://docs.chef.io/custom_resources.html

We have a chef generate resource command now and the older LWRP command no longer ships in DK 4.


Exclude unschedulable nodes from cluster dashboard

Version: master 9/7
Dashboard is showing resources that cannot be used (without tolerations). Possibly needs a note about workers.

We should include only worker nodes not having unschedulable label set, to the dashboard capacity calculation

@loganhz Can you change this to use the cluster.{requested,allocatable}` instead of looping over the nodes

Version - 2.0 master 7/23
Verified fixed


Example(s) of how to use DrawImage

I am looking for a way to draw images on Canvas without having to do JS Interop, but I don't see any way currently. Can this be done more elegantly currently?

Hello @jackpotdk,
I don't have an example for you but instead I can provide a workaround until some pull requests getting merged into the master. If you still want to use this library you should consider to split your canvas.
For example you do have a background that isn't updated as often as the foreground. In that case you can create a second canvas and fill the background image as css styling. By this way you can avoid javascript.
<canvas id="bgCanvas" Width="1" Height="1" class="backgroundCanvas" style="@_backgroundCanvasStyle" /> <BECanvas @ref="_canvasReference" Width="1" Height="1" />

Thanks, I will try this method and see if it will work. Well let you know.


Add 'mafia check-upgrade'

/cc @charleso @olorin
The idea with this is we could invoke it at the start of a build so we have some idea which projects are up to date when looking at logs in jenkins.
I also noticed we're downloading to /tmp/mafia so I changed it to a mktemp, sorry that probably should be a separate PR.

LGTM :+1:

As discussed IRL with @charleso this should probably live in anatomy instead, I'll fix it up so this just includes the /tmp fix


Windows installation on python 3.6.2 tries to use 2.x version of concurrent.futures?

Expected result
Working pipenv installation
Actual result
Successfully installed pipenv-11.6.0
PS C:\Users\kimvais\PycharmProjects\dbv2> pipenv shell
Traceback (most recent call last):
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\kimvais\AppData\Local\Programs\Python\Python36\Scripts\pipenv.exe\__main__.py", line 9, in <module>
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 697, in main
    rv = self.invoke(ctx)
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\cli.py", line 259, in shell
    from . import core
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\core.py", line 24, in <module>
    import pipdeptree
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pipdeptree.py", line 16, in <module>
    import pip9
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pip9\__init__.py", line 28, in <module>
    from pip9.vcs import git, mercurial, subversion, bazaar  # noqa
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pip9\vcs\subversion.py", line 9, in <module>
    from pip9.index import Link
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pip9\index.py", line 31, in <module>
    from pip9.wheel import Wheel, wheel_ext
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pip9\wheel.py", line 6, in <module>
    import compileall
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\compileall.py", line 20, in <module>
    from concurrent.futures import ProcessPoolExecutor
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\..\concurrent\futures\__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "c:\users\kimvais\appdata\local\programs\python\python36\lib\site-packages\pipenv\..\concurrent\futures\_base.py", line 381
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

Steps to replicate
In windows 10 powershell with python 3.6.2 installed do:
pip install pipenv
pipenv shell

try latest version :)

@kennethreitz still errors out for me:
$ pipenv --version
pipenv, version 11.7.2

This is (system global) pipenv installed under Python 2.7, running inside of local Python 3.6 venv.
$ pipenv update --dry-run
 File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/index.py", line 31, in <module>
    from pip9.wheel import Wheel, wheel_ext
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/wheel.py", line 6, in <module>
    import compileall
  File "/home/zaytsev/opt/ActivePython-<IP_ADDRESS>00/lib/python3.6/compileall.py", line 20, in <module>
    from concurrent.futures import ProcessPoolExecutor
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

We aren't shipping concurrent.futures anymore.

i wonder if the file somehow didn't get uninstalled when you upgraded

Duplicates:

#1603
#1589
#1553

D'uh.

Okay, I will delete the package manually, reinstall and report back.

Hmmm, did
rm -r /home/zaytsev/.local/lib/python2.7/site-packages/pipenv*
pip install -U --user pipenv

Still same error message. However, note, that apparently it is not referencing pipenv-bundled concurrent.futures as you suggested. It is referencing global Python 2.7 backport, which was pulled in by Ansible:
site-packages/pipenv/../pipenv/../concurrent
I'm not quite sure why it runs under Python 3.6 though?! I checked the shebang at the top of pipenv script and it is set to !/usr/bin/python, so pipenv is correctly executed under Python 2.7.

sounds like you have a messed up python installation :)

we might have to do something about that

Nope, I have totally normal functioning Python installation(s).

System default installation is Python 2.7 (Debian Jessie)
User-installed Python 2.7 packages in $HOME/.local/lib/python2.7/site-packages
Scripts / programs installed by Python 2.7 into $HOME/.local/bin are on $PATH
Installed pipenv as a user program to manage Python 2.7 and Python 3.6 virtualenvs
User-installed Python 3.6 from ActiveState in $HOME/opt (not on $PATH!)
This installation is used to create Python 3.6 virtualenvs, including the one in question using --python flag of pipenv

If pipenv is executed inside Python 3.6 virtualenvs, which happens naturally, because PyCharm terminals enter corresponding virtualenvs automatically, the error I referenced appears, in spite of shebang of pipenv being correctly set.
Apparently, you are doing some questionable background process spawning dark magic, which leads to wrong PYTHONPATH being set / wrong interpreter used, this is my only theory.
However, please note that my setup is not broken, but working, and judging from other tickets / user reports, quite a common one.

I think this is out of scope.

Or, we need to remove concurrent.futures from sys.modules at import time, if it's found, and the python interpreter is <= 3.0.

Your setup is broken if your pipenv still spawns background processes. This is quite literally not in our code anywhere. Look in the repository.
You just described a highly convoluted python install with a large number of separate interpreters. Call each of them separately and uninstall pipenv. /path/to/python -m pip uninstall pipenv and then install it in one place.

Just because your setup runs python code doesn’t mean things about it aren’t broken btw

@techalchemy no need to be defensive, I came in peace and we don't need to be shooting at each other just because my Python environment appears bewildering to you. As you can see, it's much more common that one might think.
I explicitly mentioned that background process spawning is only my theory as to why PYTHONPATH is messed up. If you say you are not spawning anything, there is no reason for me to doubt your words. I can totally accept that my speculation is wrong and I apologize for it, but then I have no other ideas as to what could be the true cause of the problem.

i know what the problem is

try 11.7.3.

Hmmm, no dice :(
(moneymeets-deployment-N9wt4NSf) zaytsev@work:~/src/moneymeets-deployment$ pipenv --version
pipenv, version 11.7.3
(moneymeets-deployment-N9wt4NSf) zaytsev@work:~/src/moneymeets-deployment$ pipenv update --dry-run
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
 File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/index.py", line 31, in <module>
    from pip9.wheel import Wheel, wheel_ext
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/wheel.py", line 6, in <module>
    import compileall
  File "/home/zaytsev/opt/ActivePython-<IP_ADDRESS>00/lib/python3.6/compileall.py", line 20, in <module>
    from concurrent.futures import ProcessPoolExecutor
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

there's no reason this should be happening.

please just uninstall pipenv entirely everywhere

you clealry have an old installation laying around somewhere

try setting this environment variable
PYTHONDONTWRITEBYTECODE=1

Are you able to reproduce the problem, actually? If not, then maybe it will help if I make you a clean Docker image which illustrates the issue?
I have checked once again, but I have just one and only one pipenv on my system. It is the one installed using system default python interpreter (Python 2.7) in $HOME/.local/lib/python2.7. I have removed all files and reinstalled it again, but it doesn't help. The core of the issue seems to be working with Python 3 virtualenvs on the system with Python 2 as a default interpreter...
(moneymeets-deployment-N9wt4NSf) zaytsev@work:~/src/moneymeets-deployment$ PYTHONDONTWRITEBYTECODE=1 pipenv update --dry-run
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
 File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/index.py", line 31, in <module>
    from pip9.wheel import Wheel, wheel_ext
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/wheel.py", line 6, in <module>
    import compileall
  File "/home/zaytsev/opt/ActivePython-<IP_ADDRESS>00/lib/python3.6/compileall.py", line 20, in <module>
    from concurrent.futures import ProcessPoolExecutor
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

Interestingly, the error appears not only in PyCharm, when running inside virtualenv, as I originally supposed, but also when VIRTUAL_ENV variable is not set.
zaytsev@work:~/src/moneymeets-deployment$ pipenv update --dry-run
 File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/index.py", line 31, in <module>
    from pip9.wheel import Wheel, wheel_ext
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/vendor/pip9/wheel.py", line 6, in <module>
    import compileall
  File "/home/zaytsev/opt/ActivePython-<IP_ADDRESS>00/lib/python3.6/compileall.py", line 20, in <module>
    from concurrent.futures import ProcessPoolExecutor
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/home/zaytsev/.local/lib/python2.7/site-packages/pipenv/../pipenv/../concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

If I install pipenv inside the virtualenv, and run it from inside virtualenv, then the problem goes away.

if you can make the problem go away, please just do that.

I encounter exactly the same problem on Ubuntu 16.04.
Pipenv installed locally (--user) for 2.7, version 11.7.3
same error message when creating a venv for 3.5 or 3.6

Update: I removed $HOME/.local entirely and now it seems to work

@SUlbrichA as I mentioned, there is a workaround, which doesn't require removing the pipenv installation:
You can install pipenv in your Python 3 virtualenv, and run it from inside Python 3 virtualenv, this will work. Very unsatisfying, of course, but I think much better than having to remove Python 2 version altogether.

there should only be one version of pipenv installed!

Locking this conversation so no more misinformation can be spread.
Please open a new issue if you continue to have this problem.


Expanded API stability docs to include our policy of continual improvement

The background to this PR is this thread on https://groups.google.com/forum/#!msg/django-developers/GgqjkYSqfR0/f5zER264EgAJ where I offered to tweak the wording of our API stability docs, and I've finally got round to it!
My aim here is not to change our policy at all, but to make our docs more clearly reflect what I think our actual practice and philosophy is — with some positive spin on why we do it that way — and perhaps avoid the frustrations and disappointment of people like Pakal on the linked thread, for whom its fair to say that the current API stability docs give unrealistic expectations.
I removed reference to version 1.0 since it is no longer relevant, that was a very long time ago...
While I've tried to sum up what I think is our current practice and policy, we may want some discussion on wording etc. obviously that's fine.

@spookylukey Thanks for this patch +1 I have only one small suggestion.

Yep that's fine with me