Changes for 0.51.0

[For 0.51.0]
We need to change the "Prerequisites for..." section with following:

The reference to ASH 1910 needs to change to 2002. Clarify that AKS engine 0.51.0 requires 2002.
The Ubuntu image is now AKS Base Ubuntu 16.04-LTS Image Distro, May 2020 (2020.05.13)

In section "Matching engine to base..."

Change 0.48.0 for 0.51.0 and 2020.03.19 for 2020.05.13.
Notice that the Bash text needs to be changed to 0.51.0 as well

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

ID: 4a537721-93a2-202f-abf5-6d0fe560fef0
Version Independent ID: 676263bc-6c11-4fd4-0318-5d2504c1b014
Content: Set up the prerequisites for the AKS engine on Azure Stack Hub - Azure Stack Hub
Content Source: azure-stack/user/azure-stack-kubernetes-aks-engine-set-up.md
Service: azure-stack
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

@walterov Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#in-progress

Updates: https://github.com/MicrosoftDocs/azure-stack-docs-pr/pull/3978/commits/00d344b90886bc82d0601418424f2e84e460e580

#please-close


For WPF, Use Cross-Platform Implementation for BaseCommand.IsMainThread and BaseCommand.BeginInvokeOnMainThread

Description of Change
This PR implements a cross-platform solution forBaseCommand.IsMainThread and BaseCommand.BeginInvokeOnMainThread for the WPF builds of XamarinCommunityToolkit.
This PR combines BaseCommand.wpf.cs and BaseCommand.netstandard.cs into BaseCommand.wpf.netstandard.cs, to leverage SynchronizationContext.Current which allows us to reference the Main Thread in a platform-agnostic manner.
This removes the windows-only dependency on System.Windows.Threading.Dispatcher.

When unit testing AsyncCommand and AsyncValueCommand using .NET Core on a non-windows operating system, System.TypeLoadException is thrown:
System.TypeLoadException : Could not load type 'System.Windows.Threading.Dispatcher' from assembly 'WindowsBase, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

TypeLoadException is thrown for a combination of the following reasons:

BaseCommand.wpf.cs uses System.Windows.Threading.Dispatcher which is only available on Windows
.NET Core dependencies for the Xamarin.CommunityToolkit NuGet package assume the user is running WPF on Windows (see image)

Bugs Fixed

Fixes #964

@brminnick do you know if this PR also fix this #876 ?

Hey Pedro!
#876 is a Xamarin.Forms bug. I'll comment on it to provide the work-around.


doc: release-notes: LoRaWAN notes and zbus fixup

LoRaWAN release notes and a fix on the zbus notes.

@henrikbrixandersen can you take another look?


tts: 0.3.0 -> 0.3.1

Motivation for this change
https://github.com/coqui-ai/TTS/releases/tag/v0.3.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 138413 run on x86_64-linux 1

1 package built:

tts


Fixes #34 add path seperator for windows

I havent tested the changes completely yet

This would be great, if you're willing to put up an MR fixing these for Windows.
I don't have a Windows machine so would defer to you on the functionality of the plugin in a Windows environment.
There are basically two files where this would be an issue, according to my grepping the codebase for a / in the code: In the lua/gitlab/init.lua file, where there are a couple of places where I assume the path separator is a /, and in lua/gitlab/utils/init.lua where I do the same thing.

Yes I will try to fix it! :)

I've made a bunch of changes, turns out I don't need the branch_exists function at all anymore, so the few small changes you've made should be all you really need.

I implemented this in another branch, please feel free to comment here if you're having issues.


Cannot find module named 'modal'

I tried to research this, but I am unable to find this python module or missing file. Is this missing from the repo or in another repo, command, or package?

I tried to research this, but I am unable to find this python module or missing file. Is this missing from the repo or in another repo, command, or package?

pip install modal-client


fix issue with new generator version

occurs with versions >0.18.6, when running yo m
/Users/jonathan/Projects/generator-m/node_modules/yeoman-generator/lib/base.js:445
  this.env.sharedFs.on('change', writeFiles);
                    ^
TypeError: Object #<Object> has no method 'on'
    at run (/Users/jonathan/Projects/generator-m/node_modules/yeoman-generator/lib/base.js:445:21)
    at Environment.run (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:330:20)
    at /usr/local/lib/node_modules/yo/lib/cli.js:91:9
    at Environment.resolver.lookup (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/resolver.js:50:12)
    at init (/usr/local/lib/node_modules/yo/lib/cli.js:66:7)
    at pre (/usr/local/lib/node_modules/yo/lib/cli.js:53:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:155:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

update yo npm install -g yo. See: https://github.com/yeoman/generator/issues/762


Datepicker: Unable to enter date manually

Fixes #2285
Additional description
In date-picker you can manually enter date,calender will pop up only when you click calender icon
CONTRIBUTOR checklist (do not remove)
Please complete for every pull request

[ ] First-time contributors should sign the Contributor License Agreement.  If you haven't before, wait a few minutes and a bot will comment on this pull request with instructions.
[ ] npm run lint:fix has been run and linting passes.
[ ] Mocha, Jest (Storyshots), and components/component-docs.json CI tests pass (npm test).
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

REVIEWER checklist (do not remove)

[ ] TravisCI tests pass. This includes linting, Mocha, Jest, Storyshots, and components/component-docs.json tests.
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

Required only if there are markup / UX changes

[ ] Add year-first date and commit SHA to last-slds-markup-review in package.json and push.
[ ] Request a review of the deployed Heroku app by the Salesforce UX Accessibility Team.
[ ] Add year-first review date, and commit SHA, last-accessibility-review, to package.json and push.
[ ] While the contributor's branch is checked out, run npm run local-update within locally cloned site repo to confirm the site will function correctly at the next release.

@interactivellama  can you please review the pull request

@apshada What's the reason for the preventDefault? What event are you blocking?

@interactivellama
=>Event blocked here is opening of calender when user clicks on input tag,scuh that user can manaually enter date
=>date entered manually is updated in calender
=>calender will open only when users clicks calender Icon


Library "Load More / Infinite Scroll"

Hello :),
I think it would be nice to create a library "Load More / Infinite Scroll"
Thanks ;)

For instance load :

comments with content, date and author
only images
posts with content, date, author, catégories and image
etc

So, I wonder if

the data should be loaded in JSON and the template in JS (which seems complicated to me for the different possible cases)
or if the data should be loaded with the template in a partial in HTML

For instance load :

comments with content, date and author
only images
posts with content, date, author, catégories and image
etc

So, I wonder if

the data should be loaded in JSON and the template in JS (which seems complicated to me for the different possible cases)
or if the data should be loaded with the template in a partial in HTML

https://github.com/twigjs/twig.js merges the two options: data in JSON and template in Twig HTML, which is already known by Symfony developers and also reusable in server for the majority of use cases. Obviously, there is already a need for infinite scroll handling.

Hello :), I think it would be nice to create a library "Load More / Infinite Scroll" Thanks ;)

I created one for all Js frameworks : https://www.npmjs.com/package/lodscroljs


Update _Layout.cshtml

Was anything broken the way it was previously (just curious), or does this help handle virtual directories or something ?

Nothing broken, correct, it helps with virtual directories.
From: Mark<EMAIL_ADDRESS>Sent: Saturday, October 7, 2017 11:30 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MarkPieszak/aspnetcore-angular2-universal] Update _Layout.cshtml (#433)
Was anything broken the way it was previously (just curious), or does this help handle virtual directories or something ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MarkPieszak/aspnetcore-angular2-universal/pull/433#issuecomment-334947582, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APFnKKawIB0ZqT1sJfVTwG5qEH2j2BGJks5sp6cXgaJpZM4Pw821.


Deploy map-reduce subsetting to QA

Currently, map-reduce subsetting is disabled and it is using a project-discriminated directory structure. In order to prepare the release of this feature, we need to update the directory structure to be flat and enable the feature.

PR closed for enabling flat structure: https://github.com/VEuPathDB/EdaSubsettingService/pull/86

Now it's awaiting: https://redmine.apidb.org/issues/50000


Source control crash VS Code

When folder opened with a git repository inside, VS Code crash while loading the window.
If the Source control is open immediatly after opened a folder, the commit message is strange :
MZ�
I have dump file and screen concerning the error.

reports.zip
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:55.248Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

|CPUs|Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz (8 x 2208)|
|GPU Status|2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.76GB (8.60GB free)|
|Process Argv|C:\Dev\reports\reports\4cdaffd2-7acf-4645-9aad-be651afc94be.dmp --crash-reporter-id 91aa363c-1ddf-4f49-9f0e-6fb38ef79fdc|
|Screen Reader|no|
|VM|0%|
Extensions (15)

Extension
Author (truncated)
Version

Bookmarks
ale
13.2.4

xml
Dot
2.5.1

dotnet-test-explorer
for
0.7.7

visual-nuget
ful
0.2.1

vscode-auto-open-markdown-preview
hnw
0.0.4

git-graph
mhu
1.30.0

vscode-docker
ms-
1.21.0

csharp
ms-
1.24.1

powershell
ms-
2021.12.0

test-adapter-converter
ms-
0.1.5

vscode-autohide
sir
1.0.7

cron-explained
tum
1.3.1

vscodeintellicode
Vis
1.2.17

jinja
who
0.0.8

markdown-all-in-one
yzh
3.4.0

@araqieldev, are you able to reproduce the problem if you start code with the --disable-extensions?

Same problem.
I think it's the interface between git and vscode that's the problem.

@araqieldev, are you able to reproduce the same problem using VS Code Insiders?

Same problem.
I'm trying to disable, uninstall other extensions but the bug remains.
I'm trying to uninstall and reinstall (with reboot) Git but the bug remains.
I don't know why I have this problem, whereas I didn't have it before.

Symbolicated trace
Symbolicating...
Operating system: Windows NT
                  10.0.19041 804
CPU: amd64
     family 6 model 142 stepping 12
     8 CPUs

GPU: UNKNOWN

Crash reason:  Out of Memory
Crash address: 0x7fff594cd759
Process uptime: 24 seconds

Thread 0 (crashed)
 0  KERNELBASE.dll!RaiseException + 0x69
    rax = 0xaaaaaaaa40eb1e00   rdx = 0xaaaaaaaaaaaaaaaa
    rcx = 0xaaaaaaaaaaaaaaaa   rbx = 0xaaaaaaaaaaaaaaaa
    rsi = 0x0000000000000718   rdi = 0x0000008d7b1f1640
    rbp = 0x0000000000000004   rsp = 0x0000008d7b1f1450
     r8 = 0xaaaaaaaaaaaaaaaa    r9 = 0xaaaaaaaaaaaaaaaa
    r10 = 0xaaaaaaaaaaaaaaaa   r11 = 0xaaaaaaaaaaaaaaaa
    r12 = 0x0000000000000000   r13 = 0x0000000000000000
    r14 = 0x0000000000000718   r15 = 0x00007ff70f1c8f78
    rip = 0x00007fff594cd759
    Found by: given as instruction pointer in context
 1  Code.exe!base::internal::OnNoMemoryInternal [memory.cc : 41 + 0x16]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1530   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70c348a69
    Found by: call frame info
 2  Code.exe!base::TerminateBecauseOutOfMemory(unsigned __int64) [memory.cc : 68 + 0x5]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1560   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70c348a89
    Found by: call frame info
 3  Code.exe!`anonymous namespace'::OnNoMemory [oom.h : 23 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1590   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b2f19c5
    Found by: call frame info
 4  Code.exe!WTF::PartitionsOutOfMemoryUsing64M [partitions.cc : 246 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f15c0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70c536f91
    Found by: call frame info
 5  Code.exe!WTF::Partitions::HandleOutOfMemory [partitions.cc : 354 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1600   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70c536d39
    Found by: call frame info
 6  Code.exe!base::PartitionRoot<0>::OutOfMemory [partition_root.cc : 456 + 0x5]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f16b0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b2f1999
    Found by: call frame info
 7  Code.exe!base::internal::PartitionBucket<1>::SlowPathAlloc(base::PartitionRoot<1> *,int,unsigned __int64,bool *) [partition_bucket.cc : 716 + 0xb]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f16e0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70a8ae52a
    Found by: call frame info
 8  Code.exe!base::internal::PartitionMalloc [allocator_shim_default_dispatch_to_partition_alloc.cc : 244 + 0x1c4]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f18a0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70ae57312
    Found by: call frame info
 9  Code.exe!malloc [allocator_shim_override_ucrt_symbols_win.h : 67 + 0x12]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1930   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70ae56e4c
    Found by: call frame info
10  Code.exe!blink::ShapeResultView::Create(blink::ShapeResultView::Segment const *,unsigned __int64) [shape_result_view.cc : 265 + 0xc]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1970   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709d66eba
    Found by: call frame info
11  Code.exe!blink::ShapingLineBreaker::ShapeLine(unsigned int,blink::LayoutUnit,unsigned int,blink::ShapingLineBreaker::Result *) [shaping_line_breaker.cc : 510 + 0x1b]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f19d0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b28f7a8
    Found by: call frame info
12  Code.exe!blink::NGLineBreaker::HandleText [ng_line_breaker.cc : 746 + 0x211]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1b40   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b250f8d
    Found by: call frame info
13  Code.exe!blink::NGLineBreaker::NextLine(blink::NGLineInfo *) [ng_line_breaker.cc : 499 + 0x88]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1ca0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b24fa0b
    Found by: call frame info
14  Code.exe!blink::NGInlineLayoutAlgorithm::Layout() [ng_inline_layout_algorithm.cc : 1024 + 0x10]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f1d70   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b24a436
    Found by: call frame info
15  Code.exe!blink::NGInlineNode::Layout(blink::NGConstraintSpace const &,blink::NGBreakToken const *,blink::NGInlineChildLayoutContext *) [ng_inline_node.cc : 1421 + 0xb]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f3680   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b14dc74
    Found by: call frame info
16  Code.exe!blink::NGBlockLayoutAlgorithm::HandleInflow [ng_block_layout_algorithm.cc : 1607 + 0x27]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f38d0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b274666
    Found by: call frame info
17  Code.exe!blink::NGBlockLayoutAlgorithm::Layout [ng_block_layout_algorithm.cc : 654 + 0x42]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f3b20   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b2711c3
    Found by: call frame info
18  Code.exe!blink::NGBlockLayoutAlgorithm::LayoutWithItemsBuilder [ng_block_layout_algorithm.cc : 436 + 0x11]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f3dd0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b272f28
    Found by: call frame info
19  Code.exe!blink::NGBlockLayoutAlgorithm::LayoutWithInlineChildLayoutContext [ng_block_layout_algorithm.cc : 425 + 0x11]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f6290   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b270cf5
    Found by: call frame info
20  Code.exe!blink::NGBlockLayoutAlgorithm::Layout() [ng_block_layout_algorithm.cc : 403 + 0x15]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f6df0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b270c17
    Found by: call frame info
21  Code.exe!blink::`anonymous namespace'::CreateAlgorithmAndRun<blink::NGBlockLayoutAlgorithm,`lambda at ../../third_party/blink/renderer/core/layout/ng/ng_block_node.cc:203:28'> [ng_block_node.cc : 113 + 0xf]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f6e70   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b1dc4d1
    Found by: call frame info
22  Code.exe!blink::NGBlockNode::Layout(blink::NGConstraintSpace const &,blink::NGBlockBreakToken const *,blink::NGEarlyBreak const *) [ng_block_node.cc : 505 + 0x2b]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f71b0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b1da583
    Found by: call frame info
23  Code.exe!blink::NGBlockLayoutAlgorithm::HandleInflow [ng_block_layout_algorithm.cc : 1607 + 0x43]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f7630   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b273eea
    Found by: call frame info
24  Code.exe!blink::NGBlockLayoutAlgorithm::Layout [ng_block_layout_algorithm.cc : 654 + 0x42]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f7880   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b2711c3
    Found by: call frame info
25  Code.exe!blink::NGBlockLayoutAlgorithm::Layout() [ng_block_layout_algorithm.cc : 405 + 0x13]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f7b30   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b270bcd
    Found by: call frame info
26  Code.exe!blink::`anonymous namespace'::CreateAlgorithmAndRun<blink::NGBlockLayoutAlgorithm,`lambda at ../../third_party/blink/renderer/core/layout/ng/ng_block_node.cc:203:28'> [ng_block_node.cc : 113 + 0xf]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f7bb0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b1dc4d1
    Found by: call frame info
27  Code.exe!blink::NGBlockNode::Layout(blink::NGConstraintSpace const &,blink::NGBlockBreakToken const *,blink::NGEarlyBreak const *) [ng_block_node.cc : 505 + 0x2b]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f7ef0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b1da583
    Found by: call frame info
28  Code.exe!blink::NGOutOfFlowLayoutPart::GenerateFragment [ng_out_of_flow_layout_part.cc : 1219 + 0x1c]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f8370   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70a25e6fd
    Found by: call frame info
29  Code.exe!blink::NGOutOfFlowLayoutPart::CalculateOffset [ng_out_of_flow_layout_part.cc : 1054 + 0x4f]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f8430   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b281f25
    Found by: call frame info
30  Code.exe!blink::NGOutOfFlowLayoutPart::LayoutCandidates [ng_out_of_flow_layout_part.cc : 523 + 0x22]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f85f0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b27f297
    Found by: call frame info
31  Code.exe!blink::NGOutOfFlowLayoutPart::Run(blink::LayoutBox const *) [ng_out_of_flow_layout_part.cc : 188 + 0xb]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f88b0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70b27e73a
    Found by: call frame info
32  Code.exe!blink::LayoutNGMixin<blink::LayoutBlockFlow>::UpdateOutOfFlowBlockLayout() [layout_ng_mixin.cc : 312 + 0x2f]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f8b10   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff707dc7418
    Found by: call frame info
33  Code.exe!blink::LayoutNGBlockFlowMixin<blink::LayoutBlockFlow>::UpdateNGBlockLayout() [layout_ng_block_flow_mixin.cc : 259 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f8f90   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff707dc54a4
    Found by: call frame info
34  Code.exe!blink::LayoutBlock::UpdateLayout() [layout_block.cc : 423 + 0xe]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f8ff0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709c8bbb1
    Found by: call frame info
35  Code.exe!blink::LayoutBlock::LayoutPositionedObject(blink::LayoutBox *,bool,blink::LayoutBlock::PositionedLayoutBehavior) [layout_block.cc : 959 + 0x12]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9040   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709c8cfc1
    Found by: call frame info
36  Code.exe!blink::LayoutBlock::LayoutPositionedObjects(bool,blink::LayoutBlock::PositionedLayoutBehavior) [layout_block.cc : 873 + 0xe]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f90f0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709c8cdb1
    Found by: call frame info
37  Code.exe!blink::LayoutBlockFlow::UpdateBlockLayout(bool) [layout_block_flow.cc : 521 + 0x12]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9150   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709c73ca4
    Found by: call frame info
38  Code.exe!blink::LayoutView::UpdateBlockLayout(bool) [layout_view.cc : 321 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9260   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709712f27
    Found by: call frame info
39  Code.exe!blink::LayoutBlock::UpdateLayout() [layout_block.cc : 423 + 0xe]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f92d0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff709c8bbb1
    Found by: call frame info
40  Code.exe!blink::LayoutView::UpdateLayout() [layout_view.cc : 362 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9320   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff7097132de
    Found by: call frame info
41  Code.exe!blink::LocalFrameView::PerformLayout [local_frame_view.cc : 876 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f93b0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff7096fcd5f
    Found by: call frame info
42  Code.exe!blink::LocalFrameView::UpdateLayout() [local_frame_view.cc : 954 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f94e0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff7096fbf57
    Found by: call frame info
43  Code.exe!blink::Document::UpdateStyleAndLayout(blink::DocumentUpdateReason) [document.cc : 2703 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9630   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70afd1704
    Found by: call frame info
44  Code.exe!blink::Range::getClientRects() [range.cc : 1613 + 0xa]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9760   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70cdea486
    Found by: call frame info
45  Code.exe!blink::`anonymous namespace'::v8_range::GetClientRectsOperationCallback [v8_range.cc : 455 + 0x8]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f97b0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70d2e4b2d
    Found by: call frame info
46  Code.exe!v8::internal::Builtin_HandleApiCall(int,unsigned __int64 *,v8::internal::Isolate *) [builtins-api.cc : 131 + 0x305]
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f9800   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00007ff70a98c332
    Found by: call frame info
47  0x3f6a000f33fc
    rbx = 0xaaaaaaaaaaaaaaaa   rbp = 0x0000000000000004
    rsp = 0x0000008d7b1f99b0   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x0000000000000718
    r15 = 0x00007ff70f1c8f78   rip = 0x00003f6a000f33fc
    Found by: call frame info

Looks like we are hitting https://bugs.chromium.org/p/chromium/issues/detail?id=1201444
It is very likely the contents of the folder cannot be shaped with the default font-family used by the source control and leads to OOM when calculating shape info similar to https://bugs.chromium.org/p/chromium/issues/detail?id=1201444#c3, I think this is also confirmed by the screenshot you have posted.
It would be great if you can share a minimal example with the folder contents that caused the crash to help debug this issue further.

Do you want .git folder or the repository folder ?

It doesn't need to be this current project code, please try to make an example folder that can trigger the crash.

I created a new folder with a new dotnet project.
When I executed git init command and I'm going to SCM view, VS Code crash.

If I click on Waiting, the message happen again.
After, the first message with OOM appear.

Can you provide the minimal example project that would allow us to repro the crash, it is difficult to further debug the issue without a repro.

Create a new directory.
Open VS Code to the new folder.

Git init this folder.

Open SCM view.

And for me, I crash each time I want to open SCM view with a Git repository.

As mentioned in https://github.com/microsoft/vscode/issues/145849#issuecomment-1084176891 the issue is caused by the SCM view trying to render a non-default locale content from your .git folder that is specific to your setup. It is hard to say, what exactly is the trigger without a repro.
@lszomoru do we already have some debug logs in the SCM view codepath that would allow us to know what contents are trying to be rendered, if not can we add some ? It would help us to narrow the file content that triggers it.

I found what is the problem.
I fact, is the commit message template. I misconfigured the latter pointing to software rather than text.
Since I fix it, the problem disappear.


Scrollbar fixes

Fixes:

Disallow clicking through the scrollbar (In the osu! project you could click through the scrollbar in the song selection)
Clicking on the scrollbar while it scrolls causes it to stop scrolling

💯


[21pt] 1st-order catchment max stages

Since most of our catchments are 1st-order and most 1st order catchments might not require the 25 meter maximum stage that we use as a global max, we should take a look at how we might lower the max stage for these catchments to see what kind of efficiencies we can gain for both processing and storage.
This task has 2 parts:

[ ] Configure fim_pipeline to run SRC using two different max stages.
delinate_hydros....sh uses the TauDEM tool catchhydrogeo to compute SRCs and accepts a catchment list and a stages list. We'll probably have to run this tool twice: once for 1st order catchments with the lower max and again for catchments 2 and up. Modifications to make_catchment_and_stage_lists.py to output another set of catchment/stage files will have to be done to accomplish this.
[ ] Figure out what the max stage should be for 1st order catchments.
I'm thinking that using the NWM retrospective dataset will probably be the best for this. Another option is to use the HydroVIS cached FIM databases to see the stages used in operational FIM, but I think the retrospective is more comprehensive. For each 1st order NWM reach, find the max discharge of the entire retrospective dataset and use the current SRCs to figure out what the corresponding stage should be. Taking maximum stage for all reaches should give us a good idea of what max stage to choose -- probably 20 to 50% higher than the maximum retrospective stage should cover what we need.

Zahra, I've been thinking about this a little lately, and I think it may be better to start with Greg's log-fit 100-yr flows instead of trying to look through the entire NWM retrospective dataset.

Sure, I am still working on the first part and testing how it works. I will probably start working on the second part tomorrow. Could you please point me to where the file is?
I also have an idea for finding the max stages. Since the NWM data does not perform well for small streams, the NWM 100-year stage value could be far from the actual max stage value. My idea is to use NWM 100-year stage values along with network attributes  (e.g., stream order, slope, channel sinuosity) as inputs to the ML model and use USGS max stage values as target variables. I believe there are ~7000 or more USGS sites that we can extract for training. This will be a better estimate even if model accuracy is not high compared to the NWM 100-year stage.

@GregoryPetrochenkov-NOAA could you put your 100-yr flow file into our EFS drive with the other NWM v3 files and let Zahra know what the name of the file is?

I went ahead and sent an email with the location of the 100-yr recurrence flow file on the EFS Drive.


fix issue #2435

fix issue #2435

Coverage decreased (-22.6%) to 31.396% when pulling 5f548ea49a5a477748c62915b620a1dda960a864 on steven-zou:master into 8117e9ee791834b32caf3964de31c677b0f2ef9d on vmware:master.


TypeScript handler

Is your feature request related to a problem? Please describe.
Opening for visibility.
Describe the solution you'd like
A TypeScript handler.
Additional context
Could use api-extractor

@squidfunk @samuelcolvin could you describe what objects you would like to document in API refs? Do you have examples of API refs for TypeScript libraries that I could draw inspiration from? For example, looking at sp-core-library, I see that we should document classes (+ methods and properties), interfaces (+ methods and properties), type aliases, enumerations (+ fields). Maybe also "modules" and "variables"?
Also, could let me know if API Extractor  would fit your workflow/projects? If not, I can write an extractor in Python (I actually already started), but that will take more time.
Also also, it would be great if experienced TypeScript devs could share documents about file layouts and conventions regarding TypeScript packaging and exposing public APIs :slightly_smiling_face:

For me, it's packages in a mono repo (example), then in each package all exported functions incl. their signatures, as well as interfaces, types and exported variables. So, taking one of my projects, basically the top-level export:

Also in related prior work for research: Typedoc

I don't know the internals of mkdocstrings and how handlers work, but I think the --json output flag of typedoc could be really useful for this. I don't know API extractor well, but I'd wager that typedoc might be better for this because it's already focused on documentation.
I have a TypeScript project that has existing typedoc-based documentation (hosted online here). And here attached docs.json is the JSON output from typedoc. (I ran yarn typedoc --json docs.json from the root of the project). typedoc's JSON output is described here with its own output on typedoc's source here.
Maybe this is helpful here?

That is super helpful, thanks a lot! I came across Typedoc 3 weeks ago, when someone pointed me to it in this tsdocs issue, but didn't get time to try it yet. It looks exactly like the kind of tool a mkdocstrings handler could use :slightly_smiling_face:

@kylebarron Here's my experience:

If there's a tool that reads this language's sources and outputs JSON (or any other serialized format really), then it's easy (there's typedoc for TypeScript, I'm working on its integration in a handler in https://github.com/mkdocstrings/griffe-typedoc (public/empty interface for the insiders repo :wink:)
If there's no such tool, then it is still possible to use treesitter to write an AST visitor that builds the required API data from sources. It just needs a bit of fiddling to transpose the serialized data into Python objects, for use in Jinja templates. Before I learned about typedoc (thanks again!), I started working on that too, in https://github.com/mkdocstrings/griffe-typescript (again, public facing repo). How easy it is then depends on one's knowledge of the language in question. Since I don't know TypeScript, this would have been hard (I would have made wrong choices in data structures for example) or long to get a prototype (needing help from others who know the language better).

If you're willing to help, I can give you collaboration access to the relevant repositories, and we'll chat there in issues, and in return I can give you free access to Insiders. Let me know what you think (feel free to drop me a message on Gitter/Matrix or at<EMAIL_ADDRESS>:slightly_smiling_face:

@samuelcolvin on what repository of yours could I test the handler?

It was FastUI, but I haven't got around to writing them yet. Sorry.

No worries, just wanted to make sure. Docstrings are not the most difficult part anyway. I'll start testing on FastUI :slightly_smiling_face:

@samuelcolvin I've published a first prototype. Insiders have gained access to it.
If you want to test it on FastUI:
# Enter your local clone.
cd FastUI

# Prepare a Python virtualenv.
python -m venv .venv
python -m pip install mkdocs mkdocs-material mkdocstrings

# If using PyPI Insiders (https://pawamoy.github.io/pypi-insiders/):
pypi-insiders server start
pypi-insiders repos add pawamoy-insiders/griffe-typedoc:griffe-typedoc
pypi-insiders repos add pawamoy-insiders/mkdocstrings-typescript:mkdocstrings-typescript
pypi-insiders repos update
python -m pip install mkdocstrings-typescript

# Else:
python -m pip install<EMAIL_ADDRESS>python -m pip install<EMAIL_ADDRESS>--no-deps

Then apply these changes: https://github.com/pydantic/FastUI/compare/main...pawamoy:FastUI:typedoc.
And run mkdocs serve.

@squidfunk you can follow a similar approach for your mono repo, my changes are here: https://github.com/squidfunk/mono/compare/spike/typedoc...pawamoy:mono:spike/typedoc.

Keep in mind this is a very early prototype, the rendered docs are super raw :sweat_smile:

Closing since we now have a first version of the handler. Open new issues in https://github.com/mkdocstrings/typescript.


oc profile 99-amd rule not being created/oc profile question not asked

I updated from 0.5.1 to 0.5.2 compiled directly from the git. In overclocking it doesnt have the warning to enable overclocking and the 99 file isnt created in the /etc/modprobe.d folder
Should mention im using Kde plasma 5.27

Was the warning present in the previous version (0.5.1)?

Looking at the snapshot, it seems like you already have overdrive enabled, likely with a boot option.

Maybe add some code to check if the file exists in /etc/modprobe.d

Hmm. Well it doesn't do anything. I wont be able to do any more testing until tonight but I tried setting the fan speed and it didn't do anything other than what was automatically set

You should have settings that configure the fan behaviour in the automatic fan control mode (target temperature, minimum speed etc). The custom curve/static speed modes are not currently supported on RDNA3.

Yeah I set it in there. The fan speed stayed at 0

ok, confirmed it does go to max but after the gpu gets hot enough

Please check if the issues are resolved when using the latest version

I will close this as the original problem of OC not being available was solved. RDNA3 fan control quirks can be tracked in #255


Maybe remove direct dependency on jaxlib?

Jax does not depend on jaxlib.
It is not entirely clear to me why.
I guess that it's because you want to be able to switch jaxlib version with/without CUDA support,
but our direct dependency should not hinder that, or does it?

I guess this is because they want people to make a conscious choice which jaxlib they choose? I don't see why we can't depend on jaxlib, but if you prefer to be consistent we could also do a runtime check instead (we need the minimum version for the has_side_effects argument to CustomCall).


[BUG] Dark font colors are creating issues

What would you like to share?
[BUG] Dark font colors are creating issues
Assign me this!!

Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

hey @kabir0x23 can you assign this issue to me i can work on it


Project status

Hi Chris,
the project idea seems great and I'm very interested on a solution like this.
What is the state of the project? Any intention to continue? Any other stable projects out there that works as a cache?
Thanks

Hi @acanimal,
Unfortunately this project is dead and I can't imagine picking it back up in the future. I'm happy to transfer ownership if somebody else wants to pick it up. From memory, the README documents a bunch of stuff I never actually got around the implementing, so it could be a little misleading with regards to actual progress.
Cheers,
Chris

If you are going to delete the project I am willing taking it over from you. At the moment I don't have a use case for it, but in the past I used it to cache a magento webshop. I actually used magento itself to write the cache.
I don't have time at the moment to actively develop on the project, but I can review and merge pr's

As @lschans says if you decide to delete the project better to transfer someone (I also offer me).
I'm working on Clyde project (https://github.com/acanimal/clyde) plus a set of so called Clyde plugins (for the moment a proof of concept) and currently I want to create a cache filter. I found node-cache interesting, which is a simple memory cache, and also the apicache project (for the moment only works on express and I'm using connect).
Thanks.


Clarify the desired behaviour of most_recent() for multi-user Projects

If there are multiple people working on a project, what should the most_recent()methods of Project and of RecordStore return? The label of the most recent record overall, or the most recent from that user?
Imported from Bitbucket issue 42,  created by apdavison on 07-19-2010 at 20:36, last modified: 05-15-2013 at 11:43

Probably we wish to support both. When working on the command line using "smt", should be the current user. I suggest we add a keyword argument for filtering by user.
Trac comment by apdavison on 02-22-2013 at 14:18

Summary:
The most_recent() methods of Project and of RecordStore should return the label of the most recent record overall.
If there is interest in having a "most recent record created by a given user" this could be added.


Crash

The app simply crashes when started and pressed on start tracking button ,( publishable key is inserted correctly)

There is no meaningful log also found, up on or before the crash

Hi, @tulushev
Android

I am also seeing that my app does a soft restart on flutter


Alert curator if authors fill out the new species box

related to #261.
Alert Kimberly if the species free text is not null

@vanaukenk will keep an eye on notifications once we deploy to production (and an author will add a species in the new field). Will close then


figure.py: make plotly an optional dependency

Please confirm that this PR has done the following:

[ ] Tests Added
[ ] Documentation Added
[ ] Name of contributors Added to AUTHORS.rst
[X] Description in RELEASE_NOTES.md Added

Description of PR
With this PR, I am proposing to make plotly an optional dependency.
One of the feedbacks I got for friendly data (which uses pyam) was that there's a version mismatch with plotly with their environment, preventing them from using the Python API directly from their analysis code.
I noticed that plotly is used only in one place in figures.py, so I thought maybe this is an acceptable proposal. Since it's easier to talk in code, I wrote this PR.  If I have misunderstood the importance of that module, please feel free to close this.
Thoughts?

Thanks @suvayu, don't see an issue with making plotly an optional dependency. But I'm not sure if the current implementation works, I suggest to rather follow the approach used in the datareader module, see
https://github.com/IAMconsortium/pyam/blob/64358981fcea736ee5f5110ce6a89cd559411090/pyam/datareader.py#L50
Also, you'll have to add the new dependency type to all GitHub actions workflow install steps, see https://github.com/IAMconsortium/pyam/blob/64358981fcea736ee5f5110ce6a89cd559411090/.github/workflows/pytest.yml#L39
(and the same in the other workflow recipes).

Hi @danielhuppmann , thanks for your comments, I have pushed commits addressing them, please let me know if I missed something.

Thanks! Letting the tests do their thing...

The workflow recipe for building the docs also needs the new optional plotting dependency so that it can build the gallery.
https://github.com/IAMconsortium/pyam/blob/64358981fcea736ee5f5110ce6a89cd559411090/.github/workflows/build-docs.yml#L39
And the ReadTheDocs config will then also need that...
https://github.com/IAMconsortium/pyam/blob/main/readthedocs.yml

Done :)

Thanks, looks good! I marked the first two to-do items in the PR description as not applicable - do you want to add your name to the list of contributors?

Thanks, I feel this is too trivial a change for a mention in the Authors list :-p


https://www.tensorflow.org/ extremly sucks: cockie madness

https://www.tensorflow.org/* totally sucks because of its cookie popup dialog, which jumps into one's face each time one goes to a different page on this site, NO matter whether one has already clicked clicked OK or something else. No way to do any research on such annoying site ...

www.tensorflow.org should not be causing any popups. Perhaps there are some settings/plugins in your browser/environment that are making this happen.

On 3 different, independent workstations, on Solaris as well as under Linux?
Sorry for not using Windows ...

BTW: Added rules to block all *.js from tensorflow.org and google related sites, which fixes the problem. I'll give our students the advice to do the same.
So far to your "professional" analysis. Good job @asimshankar ...

The issue is real.
The cookie popup is for Europe users. The popup says:
"We serve cookies on this site to analyse traffic, remember your preferences, and optimise your experience."

Thanks for adding the detail @fidlej
Out of curiosity, have you explicitly disabled cookies in your browser? (Wondering if this is happening by default or if conflicting with some user settings)
CC @wolffg : Who might have some insight.

I do not have cookies disabled.
The popup keep appearing even if using a clean incognito chrome window.

@dr4b @wolffg @jugglerix PTAL

We've turned the permission off for now; you should be OK.

Thanks. The popup is not appearing anymore.


Targets Classes for plan_motion and plan_cartesian_motion

Creating Targets Classed for the lowest level planning API to consume.
Some follow up PR will modify the plan_motion and plan_cartesian_motion API to take this new class type. The goal of this is to have a slightly higher level of abstract (Frames / Config) instead of the current practice of converting the targets to list of Constraints for the planning call.
This will allow the PyBullet planner, which does not support Constraints to understand the Frame and Config targets.
What type of change is this?

[ ] Bug fix in a backwards-compatible manner.
[x] New feature in a backwards-compatible manner.
[ ] Breaking change: bug fix or new feature that involve incompatible API changes.
[ ] Other (e.g. doc update, configuration, etc)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I added a line to the CHANGELOG.md file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
[ ] I ran all tests on my computer and it's all green (i.e. invoke test).
[ ] I ran lint on my computer and there are no errors (i.e. invoke lint).
[ ] I added new functions/classes and made them available on a second-level import, e.g. compas_fab.robots.CollisionMesh.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

I made a mess. Will do the branch again.


add docstrings for the registry methods

The new docs look great, so thanks @nupurgunwant :) http://intermine.org/intermine-ws-python
.....buuuuttttt it would be nice to have some more descriptions for the registry methods - see http://intermine.org/intermine-ws-python/intermine.html#module-intermine.registry - they don't have in-code descriptions of what they do in a format that sphinx can read.

fixed in https://github.com/intermine/intermine-ws-python/pull/6


[ansible-operator] Status false when type/reason = Successful

Type of question

General operator-related help
Question
What did you do?
I develop an Ansible operator and let it manage its status (and I prefer that way - it will probably manage it better by itself).
However our testers recently complained about the following result:
    {
      "lastTransitionTime": "2023-07-25T07:14:46Z",
      "message": "Last reconciliation succeeded",
      "reason": "Successful",
      "status": "False",
      "type": "Successful"
    }

They would like to see "True" instead of "False" in the status field which would be more coherent with the actual results. (They use some script to check all statuses, my operator being just one amongst many, and wait for True I guess.)
What did you expect to see?
I'd rather expect something like:
    {
      "lastTransitionTime": "2023-07-25T07:14:46Z",
      "message": "Last reconciliation succeeded",
      "reason": "Successful",
      "status": "True",
      "type": "Successful"
    }

but maybe I missed something there.
What did you see instead? Under which circumstances?
We actually see status: False and don't understand why.
Environment
Operator type:

/language ansible

Kubernetes cluster type:
OpenShift
$ operator-sdk version
operator-sdk version: "v1.31.0"
$ kubectl version
Client Version: v1.28.1
Additional context

Hi @PYLochou Would you please provide the the full status for your custom resource you observed the above behavior on? From the operator-sdk code, it seems while reconcile is ongoing, the Running condition would be set to true while the Successful condition would be set to false.
I may need to see all the conditions in the status block to be able to aptly determine if we are looking at a bug.

Thank you for the explaination, Edmund. You're right, at this moment there was a reconciliation running:
"conditions": [
    {
      "lastTransitionTime": "2023-07-24T14:02:37Z",
      "message": "",
      "reason": "",
      "status": "False",
      "type": "Failure"
    },
    {
      "lastTransitionTime": "2023-07-25T07:14:46Z",
      "message": "Last reconciliation succeeded",
      "reason": "Successful",
      "status": "False",
      "type": "Successful"
    },
    {
      "lastTransitionTime": "2023-07-24T14:06:40Z",
      "message": "Running reconciliation",
      "reason": "Running",
      "status": "True",
      "type": "Running"
    }
  ]

I'll transmit your explaination to our testers, thank you!

Another closely-related issue, if I may...?
On another run (with buggy input in the CR, hence the errors), they got the following conditions:
"conditions": [
    {
      "lastTransitionTime": "2023-07-24T08:59:32Z",
      "message": "",
      "reason": "",
      "status": "False",
      "type": "Successful"
    },
    {
      "ansibleResult": {
        "changed": 0,
        "completion": "2023-07-24T13:23:28.4525",
        "failures": 1,
        "ok": 96,
        "skipped": 68
      },
      "lastTransitionTime": "2023-07-24T13:23:29Z",
      "message": "Could not find the following secrets ['ibm-cp4ba-db-ssl-secret-for-svl']. Create it or them before installing the cloudpak.",
      "reason": "Failed",
      "status": "False",
      "type": "Failure"
    },
    {
      "lastTransitionTime": "2023-07-24T13:23:34Z",
      "message": "Running reconciliation",
      "reason": "Running",
      "status": "True",
      "type": "Running"
    }
  ]

and this time, for the type Failure, they are waiting for status True (which may seem logical), is it again because the reconciliation is running?

Interesting find. So, it seems in the previous reconcile loop, the Failure condition was set to true and failure reason captured. However, on subsequent reconcile, the Failure condition is set to false and the Running condition was set to true.
I think, it is logical argument to leave the Failure  condition as previously set since it is accurate as of time of recording. However, when marking the reconcile to be complete / successful deployment, then the previous error could be reset.

Yes, I agree ("it is logical argument to leave the Failure condition as previously set since it is accurate as of time of recording") and remove it when the deployment gets successful. No False status should be set anytime on this one IMHO.

Roger that. I will table this in the next meeting and see if there is consensus to make the change. I may explore creating a PR for this in the interim.

The PR to solve this issue has been moved to the ansible-operator-plugins repository https://github.com/operator-framework/ansible-operator-plugins/pull/14


Edited docs

Edited docs for dict, imageUtils, exceptions, schema, wrappers and shorten links. Also edited overview a bit (but not done yet)

hey chap
thats great work, however, there seems to be a lot of conflicts, Could you please pull from master to resolve the conflicts first,
I will stop committing to master while you are doing that

hey chap
thats great work, however, there seems to be a lot of conflicts, Could you please pull from master to resolve the conflicts first,
I will stop committing to master while you are doing that

I just resolved some conflicts krub, GitHub says there's no conflict, so can you check whether you can merge it krub. Thanks rub


chore(deps): update dependency @types/react to v16.9.49

This PR contains the following updates:

Package
Type
Update
Change

@types/react
devDependencies
patch
16.9.48 -> 16.9.49

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

:tada: This PR is included in version 5.4.1 :tada:
The release is available on:

v5.4.1
GitHub release

Your semantic-release bot :package::rocket:


Error: Could not find or load main class edu.stanford.nlp.process.PTBTokenizer

i run makedatafiles.py. but it has an error:
Preparing to tokenize /home/ztl/Downloads/cnn_stories/cnn/stories to cnn_stories_tokenized...
Making list of files to tokenize...
Tokenizing 92579 files in /home/ztl/Downloads/cnn_stories/cnn/stories and saving in cnn_stories_tokenized...
Error: Could not find or load main class edu.stanford.nlp.process.PTBTokenizer
Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.process.PTBTokenizer
Stanford CoreNLP Tokenizer has finished.
Traceback (most recent call last):
However i can run  echo "Please tokenize this text." | java edu.stanford.nlp.process.PTBTokenizer   in the root
i dont know how to deal with? thanks a lot

i run the corenlp-3.9.2.jar

You need stanford-corenlp-3.7.0.jar. See this: https://github.com/abisee/cnn-dailymail#2-download-stanford-corenlp
Please read the README.md file.

Preparing to tokenize /home/ztl/Downloads/cnn_stories/cnn/stories to cnn_stories_tokenized...
Making list of files to tokenize...
Tokenizing 92579 files in /home/ztl/Downloads/cnn_stories/cnn/stories and saving in cnn_stories_tokenized...
Traceback (most recent call last):
File "/home/ztl/PycharmProjects/pointergenerator/make_datafiles.py", line 235, in
tokenize_stories(cnn_stories_dir, cnn_tokenized_stories_dir)
File "/home/ztl/PycharmProjects/pointergenerator/make_datafiles.py", line 78, in tokenize_stories
subprocess.call(command)
File "/home/ztl/anaconda3/envs/gpu/lib/python3.6/subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/ztl/anaconda3/envs/gpu/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/home/ztl/anaconda3/envs/gpu/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'java': 'java'
my environment has been setted

Successfully finished tokenizing /home/ztl/Downloads/cnn_stories/cnn/stories to cnn_stories_tokenized.
Making bin file for URLs listed in url_lists/all_test.txt...
Traceback (most recent call last):
File "make_datafiles.py", line 239, in
write_to_bin(all_test_urls, os.path.join(finished_files_dir, "test.bin"))
File "make_datafiles.py", line 154, in write_to_bin
url_hashes = get_url_hashes(url_list)
File "make_datafiles.py", line 106, in get_url_hashes
return [hashhex(url) for url in url_list]
File "make_datafiles.py", line 106, in
return [hashhex(url) for url in url_list]
File "make_datafiles.py", line 101, in hashhex
h.update(s)
TypeError: Unicode-objects must be encoded before hashing
i have got the tokenized, but next ....

Try this: https://github.com/JafferWilson/Process-Data-of-CNN-DailyMail
Guess it will solve your tokenization and rest other issues.

if I have content of the article that isn't the same as structure of the CNN's article

@quanghuynguyen1902 Guess you already have opened a new issue https://github.com/abisee/cnn-dailymail/issues/29
Lets go there. Please someone close this issue.

I am facing the same issue in here.

source ./.bash_profile


Make tile server configurable

Add a plugin setting to allow configuration of alternative tile servers.

Using this:
{
    "plugins": {
        "datasette-cluster-map": {
            "tile_layer": "https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.{ext}",
            "tile_layer_options": {
                "attribution": "Map tiles by Stamen Design, CC BY 3.0 — Map data © OpenStreetMap contributors",
                "subdomains": "abcd",
                "minZoom": 1,
                "maxZoom": 16,
                "ext": "jpg"
            }
        }
    }
}

This is a great feature, thank you for adding it.
Is there a way to list several tile providers and switch between them with a button? With some data, especially data related to landscapes and topographic features, it is often necessary to switch between layers repeatedly to understand points, e.g. between base map, terrain with hillshade, and satellite views. I don't know Python and never used Leaflet directly in Python, but I know the R package for Leaflet supports that (see example below), so I assume it's supported upstream and could be added relatively easily to datasette-cluster-map?
map <- leaflet() %>%
  addTiles(group = "Map", urlTemplate = mapboxmpa,
           attribution = '© Mapbox © OpenStreetMap Improve this map') %>%
  addTiles(group = "Satellite", urlTemplate = mapboxsat,
           attribution = '© Mapbox © OpenStreetMap Improve this map') %>%
  setView(8.750000, 42.566667, zoom = 5)


Event "Restart On Update"

Is your feature request related to a problem? Please describe.
There's an event to stop the On Update script of an actor, but no way to restart it again.
Describe the solution you'd like
An event that restarts the On Update for an actor. (If it could be used to restart it while it is still running would be extra neat)
Describe alternatives you've considered
There could also be an event to resume the event after it was stopped.

This would be great

"Restart On Update" at first glance seems kind of confusing compared to just the antonym of stop: "Start On Update". But I agree here.

I need this feature too!


PR Draft: Unary and inline assignment expressions

let count = 0;
count++;

let count01 = count++;
let count02 = count += 1;
let count03 = count = count + 1;

let counter01 = `Next count: ${++count}`;
let counter02 = `Next count: ${count = count + 1}`;

Transpiles to
local count = 0
count=count+1

-- unexpected symbol near '='
local count01 = count=count+1
-- unexpected symbol near '='
local count02 = count = count+1
-- unexpected symbol near '='
local count03 = count = (count+1)

-- ')' expected near '='
local counter01 = "Next count: "..tostring(count=count+1)..""
-- ')' expected near '='
local counter02 = "Next count: "..tostring((count = (count+1)))..""

This is an issue because lue doesn't support assignment in an expression.
Proposal: Wrap the assignments in an anonymous function call when the context requires it:
local count = 0
count=count+1
-- Left becomes its own statement and operand becomes the return value
local count01 = (function() count=count+1; return count end)()
local count02 = (function() count=count+1; return count end)()
local count03 = (function() count = (count+1); return count end)()

local counter01 = "Next count: "..tostring((function() count=count+1; return count end)())..""
-- Extra parenthesis around the assignment causes and error, changed:
--     (count = (count+1)); -> count = (count+1);
local counter02 = "Next count: "..tostring((function() count = (count+1); return count end)())..""

We already dealt with this for returns, but I like how this method could be used in any situation since it just replaces an expression with another expression.

@Perryvw Could you provide an example of that, please?

For return statements we simply transpile return a += b to a = a + b; return a; But I think that method will not work in every case. The solution you suggested I think will work in ever case since you replace an expression node with another expression node. We could use that to also rework the transpileReturn solution right now.
TSHelper.isBinaryAssignmentToken can be reused for this, and should probably get a similar isUnaryAssignmentToken

The way to do it is to probably construct a new AST node and transpile that, to ensure it also properly handles set and get accessors. It would work something like:
const [isAssignment, operator] = tsHelper.isBinaryAssignmentToken(operator);
if (isAssignment) {
    const expr = ts.createBinary(node.left, operator, node.right);
    const return = ts.createReturn(node.left);
    return `(function() ${expr} ${return})()`
}

Alternatively we could go even deeper and create a function node with the expression and return statement, then put that in a call node and transpile that, might be nicer.

Good points, I'll experiment with that.

TL;DR; Proved to be more difficult than I anticipated, releasing the "claim" to implement this ticket.
transpilePostfixUnaryExpression is a bit more complicated because we have to return the value before the operation:
TS
let count = 0;
count = count++;

Lua
local count = 0
count = (function() local count_before = count; count = count + 1; return count_before end)()

Not sure if this creates an issue because the value returned is actually a temp var declared in the anonymous function. It seems that an assignment cannot be chained after that, e.g. count++ += 1, which means the stored temp var is probably safe.
I looked into transpiling unaries to anonymous functions when the context requires it but didn't get results that I wanted. I got it to work but there's some duplication (multiple nested function calls) and it started to look like a hack. I don't have enough understanding of TypeScript compiler so it's probably better for someone else to implement this.
Binary expressions that contain assignments were even more difficult to get to work, e.g.
TS
let count = 0;
count = count += 1;

Lua
local count = 0
count = (function() count = count + 1; return count end)()

Gave this another go, managed to refactor unary expressions to replace it with another node:
transpilePostfixUnaryExpression
const tempVarName = "_before";
const expression = ts.createBinary(
    node.operand,
    ts.SyntaxKind.EqualsToken,
    ts.createImmediatelyInvokedArrowFunction([
        ts.createVariableStatement(
            null,
            [ts.createVariableDeclaration(tempVarName, null, node.operand)]
        ),
        ts.createStatement(
            ts.createBinary(
                node.operand,
                ts.SyntaxKind.EqualsToken,
                ts.createBinary(node.operand, operator, ts.createLiteral(1))
            )
        ),
        ts.createReturn(ts.createIdentifier(tempVarName)),
    ])
);

Which beautifully transpiles count01++; to
count01 = (function()
    local _before = count01

    count01 = (count01+1)
    return _before
end
)()

I think you were on the right path, I will have a look at it when I can. I think count++ might be the exception by the way, I think all other ones return the value after applying the operator.

The most difficult part for me is to figure out a way to only wrap the necessary part in a function call.
All the exampels below share the same pattern - assingment. Only difference is that the RHS of the expression has to be wrapped in a function call when it contains an assignment.
let count = 0;
cout++; // pure unary
count = count++; // unary in an assigment
count = count = count  +1; // chained assignmet (this can go on forever)

--count;
count = --count;

local count = 0
count = count + 1
count = (function() count = count + 1; return count end)()

count = count - 1
count = (function() count = count - 1; return count end)()

I think isBinaryAssignmentToken should also return [true, ts.SyntaxKind.EqualsToken] when it receives EqualsToken, since that is an assignment? Problem is this causes an infinite recursive loop as a node generated in transpileBinaryExpression gets detected as assignment, which creates a new one, gets detected again, etc.

Proposal

Oops missclick.

Proposal
Replace assigning Binary expressions (+=, -=, *=, ... etc) and assigning Unary postfix/prefix expressions (++, --) to immediately-invoked functions. This gives a neat way to transpile previously impossible statements, since you replace an expression node in the AST with another expression node, guarateeing the integrity of the translation.
Let's look at some examples:
Current Situation
let nextItem = array[++i]; Translates to local nextItem = array[i = i + 1] which is a syntax error in Lua.
A binary example could be a => result += a which translates to function(a) return result = result + a end which again is a syntax error.
Proposed situation
Really ++i is simply shorthand for i = i + 1; return i. This means we could change our translation to become local nextItem = array[(function() i = i + 1; return i end)()], which is valid Lua.
The binary example would translate to function(a) return (function() result = result + a; return result end)() end.
Alternative
We could just not allow assignment operator expressions anywhere other than statements or simple lambda functions and throw an exception otherwise.
Advantages
We can transpile a larger part of the TS spec without throwing random unexpected errors.
Downsides
Increases the complexity of generated lua quite a bit, would need to specially deal with statements using this since transpiling a statement to (function() end)() will be interpreted by Lua as calling the previous statement value with a function parameter.

Unary solution A (@Perryvw's comment, the original issue description, #162)
Transpiling assignments into immediately executed functions also causes a change in order of operation if the LHS of the expression's precedence is less than function call. This is demonstrated and implemented in #164, but not really a high priority as it only seems to matter in i + i++, root cause of it being the return value of i++ being the value before incrementation.
#164 also implements a check where ++/-- unary expression is only wrapped in a function call when the outer node doesn't support assignment statements. This includes expressions like i = j++, 'Count: ' + ++i, etc. Basically anything where the unary expression is part of an expression and not just alone, i.e. i++.
Unary solution B
I wonder if ++/-- unary expressions could be transpiled to a chained expression, e.g.

i++ -> i = i + 1
i = ++j => i = j = j + 1
i + i++ => unary transpiler handles this on its own (doesn't pass it on as a chained assignment)

This way unaries are transpiled into a series of assignments. Then BinaryExpression transpilation would have to take care of wrapping the necessary parts in function calls (i.e. handle chained assignments).
This doesn't solve i++, of course. That's why it has to be transpiled separately based on context.
The benefit of transpiling prefix unaries into chained assignmentes is that you'd effectively solve 50% of unary expressions that require special treatment & have to implement support for chained expressions.
i++ would need its own  solution that checks if the outer scope supports assignments, just like unary solution A.
Conclusion
I think B is a better approach because it links closely related expressions together and reduces code duplication:

A) Unary checks if context requires function wrapper AND eventually binaryExpression doing it as well when it supports chained assignments, no support for chained assignments for now 😢
B) Unary ONLY checks if context requires function wrapper when  it's a i++ unary. binaryExpression handles all chained assignments. Unaries supported & chained assignments supported 👍

I would prefer a chained expression but those are not supported by Lua.

Addressed by merging #166


Conform a bit more to Remix and NextJS conventions

First of all, I want to thank you for this plugin. It's a great addition! I've been using it for a while, and I'm 99% satisfied 😀 For that other 1%, I have a couple of proposed changes I can help implement, given the green light.
I wanted to create a discussion topic, but it's not enabled in this repo, so I'm creating an issue to kick off the conversation.
Make Loader and Action lowercase
This conforms to Remix. It makes sense because none of the functions are related to React, so following the React identifier convention doesn't add much. Furthermore, React Router already expects a lowercase version, so my take is that this should be a no-brainer, unless there are good reasons to stick with it?
This is the most straightforward change. Because symbols in TypeScript are case-sensitive, I think it'd be a good idea to deprecate the pascal case versions and remove them in the next major version release.
Add _loading and _error preserved paths
This one is a bit more controversial. Generouted exposes Pending and Catch and that's great because it's at a route level. However, how can we share the same behavior across route groups?
I'm also of the opinion that these route states could be separated from the route handler, from a separation of concerns perspective. That also conforms more to NextJS's loading and error states.
But I must admit that I like them at a route level too, from a colocation perspective, per route. Now, I'm a bit on the fence about retiring Pending and Catch. I would recommend renaming the expected component names to Loading and Error, though.

Hey @zaguiini, thanks for the suggestions you brought to discussion!

Make Loader and Action lowercase

We initially had all exported functions capitalized, but it was breaking the HMR with Vite and caused a bad DX — so we had to go with the capitalization as a workaround. That was couple of years back https://github.com/oedotme/generouted/issues/5#issuecomment-1200149687 — I haven't looked into it recently, but I'd be happy to switch back to the lowercase version whenever we longer face development issues.

Add _loading and _error preserved paths

The group layout already supports route-based Pending and Catch components besides the Loader and Action, they wrap all children routes and that works automatically now.
Personally, I prefer route level declaration for the loading and error components, as we also have the loader and action. Would feel scattered IMO to split those into different files. More importantly it will complicate the process for detecting the routes in general, and specifically lazy-loading the routes.
Lastly, I encountered Pending at the TanStack Router (React Location formally) API, and TBH I still prefer it as it's distinct from Loader — as they are not always related (depending on the router). Also, if I recall correctly, Error was used initially before Catch, but it caused conflicts with the built-in Error type and you'd have issues if you use both at the same file. And of course it was easier to write and choose over ErrorBoundary for example ;)
Hope I covered all, please let me know what you think.


Use BundleDeployment status to calculate GitRepo resources

Summary
Contributes to #12424

Occurred changes and/or fixed issues
GitRepo details include a tab for Resources, which iterates over the list of status.resources in the GitRepo object. However, this is inaccurate, since the source of truth for resources are BundleDeployments, as they may vary depending on the target cluster customization.
Technical notes summary

The code used find to pick just the first bundle deployment matching the cluster label, which is totally wrong. Now we iterate directly on bundle deployments instead, then pick the target cluster as necessary.
The biggest part of the Bundles payload is the spec.resources, as it basically contains all the raw chart contents. I've modified the getter to make steve omit that field.

In order to allow this, I also had to refactor the Bundle view to not use the spec for listing resources (and use the status instead).

Areas or cases that should be tested

Continuous Delivery: GitRepos
Continuous Delivery: Advanced > Bundles

Areas which could experience regressions
This PR actually aims to provide the same output while changing how the information is computed.
Screenshot/Video
Checklist

[ ] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[ ] The PR has a Milestone
[ ] The PR template has been filled out
[X] The PR has been self reviewed
[X] The PR has a reviewer assigned
[ ] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[ ] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Also: linter failing.

Latest change looks good, see https://github.com/rancher/dashboard/pull/12630#pullrequestreview-2451055593 for details


Enabling and re-recording the basic VM sample as CI test

Can one of the admins verify this patch?


Manual changelog descriptions

Description of change
Enable release descriptions through Markdown files.
The files live in .github/releases and must be named with the tag the same as the tag it is describing.
Type of change
Add an x to the boxes that are relevant to your changes.

[ ] Bug fix (a non-breaking change which fixes an issue)
[X] Enhancement (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Fix

How the change has been tested
Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Change checklist
Add an x to the boxes that are relevant to your changes.

[X] I have followed the contribution guidelines for this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Looks great! I really appreciate being able to write changelog descriptions easily.
The escape characters being processed by sed is a minor concern but shouldn't break anything, hopefully? The script is not idempotent but that shouldn't be a problem since the changelogs are regenerated each time.
Aside: is it possible to alter the changelog template at all? There are minor changes I would like such as using "###" for the "Changed", "Added", "Patch" sub-headings and surrounding PR links with square brackets. Completely irrelevant to this PR however.

changing the heading style could work through configure-sections / add-sections  (https://github.com/github-changelog-generator/github-changelog-generator/wiki/Advanced-change-log-generation-examples), but for more advanced templating we are out of luck I guess.


How do set the my foreign key of morphTo

Laravel Version: laravel 5.4
PHP Version:7.1
Database Driver & Version: 5.7

Description:
Polymorphic Relations
How do set the foreign key of morphTo
Steps To Reproduce:
Source code
/**
* Define a polymorphic, inverse one-to-one or many relationship.
*
* @param  string  $name
* @param  string  $type
* @param  string  $id
* @return \Illuminate\Database\Eloquent\Relations\MorphTo
*/

Laravel 5.4 is no longer supported. I would like to tell you to upgrade to 5.5, but it looks like you have a generic question. Try asking on the forums or in the chat instead since the github issues are for bug reports (for supported versions).


[TE] frontend - harleyjj/create-alert - make minor improvements to YA…

…ML alert creator

Toggle button displays what you would toggle too (i.e. clicking when it says YAML changes to YAML)
If you click 'cancel' on YAML, it clears the info you typed and toggles back to form
If you toggle to the form after you typed into YAML, info you typed is preserved when you toggle back

Thank you @apucher !


Allowing for user attrs to be changed w/o requiring password update.

This is a minor change that prevents errors like below, when user update requests don't have a password.
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 390, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/usr/local/lib/python3.7/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.7/site-packages/fastapi/applications.py", line 146, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.7/site-packages/starlette/applications.py", line 102, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.7/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "/usr/local/lib/python3.7/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.7/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.simple_response(scope, receive, send, request_headers=headers)
  File "/usr/local/lib/python3.7/site-packages/starlette/middleware/cors.py", line 140, in simple_response
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.7/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/usr/local/lib/python3.7/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line 550, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line 227, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line 41, in app
    response = await func(request)
  File "/usr/local/lib/python3.7/site-packages/fastapi/routing.py", line 197, in app
    dependant=dependant, values=values, is_coroutine=is_coroutine
  File "/usr/local/lib/python3.7/site-packages/fastapi/routing.py", line 150, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/usr/local/lib/python3.7/site-packages/starlette/concurrency.py", line 34, in run_in_threadpool
    return await loop.run_in_executor(None, func, *args)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "./app/api/api_v1/endpoints/users.py", line 152, in update_user
    user = crud.user.update(db, db_obj=user, obj_in=user_in)
  File "./app/crud/crud_user.py", line 34, in update
    if update_data["password"]:
KeyError: 'password'

Duplicate of https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/348

Thanks @twcurrie! This was recently updated in another PR, so I'll now close this one. But thanks for the interest! :cake:


Ask for Windows support

Hello, this is amazing ❤ . I just knew this repo from Stackoverflow. I intend to use this as the dependency rather than the one from conda-forge so it gives the flexibility to the user (who is not familiar with anaconda). But unfortunately there is still no support for Windows. Is it possible to add this? I've seen that pypa/cibuildwheel GHA supports Windows too.
Thank you.

Thanks. I understand. It would be of course good to have windows wheels too. Let me look into this.

@radifar  Can you please check if the wheels in the artifact file at https://github.com/kuelumbus/rdkit_platform_wheels/actions/runs/1200348501 work on windows. You would need to download the artifact file, unzip, and install the wheel that matches your python version with something like python -m pip install rdkit_pypi-2021.3.4-cp38-cp38-win_amd64.whl.

Awesome!
I just give it a try on Windows 10 inside QEMU VM (I'm using Kubuntu btw). My steps are basically like this:

Install Python 3.6-3.9 with Python executable installer from python.org
Create virtual environment for every version using venv module from Python standard library
Install RDKit wheel in each corresponding virtual environment.

The results show that Python 3.8 and 3.9 working just fine. But on Python 3.6 and 3.7 encounter the same problem.
Here is how it goes in Python 3.6:
(rdkit-win-36) C:\Users\radif\Documents\Python>pip install rdkit_pypi-2021.3.4-cp36-cp36m-win_amd64.whl
Processing c:\users\radif\documents\python\rdkit_pypi-2021.3.4-cp36-cp36m-win_amd64.whl
Collecting numpy>=1.19 (from rdkit-pypi==2021.3.4)
  Downloading https://files.pythonhosted.org/packages/ea/bc/da526221bc111857c7ef39c3af670bbcf5e69c247b0d22e51986f6d0c5c2/numpy-1.19.5-cp36-cp36m-win_amd64.whl (13.2MB)
    100% |████████████████████████████████| 13.2MB 1.3MB/s
Installing collected packages: numpy, rdkit-pypi
Successfully installed numpy-1.19.5 rdkit-pypi-2021.3.4
You are using pip version 18.1, however version 21.2.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(rdkit-win-36) C:\Users\radif\Documents\Python>python
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from rdkit import Chem
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit\__init__.py", line 20, in <module>
    _delvewheel_init_patch_0_0_14()
  File "C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit\__init__.py", line 17, in _delvewheel_init_patch_0_0_14
    WinDLL(os.path.join(libs_dir, lib))
  File "C:\Users\radif\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

Python 3.7
(rdkit-win-37) C:\Users\radif\Documents\Python>pip install rdkit_pypi-2021.3.4-cp37-cp37m-win_amd64.whl
Processing c:\users\radif\documents\python\rdkit_pypi-2021.3.4-cp37-cp37m-win_amd64.whl
Collecting numpy>=1.19
  Downloading numpy-1.21.2-cp37-cp37m-win_amd64.whl (14.0 MB)
     |████████████████████████████████| 14.0 MB 135 kB/s
Installing collected packages: numpy, rdkit-pypi
Successfully installed numpy-1.21.2 rdkit-pypi-2021.3.4
WARNING: You are using pip version 20.1.1; however, version 21.2.4 is available.
You should consider upgrading via the 'c:\users\radif\documents\python\rdkit-win-37\scripts\python.exe -m pip install --upgrade pip' command.

(rdkit-win-37) C:\Users\radif\Documents\Python>python
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from rdkit import Chem
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\radif\Documents\Python\rdkit-win-37\lib\site-packages\rdkit\__init__.py", line 20, in <module>
    _delvewheel_init_patch_0_0_14()
  File "C:\Users\radif\Documents\Python\rdkit-win-37\lib\site-packages\rdkit\__init__.py", line 17, in _delvewheel_init_patch_0_0_14
    WinDLL(os.path.join(libs_dir, lib))
  File "C:\Users\radif\AppData\Local\Programs\Python\Python37\lib\ctypes\__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

Python 3.8
(rdkit-win-38) C:\Users\radif\Documents\Python>pip install rdkit_pypi-2021.3.4-cp38-cp38-win_amd64.whl
Processing c:\users\radif\documents\python\rdkit_pypi-2021.3.4-cp38-cp38-win_amd64.whl
Collecting numpy>=1.19
  Downloading numpy-1.21.2-cp38-cp38-win_amd64.whl (14.0 MB)
     |████████████████████████████████| 14.0 MB 213 kB/s
Installing collected packages: numpy, rdkit-pypi
Successfully installed numpy-1.21.2 rdkit-pypi-2021.3.4
WARNING: You are using pip version 21.1.1; however, version 21.2.4 is available.
You should consider upgrading via the 'c:\users\radif\documents\python\rdkit-win-38\scripts\python.exe -m pip install --upgrade pip' command.

(rdkit-win-38) C:\Users\radif\Documents\Python>python
Python 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdkit
>>> exit()

(rdkit-win-38) C:\Users\radif\Documents\Python>python
Python 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from rdkit import Chem
>>> m = Chem.MolFromSmiles('Cc1ccccc1')
>>> m
<rdkit.Chem.rdchem.Mol object at 0x0000021575174040>
>>> m.GetNumAtoms()
7

Python 3.9
(rdkit-win-39) C:\Users\radif\Documents\Python>pip install rdkit_pypi-2021.3.4-cp39-cp39-win_amd64.whl
Processing c:\users\radif\documents\python\rdkit_pypi-2021.3.4-cp39-cp39-win_amd64.whl
Collecting numpy>=1.19
  Downloading numpy-1.21.2-cp39-cp39-win_amd64.whl (14.0 MB)
     |████████████████████████████████| 14.0 MB 128 kB/s
Installing collected packages: numpy, rdkit-pypi
Successfully installed numpy-1.21.2 rdkit-pypi-2021.3.4
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the 'C:\Users\radif\Documents\Python\rdkit-win-39\Scripts\python.exe -m pip install --upgrade pip' command.

(rdkit-win-39) C:\Users\radif\Documents\Python>python
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from rdkit import Chem
>>> m = Chem.MolFromSmiles('Cc1ccccc1')
>>> m
<rdkit.Chem.rdchem.Mol object at 0x000001D7906C6940>
>>> m.GetNumAtoms()
7

Upon searching this OSError: [WinError 126] The specified module could not be found error message, I find that it is a common problem in Windows, with variety of possible workaround.

After further investigation I found something interesting. When I look at \lib\site-packages\rdkit\__init__.py I can see that when RDKit runs on Python >= 3.8 it uses different library finding mechanism
\lib\site-packages\rdkit\__init__.py
def _delvewheel_init_patch_0_0_14():
    import os
    import sys
    libs_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'rdkit_pypi.libs'))
    if sys.version_info[:2] >= (3, 8):
        if os.path.exists(os.path.join(sys.base_prefix, 'conda-meta')):
            os.environ['CONDA_DLL_SEARCH_MODIFICATION_ENABLE']='1'
        os.add_dll_directory(libs_dir)
    else:
        from ctypes import WinDLL
        with open(os.path.join(libs_dir, '.load-order-rdkit_pypi-2021.3.4')) as file:
            load_order = file.read().split()
        for lib in load_order:
            WinDLL(os.path.join(libs_dir, lib))
...

Then I'm curious what gonna happen if I change the Python version (3, 8) to (3, 6). And when I import RDKit again it shows this
(rdkit-win-36) C:\Users\radif\Documents\Python>python
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from rdkit import Chem
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit\__init__.py", line 20, in <module>
    _delvewheel_init_patch_0_0_14()
  File "C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit\__init__.py", line 11, in _delvewheel_init_patch_0_0_14
    os.add_dll_directory(libs_dir)
AttributeError: module 'os' has no attribute 'add_dll_directory'

Now I understand why Python 3.6 and 3.7 uses ctype.WinDLL instead. Time for some digging into RDKit GitHub repository to find some answer.

After lots of trial and error still can't figure out why it doesn't work on Python 3.6 and 3.7. But my current suspicion is that the --no-dll option in here is the culprit:
delvewheel show -v --no-dll vcruntime140d.dll --add-path C:\libs C:\Users\RUNNER~1\AppData\Local\Temp\cibuildwheeldgkqo1a9\built_wheel\rdkit_pypi-2021.3.5-cp36-cp36m-win_amd64.whl && delvewheel repair -v --no-dll vcruntime140d.dll --add-path C:\libs -w C:\Users\RUNNER~1\AppData\Local\Temp\cibuildwheeldgkqo1a9\repaired_wheel C:\Users\RUNNER~1\AppData\Local\Temp\cibuildwheeldgkqo1a9\built_wheel\rdkit_pypi-2021.3.5-cp36-cp36m-win_amd64.whl

Thanks for your investigation. Can you please check your {python_instal_dir}/Libs/site-packages/rdkit_pypi.libs/ directory. This directory should contain the dlls that show "module can not be found". Maybe you can modify
 print(f"{lib} module can not be found")

to
 print(f"os.path.join(libs_dir, lib) module can not be found")

and paste the output. I wonder why the DLLs are not there, or why they cannot be found. I checked quickly on my system all versions (3.6, 3.7, 3.8, and 3.9) work.

On note on the DLLs with "d" like vcruntime140d.dll and bz2d.dll. I don't understand why they are linked at all because they seem to be necessary for debugging only.

After changing that line to this
print(f"{os.path.join(libs_dir, lib)} module can not be found")
This is what I got
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdkit
ucrtbased-203d10b0.dll
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\bz2d-6ed60cba.dll module can not be found
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\zlibd1-19bef9e1.dll module can not be found
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\brotlicommon-c15db6d6.dll module can not be found
iconv-2-05e6fd4e.dll
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\brotlidec-17bf5acb.dll module can not be found
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\libpng16d-a6b57be2.dll module can not be found
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\freetyped-f0dd24a0.dll module can not be found
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\intl-8-609bf870.dll module can not be found
vcruntime140_1.dll
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\libexpatd-be050e5c.dll module can not be found
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\fontconfig-1-2d16370f.dll module can not be found
msvcp140.dll
bz2-1492afc2.dll
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\cairo-2-48df4dfc.dll module can not be found
boost_serialization-vc140-mt-x64-1_67-6ef822c2.dll
zlib1-967d8c51.dll
libpng16-22a77934.dll
C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit_pypi.libs\freetype-bb3ad0ea.dll module can not be found
boost_iostreams-vc140-mt-x64-1_67-3e4ea10a.dll
boost_python36-vc140-mt-x64-1_67-de154df2.dll

The DLLs are all there, some of them just won't load. Probably because they depend on another DLL.
I think the problem appear on my Windows and not your is because the differences in Windows system. I am using clean Windows, although that previously I also tried installing Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30133 to fix this problem, but to no avail.
PS. also tried installing directly to Python 3.6 installation instead of inside virtual environment and still doesn't work.

Yay! I finally figured it out. Turns out I haven't dig deep enough with Dependencies. There is one more file missing, aside from vcruntime140d.dll it turns out that vcruntime140d.dll require another DLL file, which is ucrtbased.dll. And after I have those files in my DLL search path I can finally import RDKit. I assume that you already have those files in your DLL search path (probably C:\Windows\System32).
IMO I think we should either include or exclude those two together.

So I tried removing the DLLs, then make sure the old rdkit-pypi in Python 3.6 and 3.7 didn't work. Then I uninstall all the rdkit-pypi in various Python version environment. Then I install the new one.
And the result is still not good. Python 3.8 and 3.9 is working fine, but 3.6 and 3.7 showing the following error:

here is the error message after I click the OK button:
(rdkit-win-36) C:\Users\radif\Documents\Python>python
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdkit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit\__init__.py", line 20, in <module>
    _delvewheel_init_patch_0_0_14()
  File "C:\Users\radif\Documents\Python\rdkit-win-36\lib\site-packages\rdkit\__init__.py", line 17, in _delvewheel_init_patch_0_0_14
    WinDLL(os.path.join(libs_dir, lib))
  File "C:\Users\radif\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] The specified procedure could not be found

Ok, I think I finally figured it out. Can  you please test if the wheels in https://github.com/kuelumbus/rdkit_platform_wheels/actions/runs/1223116204 work? I booted a Windows VM and the RDKit wheels were running fine there.

I've just uploaded the wheels to pypi: pip install rdkit-pypi should now work on Windows.

Whoa! It's working on Python 3.6-3.9 now! Thank you so much. 😃
How did you work it out? I'm planning to do the same with Openbabel, since my cibuildwheel integration request in openbabel/openbabel#2403 is not getting any respond. I probably can do this for MacOS or Linux build, but building in Windows seems much more complicated. In the past I only have few game building experience using Visual Studio. I can see that you struggle a lot with this build, I would really appreciate it if you could document your build problems and workarounds on a blog post or article perhaps?


Fix a TypeError

We cannot concatenate string and FailedPreConditionError

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