How to start? (CALL FOR COMMUNITY ARTICLES)

Short description
I'm trying to get into using dephell but the lack of a minimal working example is hindering my grokking it.
I was going here as it's the first example:
https://dephell.readthedocs.io/use-warehouse.html
and tried to execute the first line:
dephell inspect config --filter="warehouse"
WARNING cannot find config file
ERROR KeyError: '"warehouse"'

which I guess means that this example is not self-consistent? I fail to fully understand how to productively start with dephell currently.
Would it be easiest/fastest to start from a working setup.py file?
I learn mostly by example, so I think what would be really helpful for people getting into it would be a set of the following tutorials:

Minimal example using only dephell to make a package installable
Make it distributable via pypi
Add conda package generation.

At least in my world (astronomy/planetary), pypi and conda are the most used way to disseminate new packages.

Another issue I have is that poetry is being referenced a lot, so do I first need to learn what poetry is and does before I can use dephell? It kinda looks like that. So far, I'm only using setup.py, but there a lot of discussion has started around *_requires and its security issues, and as we are designing a new community Python package, I'd like to go the most future proof way to do this, and dephell seemed like a good candidate as it supports a lot of existing package dissemination formats.

Please, use quick start:
https://dephell.readthedocs.io/#quick-start

Make it distributable via pypi

DepHell is available on pypi. However, it's not the recommended way to install it.

so do I first need to learn what poetry is and does before I can use dephell?

You should know any dependency format. Setup.py is a bad choice because dephell can't modify it. But for most commands it's ok. Flit is a good choice for nice and simple format.

I saw quick start but it doesn’t help much in my opinion as the converter is so complex and goes into so many different potential lines of progress it’s more confusing than quick-starting.
My sequence of requested tutorials was about a candidate package to distribute, not about dephell itself, sorry if that wasn’t clear.

Hmm, that makes sense. A lot of sense. I think it should be an article.

Hmm. I've put a lot of labels here. I will do an article by myself but this is the point where I expect community help most. I'll be happy to see third-party articles about DepHell and promote them in the readme and docs.

I’ll be happy to promote once I understand it myself! :)

A few points that could be a good thing to talk about:

Quick start with zero knowledge in packaging. dephell deps convert --from=imports --to=setup.py is a really magic and underestimated thing. It can do a package from nothing!
Dependency formats. Why setup.py is difficult and obsolete, why flit deserves no less attention than poetry (I haven't affiliated with any of them).
Why many environments and isolations are a good thing. DepHell's philosophy is to keep a separate virtual environment and dependencies for every tool. None of the tools in Python do this. Pipenv, poetry and so on assumes that you have one venv per project.
A little bit about jail. Why CLI tools isolation is so important.
project bump has a cool long documentation about different versioning schemes. I did a talk about it and it had a lot of positive feedback. So, it can be turned into a cool article.

I'm going to do a talk on Moscow Python Conf++, and after it some parts of the talk can be turned into articles as well.

3: pipx seems to do this?

Popx and pipsi are about global cli tools, like jail in dephell. The third point, however, about per-project tools and checks like pytest with all required dependencies inside.

I particularly think some documentation on the configuration options would be useful - and some stuff on exactly what mutation/layers means.
Actually just looking through the doc folder I see there is a lot more info on individual commands that otherwise is not obvious to find - particularly if, like myself, you start reading the docs at the "Main Info" section.

Quick start with zero knowledge in packaging. dephell deps convert --from=imports --to=setup.py is a really magic and underestimated thing. It can do a package from nothing!

If i am understanding you correctly that is indeed very cool - and I had no idea dephell could do that.

Layers are layers in your dependency graph. In the center is your project (or more virtual projects if you are merging two dependency files), it's zero layer. The first layer is your project direct dependencies that you explicitly specified. The second layer is dependencies of dependencies and so on. Graph is cyclic directed, we can handle cycles as well.
Mutations hapoen when we faced with dependencies conflict. DepHell is the only tool that values "as few network requests as possible" over "as few mutations as possible". In some cases it is the same but not always. So, you can see a lot of mutations happen in a row. No worries about it, dephell never repeats the same mutation twice. Mutations stop when the conflict is reconflict resolved or dephell tried to many mutations (200 by default) without success. In the second case you get the conflict report.

Actually just looking through the doc folder I see there is a lot more info on individual commands

DepHell had one-level menu before, with all commands listed. Now it's grouped. It's hard to make friendly docs for such a big tool that can do everything but I try my best. Docs for dephell project bump my favorite.

Ask more, let's see what is missed

Hi, I am new to dephell. Good project! I am struggling a little bit with the documentation. In particular, I'd like to understand what is the current docker support. I've been able to create a docker image using dephell docker create. However, this image does not contain the packages installed in the venv ( dephell deps install ). Is there a way to do it?

@mfoglio, that's a good catch. Right, there is no built-in way to install deps into docker yet. And it is definitely in the plans. I've seen a few projects using dephell, they use on of the next solutions:

Convert deps into requirements.txt and do dephell docker run pip install
Install dephell inside and call dephell docker run dephell deps install

As I said, direct support is certainly should be implemented soon, these workarounds too verbose but that's what we have now.

Do you think it would be difficult to implement this? I can try to get my hands dirty, but I've never contributed to an open-source project before so I would need some guidance.


Add more of the Deploy e2e tests

networking or file system related issues during deployments, etc.
compatibility (an attempt to deploy zkApp using golden-master configuration).

Done.


[Feature Discussion] Adding SSE requests to Slim

I wanted to start a discussion about if SSE (Server Sent Events) would be a nice addition to Slim, if it would be useful enough to even think about adding or even possible to add.
I recently had a project which needed server bound event triggers, I wasn't able to use Node which for this kind of project I would tend to use and I didn't want to use polling, sort or long, so I chose to use SSE to handle the page updates.
With this project I used Slim, however the SSE endpoints were not able to be used within a Slim response.
What are everyones thoughts on this, would it be nice to allow SSE requests / responses, these requests aren't like standard open and close requests so not sure how they fall in the PSR-7 standard.

Could you provide links to any explanatory texts for what they are, in your understanding? It sounds interesting.

SSE's basically create a socket like request over HTTP, however the connection doesn't close unless you ask it to be closed, if the browser hears it close it automatically reopens the connection to begin listening again.
They are an HTML5 alternative to web sockets, long polling and short polling, some may say they are still polling but with the added extra of having the browser handle them instead of the developer.
if you open the browsers dev tools and reload the example, you will see the request to stocks.php and the request doesn't have a http response but instead it has a eventstream auto updating with the data it receives from the server.
Example: (Uses SSE to update stocks live)
http://demo.howopensource.com/sse/
Information / Tutorials:
http://www.howopensource.com/2014/12/introduction-to-server-sent-events/
http://www.htmlgoodies.com/beyond/reference/receive-updates-from-the-server-using-the-eventsource.html
http://www.w3schools.com/html/html5_serversentevents.asp

Thanks for the context, it will help the discussion a lot!

Since they are just plain old HTTP it is possible already to serve SSEs with Slim. Let's assume you have the following JavaScript.
var source = new EventSource("/events");
source.onmessage = function(event) {
    console.log(event.data);
};

Simple SSE route would look like this.
$app->get("/events", function ($request, $response, $arguments) {
    $data = time();
    return $response
        ->withHeader("Content-Type", "text/event-stream")
        ->withHeader("Cache-Control", "no-cache")
        ->write("data: {$data}\n\n");
});

However this closes the connection which makes EventSource automatically reconnect every three seconds. It is also possible to make the /events route to stream the data by not using PSR-7 and going into a loop. However this is a bit kludgish and not the best thing to do with Apache.

Just wanted to see if this should be considered for the v4.0 milestone or not, I would like to see this be a built-in feature of version 4 so developers can use SSE's without much work to get it working, something Slim is really good at, writing little but being able to do a lot.
What are everyones thoughts on including this in the v4.0 milestone?

You have my vote


How do I build with the experiement.js

Not super familiar with npm. How do I build the library using the exeriment.js file?

What do you mean with experiment.js? Also this seems more like a question for that project. It should support npm packages.

Basically I want a library file for multiline.js that I can include in an html file and then call the multiline function and use it. How do I get that?

See here about the "exeriment.js" file: https://github.com/sindresorhus/multiline#experiment

The experiment has nothing to do with embedding the module on a website. If you want node modules in your web app you will have to use a module bundler like Webpack, SystemJS, browserify, etc.
Another alternative for this is to use unpkg.com and embed that in your webapp. But I would suggest not doing that and look at module bundlers as they are way more powerfull.
<EMAIL_ADDRESS>

Thanks for the info. But wouldn't the default build not be using the experiement.js method? How would I build the library so that it will use that method?

Don't use it, as per the docs

It's too fragile and slow to be practical though.

That doesn't really answer the question though haha. I want to try it.

There also seem to be a browser version: https://github.com/sindresorhus/multiline/blob/master/browser.js
No I don't see any easy way of doing that because (a) that file is not shipped to npm and (b) it is using callsites which is another dependency so you would have to use a module bundler or hack everything together yourself.


Rss increased since around Feb 07

Describe the bug
this is unstable mainnet node

Expected behavior
rss should be around ~7GB like in stable node

Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
unstable

I started seeing some very spiky RSS around this time too... much more severe starting Feb 6. And the only major thing done around that time was upgrading gossipsub here https://github.com/ChainSafe/lodestar/pull/6399 🤔

yes got similar issues in the past when we upgrade gossipsub. If it's consistently takes not much higher memory than previous version then it's acceptable with lodestar, otherwise it needs to be investigated

Profiles from 1.16.1-rc.1
v1.16.0-rc.1_feat1-lg1k-hzax41_network.cpuprofile
v1.16.0-rc.1_feat1-mainnet-hzax41_network.cpuprofile
v1.16.0-rc.1_feat1-md64-hzax41_network.cpuprofile
v1.16.0-rc.1_feat1-lg1k-hzax41_main.cpuprofile
v1.16.0-rc.1_feat1-mainnet-hzax41_main.cpuprofile
v1.16.0-rc.1_feat1-md64-hzax41_main.cpuprofile

Do you have a commit ID for these ones @matthewkeil ? We don't "officially" have a 1.16.1-rc.1 tagged to reference.

sha fda3b19

closing as stale


Remove passing runs from allow_failures

Closing in favor of https://github.com/propelorm/Propel2/pull/1603


Fix typo, add the word component on translation

The sentence without the word component doesn't pass the right meaning.

Valeu!


Request: Update for new AWS dashboard (both Lamba and Skills section)

Title pretty much says it all. The dashboard has changed a lot since the creation of this tutorial and this tutorial is a great way for beginners to start as you explain it in a very good way in the video. While I understand it may be too much asked to make an updated video, it would be nice to edit the readme to reflect the new dashboard.

Appreciate a PR! Give it a try.

Sure will do. I'm currently going through the tutorial still so once I got it all figured out I'll look into that.


Fix hyphen deprecation warning in setup.cfg.

FYI you only need to merge if there have been changes on master that are conflicting (or if a lot of time has passed since the last merge\branch, and you are worried that things changed in the meantime).
Do you have any reference for this deprecation warning? I can't seem to find any documentation on this metadata section of the setup.cfg file

FYI you only need to merge if there have been changes on master that are conflicting (or if a lot of time has passed since the last merge\branch, and you are worried that things changed in the meantime).
Do you have any reference for this deprecation warning? I can't seem to find any documentation on this metadata section of the setup.cfg file
Here's the reference I found: https://setuptools.pypa.io/en/latest/userguide/declarative_config.html (no description_file or description-file is mentioned, thou)

https://github.com/pypa/setuptools/issues/2595

pypa/setuptools#2595
Yeah but here it just says that they are deprecating hypens in favor of underscores. I am also trying to find what does the "translated" description_file does, since I only found references to long_description in the config files (that are always used with README.rst files, and never found an example with mkdocs README.md)

ie: I don't want to just snooze the warning, but be sure this is the correct way to do that :)

Seems this should be the correct way to address this:
description = An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.
long_description = file: README.md
long_description_content_type = text/markdown

Seems this should be the correct way to address this:
description = An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.
long_description = file: README.md
long_description_content_type = text/markdown

Reference: https://packaging.python.org/en/latest/guides/making-a-pypi-friendly-readme/

Sure. Make the changes and I'll

Seems this should be the correct way to address this:
description = An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.
long_description = file: README.md
long_description_content_type = text/markdown

Reference: https://packaging.python.org/en/latest/guides/making-a-pypi-friendly-readme/

Sure. Make the changes and I'll fix the ccxt conflict. For the jupyter branch though you're leaving this to Richard?


Add keywords for working with element attributes and values

Originally submitted to Google Code by mangaroo on 16 Oct 2011

I may submit a patch with the requested enhancement later on, but in either case, entering issue for tracking purposes and as FYI.
Don't know if it's just me or if element attributes and element values (e.g. input field values) are secondary to text on a page. For me there were some instances where I wanted to verify and wait on element value or some other attribute, and the test framework or library didn't have it built in, so had to patch it myself.
Suggested keyword additions:

keyword, locator, value or attribute
Element Value Should Be, locator, value
Element Attribute Should Be, locator, attribute name, value
Get Element Value, locator
Wait Until Page Contains Element Value, locator, value, timeout, error
Wait Until Page Contains Element Attribute Value, locator, attribute name, value, timeout, error

May not need implement all the suggested keywords, but the more the preferable.
See also  issue 210  for better way to separate out attribute name from element locator so as not to need to specify as single argument of locator@attribute but rather two arguments of locator, attribute.

Originally submitted to Google Code by @pekkaklarck on 19 Oct 2011

I close this issue because this covers adding way too many unrelated keywords and some of them are already done. I comment the individual proposals below. Please submit separate issues about the individual keywords that you still think should be added.

Element Value Should Be

How would this differ from the existing Element Text Should Be?

Element Attribute Should Be

Could be added. You can already now create a user keyword that uses Get Element Attribute and Should Be Equal, though, but we typically have added X Should Be keyword if there is Get X keyword.

Get Element Value

There's already Get Value.

Wait Until Page Contains Element Value
Wait Until Page Contains Element Attribute Value

You can already now implement these utilizing either Wait For Condition or BuiltIn keyword Wait Until Keyword Succeeds. I don't want to add separate Wait Until keywords for all elements because that would just add dozens of really seldom used keywords.

Originally submitted to Google Code by mangaroo on 19 Oct 2011

Ok, points understood.
Regarding item 1, Element Value Should Be refers to checking element value of an element like input fields like
<input id="address" value="(enter address here"/>
If I'm not mistaken, Element Text Should Be will only cover text within a element and thus won't work for most form field validation, requiring user to extract the field value using Get Element Attribute, etc. then manually compare with Should Be Equal, etc. keywords.
The only form field that applies to Element Text Should Be is
<textarea>default text here</textarea>
And regarding all the above items, ideally as a RF user, I'd prefer to have to implement as few user keywords as needed. And offering useful keywords to the mass is more preferable than to have each group implement their own, even if seldom used, there will still be a minority. However, I also understand as a developer, it makes less sense to implement and maintain less used library keywords.
I guess we'll leave things as is, and reopen if there ever is a request by a larger community besides me for these types of keywords.

Originally submitted to Google Code by @pekkaklarck on 19 Oct 2011

Enhancing Element Text Should Be (and other related keywords) so that they handle also input elements would be a good idea. Please submit a separate issue about that!

Originally submitted to Google Code by mangaroo on 23 Oct 2011

My mistake for not reviewing clearly the SeleniumLibrary keywords. Element Text Should Be and Element Should Contain don't handle input element values but Textfield Should Contain and Textfield Value Should Be do, so that works out fine. Just a matter of getting used to how the keywords correspond to elements.


camera add SobelPass and set renderToScreen,but the screen is black

Issue title
Description
camera add SobelPass and set renderToScreen,but the screen is black
Version

Platform

Web Version [X]
Windows [X]
Linux [X]

Hi
Can you please post a screenshot of your post processing config?
Thannks a lot.
Cheers

This behavior should be now fixed!


Transform rotate style property doesn't work properly on ios

Description
I use @react-native-community/slider and I needed to rotate the slider.
To do so I used the css property transform, and rotate. It works well on android, but not on ios.
The slider stay to it's original position.
When I change the rotate value while I'm visualizing the slider, it rotates after the automatic assets refresh. But when I leave the screen and go back to it, the slider isn't rotated anymore.
React Native Version
0.63.4, (also experienced this behavior on 0.63.3).
Infos :
System:
OS: macOS 10.15.7
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 60.75 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.19.0 - /var/folders/m1/qrp6lm356p5_802qt9vkc9tc0000gn/T/yarn--1606988176529-0.7023249601521031/node
Yarn: 1.22.10 - /var/folders/m1/qrp6lm356p5_802qt9vkc9tc0000gn/T/yarn--1606988176529-0.7023249601521031/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 20200920.192359.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
Android SDK:
API Levels: 29, 30
Build Tools: 29.0.2, 30.0.2
System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>58069
Xcode: 12.2/12B45b - /usr/bin/xcodebuild
Languages:
Java: javac 15 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Rotate an element with transform rotate style properties.
Expected result
The rotation is working on both android and ios.
Snack, code example, screenshot, or link to a repository:
The slider :
<Slider                             style={styles.fontSizeSlider}                             minimumValue={20}                             maximumValue={50}                             minimumTrackTintColor="#FFFFFF"                             maximumTrackTintColor="#000000"                             thumbTintColor="#FFFFFF"                             onValueChange={handleValueChange}                             value={textSize}                         />
Associated style :
fontSizeSlider: {         flexBasis: '30%',         width: 200,         height: 40,         transform: [{ rotate: '-90deg' }],     },
The slider is under a flex container wich has the following css attributes :
inputContainer: {         top: '50%',         display: 'flex',         flexDirection: 'row',         flexWrap: 'wrap',         alignContent: 'center',     },

Infos added!

Infos added!

Put this in a Snack here.
Confirmed the repro: rotates on Android (and Web), doesn't on iOS.


Compiling errors when enabling SOFT_ACCENT

Yesterday I was testing the SOFT_ACCENT feature and I got two different problems when compiling the build.
The first issue was raised against fadeAccent(), that was not declared.
I solved the problem adding the following definition in the light.h file:
76 void fadeAccent();
Right after fixing the fadeAccent(), I got the following error messages, which I'm not able to understand and solve:
Arduino: 1.8.5 (Mac OS X), Board: "Arduino Nano, ATmega328"
sketch/ConfigMenu.cpp.o (symbol from plugin): In function confParseValue(unsigned int, unsigned int, unsigned int, short)': (.text+0x0): multiple definition of pwmPin'
sketch/Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/FX-SaberOS.ino.cpp.o (symbol from plugin): In function MPU6050::dmpInitialize_light()': (.text+0x0): multiple definition of pwmPin'
sketch/Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/Light.cpp.o (symbol from plugin): In function lastAccent': (.text+0x0): multiple definition of pwmPin'
sketch/Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
Multiple libraries were found for "Wire.h"
Used: /Users/smadama/Library/Arduino15/packages/arduino/hardware/avr/1.6.17/libraries/Wire
Not used: /Users/smadama/Documents/Arduino/libraries/Wire
Multiple libraries were found for "DFPlayerSerial.h"
Used: /Users/smadama/Documents/Arduino/libraries/DFPlayer_LSOS
Not used: /Users/smadama/Documents/Arduino/libraries/DFPlayer
Not used: /Users/smadama/Documents/Arduino/libraries/DFPlayer
Not used: /Users/smadama/Documents/Arduino/libraries/DFPlayer
Not used: /Users/smadama/Documents/Arduino/libraries/DFPlayer
exit status 1
Error compiling for board Arduino Nano.

Don't use soft accent.
On Tue, Apr 3, 2018, 4:22 AM DonSaber<EMAIL_ADDRESS>wrote:

Can anyone look into this problem ?
It is still occurring with the latest build.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Protonerd/FX-SaberOS/issues/69#issuecomment-378169066,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATdCMC3z5ceTwFq4684-Z89X-j5JKCysks5tkzFbgaJpZM4S-VHV
.

Sorry for replying so late, but last week I had a little surgery and only now I find some time for other matters.
The idea of driving accents with Pixels is nice, but I guess it won't be compatible with the sabers using Star Led setup, unless we can enable pixel support also in this case.
Anyway, I will not use anymore the Soft-Accent, however I still like the idea of having a soft-pulsing accent LED.
I will see if I can find some kind of solution, and in case will let you know.
I leave the post open in case anyone may want to add something, elsewhere it can be closed.

It will be 100% compatible with Star LED setups.  Even an illuminated AV
switch can work as a pixel either by modifying the switch with a 5mm pixel
LED or adding a WS2811 chip which can drive it as a single color at 18ma.
You can see a preview of how it will work here:
https://youtu.be/rnMnIR5JP5E?t=39s (mainly just the top pixel, the others
are mostly proprietary decorative animations , except for the meter modes )
The pixel accent can also be used as a pilot for gravity color mixing, so
it will make that more viable for Star LED setups.
Of course we can't account for all possible accent configurations
(effectively infinite possibilities) so the basic modes will be mirror and
meter. In mirror all LEDs will function the same way, in meter certain
functions will have bar graphs and animations if there is more than one
accent. The implementation will at least provide a starting point from
which the programmer can add custom functions.
If you are on Facebook I will be announcing when it's ready there, and I've
already made some posts about it.
Jason "Kuma" Brinkerhoff
*Mad Science Workshoppe, *proprietor
http://jbkuma.com/workshoppe
On Tue, Apr 10, 2018 at 11:44 AM, DonSaber<EMAIL_ADDRESS>wrote:

Sorry for replying so late, but last week I had a little surgery and only
now I find some time for other matters.
The idea of driving accents with Pixels is nice, but I guess it won't be
compatible with the sabers using Star Led setup, unless we can enable pixel
support also in this case.
Anyway, I will not use anymore the Soft-Accent, however I still like the
idea of having a soft-pulsing accent LED.
I will see if I can find some kind of solution, and in case will let you
know.
I leave the post open in case anyone may want to add something, elsewhere
it can be closed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Protonerd/FX-SaberOS/issues/69#issuecomment-380148750,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATdCMNtT-UYI-ILKXSd3JiGbE7VGD9G9ks5tnNNvgaJpZM4S-VHV
.


Add Search function for Redirection

This PR allows user to do search query in redirection hosts dashboard, this is very useful when the list grow larger.

The search part is builtin from the api, this PR only to add the UI and the query param to the API.
Please let me know if this PR is a good start. After this get merged, I can replicate the UI to all other dashboard.

This is an automated message from CI:
Docker Image for build 1 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1822
Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

Awesome stuff, can't see anything wrong with it :) If you apply this to all the lists (where possible) then I'll put the PR through it's paces before merging. Thanks!

Thanks @jc21
Quick question: Should I continue to apply this to all possible list in this same PR or you prefer I separate it for each list?

Same PR please

@jc21 This PR now completed and ready for your review / tests.
The Jenkins CI has failed but not due to the code changes, And I cannot manually re-trigger it. I wonder what can I do to help?

This is an automated message from CI:
Docker Image for build 4 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1822
Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.


Update Chroma to v2.13.0

This adds new lexers and includes some fixes. See https://github.com/alecthomas/chroma/releases/tag/v2.13.0 for the full changelog.

Thanks, @JakobDev. Could you run make tidy and push the changes?
@ maintainers: what do you think about backporting this? I don't see any breaking changes in the chroma changelog, and this could also be considered a bug fix.

@jolheiser I've applied the backport label. As this changes go.mod I suspect our bot won't be able to apply it directly. @JakobDev, the bot will probably ping you once this is merged asking you to do a manual backport, but we can handle the backport (with attribution to you for the original PR ofc) to not add anything extra onto your plate.

I was unable to create a backport for 1.21. @JakobDev, please send one manually. :tea:
go run ./contrib/backport 29732
...  // fix git conflicts if any
go run ./contrib/backport --continue

We don't usually backport stuff like this, but I guess if author is willing, they can do it.


P2 Enterprise users are prompted to request that their admin index the project or to switch to their personal sourcegraph.com account

Isn't remote embeddings no longer supported? @kalanchan

yeah good point, embeddings no longer supported on enterprise. I think we can close this out @taylorsperry @aramaraju

Correct me if I'm wrong here, but we don't have the prompt anymore. At least based on my VSCode testing. If we confirmed that, we can close this issue


Upload wizard crash fix

Description (required)
Fixes #5437
What changes did you make and why?
Issue: App crashing when changing the device's text size in the Upload Wizard.
Fix: Implemented a solution using custom objects like Callback and onSaveInstanceState with PutParcelable() to handle configuration changes.
Tests performed (required)
Tested {debug apk} on Xaomi 11 Lite NE  with API level 33.
Screenshots (for UI changes only)
Need help? See https://support.google.com/android/answer/9075928

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Sorry I Missed that, I will fix that in the next PR


SYFT_CHECK_FOR_APP_UPDATE not working

What happened:
When calling the following on a system without internet access
export SYFT_CHECK_FOR_APP_UPDATE=false
syft packages -o json registry:someImage:latest

I get the following error:
failed to fetch latest version: Get "https://toolbox-data.anchore.io/syft/releases/latest/VERSION": dial tcp <IP_ADDRESS>:443: i/o timeout

Interestingly this only happens for some special images (distroless). On most of them it works fine.
What you expected to happen:
syft should not try to update itself
How to reproduce it (as minimally and precisely as possible):
See above
Anything else we need to know?:
Environment:

Output of syft version:

Application:   syft
Version:       0.21.0
BuildDate:     2021-08-23T18:25:25Z
GitCommit:     ff828fbac211e1d9e993c309461bd9e0636fc2ec
GitTreeState:  clean
Platform:      linux/amd64
GoVersion:     go1.16.7
Compiler:      gc

OS (e.g: cat /etc/os-release or similar):

cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"

Nevermind, had a space after SYFT_CHECK_FOR_APP_UPDATE


Restrict Set-ExecutionPolicy scope

Restrict the scope on the recommended fix for the Powershell execution error. The options for the -Scope flag are "LocalMachine" (default), "CurrentUser", "Process", "UserPolicy" or "MachinePolicy". "Process" is the only option that doesn't make a permanent change -- it only allows the install script to run in the current Powershell session.
More info on -Scope here https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7

LGTM.
cc @ry

With https://github.com/denoland/deno_install/issues/114, this PR would be obsolete (In fact, we could remove the whole "Known Issues" section).

Since #133 has been merged, the known issue "Running scripts is disabled" does not exist anymore. So this PR can be closed.

@mattcbaker thank you for the work and opening PR. As pointed by @MarkTiedemann this issue is no longer relevant, so closing without merge. Thank you for your contribution!


Show Distances in Form of Heatmap

To support more than 10 clusters. Enable switching between bar charts and matrix view.

Allow user to sort data by any column of this matrix / heatmap

Added tooltip for current column selection


Added the ability to specify an object as a mask

Hello!
I added the ability to pass an object as an input mask, then on the basis of this object to form the InputMask instance.
This can be used for example:
<masked-input :mask="special_mask" />

var app = new Vue({
    data: {
        special_mask {
            pattern: 'VVVV',
            formatCharacters: {
                'V': {
                    validate: char => /[a-jA-J]/.test(char),
                    transform: char => char.toUpperCase()
                }
            }
        }
    }
})

Sometimes there are not enough standard features, the proposed option will allow to use all the possibilities of InputMask

+1 to have it merged


OSO / Kariba Brand comparison

Comparing the two brands as they were, making some comparisons and planning the update to kariba brand accordingly

@ciciaran do you mind linking to the work product here so I can take a look? In general would be helpful for closing out any issues. Thanks!

Yes here's a link to the pdf


Installation according to README fails.

This is my process:
➜  ~ brew install pandoc
Updating Homebrew...
==> Auto-updated Homebrew!
######################################################################## 100.0%
==> Pouring pandoc-2.11.4.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/pandoc/2.11.4: 10 files, 146.0MB
➜  ~ sudo gem install aoc_cli
Password:
Fetching aoc_cli-0.1.3.gem
Fetching colorize-0.8.1.gem
Fetching pandoc-ruby-2.1.4.gem
Fetching curb-0.9.11.gem
Successfully installed colorize-0.8.1
Building native extensions. This could take a while...
ERROR:  Error installing aoc_cli:
        ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.6.0/gems/curb-0.9.11/ext
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20210219-55535-vekesv.rb extconf.rb
checking for curl-config... yes
checking for curlopt_tcp_keepalive... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME)
        --with-curl-dir
        --without-curl-dir
        --with-curl-include
        --without-curl-include=${curl-dir}/include
        --with-curl-lib
        --without-curl-lib=${curl-dir}/lib
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `block in try_compile'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:534:in `with_werror'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `try_compile'
        from extconf.rb:52:in `block in have_constant'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'
        from extconf.rb:44:in `have_constant'
        from extconf.rb:62:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/curb-0.9.11/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/curb-0.9.11 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/curb-0.9.11/gem_make.out
➜  ~

According to this SO answer, I should install xcode dev tools (xcode-select --install ). That was already done. I continued by upgrading ruby with brew install ruby. Didn't help either

No idea what the following cmd does, but it works?
sudo xcode-select -switch /

So i guess just add that step as a precursor to the readme for macos users. Then it should be good

Thanks for the feedback. This issue is more related to the installation of xcode on your machine rather than aoc-cli itself so I do not think it is necessary to add these steps to the documentation.  The vast majority of macOs CLI users will already have xcode installed in order to be able to code in most popular languages on their mac - I will however add xcode to the dependencies

I had Xcode installed, but I still had the issue described in #4. I'd say many people might have the exact same problem. Betting on them being familiar with ruby and ruby gems to be able to use this projects seems like a bad idea

This shouldn't be closed

Okay, I just saw the added comment in the readme. Thanks for that. I'm an iOS developer by day though, so I use the Xcode tools a lot. So I had them installed. Ruby however seems to require some special configuration that I'm unfamiliar with, hence the confusion about this -switch command.
Even with the added comment in the README, the installation would still have failed for me and I would've had to research the error message. Maybe consider adding this hint (and the switch command) to the readme to fully resolve the issue. Thanks.
(paging @apexatoll )


Android MediaDrm provisioning fails on closed network

Have you read the FAQ and checked for duplicate open issues?:
Yes.
What version of Shaka Player are you using?:
2.3.7
Can you reproduce the issue with our latest release version?:
Yes
Can you reproduce the issue with the latest code from master?:
Yes
Are you using the demo app or your own custom app?:
Both
If custom app, can you reproduce the issue using our demo app?:
Yes
What browser and OS are you using?:
Chrome 66.0.3359.126
What did you do?
Deployed Shaka player to an offline media server, which also hosts the Widevine license server.
On some Android devices, all using the latest Chrome 66 build, with a variety of hardware manufacturers including Huawei, Samsung and LG, some of these devices fail to even request a license in an offline server environment (neither our server nor client devices have internet access). However, the same client devices which receive this error can also successfully play back Widevine-encrypted content from the Shaka demo site. Inspecting the network traffic of each client device, none of the devices which produce this error are attempting to call our license server.
We deployed the same instance of shaka player onto an internet-enabled server and were able to get to the license server request stage, which failed due to not being able to connect to our offline server, as expected.
From this, I believe the only difference between these two setups is that one server has internet access and the other does not. As far as I know, the non-working devices have been provisioned by WV and can play other WV encrypted content online without any issues.
What did you expect to happen?
License requested and obtained followed by video playback.
What actually happened?
Upon loading the player and attempting to play, I get:-
Shaka Error DRM.FAILED_TO_GENERATE_LICENSE_REQUEST (Create session aborted.)
This is followed by further errors, such as "failed to get buffered range for audio DOMException: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source.". I suspect these errors happen because the license request failure.
The video does not even attempt to play the first 10s of clear video, but it does on the internet-enabled server before stopping playback at 10s due to the network connectivity to our offline servers license server failing.
I have attached a sample MPD in case this is believed to be an issue with our packaging, which I do not think is the case.
Tears_Of_Steel-En.mpd.txt
Is there anything obvious we should be doing to resolve this?  Thanks!

You are using ShakaPackager? Do you provide --clear_lead 0 parameter so that all the segments from 0..n are encrypted, default I guess is first 10s is not encrypted.

Yes, we are using the ShakaPackager but are not specifying the --clear_lead parameter - in any case, the devices which fail to playback do not even attempt to playback the first 10s of default clear content.

@grantg182, I admit, I'm not sure what this could be.  I am having trouble following some of the details.  Let me see if I can ask some clarifying questions:

Your license server does not have access to the open internet, correct?
Are you trying to set up some kind of self-contained, isolated network that can still give out content licenses locally?
Your license server is not a Widevine license server proxy, correct?
What network traffic is sent by the browser?
Are there any connections attempted from the browser out to the internet?
What network traffic is sent by the license server?
Are there any connections attempted from the server out to the internet?

Thanks!

Hey @joeyparrish
Your license server does not have access to the open internet, correct?
That is correct, it is hosted on the local server in an offline environment.
Are you trying to set up some kind of self-contained, isolated network that can still give out content licenses locally?
Yes, that is correct.
Your license server is not a Widevine license server proxy, correct?
Correct, the license server is a Docker component and is fully accessible on the network (in requests, inspecting traffic, etc, via other devices, including Android devices from Samsung).
What network traffic is sent by the browser?
Absolutely none. On Desktop Chrome, we can see the license server request coming from the browser and can inspect this no problem. However, on the Android devices which are failing, there is not even a request made to the license server.
Are there any connections attempted from the browser out to the internet?
No, all requests go to our local proxy server which forward on to the license server; all within the local network. Inspecting the Android logs, shortly before and after the failure (presumed) of GenerateKeyRequest, there are attempts by the devices to connect to api.google.com (or similar, definitely a google URL containing api, though this may be a red herring with the Android devices attempting to upload/download data to other Google services).
What network traffic is sent by the license server?
None, since the Chrome browser on these Android devices are not even making a request to the license server.
Are there any connections attempted from the server out to the internet?
No, I have inspected all network traffic and access logs and can confirm neither client nor server attempts to connect to the internet.
What I suspect, is that the devices are being provisioned by Widevine on a domain basis, though I am not able to confirm this as yet. If I remove the Media Licenses within Chrome and go back to the UAT demo video, I get the "premium content" popup and then can get successful playback after accepting. Then connecting solely to our intranet, I get the same "premium content" popup, upon acceptance, no playback and the error as before. It was my understanding devices were provisioned once with Widevine, but it appears that may not be the case.
If it helps, I posted some of the logs from Android on the Widevine forum, in case that sheds any light.
I am 99% certain this is not an issue with Shaka itself, though I intend to deploy an instance of dashJS or similar tomorrow to remove any doubt.
Thanks again!

I think this is something going wrong at the Android OS layer.  If the browser is not making any network request, then this is not something Shaka Player can control.
It's possible that there is some provisioning step needed by the Android CDM, and that it happens outside of the control of the JavaScript application.  I don't know for sure, though.
I will try to ask a colleague who works on Chrome and see if they have any insight.

Thanks @joeyparrish - some insight from other teams would be great!
You would think the CDM would 'just work' after being provisioned - it works on all other Widevine-encrypted content using a variety of other players on the internet, but not on our network, before and after getting successful playback on the open internet.
Quite worrying really; I've had more device failures than successes; even more so because every Huawei device has failed with the same error - and look to be overtaking as the second largest smartphone manufacturer!
Cheers

According to my colleague, what is happening is that MediaDrm requests that the device be provisioned, and Chrome handles the provisioning request under the hood.  This request goes to a central address, which is not accessible on your network.
So the next question should be: Why does the device need to be provisioned again?
I don't know enough about MediaDrm to speculate, but I believe the answer lies there.  Shaka Player talks to Chrome, which talks to MediaDrm.  MediaDrm asks Chrome to send a provisioning request, but I don't know how MediaDrm decides that.  Hopefully you can find the answer in the MediaDrm docs.
I will leave this marked as "external" for now (to indicate a problem outside Shaka Player) and rename the issue to reflect what we've learned so far.  Please let us know what you find about MediaDrm, and please let us know if we can do anything more to help.

Thank you again @joeyparrish ! Much appreciated.
That makes sense, given the testing we have done. I was afraid that was going to be the outcome. |
I'll have a dig through the MediaDRM documentation, if I can locate it, and see what we can find out and where we can go next.
Thanks again,
Grant

Hi @grantg182
Did you solve this after? I am having the same problems with offline android and would like to compare notes.
Thanks Matt

Hi @onetae
Unfortunately you will require an Offline Provisioning Server to resolve the issue. You'll find everything works just fine in Chrome <58 - it seems that the VMP update for Chrome also slipped in this change which means devices need provisioned every time (or at least, for every domain, license retrieval attempt, or something).
So far, I have not had great success from the Widevine team in obtaining such a thing.

Hi @grantg182
Thanks for the info, you saved me a few days which I would of spent coming to the same conclusion.
We contacted Widevine and they are aware of this problem, and looking to solve it.
Which isn't much good to us.
Regards

@grantg182 Have you tried setting the service certificate for the client as outlined in page 30 of the License Server SDK document?  If you need more detailed instructions please send me a message and I can further assist off of github.

@ryancl01 No, I have not. The Widevine Partner License SDK document I have is v1.12.1 which only has 23 pages. I get a 403 on the Widevine SDK document link within the CWIP portal too, so cannot currently access the latest documentation for some reason(?). Alas, I'll try figure out how to PM you...

@grantg182 Hi Grant no problem I just sent you an email with the latest document.

@ryancl01 Great, thank you!

Is that doc available for everyone? I could use it as well.

Hi Guys,
You can also set the serverCertificate in the Shaka player in the advanced drm area:
You set it as a Uint8Array, see below.
I tried both ways: setting it in the player and setting it in the widevine SDK as stated in the document.
But still have no luck with later versions of Android.
  player.configure({
        drm: {
          servers: { 'com.widevine.alpha': 'https://widevineServer/?id=ac5499b1-4240-4616-b475-c8440d5ffeea' }
       , advanced: {
              'com.widevine.alpha': {
              **'serverCertificate' : arryCert,**
              'distinctiveIdentifierRequired' : false,
              'videoRobustness': 'SW_SECURE_CRYPTO',
              'audioRobustness': 'SW_SECURE_CRYPTO'
                      }
                    }
        }
    });

All,
Which version of Android did you first notice this problem?
Thanks,
Ryan

@ryancl01 We have tested with a variety of devices with various versions of Android and Android forks.
Up to and Chrome 58, we have no issues with license requests in an offline environment on any of these devices.
After Chrome 59, here are some examples of devices I tested 2 months ago:-
Samsung Galaxy S8 - Android 7.0, Chrome 66
Samsung Galaxy S6 -Android 7.0, Chrome 66
Huawei Nova Lite - Android 7.0, Chrome 66
Huawei P8 - Android 6.0, Chrome 66
However, in the same environment, the following devices did successfully get a license and successfully played Widevine-encrypted content:-
LG V30 - Android 8.0.0, Chrome 66
Samsung Note 3 - Android 5.0, Chrome 66 *
*Note, that for this device, it is possible that it had previously received a license via another license server which did have internet access some 12+ months ago, so on a previous version of Chrome but same Android version. Unable to verify further by factory reset as this is a colleagues personal device.
Thanks,
Grant

Thank you Grant.  I am working with Chrome engineering to investigate this and hope to have an update soon.

@ryancl01 Is there any news on this matter? It's been a couple of months now

@garfieldjty just as an FYI, this issue is tracked by Chromium here - https://bugs.chromium.org/p/chromium/issues/detail?id=866625
Note, it is targeted for Chrome 74. It has previously been targeted for Chrome 70, 71, 72 and 73. However, it has been 'started' and 'assigned' to a Chromium dev since January 11th. As yet, it is still not working in the latest build of Canary.

Closing this stale external (non-Shaka) issue. If you disagree, please reply with @shaka-bot reopen, and it will be automatically reopened.


Hot reload not working. Button is disabled.

I followed all the steps provided in the lets get started of the flutter docs on the official website. Everything was working fine. But when i made changes to the code and saved the hot reload didnt get activated. the button is still disabled. pls help

can you please explain what do you mean by button is still disabled here and also which key you used for hot reload ?

@nitesh-kumar-sharma The button is grey in color and it doesn't work even if I click on it. Its that lightning bolt button right? Because when I hovered over it, it said hot reload.

Hi @nitesh-kumar-sharma
Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

Hi @bhavanapravas
Are you using VS Code or Android Studio? VS Code extension isn't install. Can you create new project and try hot reload by running the project on emulator or device?
Logs says you're not connected to device
[  +43 ms] "flutter run" took 511ms.
(Everything from here is in red)
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.

Thank you

@TahaTesser I am using android studio. and yes i have been running the project on an emulator

Hi @bhavanapravas
Please execute flutter doctor --android-licenses and accept the license and make sure you've  latest flutter plugin 47.1.2 in Android Studio
I cannot reproduce this issue my Windows and Mac setups on latest stable and latest plugin

flutter doctor -v
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.17.5 at /Users/taha/Code/flutter_stable
    • Framework revision 8af6b2f038 (6 days ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (1 available)
    • SM M305F • 32003c30dc19668f • android-arm64 • Android 10 (API 29)

• No issues found!

Following the indication of jetbrains' Flutter plugin, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

@TahaTesser Seems like it was a problem with the sdk versions. I updated them and its working now. Thank you.


why the library ignore my setTimeOutMillis value?

Hello, I set the setTimeOutMillis but the library seems to ignore my short value.
PortScan.onAddress(ipAddress).setTimeOutMillis(100).setPort(Integer.valueOf(editPortNumberString)).doScan(new PortScan.PortListener() { ...

@alfo888 This was a bug and has been fixed in the latest release, please upgrade to use 0.3.0

Thanks a lot. I updated the library to version 0.3.0 and it works.


README.md: Update Server Setup using Docker-compose using V2

Just updating the example using the Docker-compose V2 syntax. On my host, this shows as follows:
~/dev/github/intuit/servicesplatform-tools/microservices/logging ⌚ 23:38:04
$ docker-compose ps
               Name                               Command                               State                                Ports
-------------------------------------------------------------------------------------------------------------------------------------------------
logging_splunk_1                     /sbin/entrypoint.sh start- ...       Up                                   1514/tcp, <IP_ADDRESS>:8000->8000/tcp,
                                                                                <IP_ADDRESS>:8088->8088/tcp,
                                                                                <IP_ADDRESS>:8089->8089/tcp, 8191/tcp,
                                                                                9997/tcp

@marcellodesales thank you for your PR! I have posted some feedback and please fix the merge conflict.

@outcoldman That sounds good... I will work on it this week!!! Thanks a lot for your feedback on this!

Docker-compose example has been updated to v2

@outcoldman Cool... I will try using it... Thanks!


chore(master): release 0.8.2

:robot: I have created a release beep boop
0.8.2 (2023-12-25)
Bug Fixes

adding default features (192e62a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/xmc-rs/xmc4700/releases/tag/v0.8.2 :sunflower:


Increase performance by reduncing HTTP requests and using asynchronous code

#16

I'm currently trying to implement FastAPI together with Django.

I have implemented FastAPI to replace the current backend using Django. It's not concluded yet, but now I will work on database and GUI parts, the API communication with Proxmox itself is already working with FastAPI.


dart bin/dump_kernel.dart

dart bin/dump_kernel.dart  app.dill   app.dill.txt 为啥我这条命令一直执行不成功？
需要什么配置？

@xingyong723
Can you paste the log in details for dart bin/dump_kernel.dart app.dill app.dill.txt

命令： dart ~/Downloads/sdk-master/pkg/vm/bin/dump_kernel.dart  app.dill app.dill.txt

执行结果如下：
Unhandled exception:
Unexpected Kernel version 29 (expected 34).
#0      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:468:7)
#1      main (file:///Users/xxxx/Downloads/sdk-master/pkg/vm/bin/dump_kernel.dart:47:40)

#2      _startIsolate. (dart:isolate-patch/isolate_patch.dart:303:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

You should make sure that the dart-sdk you're using matches your flutter version.
cat /Users/kylewong/Codes/Flutter/flutter/bin/cache/dart-sdk/revision
f020ce5d23a50c05b10c372d99a3f7a878420c78

The sha you get for your flutter-sdk should exactly match your dart repo.
It would be resolved after you get the right dart dk.


markDirty is not defined

https://github.com/arqex/freezer/blob/master/src/frozen.js#L189

@arqex helloooo??

@arqex same problem here.

Thanks for the feedback, and sorry for the late reply, christmas time was a tough time for working :)
I knew about this problem I had it fixed in my local version. Now I pushed it and should be fixed in v0.9.5.
Cheers

v0.9.5 was published buggy, try v0.9.6 instead


NullPointerException in io.swagger.jackson.ModelResolver#_addEnumProps in swagger-core 1.6.2-SNAPSHOT

Hello,
I have the following error :
java.lang.NullPointerException: null
	at io.swagger.jackson.ModelResolver._addEnumProps(ModelResolver.java:212)
	at io.swagger.jackson.ModelResolver.resolveProperty(ModelResolver.java:170)
	at io.swagger.jackson.ModelResolver.resolveProperty(ModelResolver.java:126)
	at io.swagger.converter.ModelConverterContextImpl.resolveProperty(ModelConverterContextImpl.java:83)

The code failing is :
        Class<Enum<?>> enumClass = (Class<Enum<?>>) propClass;
        for (Enum<?> en : enumClass.getEnumConstants()) {

java.lang.Class#getEnumConstants states that it returns "an array containing the values comprising the enum class represented by this Class object in the order they're declared, or null if this Class object does not represent an enum type"
So I guess it should be null checked before iterating on it.
It fails on a field of type Enum<?> in our code.
It was working in 1.5.17 (did not try other versions).

Thanks for reporting this and for the PR. fixed in #3607

Hey, I got this issue in 1.6.2. I see that the PR hadn't been merged to 1.6.2. Is there a plan to include this PR in next release?

Also seing this issue in 1.6.2

hello, Im seeing this issue in 1.6.2, is there any plan to fix it in 1.6.2?

+1

Fixed with version 1.6.6


ABI Encoder v2 Nested Structs

Is your feature request related to a problem? Please describe.
ABI Encoder v2 support to abigen was introduced in https://github.com/gakonst/ethers-rs/pull/17. It only works if there's no nesting. If there's a nested struct, e.g.
contract UserDirectory {
    struct Contact {
        string email;
        string phone;
    }
    struct User {
        string name;
        address addr;
        Contact contact;
    }
}

...then a generated function which uses User would be something like: fn add_user(&self, user: (String, Address, (String, String))). The tuple unfortunately does not implement Tokenize or Detokenize.
Describe the solution you'd like
We need to find a way to implement Tokenize/Detokenize for nested structs. Maybe a more elaborate macro implementation?
Describe alternatives you've considered
Ideally we should get these done with generics, but doesn't seem possible?

TheGraph has also bumped in the same problem: https://github.com/graphprotocol/solidity-bindgen/pull/5/files#diff-161f437210fcf6e05c4deb47640febb3R127-R145

Closed in https://github.com/gakonst/ethers-rs/pull/42


Change Twitter Logo

Make it X

@raushan2104 pls complete this issue for the next 2 days.

"I would like to work on this issue as I have a strong background in CSS and HTML. Please assign me to this task under GSSOC'24 Extended."


ERROR: deployment failed: PrincipalNotFound: Principal does not exist in the directory

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Latest MacOS, following the README

checked out repo
Installed azd; ran azd login
running azd up
Getting multiple errors like this:

ERROR: deployment failed: error deploying infrastructure: failed deploying: deploying to subscription:
Deployment Error Details:
PrincipalNotFound: Principal  does not exist in the directory . Check that you have the correct principal ID. If you are creating this principal and then immediately assigning a role, this error might be related to a replication delay. In this case, set the role assignment principalType property to a value, such as ServicePrincipal, User, or Group.  See https://aka.ms/docs-principaltype

moreover, seems like the azd down command (or manually wiping the RG) does not do the proper clean up, as after the azd up the deployment complains about many conflicts, in particular for form recognizer and openai

Any log messages given by the failure

Expected/desired behavior

Is it a bug or am I missing a set up step?
OS and Version?

MacOS Ventura 13.3

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

You seem to have missed initializing the project using azd init -t azure-search-openai-demo. This should likely solve your problem. Another hack is to just hardcode the Principal ID (which is the Object ID of your user that can be viewed in Azure Active Directory) in main.parameters.json, but that shouldn't really be needed.

Hi Amol @itsamk , thanks for getting back so fast, I don't seem to be missing this step as azd up is supposed to do it
    up          : Initialize application, provision Azure resources, and deploy your project with a single command.

and unfortunately I can't reinitialize it, as it says:
? Overwrite files with versions from template? Yes

ERROR: environment already initialized to chatgpt-cogsearc

Regarding hardcoding the principal, I am trying it now, I see that it was complaining about different Object ID before than that of my user in AD. It seems to work better now, it does not complain about principal not being found in AD.
First time I ran azd up, it created a lot of resources, but then failed. All subsequent times after cleaning up with azd down and trying again it also fails to create many resources, complaining about conflicts. I think the reason is that the OpenAI and FormRecognizer are soft-deleted and need to be purged as a part of cleanup.

Hi @itsamk!
I was able to investigate a bit more the first problem (the wrong principal ID). I deleted the .azure folder, re-issued az init command, explicitly specifying the subscription, and I see in .azure//.env that the principal ID is totally wrong. I am not sure where it gets this ID, I was not able to find it anywhere. I have replaced it with my user's object ID and the deployment is now working.
On the second problem (clean-up issues), I was not able to find the way to purge the OpenAI and Form Recognizer automatically, so each time before the re-deploy, one has to purge the resources manually. If this is the only way, perhaps would be a good idea to document it.

So, after installing npm and re-running the azd up, I was able to deploy everything correctly. In summary, I believe we have 3 issues:

Some kind of problem identifying Principal ID correctly in some cases. Hard to say, what causes this.
Clean-up issues - azd down does not purge the resources, making it impossible to redeploy without manual intervention
npm dependency for deployment is not documented. It is only mentioned that npm is needed for the local run

1.) What about changing  infra/core/security/role.bicep param principalType string = 'User' ?

Hi Amol @itsamk , thanks for getting back so fast, I don't seem to be missing this step as azd up is supposed to do it
    up          : Initialize application, provision Azure resources, and deploy your project with a single command.

and unfortunately I can't reinitialize it, as it says:
? Overwrite files with versions from template? Yes

ERROR: environment already initialized to chatgpt-cogsearc

Regarding hardcoding the principal, I am trying it now, I see that it was complaining about different Object ID before than that of my user in AD. It seems to work better now, it does not complain about principal not being found in AD.
First time I ran azd up, it created a lot of resources, but then failed. All subsequent times after cleaning up with azd down and trying again it also fails to create two resources, complaining about conflicts. I think the reason is that the OpenAI and FormRecognizer are soft-deleted and need to be purged as a part of cleanup.

Delete subfolders in .azure

Any Updates Here?


Removing editors for deleted resources.

refer to:https://github.com/webida/webida-client/issues/510

#719 Solves this issue. Please check again.
Note that, I think 'dirty mark on deleted file' is not strange.
Because after delete the persistence, there is no contents to compare with model,
in this case, I think the model for that kind of editor could be considered as a new model.
(for the none existing file, just exists in the memory.)


Max world size inconsistent between Docker image and Helm default values.yaml

I am switching my Minecraft from my Docker host to my Kubernetes cluster.
On the Docker side, I can't find any defaults for the envvar of the maximum world size, and when /worldborder get is run in-game, it shows what I understand to be the Minecraft default of 5999968, or roughly 60 million.
Meanwhile, the Helm Chart's default values.yaml shows that the Helm default is set to maxWorldSize: 10000.
This could cause an imported world to be significantly altered to fit the new constraints, which is undesired.
Could the default value for maxWorldSize be changed to the Minecraft default or at least be consistent with the behavior observed when the same image is deployed on Docker?

Oh wow, I didn't notice all of those were preset to non-default values. I inherited this chart so was long before my time. ALL of those values need to be made conditional, which looks like a effort 😡.
I don't even use Helm, so I would recommend either managing the manifest files directly or using the built in kustomize basing off of https://github.com/itzg/docker-minecraft-server/tree/master/kustomize

For me personally I've set this value manually in my HelmRelease (I use FluxCD rather than helm install directly): https://github.com/JJGadgets/Biohazard/blob/main/kube/3-deploy/2-apps/minecraft/3-install.yaml#L35
Would you be open to a PR? I'll see what I can do, as far as I see there are others using this Helm Chart too so it would be beneficial.

Definitely open to a PR. I'm pondering whether

an unset value would indicate the server.properties default should be left as is. Downside is that values.yaml discovery is lessened since all those lines would need to be commented out by default
a special value like "default" could be specified. Downside is that it will look a little odd especially for numerical values

Either way the repetition in deployment.yaml hurts my eyes. With either of the above I'd like a template-macro to be used that is given the values variable and corresponding environment variable name. The conditional can be implemented once in the macro.
Actually, I see you using a lot of extraEnv entries. I'd really prefer it all be done that way since the maintenance of value mappings here in the chart is highly redundant maintenance.

Actually, I see you using a lot of extraEnv entries. I'd really prefer it all be done that way since the maintenance of value mappings here in the chart is highly redundant maintenance.

If envvars are the way forward, and I believe so too since the minecraftServer block simply maps to envvars anyway, perhaps this Chart could take an approach similar to the "app-template" Chart by @bjw-s where the Chart is a generic template that implements values for commonly used components, accepts most images that simply need "bare essentials" such as a Service, Deployment/similar, persistence, ingress etc, and leaves configuration of the service itself to either envvars or a volume mount, which from my understanding is similar to what you're looking for.
This way, the parts of the minecraftServer block that pertains to configuration of the server's behavior itself can be removed in favor of envvars, and the rest of the components that pertain to configuring only the Kubernetes components or other components can adopt a similar style to app-template.
An example of me using app-template with envvar configuration can be found in my repo: https://github.com/JJGadgets/Biohazard/blob/main/kube/3-deploy/2-apps/whoogle/2-install.yaml (I patch the Chart specs from outside this HelmRelease cuz I'm lazy to repeat it and it's homelab :p)

@JJGadgets I think I like your suggestion.  I have quite a few charts to test your PR against if that helps.
It seems like the proposal is a breaking change for existing charts. Any ideas on how to mitigate that?

I totally agree with you also.
It's the backward compatibility that is now the big challenge. It'll probably take a whole brand new chart to get people migrating to the cleaner baseline.

If you want to adopt the app-template "chart" from @bjw-s, there is nothing to do beyond deprecate this chart because it would replace this one.
You would probably want to share an example chart configuration to use with 'app-template' to deploy and run minecraft-server, but there is not migration path forward from this chart beyond not using it anymore.
Also keep in mind that you will beholden to whatever changes @bjw-s may make app-template "chart" which may or may not break how folks run the minecraft-server.  It's essentially a template of a template for deploying via helm.

Thank you for snapping me back to reality @billimek
Alternate charts are always welcome to be used. That's the beauty of open source.
I think I'll try out the macro idea to allow for null'ing out values that one would want to fallback to server.properties default.


JSONDecodeError with audiorecorder function

Hey,
I have a problem using the audiorecorder function. After it has been working on the same system (MacOS), now I get the error message below. I cooked everything down to these two lines of code in a clean virtual environment with only streamlit audiorecorder.
'''from audiorecorder import audiorecorder
audio = audiorecorder("Click to record something", "Click to stop recording")'''

Also tried un/reinstalling ffmpeg

Any ideas?
Thank you
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback:
File "localpath/.venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "localpath/app/other_pages/app_transkription.py", line 24, in
audio = audiorecorder("Click to record something", "Click to stop recording")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "localpath/.venv/lib/python3.11/site-packages/audiorecorder/init.py", line 27, in audiorecorder
audio_segment = AudioSegment.from_file(BytesIO(b64decode(base64_audio)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "localpath/.venv/lib/python3.11/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "localpath/.venv/lib/python3.11/site-packages/pydub/utils.py", line 279, in mediainfo_json
info = json.loads(output)
^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None

Sorry, I just saw your issue.
It looks like it could be an issue on the browser side... but without more info and testing it seems hard to debug...

@ejmiddle recommond you to check out if there are multiple virtual mic devices named iphone_cam on your system. I uesd to have errors as same as yours, not only on this but on calling Recorder (https://github.com/xiangyuecn/Recorder).  Once you have vitual mic, whatever the default you set, the browser calls wrong one persistently in my case.


Error occurred while starting kernel

Description
What steps will reproduce the problem?

I just started spyder for the very first time and it generated this error:
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\plugins\application\container.py", line 492, in _compute_dependencies
    dependencies.declare_dependencies()
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 458, in declare_dependencies
    add(dep['modname'], dep['package_name'],
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 389, in add
    DEPENDENCIES += [Dependency(modname, package_name, features,
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 331, in __init__
    self.installed_version = programs.get_module_version(modname)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
    mod = __import__(module_name)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\__init__.py", line 161, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\rcsetup.py", line 27, in <module>
    from matplotlib.colors import Colormap, is_color_like
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\colors.py", line 57, in <module>
    from matplotlib import _api, _cm, cbook, scale
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\scale.py", line 22, in <module>
    from matplotlib.ticker import (
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\ticker.py", line 143, in <module>
    from matplotlib import transforms as mtransforms
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\transforms.py", line 49, in <module>
    from matplotlib._path import (
Traceback (most recent call last):
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__
    raise ImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\plugins\application\container.py", line 492, in _compute_dependencies
    dependencies.declare_dependencies()
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 458, in declare_dependencies
    add(dep['modname'], dep['package_name'],
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 389, in add
    DEPENDENCIES += [Dependency(modname, package_name, features,
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 331, in __init__
    self.installed_version = programs.get_module_version(modname)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
    mod = __import__(module_name)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\pandas\__init__.py", line 49, in <module>
    from pandas.core.api import (
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\pandas\core\api.py", line 1, in <module>
    from pandas._libs import (
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\pandas\_libs\__init__.py", line 17, in <module>
    import pandas._libs.pandas_datetime  # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
Traceback (most recent call last):
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__
    raise ImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "C:\Users\windp\anaconda3\envs\pyspark\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\app\start.py", line 256, in main
    mainwindow.main(options, args)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\app\mainwindow.py", line 1847, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\app\utils.py", line 333, in create_window
    app.exec_()
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\widgets\reporterror.py", line 398, in _submit_to_github
    issue_text = self.render_issue(
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\widgets\reporterror.py", line 323, in render_issue
    {dependencies.status()}
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 417, in status
    data.append([dep_order[dep.kind], title, dep.get_installed_version()])
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 360, in get_installed_version
    if self.check():
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 349, in check
    installed = programs.is_module_installed(
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\utils\programs.py", line 907, in is_module_installed
    module_version = get_module_version(module_name)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
    mod = __import__(module_name)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\__init__.py", line 161, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\rcsetup.py", line 27, in <module>
    from matplotlib.colors import Colormap, is_color_like
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\colors.py", line 57, in <module>
    from matplotlib import _api, _cm, cbook, scale
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\scale.py", line 22, in <module>
    from matplotlib.ticker import (
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\ticker.py", line 143, in <module>
    from matplotlib import transforms as mtransforms
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\matplotlib\transforms.py", line 49, in <module>
    from matplotlib._path import (
Traceback (most recent call last):
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__
    raise ImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "C:\Users\windp\anaconda3\envs\pyspark\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\app\start.py", line 256, in main
    mainwindow.main(options, args)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\app\mainwindow.py", line 1847, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\app\utils.py", line 333, in create_window
    app.exec_()
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\widgets\reporterror.py", line 398, in _submit_to_github
    issue_text = self.render_issue(
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\widgets\reporterror.py", line 323, in render_issue
    {dependencies.status()}
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 417, in status
    data.append([dep_order[dep.kind], title, dep.get_installed_version()])
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 360, in get_installed_version
    if self.check():
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\dependencies.py", line 349, in check
    installed = programs.is_module_installed(
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\utils\programs.py", line 907, in is_module_installed
    module_version = get_module_version(module_name)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
    mod = __import__(module_name)
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\pandas\__init__.py", line 49, in <module>
    from pandas.core.api import (
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\pandas\core\api.py", line 1, in <module>
    from pandas._libs import (
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\pandas\_libs\__init__.py", line 17, in <module>
    import pandas._libs.pandas_datetime  # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
Traceback (most recent call last):
  File "C:\Users\windp\anaconda3\envs\pyspark\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__
    raise ImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

 Seems like you are running under a conda environment with the name pyspark? Maybe over that env you have installed matplotlib and pandas versions incompatible with numpy 2.x? Could it be possible for you to share the conda list output of the conda env you are using and try over the Python interpreter with your env activated to import matplotlib or pandas to see if any error is generated? Let us know!

I have the same problem with google colab with installs with pip, so it is not a conda problem

Closing due to lack of response but for more info about library versions incompatibility with numpy 2 you can check https://github.com/spyder-ide/spyder/issues/22187


Windows 'tar' utility question

I have a question regarding the Windows tar facility (from Insider build 17063) which is documented in
https://docs.microsoft.com/en-us/virtualization/community/team-blog/2017/20171219-tar-and-curl-come-to-windows#:~:text=Tar%3A A command line tool,shipping in Windows uses libarchive..
Is this utility able to "tar" a set of files to a connected tape drive ? The original Linux tar utility was meant to do exactly this (tar = "tape archive"). I had successfully used the tar utility in a Linux program that I had written to "tar" a bunch of files to a connected tape drive. I wish to do exactly the same thing in a Windows environment which does have the tar utility available.
Thanks
Chai Rao

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In a769ddb, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 7376 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in 176a88d.


Relax matching of URL modifiers

To click on links in the alternate screen buffer, it is necessary that
the shift button is held down, otherwise mouse events are captured by
the application. However this would also require that Shift is added
to the mouse.url.modifiers option. Thus it is not possible anymore to
click on URLs unless the shift button is always held down.
To resolve this issue, the matching od modifiers has been relaxed. If a
modifier is specified in the config, it is always required to be held
down. However if a modifier is held down which is not specified, it is
still accpeted. This one-way relaxed matching allows clicking on links
with or without shift held down without having to make use of the
mouse.url.modifiers setting at all.
I'll leave this issue open for a bit just in case any other problems
should come up while testing URL selection. Until then just changing
the configuration file to include Shift should work.

One problem, at least as far as I can see, is that if the desired behavior is to open URLs when modifiers are not pressed (essentially using shift or other keys to override the URL), this will no longer be possible.

@aereaux Could you elaborate? With these changes, it should still be possible without any problem.
If the Control key is set as modifier for example, it's always required to hold down that key to click on links. I'm pretty certain I've tested this multiple times, is this not the case?

@chrisduerr Sorry, I expressed it a little awkwardly.  I meant the opposite.  If someone wants holding control (or shift) to mean that links will not be opened, that is no longer possible.

@aereaux That is correct. Are you actually interested in this behavior yourself, or did you just want to bring it up?
I've considered this problem and, based on the features other terminal emulators offer, concluded that it's probably not something people are usually interested in.
If this is something that is desired, a different solution might be a better fit for this feature.

Mostly I just wanted to bring it up.  I don't think it'd be too bad for this to be the behavior, as my main concern is when trying to select a URL, but it looks like selecting text already suppresses URL opening.  One solution might be to have a mouse.url.suppress_modifiers or something to suppress the URL click behavior.

@aereaux You can suppress URL click behavior by specifying a modifier. It will not be possible to click the URL unless the modifier is pressed. The only thing that is not possible, is to suppress the URL click behavior when more than the desired amount of modifiers is pressed.
I personally think this behavior should fit everyone and is a nice balance between convenience, simplicity and user configuration. Which is why I'd move forward with this behavior unless someone explicitly desires something which is not covered by this PR yet.


bad defined QUANTUM device

At
https://github.com/LinearTapeFileSystem/ltfs/blob/53a940605970711697faa34d46751016b97311f4/src/tape_drivers/quantum_tape.c#L71
It is identified as as DRIVE_LTO5_HH instead of DRIVE_LTO6_HH
And in the LTFS from Quantum, based on IBM <IP_ADDRESS> code, they are defined as:
DRIVE_QTM5        = 0xA105, /* QUANTUM Gen 5 */
DRIVE_QTM6        = 0xA106, /* QUANTUM Gen 6 */

Code from: https://forensics.cert.org/centos/cert/8/SRPMS/qtmltfs-<IP_ADDRESS>-1.el8.src.rpm
to extract it: rpm2cpio qtmltfs-<IP_ADDRESS>-1.el8.src.rpm | cpio -i -d
hint: look for "QUANTUM_BUILD" in the code.

Oops, this is a bug.


Xamarin.Android.* libs in 26.0.2-beta1 causing XF app build failure - error APT0000

Xamarin.Android Version (eg: 6.0):
Xamarin.Forms <IP_ADDRESS>0
Operating System & Version (eg: Mac OSX 10.11):
Windows 10 Pro 64-bit (1703 - 15063.608)
Support Libraries Version (eg: 23.3.0):
26.0.2-beta1
Describe your Issue:
I used Xamarin.Forms <IP_ADDRESS>0 + Xamarin.Android.*** support libraries in version <IP_ADDRESS> - everything works fine. Today I decided to try newest beta release of Xamarin.Android.*** support libraries, so I've updated them to 26.0.2-beta1.
After that, my project building starts crashing with below error:
error APT0000:  Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
Steps to Reproduce (with link to sample solution if possible):
Update XF app, that uses Xamarin.Android libaries in <IP_ADDRESS>, to 26.0.2-beta1.
Include any relevant Exception Stack traces, build logs, adb logs:
6>C:\workspace\MyApp.Mobile\MyApp\MyApp.Android\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values-v26\values-v26.xml(2): error APT0000:  Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
6>C:\workspace\MyApp.Mobile\MyApp\MyApp.Android\obj\Debug\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values-v26\values-v26.xml(2): error APT0000:  Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

You need to use our latest alpha/beta channel releases and set your app to compile against Android Oreo (API 26).
Keep in mind your android support library major version number should match your app's compile sdk version number.


FortiFlex API V2 updated collection

Updated Postman collection & environment for FortiFlex API V2

update done to have FortiFlex API V2


Add flag for customising SignInMessage displayed on login page

Adds --signin-message to allow setting a default message on the authentication page.

Hi, can we have this merged soon, please?
Same as in #424 , this doesn't have any merge conflicts, it's just one-click-of-a-button ahead :)
Thanks in advance


Improve Test Coverage for ResearchTopicsController

Closed with f774510f432e528948f815dd21ec41cc746e1a95

The tests look good, but I made a new issue, #835, to remove the dependency on loading the research topics in each test using load_seeds.


[Question] About the upscaler

Hello lucidrains,
Thanks for your code!
I was wondering, is it possible to upscale an image from 1024px to 4K px with GigaGAN? (Even if it takes a lot of memory and GPU/CPU)
In your code it seems to be a 256px upscale in 512px?
If it is possible to upscale in 1024px what values should I change in your code?
gan = GigaGAN(
    train_upsampler = True,     # set this to True
    generator = dict(
        style_network = dict(
            dim = 64,
            depth = 4
        ),
        dim = 32,
        image_size = 256,
        input_image_size = 64,
        unconditional = True
    ),
    discriminator = dict(
        dim_capacity = 16,
        dim_max = 512,
        image_size = 256,
        num_skip_layers_excite = 4,
        multiscale_input_resolutions = (128,),
        unconditional = True
    ),
    amp = True
).cuda()

dataset = ImageDataset(
    folder = '/path/to/your/data',
    image_size = 256
)

Should I change the dim, multiscale_input_resolutions? I'm a bit lost. :-)
Regards,
Sparfell

also wondering how to upscale images from A resolution to B resolution.

@LouSparfell which dataset are you training this on?


Gather vmap is NYI, but Slice also is TODO implement

Thanks for this library! It is very useful so far.
I am trying to use vmap with a function where argument 1 is the indices into argument 2 (effectively a boolean mask to sum over). However, when trying to use vmap, I get the runtime error Gather vmap is NYI, please change slices instead. However, when I look at the Slice::vmap function in primitives.cpp, I see that it is just a placeholder with   // TODO implement
https://github.com/ml-explore/mlx/blob/v0.0.4/mlx/primitives.cpp#L1907

Fix coming in #158

Thanks for the quick turnaround!


[T2A5][T09-A2]Clarence Chee

Ready for review.

Please do a commit to each individual change. It is difficult to review the code otherwise. These commits have other changes unrelated to T2A5.
When you enhance a feature don't forget to update the user guides along with the header comments and the test caases