Limitless led broken in 0.63

Home Assistant release: 0.63
Python release: 3.6
Component/platform: Limimtless led
Description of problem:
Limitless led component fail to initialize.
Problem-relevant configuration.yaml entries:
light:
  - platform: limitlessled
    bridges:
    - host: <IP_ADDRESS>
      groups:
        - number: 1
          name: SmallBulb
          type: rgbw
        - number: 1
          name: BridgeLed
          type: bridge-led
        - number: 2
          name: BigBulb
          type: rgbw
        - number: 3
          name: SmallBulb2
          type: rgbw

Traceback:
2018-02-11 01:06:38 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform limitlessled
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 119, in setup_platform
    'fade': group_conf[CONF_FADE]
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 177, in factory
    return LimitlessLEDRGBWGroup(group, config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 258, in __init__
    self.group.white()
  File "/config/deps/lib/python3.6/site-packages/limitlessled/group/rgbw.py", line 56, in white
    cmd = self.command_set.white()
AttributeError: 'CommandSetRgbwV6' object has no attribute 'white'

Additional info:
I suspect it might be due to the update to limitlessled v1.0.9 that happened in PR12275.
But I quickly had a look at the difference between v1.0.8 and v1.0.9 and couldn't spot any breaking change.

Got this too, with a mix of rgbw and white lights.
I have 1 v5 bridge and 1 v6.  If I modify the config to one type of light it works

Yes, the issue might appear only with v6 of the bridge.
This commit might be it:
https://github.com/happyleavesaoc/python-limitlessled/commit/93103b918ef7a770724df834041371b75ac2d15b

The issue is the simple version bump in #12275. Reverting to limitlessled==1.0.8 fixes this issue.

Yes, I believe the issue lies in limitlessled 1.0.9 itself that is broken.
Did you commit the revert?

My limitlessled lights are also gone after updating my Hassio to version 0.63
Please help...

Can someone with a v6 bridge please test a fix and either submit a PR to python-limitlessled or even just send me a diff. I'll push a new version to pypi at that point, so we can get this resolved.

@happyleavesaoc
sure i wil help, but i am new to hassio, and dont know what you mean.

I succeeded to downgrade to Hassio 0.62.1 and now it works again!
Hassio finds my Mi lights (wifi v6 bridge) again.

This should be fixed in 0.63.1. Can you check it?

certainly! I will let you know immediately as soon as the update is available. thanks for your help

Still broken in 0.63.1 for me.

Ignore last comment - 0.63.1 is working for me. Thanks for speedy response to this bug.
I had a cached version of the broken limitlessled.py loading over 0.63.1.

To bad....i just updated from 0.62.1 to 0.63.1 an my lights are gone again.

I now downgraded just LimitlessLED by putting the file in config as Amelchio advised, and this works.
The lights are back again in 0.63.1
Can i delete the file after the next update?

For me the lights also do not work in 0.63.1 but do with the fix of Amelchio

Also not working for me in 0.63.1.
Happy to help / test where ever I can.

how can I go back to 0.62.1? There are no lights found.
ERROR (MainThread) [homeassistant.components.light] Error while setting up platform limitlessled
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 119, in setup_platform
'fade': group_conf[CONF_FADE]
File "/usr/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 177, in factory
return LimitlessLEDRGBWGroup(group, config)
File "/usr/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 258, in init
self.group.white()
File "/usr/lib/python3.6/site-packages/limitlessled/group/rgbw.py", line 56, in white
cmd = self.command_set.white()
AttributeError: 'CommandSetRgbwV6' object has no attribute 'white'
light:
platform: limitlessled
bridges:
- host: 192.168........
version: 6
port: 5987
groups:
- number: 1
type: rgbw
name: Wohnzimmer1
fade: on
- number: 2
type: rgbw
name: Wohnzimmer2
fade: on
- number: 1
type: white
name: Küche
- host: 192.168........
version: 5
port: 8899
groups:
- number: 1
type: rgbw
name: Schlafzimmer
- number: 2
type: rgbw
name: Wohnzimmer
- number: 3
type: rgbw
name: Flur
- number: 4
type: rgbw
name: ohne1
I can control with Mi-Light app
Sorry, I can not speak English.
Thx Tom

Ok - I apologise for my confusing reports about whether this works on 0.63.1. I happened to be logged in when 0.63.1 hit my hassio box so I updated immediately. I restarted and the limitlessled component still did not work. I rebooted again later and it did work. A it happens something had caused my hassio to download limitlessled 1.0.8 into my config/deps/lib/python3.6/site-packages folder so it overrode the version distributed with hassio!!! I can't tell you what triggered that download.
I did follow the suggestion from amelchio above and maybe that triggered a dependency install of 1.0.8 - or something else I did. I deleted the file before I upgraded to 0.63.1 as recommended, but the dependency was still in place - so it seemed to be working.
If I put the limitlessled 1.0.8 folders back in config/deps/lib/python3.6/site-package then it all works fine again.

@AMGeneral
I managed to go back to 0.62.1 with Dustins Blog enable the Hassio ssh add-on and follow the link on
https://blog.dustinrue.com/tag/hassio/

Everyone please listen! 😛
The downgrade is included in 0.63.2 so that one will work again. Those of you that created config/custom_components/light/limitlessled.py should delete it when upgrading.
Please stop writing "me too" so this message does not get buried like my other one. Just add a thumbs up so people can see that it's working ...

Hi All
I am new to this and I had the same problem with
File "/usr/lib/python3.6/site-packages/limitlessled/group/rgbw.py", line 56, in white
cmd = self.command_set.white()
I got mine working again by opening rgbw.py and commented out 2 lines, 56 and 57.
def white(self):
"""Set color to white. """
self._color = RGB_WHITE
cmd = self.command_set.white()
self.send(cmd)
change to
"""cmd = self.command_set.white()
self.send(cmd)"""
Hope this helps

Hi,
I have the same problem in 0.64

Please file a new issue for 0.64. Include the logs so I know what "the same problem" is exactly. Thanks!


Property:storageVolume

Definition
Physical volume taken up by the collection in cubic meters.

Existing property

Existing class

Existing property identifier

Format
Numeric

Required

Repeatable
no

Constraints

Examples
20

Notes

Proposal for definition: Physical volume taken up by the collection.
Examples: 20 m^3

Deprecated in favour of MeasurementOrFact class


Add Density ≤ aleph0 alias to P26 Separable to parallel P209

The new alias is just a restatement of the definition.  It does parallel P209 (density less than continuum), but P209 had to be phrased that way because there is no consecrated word for the concept.
So I am wondering if this alias here is really necessary.  How is it going to help?
Would be good to get input from more people here.
@StevenClontz

I'm inclined to improve. If a user wants to know about density, they can write "density" in their Explore page formula and choose from all the properties related to density that we know about.

What about separable and P209 linking to each other in their descriptions with a 'Compare with' line?
Also, I noticed P209 doesn't have any references. It appears on page 11 of Encyclopedia of General topology, page 25 of Engelking's General Topology, and Google Scholar has a lot of hits for Cardinal Functions in Topology.

What about separable and P209 linking to each other in their descriptions with a 'Compare with' line?
Also, I noticed P209 doesn't have any references. It appears on page 11 of Encyclopedia of General topology, page 25 of Engelking's General Topology, and Google Scholar has a lot of hits for Cardinal Functions in Topology.

All sounds reasonable, but they could be proposed in a separate PR perhaps.

Regarding P209, the only thing that could be explained/referenced is the notion of "density".  But the property itself, i.e., the fact that the density has some upper bound, does not really require a reference to explain the meaning.

@prabau I'm referring to the concept of 'density'.
(Though it's possible someone has written on this specific property, I had 'density' in mind.)

@prabau are you satisfied with the rationale for adding this alias?

Yes, I think it's fine.
Apart from that, @GeoffreySangston made a good point.  If we are going to mention density (even as an alias), shouldn't the post mention what is meant by "density"?


Master server stopped working when new voluem server added (v0.96)

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Describe the bug
When I start seaweedfs master for once it works fine. But after one or 2 restarts it gives different behaviour. In short, it's not saving images on the filer.
System Setup
I started master with
./weednew -v=0 server -filer=true -dir=storage -pulseSeconds=1 -volume.images.fix.orientation=false

and very minimal toml file as
[memory]
# local in memory, mostly for testing purpose
enabled = false

[leveldb]
# local on disk, mostly for simple single-machine setup, fairly scalable
enabled = true
dir = "storage/filer"					# directory to store level db files

For once it was adding data.
Screenshots

Additional context
On attaching a new volume server, master server's 7 volumes becomes unwritable and It may go to volume server to write file but start giving error as

Not relevant but on http://localhost:9333/ page in past it was giving total volumes left, now it giving a Negative value.

Thanks for the very useful details! If all issues are as detailed as this,
debug will be a lot easier!
I think your tmp folder already has volume files, with conflicting volume
ids. Remove them and try again.
On Wed, Sep 26, 2018 at 3:51 AM Junaid Farooq<EMAIL_ADDRESS>wrote:

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Describe the bug
When I start seaweedfs master for once it works fine. But after one or 2
restarts it gives different behaviour. In short, it's not saving images on
the filer.
System Setup
I started master with
./weednew -v=0 server -filer=true -dir=storage -pulseSeconds=1 -volume.images.fix.orientation=false
and very minimal toml file as
[memory]
local in memory, mostly for testing purpose
enabled = false
[leveldb]
local on disk, mostly for simple single-machine setup, fairly scalable
enabled = true
dir = "storage/filer"					# directory to store level db files
For once it was adding data.
Screenshots
[image: image]
https://user-images.githubusercontent.com/13561999/46075113-ed021700-c1a2-11e8-8a3c-fbf803ddd3a6.png
[image: image]
https://user-images.githubusercontent.com/13561999/46075125-f4292500-c1a2-11e8-9a28-20b3631c9d56.png
[image: image]
https://user-images.githubusercontent.com/13561999/46075152-0a36e580-c1a3-11e8-873d-619efb59394c.png
Additional context
On attaching a new volume server, master server's 7 volumes becomes
unwritable and It may go to volume server to write file but start giving
error as
[image: image]
https://user-images.githubusercontent.com/13561999/46075233-3eaaa180-c1a3-11e8-916a-885b91cb23e2.png
Not relevant but on http://localhost:9333/ page in past it was giving
total volumes left, now it giving a Negative value.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/739, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL7xWdrgN-c-4GVWeXjDnBR1_zy5dbks5ue1whgaJpZM4W6ZIK
.

Yes, you were right, I had started filer with v76 already in tmp. we are moving a large amount of data from v76 to v96.
Thanks,
There are many things changed since the last release, can you release a new build if possible soon?


fix _cupsGet1284Values

Synced from upstream

No longer taking "clean up" PRs for Apple CUPS, sorry.


chore(package): update eslint-config-pretty to version 2.1.1

Codecov Report

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

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          44     44
=====================================
  Hits           44     44

Continue to review full report at Codecov.

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


update the consumer property

While trying to view the count of each message unable to view the numbers since kafka-console-consumer is not able to understand the property value.deserializer

It looks like @ganesh-sai hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

@confluentinc It looks like @ganesh-sai just signed our Contributor License Agreement. :+1:
Always at your service,
clabot


Add ability to remove users from team

Also includes a refactor to the team_members controller

Where is the UI for this story?
https://projects.invisionapp.com/d/main#/console/10972863/233583093/preview

We haven't built the delete pattern as seen in the prototype anywhere on the site because it's still being reviewed by the design team. I have used the default rails/UJS destroy UX here i.e. data: { confirm: 'Are you sure?' }

I talked to Blanca before creating this story. The pattern for this is potentially a while away so we're building this for now for testing purposes.


Random augmentation: only inject waveform on one interferometer

Would a possibly valuable random augmentation during training be to take a handful of our project waveforms and zero out one channel randomly before injection, marking these half-injections as target-value 0s rather than 1s? Would this be a way to enforce coincidence or do the inserted glitches handle this?

closed by #342


Add pytorch_jit sample Colab notebook using SHARK-Turbine.

Progress on https://github.com/openxla/iree/issues/15117
This notebook shows how to use SHARK-Turbine for eager execution within a PyTorch session using IREE and torch-mlir under the covers. I'm starting simple to get the concepts across, with minimal API usage and a tiny nn.Module sourced from https://pytorch.org/docs/stable/notes/modules.html. My expectation is that this notebook will evolve alongside other notebooks (e.g. pytorch_aot.ipynb), documentation (https://github.com/openxla/iree/issues/15114), and the SHARK-Turbine project itself.
Preview URL for review: https://colab.research.google.com/github/openxla/iree/blob/scotttodd-pytorch-samples-1/samples/colab/pytorch_jit.ipynb
skip-ci: no-op

https://colab.research.google.com/github/openxla/iree/blob/scotttodd-pytorch-samples-1/samples/colab/pytorch_jit.ipynb

I left a link to view in Colab in the PR description: https://colab.research.google.com/github/openxla/iree/blob/scotttodd-pytorch-samples-1/samples/colab/pytorch_jit.ipynb
For commenting, you can toggle between the source and "rich diff" views in GitHub:


Add link to Package Authoring best practices to Package Upload page

Is your feature request related to a problem? Please describe.
It will make the page more discoverable to package authors.
Describe the solution you'd like
Add a link to this page: https://docs.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices
//cc @jcjiang

Looking at the existing functionality, I feel the warning that pops up when a package does not have sufficient information is a good place to put the link. Maybe it can replace the existing link. I am wary of putting the link at the very top because it is less discoverable. What do people think?

I thinking changing the 'read more' link is a good idea, but the thing is, that the logic that pops-up this warning doesn't verify all the best practices in the doc.
What do you think about change the 'Read More' but also updating the text in the tab. We can add something like: "To learn how to author great packages read here".

Great point. I think linking in both places is a great idea! So something
like:
Tab:
Your package file will be uploaded and hosted...
For resources on how to author great packages, read here.
Read More
We recommend that you fix these issues and upload a new package. For more
resources, read here.
On Fri, Feb 12, 2021 at 10:53 AM Svetlana Kofman<EMAIL_ADDRESS>wrote:

I thinking changing the 'read more' link is a good idea, but the thing is,
that the logic that pops-up this warning doesn't verify all the best
practices in the doc.
What do you think about change the 'Read More' but also updating the text
in the tab. We can add something like: "To learn how to author great
packages read here".
[image: image]
https://user-images.githubusercontent.com/16807822/107809641-45a8bf00-6d20-11eb-904a-17862a658a71.png
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/NuGet/NuGetGallery/issues/8411#issuecomment-778383693,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRYE23J5SGWUWCZLNPCZ3TS6V2JNANCNFSM4XBOZDAA
.

Here are some links to the relevant code:
https://github.com/NuGet/NuGetGallery/blob/c71e12429b108c4d87e2da41790b164149a43389/src/NuGetGallery/Views/Packages/UploadPackage.cshtml#L20
And:
https://github.com/NuGet/NuGetGallery/blob/db62de43e24b704e9ab16d8abc39bdfa3e73260b/src/NuGetGallery/Views/Packages/_VerifyMetadata.cshtml#L77-L78


export json failed when too much data

I have a data set with 9 columns and  2000+ rows to be exported to json format file but failed, and it is successful to export to csv and xlsx format with same data set. on the other hand, if the data set is only with hundred rows, it's good to export to json format.
So I wonder there's some limitation on the json file size,  will be appreciate if you can look into this issue, thanks.

Sorry, I think it's caused by some data is not UTF-8 encoded(I find special characters like 'R\xe9union' in csv file), so it failed to export to json.


Add std exceptions to readme

Hello and thank you for the great library.
The readme file says the following about exceptions:

All the exceptions thrown by toml11 inherits toml::exception that inherits std::exception.

However, this is not true. Many toml11 functions throw one of the std exceptions, for example, std::out_of_range or std::runtime_error.
Do you think it makes sense to update the readme accordingly?

You are right. It should be fixed. I'm re-writing the README now and will soon be pushed.

Related:
Since now toml::exception has toml::source_location, I think the ideal way is to add toml::out_of_range and use it instead of std::*. (std::runtime_error might be thrown from where any toml::source_location cannot be created). But it breaks the backward compatibility, so, for now, I will leave it. Later I will improve that part with other problems that should be resolved (actually, toml::result was introduced to return an error type explicitly, like Rust or Go, but I did not yet implement that feature).

Thank you for the quick response and for adding it to the readme :)


Add support for Carthage

It would be nice if this package could be installed via Carthage. I don't like copy&pasting source code into my projects...
Keep up the good work!

You don't need to copy and paste source code. If you use Cocoapods, you can just add "import FontAwesome_swift" to the top of your file. I'm not as familiar with Carthage to be know how to do the equivalent

@schickling Yes, it can be installed via Carthage now.

Great! Thanks! :)


[BUG] The plugin does not import notes from eBooks that I have imported to Kindle myself

Describe the bug
The plugin does not import notes from eBooks that I have imported to Kindle myself (i.e., not directly from Amazon). These notes are important to me and I need the plugin to be able to import them.
Expected behaviour
I expect the plugin to import notes/highlights from eBooks that I have imported to Kindle myself, not just those from Amazon.

I read this info:
Sync non-Amazon books — Sync your highlights by uploading your My Clippings.txt file from your Kindle device


Find a nicer way to deal with versions

Since we are piping around the state object. We can potentially use that as a generic typeguard for when to use 3.1 vs 3.0 types

Thought of using condition return types but that doesn't look possible:
https://github.com/microsoft/TypeScript/issues/33014
maybe can look into function overloads?


Other services only detected if registered after Browser has been created

I am having a problem where my Browser instance can only discover services that have been started / registered after the Browser has been created and .find() called.
What's strange is this is only on some machines. Some systems are fine. Firewall is disabled for testing. These machines are connected over LAN only.
The service is not published with bonjour-service, but a python application using https://github.com/python-zeroconf/python-zeroconf
Wondering if anyone else has experienced this with bonjour-service, or DNS-SD in general.

Could be related to #9

@eclazi Thanks for info. Which systems specifically are you seeing issues with?


Add web support

Is your feature request related to a problem? Please describe.
Firebase Analytics web plugin not supported at the moment.
Describe the solution you'd like
Implement Firebase Analytics for web.
Describe alternatives you've considered
N/A
Additional context
N/A

Sorry, I looked at master branch. And I checked your great work now!

My repository changed to be recommend this project:
https://github.com/rdlabo-team/capacitor-firebase-analytics

Thank you. @dwieeb can we add @rdlabo to contributions list for this repo?
Closing the issue.


Question about general use in any case

Hello,
I would like to know, if this script can measure the distance of any object shown in a stream, no matter where it's located?
If not, what adjustments in the code are necessary?
I plan to use a stereo camera and a pretrained CNN, which detects objects, additionally I want to measure the distance to the detected objects.
Thanks in advance

Hey Petros626,
The script will produce a two dimensional array of values which represent the depth of each pixel in the scene, however due to the nature of this traditional method, not all pixels will have values attributed to them. Some ill-posed regions (areas where the algorithm has a hard time determining depth) will be left empty.

As long as the object is within the image/frame from your stream and a value which represents the pixels of your object is within the depth map, you will be able to determine the estimated depth. I'd recommend doing some averaging of small kernels depending on what kind of object it is.
Note: the resulting values will be disparity values, which you will use to calculate metric depth with depth = baseline * focal_length / disparity. For more see here.

Thank you for your detailed answer. The most algorithms I saw was with a known object size, but this wasn't which I was searching for. So if with the mentioned formula you can calculate the distance why in your code specific values are made here:
https://github.com/LearnTechWithUs/Stereo-Vision/blob/597d9e5d4fdeb96583339365f41bf9488ea5c9fd/Main_Stereo_Vision_Prog.py#L37

why in [the] code specific values are made here

Those are likely the specific parameters provided by datasets which the author was using to test this code. They may also be customized to compensate for the averaging being done two lines above your referenced line, where the author is getting the average disparity value of a small kernel of pixels around the pixel in question:
https://github.com/LearnTechWithUs/Stereo-Vision/blob/597d9e5d4fdeb96583339365f41bf9488ea5c9fd/Main_Stereo_Vision_Prog.py#L35

Yes, as @shanearthur said. Those values (polynomial coefficients) are estimated based on a custom dataset.
(Similar to issue https://github.com/LearnTechWithUs/Stereo-Vision/issues/5).
When and how we estimated those parameters is shown in this section of the YouTube video. We plotted a curve in which we had the distance on the x-axis and the disparity values on the y_axis (if I remember correctly). Afterward, we did a polynomial regression of degree 3 (known from the literature) via Excel - but you can do that with Python libraries to optimize the value.


Remove PaintingCanvas

We can just use Canvas now.  The two are the same thing.

@Hixie

LGTM, thanks!


ref: Refactor to brevo, instead of sendinblue, due to re-branding of …

Refactor to brevo, instead of sendinblue, due to re-branding of sendinblue

Hey @gotschmarcel, I know you merged this, but to republish it on npm under this new name of the package, I will need to remove my package from npm, since I published it under the new name. Please let me know if you want me to remove it so you can publish it.
Cheers!

Hey! First of all, thank you for the PR - much appreciated. I'm planning on publishing it today. I would appreciate if you remove your fork from NPM.

No problem man, always happy to help the community. The fork should be deleted now and you should be able to publish it under this name. If any issues, please contact me.

Thanks a lot! Have a nice day :)

@circles-00 It seems that I can't republish this today. I'll try again tomorrow. It's probably forbidden because you only recently removed the package.

Hey I'm reading the NPM docs and it says that you need to wait for 24 hours after deleting the package. So, it should work tomorrow!

Just letting you know that I was able to publish it.


Enable whitespace selection in choices

A string type with a choice that contains whitespace on the outer part cannot be selected, or it will generate an error. See the modified test for an example.
To fix this, I utilize the stripped/trimmed version of the string value only for validating whether the field is empty, otherwise the raw value is used.

Thank you for this fix. Will release soon.

Released in v2.23.0.


didnt send any notification

may any one help please

Can you help him @gentritabazi01

Can you show a complete code example, so we can see why notifications are not sent?

No update since 26 days, closing.


Is it possible to set up an absolute path for import in css and js?

Hey, another question.
The solution when you have to set paths relative to the position of the file you are importing to, looks rather inconvenient, because when you move one file, you have to update not only the import paths of modules that use it, but also the paths of modules it imports itself. It bring an unnecessary level of complexion.
Is it possible to somehow change it, so it looks for the files always starting from the /src folder and down?

Nope you can just use relative paths. Try to keep only one nest level in your directories: this should prevent the most of the hassle during refactoring....

@gpbl For a project with a lot of components using a flat directory structure is really not the best solution. Are you sure that webpack doesn't support it the other way?

In my experience nested directories for components don't help at all... try to split your components using the atomic design principles: you will end with three/four directories and much less pain :)

So, you are talking about splitting components folder into several ones? Don't you think that having several directories in the component one looks more logical?
I wan't thinking about three and more levels of nesting, btw. %)

It looks more logical but in practice I've found they are harder to organize. You will find yourself refactoring quite often.
Atomic design principles IMHO fit great in a react application. You can split your components into atoms, molecules, organisms and pages directory and you won't need thiking too much about naming and nesting.

Ok, thanks!
I'll try it this way.


Updated validations.py python script.

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Closes #1
Fixes # 1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Apply expressive tokens to Carbon for IBM.com component specs

User Story

As a [user role below]:

DDS designer

I need to:

update all Carbon for IBM.com components that use productive tokens to use expressive theme tokens

so that :

components use one type scale and are more consistent for our adopters
Additional information
Here is a list of the components that need updating and which token they should use with the expressive theme applied:

[ ] Leaving IBM label above link --> $label-01

[ ] callout with media image caption  --> $caption-01

[ ] Card card eyebrow   --> $label-01

[ ] Card video duration --> check what type style is being applied, currently seems like it should be 16px

[ ] image with caption image caption --> $caption-01

[ ] locale modal modal header label (top right) --> $label-01

[ ] locale modal Search heading (this page is available in...) --> $heading-02

[ ] content item horizontal content item horizontal item eyebrow --> $label-01

[ ] video player video player video caption --> $caption-01

[ ] logo grid check if card link should be semibold?  --> $heading-01 or 02

Note: we will not be removing the productive mixin from the mega menu, decided in #4341
Acceptance criteria

[ ] Productive tokens are removed from all component specs listed above
[ ] Expressive tokens listed above are applied
[ ] Designer (Olivia) reviewed all changes

Done.  Closing


Vijay GitHub action env variable

fetch GIT_TAG_NAME

@shudarshon-binary please review

let me know if we need to change the event type ( https://github.com/vijay-deriv/deriv-com/blob/vijay-github-action-env-variable/.github/workflows/content.yml#L5)
cc: @shudarshon-binary

updated workflow name and event type @sean-binary


[Feature Request] Device movement direction on map

When device is shown on embedded map with car or bus icon, it does not show the direction of movement as shown in the Traccar app.
What needs to be done here so that car icon turns as vehicle turns on the road, as it turns in Uber or Ola app?
Thanks,
Kiran.

Traccar does show direction on the map.

Sir, but on embedded map with websockets, the icon is not turning, as shown in screenshot below. Even though the device moves back, left and right, the icon doesn't turn.

What "embedded map" are you talking about?

Sir, I am referring to devices shown using https://github.com/tananaev/traccar-web/tree/master/web/simple from https://github.com/tananaev/traccar/issues/2313

There are no icons there, as far as I remember. What car and bus icons are you referring to in the first comment?

Yes, I added car icon for testing purpose to marker in app.js as below.

 if (!marker) {
                            var device = devices.find(function (device) { return device.id === position.deviceId });
                            marker = new google.maps.Marker({
                                     position: myLatLng,
                                     map: map_asset,
                                     icon: '/assets/car.svg',
                                     title: device.name
                                  //   label: device.name
                         });

Do you realize that your request doesn't make sense for official version of Traccar?
If you already modified the code, you can easily add rotation as well.

Yeah, you are right, it is not feature request. Sorry for that.
Please let me know, how can I add rotation ?

Do we get any angle information from the API ?

Yes, you get course information in the same object where you get coordinates. Rotation can be easily set using openlayers library.

Sir, Thanks. I will try it. Right now I am playing with Google api and Leaflet.

@kirantpatil Did you manage to get this to work, the route and Heading? Any chance we can see your App.js

I couldn't try it.


[REQUEST] Real-Debrid Integration

First up, not sure if this feature request should be here or with Burst. Picked here because it just seemed more relevant.
The title says it all though. Instead of torrenting the content and feeding it to Kodi VideoPlayer, an already cached torrent content can be streamed directly from Real-debrid servers and passed to Kodi's VideoPlayer.
How I see it working is like this :

Search of video as is done now
Burst searches the trackers and pulls the results as it does now.
For each result, a check is made through the Real-debrid API if the video is cached there.
UI indication in the results list that there is a cached RD video for that particular result
If selected, content is streamed directly from RD instead of being torrented as it is now.

Clearly also see new settings options. Checkbox to explicitly enable checking RD, and text field to enter RD API key for paying subscribers of RD.
It's a simple (to me) process, and I'll be first to admit that I don't know how complicated adding RD functionality would be.
Is this feasible and of interest to everyone? I'm trying to see if Kodi+Elementum can mirror the functionality of Stremio+Torrentio+RD.
(Yes, other Kodi addons do integrate with RD, including Fen and Seren for example. I just like Elementum better and was hoping it could be done here. Seren and Fen would also serve as great examples on how to help integrate RD functionality into Elementum)

Is this feasible and of interest to everyone? I'm trying to see if Kodi+Elementum can mirror the functionality of Stremio+Torrentio+RD.

It is not easy to integrate Debrid services, because Elementum is built around torrent library.
And to add non-torrent source we would need to abstract torrent/item with different impmenentations (like libtorrent/RealDebrid/AllDebrid/etc).


Fix for missing methods for left trees

Add methods that are missing in TreeBuilder (but present in its children) and needed to return 0 or [].
@martinpovolny please review

Restarted travis. Testing in the UI...

As no TreeBuilder refactorings went to Darga, this is also Darga/no


Potential Violation Detected

Hey acc-cosc-1337-fall-2022-2!
This repository has been flagged as containing material which potentially infringes upon an academic copyright or an institution's academic integrity policies.
At your earliest convenience, please do one of the following:

disable public access to your repository see repository access settings
remove any content could be in violation of copyright law
remove any content could be in violation of an institution's academic integrity policy

Please feel free to continue any discussion here. Thanks!

:wave: gentle reminder!


Status Property error

Hello, i'm quite new to Notion API. I tried to query a database in order to get one ticket depends on a property number. But after adding filter and query I get a message : The given property value "status" is unsupported.
I think that come from there is no StatusProperty class but i'm not sure. WDYT ?
Things is, if i dump the rawdata from tue query method, it works.
Here is my code from my controller :
    $databaseRequest = new DatabaseRequest();
    $databaseRequest->setFilter([
        'property' => 'PlusID',
        'number' => [
            'equals' => 2,
        ],
    ]);
    $myPage = $notion->databases()->query('####', $databaseRequest);
    dump($myPage); die;

Thanks

You're right, the issue is due to the missing "StatusProperty" class. I'll submit a PR to add it when I have a moment. Meanwhile, you can submit a PR yourself, any help would be appreciated :)
Let me know if you need more help.


Fix documentation

Just spent 2 hours to figure out that it should be slackWebhookUrl rather than slackUrl in config.json

Done. Sorry about the typo - we changed slackUrl to slackWebhookUrl for more clarity some days ago.


Slipped formatting in messages containing emoji

If a message contains both emoji and formatting, positions where the formatting is applied may be inaccurate.
If you have a lot of such issues, you can disable formatting in config.

Now fixed, thanks to @pkb


Add Floating interdomain + autoscale + vl3 example

Add example that combines 3 features: Floating interdomain, autoscale and Vl3.
Expected result is 3 clusters which are connected with VL3 network.
Floating interdomain example: https://github.com/networkservicemesh/deployments-k8s/tree/main/examples/interdomain/usecases/FloatingKernel2Vxlan2Kernel
Vl3 with scale from zero example: https://github.com/networkservicemesh/deployments-k8s/tree/main/examples/features/vl3-scale-from-zero
Use case:

two nsc starts on two different clusters
on each clusters autoscale starts.
each nsc connects to the autoscale, to create VL3 endpoints which are registring to the floating registry and can connect to each other.

Merged: https://github.com/networkservicemesh/deployments-k8s/pull/7057


fsl_flexcan missing flags

Describe the bug
The CAN FD driver provided in the fsl_flexcan SDK seems to have a few flags of flexcan_fd_frame_t not being used or are set to default values.
For example, here the pTxFrame->edl uses a default value of 1, which implies a CAN FD frame. This wouldn't allow one to send CAN 2.0 frames.
Further on, on the reception side, the EDL or the BRS flags aren't being read. which is necessary for mapping the flags to the Zephyr can_frame.
Expected behavior
A clear and concise description of what you expected to happen.
Impact
Cannot send CAN 2.0 frames.
On the receiver side, one is not able to detect if the frame is a FD frame or if Bit-Rate-Switch were active.
Environment (please complete the following information):

OS: Windows
Toolchain: zephyr-sdk-0.15.0
Zephyr version: 3.2.99

Additional context
Tested the following patch and it seems to fix the issue.

For example, here the pTxFrame->edl uses a default value of 1, which implies a CAN FD frame. This wouldn't allow one to send CAN 2.0 frames.

The function is called FLEXCAN_WriteFDTxMb(). For transmitting classic CAN frames, you should use FLEXCAN_WriteTxMb()?

The function is called FLEXCAN_WriteFDTxMb(). For transmitting classic CAN frames, you should use FLEXCAN_WriteTxMb()?

Am uncertain if the FLEXCAN_WriteTxMb() would be the right option. Looking into the implementation of FLEXCAN_WriteFDTxMb(), it   uses the FLEXCAN_GetFDMailboxOffset to figure out where the data needs to placed, whereas the former uses another approach in figuring out where the data needs to be placed. When CAN FD is configured, the MailBoxes are also configured differently, and hence the location where I suppose the data needs to be placed.

Removing the bug label as this NXP MCUX HAL code is not even called in Zephyr (yet).


SCAN MY WHOLE CITY?

Can someone help me how to scan my whole city? Right now its just scanning a little bit of the city

Two ways.
First is the easiest. Before you login, change the scan radius to something like 40. It will take awhile and
be wildly ineffective but it will scan the whole city after a day or two
Second way is harder. It requires multiple PTC accounts. placed strategically and set to 4 or 5 radius. Once you get the first account scanning. Open a new window and login a 2nd account. You will get the hang of it but....
really there is no need to actively scan an entire city. To each his own I guess.

@nopejusttesting If im trying  to open the 2nd window my 1st will stop to work. Do you know how to fix it?

@nopejusttesting it says if i have "Larger numbers increase search area but updates are slower." Does that means that the pokemons will get slow to spawn out on the map or what? i have it on 3 right now and all the pokemons spawn with like 14 minutes and if i have it on 40 will they spawn at 1 minute left? or what?

yes the longer the radius the longer it will take to load all of that pokemon for example if a pokemon came out 2 mins ago you will find out in 4 mins

Pokemon have a fixed spawn time, is not related to the map at all. Another thing is when the map registers the pokemon and how much time they have left until despawn. If the radius number is higher it will take more time to complete the whole scan, thus the refresh time will be higher. If a pokemon comes out now in my house and my map is scanning another area, I will have to wait until the maps scanner arrives to my house so it can load the pokemon that came out, the longer it takes the scanner to arrive the fewer minutes the pokemon will have left to despawn.

yes i know but it also the map and how fast it can load

the pokemon may have a fixed spawn time you wont even know if theres a pokemon there if the map doesnt load


Add PSQLFrontendMessageDecoder

Motivation
In tests we would like to use EmbeddedChannel, if we decode and encode in the PSQLChannelHandler using the NIOSingleStepByteToMessageDecoder, we need to decode messages the handler wrote to the channel from bytes.
Changes

Add PSQLFrontendMessageDecoder
Add ReverseByteToMessageHandler

Notes
The changes are mostly in the test target. Enabling easier tests in the future.

Urgh! I messed up GIT. Will need another force push.


#51 support chrome for testing

Even though the CI has not passed, rerunning failed tests on local machine results to pass.
Thereby I'm going to merge this and leave comment on #50.


Deadlock in REST.java

Hello and thanks so much for the great library.  I know you said that it is not thread safe, but do you have any ideas on how I can make it so?  It's very strange because I've been using the library for around a year with no problems.  Now, all of a sudden I'm getting these deadlocks in REST.java where it is synchronizing on the mutex object.  I tried synchronizing the whole method, but no luck.  Hopefully someone smarter than myself can give me a little advice.
Thanks!
PS - I'm running my gallery on Tomcat in Linux with Java 7.

FYI - I took the synchorized (mutex) lines out of REST.java and it seems to be working fine now.  I do a lot of caching in my gallery code, so the REST.java is not called all that much really.  I'm sure there was a reason to synchronize that code, but I'm just not sure what it was.   I would still like to understand that if anyone else knows.  Thanks!

Hi, it looks like the DocumentBuilder is not thread-safe hence the synchronization.
That code predates me taking over the library, I'd probably have just instantiated a builder each time. It's slower but simpler and means the class would then be thread-safe.
I don't get much time to work on this project at the moment but suggest that you might want to instantiate a DocumentBuilder within the method if you decide to take out the mutex wrapper.
I don't think there's any other mutable state in that class but I only have a quick look at it.

Thanks so much for the advice!  I modified the code as you suggested.  Is it ok to just have one instance of DocumentBuilderFactory, or should I do a new instance of that each time as well?

It looks like it's also not thread-safe so don't set one as a field either, just keep it a local variable.
http://stackoverflow.com/questions/9828254/is-documentbuilderfactory-thread-safe-in-java-5

Ok, thanks again for the help!


Updated kafka-server start/stop scripts to use a pidfile

Using ps is sometimes not a good idea. Especially if there are multiple kafkas running.
This change implements using a pidfile (that can be changed through environment variables).
This will make things more robust and follow best practices.

I guess its ok that the checks are failing?

Curious, we are experiencing an odd mix of status.
confluent status shows all services down
running systemd status  shows the service as up.
root@broker02:/etc/kafka# confluent status
ksql-server is [DOWN]
connect is [DOWN]
kafka-rest is [DOWN]
schema-registry is [DOWN]
kafka is [DOWN]
zookeeper is [DOWN]
root@broker02:/etc/kafka#
root@broker02:/etc/kafka# systemctl status confluent-kafka
● confluent-kafka.service - Apache Kafka - broker
   Loaded: loaded (/lib/systemd/system/confluent-kafka.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-05-29 18:46:53 UTC; 7min ago
     Docs: http://docs.confluent.io/
 Main PID: 21412 (java)
    Tasks: 60 (limit: 2362)
   CGroup: /system.slice/confluent-kafka.service
           └─21412 /opt/java/bin/java -Xmx1G -Xms1G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true -Xloggc:/v

I'm guessing the patch suggested here is to address this issue? I traced the status command and found that the pid file in /tmp was not even being created.
Host os is ubuntu 18.04.
root@broker02:/etc/kafka# dpkg -l | grep confluent
ii  confluent-camus                        4.1.0-1                           all          Camus is a Kafka to HDFS connector.
ii  confluent-cli                          4.1.0-1                           all          Confluent Platform CLI allows you to start and manage
ii  confluent-common                       4.1.0-1                           all          Confluent utilites for Java
ii  confluent-kafka-2.11                   1.1.0-1                           all          publish-subscribe messaging rethought as a distributed commit log
ii  confluent-kafka-connect-elasticsearch  4.1.0-1                           all          Kafka Connect connector for copying data between Kafka and Elasticsearch
ii  confluent-kafka-connect-hdfs           4.1.0-1                           all          Kafka Connect connector for copying data between Kafka and Hadoop HDFS
ii  confluent-kafka-connect-jdbc           4.1.0-1                           all          Kafka Connect connector for JDBC-compatible databases
ii  confluent-kafka-connect-s3             4.1.0-1                           all          Kafka Connect S3 connector for copying data between Kafka and
ii  confluent-kafka-connect-storage-common 4.1.0-1                           all          Kafka Connect Storage Common contains packages used by storage
ii  confluent-kafka-rest                   4.1.0-1                           all          A REST proxy for Kafka
ii  confluent-ksql                         4.1.0-1                           all          Streaming SQL engine for Apache Kafka.
ii  confluent-platform-oss-2.11            4.1.0-1                           all          Confluent Platform Open Source
ii  confluent-rest-utils                   4.1.0-1                           all          Confluent utilities for writing Java REST APIs
ii  confluent-schema-registry              4.1.0-1                           all          RESTful Avro schema registry for Kafka

FYI: I've been working on a similar solution in my environment and I've discovered that echo "$!" provides the correct PID when running without the -daemon flag, but an incorrect PID when running with the -daemon flag.


Submits as python3 when specified as pypy3 in config.

# ~/myproject/.boj/config.yaml
general:
  selenium_browser: "firefox"        # required - firefox | chrome | edge
  default_filetype: "py"           # optional - default filetype for 'boj add'
  editor_command: "code"         # required - code | nvim | ..
workspace:
  ongoing_dir: "problems"           # optional - ongoing problem directory. default: ""
  archive_dir: "archives"           # optional - archive directory.         default: "archives"
filetype:
  py:
    language: "pypy3"             # required - language  for your submission
    main: "main.py"                 # required - the main file name
    source_templates:               # optional - these files will be copied into source dir
      - "main.py"
    run: "pypy3 $file"            # required - the run command
  cpp:
    language: "c++17"
    main: "main.cpp"
    source_templates:               # optional - these files will be copied into source dir
      - "main.cpp"
    root_templates:                 # optional - these files will be copied into root dir
      - "compile_flags.txt"
    compile: "g++ -std=c++17 $file" # optional - set this option if you use compile language
    run: "./a.out"
    after: "rm -rf a.out"           # optional - command to execute after 'boj run'
    # other filetypes ..

When submitting, boj_info in the data to make the submission incorrectly notes that the value corresponding to 'language' is 28, when it should be 73, as per the setup
{"id": "REDACTED", "title": "REDACTED", "filetype": "py", "language": 28, "source_path": "main.py", "testcase_dir": "testcases", "checksum": "REDACTED", "accepted": true}

I'm having a hard time locating where this specific self.boj_info_repository.find is implemented. If you could tell me where this specific method is implemented, I can take a look.

I'm sorry but i can not reproduce this issue. If you have ever changed the language settings, then you better run the boj add  command again.
I don't actually use pypy3 language but i could test and see the language code was set to 73 correctly.

ah, the config is applied for every problem you add using boj add. I expected that if I change the config, it will submit every problem as written in the config.

Yeah, it used to be like that, but then i had to handle too many things in submit command.
Is your issue now resolved then?

Yeah, there is no issue. Thank you.
On Wed, May 15, 2024, 5:16 AM . @.***> wrote:

Yeah, it used to be like that, but then i had to handle too many things in
submit command.
Is your issue now resolved then?
—
Reply to this email directly, view it on GitHub
https://github.com/xvzc/boj-cli/issues/27#issuecomment-2112371295, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKKS2N6OSZE3SRJVYSOOGT3ZCNG2HAVCNFSM6AAAAABHXX3KUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSGM3TCMRZGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update wrangler version

Because the HMR bug is solved in wrangler v3.19.0 (https://github.com/cloudflare/workers-sdk/issues/4318#issuecomment-1840232207), we can now pin the wrangler version to "^3.20.0".

Thanks @supachaidev! I'm testing now. Will you add it to templates/cloudflare-workers as well?

Alright, tested and this does seem to fix it!
Unfortunately HMR seems to be broken on templates/cloudflare-workers though if you go to ^3.20.0, I'm not totally sure why. I think that would need to be fixed before merging this in as well

@brookslybrand With templates/cloudflare-workers, the HMR works if you refresh the page once after running the dev server with npm run dev. I'm not sure whether this behavior comes from Remix HMR or wrangler.

@brookslybrand With templates/cloudflare-workers, the HMR works if you refresh the page once after running the dev server with npm run dev. I'm not sure whether this behavior comes from Remix HMR or wrangler.

I noticed this in earlier versions of wrangler perhaps even before v3, while using the workers template. I had to refresh the page once and then the websocket connection for refreshing the page worked after that. Perhaps the workers and pages template use a different semantic under the hood.
I'd advice though that Remix should recommend running on Pages if using Cloudflare and discontinue that template. Cloudflare also recommends people to use Pages for web apps as well. There are more benefits to using Pages than deploying on Workers

@brookslybrand With templates/cloudflare-workers, the HMR works if you refresh the page once after running the dev server with npm run dev. I'm not sure whether this behavior comes from Remix HMR or wrangler.

I noticed this in earlier versions of wrangler perhaps even before v3, while using the workers template. I had to refresh the page once and then the websocket connection for refreshing the page worked after that. Perhaps the workers and pages template use a different semantic under the hood.
I'd advice though that Remix should recommend running on Pages if using Cloudflare and discontinue that template. Cloudflare also recommends people to use Pages for web apps as well. There are more benefits to using Pages than deploying on Workers

I hope it doesn't go that way. Not everyone wants to and/or is able to use Pages. Deploying to Workers offers tremendous flexibility. It's also the easiest way to get started with Remix in any capacity. Users can go from nothing to global deploys in <5 mins. Pages, while great, is an additional deployment dependency users have to learn and pay for.


LTLMC reporting deadlock node

If a node is just final because no further rules apply (execution got stuck), is that considered a deadlock node to ltlmc?
Also, can I get any extra information about the deadlock like what is the locked resource?
Thank you

Hi Omar,
In general, execution can also get stuck when programmer didn't not specify rules properly. We shouldn't regard this case as deadlock. But I think ltlmc doesn't distingsuish this case and real deadlock.
I don't think we have a detector for the locked resource. Sorry for that.
Shijiao

OK. I'm talking about a configuration that is an acceptable final state according to my semantics. So should I make these syntactic categories that get stuck KResult?
I tried that and it still gave e deadlock!

What version of K Tool (and ltlmc) do you use?

OK, so you have some state that you accept to be final, but it was judged as deadlock in ltcmc, but you don't want that, right? Do you computation left in  cell for your final state?

Yes, that's right. I accept the state as final but it was judged as a deadlock in ltlmc, and I don't want that. But I didn't understand your question. There are threads with computations left in their k cell.

I am using the latest stable 3.5.

I guess it is the computations left in K cell that makes ltlmc confused. Can you try craft a rule to remove the stuff in K cell (place it elsewhere maybe) when you reach the final state?

I'm going to jump in here and try to explain. Deadlock, in this context,
just means that the ltl model checker has detected a cycle in which a state
is succeeded by itself. Because Maude's model checker is based on infinite
sequences of states, a terminal state is simply represented by a state that
leads to itself. Thus, all final states present in a ltl counterexample
will be treated as deadlocks by the model checker. It shouldn't really
matter what the model checker calls it though... Can you explain why you
are concerned about this?
On May 23, 2015 9:36 AM, "laurayuwen"<EMAIL_ADDRESS>wrote:

I guess it is the computations left in K cell that makes ltlmc confused.
Can you try craft a rule to remove the stuff in K cell (place it elsewhere
maybe) when you reach the final state?
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/issues/1517#issuecomment-104903021.

OK, that makes sense. thanks @dwightguth. Actually it is a counter example. I shouldn't be concerned about this, now that I understand. Thank you

The way a non-total transition system is transformed into a total transition systems is depending on the model checker. Maude LTL model checker does it as Dwight explained.
I asked about the version just to be sure that Maude LTL model-checker is used.


Get Text returns null

Hi,
I am trying to Get text but it is returning null value, could you please help me.

Which library?


No teavm IDEA 0.10.0 plugin available

Subj.

That's because it did not pass verification. JetBrains has suddenly deprecated a class used by plugin. See details here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/19445476369426-Optionally-depending-on-other-plugins-in-2024-1 Can't do anything until I get some response from JetBrains guys


Improve JS/CSS for Content Security Policy

It is necessary to improve JS/CSS for CSP - especially remove inline scripts/styles.
Configuration of CSP for Admin UI:
https://github.com/skoruba/IdentityServer4.Admin/blob/a3959848db98d6b9e0b9b7f25ba52645492b12f5/templates/template-publish/content/src/SkorubaIdentityServer4Admin.Admin/Helpers/StartupHelpers.cs#L90-L102

can i do that at STS.Identity? what is the impact if I use it. I can't use Javascript because of csp issues.

Can you use js in external file in STS?

The JS doesn't work and always comes out "Refused to apply inline style because it violates the following Content Security Policy directive:" style-src 'self' ... "
But when using the above configuration is OK. what is the impact if use it .

Hi
I have the problem. When my token expires and I try to access the system, I am redirected to the identity login page, but the page appears completely empty.
I got the same code for UseSecurityHeaders, including "app.UseXfo (options => options.SameOrigin ());" from IdentityServer.admin and put into STS.Identity.
Than, my problem stopped.
But another problem happened to occur. At browser console have a new error message:
"Refused to display 'https://mydomainIdentity/connect/checksession' in a frame because it set 'X-Frame-Options' to 'sameorigin'.", It disappears when I remove the "app.UseXfo (options => options.SameOrigin ()); ", but I have a white page problem again.


huggingface requirement?

Just trying to setup this on Modal and going through the readme
On issuing modal deploy shush.py I hit the error
NotFoundError: No secret named huggingface - you can add secrets to your account at https://modal.com/secrets
Do I just need a hugging face account as well ?

Thanks very much ❤🙏


Squaring does not remove extra nodes

Description
See this building: w1147172201
It has an unnecessary node that does not disappear, like it would when hitting the Q key to square a building in v1
Version
2.0.0-beta.0
What browser are you seeing the problem on? What version are you running?
Chrome v110.0
The OS you're using
No response
Steps to reproduce
No response
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-beta#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&id=w1147172201&map=19.53/25.40176/-101.01577
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
No response

Chris- after you square the building, would you mind hitting 'refresh' on the browser and then when the 'keep changes' pop up appears, click yes to keep them. Do the extra unnecessary nodes disappear?

@Bonkles let me try with a new building. With this one, after I submitted the changeset, if i select and square it again, the node disappears, which is nice.
Okay so--now I cannot reproduce. it may have had to do with lagging and I squared then moved away but the lag meant it didn't catch up to remove the node. Works when I got slowly now everywhere. Was thinking maybe when 2 nodes are very close together it happens, but no reproduce. So closing unless I encounter it again!

Hmmm.... all right, if you say so. :) I'm not convinced this isn't a problem though. Do keep an eye out for similar 'right click' type operations. Thanks!


Morning session: Peer-to-peer code review 9/09/2021

Hi, thanks for your support :+1:

Nice implementation man! keep the good work! 💪 💯


[Avatars] Define copilot avatar rules

Context
Coming from https://github.com/Expensify/App/pull/49172
https://github.com/Expensify/App/pull/49172#discussion_r1775451521
https://expensify.slack.com/archives/C036QM0SLJK/p1727279530650369?thread_ts=1727098305.117189&cid=C036QM0SLJK
Issue OwnerCurrent Issue Owner: @dylanexpensify

@dylanexpensify can you help confirm what the copilot avatar should be / when we use it?

Bump when you can @dylanexpensify - basically short version of the question(s):

which avatar should we show in a report preview if a copilot submits an expense? If there are multiple expenses, some by a copilot and some by the original account, should we show both?

Ahh good question - @dannymcclain @dubielzyk-expensify any design thoughts? I'd think if it's a mix, we only show the original account, and if drilled in to view by expenses, we'd then show via the dual avatar for those submitted by copilot

Looking at the original Figma file (this frame and the ones to the right), it looks like we'd just use the avatar of the account that the copilot is controlling—and any avatar permutations would just show up as "normal".
So in the Figma example:

Shawn is copiloted into Jon's account
The expense report comes from Jon
In the expense view, you can see that Shawn is the one who actually submitted the report

Is that helpful?

That's right Danny. Me and Shawn spoke about this and we wanted the key principle to be transparent and honest of who's making the actual action. So there's an argument that the expense should come from "Shawn on behalf of Jon" and use Shawns avatar on the submission of the expense as well, but this might be a tad confusing.
Either way we'll be covered as long as the expense has the system message.

Nice, thanks for the breakdown y'all! @grgia does this clarify it?

Okay cool, then I think we don't need to make any changes, right @grgia ? I think that's how the current system will work

Nice, agree

Oops sorry one more to confirm - similar, but not the same.
For threads, we also show the avatars of the last four people who've interacted in the thread. If that is also a mix of copilot and original accounts, do we show only the original account, or both?

I'd follow this logic here:

That's right Danny. Me and Shawn spoke about this and we wanted the key principle to be transparent and honest of who's making the actual action. So there's an argument that the expense should come from "Shawn on behalf of Jon" and use Shawns avatar on the submission of the expense as well, but this might be a tad confusing.

okay so I think then we can close this issue as won't do, since as is it'll match our handling for expense reports. The summary will show only the avatar of the delegator account, and clicking into the thread will show the specifics of who did what, with system messages and appropriate avatars.
Will close these but let me know if anyone disagrees!


[1.11.2] Transmitter tooltips

Almost all transmitters have a wrong extended tooltip (holding shift). Most of them show the energy tooltip, some a fluid tooltip. Also the thermodynamic conductors do not have a normal tooltip.

Fixed!


asdict recursion with value_serializer

Hello, and thanks for attrs!
The docs for asdict state the following for the recurse argument:

Recurse into classes that are also attrs-decorated.

However, when using a value_serializer with asdict it's clear that the recursion also happens for non attrs-decorated objects. Here's a simple example:
from typing import List

import attr

@attr.s()
class MyClass:
    a: List[int] = attr.ib()

def serialize(inst, field, value):
    print(f'inst: {inst}')
    print(f'field: {field}')
    print(f'value: {value}')
    print('')
    return value

if __name__ == '__main__':
    mc = MyClass(a=[1, 2, 3])
    attr.asdict(inst=mc, recurse=True, value_serializer=serialize)

And here's the resulting output:

inst: MyClass(a=[1, 2, 3])
field: Attribute(name='a', default=NOTHING, validator=None, repr=True, eq=True, order=True, hash=None, init=True, metadata=mappingproxy({}), type=typing.List[int], converter=None, kw_only=False, inherited=False, on_setattr=None)
value: [1, 2, 3]
inst: None
field: None
value: 1
inst: None
field: None
value: 2
inst: None
field: None
value: 3

This behavior is not expected considering the documentation for asdict. While I haven't done any bench marking, this seems like it could also add a performance hit for attributes that contain a lot of data.
With the contrived/simple example out of the way, here's my "real world" use case:
I'm using attrs to create dataclasses that hold large amounts of data. The data comes in as JSON, and attr.ib converters are used to convert lists of lists to numpy arrays for mathematical operations.
After my program's computations are complete, it's time to send the results back. Since numpy arrays do not directly serialize to JSON, they must first be converted to a list. This seemed like the perfect opportunity to use attr.ib + metadata combined with asdict + value_serializer. However, I don't want my value_serializer function called for every element in a huge array!

Hm, let's pull in @sscherfke but I wouldn't consider calling a serialization hook "recursing"? My gut feeling tells me that the current behavior is necessary for advanced features.
Your problem can probably be solved using the filter argument?

Thanks, @hynek for your response. I agree that calling the serialization hook itself is not "recursing," but rather when recurse=True and a value_serializer is provided, the value_serializer gets called for every recursive call to asdict (and by looking at the source, also for every recursive call to _asdict_anything, which always recurses for tuple, list, set, frozenset and dict instances).
As a user I expected my value_serializer to be called once for each attribute of my attrs class, but instead it's being called recursively for every sub-item in the attribute until primitive types are hit (well, technically until an object that is not a tuple, list, set, frozenset or dict is hit).
As to your suggestion: I agree - I can solve my problem by using a filter so that my arrays (lists of lists (... of lists of lists...)) do not have value_serializer called for each element recursively. Unfortunately, this will require me to call asdict twice during serialization, which doesn't seem as ergonomic as calling it once with a value_serializer that is only called once per attribute.
Whether the resolution to this issue is to improve the docs, update the code, or do nothing, thanks for maintaining this great package.

Sounds like we think the behavior is correct, but some clarification in the documentation would help.

Sounds like we think the behavior is correct, but some clarification in the documentation would help.


Add Alacritty v0.4.3

Microsoft Reviewers: Open in CodeFlow

See #1380 for related issues with dependencies.


Fix Typo ProjectSettings.xml, in Editor/Script Templates description

typo.  Sorry, it bugged me.

Please amend the commit message to something more meaningful such as "Fix typo in the ProjectSettings class documentation".

Force pushed an update with the commits squashed and a meaningful commit message as requested.

Thanks!

Cherry-picked for 3.2.4.


Allow template tags on field's default value to store unique ID or filepath

Problem
Currently a big limitation of NetlifyCMS is the inability to create relationship based on an immutable data. Other GitBased CMS allow to use the filepath of a content file as relation connexion.
In NetlifyCMS we usually fallback on using the Title of an entry to establish this relation. But Title can change, and upon doing so, the connexion is lost.
Solution
Fixing this would mean to insert a certain dynamically generated Front Matter value upon a file creation. Given Front Matter key could then be used as a reference point in establishing relations.
If template tags were allowed on field's default key, this would simply mean adding a hidden string populated upon file creation:
  - name: path
    widget: hidden
    hidden: true
    default: '{{dirname}}/{{filename}}.{{extension}}'

Hi @regisphilibert, are you using the relation widget? If so you can use value_field: "{{slug}}" to create an immutable relation, see https://www.netlifycms.org/docs/widgets/#relation
If not please share config.yml of how you're creating the relationship.

Yes I'm using the relation field and never knew you could use template tags in the value_field value! This will change a lot of things!

Sorry to use this channel for another inquiry, but is slug the only template tags available or can we use any template tags?

You should be able to use any field via {{fields.name}} and also dirname,filename,extension.

Awesome thank you!


Adding description

https://github.com/MicrosoftDocs/office-docs-powershell/issues/5899

Docs Build status updates of commit 3d1379e:
:clock10: Full build: the average full build time is 18 min(s) 1 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 3d1379e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

ValidatePublishRequest
:warning:Warning

Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOHideDefaultThemes.md
:white_check_mark:Succeeded
View (sharepoint-ps)

ValidatePublishRequest

[Warning-RepositoryOwnerPermissionInsufficient] Owner kenwith no longer has Admin permission of the repository https://github.com/MicrosoftDocs/office-docs-powershell. It might be due to recent GitHub changes on SSO. Please ask the owner kenwith to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@chrisda Please merge this PR. Thanks

Docs Build status updates of commit 5eb6587:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 5eb6587:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOHideDefaultThemes.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Detailed File Structure

Is it possible to share a detailed file structure?
Like how dataset images are organized?
How the models are organized?

Here is the strcuture of face image dataset, which is applied to train face recognizer.

TrainGeneratorDataset contains the face image dataset and shape dataset.
The face image dataset consists of the cropped images from ClippedFaceBank, and the auxilary information (i.e., .mat file) outputed by recon.py file.
The shape dataset is the shape template.


ALE should not steal status line from other commands

Information
VIM version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 18 2018 04:09:42)
macOS version
Included patches: 1-1522
:ALEInfo
Current Filetype: help
Available Linters: ['alex', 'proselint', 'write-good']
Enabled Linters: []
Linter Variables:
Global Variables:
let g:ale_cache_executable_check_failures = 0
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {'tex': ['chktex', 'lacheck'], 'python': ['mypy', 'pylint']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = 0
let g:ale_open_list = 0
let g:ale_pattern_options = {}
let g:ale_pattern_options_enabled = 0
let g:ale_set_balloons = 1
let g:ale_set_highlights = 1
let g:ale_set_loclist = 0
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 1
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']
let g:ale_type_map = {}
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
Command History:
What went wrong
when g:ale_echo_cursor is activated, helpful error messages appear when moving to the line. however, i need the vim status line also for other things. in my case, displaying type information for the OCaml language, which also requires the cursor to be on the line in question. when i try to do that, ALE then redisplays its own error message, stealing my status line display.
desired behavior: ALE should never overwrite an explicit user-generated command output with autogenerated status line messages. currently i have to deactivate echo_cursor, which is not ideal since most of the time the error messages are useful.
Reproducing the bug

move cursor to a line with ALE error message and echo_cursor active.
:echo "something" works fine.
do step 1. in an OCaml file (ft=ocaml) with the merlin syntax checker activated.
:MerlinTypeOf on some identifier in this line will print the type but will soon get replaced by the preexisting ALE message. this is undesired.

i'm almost sure this behavior can be reproduced also independently of OCaml/merlin. however my simplest attempt (step 2.) did not reproduce the problem.

If I run neovim with -V9 I see a lot of BufWinEnter events after each :MerlinTypeOf call. It looks like merlin has a buffer for its type history and is switching between them when executing the TypeOf function: https://github.com/ocaml/merlin/blob/master/vim/merlin/autoload/merlin_type.vim
If I set 'let g:ale_lint_on_enter=0' in my '.vimrc' then ALE doesn't steal the statusline from merlin anymore. (note this only takes effect when set in .vimrc, setting it at runtime doesn't work)

Printing a message when linting ends shows a problem at your cursor if your cursor is resting on a problem, but you haven't moved it yet.

for me, disabling linting on entering the buffer was enough to make it usable with merlin. apparently linting is not triggered when the cursor just sits there after displaying a message not coming from ALE. so i think careful choices for when linting is triggered may be enough to make ALE non-intrusive enough.


[Enhancement] Container widget (Tabs, Frames, etc.)

It would be great if the library provides some kind of containers. They are a good way to create complex layouts with current widgets. For example:

Panels/Frames
Tabs

Thanks for the suggestions @fsancho. Tabs have been a feature to add for quite some time and some initial research has been done on implementing this. I'll add Panels/Frames to the list as well.

Thanks for your fast replay and your wonderful work!

Hi @coding-jackalope , I really like this project. Slab is awesome UI!
I have some suggestions too (don't want to create another issue for this)

Window title frame editable height

Window title alignment (left, center, right)

flag or settings to turn off cursor image change (like arrows for resizing etc.)

Custom cursor image on actions (like resizing)

Anyway great job. This library is my must have on any project from now.

Hi @Veslo5, glad this library is helping out with your projects. I will look into adding these features in the next minor release.


Add 'error' to recognised payment states

The 'error' state occurs due to technical issues with
GOV.UK or Worldpay, and it should be recognised in order that
the user is redirected to try the payment again (as the copy on
the GOV.UK error page indicates that they will).

also, do you think we should at least log a message on our side in the case of a GOV.UK Pay error?


Will Keras output non-binary (continuous) predictions for a classification problem?

My current model is compiled as
model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy'])

and I get predictions like
[[ 1.  0.  0.  0.]]
[[ 0.  1.  0.  0.]]

Instead I'd like my class predictions to show a percentage
 [[ 0.8  0.1  0.1  0.4]]

Elsewhere I was advised to use loss='mse', but this was discouraged by another user.
This issue does not seem addressed in the docs (I'd be glad to add to docs any insight you can give).
Any advice on what is best practice using Keras?

If you're using predict() to generate your predictions, you should already get probabilities (provided your last layer is a softmax activation), nothing to do with the loss function. Are you sure you're using predict(), not predict_classes()?

@mbollmann thanks, you're correct -- it looks like despite using predict my output was ones and zeroes even in cases that were incorrectly classified (in these I expected a fractional output due to uncertainty). As you pointed out, I am using softmax.

@mbollmann  I check the predict_classes.

I don't use the function of predict_classes and use the predict function
Then i don't know what does the predict_classes return.
Does it be the format,like this.

[[ 1.  0.  0.  0.]]
[[ 0.  1.  0.  0.]]

I also don't know when use the function of predict_classes?
Thanks.

@alyato predict_classes treats the output of the model as class probabilities, and instead of returning the probabilities, it returns the index with the highest probability.
You can just try both functions and look at their output to see the difference.

@mptorr I have the same problem. model.predict() returns predictions (zeros and ones) and not the probability (although every document on Keras states the opposite).

How about using sigmoid as the activation function for the neural network classifying at the very end. Since sigmoid is differentiable, it returns value 1 or other values(0.39, 9.99, etc).

@root-master have you resolved this? I am also facing the same issue predict and predict_classes give {0,1}

predict_proba() is not there for functional api, I think. So how to get the predicted real values if it a regression problem in lstm?

In my case, model.predict() and model.predict_proba() both give probabilities. model.predict_classes() give binary responses

make sure your target is categorized:

labels = [0,1,1,1,0]
labels = to_categorical(labels,num_classes = None)
labels = [[1,0],[0,1],[0,1],[0,1],[1,0]]

and then:
model.add(Denese(2,activation= 'softmax'))
ans then:
model.fit(X_train,label,...)
model.predict(X_test)

@root-master , was there any resolution to this issue?

Any Solution To this ?

You can do it with by migrating to previous layer in model . before final layer .
It will show the prob ,


Implement proper way to handle carbons

It sort of works right now, but it might be insecure. Also I have to figure out, how to give decrapted carbon messages back to the client. Same method signature as CarbonReceivedListener? What about the wrappingMessage? Does it stay untouched?
Questions and questions...

Done


Import matplotlib works fine from the command line, but is not imported inside spyder

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

I freshly installed anaconda and then installed spyder from anaconda.
when running python3.9 from the command line "import matplotlib" runs fine and the code produces the expected plot
when running inside spyder "import matplotlib" fails

What is the expected output? What do you see instead?
I expected a return to the REPL in the IPython console, but I see:
ModuleNotFoundError: No module named 'PIL'  instead
Paste Traceback/Error Below (if applicable)

In [5]: import matplotlib
Traceback (most recent call last):

  Input In [5] in <cell line: 1>
    import matplotlib

  File ~/.local/lib/python3.9/site-packages/matplotlib/__init__.py:109 in <module>
    from . import _api, _version, cbook, docstring, rcsetup

  File ~/.local/lib/python3.9/site-packages/matplotlib/rcsetup.py:27 in <module>
    from matplotlib.colors import Colormap, is_color_like

  File ~/.local/lib/python3.9/site-packages/matplotlib/colors.py:51 in <module>
    from PIL import Image

ModuleNotFoundError: No module named 'PIL'

Versions

Spyder version: 5.1.5
Python version: 3.9.7
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: Linux 5.4.0-100-generic

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.0.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.0.2 (OK)
IPython >=7.6.0               :  8.1.1 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.1 (OK)
jsonschema >=3.2.0            :  4.4.0 (OK)
keyring >=17.0.0              :  23.4.0 (OK)
nbconvert >=4.0               :  6.4.2 (OK)
numpydoc >=0.6.0              :  1.2 (OK)
parso >=0.7.0;<0.9.0          :  0.8.3 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.9.0 (OK)
pygments >=2.0                :  2.11.2 (OK)
pylint >=2.5.0;<2.10.0        :  2.7.2 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.2.2;<1.3.0          :  1.2.4 (OK)
pylsp_black >=1.0.0           :  None (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.2.1 (OK)
qtawesome >=1.0.2             :  1.1.1 (OK)
qtconsole >=5.1.0             :  5.2.2 (OK)
qtpy >=1.5.0                  :  2.0.1 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  60.9.3 (OK)
sphinx >=0.6.6                :  4.4.0 (OK)
spyder_kernels >=2.1.1;<2.2.0 :  2.1.3 (OK)
textdistance >=4.2.0          :  4.2.2 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3             :  2.1.6 (OK)
xdg >=0.26                    :  0.27 (OK)
zmq >=17                      :  22.3.0 (OK)

# Optional:
cython >=0.21                 :  None (OK)
matplotlib >=2.0.0            :  3.5.1 (OK)
numpy >=1.7                   :  1.22.2 (OK)
pandas >=1.1.1                :  1.4.1 (OK)
scipy >=0.17.0                :  1.8.0 (OK)
sympy >=0.7.3                 :  1.9 (OK)

Hey @wfeiereisen, thanks for reporting. It is unclear if you are using Anaconda or not, but it seems you are.
If that's the case, please open a terminal and run the following command
rm ~/.local/lib/python3.9

That will remove that directory and most probably fix your problem.
Please do that and let us know if it works for you.

Hi, Thank you, That worked! So that I understand, can you please tell me if ~/.local/lib/python3.9 was some other library that was pre-empting the anaconda-installed library?

Yes, that's what was happening, i.e. the Matplotlib present in ~/.local/lib/python3.9 was shadowing the one in Anaconda.
That happens when you install packages using pip install --user, so please avoid doing that in the future.


Can't run ui

~/devika/ui# bun run dev
$ vite
(node:13462) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token '??='
at Loader.moduleStrategy (internal/modules/esm/translators.js:145:18)
(Use node --trace-warnings ... to show where the warning was created)
(node:13462) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:13462) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Update to latest node js

Update to latest node js


Re-write supervisor pattern to work with xtra::Actor::Stop

With this patch, we are adopting a proposed patch of xtra that
allows actors to return a value from stopped. We utilize this
communicate the reason why an actor stopped back to the supervisor.
This has multiple benefits:
a) We no longer need the supervisor's address within the supervised actor.
b) It is impossible to "forget" to report the stop reason to the supervisor.
c) It allows us to easily supervise ANY actor because they no longer
need to have "knowledge" of the supervisor module.
The fork of xtra that we are bumping in this patch also contains another
patch that is of interest to the supervisor pattern: We change the default
of Actor::stopping to KeepRunning::StopSelf which makes our supervisor
pattern work in the first place.

bors r+


chore(bindings): superchain registry docs

Adding a New Chain
This PR adds [Chain Name Here] to the registry.
Checklist

[ ] I have declared the chain at the appropriate Superchain Level.
[ ] I have run just validate <chain-id> locally to ensure all local validation checks pass.
[ ] I have run just codegen to ensure that the chainlist and other generated files are up-to-date and include my chain.

#473  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @refcell and the rest of your teammates on  Graphite


Implementation: "Team Burstiness"

This feature measures the temporal correlation between team activities.
Paper: https://journals.aom.org/doi/abs/10.5465/amd.2015.0097

[ ] Copy the Template. Go to the Feature Wiki and Copy/Paste the Feature Template into a new page.

[ ] Fill out the Template. Fill out the basic information for the feature in the template. Use the template to document your plan for implementation and major design decisions; if anything changes along the way, update the documentation as you go.

[ ] Create a new Feature file. Create a new file in the folder feature_engine/features. The name of the file should be NAME_features.py, where NAME is the name of your feature.

[ ] Code your feature. Write the code for the feature.

[ ] Evaluate/Unit Test. Come up with a method of evaluating your feature. How do you know that the feature is 'correct?' For simple features, this may be trivial; for more complex ones, you may need to break down each sub-function and unit test them separately, or validate on external data. Add your unit tests to feature_engine/test_featurize.py.

For each team i, we compute a coefficient of variation measure B (Goh & Barab ́ asi, 2008), defined as the ratio of the standard deviation to the mean of wait times t between team activities:

This measure is meaningful when both the mean and the standard deviation of wait times P(t) exist, which is always the case for real-world finite signals (Wooten & Ulrich, 2017). B has a value in the bounded range [21, 1], and its magnitude indexes with the signal’s burstiness: B 5 1 corresponds to the most bursty signal, B 5 0 to neutral, and B 521to a completely regular (periodic) signal. Thus, higher values of B correspond to spiked patterns of high team activity (high correlation of activity), whereas lower values of B correspond to more regular team activity (low correlation of activity).

Because teams varied in overall activity (different total numbers of messages and code submissions per team), one concern might be that the measure is overly sensitive to the total number of team events. To address this concern, we compute bootstrapped null models of B scores using 1,000 random samples for different numbers of team events (i.e., the expected distribution of wait times and, hence, of B for a team that has N events). Based on these null models, we then compute a z-score, BZ, for each team. Figure 3 shows the empirical cumulative distribution of response times of team activities across all teams on a log–log scale.


Concurrency improvements

My issue
I ran into what I think may be a bug in the Mixpanel SDK. This is how I reproduce it:

Sign into app with an existing account.
The sign in changes the Mixpanel distinct ID.
Because I changed the distinct ID I notify our code that controls Branch SDK because per Branch documentation anytime Mixpanel distinct ID changes Branch SDK should be updated.
When the code that controls Branch SDK is notified it gets the current distinct ID from Mixpanel.
The distinct ID does not match the distinct ID of the new signed in user. Instead it is the previous distinct ID that Mixpanel SDK stored which is a problem.

What I think the root cause is
Looking at the Mixpanel SDK code it looks like a concurrency issue. When I call identify the function does dispatch_async(self.serialQueue, ^{ to add thread safety to stuff like self.distinctId = distinctId;. Because dispatch_async is used and not dispatch_sync, the distinctId will not get updated during the current run loop. This explains why my code that controls Branch SDK does not get the distinct ID for the new signed in user.
A solution
I think this could be fixed by using dispatch_sync instead of dispatch_async when accessing data like distinctId. And then a dispatch_sync can be added to public distinctId accessor to truly make it thread safe. Right now I don't think read access to distinctId is completely safe because it doesn't use any dispatch. Is there a specific reason why dispatch_async is used? It seems like the dispatch is just for safety and there isn't long running work being done so dispatch_sync should be fine.
Also use of @synchronized seems redundant and I think could be removed and just rely on GCD.
Because replacing dispatch_async with dispatch_sync can change the order that code gets executed somebody that is familiar with this code would probably need to make sure there are no order of execution issues.

I've realized that flushWithCompletion enables another solution that is pretty clean. After sign in for example I do some Mixpanel work then call flushWithCompletion and inside the closure I notify my Branch code to send a new distinct ID to Branch SDK. My Branch code gets the current distinct ID from Mixpanel which is now the correct value because of the flush.
I'll use flushWithCompletion for now but I think it would be useful to look at the changes in this PR since I think they may simplify concurrency code and improve safety.


Remove "load url from future" in base.html

I'm getting a depreciation warning when using Django 1.8, and I think its coming from the debug toolbar.
RemovedInDjango19Warning: Loading the url tag from the future library is deprecated and will be removed in Django 1.9. Use the default url tag instead.
In base.html, there's {% load url from future %} on the first line which I think can just be removed as long as your ok with not supporting Django versions below 1.5 which isn't getting security updates any more.

Nevermind, this issue was already brought up in issue #706 but hasn't been pushed to pypi yet.

I'm using django-debug-toolbar==1.3.0 and it still there. Maybe it's time a new release on pypi.
Thanks.

I pushed a new version out today.


Project setup

Feature branch project-setup ready to merge into main.

Merging feature branch project-setup into main.


fix: add member initializer list to compile in older gcc versions

Add member initializer lists for constructors of Mat2, Mat3, and Mat4 to initialize data members directly.
In older gcc version, constexpr constructors must initialize all member variables using an initializer list.

EDIT (a bit of more context):
I am building a very simple robotics simulator to run with ROS and I am using this library for physics. However this does not work on older gcc versions (which is usually shiped with older Ubuntu/Debian versions).

Thanks! i will remove the duplicate initializations in the constructor body.


Update legacy branch

Bump Kyverno to version 0.14.9 (#133)
Add dependsOn feature
Bump Kyverno and Kyverno Policies Apps (#142)
Update pull request template

This PR:

adds/changes/removes etc

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

Ignore for now


remove api-auth

Django 1.11 raises a warning:
?: (urls.W005) URL namespace 'rest_framework' isn't unique. You may not be able to reverse all URLs in this namespace

... The only way I can see to silence this is to remove the below line from urls.py. This means that the API will no longer allow people to login to the API. As far as I know we were not using that ability anyway. Looking at the django-rest-framework documentation I can only see that this is used to add documentation and code-snippets to the API? (can @Bibiko or @stefelisabeth or @xrotwang confirm?)
Either way, without this line the tests pass, and in the interests of fewer moving parts (especially ones that have logins/etc attached), I'd vote that we should remove it anyway.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #470   +/-   ##
=======================================
  Coverage   93.61%   93.61%
=======================================
  Files          24       24
  Lines        1504     1504
=======================================
  Hits         1408     1408
  Misses         96       96

Impacted Files
Coverage Δ

dplace_app/urls.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

As far as I know, you are correct. At some point I played around trying to go further and remove also the Django AuthenticationMiddleware but that seemed to be incompatible with the rest-framework.

Ok, merged.


for #384,refine code for empty body request.

https://github.com/winlinvip/simple-rtmp-server/pull/388

No need to refine.


Bower Package

Add as package to bower.io.

I haven't used bower like for at least a few years. Is there still any value in using bower? I'd strongly recommend using a bundler, like webpack/browserify/rollup, so you can use the package from npm. I'd like to avoid adding another step to the release process unless it's really useful to do.

Hey, many projects are still using bower. I think it should be supported. I know it's flawed, but when trying to implement vue.js you shouldn't be bother about package manager.

That should be as easy as adding a file pointing to the umd module. Thanks for the suggestion!

I published a bower package. Version 0.3.0 should be available with dist inside, which provides minified files.