Please cosider renaming the python module

Dear py-serializable developers,
I am working on packaging py-serializable for debian (especially because it is a dependency of cyclonedx-python-lib), and I would like to kindly ask you to consider renaming the python module.
Unfortunately, there is another serializable module, packaged already in debian as python-serializable. serializable and py-serializable install their files under the serializable module, so they are not co-installable. And giving serializable is already found in the debian archive (but it is also valid installing via pip), I am taking the liberty to ask to you to rename the module. pyserializable could be an option.
I know this creates issues for projects/modules/libraries depending on py-serializable, but I cannot think about other easier approach, if co-installability is required.
Thank you!

i could imagine renaming the installed package renamed to py-serializable could help prevent confusion.
this way, the runtime-package would have the same name as the PyPI-package.
@madpah, how do you feel about this?

Not against it @jkowalleck.

I'd let this sink in,
and will work on a solution early 2025

possible migration path, for the upcoming breaking change:
try:
  import serializable
  from serializable import ViewType, XmlArraySerializationType, XmlStringSerializationType
  from serializable.helpers import BaseHelper, Iso8601Date
except ImportError:
  import py_serializable as serializable
  from py_serializable import ViewType, XmlArraySerializationType, XmlStringSerializationType
  from py_serializable.helpers import BaseHelper, Iso8601Date


Add VSC Two Terminal Loss Model

This PR will close: #1200 #1199 #1198 #1197

@jd-lara This PR is ready for review. Tests are passing locally with these branches that also need merge:
PSY: https://github.com/NREL-Sienna/PowerSystems.jl/pull/1205
PNM: https://github.com/NREL-Sienna/PowerNetworkMatrices.jl/pull/92


Removing exports attribute, as it is not a part of maven

Codecov Report

Merging #86 (7c54ee3) into master (8187322) will decrease coverage by 0.10%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   88.15%   88.05%   -0.11%
==========================================
  Files          38       38
  Lines        1309     1264      -45
  Branches       73       72       -1
==========================================
- Hits         1154     1113      -41
+ Misses        128      124       -4
  Partials       27       27

Impacted Files
Coverage Δ

.../net/evendanan/bazel/mvn/api/model/Dependency.java
100.00% <ø> (ø)

...vendanan/bazel/mvn/api/serialization/Adapters.java
98.85% <ø> (-0.03%)
:arrow_down:

...net/evendanan/bazel/mvn/merger/ExcludesFilter.java
96.15% <ø> (-0.40%)
:arrow_down:

...mvn/merger/FilterDuplicateDependenciesEntries.java
94.44% <ø> (-0.30%)
:arrow_down:

...endanan/bazel/mvn/merger/PinVersionMergerBase.java
100.00% <ø> (ø)

...ndanan/bazel/mvn/merger/PublicTargetsCategory.java
83.33% <ø> (-6.42%)
:arrow_down:

...et/evendanan/bazel/mvn/merger/TargetCommenter.java
100.00% <ø> (ø)

...in/javatest/net/evendanan/bazel/mvn/TestUtils.java
94.44% <ø> (-0.30%)
:arrow_down:

...ava/net/evendanan/bazel/mvn/merger/GraphUtils.java
60.41% <33.33%> (+1.15%)
:arrow_up:

.../net/evendanan/bazel/mvn/impl/TargetsBuilders.java
91.39% <66.66%> (-0.14%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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

implemented in a different PR


is gamepad connecting block from gamepad extension returning false

HELLLLPPPPP!!!!!!!!!!
https://github.com/user-attachments/assets/7321c9f0-8145-49c8-a9fd-09f351dedb8e

nvm seems to be a problem on my end same thing happening in turbowarp on browser version for me


Add "Copy" link icon to headings in documentation and examples pages

In the documentation and examples pages, we need to add a "copy" link icon that copies the link of the current section for the user.
I prefer a single function to handle both pages on click event for the copy icon.
You can use this link icon. It should take the id of the section and add it to the end of the URL as hash (for example, https://sbuttons.github.io/sbuttons/examples.html#gradient)

Can I take this one?

Can I take this one?

Sure @fleventy-5 go ahead

Sure @fleventy-5 go ahead

Hey @shahednasser  I was able to add the link icon to all the example buttons. But I have to click the icon twice for the url to be copied. Do you have any solution for this problem??

Hey @shahednasser  I was able to add the link icon to all the example buttons. But I have to click the icon twice for the url to be copied. Do you have any solution for this problem??

Hey @shahednasser  I was able to add the copy link to all the button examples . But I have to click the copy icon twice most of the time for the section url to be copied. Do you have any suggestions for this problem?

Hey @shahednasser  I was able to add the copy link to all the button examples . But I have to click the copy icon twice most of the time for the section url to be copied. Do you have any suggestions for this problem?


Imports: Create or update endpoint

Add an endpoint that allows creating or updating
Add unique field to determine which column to use
Or figure out a way to add to fields generically

id
single_column_to_update

1
new value


chore: change InnerProductSpace.complexToReal to a definition

!bench

A side remark: note that !bench is very expensive resourcewise (it triggers a full rebuild without using the cache), so you should only !bench things when you expect a serious performance change in one direction or the other one. Here, you are just disabling an instance, so it can't really have a performance impact -- what is possible is that things don't build. In any case, only do !bench when you know that things build, because otherwise it's even more wasteful.

bors r+
Thanks!


Unable to locate AuthorBotId and UserBotId after code deployment failure

Hello,
I attempted to perform a deployment via ARM template, and received a code deployment failure. Following the steps in the deployment guide, I navigated to the webapp and performed a redeployment successfully.
To get the AuthorBotId and UserBotId, I followed the instructions saying to look under Configuration in the web app. However, I am unable to locate them. I also checked the environment variables, and was unable to locate those specific values.

Am I missing something, or is there somewhere else or some other way I can find these values?
Any help would be greatly appreciated.

Hello @GavinFullerTX  ,
Thanks for reaching out to us!
If your deployment is successfull, you can find the author and the user app id in the environment variables section of the app serivce with other app service configurations as depicted in the below screenshot -


Set SameSite to Strict in auth cookies

I think that, by default, we should set the SameSite attribute to Strict, protecting against CSRF attacks. Note that this is a breaking change.

@timsueberkrueb thank you for the PR, could you bump the crate version?


Updated README with additional details and badges

Description for Pull Request: Issue #566
This pull request includes the following updates to the README file:

Added relevant GitHub badges (stars, forks, issues, pull requests) for better project visibility and quick access to repository stats.
Improved formatting for better readability and consistency.
Updated content sections to clarify project goals, installation steps, and contribution guidelines.
Enhanced the contribution section with detailed steps for new contributors.

https://github.com/user-attachments/assets/83d6d366-f8fa-403b-b6d5-a7e4663f0754
Please label this PR with:

gssoc-ext for contributions under GirlScript Summer of Code Extended.
hacktoberfest-accepted to ensure it counts towards Hacktoberfest.

Thank you for reviewing my contribution! Let me know if any further changes are required.

Description for Pull Request:
This pull request includes the following updates to the README file:

Added relevant GitHub badges (stars, forks, issues, pull requests) for better project visibility and quick access to repository stats.
Improved formatting for better readability and consistency.
Updated content sections to clarify project goals, installation steps, and contribution guidelines.
Enhanced the contribution section with detailed steps for new contributors.

Screen.Recording.2024-10-20.174459.mp4
Please label this PR with:

gssoc-ext for contributions under GirlScript Summer of Code Extended.
hacktoberfest-accepted to ensure it counts towards Hacktoberfest.

Thank you for reviewing my contribution! Let me know if any further changes are required.

Kindly mention issue no you are addressing @Ganeshmoorthii

#566

Dear @Trisha-tech ,
I hope this message finds you well. I kindly request you to review and merge my pull request at your earliest convenience. Additionally, if the contribution meets your standards, please provide the hacktoberfest-accepted label.
Thank you for your time and consideration.
Best regards,
@Ganeshmoorthii

@Trisha-tech  are we labeling documentation updates with level2 ?

@Trisha-tech ,
Mam Please merge my code

@Trisha-tech


Flask not working?

Flask for on Python 2 install fine, but I get some below error when run flask application.
curl -i http://<IP_ADDRESS>:5000/
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 12
Server: Werkzeug/0.11.10 Python/2.7.10
Date: Thu, 23 Jun 2016 13:07:40 GMT
curl: (18) transfer closed with 12 bytes remaining to read
get an error ERR_CONNECTION_RESET  message on Chrome.

Thanks for reporting the issue and trying out WSL! Which Windows build are you running? Can you also post the specific repro?

@sunilmut , thanks for the reply.
build:  14367.rs1 release<PHONE_NUMBER>

Hello!
Can confirm this on build 14372.rs1_release.160620-2342.
Connection resets on a static file like this:
http://<IP_ADDRESS>:8000/static/dist/vendor.bundle.js Failed to load resource: net::ERR_CONNECTION_RESET

I think this might be related to #610

Marking this as duplicate of #610 for now. The fix for #610 is making it's way to the Insider build. If the issue persists even with the fix for #610, I would happily take the duplicate tag off and investigate. thanks.

The fix for #610 is in-bound to Insider builds. I don't have the repro for the above, so, I cannot validate whether #610 fixes this issue. If someone can post detailed repro, I am happy to try.

PoC
# pip install Flask
# cat <<EOF > app.py
from flask import Flask
app = Flask(__name__)

@app.route('/')
def random():
    with open("/dev/urandom", 'rb') as f:
        return repr(f.read(10000000))

if __name__ == '__main__':
    app.run()
EOF
# python app.py

On Windows/WSL:
# curl -i http://<IP_ADDRESS>:5000/

Expected result
Curl finishes without errors
What happens when running the Flask server on WSL

curl exits with a 'connection reset' error when curling from Windows
curl exits with a  "transfer closed with 521531 bytes remaining to read" when curling from WSL

I hope this is any use to you.

@chinant - Given that #610 and #616 are fixed in 15002, this should be fixed as well. If you can validate your scenario and let us know, we can close this issue out.

@sunilmut , it's ok, you can close it! thank you for your hard work


BadMethodCallException in Validator.php line 1067: Method [validateNulable] does not exist.

In your online demo (users / edit user demo id = 3)
http://webed.hitbui.com/admincp/users/edit/3
I try to change the about field with a value and save...then I catch this error !

Hello,
I'm checking it.

Move to new demo site


<EMAIL_ADDRESS>broke strict type checking

Repeat of #2512.
This line: https://github.com/floating-ui/floating-ui/pull/2620/files#diff-d9cb4e974bdbbdd3c2c05fcfd67270b97205552f5bd0fc0e496265e497248e09R1 re-introduced a dependency on @floating-ui/core which breaks strict type checking:
@floating-ui/react-dom/src/arrow.d.ts(1,53): error TS2307: Cannot find module '@floating-ui/core' or its corresponding type declarations.

Reproduction is same as #2512.

My mistake sorry, fix will be released soon

:O that was fast. TY for the quick fix!


1496 | Path Crossing | C++

Path Crossing -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

I'd like to contribute (Hactoberfest)

Assigned it to you for now, next time onward you first need to wait to get assigned before making any pull requests else it could be marked invalid


Add recommended replication factor for kuma-cp deployment on Kubernetes

The default deployment, generated by kumactl, comes with a replicaCount of 1 for kuma-cp. Although the documentation mentions, that the kuma-cp is horizontally scalable, the documentation lacks the information about a recommended setting for production use.
In the Community Slack, we had a discussion about this topic and it turned out that a quorum-able count (reads: 2/3, 3/5, 4/7, etc) seems to be the recommended option. Reference: https://kuma-mesh.slack.com/archives/CN2GN4HE1/p1615466512113300
Recommendations of this kind help people like me to get a good start with kuma ;)

Probably should go in the "production" docs as this is valuable info. The answer is 2 (except if perf requires you to have more than 2)

This was mentionned there: https://kuma.io/docs/1.7.x/documentation/upgrades/#upgrades and this will be rementionned in #630 and #629


Ballerina by example - could use a topic on "HTTP Client Connector"

There are examples embedded within other topics, but a simple top-level topic and an example of how to do GET/POST would be helpful.  First real example everyone will want to try is pinging some web site/service or other...

Added the sample in [1]
[1] https://ballerinalang.org/docs/by-example/http-client-connector


feat: api docs links

Description

Demo

Checklist:

[ ] I have read and followed the Contributing Guide
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Merging as agreed on dev chat in order to release it today


⚠ BroadcasTheNet has degraded performance

In 76c8aab, BroadcasTheNet ($BTN) experienced degraded performance:

HTTP code: 200
Response time: 3152 ms

Resolved: BroadcasTheNet performance has improved in aed4b5f after 10 minutes.


NPE when attempting to use cookie session store

In trying to use the CookieStore session store using non-default attributes, I encountered the following stack trace:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
at clojure.lang.LazySeq.sval(LazySeq.java:47)
at clojure.lang.LazySeq.seq(LazySeq.java:56)
at clojure.lang.RT.seq(RT.java:450)
at clojure.core$seq.invoke(core.clj:122)
at ring.util.servlet$set_headers.invoke(servlet.clj:86)
at ring.util.servlet$update_servlet_response.invoke(servlet.clj:124)
at ring.adapter.jetty$proxy_handler$fn__731.invoke(jetty.clj:18)
at ring.adapter.jetty.proxy$org.mortbay.jetty.handler.AbstractHandler$0.handle(Unknown Source)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
It appears as if one of the headers is set to a lazy-seq which is then trying to walk over a nil. This app works fine with the standard memory store, so I believe this to be an issue with the cookie store in particular. I reported this to the Noir mailing list and Chris thought it was a bug in Ring, so I am opening this issue.
The code which produces this is here:
https://github.com/codeslinger/nooz/blob/0b2f08bcb7efce23a41894c91dce234087bd581c/src/nooz/server.clj#L17
If I remove the :session-cookie-attrs line from the configuration map, everything works properly. Having it in, though, produces the above stacktrace and a 500 error on every request to the server from then on.

Actually, I just removed the :http-only parameter from the configuration map and it now works. It appears as if the problem is caused by passing ":http-only true" to the configuration map for :cookie-attrs.

I've investigated this, and I eventually uncovered the problem.
The root cause is Noir 1.2.1's dependencies, and the unintuitive way they're being resolve. Noir 1.2.1 depends on Ring 1.0.0-RC1, which in turn depends on Ring-Core 1.0.0-RC1. But Noir also depends on Compojure 0.6.5, which depends on Ring-Core 0.3.11.
Now, I'd expect these dependencies to resolve with Ring-Core 1.0.0-RC1, but when I removed the :local-repo-classpath option from your project.clj file, and took a look at the dependencies in lib, it was Ring-Core 0.3.11 that was being used. How the dependencies worked out this way I'm not sure.
Ring-Core 0.3.11 doesn't include the :http-only key, and trying to set it causes the cookie middleware to blow up in a rather unintuitive way. To make sure this doesn't occur in future versions of Ring, I'm going to update the middleware to produce a far more sensible error message (probably using a pre-condition).
Noir will still have to be fixed, though. My guess is that including an explicit [ring-core "1.0.0-RC1"] might fix it... But it may not matter in a few days, as I plan to release Compojure 1.0.0 shortly after Ring 1.0.0.

Ah yes, disabling :local-repo-classpath and adding an explicit [ring "1.0.0-RC1"] does indeed now allow me to use the :http-only option without the NPEs and 500s. Thanks so much!


Mac signing tweaks

This pull request supersedes #742 and contains a few tweaks:

Add a missing dependancy so that signing works on a Mac.
Specify the identity so that it matches a common, free-of-charge identity.
Set an app category — which the Finder can use when sorting applications by category.

I'm not sure which identity is available on your Travis setup, but this at least fixes signing on my Mac :)

check out the mac-tweaks branch in yakyak.. I'm trying to tweak .travis.yml to build the osx version in mac with your changes
travis build: https://travis-ci.org/yakyak/yakyak/builds

I noticed the latest build is green. Then I downloaded yakyak-1.4.4-mac-test and I still get

:(
was it really signed?  I'm guessing signing with "Mac Developer" will only be recognized in the same computer it's being built, otherwise the purpose of signing is kinda defeated.
the logs are not very clear if it happened or not
I think that we might need a real certificate and something like this: https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/tree/master/sig

was it really signed? I'm guessing signing with "Mac Developer" will only be recognized in the same computer it's being built, otherwise the purpose of signing is kinda defeated.

Unfortunately, it wasn't:
$ codesign -vv ~/Downloads/YakYak-darwin-x64/YakYak.app
/Users/dan/Downloads/YakYak-darwin-x64/YakYak.app: code object is not signed at all
In architecture: x86_64

I'm guessing that there's no identity matching “Mac Developer” available. Just so we can check that a subscription isn't necessary, I've uploaded a binary to my fork. That one is signed:
codesign -vv dist/YakYak-darwin-x64/YakYak.app
dist/YakYak-darwin-x64/YakYak.app: valid on disk
dist/YakYak-darwin-x64/YakYak.app: satisfies its Designated Requirement

I think that we might need a real certificate and something like this […]

Well, you will need a real certificate, but preferably one from Apple. It's not that hard, assuming you have a Mac: sign up at develop.apple.com, and then get the certificate using Xcode. I think code-signing certificates from other CAs work, but they tend to be quite expensive compared even to a paid Apple Developer account.
I think you should be able get by with a much simpler solution than what they have. I've added a commit that allows overriding the identity & keychain. Then, you just need to have Travis unlock a keychain and set two environment variables, and then it should Just Work™ 😉

You could try setting the DEBUG environment variable in the Travis configuration:
DEBUG=electron-osx-sign npm run gulp deploy:darwin && codesign -vv dist/YakYak-darwin-x64/YakYak.app

Quoting myself:

I'm guessing that there's no identity matching “Mac Developer” available. Just so we can check that a subscription isn't necessary, I've uploaded a binary to my fork. That one is signed:

I just tried downloading it, and the signature doesn't pass muster. In other words, you do need a paid subscription in order to be an “identified” developer…

If a paid subscription is necessary it really sucks! :\
Mac is not my arena, so I pass the ball to @davibe :p

Coming to think of it, you might not want to have Travis sign all builds anyway… At the very least, it shouldn't sign pull requests automatically; that's a glaring vulnerability.

We are only building on tag updates, which are either releases or pre-releases
Travis only runs tests on other updates (such as pull requests, commits, etc..)

Yes, it looks like we would need a paid apple subscription and i cant use the same iOS (mobile) I already have for desktop apps. At the moment I am not willing to pay extra for it.


Create the Invalid Blocks API

Follow the Accounts API PR to develop a wrapper around the Invalid Blocks API:

https://thenewboston.com/bank-api/invalid-blocks

Hello @Mirch Can this please be assigned to me?? already started work on it

@alfkonee what is your account number?

Account Number
dd0a2bfb303d051eb7e14554de3e517249a409b278afcbad30e961cec316a8ae


Some equivalent solutions not recognized

To reproduce, don't select any pylons, and unselect Santa Claus, Tax Collector, Demolitionist, and Tavernkeep (simplifies solutions). There is only 1 solution, but the Steampunker and Cyborg should have a setup where they're in the Desert. In the Snow, their values are 0.84/0.84. In the Desert (you can check this by upping Steampunker's weight), they would be 0.79/0.89, the average of which is equivalent.
Before rounding, Steampunker's 0.84 -> 0.79 decrease from being in the Desert is actually 0.0504, while Cyborg's 0.89 -> 0.84 decrease from being in the Snow is 0.0534. I'm guessing the calculator prioritizes the Cyborg here because of that.

Great spot, a fix is out.
Your guess is close.
The calculator rounds the pricing modifier for each NPC before doing further calculations, so the decrease is correctly treated as 0.05 for both,
BUT, with JavaScript's floating point implementation, 0.79+0.84 is more(!) than 0.84+0.84 (as you can see below), so the desert biome is seen as worse. The fix is to round it to 8 decimal places after addition to get rid of that …0000002.


Character limit for API?

Hi. I'm seeing truncated tweets at much less than the 280 char limit it seems.
Example from stephenfry:
In LA on 26th Feb? @letterslive with @driverminnie, @JKCorden, @HamillHimself me, Jarvis Cocker, Ian McShane, +   MAN...
The actual tweet:
In LA on 26th Feb? @letterslive with @driverminnie, @JKCorden, @HamillHimself me, Jarvis Cocker, Ian McShane, + MANY surprises. In aid of http://826LA.org  and @WomenforWomen - https://vimeo.cosylm/252748387/702b9cdae3
Tickets here -
Links to tweet:
https://twitter.com/i/web/status/963316948321882112
Any idea why this is happening?

This is because you need to use the "extended" tweet_mode argument to your api calls now to get tweets with full text, and use the field full_text instead of text, see examples and links in #369

But this is with the CLI. I can't see any command line options for extended tweets.

Hi,
I got the same problem using the CLI tool (twitter set command) for my Twitter bot which can be found at this adress: https://twitter.com/YoureNotYourTL/
Example : https://twitter.com/YoureNotYourTL/status/962362777217191936 + https://twitter.com/YoureNotYourTL/status/962362779092111360

Hi,
Yes no one is maintaining the CLI tools, so they need to be adapted as was done for twitter archiver in #371.
These are quite easy fixes to implement, pull requests are very welcome!

Actually it seems tweeting 141+ char tweet is causing the CLI to hang in infinite loop, even after I started trying to fix it (140 char limit in class SetStatusAction in twitter/cmdline.py).

Can you share your fix attempt?

Ok. I have this working for commands, but when using the userstream I still get 140 char tweets still.
Python:
`kwargs = dict(tweet_mode='extended')
stream = TwitterStream(auth=OAuth(
oauth_token, oauth_secret, CONSUMER_KEY, CONSUMER_SECRET),
api_version='1.1', domain="userstream.twitter.com",
**stream_options)
tweet_iter = stream.user(**kwargs)
for tweet in tweet_iter:
if ...
elif tweet.get('full_text') or tweet.get('text'):
etc...
`
Any ideas?

I just had this message from a twitter dev:
User streams has been deprecated and we plan to sunset it soon. I encourage you to build on fully supported API.
So the question now is how to adapt it to the api.twitter.com and how to keep it updating.

I've never played with the userstream, but in the regular stream the returned tweets contain a new object extended_tweet which contains the full_text : https://developer.twitter.com/en/docs/tweets/tweet-updates
But userstream is supposed to disappear indeed so you might want to shift to rest api routes such as these, it depends what you want to grab: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline.html


Debugging pytests Using Subprocesses Fails

Environment data

VS Code version: 1.35.1
Extension version: 1.35.1
OS and version: macOS 10.14.5
Python version: 3.7.3
Relevant/affected Python packages and their versions: pytest 4.6.3
Jedi or Language Server? Jedi

Expected behaviour
Test results when running with debugger are identical to the results from a run without debugger.
Actual behaviour
Tests fail because subprocess can not be successfully executed when running tests with the debugger attached.
Steps to reproduce:

Write a simple pytest (haven't tested with others) using subprocesses and it's shell argument set to Trueimport subprocess
def test_subprocess():
    result = subprocess.run(
        ' '.join(['echo', 'hello']),
        shell=True
    )
    assert result.returncode == 0

Run that test using the test explorer without debugging
Result is green
Run the same test again with debugger
Result is red because returncode is 2 (also stdout and stderr are empty)

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

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
none

Or do you guys think this would better be reported in microsoft/ptvsd?


[FEATURE REQUEST] Integrate repology for displaying generally outdated packages and security vulnerabilities

Please confirm these before moving forward.

[X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This proposal is a completely new feature. If you want to suggest an improvement or an enhancement, please use this template.

Describe the new feature
Repology (https://repology.org/repository/winget) is offering an API to get latest version of software across multiple repos. IMHO the most interesting feature beyond checking if a package is outdated, if a package is potentially vulnerable: https://repology.org/projects/?inrepo=winget&vulnerable=1. Repoplogy offers a simple API https://repology.org/api/v1
Describe how this new feature could help users
User can understand if a package if it is worth updating. Particularly I hesitate to move a package from chocolatey to winget if not really necessary. Security is certainly a reason.

They have an interesting API, that cover most of the available package managers, but I need to figure out how to properly take advantage of it


[Feature] Issue & PR Template for Repository and Contributing Guide

Feature :rocket:
Things to be added:

To serve a basic template for the issue and pull request creators
To guide new contributors to contribute to this repository

Issue & PR Template are added! ✅
Status for this issue:

[x] To serve a basic template for the issue and pull request creators
[ ] To guide new contributors to contribute to this repository

Pending:

A guide for new contributors to contribute to this repository
Contributing Guide should have the file name of CONTRIBUTING.md

This issue is fixed now! (e99959a)


Installing and working with anaconda

Hi,
please add the following code for python-anaconda part, otherwise it results in errors while importing pdftotext in jupyter notebook
conda install libgcc
Thanks for yours library, it works very good and does the job perfectly.

@lohithn4 What OS is this and what version of anaconda? I have a fresh install of anaconda2 5.2.0 on macOS here and don't experience this issue. libgcc seems to be shipped with anaconda.
Anaconda seems to use strange build settings in general, at least on macOS, so I wouldn't be surprised if there is something here I need to fix. See #22 for some related details.

Closing for lack of current information. Everything looks good to me here, but if anyone has more info, please reopen.

I finally added a note to the README about this


parser update

parses with some regex thats stricter than before (nothing) and raises if regex match isn't found - indicating parser errors ASAP instead of later. this fixes the parsing of the updated course cards
added max threads which scrapes every course in less than 10 mins which is nice
proof that i actually tested it: (cmput 361 is not present in prod)

this can't be right?

I don't know why it's 95% but the -152kb diff is expected because spring term is over

Can you fix handling of classes with no times? It's crashing with stat 151 and econ 101. Those asynchronous classes had to be manually deleted as workarounds.


refactor(semantic): remove resetting current_reference_flags in visit functions

#7986  👈 (View in Graphite)
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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


Make error notifications more user friendly

Currently error notifications show the user the stack trace and also give no information on how to seek help or if it is a common problem how to fix it. This should be changed so that it is easier to troubleshoot.

Fixed by #2153


Add tests for tx deserialization

Tests were not a part of #335, so we should add some. This could also be a part of #174

Moving to stage 5 since that's when we'll need this (see #174)

Marking this as "invalid" since we might not even need tx deserialization. Waiting for #273 to confirm

Done long ago, including roundtrip tests


proposal: go/ast: add DepthFirst iterator

Proposal Details
Programs that use go/ast often need to make traversals over the tree to find all nodes of a given type (or types), or to search for a specific node. The existing ast.Inspect function allows them to do this, but it can impose a significant syntactic overhead. This example shows a use of Inspect to print the first interesting node, aborting the traversal once the node is found:
	var found bool
	ast.Inspect(root, func(n ast.Node) bool {
		if !found && n != nil && interesting(n) {
			print(n)
			found = true
		}
		return !found
	})

We propose to add this function to go/ast:
// DepthFirst returns a go1.23 iterator over the nodes of the syntax
// tree beneath the specified root, in depth-first order.
//
// For greater control over the traversal of each subtree, use [Inspect].
func DepthFirst(root Node) func(yield func(Node) bool) { // = iter.Seq[Node]
	return func(yield func(Node) bool) {
		ok := true
		Inspect(root, func(n Node) bool {
			if n != nil {
				ok = ok && yield(n)
			}
			return ok
		})
	}
}

which would allow the previous example to be simplified to:
	for n := range ast.DepthFirst(root) {
		if interesting(n) {
			print(n)
			break
		}
	}

cc @findleyr @griesemer

For the curious, it adds 10-15% to the cost of a trivial traversal.

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

The name DepthFirst doesn't indicate whether its Preorder or Postorder. It sounds like we should call it Preorder.
(This matches Inspect, but Inspect is kind of both, it passes n before the visit of children and nil afterward. This function drops the nils.)

Have all remaining concerns about this proposal been addressed?
The proposal is to add:
// Preorder returns a go1.23 iterator over the nodes of the syntax
// tree beneath the specified root, in depth-first order.
// Each node is produced before its children.
//
// For greater control over the traversal of each subtree, use [Inspect].
func Preorder(root Node) iter.Seq[Node]

Based on the discussion above, this proposal seems like a likely accept.
— rsc for the proposal review group
The proposal is to add:
// Preorder returns a go1.23 iterator over the nodes of the syntax
// tree beneath the specified root, in depth-first order.
// Each node is produced before its children.
//
// For greater control over the traversal of each subtree, use [Inspect].
func Preorder(root Node) iter.Seq[Node]

No change in consensus, so accepted. 🎉
This issue now tracks the work of implementing the proposal.
— rsc for the proposal review group
The proposal is to add:
// Preorder returns a go1.23 iterator over the nodes of the syntax
// tree beneath the specified root, in depth-first order.
// Each node is produced before its children.
//
// For greater control over the traversal of each subtree, use [Inspect].
func Preorder(root Node) iter.Seq[Node]


Contact Page 404 NOT FOUND

I'm not sure if the Contact page is mean to redirct to the 404 Page
I briefly checked code, it seems all good
but not sure why it cannot redirect to the correct  Contact page

All right, this is not a bug, its pre-set to


Is OpenCensus a globally available feature?

Is the OpenCensus feature a globally available feature?
In China, I installed Python 3.8.3 with powershell in the win10 system environment, and ran the python script in the following article Set up Azure Monitor for your Python application, and the console reported an exception:"ValueError: Invalid instrumentation key", but I actually replaced the Application Insight's instrumentation  key in my subscription. Are there other aspects that I have not considered?

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

ID: fe78588d-6ed5-52b1-7b02-6e53affb000d
Version Independent ID: df4cdd51-678e-7a57-ef23-59c48b623fdd
Content: Monitor Python applications with Azure Monitor (preview) - Azure Monitor
Content Source: articles/azure-monitor/app/opencensus-python.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @reyang
Microsoft Alias: reyang

@Johnnytechn,  Thanks for the question! We are taking a look into this and will get back to you soon.

@Johnnytechn check out this https://docs.microsoft.com/en-us/azure/azure-monitor/app/sdk-connection-string?tabs=net.
@ramthi

Thank you @reyang for helping on the thread.
@Johnnytechn Can you please review the information shared by @reyang and revert back if you have any further questions.
Hope the above information helps. At this point it appears that there's no further edits or updates needed to the documentation. We will go ahead and close this issue, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


What about Bitsearch ?

Hi @TheBeastLT , I just some interesting website, https://bitsearch.to. I think it might be good if you can manage to add it to the list, since it is very interesting.

This is a DHT  crawler and they are usually not well categorized (some series/movies not included in correct categories, porn is often included in movie/series categories and etc), so I won't be including any DHT crawlers as it would bring just more unfiltered trash.


Admin Panel: Media manager

We should have normal media manger instead of entries media tab.

moved to https://github.com/flextype-plugins/admin/issues/96


chore: husky config

This PR introduces the husky's config to validate the colors of changed icons locally.
This will catch errors regarding the colors of icons before putting them into the repo.
That way we won't have to wait for CI to find the problem.

@bart-krakowski, Please sync this branch with the main branch now


MRG, ENH: Add suggestion to work through an example

Inspired by a conversation with @olafhauk on gitter.
@drammock feel free to merge if you're happy.

https://15498-1301584-gh.circle-artifacts.com/0/dev/install/contributing.html


Text should not be selectable

Hey Pawan I want to help in this.

Hi @vinayak-trivedi please go ahead with the task and go through README.md


Update README.md for native instructions

A first pass at react native instructions so people can get started

made changes as requested.

Looks great!


Updating project dependencies to be in line with the jsonapi-server

Updated .travis.yml configuration to use currently supported Node.js
LTS versions of 4 and 6
Updated package.json dependencies
Updated the test/proxy.js file to check if we're on a directory before
attempting a require.

Closing as these updates have been included in an updated PR.


Remove obsolete Calico files

Current coverage is 68.01% (diff: 100%)

No coverage report found for master at c538e61.

Powered by Codecov. Last update c538e61...1ae30ab

CC @heschlie

@redbaron Good catch, these should be taken out after the self-hosted upgrade.  LGTM

Thanks to all for the improvement :bow: Merging.


simple question

what is bgstal/multiple Windows3d Scene?

first of all it's wrong there is nothing like bgsta/multiple Windows3d scene. there is ngstyle and which is used for styling in angular

A simple example showing how to setup a 3d scene across windows on the same origin using three.js and localStorage. Code should be self explanatory.
Please close.


exporting a video with missing edited file causes missing path to be skipped

The elif block in this code in export_cli is not needed and causes the "missing" processing to be skipped. The original gets downloaded but there's no attempt to export the edited version and it's not added to the missing count.
    # slow_mo photos will always have hasadjustments=True even if not edited
    if photo.hasadjustments and photo.path_edited is None:
        if photo.slow_mo:
            export_original = True
            export_edited = False
        elif not download_missing:
            # requested edited version but it's missing, download original
            export_original = True
            export_edited = False
            verbose(
                f"Edited file for [filename]{photo.original_filename}[/] is missing, exporting original"
            )

See also #1379


[💡 FEATURE] - encyption feature while upload to gsuit

Hello , is it possible to add encryption feature to the app with some strong key to use it also for decrypt the files when key is provided , like rclone ?
rclone is cool but not an easy for me many people like how its but its not an easy gui for windows users who dont want to deal with configuration and long story setup
i tried many apps , and rclone browser and many rclone passed gui , web gui etc , all are hard to config .
this will make a big different , thanks in advance.

Unfortunately for security reasons, this app won't deal with encrypting the actually files on Google Drive themselves because they will never exist on the local drive.


Delete recruiting

Background uploader is fiddly and has demonstrably caused data loss already. Suggest removing.

@ryanstrat suggested making this toggleable

Consider replacing this with Hubspot forms + importing a list of emails in Mailchimp

Consider replacing this with Hubspot forms + importing a list of emails in Mailchimp

After discussion during grooming we have decided to remove recruiting from Apiary entirely pending discussion with Cameron.

After discussion during grooming we have decided to remove recruiting from Apiary entirely pending discussion with Cameron.


use github.com/klauspost/compress/zstd instead of github.com/DataDog/…

related to issue https://github.com/go-mysql-org/go-mysql/issues/799

This is basically the same as #801 but I hadn't noticed this PR before I started.
My PR removes older Go versions and add some tests.

thanks


Scan error on column index 0, name "year": bun: can't scan 2022 into string

I have this code:
type Stat struct {
	Year   string
	Month  string
	Amount int
}

func queryByYearAndMonth(ctx context.Context, dbPG *bun.DB) ([]Stat, error) {
	var statistics []Stat

	query := dbPG.NewSelect().Model((*Invoice)(nil)).
		ColumnExpr("EXTRACT ( YEAR FROM DATE_TRUNC( 'year', DATE ) ) AS YEAR").
		ColumnExpr("EXTRACT ( MONTH FROM DATE_TRUNC( 'month', DATE ) ) AS MONTH").
		ColumnExpr("SUM ( amount / 100 ) AS amount").
		Group("year", "month").
		Order("year desc").
		Order("month desc")

	if err := query.Scan(ctx, &statistics); err != nil {
		return nil, fmt.Errorf("err")
	}

	return statistics, nil
}

but I'm getting this error:
[bun]  SELECT                1.525ms  SELECT EXTRACT ( YEAR FROM DATE_TRUNC( 'year', DATE ) ) AS YEAR, EXTRACT ( MONTH FROM DATE_TRUNC( 'month', DATE ) ) AS MONTH, SUM ( amount / 100 ) AS amount FROM "invoices" AS "invoice" GROUP BY "year", "month" ORDER BY "year" desc, "month" desc
                                  *fmt.wrapError: sql: Scan error on column index 0, name "year": bun: can't scan 2022 into string

Why?
github.com/uptrace/bun v1.0.21
github.com/uptrace/bun/dialect/pgdialect v1.0.21
github.com/uptrace/bun/driver/pgdriver v1.0.21
github.com/uptrace/bun/extra/bundebug v1.0.21

Yeah. I already fixed like this. But is strange, I mean, maybe a more specific error or I don't know...
Thank you @hwsoderlund.


Bug 2087701: [RFE] Missing a link to VMI from running VM details page

📝 Description
🎥 Demo

Signed-off-by: Aviv Turgeman<EMAIL_ADDRESS>

/lgtm


Align small zeros to bottom of text

Currently how it looks

Adding a span to the <p> that contains the big and small text items resolves the issue.  The problem is that the 3 pieces of text are part of a bigger flexbox that is center aligned.  We want the text overall to be center aligned, but we want the text to bottom-align with each other so we can put the 3 text items in a <span> container (which is bottom aligned by default) that then sits inside the flex <p>.


Autoplank causes desktop to lag

This is the issue we were talking about on Reddit: https://www.reddit.com/r/elementaryos/comments/95a879/autoplank_use_plank_on_multimonitor_setup/e3tmfas/.
My Gnome desktop lags like crazy and I get increased CPU usage for some Xorg process that's usually near 0%.
Here's a htop screenshot: https://i.imgur.com/Jj1bLHs.png While the CPU usage is not very high for that process, it's usually around 0 CPU usage until I run autoplank, and the desktop gets very choppy (mouse movement and dragging windows) and laggy while autoplank runs.
I'm using Ubuntu 18.04 with Gnome desktop, Nvidia 980 gtx graphics with proprietary nvidia drivers in case that matters. Also in case it matters: I'm using 2 monitors with different resolutions and aspect ratios: 2560x1080 (21:9) and 1920x1080 (16:9).
Plank version:
$ apt-cache policy plank
plank:
  Installed: 0.11.4-2
  Candidate: 0.11.4-2
  Version table:
 *** 0.11.4-2 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Let me know what I can do to debug this.

By the way, if I change
		for range time.Tick(time.Millisecond * 500) {

to:
		for range time.Tick(time.Millisecond * 1500) {

In autoplank, the desktop feels less choppy (although a bit of lag can still be observed). The Xorg process I was mentioning still has some pretty high CPU usage with this new millisecond value though, somewhere between 10-30%.

I initially set the value to 2000 which should be fine for most people. I assume it has something to do with the graphics card.
I'll update this issue when I make changes so you can help verify.

@logix2 do you mind updating now and see if there is any difference?

I'm no longer noticing any desktop lag with the latest Git. I guess this can be considered fixed. I'll leave autoplank running and let you know if I notice anything.


<IP_ADDRESS> override every host set in constructor

Hi,
With ioredis > 3.1.2, it is not possible to connect to adresses other than <IP_ADDRESS>. The host is automatically replaced by <IP_ADDRESS>.
I tried to use new Redis(object), new Redis(6379, host). Both are being replaced.
Thanks.

Can we get a response on this? I'm just now facing this issue as well. Is the solution to downgrade?


Ripple effect, strange behaviour on ios

Hi
first of all, thanks for your plugin! :)
But i have found an issue with the ripple effect on tabs. Everything works well on android, but on ios the ripple effect produces a strange shape (not fulfilling the rectangular shape of the tab) and it doesn't disappear when the touch ends

same issue


[fontdrasil] Typed coordinate spaces

This started out as just an experiment, but I ended up fleshing it out to the point where it is mergeable, if we wish.
The basic idea is that instead of having separate types for each coordinate in each space, we actually use the space as a type parameter, and then have a single Coord type that is generic over that parameter. This means that we define all conversions in terms of the coordinate space, and then we can define methods on a single Coord type that are available everywhere. (We can also define methods that are specific to a coordinate in a particular space.)
So... I'm anticipating a lot of tell-me-whys here, and I fundamentally agree that this is not a hugely important change. The main advantages as I see them is that this version has slightly better ergonomics and is a bit more maintainable, while generating slightly less code. The downside is that it uses an advanced language feature, PhantomData.
Finally, if we decide this is not actually an improvement then I hope at least it is a useful illustration of an idiomatic approach to this problem.
edit:
Having played with this a bit more, I am more convinced this (or something in this vein) is the right design. The basic rationale is that doing things this way lets you make other code more generic; for instance it would now be very easy to make our PiecewiseLinearMap be generic over a pair of coordinate spaces, like:
struct PiecewiseLinearMap<FromSpace, ToSpace> {
    from: Vec<Coord<FromSpace>>,
    to: Vec<Coord<ToSpace>>,
}

and because we know that both types are Coords, we can know there is always some available set of methods. This would not work if we were using the current coord types and doing PiecewiseLinearMap<T, U> since we don't now anything about T and U in that case.
basically: The advantage of Coord is that it encapsulates all of the general behaviour of a coordinate, regardless of the coordinate space, and that is actually a useful distinction in some cases.

At a glance I like it, will do an actual review later.

looks neat though I am still unsure what the PhantomData is actually doing

Oh I see. The generic struct Coord doesn't store a Space type but needs to behave differently based on it; so the zero-sized PhantomData here acts as a "type marker".
Still not clear why it isn't just PhantomData<Space>, I see you added a comment with a link, but i'm scared of the rustonomicon

So yea, PhantomData is a way of making a type behave as if it contains some type or lifetime without actually containing that type or lifetime, which is useful for things like this.
The reason you don't do PhantomData<T> (at least in this case) is that for that type the compiler behaves as if you actually contain the given type. In particular it means that the compiler will assume that the type may drop a value of T when it goes out of scope, which we don't want. We also want to make sure that coords can always be passed between threads, so I just looked at the chart in the nomincon and picked the type that offered covariance + send + sync. 🤷


[ASK] How to implement pre, mid and post rolls

I've installed the latest version of this sdk and I'm using React Native v0.73.4
Previously we had a set up like this which worked on both iOS and Android for pre rolls:
JWConfig => ({   advertising: {     adClient: 'ima',     adSchedule: [{offset: 'pre', tag: Config.GOOGLE_ADTAG_URL}],   },   autostart: false,   backgroundAudioEnabled,   category: 'Playback',   categoryOptions: ['AllowBluetooth'],   enableLockScreenControls: true,   landscapeOnFullScreen: true,   license: IS_ANDROID     ? Config.JW_PLAYER_LICENSE_ANDROID     : Config.JW_PLAYER_LICENSE_IOS,   mode: 'SpokenAudio',   pipEnabled: false,   playlist: [     {       file: videoURI ?? '',       image: imageURI ?? undefined,       title: '',     },   ],   portraitOnExitFullScreen: true,   styling: videoStyle, });
With this SDK it only works on Android, on iOS no pre rolls play.
I tested some of the example code in the repo using:
JWConfig => ({   advertising: {     client: 'googima',   },   autostart: false,   backgroundAudioEnabled,   category: 'Playback',   categoryOptions: ['AllowBluetooth'],   enableLockScreenControls: true,   landscapeOnFullScreen: true,   license: IS_ANDROID     ? Config.JW_PLAYER_LICENSE_ANDROID     : Config.JW_PLAYER_LICENSE_IOS,   mode: 'SpokenAudio',   pipEnabled: false,   playlist: [     {       adschedule: {         adBreak1: {           ad: {             source: 'googima',             tag: Config.GOOGLE_ADTAG_URL,           },         },       },       file: videoURI ?? '',       image: imageURI ?? undefined,       title: '',     },   ],   portraitOnExitFullScreen: true,   styling: videoStyle, });
This allows pre rolls to work on both iOS and Android however,

How do I get mid and post rolls working?
This code results in typing errors, adschedule does not exist on type playlistItem and client does not exist on type Advertising
Is 'googima' the correct source/client to use as opposed to 'ima'?

Hi @Solly74, what version of the React Native wrapper was this configuration working on? Was it in the now legacy repository, seen here? If so, you may want to review the changes in default configurations. If you use the prop forceLegacyConfig: true, your config from the older repository should still function as before.

They do work when placed on the playlist or player item through the advertising prop in the schedule object. Please provide a specific configuration with your ad tag (if you do not have a sample ad tag, you can raise this issue with our support for confidential communication) and media so we can test as close to your configuration as possible.
The type definition has been updated in 1.0.0, but we had to respect the legacy types, causing possible confusion. The new JwPlaylistItem has adschedule and schedule (array of objects or object of objects) props and the refreshed adclients do have the option for schedules.
googima is the correct source/client when using our refreshed props as it's the expectation from our parsers on the native code. This is more in line with our other products.

Thank you @Jmilham21 the forceLegacyConfig: true worked as previously. We were using the now legacy repository and we're switching over to this one.

Using the legacy wrapper I've tried this with no luck. We have an ad tag that works for pre rolls but the same tag doesn't work for mid and post. However when only using mid and post then it works, the moment I add pre rolls, the mid and post don't play , only the pre rolls play and sometimes I can see the little stub in the seekbar for the mid roll but nothing plays. Is it ok to use the same ad tag for pre, mid and post?

I've seen JwPlayListItem but the adschedule type is JwAdBreak[] and in the single example the adschedule is a single object. So not sure how to type the example?

I've tried using the refreshed props using the tag in the example and I face the same issue as I do in 1.
{     advertising: {       client: 'googima',       schedule: [         {           ad: {             source: 'googima',             tag: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=',           },           offset: 'pre',         },         {           ad: {             source: 'googima',             tag: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=',           },           offset: 'mid',         },         {           ad: {             source: 'googima',             tag: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=',           },           offset: 'post',         },       ],     },     autostart: false,     backgroundAudioEnabled: true,     category: 'Playback',     categoryOptions: ['AllowBluetooth'],     enableLockScreenControls: true,     license: IS_ANDROID       ? Config.JW_PLAYER_LICENSE_ANDROID       : Config.JW_PLAYER_LICENSE_IOS,     playlist: [       {         file: 'https://content.bitsontherun.com/videos/q1fx20VZ-52qL9xLP.mp4',         title: 'Single Inline Linear Preroll',       },     ],     title: 'Single Inline Linear Preroll',   };
Does the above config look ok? Only the pre rolls work, if I remove the pre rolls then mid and post work fine.
Do you have an example of a video with pre, mid and post rolls that I could look at?

@ Solly74 iOS may not be parsing these tags correctly. I can verify your claim using your config. Your config works fine on Android and matches the pattern I expected. One thing to note is that don't use mid as an offset. If you want it in the middle, use 50%, or if you know a timestamp, you can set that.
I'm leaving this open and think this may be either a bug or bad documentation regarding how Android/iOS may parse advertising configs differently. I will let our iOS engineers know and ask them to take a look.

Thank you @david-almaguer
That was the issue.
This could be included in the documentation? @Jmilham21


Support indeterminate

Don't support indeterminate

It would be great to have intermediate support.  I have a use case where on-click I'd like to set to an intermediate state whilst a server call is made and set the toggle to the result of the server call.


Invalid python_requires metadata stating the supported Python runtimes

One of the factors pip install uses to identify if a given version is compatible with the current Python runtime is python_requires entry. It is strongly recommended to add something like python_requires='>=3' whenever you drop support for Python 2 (same stands for other versions, of course).
If it's not set, pip will assume that the given version is compatible with Python 2 and will select it for installation regardless of whether the code in the dist is compatible with it. So this leads to having broken installs for users.
I noticed that you removed Python 2 support via https://github.com/sphinx-contrib/spelling/pull/33 and https://github.com/sphinx-contrib/spelling/pull/47/files. And you removed the corresponding Trove classifier entry but that's not enough.
Trove-classifiers are only used as tags/categories for search on PyPI. pip doesn't take them into account at all.
This is also visible at https://pypi.org/project/sphinxcontrib-spelling/5.1.0/ — there's no "Python requires" entry in the left column. For example, if you look at https://pypi.org/project/CherryPy/18.6.0/, you'll see that it requires Python >= 3.5.
How to fix this

Add python_requires to your setup.cfg.
Cut a new release and verify that "Python requires" is present (note: PyPI reads this metadata from wheels, not sdists, so make sure to have them uploaded too)
Modern pip + modern Warehouse (PyPI) now implement support for "yanking" releases (PEP 592) and you should use it: just hit the "Yank" button on PyPI for the "broken" releases. This will make sure sure that those will not get pip installed by accident (unless users will specify the exact version in their pins, as in == 5.1.0). It's better than deleting because it keeps the release available on PyPI (it will just have a special label on the UI).

Thanks for this bug report and the very helpfully detailed instructions for fixing it!

The fix is released as part of 5.1.1.
Pulling packages from pypi gives me the chills, so I'm going to leave the existing releases up unless they're considered so completely broken that they're unusable.

@dhellmann just to be clear: I didn't suggest deleting. "yanking" is not removing anything. Things will be there and listed in the list of releases. Just marked with a yanked label. It mostly means that users shouldn't try installing them. But if they do so, they'll get those versions as they are not deleted.
The only difference would be for the recent pip versions. When users will do something like pip install sphinxcontrib-spelling it'll skip those versions while using pip install sphinxcontrib-spelling==5.1.0 will install that version, no questions asked.
That's where it's different from deleting (which will effectively make pip say "hey, that version doesn't exist").

As an example, I have a yanked release 0.0.0 here: https://pypi.org/project/ansible-collections.python.dist.boo/#history.

Ah, I didn't realize yanking was different from deleting. I've yanked 5.0.0 and 5.1.0. Thanks for the tip!


Code spell checker

In light of https://github.com/1c3t3a/rust-socketio/pull/59

I just fixed some errors on the current refactoring branch please rebase all open PRs onto the current refactoring branch.

I just fixed some errors on the current refactoring branch please rebase all open PRs onto the current refactoring branch.

Done. This is just related to the devcontainer not code.


ENH: sparse.linalg: Normalize type descriptions

Reference issue

What does this implement/fix?

Use clearer and consistent type descriptions.
Additional information

Just to confirm--all of the removed matrix entries are not actually referring to support for the separate np.matrix object?
I know usage of np.matrix is discouraged, but just wondering if the use of matrix was referring to that type even though it is not supported, or is the point that it is supported but you want to discourage the use here as well?

matrix (numpy.matrix) is effectively deprecated and I don't want users to use it here. With dense matrix and vector, just use ndarray (numpy.array).

Dear Ralf @rgommers , Could you review this PR for me? the PR just clears some the fuzzy and deprecated type in the comments. The other PR https://github.com/scipy/scipy/pull/14160 submitted before has been modified and corrected, I would also like to you to review it again. Thank you.

@tylerjereddy I would like to ask how to remind appointed expert to review the PR, there seems to be no one to review it.

Thanks for your review.

This is pretty safe to click the button and revert just in case so in it goes. Thanks @zhaog6 !

Nice, thanks @zhaog6 & reviewers


Updated MAINTAINERS.md format.

Coming from https://github.com/opensearch-project/.github/issues/121, updated MAINTAINERS.md to match opensearch-project recommended format.

We need a skip-changelog label here ;) For now ignore for this PR?


Converting camera parameters

I'm trying to train NeRF on my own data, where the cameras use the OpenCV pinhole camera model and provide an intrinsic matrix K (3, 3), a rotation matrix R (3, 3), and a translation vector T (3, ). I'm wondering how to convert it into a Render/OpenGL format for nerfstudio. Thanks!

Here is an example from the colmap (opencv) utils: https://github.com/nerfstudio-project/nerfstudio/blob/4f2157cd5849d2565b1773df6f19de6fa4f848ab/nerfstudio/process_data/colmap_utils.py#L425


Disable CodeQL

CodeQL was enabled because Github actions suggested it but it was never useful for us

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3530

Relevant Lines:
3909

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3530

Relevant Lines:
3909

💛  - Coveralls


Bump Spark in spark-master profile from 3.4.0-SNAPSHOT to 3.5.0-SNAPSHOT

Why are the changes needed?

https://github.com/apache/spark/pull/39733
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #4296 (e16e3f1) into master (673e8e1) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4296      +/-   ##
============================================
- Coverage     53.42%   53.39%   -0.04%
  Complexity       13       13
============================================
  Files           560      560
  Lines         30571    30571
  Branches       4139     4139
============================================
- Hits          16333    16323      -10
- Misses        12700    12713      +13
+ Partials       1538     1535       -3

Impacted Files
Coverage Δ

...e/kyuubi/jdbc/hive/ClosedOrCancelledException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...apache/kyuubi/engine/JpsApplicationOperation.scala
77.41% <0.00%> (-3.23%)
:arrow_down:

.../apache/kyuubi/server/api/v1/BatchesResource.scala
70.09% <0.00%> (-2.81%)
:arrow_down:

...in/spark/authz/ranger/SparkRangerAdminPlugin.scala
64.47% <0.00%> (-2.64%)
:arrow_down:

...kyuubi/engine/KubernetesApplicationOperation.scala
22.53% <0.00%> (ø)

...he/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala
69.56% <0.00%> (+0.54%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merged to master


Schiphol Airport (Independent Publisher) - Added Response metadata.

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x ] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[ x] I attest that the connector works and I verified by deploying and testing all the operations.
[x ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ x] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

[[certify-connector]]

@Miesjh Breaking Changes: PFA log below, it appears that you are updating some aspects of your connector update that will introduce breaking changes to your users. Could you please confirm us that there will be no external users affected for this connector?
Please note that the breaking changes will be reviewed by the Power Automate engineering team during preparing your connector for production deployment, and we may reach out to you if anything needs to be changed or updated.
Breaking change log:
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeFormatChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/lastUpdatedAt/format] The type format has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeFormatChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/actualLandingTime/format] The type format has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/aircraftType/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/baggageClaim/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeFormatChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/estimatedLandingTime/format] The type format has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeFormatChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/expectedTimeOnBelt/format] The type format has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputEnumDeleted: [operation/RetrieveFlightUsingGET/responses/200/schema/flightDirection/enum] The list of enum values has been removed from the output field.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/publicFlightState/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/route/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeFormatChanged: [operation/RetrieveFlightUsingGET/responses/200/schema/scheduleDateTime/format] The type format has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveFlightsForDateOrPeriodUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllAirlinesUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllAirlinesUsingGET/responses/200/schema/airlines/items/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAirlineUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllAircraftTypesUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllAircraftTypesUsingGET/responses/200/schema/aircraftTypes/items/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllDestinationsUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllDestinationsUsingGET/responses/200/schema/destinations/items/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveAllDestinationsUsingGET/responses/200/schema/destinations/items/publicName/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveDestinationUsingGET/responses/200/schema/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.
src\codelessPreview\SchipholAirportIP\apiDefinition.swagger.json: error OutputFieldTypeChanged: [operation/RetrieveDestinationUsingGET/responses/200/schema/publicName/type] The type has been changed for the output field. Existing flows may be broken if they are using this field and actual payload has been changed.

Hello @Miesjh,
I hope you are doing well.
Your connector is in production deployment and queued up for the next deployment schedule. This process typically takes 3-4 weeks. Please note that the documentation for your connector will not be generated until the deployment process is in the final steps.
Please let us know if you have any questions.
Thank you very much for working with us.


Form used with HTTP_POST binding nonconforming and shows submit button

The form created and delivered to the browser when using the HTTP_POST binding is nonconforming XHTML because it does not declare a DOCTYPE. Further it does not leverage best practices so that even with Javascript enabled the user will see a submit button rendered, if only for a fraction of a second.

Fixed by #460 and #462


Please rename release note files to include the date in a way that they are inherently sorted by date chronologically

This will make it much easier to find the most recent release notes.

Done.
a0f05abaf598c45089c0f2601d0aca36d1316052

:heart_eyes:


Enhancement: Support msgspec data modelling

Description
Support msgspec library for things like Struct for building.
Why
Msgspec is fast, some people don't have to download extra libraries (in my case, at least... msgspec is already bundled with my libraries as a dependency)

So long as it supports enough introspection abilities (dont see anything obvious in the docs) to extract the information cappa needs, shouldn't be too difficult

@JacobCoffee I dont suppose you have any real-world code ready to consume this PR, to make sure it works as intended, before I merge?
If not, I can always follow up in bugfix PRs, as this is net-new behavior anyway

Not at the moment! 😬


tests: get jasmine seed from JASMINE_SEED env var

This makes tests differing by random Jasmine seed reproducable.

This change is

Perhaps that was just me being stupid, but I didn't find an easy way to set the Jasmine seed from command line otherwise.
This allows to run e.g. JASMINE_SEED=89304 npm t and observe constantly failing test.
The following seem to fail:
JASMINE_SEED=89304 npm t
JASMINE_SEED=12227 npm t
JASMINE_SEED=22755 npm t
JASMINE_SEED=88326 npm t
JASMINE_SEED=96999 npm t
JASMINE_SEED=08712 npm t
JASMINE_SEED=40947 npm t

 Cool!

Review status: :shipit: complete! 1 of 1 LGTMs obtained

Comments from Reviewable


Updating new sample - cext-trey-research-csharp

Hi @garrytrinder
I have updated the code with latest updates, please check and approve the PR.
Thanks!

Hi @garrytrinder
I have fixed most of the PR comments, Please find the below comments in which I had issues or doubt

https://github.com/OfficeDev/Copilot-for-M365-Samples/pull/170#discussion_r1816118993
https://github.com/OfficeDev/Copilot-for-M365-Samples/pull/170#discussion_r1814991469
https://github.com/OfficeDev/Copilot-for-M365-Samples/pull/170#discussion_r1816123453
https://github.com/OfficeDev/Copilot-for-M365-Samples/pull/170#discussion_r1820132089
https://github.com/OfficeDev/Copilot-for-M365-Samples/pull/170#discussion_r1821829365
https://github.com/OfficeDev/Copilot-for-M365-Samples/pull/170#discussion_r1815003479


Adding new behavior to the running mesh network

I am thinking of the use case where

we have a service with a pin { type: greetings } that provides greetings in English
messages are going with two patterns for simplicity
{ type: greetings } and { type: greetings, lang:german  }

I should be able to enhance the experience by connecting a new service to mesh network with pin { type: greetings, lang:german  } and balance client would start directing german messages to this new endpoint.
Currently, this does not seem to be supported.
Does this make sense or do you see any problems with this?
thanks!

Never mind, I figured out that the use case is not really balanced and can be implemented with new services exposing two pins: { type: greetings } and { type: greetings, lang:german } and once the message gets to the new service, it is routed to the correct handler, i.e. german one for german message.


sql: remove non-localized TIMESTAMP type

PR: https://github.com/cockroachdb/cockroach/pull/10529

Dev issue closed, so closing this as well.


Road toward turning on auto formatting

Performing this in cycles as so must to look at.  Once completed will flip auto formatting on as has been done most of the mybatis extension projects at this point.

Coverage: 87.304% (-0.03%) from 87.335% when pulling deea6a76721ec36d7664bc29e8d92432d483698e on hazendaz:formatting into 309bed73425043b5304aeaf4d020ab97240fbcdd on mybatis:master.

main objective is to allow to review this to ensure the formatting is correct.  This was done in another of other attempts in past but never fully followed up on.  Following up now to clear out some localized code changes I have from getting lost as next want to explore deeper code cleanup in general.  It probably needs it given its age :)


Database locks

For locking the database, or tables, suggest we use explicit locks

@wasade and @josenavas was this superseded by the transactions?

Yup - I think we can close this.


Placeholder?

To be a loader in a pipeline I need to implement this yet the documentation gives no details on what this method should do or how to form a Var from a I DataView that I have implemented. How would one implement this to create a custom data loader.

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

ID: fc9dcd99-639f-f99c-d03d-e42165108b12
Version Independent ID: 0669d064-15e1-43f9-42cd-e62317f663d7
Content: ILearningPipelineItem.GetInputData Method (Microsoft.ML)
Content Source: dotnet/xml/Microsoft.ML/ILearningPipelineItem.xml
GitHub Login: @dotnet-bot

@sfilipi can you please take a look at this feedback?

@KevinGrealish - check out the docs at https://github.com/dotnet/machinelearning/tree/master/docs/code - they may answer your questions. Thanks!

Closing since this API no longer exists. /cc @natke


Make profiling feature compatible with a loqusdb-v1 database.

Fix taking into account that older versions of loqusdb does not have an
'individuals' property in 'case' collection.

Hi @moonso, this is just a quick fix to the profiling feature so that the code on master is compatible with an older loqusdb database. This might be necessary before deploying this repo in production at CG.

👍 👍 👍