[SE-0355] Rework as methods to initializers or other names

Some of this PR is editorial, but some of it doesn't seem to be, and this review is over.  What should be done with this?  Were these changes actually submitted to evolution?

The substantive portion of this PR was bringing the proposal in line with what was actually implemented, at the request of the review manager. It appears that this was simply never merged.

Alright, I'll merge it, then.


Matrix Resurrections code

Where exactly did you get the assets for these? https://raw.githubusercontent.com/Rezmason/matrix/master/assets/resurrections_msdf.png
Did you generate them yourself from screenshots, or is there a more direct source (like what you claim you found for the original Matrix code from archive)?
Will these be included in the font set?

Hi there! Good questions.
If you don't mind, I'll first respond by copying my explanation on Reddit:

I've got the vector outlines of my rendition if you want it, but it is absolutely a sketchy preliminary version, and people who like things to look right when you zoom in may be a bit disappointed.
The glyphs in this promo occupy a grid. Photoshop lets you import frames from an MP4, export them as individual files, adjust all their levels and then batch-slice them into a grid. That's how I got a folder full of 156,996 22x22-pixel PNGs. With a few other tricks, if you sort them by size you can separate the wheat from the chaff.
To vectorize them, I skimmed a few suspect Unicode blocks. Fun fact: you can script Fontforge to export all the glyphs in a font as SVGs, which is how I got the folder full of 2,360 vector files. About 75 of these look either exactly like what the VFX folks put in the new code rain, or close enough to spend maybe ten minutes on each glyph.
I couldn't find the last two rows of symbols, give or take, so I assembled them from pieces of the rest, which is a good first step to how you make a font look consistent.
So. What are these glyphs?
The digits, the letter Z, and a bunch of math symbols are from Chicago, just like the Wachowskis. Simon Whiteley at Animal Logic, who designed the original Matrix glyphs, is commonly quoted as saying the backwards katakana that make up the rest of the classic glyphs "came from" a sushi recipe book. They were modified quite a bit. His colleague Lindsay Fleay recently spoke a bunch more about this original creative process. One interesting takeaway is that there were way more glyphs in Whiteley's set, which they pared down to the ones we saw in the original trilogy.
Now for the new ones.
 The rest of the symbols I rebuilt by hand, more or less, with the trailer glyphs serving as a reference, but I suspect someone who knows more languages than me could identify what I couldn't.
It's possible that a bunch of these glyphs are from Simon Whiteley's original expanded set. Animal Logic is an Australian studio, and as far as I can tell, all these scripts are from cultures geographically between India, Australia and Japan. On the other hand, they could also be new contributions that reflect the aesthetic decisions (and cultural biases) of the team working on Resurrections. I'd like to try reaching out and asking a VFX artist after the film is released.

Short version: I made the shapes by modifying glyphs from common Unicode web fonts and then cobbling together whatever I couldn't find. They're in an Adobe Illustrator file I have on Dropbox, but am leaving out of the repo for now.
I have considered inserting them into a font, but there is one major obstacle: I'd have to choose which character each glyph represents. This was way, way easier with the original glyph set, because those symbols were quickly identifiable. I still don't know where some of the new glyphs come from. I could just assign the glyphs to arbitrary characters, the way icon fonts do, but I don't think that would be an easy font to use.
I think what you really want is this— a folder of SVG files, where each one contains a single glyph— which I've also got on Dropbox. That way, you have total freedom of their format; you can drop them into IcoMoon if you want, or you can use them as images, or you can bake them into a texture.
It made sense a few years ago to keep individual files of the original glyphs in this repo, when I included only one font, but even then I inadvertently broke git on people's Windows machines for naming them like +.svg. I'm also more comfortable hosting the MSDF pngs, because they're clearly derived works, in case someone's angry about my glyph recovery techniques for whatever reason.
Either way, I hope this helps. Feel free to also reach out on Twitter or through my contact page if you want to talk shop. Cheers!

Do you have a version of the Operator code except that it uses the glyphs from Matrix Resurrections?

That's a good feature request. I'll try adding the ability to specify which glyph set to use in the URL.

Here you go!
http://rezmason.github.io/matrix/?version=operator&font=resurrections
The font names are now all listed in the README, too,.
If you have any other requests, please file separate issues for them, so I can track them individually. Thanks for taking an interest in this project!

I think what you really want is this— a folder of SVG files, where each one contains a single glyph— which I've also got on Dropbox. That way, you have total freedom of their format; you can drop them into IcoMoon if you want, or you can use them as images, or you can bake them into a texture.

The link doesn't work

Also something I noticed is that the new movie confirms that there IS a glyph for the number 6, which is also reversed like the 9 digit

I noticed that too! Also their asterisk is shaped differently than the one in my current glyph sets, and I'll need to investigate that further.


[nrf noup] twister: Ignore build_on_all from samples/tests yamls

An option "build_on_all: true" can be set in sample/testcase.yaml.
It tells Twister to add all existing platforms (~400) to the test
scope. This option is abused in (almost?) all Nordic samples and
tests. It is pointless as "platform_allow" is also used there
limiting the building/executing scope to selected platforms. Hovewer,
this causes huge mess in the genereted results reports, where ~400
platforms are added with all test statuses "skipped". This patch
make Twister to ignore "build_on_all: true" in yamls. A proper solution
will follow: all yamls will need to have "build_on_all: true" removed.
Signed-off-by: Maciej Perkowski<EMAIL_ADDRESS>

This patch is needed before the "integration_mode" is added to the sdk-nrf CI. Without it test results are spammed with skipped platforms. It wasn't observed previously because platform scope was set by adding args to Twister call. If so, "build_on_all" is omitted. We don't use platform args in integration mode, hence this mess.

I addressed the issue directly, no need for temp hack. https://github.com/nrfconnect/sdk-nrf/pull/5250


changes made in index.html,index.css,user.html and asserts folder.

SOLVED

#4  solved
#40 solved
#42 solved
changed the setting to an icon
added border in the search
added transition in the h1
centered the date
Added a quote
9.Changed the icon to a gif

Hey @cigar-galaxy82. This is good work. Kudos! :+1:
However, there is a certain workflow that must be followed:

To claim an issue, you should comment on the issue thread. This helps ensure that two people are not working on the same issue at a time. Unfortunately, in your case the issues have now been claimed by others.
A PR should not do too many unrelated things. As far as possible, try to maintain a 1:1 ratio between issues and PRs. This is not a necessity. But it is a good practice.
Ideally you should not solve too many good first issues. Because, as the name suggests, these issues are targeted towards beginners and help first time contributors in getting familiar with the code base. If you find that you are able to solve too many good first issues, you should try solving a more difficult issue. Learn something new. Do something others can't.

Now let's get to the contents of this PR. I shall address each point in the same sequence that you have enumerated:

#4 was assigned to someone. If you find that the assignee is inactive, you can comment on the thread to discuss the status. This issue is a bit unique because the logo is the face of a product. It is a very important part of the project and should not be directly included in the PR. A lot of discussion needs to be done on such important matters. As I had mentioned on the issue thread, one should post their potential candidates for a logo on that thread itself to allow such discussion and feedback to happen. If you want to contribute to this issue, post your candidate on the thread and we can discuss about it.
This has been assigned.
Unfortunately, this has also been assigned. You can read the feedback given in #47 to understand how you could have made the search bar better.
This is actually a great idea. If you want to implement this, I would suggest you to open an issue for the same and then send a PR. We can definitely merge it.
Same as 3rd point.
Same as 4th point.
This is same as #40. This issue is currently open and you're free to claim it.
Not sure why this is needed. But if you want some extra quotes, you can raise an issue and send a PR corresponding to that. I think it can be merged.
Again, a nice idea. We can do this. Same as 1st point.

Hey thanks for the points sure would consider them in future


fix: Loader in create app button

Description
Added loader in

create app button
create job button

Fixes AB2671
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

Create app
Create job

Checklist:

[x] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR require documentation updates?
[ ] I've updated documentation as required by this PR.
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas

Duplicate of this pr https://github.com/devtron-labs/dashboard/pull/1080/files


No matching version found for<EMAIL_ADDRESS>

Describe the bug
You have an issue with latest release 4.9.1
When i try to run:
npm install mjml

i receive:
npm install mjml
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'mjml'
npm ERR! notarget

for 4.9.0 works

Well if you have this just wait a bit next time as it take some time to release all the packages related to MJML.
It should now work fine.


#1331 resurfaced - %%% buggy with Illegal dynamic reference: AutoImport

Bug #1331 seems not to be entirely fixed.
Started to build a build.Scala like this one:
object MyProject extends Build {
  val projectName = "myproject"

  override def settings = super.settings ++ Seq(
    name := projectName
    scalaVersion := "2.11.8",
    logLevel := Level.Debug
  )

  lazy val jvm = Project(id = s"$projectName-jvm", base = file("jvm"))

  lazy val assets = Project(id = s"$projectName-assets", base = file("assets"))

  lazy val scalajs = Project(id = s"$projectName-js", base = file("scalajs"))
    .enablePlugins(ScalaJSPlugin)
    .settings(
      libraryDependencies ++= Seq(
        "com.lihaoyi" %%% "utest" % "0.4.3" % "test"
      ),

      testFrameworks += new TestFramework("utest.runner.Framework"),
      persistLauncher in Compile := true,
      persistLauncher in Test := true,
      emitSourceMaps := true
    )

  lazy val common = Project(id = s"$projectName-common", base = file("common"))

  lazy val root = Project(s"$projectName-root", file("main"))
}

Which gives:
MyProject.scala:23: Illegal dynamic reference: AutoImport
[error]         "com.lihaoyi" %%% "utest" % "0.4.3" % "test"
[error]                       ^
[error] one error found
[debug] Compilation failed (CompilerInterface)
[error] (compile:compileIncremental) Compilation failed

The workaround in #1331, using %%%! works, but i can't use common settings that way

Could you provide a complete reproduction as small as possible in a GitHub project, please?

https://github.com/axos88/scalajs-spray-websocket-angular-slick-h2-seed

Replacing AutoImport by autoImport in this line fixes the issue for me. Note that importing autoImport._ in text is the recommended form, as that is what works for all sbt plugins (the AutoImport import with an uppercase only works with Scala.js).

confirmed


[GSSOC 2023 Contribution ] Add animation to the background .

I would like to work upon it ,as the UI is very simple want to make it look more alive under GSSOC 2023.
Do assign it to me! @Shreyaar12

Kindly add the preview of the animation here.

Assigned this issue to you. Kindly go through the readme and contributing.md for the project for successful merge. All the best to your work Manisha... !!!

Kindly add the preview of the animation here.

soon I will add the preview of my idea before pull req. :)


Truck icon does not return to home on donation page

Make this return to home when visible

Fixed in the new branch!


sparse: add initial higher-level sparse objects

This PR proposes some higher-level wrappers of the low-level sparse primitives added in #6429
These are specifically marked as not being the final API, but will be generally useful for building benchmarks of sparse operations.

I'd be happy to contribute here! It'll be my first time contributing, so a little help would be appreciated. What is the exact aim? Is is to recreate the sparse set of scipy? Support seems to exist in XLA, so that means mostly writing wrappers for Jax, right? If so - any pointers on where to get started? Thanks!

@GJBoth - good question! At this point I don't think the goal is to build-out a full-featured high-level sparse object. My hope with this is to explore how JAX can most effectively support the kinds of sparse operations the users want. A few thoughts in no particular order:

2D CSC/CSR/COO may not be the abstraction we want in the end... pydata-sparse has N-dimensional sparse arrays implemented using COO or a multi-dimensional generalization of CSR. Similarly taco has routines for general N-dimensional sparse computation. That route may be better, particularly for some deep learning workflows that e.g. have 4D batched arrays of sparse image sequences
XLA scatter/gather implementations only go so far... any operations we implement should have efficient lowerings on as many backends as possible - I've started with cusparse on GPU because the low-level routines are already available in our GPU build process. This means that every non-trivial operation should be either implemented as a primitive or composed of other primitives
JAX is about composability, and in particular pmap/vmap, jit, and grad are central to the API. I want to spend some time exploring how we can best implement gradients of sparse operations or batched sparse operations, and also think about how ongoing work on dynamic shapes can be utilized to make jit of sparse operations more efficient and usable. With all that up in the air I want to keep the design minimal for now in case we need to re-think our approach based on what we find
all of the above should be motivated by real-world workflows that people have. I'm starting to gather a few example workflows so we can have that in mind.

Anyway, I hope that helps frame things here - I'd love to hear any thoughts you have!

Thanks for the extensive reply. If I'm understanding you correctly, the four directions would basically be 1) higher dimensional sparse arrays, 2) backend / performance and 3) "Jaxization". I'm summarizing some thoughts about each one below:
Higher dimensional arrays
What are the usecases for this? Is it often sparse image sequences? Couldn't this be implemented as stacked sparse 2D arrays int his case? My first response was that if we could get vmap / pmap to work properly with sparse arrays, this could become a relatively simple highlevel implementation.
Backend / performance
This is something I'm a little hesitant about. It'll be my first time contributing low-level stuff and going beyond XLA calls seems a bit too much for now. Additionally, I think that once we have a decent structure / API we can always work on this. It could be useful to get a few baselines on pytorch and/or tensorflow to see what we're aiming for. If we can get similar performance using relatively high level XLA I'd personally be content.
Additional question - am I understanding correctly that your current low-level sparse ops are implemented using cusparse and not XLA? Or are these two not mutually exclusive?
Jaxization
For me this feels like the most interesting. I think being able to integrate sparse matrices into the jax workflow would be really cool, even if they were limited to 2D, only COO type etc. We could try to get something minimal (only 2D, only COO format) going with pmap / vmap / jit / grad to get some experience and feel for the problem, and then evaluate.
Would it be a good idea if I do some research into what's available already and what they implement? Both tensorflow and pytorch have sparse support and are differentiable. pydata-sparse and taco aren't at first look (I'm not familiar with both so I could be wrong) and I think that's a key issue. What do you think?

@GJBoth – eventually it may be better to move this discussion to a dedicated issue, but a few answers for now:

Higher dimensional arrays
What are the usecases for this?

My main motivation here is that MLIR in the future may be adding general N-dimensional sparse support (see https://llvm.discourse.group/t/rfc-introduce-a-sparse-tensor-type-to-core-mlir/2944) and it would be useful to not bake-in assumptions of two-dimensional storage.

Backend / performance
am I understanding correctly that your current low-level sparse ops are implemented using cusparse and not XLA? Or are these two not mutually exclusive?

Currently the operations in sparse_ops.py are implemented in terms of XLA, with GPU-only translation rules that compute things via cusparse. The XLA implementation is not particularly efficient, so these purpuse-built translation rules will make things faster. In the future we might target MLIR on CPU, and similar general sparse compilers on GPU/TPU when available.
This is similar to how JAX treats many linear algebra routines: for example, SVD has translation rules that use appropriate LAPACK implementations on CPU/GPU

Jaxization
Both tensorflow and pytorch have sparse support and are differentiable... Would it be a good idea if I do some research into what's available already and what they implement?

Yes, that would be interesting! In particular I'm curious if they are essentially just doing autodiff over the low-level array representations, or if there's some logic around sparse matrices as an entity. e.g. does the gradient of a matrix-vector product look the same regardless of whether that matrix is in CSR or COO form? In what cases might it make sense to represent gradients as sparse matrices?

Alright, that makes sense. So basically we're looking for pointers / prior work on:

How to handle n-D sparse arrays. This seems to be only implemented in taco and pydata-sparse, not pytorch/tensorflow at first sight.
Possible lower-level efficient ops for various backends (e.g. cusparse for gpu, MLIR for cpu, something for tpu?)
How to efficiently do VJPs/JVPs with sparse matrices. Pytorch seems to have support for sparse gradients on some operations (see supported linear algebra on the pytorch documentation

I'll also try and define few simple benchmarks on which we can compare performance of your preliminary implementation with pytorch and tensorflow. I'll make a separate issue with these results and summarizing what we discussed above.
Did I capture our discussion above correctly with this approach?

@jakevdp I've always thought of CSX indices as ragged arrays. Would it be worth implementing a separate class (similar to tf.RaggedTensor) and have nd CSX arrays just a class wrapper around (values, ragged_indices)? There are many uses for ragged arrays outside of CSX implementations - e.g. batching of NLP/graph networks.

Would it be worth implementing a separate class (similar to tf.RaggedTensor) and have nd CSX arrays just a class wrapper around (values, ragged_indices)?

That may be a worthwhile exploration in itself, but I'm not sure the sparse representation here stands to gain anything from that added layer of abstraction.


Joining a Team via GraphAPI inside a SPFX webpart leads to corrupt Team membership

Category

[x] Bug

Describe the bug
After joining a Team via the group members endpoint and receiving a  Response 204 OK  it is not possible to access the Team or any underlying resources like channels.
Listing the channels will produce a 403 Unauthorized response.
Collaterally the bug causes the Team to not be listed in either the desktop client or the webapp and it is not possible to find the Team via the search / discover page.
This behavior makes this Team basically invisible / unusable to the user who tried to join it.
The bug was first encountered around February 12th.
The code was working fine before and broke without any change on our side.
Steps to reproduce
The behavior can be reproduced with the graph explorer.

Go to the graph explorer

Sign in with an non-admin account

List all unified groups

GET
https://graph.microsoft.com/beta/groups?$filter=groupTypes/any(c:c+eq+'Unified')&$top=999&$select=id,displayname

Response:
Status code should be 200 with group names and ids in the response object

Pick the ID of a group your not a member of yet

Get your user id

GET
https://graph.microsoft.com/beta/me?$select=id

Response:
Status code should be 200 with your id in the response object

Add yourself to the group

POST
https://graph.microsoft.com/beta/groups/{groupId}/members/$ref

body
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/beta/users/{myId}"
}

Response:
Status code should be 204 with an empty response body

View Team information

GET
https://graph.microsoft.com/beta/teams/{groupId}

Response:
Status code 403
Message: Failed to execute Skype backend request GetThreadRequest.

List channels

GET
https://graph.microsoft.com/beta/teams/{groupId}/channels

Response:
Status code 403
Message: Failed to execute Skype backend request GetThreadRequest.

Expected behavior
I should be able to see the channels of the Team I just joined.
Developer environment

OS: Windows 10
Framework: Node 10.19.0
Browser(s): Chromium Edge v80.0.361.109
Tooling: VS Code 1.43.2, SPFx v1.10.0

Additional context
Current webApiPermissionRequests
{
    "resource": "Microsoft Graph",
    "scope": "Group.ReadWrite.All"
},
{
    "resource": "Microsoft Graph",
    "scope": "GroupMember.ReadWrite.All"
},
{
    "resource": "Microsoft Graph",
    "scope": "User.ReadWrite.All"
},
{
    "resource": "Microsoft Graph",
    "scope": "Directory.Read.All"
}

Thanks for your contribution! Sharing is caring.

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

ID: 558e6675-990e-b571-6bfb-7392f097edbe
Version Independent ID: c2a9877d-ccf8-2829-bef0-4f813ee155ee
Content: Add member - Microsoft Graph beta
Content Source: api-reference/beta/api/group-post-members.md
Product: groups
Technology: microsoft-graph
GitHub Login: @dkershaw10
Microsoft Alias: MSGraphDocsVteam

Hello @FrankMuraschow
"membership changes made to an Office 365 group backing a team via the Microsoft Graph API or through the admin portal (outside of the Teams client) have to sync to the Teams service in order for newly added users to be able to see and participate in the team.
The current SLA for synchronizing membership changes made to groups to Teams is up to 24 hours after the sync is triggered by client activity. It can take longer under certain circumstances (due to service load, for example)."
The information was copied from the MS Graph docs, please refer to this link for more information.
I have faced the same delay. However, it is good to have an official statement from Microsoft that we can present to our customers.
I hope it helps to clarify your question.
Regards,
Jarbas Horst

This repo is for SharePoint development questions, not Microsoft Graph.

@JarbasHorst is correct...
But something strange happened here... this issue was left on the Graph REST API, not the SharePoint docs. This repo is only for SP dev issues... we're suppose to close other issues. I've alerted the Graph team about this...


[extractor/iprima] Fix extractor (relax nuxt function regex, add js_to_json hack)

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Fixes the extractor issue mentioned in the latest comment in https://github.com/yt-dlp/yt-dlp/issues/6524#issuecomment-1574269817, but not the originally reported issue (unable to verify/reproduce that one as I don't have a paid account). Details:
// Fixes #7229
the iPrima extractor has been broken due to failure to extract nuxt_js data. This happens due to additional code being present before the return object statement. Shortened example:
window.__NUXT__=(function(a,b,[...],n,[...],z){n.ulid="DUMMY";n.avatarUrl="<URI>";[...];return {data:{$dataId:{content:{id:q,drupalId:"141111",playId:r,[...]

This additional code that modified a passed parameter is not needed for us to successfully extract the data we need. I have relaxed the regex to allow this additional code to be present.
The second issue was that js_to_json failed due to an Array() parameter being present. Shortened example of the input:
[null,false,"none","ČR",true,"series",[..],Array(10),"p1176840",[...],"p822076"]

Without the changes I've made to the function, quotes get added around Array, resulting in the following parsing exception:
json.decoder.JSONDecodeError: Expecting ',' delimiter in 'u","Array"(10),"p117': line 1 column 1707 (char 1706)

Matching the whole line in the regex is required as the Array parameter is only a part of the original array. This code is not very nice but then again js_to_json is kinda hacky anyway, it is not a proper parser.
This should make the extractor work again and hopefully not break other things. Suggestions to improve the code are very much welcome.
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[x] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Copilot Summary

🤖 Generated by Copilot at 5782255
Summary
🐛🔧🚀

Fix Nuxt.js metadata extraction for some websites by improving regexes for common.py and adding Array constructor handling in _utils.py.

Nuxt.js metadata
Array or logic, no matter
Autumn leaves adapt

Walkthrough

Fix Nuxt.js metadata extraction by allowing any code before the return statement in the function that provides the data (link)
Handle arrays that are constructed with the Array constructor instead of the literal syntax in the metadata by converting them to JSON arrays (link)

see https://github.com/yt-dlp/yt-dlp/issues/7229#issuecomment-1615124958

Adjusted for latest changes to iPrima

I downloaded files:
common.py
iprima.py
_utils.py
I don't know how use this files.
Pleas help me with example how use command parameters.

I don't undestand how to do:
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', '-a', 'yt-dlp.exe.seznam.txt']
[debug] Batch file urls: ['https://www.iprima.cz/serialy/wtf/wtf-welmi-trapne-ftipy/6-epizoda-6/', 'https://www.iprima.cz/serialy/wtf/wtf-welmi-trapne-ftipy/7-epizoda-7/', 'https://www.iprima.cz/serialy/wtf/wtf-welmi-trapne-ftipy/8-epizoda-8/']
[debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5ff3e702171a50175c34397494e2d18ce35d771c2110b1e59bd173ec2fb352aa
yt-dlp is up to date<EMAIL_ADDRESS>[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Downloading token
[IPrima] Extracting URL: https://www.iprima.cz/serialy/wtf/wtf-welmi-trapne-ftipy/6-epizoda-6/
[IPrima] 6-epizoda-6: Downloading webpage
ERROR: [IPrima] 6-epizoda-6: Unable to extract NUXT; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
File "yt_dlp\extractor\common.py", line 710, in extract
for lang in ('live_chat', 'comments', 'danmaku'):
File "yt_dlp\extractor\iprima.py", line 137, in _real_extract
nuxt_data = self._search_nuxt_data(webpage, video_id, traverse='data', fatal=False)
File "yt_dlp\extractor\common.py", line 1686, in _search_nuxt_data
ret = self._parse_json(js, video_id, transform_source=functools.partial(js_to_json, vars=args), fatal=fatal)
File "yt_dlp\extractor\common.py", line 1258, in _search_regex
"""Searches string for the JSON object specified by start_pattern"""
[IPrima] Extracting URL: https://www.iprima.cz/serialy/wtf/wtf-welmi-trapne-ftipy/7-epizoda-7/
[IPrima] 7-epizoda-7: Downloading webpage
ERROR: [IPrima] 7-epizoda-7: Unable to extract NUXT; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
File "yt_dlp\extractor\common.py", line 710, in extract
for lang in ('live_chat', 'comments', 'danmaku'):
File "yt_dlp\extractor\iprima.py", line 137, in _real_extract
nuxt_data = self._search_nuxt_data(webpage, video_id, traverse='data', fatal=False)
File "yt_dlp\extractor\common.py", line 1686, in _search_nuxt_data
ret = self._parse_json(js, video_id, transform_source=functools.partial(js_to_json, vars=args), fatal=fatal)
File "yt_dlp\extractor\common.py", line 1258, in _search_regex
"""Searches string for the JSON object specified by start_pattern"""
[IPrima] Extracting URL: https://www.iprima.cz/serialy/wtf/wtf-welmi-trapne-ftipy/8-epizoda-8/
[IPrima] 8-epizoda-8: Downloading webpage
ERROR: [IPrima] 8-epizoda-8: Unable to extract NUXT; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
File "yt_dlp\extractor\common.py", line 710, in extract
for lang in ('live_chat', 'comments', 'danmaku'):
File "yt_dlp\extractor\iprima.py", line 137, in _real_extract
nuxt_data = self._search_nuxt_data(webpage, video_id, traverse='data', fatal=False)
File "yt_dlp\extractor\common.py", line 1686, in _search_nuxt_data
ret = self._parse_json(js, video_id, transform_source=functools.partial(js_to_json, vars=args), fatal=fatal)
File "yt_dlp\extractor\common.py", line 1258, in _search_regex
"""Searches string for the JSON object specified by start_pattern"""

I read the "instructions" about 5 times but I still didn't understand what to do it doesn't say at all what to do just the causes but no instructions how to fix it or am I stupid

@StudioTeamTV here:
https://github.com/bashonly/yt-dlp/releases/tag/2<IP_ADDRESS>310
or just run yt-dlp --update-to<EMAIL_ADDRESS>

ools.partial(js_to_json, vars=args), fatal=fatal)
File "yt_dlp\extractor\common.py", line 1258, in _search_regex

Ok thank you

BINGO !
Thank You, version: yt-dlp 2<IP_ADDRESS>310 (iprima)
is working !

BINGO !
Thank You, version: yt-dlp 2<IP_ADDRESS>310 (iprima)
is working !

Hello, today I tried this version and it didn't work for iprima ... could you please check it too?

Hi @milanv74,
I have just tried to download a random episode from iPrima and things still work for me.
Could you please be more specific - maybe add a verbose log of the whole download attempt that is failing? Or at least specify which show you're trying to download and what the error is?
Note that free users cannot download everything - some shows/episodes are reserved for paid accounts only.

Hello @std-move, this is my log with the test movie, I have a paid access to prima+:
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.iprima.cz/serialy/zoo/zoo/126-epizoda-126']
[debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[eed15aeaa] (win32_dir)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1857 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Downloading token
[IPrima] Extracting URL: https://www.iprima.cz/serialy/zoo/zoo/126-epizoda-126
[IPrima] 126-epizoda-126: Downloading webpage
[IPrima] p1232709: Getting manifest URLs
ERROR: [IPrima] 126-epizoda-126: Access to stream infos forbidden
File "yt_dlp\extractor\common.py", line 715, in extract
File "yt_dlp\extractor\iprima.py", line 159, in _real_extract
File "yt_dlp\extractor\iprima.py", line 120, in _raise_access_error
File "yt_dlp\extractor\common.py", line 1193, in raise_no_formats
Thank you for your support.

Looks like you have a paid account. Another user has reported a similar error in issue #6524, I would advise you to add the report here.
With my free user account, the download works ok. So as a temporary workaround, you can create a new free account and use that one to download the show, albeit in 'non-HD' quality. To make the extractor work with paid accounts, some changes would be required I guess (unless the content is DRMed, in which case it wouldn't help, as DRM circumvention is against yt-dlp's policies)

Thanks @Grub4K for the suggestion, backreferences totally escaped me - they really simplify the code.
Also added simple tests for map/array constructor conversion as suggested.
Please review the changes again.


Odd Resolution Name

I'm getting this
user(_id: MongoID!): EventPartyGuestProfile
When I am expecting this,
user(_id: MongoID!): UserAccount
Here's my sequence,
// user_account.js
export const UserAccountSchema = new mongoose.Schema(
 ...
);
export const UserAccount = mongoose.model('UserAccount', UserAccountSchema);

// user_account_type_composer.js
import { UserAccount } from '../schema/user_account';
const UserAccountTC = composeWithMongoose(UserAccount);
export default UserAccountTC;

// resolvers.js
import UserAccountTC from './user_account_type_composer';

export const queryFields = {
  user: UserAccountTC.getResolver('findById'),
  users: UserAccountTC.getResolver('findByIds'),
};

//
import { ComposeStorage } from 'graphql-compose';
import moduleUserAccount from './user_account';

const GQC = new ComposeStorage();

GQC.rootQuery().addFields({
  ...moduleUserAccount.resolvers.queryFields
});

const schema = GQC.buildSchema();

At one point, I may have passed the wrong model name to composeWithMongoose function (
const UserAccountTC = composeWithMongoose(EventPartyGuestProfile) ), but changed the name and restarted the server several times since. I've also changed the name of the query fields with no problem. Where could this be coming from?

It looks like you use User schema as sub-schema for field Profile/GuestProfile in EventPartyGuest/EventParty schema. So User schema obtains a name for graphql type from the first its using.
If you want to explicitly set a name for graphql type of embedded mongoose schema you may do it in such way:
import { Schema } from 'mongoose';
import { convertSchemaToGraphQL } from 'graphql-compose-mongoose';

export const UserAccountSchema = new Schema(
  {
    name: String,
    age: Number,
  }
);

convertSchemaToGraphQL(UserAccountSchema, 'UserAccount');  // <----- Explicitly set name for type

export const UserAccount = mongoose.model('UserAccount', UserAccountSchema);


Dict View Issue in IO data.py

If using python 3.4 there will always be a TypeError thrown in the data.py
lines 330-332
    if len(stocks) > 0 and len(failed) > 0:
        df_na = stocks.values()[0].copy()
        df_na[:] = np.nan

For python 3 users the stock.values needs to be wrapped because it's returning a view not a list
        df_na = list(stocks.values())[0].copy()

Sorry, wrote the fix off the top of my head and was incorrect. In either case can't index into a dictionary view object in python 3.x +

you should give a specific example as well as show pd.show_versions(). but need to be in https://github.com/pydata/pandas-datareader


Bump golang to latest v1.13

Prerequisites
Put an x into the box(es) that apply:

[ ] This pull request fixes a bug.
[ ] This pull request adds a feature.
[x] This pull request enhances existing functionality.
[ ] This pull request introduces breaking change.

For more information, see the Contributing Guide.
Description
Bump golang version to latest v1.13 (1.13.5), as brew formula is already using it (https://github.com/Homebrew/homebrew-core/pull/47860)
Checklist
Put an x into all boxes that apply:

[x] I have read the Contributing Guidelines.

Tests

[ ] I have added tests to cover my changes.
[ ] All tests pass when I run make test.

Documentation

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Code Style

[ ] My code follows the code style of this project.

Could not find the circle-ci config, I guess it has been removed? The gh-actions builds are green though.

Thanks @chenrui333 , yeah we removed the circleci config but not the webhooks. I'll merge this later when not AFK.

I see, sounds good!!

@chenrui333 I saw you merged the formula PR, I was wondering if we're blocked by this change or not? The reason is I'm in the middle of rebasing a PR with a lot of conflict and I hoped to not merge anything to master before completing that.

It is blocked by this PR, it would be nice to keep golang version consistent though.

Thank you @chenrui333 :heart:

Happy to help, thanks for the merge!

@khos2ow Pretty excited to see this get in - any chance we can get this tagged as a release?


Add sample_text to bax_Bamu.textproto

Sample text taken from Noto Sans Bamum.

Decided to add to METADATA.pb file as a sample text override instead given that the sample text is comprised of random chars rather than a sensible interpretation of the UDHR.


CustomFlower-Narasimha

I have made a pice of custom flower in the reverse direction

Hey @maxwofford Check this out!!

I haven't heard anything so I'm going to go ahead and close this for now so it's not in my re-review list. If you want to keep working on it just let me know and we can re-open this PR for now!


[BUG] Changing patch size does not work with CLIP/OpenCLIP ViT

Describe the bug
import timm

m = timm.create_model("vit_tiny_patch16_224.augreg_in21k", pretrained=True, patch_size=8)  # this works - Google checkpoint
m = timm.create_model("vit_base_patch16_224.augreg2_in21k_ft_in1k", pretrained=True, patch_size=8)  # also works - timm checkpoint
m = timm.create_model("vit_base_patch16_clip_224.datacompxl", pretrained=True, patch_size=8)  # this doesn't - OpenCLIP checkpoint

The problem seems to lie in these lines
https://github.com/huggingface/pytorch-image-models/blob/492947d1293fe7b5151bb2b9d9add3df37fabf63/timm/models/vision_transformer.py#L1016-L1019
which returns the state dict early, instead of continuing with the logic below. DINOv2 state dict is not returned early.
Modifying the code to below seems to work correctly (note that the check for DINOv2 state dict is an elif now)
    if 'visual.class_embedding' in state_dict:
        state_dict = _convert_openai_clip(state_dict, model)
    elif 'module.visual.class_embedding' in state_dict:
        state_dict = _convert_openai_clip(state_dict, model, prefix='module.visual.')

    elif "mask_token" in state_dict:
        state_dict = _convert_dinov2(state_dict, model)

Expected behavior
Any ViT checkpoint should work with patch embed resampling.
Desktop (please complete the following information):

OS: Ubuntu 22.04
This repository version: 0.9.16
PyTorch version w/ CUDA/cuDNN: 2.2.1

@gau-nernst yes, I'll fix that and cleanup a bit, tx for pointing out.


Notes for importing via csv to Microsoft Teams

There are a few gotchas with importing to Teams, specifically the csv file columns E and F.
If you do not populate column F with the word General, and just use column E with the word Documents, the files will not appear in Microsoft Teams.
They will successfully upload into the SharePoint Online site.
If you want to import files to the Teams Files location, you have to have the csv file as below, in particular columns E and F
Column A - your file location - c:\USB\Files to Import
Column B - empty for file import from USB
Column C - empty for file import from USB
Column D - The URL of the SPO site - Shorten to just show the site name - https://tenant.sharepoint.com/sites/SiteName
Column E - Use the word - Documents
Column F - Use the word - General

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

ID: 27475eb6-82f5-1f75-a304-e5696092a3e1
Version Independent ID: e9bd89b2-a04d-5509-5c76-fc0602cc8515
Content: How to format your CSV or JSon file for data content migration
Content Source: migration/how-to-format-your-csv-file-for-data-content-migration.md
Product: sharepoint-server-itpro
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@TeamTerry Thank you for this updated
I will get this csv information over to the SharePoint team for investigation.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@TeamTerry This would be 'by design' I suppose. The SPMT doesn't import data to Teams, Teams just displays content of the 'Documents' library with the channel name being a subfolder (General, being the default channel).
You can always add a new tab to the channel and point it at the desired SharePoint location.

@scanum I think we can close this one as there is nothing to "fix" in the article.

@TeamTerry I can also add that for those of us not working in English, you need to specify the local language equivalent in Column E, so in my case in Sweden/Swedish, Dokument. Strangely enough General is to be retained in the English in Column F. Does anyone know if you can specify a 3rd subfolder?

You used to be able to specify a sub folder of a channel by using "General/Subfolder" syntax but now (doing a migration tonight) I find that it's not working...

Is there a resolution for this? I also want to be able to provide subfolder mapping under General in the CSV format


(color :white) works but (color arg) where arg is passed in from function doesnt

Seem like by defining color as a macro, it does not allow the argument of color to be passed in from another function as you check it as keyword.
so
(def white-color :white)
(color white-color)
does not work. Not sure if there a better way.

Correct, it requires compile-time manipulation to turn it into the right static field. Could you do something like (def white-color (color :white)) instead?

i suppose, I intended to have a create entity helper function where i can specific the color, so in this case the argument for the color in the helper function is kinda a function instead of a keyword.

quick (slightly late) question. Does color have to be a macro? why not just a function?

It may be possible to do what we did with key-code and turn it into a function by using eval. I'll look into it when I have the time.

Color is now a function: d4ff20ef086e4533d1d147fba885cf448bc3c1fa

Yey :) much nicer. Thx


Linux: Window getPosition returning incorrect position

Related to #346, #372
Testing on Ubuntu/GNOME 3 - getPosition() output differs quite drastically depending on if window does/doesn't have decorations
New to X11, though it seems XTranslateCoordinates() is meant to use (0, 0) for src_x/y as they are relative to the source window origin. Works on my build minus the decorations discussed in #372, though that's good for me.
https://gist.github.com/JonesBlunt/7c396e2341b69362f0d940c1b955e0e0/revisions

I'm having a similar problem. I'm running the XMonad WM, tested on Gentoo, Fedora 25 and Fedora 26.
SetPosition() works fine, but getPosition() always returns double the expected value, as if it's adding itself. X11 utils like xwininfo report the correct position, so I don't think this is a WM or X11 bug.
So I added a few print statements to getPosition(), and it seems like localX and localY from XGetGeometry() already contain the position, which then XTranslateCoordinates() uses as offset. Just using XTranslateCoordinates() with 0/0 as source X,Y fixes this in all my tests, see https://gist.github.com/llongi/23e326ac46eed275a6be6ff5b32a5298 for a patch (that also removes XGetGeometry(), since we can get the right root window by using DefaultRootWindow(m_display) as it's done in other parts of the X11 SFML code). This is the same as GLFW does (https://github.com/glfw/glfw/blob/master/src/x11_window.c#L1982), they also had a lot of discussions and testing in https://github.com/glfw/glfw/issues/800 and in the end this was the most consistent behavior, so that getPosition() and setPosition() return the same value.

Small test program here: https://gist.github.com/llongi/e02ea9d824572a0854a032c10b35d136 it just creates a 100x100 window, puts it at position 100,100 and on close prints the position as returned by getPosition(), which should be, in a perfect world, 100,100 again.
So with the change discussed in this bug, it is 100,100 on XMonad, and I just tested Gnome 3 too, there it is 100,137 (the +37 comes from the thickness of the toolbar).
Basically the behavior as I can see it is that with the change, X/Y as returned by getPosition() correspond to "Absolute upper-left X/Y" as displayed by xwininfo. Without the change, as the code is now, the returned X/Y are a sum of "Absolute upper-left X/Y" and "Relative upper-left X/Y", which is in all cases I've tested an (even more) incorrect number.
In Gnome 3 for example I get X,Y of 110,182 currently, which has no bearing on reality whatsoever: it's not what I passed via setPosition(), and it isn't even the top-left corner of the render-window if you adjust for the toolbar, it's somewhere inside the render area, which is clearly incorrect, see attached image:

So far in summary:

setPosition() always works fine, puts window upper-left corner at given absolute position
getPosition() as is current returns bogus values on Gnome 3, Xmonad (Sum of absolute and relative positions as reported by xwininfo)
getPosition() after patch reports better values (Absolute position as reported by xwininfo), it doesn't consider decorations while setPosition() does, so there's still some dissonance there, but it's better than the current completely bogus values.

Just FYI, my use case is an application that can create multiple windows to show different visualizations of scientific data, and I want to be able to save how the user arranges those windows and present him with them at the same place next time he starts the program.

I've spent a few hours digging into this and my latest attempt is at:
https://gist.github.com/llongi/6d85632e3a681d789e82486b713af631
This now takes into account X11 border widths (if set), as well as tries to remove decorations, by getting the info from XGetGeometry(), when they do exist (re-parenting WMs).
So far it works well everywhere I tried (Xmonad, Gnome Xorg, Gnome Wayland), on Gnome it just reports 99,99 because it can't take the 1x1 window border drawn by Gnome into account, X11 simply doesn't know about it and there's no way to find out (Gnome doesn't set X11 border width, just shifts the parent negatively by the border width and then adds that to the difference between parent and window... what an inconsistent mess this all is...).
I believe the above approach is the best that can be done in a generic way using the information available via X11/Xlib.
One other approach I thought of was to setPosition to something known, getPosition() and then calculate the difference and apply that as offset on subsequent getPosition() calls. But that doesn't consider cases like changing the WM theme while your application is running. I experimented with ConfigureNotify X11 events to detect such changes, it's possible, but it just grows into a gigantic hack.
In any case I believe the current approach is clearly wrong, from the XGetGeometry() docs: "Return the x and y coordinates that define the location of the drawable. For a window, these coordinates specify the upper-left outer corner relative to its parent's origin."; so using them as source coordinates in XTranslateCoordinates(window, root) is incorrect, as it gets the absolute position of the window respective to the root, and then adds the parent-window difference on top. That can't work, and brutally breaks down on non-reparenting WMs (there the parent is the root, so you add the amount to itself). If you had used negative xLocal/yLocal, that would have been more correct, at least on re-parenting WMs. Would still break on non-reparenting ones (result would be 0,0).
I hope my analysis is understandable. :-) Thanks and have a nice week!

And I believed wrong, one can do much better thanks to Extended Window
Manager Hints (EWMH). Welcome to patch V3, the fruit of a Saturday
spent looking at the behavior of over 20 Linux window managers. :-)
Link: https://gist.github.com/llongi/c993113f0fc31db638af22a3c4784563
The below table should prove that the current code is often completely
incorrect (only on Enlightenment and FVWM it returns sane results), and
that the V3 patch fixes things (for the most part, see comments).
Now, we first look at the WM and get a couple of rare exceptions that give
the correct value out of the way, then we look at the EWMH _NET_FRAME_EXTENTS
property, and if that fails we fall back to getting the geometry of the
uppermost parent. The code should be clean and well commented.
The following table documents the results of testing setPosition(100, 100)
followed by getPosition() on various WMs in their default configuration, all
tested on Fedora 26 unless otherwise noted:
EWMH WMs (do define Frame Extents)

WM Name and Version
Current
Patched
Notes

Unity / Compiz 0.9.12
100x128
100x100
Ubuntu 16.04 LTS

Compiz 0.8.14
212x254
100x100

Fluxbox 1.3.7
101x149
100x100

KDE / Kwin 5.10.4
104x129
100x100

Metacity 3.24.1
126x197
100x100

Gnome / Mutter 3.24.4
101x175
100x100

Xfce4 / Xfwm 4.12.4
106x158
100x100

WindowMaker 0.95.7
101x145
100x100

awesome 4.2
101x141
100x100

LXDE / Openbox 3.6.1
104x146
100x100

MATE / Marco 1.18
112x154
100x100

Cinnamon / Muffin 3.4.1
100x154
100x100

Enlightenment 0.21.8
100x100
100x100
[1]

FVWM 2.6.7
100x100
100x100
[2]

[1], [2]: these two WMs place the actual render window at position 100x100,
not the top-left corner of the "whole window" (the one with the decorations).
As such, their reported frame extents getting substracted does indeed tell
you where the top-left corner of the "whole window" is, but it then differs
from what was given to setPosition(). At least they give a correct absolute
value for the window right away, and define a 'windowManagerName', so working
around them is very easy and clean.
Non-EWMH WMs (Frame Extents not defined)

WM Name and Version
Current
Patched
Notes

Xmonad 0.12
201x201
100x100
Gentoo

Xmonad 0.13
201x201
100x100

Blackbox 0.70.1
101x122
100x100

IceWM 1.3.8
102x122
100x100

dwm 6.1
201x201
100x100

Ratpoison 1.4.8
2459x1239
1229x619
[3]

i3 4.13
102x100
100x100
[4]

twm 1.0.9
100x182
98x98
[5]

[3]: auto-centers window ignoring any setPosition(), though before the patch
the position of the centered window was wrong, with the patch at least now the
correct position of the centered window is returned.
[4]: puts the actual render window at 100x100, the parent window with the
borders is shifted back, and we get the coordinates of that one. The actual
size of the full decorations is not reported anywhere either. We can easily
work around this exactly like in [1], [2].
[5]: the parent window with decorations also has a 2px border, and is shifted
back by that 2px border, so the actual top-left corner is indeed at 98x98.
This can't be worked around (no WM name), but the value is much more sane now.
I'm personally pretty happy with the code, it often just works by going the
EWMH Frame Extents route, and if not the X11 parent-relative-to-root fallback
is the most generic fallback possible. Only 3 cases out of 21 tested I had to
handle as an exception (and an easy one to boot), the other 18 just work.
I'm sure it's possible some WMs exist out there that do even crazier things,
or you may be able to configure them in such a way that they report bogus
values, but at some point you have to draw the line. :-)
I believe this code is a clear improvement on the current one, easy to
understand and easy to maintain. I do offer myself for follow up questions
and fixes as needed, and I can say I've learned a lot today.
If you need any testing done regarding Linux WMs, I do now have a VirtualBox
VM with all of the above installed, so just shout out.
Thanks and have a nice week!

Merged in 58b7c2c48a7aa6eef1160862fb1805fedd33818f with PR #1266


Automated Publish

From the last team meeting I said I would comment with information on automating things.  Basically travis will set environment variables such that when you create a github release (which is a git tag as well) you can run your publish script automagically.
Here are some the scripts I've used with OmniSharp.
At the end of a build publish.sh is called.  Then publish.sh looks to see if the commit was a git tag $TAG_COMMIT, and then does the publish operation.
As an aside here travis fires off a pull request to another repo (could be the same repo)

This makes sense, but what about maintaining multiple branches for stable, versus, beta, vs nightlies?
We'd want something were we can promote from master (nightly) to beta, then beta to stable. I guess we could roll something like that into the publish.sh script? Like... "If the tag was beta, but is now not beta, then merge the branch over to stable"?

And to be clear, we don't need "nightlies" necessarily, just a canary label or something that publishes the bleeding edge.
... then again, I guess the daring could just use npm git dependencies.

with the build using git dependencies is problematic I've found.
We could totally fork on standard branch names, and those would just lead to typical npm labels.
next - next patch release
beta - next minor
canary - next major
The big problem will be managing the differences between the branches, ensuring that patches to go stable and then those get merged from stable to beta then master.  That could be managed with some scripting as well.  If for example we have a small patch for a typings fix, the script would attempt to merge that into beta, if there are no conflicts, then it merges and pushes.  If there are conflicts, it opens  a PR.

We'll get here some day. Closing it so we can have a discussion at a later point.


Router context updates incorrectly in response to browser-triggered navigation

Version
"react-router": "4.0.0",
"react-router-dom": "4.0.0"
"react-router-redux": "~5.0.0-alpha.4"
Test Case
See steps below
Steps to reproduce

Use ConnectedRouter from react-router-redux:

// Currently at /stuff
<ConnectedRouter history={history} />
    <Router> // <== returned by <ConnectedRouter>
        <Switch>
            <Route exact path="/" component={A}/> // <== not rendered
            <Route path="/stuff" render={() => <Bundle />}>
                <Bundle> // <== Async bundle loader
                    <Connect(Layout)>
                        <Layout>
                            <Switch>
                                <Route [...stuff] component={BA} />
                                <Route [...stuff] component={BB} />
                                <Route [...stuff] component={BC} />
                            </Switch>
                        </Layout>
                    </Connect(Layout)>
                </Bundle>
            </Route>
            <Route path="/more" component={C}/> // <== not rendered
        </Switch>
    </Router>
</ConnectedRouter>

Navigate around couple times with dispatch(push('/')), etc.
Hit browser back / forward button couple times

Expected Behavior
Browser should render matched <Route> components
Actual Behavior
I checked my redux store, and all location states are reflected accurately. BUT, here's what happens:

First back button click: URL changes in browser, but <Route> components are not switched
Second back or forward button click: URL changes in browser, and then <Route> components start to suddenly "respond" to browser changes. Since these <Route> components are one step behind the browser's current location, things do not render properly.
Checking the devtool, I could see that context.router.history.location and context.router.route.location have different pathnames for the inner <Switch> component. context.router.history.location had the correct location here. For the outer <Switch> component directly under <Router>, the context was consistent.

Strange - when I passed down props supplied by <Route path="/stuff" render={() => <Bundle />}> into the child of <Bundle> (i.e. <Connect(Layout) {...props} >), it worked. To be clear the props here are match, location, and history.
The connected component was already subscribed to location changes, and its props was updating correctly. I'm not sure what exactly changed after passing down props mentioned above, but it fixed it.

@js3692 https://github.com/ReactTraining/react-router/pull/4757

So, how to fix this now? I am relying on redux-form, which is again relying on connect from redux. So I am not able to change this one...

@iDuuck It really depends on how you structured your component hierarchy. The problem with mine was that the <Bundle> component standing in between <Route> and <Connect()> prevented the updates by not passing props down from <Route> to <Connect()>. I've never used redux-form before, but if your decorated redux form is directly under a <Route> (e.g. , then I might try to experiment with how to make the wrapped MyFormcomponent aware of`'s changing props.


Implement s2 neighbourhood

This requires a change of our s2 library because it does not support neighbours.

Probably not required for now.


WIP: Copy FlawMeta ACKNOWLEDGMENT into FlawAcknowledgment.

Copy FlawMeta ACKNOWLEDGMENT into FlawAcknowledgment.
This makes the DB data consistent and ready for FlawAcknowledgment bbsync. Without this consistency, FlawAcknowledgment manipulation and bbsync would be either too complex or nonfunctional, because it wouldn't be clear whether to assemble srtnotes acknowledgments based on FlawMeta or FlawAcknowledgment, or would make acks disappear if a Flaw without populated FlawAcknowledgment would be bbsynced.
Related to OSIDB-1004 ("Implement BBSync part for FlawAcknowledgment")
This is meant to be merged after https://github.com/RedHatProductSecurity/osidb/pull/265 but review is possible independently now.

I am unsure if we want to do this change right now. If so, we should probably do it also for FlawReferences etc. If I get it right, this could cause some other consequences.

I  would not mix this with the references or or other attributes. One thing is that they are out of scope of what @jsvob currently does but also not all of them need the same treatment - eg. I remember when we discussed Major Incidents we came to conclusion that they will need a resync anyway as the meta is missing some parts of the data (they are not too many). As this initiates the new model but does not change the old one, I do not see any breaking consequences.

I am unsure if we want to do this change right now. If so, we should probably do it also for FlawReferences etc. If I get it right, this could cause some other consequences.

Please provide actionable feedback and/or file a respective Jira. Thank you.

@jsvob I discussed it with Ondřej today, and this PR is fine. Since this data migration is not necessary, we do not need to make any changes to FlawReference in an upcoming PR.

Just to be precise :smile: it is necessary to migrate the data somehow. Somewhere it might be better by resync (eg. when the stored data are incomplete) somewhere we decided to postpone it for whatever reason etc. Generally we will need to migrate all the data to the new attributes at some point.

I previously said it would be merged after PR265, but after yesterday's talk with Jitka, I realized this is independent.


docs: add repository prerequisite

when running azdoext you have to be in a repository with a Azure DevOps remote origin

proposed documentation update to prevent issue #4

Thanks for the PR!


Segmentation fault with conditional pointer assignment from different address spaces

kernel void exec(global float *in, global float *buf) {
    float tmp[32];
    float tmp2[32];

    float *in_ptr = in;
    float *out_ptr = tmp;
    for (int j = 0; j < 4; ++j) {
        for (int k = 0; k < 32; ++k) {
            out_ptr[k] = in_ptr[k] * buf[k];
        }
        in_ptr = out_ptr;
        out_ptr = out_ptr == tmp ? tmp2 : tmp;
    }
}

Results in:
  %6 = load float, ptr addrspace(4) %arrayidx, align 4
 :
OpPtrAccessChain is not supported for this storage class
UNREACHABLE executed at ../clspv/lib/SPIRVProducerPass.cpp:4946!
Aborted (core dumped)

Godbolt link: https://godbolt.org/z/vx91zr9Po

When I compile this example with c9d2022b I get:
error: initializing '__private float *__private' with an expression of type '__global float *__private' changes address space of pointer
   10 |     float *in_ptr = in;
      |            ^        ~~

which seems like a real issue in the test. Not sure why clspv is not returning that in godbolt.

When I compile this example with c9d2022 I get:
error: initializing '__private float *__private' with an expression of type '__global float *__private' changes address space of pointer
   10 |     float *in_ptr = in;
      |            ^        ~~

which seems like a real issue in the test.

Do you mean that the sample code that I provided is wrong or that it exposes an issue in clspv? AFAIK the code should be valid, and in_ptr should be in the generic address space.

alright, I used the compilation options put in the godbolt link (-inline-entry-points -O3). With those, the generic addrspace does not exist.
Adding -cl-std=CLC++ allows to pass the frontend issue and now prints:
# | Instruction not handled:   %out_ptr.0 = phi ptr addrspace(4) [ %arraydecay.ascast, %entry ], [ %arraydecay8.ascast, %for.inc9 ]
# | Missing support for instruction
# | UNREACHABLE executed at /usr/local/google/home/rjodin/work/clvk/external/clspv/lib/LowerAddrSpaceCastPass.cpp:346!

This is very similar to #1259, faaiz can you also take care of this one please?

We have been working on that, and it is not simple. I'm not sure how to support this pattern.
At the moment with generic addrspace we try to figure out the real addrspace and get rid of all generic addrspace. Which means that for each variable we need to figure out one addrspace.
But in this pattern in_ptr starts with the addrspace of in which is global. And then it is updated with out_ptr wich is coming from tmp (private addrspace). So we end up with a PHI node that is not legal, as the type of its incoming values are different. I don't know how to support that pattern at the moment.


Java 7.2: For and For Each

Description
Description
Description Add audio, Documentation, and Video regarding the For and For Each.

Location of File to be added
The files should be added inside the For and For Each  folder which is inside the Iteration Statement  folder present in the   Java  main folder.  The documentation file can be in the .md/.py/.ipynb format. Audio should be in .mp3 format and to be submitted through a Google drive link. Video can be in any format and should be submitted through a Google Drive link.
Note:

You are required to comment with \assign CONTENT_TYPE , so that other content types can be created at the same time.
Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns.
You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned.
Issues will be assigned on a first come first serve basis.

Domain
Java_Domain
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign document

/assign document

/assign audio

/assign document

/assign document
i want to work on this issue. can you assign me this issue @

/assign audio


Cancellation?

I see that OrchestrationRuntimeStatus actually has a Canceled state. When is it set? I see no cancellation tokens in the API. Also, what is the recommended way to cancel an ongoing orchestration now? Signal an entity and use it as a cancellation token?

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

ID: 6c17b738-aa32-4cbb-3d82-bda2bc032487
Version Independent ID: a34e246c-7c65-461f-4417-3c47eb4672e2
Content: Manage instances in Durable Functions - Azure
Content Source: articles/azure-functions/durable/durable-functions-instance-management.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

@vavane-ms Thank you for your feedback! We will review and get back to you with our findings.

@vavane-ms As mentioned in this comment, the Unknown and Canceled values are not used, which is why they are not documented.

Oh, I see, thank you. What about guidelines for cancellation, do you have any? Do you see any problems with treating a durable entity as a cancellation token?

@vavane-ms You can terminate an orchestration using either the HTTP API or the Orchestration Client binding.
You could use a durable entity too but I believe you would have to continuously check for its value in your orchestrator and terminate manually.

But that won't give me a chance to handle cancellation nicely, it would just kill the function, no?

@vavane-ms Yes. Also, as the note in the doc mentions

Instance termination doesn't currently propagate. Activity functions and sub-orchestrations run to completion, regardless of whether you've terminated the orchestration instance that called them.

For a graceful shutdown, you could implement something similar to this timeout sample coupled with external events.


extract text from doc files(windows10 64)

"DOC extraction requires antiword be installed, link, unless on OSX in which case textutil (installed by default) is used."
OS: windows10 64
I installed antiword.exe failed,and i don't konw how to do with this problem...

have you declared the path to your antiword.exe file in the PATH global variable ?

@zzzwx thanks for your reply,antiword does not support Windows.

@SHocker-Yu i am using it on windows (7 and 10)
some good fellow actually compiled it for windows, get it there : http://www-stud.rbi.informatik.uni-frankfurt.de/~markus/antiword/

@zzzwx appreciate for your kind reply.

Could you tell me how to make it running success?

@SHocker-Yu what do you mean by "flash back" ?
here are the steps I followed to make it work on windows :
1/ download windows binary
2/ add antiword directory to Windows' PATH environnement variable
=> at this point it worked but only when the path to the doc file contained no spaces
3/ modify textract/lib/extractors/doc.js to add quotes so that it reads the input path as is
- var escapedPath = filePath.replace( /\s/g, '\\ ' );
+ var escapedPath = filePath/*.replace( /\s/g, '\\ ' )*/;

-  exec( 'antiword ' + escapedPath,
+  exec( 'antiword "' + escapedPath + '"',

=> at this point it worked for every paths
4/ modify textract/lib/extractors/doc.js again to manage UTF8 encoding of output text
  - exec( 'antiword "' + escapedPath + '"',
  + exec( 'antiword -m UTF-8.txt "' + escapedPath + '"',

=> and after that it worked well all the time :)
hope this helps you

@zzzwx I really appreciate for your kind,so sorry about my pool English,'flash back' means 'crash',these days i had to work all day ,and reply you so late,really sorry, i have readed your reply,and i will try it and then tell you the result.
Best wishes.

@zzzwx I really appreciate for your kind,so sorry about my pool English,'flash back' means 'crash',these days i had to work all day ,and reply you so late,really sorry, i have readed your reply,and i will try it and then tell you the result.
Best wishes.

@zzzwx It works!Thank you so much!!!

FYI, I've implemented the changes from above across a few different commits the last few months (sorry so slow!).

Published as 2.1, thanks!

Hi @dbashford , thank you for your work


Splash screen shows for a brief moment and then moves to a loading indicator

The app shows a splash screen only while react native is initialized. It then moves into RN and shows a purple screen with a loading indicator. Perhaps this should retain the splash screen while the RN app actually loads the necessary information to display the first screen.

We need to show the branded elements on the splash screen up until we transition to the NY COVID Data tab.  We are not seeing them at all in build 17.

@dharding @ahurworth I'll take care of this.

@ahurworth This should be addressed in the next build 👍

I'm still seeing issues @floridemai .  On iOS I'm still seeing the splash screen logo appear twice.  On Android (Pixel) it only appears once, but feels very quick.
Screen recording of the experience on iOS (iPhone SE):
ScreenRecording_09-08-2020 11:41.MP4.zip

Same on my device. @floridemai Is this an issue with loading screen vs splash screen?

This has been addressed and will be in the next build

I will close this ticket and re-open a new one for 1.1.
Android's splash screen isn't quite there yet unfortunately.


Feature Request: Configurable redirect route after photo is updated

There is a use case I just ran into, where I want to re-structure my jetstream application to move all settings including the built-in team ones under a /settings prefix and may want to "move" the routes to settings.teams.... When doing this, a error is thrown by the update action due to the following line:
return redirect()->route('teams.show', $this->team);

Proposed Solution:

create an config file that can be exported to the config folder
file contains a setting for "post_photo_upload_redirect_route"
setting should default to teams.show but should be overridable

Potential Issues:

not sure how we could make route parameters configurable as well if they need more than just the team

love the package by the way. exactly what i needed

rable as well if

Thanks, glad it's working well for you!
I'll take a look into making the route configurable.

You can now specify the redirect route name in https://github.com/RhysLees/jetstream-team-profile-photo/releases/tag/2.1.0
For route params this is included in https://github.com/RhysLees/jetstream-team-profile-photo/releases/tag/2.1.1
See the updated readme for instructions 😀

this is awesome! just saw the updated version coming in with a composer update


EGFR event detection in LUAD

In the TCGA LUAD data, there are several samples (~25) with EGFR event.
This issue is to evaluate our sensitivity to detect these EGFR mutations, since these are clinically relevant.
GISTIC results (on arrays) can tell us which LUAD samples have these mutations.  However, these results will not tell us if only a subset of the gene is mutated.  That will have to be curated manually.
Originally recapseg repo issue number 340

Closing this as other evaluations will be easier to implement and are higher priority.


Add dark mode

Added dark mode based on the (wip?) support that was already part of the repo.
Tweaked the colors a bit based on my own taste.
Added missing dark mode support to the chart, bars and some other places.
There is no toggle, it just follows prefers-color-scheme.
Also includes an inverted version of the counterscale graphic for the landing page.
Screenshot:

This is awesome!

Apologies for the slow response – I'd like an opportunity to just play with this and do some testing before merging.

No worries, I mostly just wanted this to be visible to someone searching for dark mode.
Btw, I have more improvements on my fork that includes a proper app icon, webapp manifest, and marks many elements as sticky, giving the dashboard a more app-like feel.
Taken together, it makes "Add to Dock" / "Install app" work which gives a native-ish app that looks like this:

Taken together, it makes "Add to Dock" / "Install app" work which gives a native-ish app that looks like this:

Very cool.

I think my only hesitation on the PR right now is that this applies site-wide, including the landing page, and I don't think this is the look I want to go for.

I'm also not sure if I'm capable of maintaining a second "dark" look site-wide that people auto-opt into.
What if we (or I) just added a dark mode toggle in the corner? And we just remember the setting in a cookie.

What if we (or I) just added a dark mode toggle in the corner? And we just remember the setting in a cookie.

I agree. It should be opt in.

The Dark Reader extension suggests a colour scheme that closely matches the current one https://imgur.com/a/qmFuJr1

@qwtel btw do you have your fork deployed somewhere? I'm curious to try the other enhancements.
(Haven't forgotten about this PR.)


Specifying the Python interpreter in launch.json using the CONDA_PREFIX environment variable raises an error

Type: Bug
The following configuration launch.json sets the Python interpreter to the Python interpreter of the activated conda environment of the integrated terminal
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Dynamic path",
            "type": "python",
            "request": "launch",
            "program": "myscript.py",
            "console": "integratedTerminal",
            "cwd": ".",
            "python": "${env:CONDA_PREFIX}/bin/python",
            "justMyCode": true
        },
    ]
}

Wenn I activate the conda environment with the path to the Python interpreter being /conda/envs/my_env/bin/python and then start the debugger of this configuration, I get the following output in the terminal
/usr/bin/env /conda/envs/my_env/bin/python /home/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 45096 -- myscript.py
-X is reserved for implementation-specific arguments
usage: /bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

This is unexpected, because the path /conda/envs/my_env/bin/python to the Python interpreter is correct.
Moreover, I have also followed the steps described in https://code.visualstudio.com/docs/editor/variables-reference#_how-can-i-know-a-variables-actual-value to see that the value of the python field in the configuration is actually the path to the Python interpreter.
When I replace the python field in the configuration by /conda/envs/my_env/bin/python the debugger runs.
Extension version: 2023.5.20
VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:00.748Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: No
Remote OS version: Linux x64 4.4.0-19041-Microsoft
Remote OS version: Linux x64 3.10.0-1160.66.1.el7.x86_64
Remote OS version: Linux x64 4.4.0-19041-Microsoft
Remote OS version: Linux x64 4.4.0-19041-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.75GB (1.59GB free)

Process Argv
--crash-reporter-id 0d3cf624-62ed-41e9-9c0e-981ac1406d0e

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-19041-Microsoft

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

Memory (System)
15.75GB (1.58GB free)

VM
0%

Item
Value

Remote
SSH: PROD_ADMIN

OS
Linux x64 3.10.0-1160.66.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz (4 x 2294)

Memory (System)
15.51GB (1.41GB free)

VM
100%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-19041-Microsoft

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

Memory (System)
15.75GB (1.58GB free)

VM
0%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-19041-Microsoft

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

Memory (System)
15.75GB (1.58GB free)

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
a9j8j154:30646983
showlangstatbar:30737416
vsctsb:30705553
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
pythoncmvfstr:30731969
fixhidewlkth:30730051
hidesbindicator:30730055

@karthiknadig Thank you for your comment.
Unfortunately, this is not what I want. I can achieve the same result by selecting the corresponding Python interpreter in VS Code using the Command Palette and Python: Select Interpreter. This is how I've done it so far when I started debugging with VS Code last week.
However, it would be great if there is a connection between the activated environment in the integrated terminal and the debugger. I tried to achieve this by using the corresponding environment variable in launch.json. As far as I understand the documentation, this should work. And although it appears in my firrst post that the evaluated path to the Python interpreter is correct, something goes wrong. It appears that somehow the flag -X is passed to the Python interpreter.

@FSpanhel That is kind of the problem. Since VS Code launches the debugger the way VS Code can resolve env:CONDA_PREFIX is if VS Code itself was launched from an activated environment so it sees CONDA_PREFIX. That said, we now have a new terminal activation feature that might be able to help with this. This might be a feature request to resolve such variables, based on the activated terminal.
/cc @karrtikr This should work with the new environment variable API for terminal (i.e, we don't have debugger running with a non-activated python issue). Not sure if env:CONDA_PREFIX style of resolution is handled yet.

@karthiknadig
Okay, so the environment variables of VS Code are determined at startup and are not the environment variables of an integrated terminal that may also change? Is this somewhere documented?
At least to me, reading https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables does not imply such a behavior.
Is there also some documentation about this new "terminal activation feature"?

Not sure if env:CONDA_PREFIX style of resolution is handled yet.

Reassigning to debugger as whether this is resolved or not is debugger related.

When I replace the python field in the configuration by /conda/envs/my_env/bin/python the debugger runs.

cc/ @karthiknadig This is all that the new terminal work ensures, it does not control how env variables are resolved.


Add new navigation diagram

The new navigation diagram (NIST Big Data Interoperability Framework Documents Navigation Diagram) should be added after the new paragraph introducing the figure (at the end of section 1.4 Report Structure).
NBDIFDocNavigationFig_2019-05-28_LA.pptx

figure included


feat(g-code-testing): Add functionality to run HTTP requests through G-Code Parser

Overview
Add functionality to run HTTP requests through G-Code Parser
Changelog

Add filtering of init.py files in configurations command
Convert ProtocolRunner into an ABC called GCodeEngine

In ABC define an abstract run method
Rename all references

Create ProtocolGCodeEngine which runs protocols
Create HTTPGCodeEngine which runs HTTP requests
Create configuration for robot/move HTTP command

Review requests
Is there something better I can do than asyncio.run in g_code_engine and the configuration to actually run the async functions?
Risk assessment
None

Closing this PR and opening a new one with the changes off of edge now that https://github.com/Opentrons/opentrons/pull/8307 is merged


Solved #1598

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
What is the current behavior?
Issue Number: #1595

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Added Square root feature in Branch

Implementing square root functionality.

Implement square root functionality

Implement square root functionality


New package: REOMS v0.1.0

Registering package: REOMS
Repository: https://github.com/yanjer/REOMS.jl
Created by: @yanjer
Version: v0.1.0
Commit: e30aeeb8baae1f7d7a5fab00679afb71f80d863e
Git reference: HEAD

Please stop submitting new registrations until you have read and understood the message by the bot and the FAQ

Closing in favor of https://github.com/JuliaRegistries/General/pull/116327


chore: Remove deadcode from scheduling profiling

Fixes #
Description

Remove deadcode from scheduling profiling

How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 75.576%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/preferences.go
7
86.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
5310

Relevant Lines:
7026

💛  - Coveralls


Add support for Python 3.11 and 3.12 and drop EOL 3.7

The second Python 3.12 release candidate is out! :rocket:

Call to action
We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.12 compatibilities during this phase, and where necessary publish Python 3.12 wheels on PyPI to be ready for the final release of 3.12.0.

Python 3.12.0 final is due out in two weeks: 2023-10-02.
See also https://dev.to/hugovk/help-test-python-312-beta-1508/

Python 3.7 is EOL and no longer receiving security updates (or any updates) from the core Python team.

version
released
eol

3.11
2022-10-24
2027-10-24

3.10
2021-10-04
2026-10-04

3.9
2020-10-05
2025-10-05

3.8
2019-10-14
2024-10-14

3.7
2018-06-26
2023-06-27

https://devguide.python.org/versions/

New Gerrit review created for change 9f09d4c704ca540f4592d88968fb62609b88ee8f: https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/4868

will call this 1.3.0 and I'll add a changelog entry

mike bayer (zzzeek) wrote:
thank you!
View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/4868

Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/4868 has been merged. Congratulations! :)


How to create a channel map for a microwire array electrode?

My electrode is a 32-channel microwire array electrode, with the electrode site at the bottom end of each wire. I currently have two ideas: one is to use generate_multi_columns_probe. The other is to use generate_multi_shank, with only one site on each shank, but for generate_multi_shank I've only seen horizontally distributed multiple shanks and not a combination of horizontal and vertical distribution.

Hi,
one way to create a probe from scratch is to use an excel, then read it with pandas and then create the probe using
Probe.from_dataframe()
Usin this approach is simpler for custum probes than using internal probe generator.
Zach made a cool tuto on this video around 18''
https://www.youtube.com/watch?v=pHze_8s4Qak&t=4605s


Error code: Wsl/Service/CreateVm/ERROR_PATH_NOT_FOUND

Windows Version
Microsoft Windows [Version 10.0.19045.3031]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
No response
Other Software
No response
Repro Steps
Unable to install WSL 2 distros. Can successfully install and access WSL 1 distro but attempting to update from 1 to 2 results in the following:
PS C:\Windows\system32> wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Running         1
PS C:\Windows\system32> wsl --set-version Ubuntu 2
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion in progress, this may take a few minutes.
The system cannot find the path specified.
Error code: Wsl/Service/CreateVm/ERROR_PATH_NOT_FOUND

Attempting to install a WSL 2 distro directly results in the following:
PS C:\Windows\system32> wsl --set-default-version 2
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The operation completed successfully.
PS C:\Windows\system32> wsl --install -d ubuntu
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070003
Error: 0x80070003 The system cannot find the path specified.

Press any key to continue...

I have tried installing various distributions both from the command line and from the Microsoft Store, all of which result in the same issue. Most relevant support I have found suggests ensuring Intel VT-x is enabled in BIOS (which I have verified to be the case) as well as enabling the correct Windows features, which I also believe I have done correctly.

The closest existing issue (https://github.com/microsoft/WSL/issues/9349) I was able to find suggests clearing out missing values from Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss but that dosen't appear to be the problem in my case.

This issue (https://github.com/microsoft/WSL/issues/6363) also appears similar, unfortunately I have no .wslconfig present and  making the suggested changes to the registry yielded no results.
Expected Behavior
See Above
Actual Behavior
See Above
Diagnostic Logs
No response

WslLogs-2023-06-07_17-57-29.zip
I have attached WSL logs while attempting to install a distro above, as suggested here: https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs

Thank you for reporting this @MatousKundrik. Looking at the logs it looks like Hyper-V is in a bad state, which causes the VM to fail to start.
Can you try to disable both Virtual machine platform and all hyper-v components, then reboot, re-enable them and reboot again ?
I'd be curious to see if that will solve the issue.

Thank you for reporting this @MatousKundrik. Looking at the logs it looks like Hyper-V is in a bad state, which causes the VM to fail to start.
Can you try to disable both Virtual machine platform and all hyper-v components, then reboot, re-enable them and reboot again ?
I'd be curious to see if that will solve the issue.

Thanks for the feedback, seems you're exactly right! WSL + Ubuntu 22.04.2 LTS is now working as expected! 😁
For anyone else having the same issue, the exact steps I followed were:

Toggle Hyper-V and Virtual Machine Platform off in Windows Features
Restart PC allowing updates to be applied
Toggle Hyper-V and Virtual Machine Platform on in Windows Features
Restart PC allowing updates to be applied
Reinstall WSL Distribution

WslLogs-2023-06-08_01-30-00.zip
WSL logs are again attached above in case they prove useful.
I was at my wits end and about to do an in-place reinstall of Windows, glad this worked!


Missing Parenthesis

One of the scriptblocks are missing parenthesis, I submitted #6118 to fix it.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fddc3bb1-c473-300c-9826-7aaa61e257ef
Version Independent ID: 1cb03710-5f57-dade-0e74-a19c3aeabc54
Content: Scripting with Storage Spaces Direct performance history
Content Source: WindowsServerDocs/storage/storage-spaces/performance-history-scripting.md
Product: windows-server
Technology: storage-spaces
GitHub Login: @cosmosdarwin
Microsoft Alias: cosdar

Hey jwmoss,
Thanks again for contacting Microsoft, we value your feedback.
We have merged your contribution into this documentation page. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Create Sinatra App for this data made from repository.

Required

github extension's search functional

There is assets in here

1o2kaTGWjHFWC08UjkcaViy3ecB6WO2N0w68FsqtV2NE

About technology & version

Ruby v2.3.x
Sinatra v1.4.x
Active Record v4.2.x
MySQL v5.7.x
MemCached (Un secure) v1.4.x

Route Sample
/github/language/ruby?order_by=stargazers_count&desc_flg=1&limit=20

language: ruby
order_by: stargazers_count DESC
limit: 20

/github?order_by=forks_count&desc_flg=0&limit=50

order_by: forks_count ASK
limit: 50


[docs] Update README for codemod

Quick fix in ref to https://github.com/mui-org/material-ui/issues/11369#issuecomment-393200250 : suggest users to perform search+replace

@sacdallago It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!


Azure Queues Trigger - When there is a message in queue is not working with dynamic parameter value

Describe the Bug with repro steps
I have logic app work flow with Azure queue trigger. When there is a message into the queue, The problem is the connector is not working dynamic parametrized values with the recent changes.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": { },
        "contentVersion": "<IP_ADDRESS>",
        "outputs": {},
        "triggers": {
            "When_there_are_messages_in_a_queue_(V2)": {
                "inputs": {
                    "host": {
                        "connection": {
                            "referenceName": "azurequeues"
                        }
                    },
                    "method": "get",
                    "path": "/v2/storageAccounts/@{encodeURIComponent(encodeURIComponent(parameters('BlobStorageAccountName')))}/queues/@{encodeURIComponent(parameters('Queue_processingqueueidd007'))}/message_trigger"
                },
                "recurrence": {
                    "frequency": "Second",
                    "interval": 15
                },
                "splitOn": "@triggerBody()?['QueueMessagesList']?['QueueMessage']",
                "type": "ApiConnection"
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos
No response
Browser
Chrome, Microsoft Edge Browser
Additional context
No response

@skaramat - do you mind explaining what exactly is not working? Some screenshots will be helpful, and if dynamic parameters are not shown network traces would help

Yes, it works now
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: preetriti1 @.>
Sent: Tuesday, May 23, 2023 4:46:26 PM
To: Azure/LogicAppsUX @.>
Cc: Shoaib Karamat @.>; Mention @.>
Subject: Re: [Azure/LogicAppsUX] Azure Queues Trigger - When there is a message in queue is not working with dynamic parameter value (Issue #2495)
@skaramathttps://github.com/skaramat - So does everything works now in portal? Both designer and runtime?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/LogicAppsUX/issues/2495#issuecomment-1559703712, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7KTIR3TNXCYCGAEOTYEY6TXHTLVFANCNFSM6AAAAAAYLRPLFY.
You are receiving this because you were mentioned.Message ID: @.***>


formatCardExpiry fails on certain browsers

Expected behavior
On Android 5.0.1 on Samsung Galaxy S4, using Chrome 50.0.2661.89, card expiry should be able to take 10/18 as a valid month/year expiry on http://gofundme.com/parsen9/donate. We're calling the formatCardExpiry on any input into the MM/YY input field. However, the function formats it differently on the Chrome browser with respect to that specific device (S4)
Actual behavior
When trying to type 10/18 in the MM/YY field, we get 1/018 instead. There seems to be some problem with the formatting specifically with respect to the formatCardExpiry method.
Steps to reproduce
On a similar mobile device, go to http://gofundme.com/parsen9/donate, and then fill out the first form. On the second page, try to enter 10/18 as the MM/YY expiry, and notice it failing.

@sidwyn Unfortunately, I don't have that particular device/browser combination available for testing. Can you (1) create a minimal jsfiddle reproducing the problem and (2) help identify exactly what is failing? I'm not sure why that particular combination would have trouble. Thanks!

Closing due to lack of info. Please reopen with more details if the problem persists!


Deamon stop to work after some time - not yet merged fork

Hello,
So I could not raise an issue on https://github.com/aqualx/miflora-mqtt-daemon directly so I am doing it here hoping that @aqualx  would see it.
I have been using your fork and I believe I run into issue.
I have both miflora sensors and and Mija bluetooth temperature monitor configured, some of the miflora sensors became unavailable from time to time (they are on a balcony and when blinds close BLE connection is lost).
Nevertheless I have noticed that the deamon freeze from time to time.
I had it run in a screen session to see the output:
[2019-03-25 00:51:08] Result: {"humidity": 44.4, "temperature": 23.0, "battery": 93}
[2019-03-25 00:51:08] Publishing to MQTT topic "misensor/XMiTH_Bedroom"
[2019-03-25 00:51:08] Sleeping for Mijia Bluetooth Temperature Smart Humidity (60 seconds) ...
[2019-03-25 00:52:08] Retrieving data from Mijia Bluetooth Temperature Smart Humidity sensor "XMiTH_Bedroom" ...
[2019-03-25 00:52:16] Result: {"humidity": 44.5, "temperature": 23.0, "battery": 93}
[2019-03-25 00:52:16] Publishing to MQTT topic "misensor/XMiTH_Bedroom"
[2019-03-25 00:52:16] Sleeping for Mijia Bluetooth Temperature Smart Humidity (60 seconds) ...
[2019-03-25 00:53:16] Retrieving data from Mijia Bluetooth Temperature Smart Humidity sensor "XMiTH_Bedroom" ...
[2019-03-25 00:53:31] Result: {"humidity": 44.3, "temperature": 23.0, "battery": 93}
[2019-03-25 00:53:31] Publishing to MQTT topic "misensor/XMiTH_Bedroom"
[2019-03-25 00:53:31] Sleeping for Mijia Bluetooth Temperature Smart Humidity (60 seconds) ...
[2019-03-25 00:54:31] Retrieving data from Mijia Bluetooth Temperature Smart Humidity sensor "XMiTH_Bedroom" ...
And today its like almost 24h after the last output being displayed and no new response has show up.
After I restart the deamon everything gets back to normal for like a day.
Let me know if I could add more input to this.

Hi
Sorry, this has nothing to do with daemon itself.
From my observation either Bluetooth stack crashes in Linux (I had this several time) or underlying Bluetooth wrapper.
On my side I've added external watchdog that checks that daemon send any data from any sensor during 2 scan periods (I use timestamps). If no data received than watchdog restarts Bluetooth service (systemctl restart bluetooth.service) & miflora-mqtt-daemon. In my case restarting only miflora-mqtt-daemon might not help.
In 2 months I've only 3 or 4 times when watchdog restarts services.
PS: All this issues are indeed due to lost/weak BLE connection.

Hey @aqualx
That was in deed very good hint.
Once I have restarted bluetooth service - while miflora seemed to be freeze and  it started to work again.
So as you have mentioned this is not a deamon issue here.
Would you elaborate on that external watchdog of yours ?
Thanks
Jarek

Sorry, my watchdog is written on custom JavaScript based rules engine for Wiren Board.

Hey,
I did some tests, every time i restart BT service only the deamon return to operations so I closing this ticket.
Thanks for your help