Add TabContainerModel prev/next tab getters + nav

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

I could use this in a client app and it seems general / handy enough for any app that might be leveraging tabs for a wizard-like flow.
The properties (in addition to the activate methods) allow for app-specific controls to be shown/hidden based on the presence of a prev/next tab. Could imagine this needing to be more elaborate in terms of restricting to enabled tabs or similar, but this seemed like a reasonable level of functionality to bake in.
Did not think it warranted a changelog entry. Not married to it if deemed overkill but thanks for taking a look.

Agree -- can build in more sophisticated behavior/flags around cycling and inactive tabs, if needed


Wait, is the default instrument byte string correct?!

Ok, he's not using the default byte string for encoding anymore, just for decoding


Feature Idea: support for multiple ADR locations

I was looking at adding support for multiple ADR locations for users who
need to support more than one ADR location. Would you be interested in me
opening PRs on this?
at this time I was thinking of extending the current configuration to support a slice or map of repositories. (probably a map as that provides a useful shortName lookup method)
Currently the config schema looks like this.
{
 "base_directory": "$ADRLOCATION",
 "current_id": 1
}

{
  "version": "v$n",
  "default": "Remembrancer",
  "repositories": {
    "Advocator": {
      "base_directory": "dir1"
    },
    "Deadline": {
      "base_directory": "dir1"
    },
    "Remembrancer": {
      "base_directory": "dir1"
    }
  }
}

New fields

version: This tag would be used for future schema migrations.
default: Instead of the root base_directory this value would allow the current behaviours to be replicated with an automated upgrade.
repositories: A map of all repositories.

The short reference name for each repository

base_directory the local directory containing the repository

I would replace current_id with a directory scan as this is likely to work for most use cases.
when running the new version of the binary it should migrate the configuration to the newer version.
As part of this i would add an add command to add an already existing repository to your local config.
adr add /home/user/my_other_adrs
In the future I want to look at adding per repository templates and potentially config files.

@kcollasarundell That's a good idea, and I would like to see and review your PRs but I've got some remarks :

The default behavior should stay the same, i.e. users doing adr init /folder/... should worry about multiple locations, it should just work as before
Locations should come as a nice to have feature, the basic API should stay the same

Tag me in PRs and I'll make to test & review.
Thanks

Will do

I had the same problem. My train of thoughts: Why don't we add a .adr/ to each and every project?


[Feature] Enable mouse zooming and translating on maps even when the mouse is not over the map itself

What problem does this feature solve?
It's a bit confusing that you can only zoom with the mouse when it's over the map. On some maps with too much space between regions you can't zoom with the mouse in the middle. On the other hand, on any map (like https://echarts.apache.org/examples/en/editor.html?c=map-usa) if you zoom out enough, the map becomes very small and there's not much room left to zoom again:

Additionally, it appears that regions with no associated data are also ignored when zooming the map.
What does the proposed API look like?
Probably the API shouldn't change, but in case someone prefers to keep the current behavior maybe something like:
{ roam: true, roamOn: ("everywhere" | "map")}

Chart size should not get out of control. There is scaleLimit.min for that.
There is also toolbox Restore button.
Is a new feature really needed ?

Of course, users have other options, but I found it confusing the first time until I realized that the problem was that the mouse was not over the map. Perhaps the case shown in the image is not the most concerning, but I have a world map where I cannot zoom if the mouse is over the Atlantic Ocean.
I tried to solve it with events but the performance is clearly worse. It's probably not the most urgent thing on your plate, but it would be nice to have.

I have a world map where I cannot zoom if the mouse is over the Atlantic Ocean.

Could you share it? Same ocean works fine in official example.


[bandlabextractor] added new bandlab extractor for track, album, and playlist…

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

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

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Added a bandlab extractor. Resolves #31184

You should be able to put back the Unicode test data now.

@dirkf no worries. It doesn't really make the test any more robust. It just happened i chose a song with a unicode title. Should be clear to merge from my side :)

is there a status on this? seems good to go

Yep it can be merged any time.

@dt-rush any status on this?

Hey @dirkf ! Thanks for the suggestions! I just updated the branch. Changes:

The playlist and album extractors are merged into a single class since the logic is virtually identical except for using the string "albums" or "collections" in one or the other.

_TEST is _TESTS

we now use try_get() for the various metadata fields (I initially thought, the extractor should break if the format changes, but after reading the README a little more, I see the logic)

Cheers!

nice nice! eager to see this merged

@dirkf fixed!

bump

Hey all, this should be clear to merge. This is my new account (I'm @dt-rush). @dirkf, can you merge this please? Thank you! :)

Download tests fail with 403 on API request.
In the browser: {"errorCode":403,"message":"Current user does not have permission for this action."}

@aiur-adept the tracks i provided in the original example (and the ones being used for the tests) have since been privated/removed so they should probably be changed to existing tracks/albums

@itzTheMeow @dirkf it seems the helper methods from utils.py no longer exist. Were they moved somewhere else?

(for example, traverse_obj)

In this PR it might be necessary to pull the latest yt-dl source.
In case anyone is trying to use the extractor with yt-dlp, they moved traverse_obj() and friends to utils/traversal.py. We have a traversal.py that just redirects the imports to utils.py.

@dirkf thanks, i'm gonna rebase on upstream master and try to get this working

#32881 has been pushed with fixed test data. This PR can close now in preference of that one.

Changelist by Bito
This pull request implements the following key changes.

Key Change
Files Impacted

New Feature - Add Bandlab Extractor

- bandlab.py - Implement new extractor for Bandlab tracks, albums, and playlists

- extractors.py - Import new Bandlab extractor classes


Build failure OSX 10.11

Hi, I'm attempting to build and run the hello example.  Apparently, OSX 10.11 seems to have run into some conflicts with the installed ncurses lib.  I've installed the ncurses dependency via homebrew tap, resulting in the following error:
~/tmp/rust/ncurse(master ✗) cargo build -v
       Fresh libc v0.2.13
       Fresh rustc-serialize v0.3.19
       Fresh ncurses v5.80.0
       Fresh toml v0.1.30
       Fresh cursive v0.0.2
   Compiling ncurse v0.1.0 (file:///Users/ag/tmp/rust/ncurse)
     Running `rustc src/main.rs --crate-name main --crate-type bin -g --out-dir /Users/ag/tmp/rust/ncurse/target/debug --emit=dep-info,link -L dependency=/Users/ag/tmp/rust/ncurse/target/debug -L dependency=/Users/ag/tmp/rust/ncurse/target/debug/deps --extern cursive=/Users/ag/tmp/rust/ncurse/target/debug/deps/libcursive-19b294b0688ff15d.rlib`
error: linking with `cc` failed: exit code: 1
note: "cc" "-m64" "-L" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/ag/tmp/rust/ncurse/target/debug/main.0.o" "-o" "/Users/ag/tmp/rust/ncurse/target/debug/main" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/ag/tmp/rust/ncurse/target/debug" "-L" "/Users/ag/tmp/rust/ncurse/target/debug/deps" "-L" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/ag/tmp/rust/ncurse/target/debug/deps/libcursive-19b294b0688ff15d.rlib" "/Users/ag/tmp/rust/ncurse/target/debug/deps/libtoml-cd71fbce840828ea.rlib" "/Users/ag/tmp/rust/ncurse/target/debug/deps/libncurses-28f717993e75ef1e.rlib" "/Users/ag/tmp/rust/ncurse/target/debug/deps/liblibc-a70a3ae81492eede.rlib" "/Users/ag/tmp/rust/ncurse/target/debug/deps/librustc_serialize-3bc953984ed46e7f.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcollections-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_unicode-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librand-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-d16b8f0e.rlib" "/Users/ag/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-d16b8f0e.rlib" "-l" "ncursesw" "-l" "System" "-l" "pthread" "-l" "c" "-l" "m" "-l" "compiler-rt"
note: ld: library not found for -lncursesw
clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error
error: Could not compile `ncurse`.

Caused by:
  Process didn't exit successfully: `rustc src/main.rs --crate-name main --crate-type bin -g --out-dir /Users/ag/tmp/rust/ncurse/target/debug --emit=dep-info,link -L dependency=/Users/ag/tmp/rust/ncurse/target/debug -L dependency=/Users/ag/tmp/rust/ncurse/target/debug/deps --extern cursive=/Users/ag/tmp/rust/ncurse/target/debug/deps/libcursive-19b294b0688ff15d.rlib` (exit code: 101)

UPDATE:  I uninstalled brew ncurse recipe, re-installed ncurses via macports and upgraded readline package.  I get the same build failure output, displayed above. Oddly, macports lists ncurses dev branch v6.0, yet the build output seems to point v.5.8.  Any suggestions on how to resolve?

It looks like even before a potential version mismatch, it simply doesn't find the ncursesw library file.
You can check if it's indeed in one of the -L directories given to cc. If it's not, I guess the installation put it in a weird place.
You could also ask for help directly on the ncurses-rs repository.
Finally, a plan is to eventually move to another backend (probably a pure-rust one), so it might also solve your problem - but not before a few weeks.

Also this may be of interest:

Note that you must to have the ncurses library installed and linkable for ncurses-rs to work. On Linux, this should be trivial. On OS X, consider installing ncurses using Homebrew. (Note that you have to force Homebrew to link the library to /usr/local/lib: brew link --force ncurses and set that path to LIBRARY_PATH environmental variable.)

Ok, I reinstalled XCode command line tool, removed my previous brew and port builds; reinstalled ncurse with  brew --forced link it worked! Thanks for the tip! 👍  I look forward in using this package.

Glad to hear that! :)


Update README.md

Moved spatialnodehq from under tech companies with letter T to S.
https://spatialnode.net/home is their company website for confirmation.
Kindly merge pls @gray-adeyi @OSCA-Ado-Ekiti @Chaos10001
Though wanted to do the Flutterwave movement, but I guess someone was also working on it anonymously ahead of me

Hi @Victorayo Impressive work so far. I'm closing this pr not because there's anything wrong with it. It's already becoming a mess so myself and the other maintainers have decided to refactor it. Please pull the new changes and refactor accordingly and I can guarantee your pr would be merged.

Alright boss. Thanks 🙏


Create chatbot : can't import csv

Describe the bug
When you create a chatbot you could import some data in JSON or CSV format. When you import a CSV, it display: no valid json
To Reproduce
Steps to reproduce the behavior:

At home select create my first assistant
Create a user
Goto to /create page
Click on import template
Import a valid .csv file
Not a valid JSON is displayed

Expected behavior
CSV should be imported as JSON
It works in Import Data from Dashboard.

https://github.com/Opla/opla/blame/master/front/src/shared/containers/dialogs/ioDialog.jsx
Import code is commented. Can't really try since I can't find what the CSV file should look like


Auto line breaks for long questions

This uses a new WINDEX feature. For your build you will need to update your WINDEX clone

@lucasgsantos This was assigned to you 5 days ago.  Why are you ignoring it?  Why are you ignoring the three other issues also assigned to you last week?

I can't compile the source code. Broken references to windex. Yes, I did download the latest version of Recipe and windex
g++  -std=c++17 -g -D_mingw_ -Dvase
-c -o .vscode/obj/cRecipeGUI.o ./src/cRecipeGUI.cpp -I./src -I./src/ext -I./models -I./models/basic -I../windex/include -I../raven-set
In file included from ./src/cRecipeGUI.cpp:7:
../windex/include/cxy.h: In static member function 'static bool cxy::isIntersection(cxy&, const cxy&, const cxy&, const cxy&, const cxy&)':
../windex/include/cxy.h:171:13: error: 'fabs' was not declared in this scope; did you mean 'labs'?
171 |         if (fabs(det) < 0.0001)
|             ^~~~
|             labs
../windex/include/cxy.h: In static member function 'static double cxy::angle(const cxy&, const cxy&, const cxy&, const cxy&)':
../windex/include/cxy.h:208:16: error: 'atan2' was not declared in this scope
208 |         return atan2(det, dot);
|                ^~~~~
mingw32-make: *** [.vscode/makefile:41: .vscode/obj/cRecipeGUI.o] Error 1

The terminal process "C:\msys64\ucrt64\bin\mingw32-make.exe '-f', '.vscode/makefile', 'rebuild'" terminated with exit code: 2.
Terminal will be reused by tasks, press any key to close it.

Please remember to assign issues to me, when you want me to work on them.

Fixed.  You will need to update windex.

Still getting errors with windex references.

Executing task: C:\msys64\ucrt64\bin\mingw32-make.exe -f .vscode/makefile rebuild

del /q .vscode\obj\*.o
g++  -std=c++17 -g -D_mingw_ -Dvase
-c -o .vscode/obj/cRecipeGUI.o ./src/cRecipeGUI.cpp -I./src -I./src/ext -I./models -I./models/basic -I../windex/include -I../raven-set
g++  -std=c++17 -g -D_mingw_ -Dvase
-c -o .vscode/obj/cVase.o ./src/cVase.cpp -I./src -I./src/ext -I./models -I./models/basic -I../windex/include -I../raven-set
g++  -std=c++17 -g -D_mingw_ -Dvase
-c -o .vscode/obj/flower.o ./src/flower.cpp -I./src -I./src/ext -I./models -I./models/basic -I../windex/include -I../raven-set
In file included from ./src/flower.cpp:6:
../windex/include/cxy.h:96:30: error: 'vector' in namespace 'std' does not name a template type
96 |     bool isInside(const std::vector &polygon) const
|                              ^~~~~~
../windex/include/cxy.h:5:1: note: 'std::vector' is defined in header ''; did you forget to '#include '?
4 | #include
+++ |+#include
5 |
../windex/include/cxy.h:96:36: error: expected ',' or '...' before '<' token
96 |     bool isInside(const std::vector &polygon) const
|                                    ^
../windex/include/cxy.h:110:48: error: 'vector' in namespace 'std' does not name a template type
110 |     static cxy enclosingWidthHeight(const std::vector &polygon)
|                                                ^~~~~~
../windex/include/cxy.h:110:43: note: 'std::vector' is defined in header ''; did you forget to '#include '?
110 |     static cxy enclosingWidthHeight(const std::vector &polygon)
|                                           ^~~
../windex/include/cxy.h:110:54: error: expected ',' or '...' before '<' token
110 |     static cxy enclosingWidthHeight(const std::vector &polygon)
|                                                      ^
../windex/include/cxy.h: In member function 'bool cxy::isInside(int) const':
../windex/include/cxy.h:99:14: error: 'vector' is not a member of 'std'
99 |         std::vector::const_iterator j = polygon.end() - 1;
|              ^~~~~~
../windex/include/cxy.h:99:14: note: 'std::vector' is defined in header ''; did you forget to '#include '?
../windex/include/cxy.h:99:24: error: expected primary-expression before '>' token
99 |         std::vector::const_iterator j = polygon.end() - 1;
|                        ^
../windex/include/cxy.h:99:27: error: '::const_iterator' has not been declared
99 |         std::vector::const_iterator j = polygon.end() - 1;
|                           ^~~~~~~~~~~~~~
../windex/include/cxy.h:100:19: error: 'vector' is not a member of 'std'
100 |         for (std::vector::const_iterator i = polygon.begin();
|                   ^~~~~~
../windex/include/cxy.h:100:19: note: 'std::vector' is defined in header ''; did you forget to '#include '?
../windex/include/cxy.h:100:29: error: expected primary-expression before '>' token
100 |         for (std::vector::const_iterator i = polygon.begin();
|                             ^
../windex/include/cxy.h:100:32: error: '::const_iterator' has not been declared
100 |         for (std::vector::const_iterator i = polygon.begin();
|                                ^~~~~~~~~~~~~~
../windex/include/cxy.h:101:14: error: 'i' was not declared in this scope
101 |              i != polygon.end(); j = i++)
|              ^
../windex/include/cxy.h:101:19: error: 'polygon' was not declared in this scope
101 |              i != polygon.end(); j = i++)
|                   ^~~~~~~
../windex/include/cxy.h:101:34: error: 'j' was not declared in this scope
101 |              i != polygon.end(); j = i++)
|                                  ^
../windex/include/cxy.h: In static member function 'static cxy cxy::enclosingWidthHeight(int)':
../windex/include/cxy.h:113:29: error: 'polygon' was not declared in this scope
113 |         for (const cxy &p : polygon)
|                             ^~~~~~~
mingw32-make: *** [.vscode/makefile:40: .vscode/obj/flower.o] Error 1

The terminal process "C:\msys64\ucrt64\bin\mingw32-make.exe '-f', '.vscode/makefile', 'rebuild'" terminated with exit code: 2.
Terminal will be reused by tasks, press any key to close it.

I cannot reproduce this problem
In file included from ./src/flower.cpp:6:
../windex/include/cxy.h:96:30: error: 'vector' in namespace 'std' does not name a template type
96 | bool isInside(const std::vector &polygon) const
| ^~~~~~
../windex/include/cxy.h:5:1: note: 'std::vector' is defined in header ''; did you forget to '#include '?

It seems like the standard includes are arranged differently on your machine.  I have forced the vector to be included in cxy.h.  https://github.com/JamesBremner/windex/commit/1492e0a7b232b4a88fccad5d451fbaf11d03dea0
Please try again with an updated windex clone.


Basic scenegraph debug command support

Dependent on changes in roku-debug: https://github.com/rokucommunity/roku-debug/pull/29

Related to https://github.com/rokucommunity/vscode-brightscript-language/pull/308


Clicking button outside viewport in iframe silently fails in native automation mode

What is your Scenario?
We have application which is embedding another application via iframe - for example shell and micro frontend. Embedded application has button, which is not in the initial viewport and scroll is required to click it. Button has some action - for example changing text of some other element on page. We want to write test that clicks the button and checks whether action was performed.
What is the Current behavior?
Button is clicked as expected only when native automation is disabled. Enabling native automation results in test failing. Moreover, there is no error that button was not found, but any further assertion which checks whether button action was performed fails.
What is the Expected behavior?
Button should be clicked regardless of native automation being enabled or disabled. Docs are clear that this is expected behaviour:
Important

When TestCafe interacts with an off-screen DOM element, it scrolls that element into view.
There is usually no need to use the scroll action

What is the public URL of the test page? (attach your complete example)
Minimal reproduction scenario is available in this repo: https://github.com/krzempekk/testcafe-issue-repro
Reproduction steps above and in README.md file. Other important files:

tests/test.js - simple test that clicks button and checks whether text on page was changed.
public/shell/index.html - page served on localhost:4000 that embeds other page via iframe
public/mfe/index.html - page served on localhost:4001 that is embedded via iframe. It contains button which changes header text when clicked. Button has 1800px top margin, so it is not visible on initial viewport.

What is your TestCafe test code?
Test code (tests/test.js file in reproduction repo):
import { Selector } from 'testcafe';

fixture`Sample fixture`
    .page`http://localhost:4000`;

test('Test1', async t => {
    await t.switchToIframe('#mfe')
    await t.click('#button');
    await t.expect(Selector('#header').innerText).eql('Button clicked!')
});

Your complete configuration file
No configuration file
Your complete test report
When running with native automation disabled (yarn test:no-native command in repro repo): test passes
When running with native automation enabled (yarn test):
 Sample fixture
 ✖ Test1

   1) AssertionError: expected 'This is the micro app' to deeply equal 'Button clicked!'

      + expected - actual

      -This is the micro app
      +Button clicked!

      Browser: Chrome <IP_ADDRESS> / Sonoma 14

          4 |    .page`http://localhost:4000`;
          5 |
          6 |test('Test1', async t => {
          7 |    await t.switchToIframe('#mfe')
          8 |    await t.click('#button');
       >  9 |    await t.expect(Selector('#header').innerText).eql('Button clicked!')
         10 |});
         11 |
         12 |

         at <anonymous> (/Users/kkrzempek/IdeaProjects/testcafe-issue-repro/tests/test.js:9:51)
         at asyncGeneratorStep (/Users/kkrzempek/IdeaProjects/testcafe-issue-repro/tests/test.js:1:37)
         at _next (/Users/kkrzempek/IdeaProjects/testcafe-issue-repro/tests/test.js:1:37)

 1/1 failed (10s)

Screenshots
No response
Steps to Reproduce

Clone the repo (https://github.com/krzempekk/testcafe-issue-repro)
Run yarn to install dependencies
Run yarn start:shell and yarn start:mfe. Simple test pages will be served on localhost:4000 and localhost:4001 respecitvely.
Run yarn test:no-native. Test should pass.
Run yarn test. Test should not pass - this is the issue.

TestCafe version
3.5.0
Node.js version
No response
Command-line arguments
testcafe chrome ./tests/test.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response

Hello @krzempekk,
Thank you for your report and the detailed instructions. I managed to reproduce the issue, and it appears to be the same as #8165. Please refer to the thread for updates. We'll inform you once we have news to share.


[WhatsApp] WhatsApp deletes all recorded contacts and groups data

Extension
https://www.raycast.com/vimtor/whatsapp
Description
WhatsApp extension keeps losing or deleting the recorded Contacts and Group-chats data every few days, making me have to input it all over again. It does not necessarily have a specific behaviour or something that happens before it that makes all Contacts/Groups vanish from the list, I can be using it intermittently through the day and from one use to another I'll lose all the records I've had put there before.
Steps To Reproduce
MacBook Pro M1, 16GB Memory, macOS Sonoma 14.0, Raycast 1.60.1

Add all contacts and groups to the extension
Configure shortcut control+W to open chats
Use the shortcut to open chats throughout the day
Every couple of days the list of contacts is empty and I need to add it all again

That self-deletion of the inputted data happened 3 times over the last week.
There were no new extensions or apps downloaded to the computer and I couldn't find anything that might be interfering with the extension's behaviour.
Current Behaviour
No response
Expected Behaviour
No response

I suspect this might be related to Raycast clearing the local storage to free up memory. I don't know if that is how it works, though. I don't use the extension a lot, but checking it now, it retained the contact data properly, so I'm a little confused about the reason.
Perhaps you can shed some light on this, @pernielsentikaer?


Spelling

This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at https://github.com/jsoref/dalton/actions/runs/3814722224#summary-10379588841
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/dalton/actions/runs/3814722360#summary-10379588987
I've included changes to app/static/engine-configs, but they can of course be dropped.
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.

Note that the files in engine-configs are taken straight from the source (e.g. Suricata repo), with minimal modifications (if any).  Spelling errors in those should be reported upstream (although many of them have been addressed already) and won't be bothered with here.

Dropped. Fwiw, I opened https://github.com/OISF/suricata/pull/7708 to them a while ago...


Should digitalWrite - only work with HIGH and LOW?

I thought I would try out one of the forum posts about a program not working on Arduino that worked on other SDK...
http://en.robotis.com/service/forum_view.php?bbs_no=2406903&page=1&save_sca=&sca=&save_stx=&stx=&sfl=
So compiled program and looked at output with Logic Analyzer.  The data did not look valid...
The data was output using the line:
 digitalWrite(Max7219_pinDIN,DATA&0x80)

Which was not working.  However the line:
digitalWrite(Max7219_pinDIN,(DATA&0x80)? HIGH : LOW);

Took a quick look at the digitalWrite code:
extern void digitalWrite( uint32_t ulPin, uint32_t ulVal )
{

  switch(ulVal) {

    case HIGH:
      HAL_GPIO_WritePin(g_Pin2PortMapArray[ulPin].GPIOx_Port,g_Pin2PortMapArray[ulPin].Pin_abstraction,GPIO_PIN_SET);
			break;

    case LOW:
      HAL_GPIO_WritePin(g_Pin2PortMapArray[ulPin].GPIOx_Port,g_Pin2PortMapArray[ulPin].Pin_abstraction,GPIO_PIN_RESET);
			break;

    default:
			break;
  }
}

It looks like it only works with the two values HIGH and LOW.  Most systems I have worked with assumed HIGH for any non 0 value.

Hi, @KurtE ,
Thanks for your report.
 It should be fixed. We will fix this in the next release.

I have updated the code in the develop branch.


PermissionsAndroid not work with Android 7.0

Description
seems PermissionsAndroid does not work properly with Android 7.0
Reproduction Steps and Sample Code
I need detect incoming phone state,  then I had involved the PermissionsAndroid API  request READ_PHONE_STATE permission.
as http://facebook.github.io/react-native/releases/0.41/docs/permissionsandroid.html doc:

If the optional rationale argument is included (which is an object with a title and message), this function checks with the OS whether it is necessary to show a dialog explaining why the permission is needed (https://developer.android.com/training/permissions/requesting.html#explain) and then shows the system permission dialog

granted === PermissionsAndroid.RESULTS.GRANTED return true,
but dialog didn't show, and I can't detect phone state.
Additional Information

React Native version: 0.41
Platform: Android 7.0

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!


Init immediately if document.body is available

This addresses the issue where document.body is ready before the script
is loaded, which means the window "load" event does not fire, and
WebSocket never initializes.
This is because web_socket.js relies on the window "load" event for
calling WebSocket.__initialize, which embeds the Flash object into
document.body. If the document.body is already available, the "load"
event does not fire.
This patch introduces checking if document.body is available and if so,
immediately calls WebSocket.initialize instead of registering it as a
callback.
Possibly related to #101, #62, #93 as IE9 seems especially sensitive to
this issue.

Thanks for the patch. But I'll try bottom script method instead first. If it works, I guess it loads a bit earlier.


Running out of memory

Any advice on how to deal with running out of GPU memory? I'm just getting started with pytorch / this package, and this is what happens when I try an initial test run using 7000 steps (57000 training images, size 128x128, on a GPU with 15GB memory):
>>> from denoising_diffusion_pytorch import Unet, GaussianDiffusion, Trainer
>>>
>>> model = Unet(
...     dim = 64,
...     dim_mults = (1, 2, 4, 8)
... ).cuda()
>>>
>>> diffusion = GaussianDiffusion(
...     model,
...     image_size = 128,
...     timesteps = 1000,   # number of steps
...     loss_type = 'l1'    # L1 or L2
... ).cuda()
>>> trainer = Trainer(
...     diffusion,
...     'training-set-2',
...     train_batch_size = 32,
...     train_lr = 2e-5,
...     train_num_steps = 7000,         # total training steps
...     gradient_accumulate_every = 2,    # gradient accumulation steps
...     ema_decay = 0.995,                # exponential moving average decay
...     amp = True                        # turn on mixed precision
... )
>>>
>>> trainer.train()
sampling loop time step: 100%|██████████████████| 1000/1000 [08:45<00:00,  1.90it/s]
loss: 0.2902:  14%|███▊                       | 1001/7000 [55:22<5:31:53,  3.32s/it]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/lib/python3.7/site-packages/denoising_diffusion_pytorch/denoising_diffusion_pytorch.py", line 823, in train
    self.accelerator.backward(loss)
  File "/opt/conda/lib/python3.7/site-packages/accelerate/accelerator.py", line 884, in backward
    loss.backward(**kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/_tensor.py", line 396, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/opt/conda/lib/python3.7/site-packages/torch/autograd/__init__.py", line 175, in backward
    allow_unreachable=True, accumulate_grad=True)  # Calls into the C++ engine to run the backward pass
RuntimeError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 14.56 GiB total capacity; 13.02 GiB already allocated; 84.44 MiB free; 13.56 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Update: I modified Trainer.train() to delete intermediate data (the loss history and the sample image stuff) once it's done with it, and it's survived past the point when it was running out of memory before. I'll play with it a little more and then send a PR if that sounds okay.


Only perform sample plot selection if mouse pressed event occurred within the plot.

That is, if the user starts the drag over one sample and then moves the mouse over a second sample, don't also create a selection in the second sample.

Addressed by https://github.com/damellis/sensors/commit/d4c60b1338a2c554a04eb2fafdc9cb1dfdeab797


How to listen to Stream of updates?

How can I listen to the stream of the telegram updates? Although it is one of the main functionality, it should be implemented in the package i think?

@cloudoftg0 it is implemented, but not documented in this library. I found my way of doing it on some article on internet. (Yeah, not quite useful response, but if I could find that article then you'd can do it too!) (I'll post it here if I find it sooner)


[Compute] Remove ingore attribute and fix the recording file after compute release

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Add segment sum Op to relay and corresponding TF Ops , fix scatter_add dynamic bug

This PR adds the Segment Sum Op which will serve as a generic op for multiple framework specific ops

Tensorflow -- tf.math.segment_sum, tf.sparse.segment_sum

Caffe -- sparse length sum

PyTorch -- Embedding Bag

Since this PR uses scatter_add , it also makes some small changes which make it work for dynamic inputs.

@masahi @tkonolige @mbrookhart PTAL.

Nice, are you going to add frontend?

Yes, do you prefer I add it in this PR or the next one ? I want to add frontends for multiple framework ops based on this relay op.

Yes, I think it's better to add frontends (TF, PT) to make sure they are supported by this op.

@masahi I have added 3 TF Ops to the frontend, all of which use this op. Let me know if that's enough.

Can you also try PT EmbeddingBag?

Hey @masahi , upon closely reading the Embedding Bag documentation, it seems that: (Referencing the sparse_segment_sum example)

When inputs is 1D , and offsets is given, we simple have to convert offsets into segment_ids and inputs would directly be indices. To convert offsets into segment_ids we have to use a combination of adjacent_difference, arange and  repeat : For example: offsets of [0,4] with size of 10 would translate to [0, 0, 0, 0, 1, 1, 1, 1, 1, 1] and relay.segment_sum could be called on it.
When inputs is 2D, its more easier where we convert the input size [B,N] to [0,0,0... Ntimes ... ,1,1,1,... N Times ..... B-1,B-1, .... N Times]  This would require arange and repeat.  And then use inputs as indices like before and the converted input size (now 1D) as segment_ids.

Now all of these ops exist except adjacent_difference although @ymwangg wrote an IR for it. Is it possible to call it in any form or if not , do you think its worthwhile to make it an op ? Numpy equivalent
Let me know your thoughts on the best way to reuse existing code. After that implementation would be only a trivial few lines.

Ok lets do embedding bag later, then.

@tkonolige I have finished addressing your comments, please re-review

Actually I would like to add another related op in this PR. I will ping you after I am done with that.

@tkonolige @masahi . I am done with the PR Please review/ re-review.

@tkonolige int64 is not allowed with tf sparse ops, I put it on the relay op tests and the tf math ops.

Thanks @codeislife99 @tkonolige @mbrookhart


tracing: bump cpp2sky of skywalking to v0.4.0

Signed-off-by: wbpcode<EMAIL_ADDRESS>Commit Message: tracing: bump cpp2sky of skywalking to v0.4.0
Additional Description:
Update the cpp2sky to the latest version.
Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

CI issue looks legit?
/wait


NTR: 1,3-dichloropropane

New term requested: 1,3-dichloropropane
Suggested text definition: A compound of chlorine, hydrogen, and carbon.
SOURCE: https://pubchem.ncbi.nlm.nih.gov/compound/1_3-dichloropropane, https://en.wikipedia.org/wiki/1,3-Dichloropropane
Note - there are 76 synonyms for this term, please see the synonyms in the source link.
Related to ticket: https://github.com/cmungall/environmental-conditions/issues/6

Now added - see CHEBI:137978


Service Broker Objects not displayed

Issue Type: Bug
Hello,
Ofcourse I haven't tried this before on previous version of Azure Data Studio, so I can't tell for sure if it is a new.I recently deployed Service Broker objects like messages, contracts and queues  to the database. They are not displaying under the Tree in Azure data studio but I can see them in SSMS
Azure Data Studio version: azuredatastudio 1.8.0 (96e214593190071f0b520439929b218f9fa673de, 2019-06-06T01:59:30.203Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (9.18GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

firstresponderkit
dre
0.4.0

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.1

agent
Mic
0.40.0

import
Mic
0.8.0

powershell
ms-
1.12.1

profiler
Mic
0.8.0

whoisactive
Mic
0.1.1

sql-search
Red
0.2.1

(1 theme extensions excluded)

There are covered by an existing item. Closing


How can I exclude the whole page from indexing?

Hello, thank you for the great tool!
I have a documentation website. Some pages have content, but another is just a redirect page. I want to exclude them from search results. How can I do this?

Hey @sergeysova 👋
Currently the best way to achieve this is to utilize the data-pagefind-body tag (docs)
This tag should be added to the pages you do want in your index — any remaining pages will be excluded automatically.
Let me know if that works out :)


Language detection based on first line

Add language detection based on the first line format of the doxyfile template. Tested in doxygen 1.9.1

@m-canabal Thanks for the PR! I will merge it soon :)


[flow] function call function cannot be called on any member of intersection type intersection

Version
2.2.2

Steps to reproduce

Implement flow
flow-typed install<EMAIL_ADDRESS>
Expected Behavior
Should work without abnormal flow errors
Actual Behavior
Receiving this error
 function call function cannot be called on any member of intersection type intersection

when doing something like this
const SView = styled(View)`
  height: 100%;
  background-color: ${props => props.color};
`;

error specifically highlights this line const SView = styled(View) when I click through I am referred to this rule in styled-component typed package
  declare module.exports: {
    $call: $npm$styledComponents$Call<NativeComponentListKeys>,

cc @styled-components/typers

Which version of flow is this?

@relekang current react native one, 0.53.0

Any ideas what the issue here is @relekang?

My best guess is that we have not typed it correctly in the libdef, there is no test for this use case. I have not worked with react native before so need to look into that to reproduce. It looks like the following works in the libdef tests:
styled.View.extend``

@IljaDaderko is this a possible workaround?

Hey folks, flow typings for styled-components are located in flowtyped, so please feel free to move your issue there where you'll receive better community support.

// $FlowFixMe for now :(

Rather than complain that you have to use a suppression, it would be more productive to offer to help fix it on flow-typed.


Type mismatch in OQ_UI2DLabel.gd

Hi, when running the demo scene in Godot 3.2.2 beta 3, the debugger complained about this line with a mismatch between CenterContainer and ColorRect. Weird this didn’t came up when running the demo in Godot 3.2.1 before.

Ups; thank you for reporting this! I will fix it in a moment. It's indeed strange that this error does not pop up every time (I can run the demo fine...).


layoutTemplate name conversion not working

If we can write template: 'some.name' when template named 'SomeName', why don't to use similar behavior for layoutTemplate then?
Also it lead to strange error message: "Couldn't find a template named "some.name" or "someName". Are you sure you defined it?" because dynamic template package template uses camelCase fallback instead of classCase.

Addition: also it isn't working for template: 'some.name'

My misunderstanding, it only autoconverts names.


Can't cancel intercepted CapsLock key event

Describe the bug
Hi,
I am trying to intercept CapsLock but not route the event to Windows, so that I can press it once but still write lower case (and my keyboard LED doesn't turn on)
Currently this is not possible, is this a technical limitation, easy fix, or maybe I'm missing anything?
Cheers!
Steps to reproduce the bug
I was testing with this:
var keyboardHook = new LowLevelKeyboardHook();
keyboardHook.Handling = true;
keyboardHook.Start();

keyboardHook.Down += (_, args) => args.IsHandled = true;
keyboardHook.Up += (_, args) => args.IsHandled = true;

Other keys were cancelled using this hook. CapsLock was not affected
Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Platform
No response
IDE
No response
Additional context
No response

If the simple way doesn't work, I would probably define two conditions - that Caps Lock is pressed and that the event is canceled, and send a Caps Lock press again
But judging by Stack Overflow, it looks like the easy way should work:
https://stackoverflow.com/questions/37821291/c-sharp-toggle-capslock-off-with-keyboardhook
https://stackoverflow.com/questions/5332355/best-way-to-intercept-pressing-of-caps-lock

Also try to set HandleModifierKeys = true

Also try to set HandleModifierKeys = true

this fixed it! Works like a charm now.
Thank you @HavenDV


Add Future::inspect to peek at the item in a future

Fixes #562

Thanks! Mind moving the tests to the tests/ folder? (I think there's a failure in 1.13.0 as well)
Also, while you're at it, mind adding a combinator for Stream as well?

Thanks for finishing this up for me. Apologies I didnt get back to it quickly. I got so wrapped up working on Shio that I forgot I was in the middle of a couple other things, haha.

Oh no worries at all! I had a few minutes this morning and was gonna publish anyway, so figured I'd go ahead and help out


Drop PasswordManager dependency in favor of iOS 12

Since iOS 12 now has official ways of configuring an alternative password manager for auto-completion in both Apps and Browsers, we could drop our manual support for 1Password via the PasswordManager dependency. Instead, we cuold point to an article like this one in the FAQs or even the Update Description.

Fixed via 5e5108a9a59e79c9b4f24cb94cf8e37d2a64a3d2.


TRIE DS Added

TRIE Data Structure Added to the list!

Hey @swatisingh45 TRIE for C++ has already been implemented and merged into master. Sorry, but I can't approve of this PR.


Update requirements to work with python 3.13

pydantic and greenlet don't work with python 3.13.x in their previous versions. The updated requirements allow building the package on python 3.13. I've only tested the notification function, though.

Thanks!


DRAFT: Grpc.Tools msbuild end2end tests prototype

@yashykt

@tonydnewell  FYI this is my very old (and rough) attempt to add msbuild tests for Grpc.Tools - perhaps having this as an example will come handy.


Help Constructing API Client

Hi,
I have followed the Yelp-python basics exactly but receive an error after entering
with open('config_secret.json') as cred:
    creds = json.load(cred)
    auth = Oauth1Authenticator(**creds)
    client = Client(auth)

params = {
    'term': 'food',
    'lang': 'fr'
}
>>> client.search('San Francisco', **params)

My terminal spits out
TypeError: character mapping must return integer, None or unicode
My guess is that this has something to do with the unicode of my keys/tokens in my config_secret.json.
What would be the most efficient way to resolve this error? Thanks for your help.
**Note: my config_secret.json is not in a .gitignore file, so I revised io.open() to open().

@jrs477 I assume this is the issue you mentioned over in yelp-api #108 in this comment?
For those following along, I responded to this issue in this comment, I will copy and paste my response below and close this out.

json.load() loads the contents of a file object (containing JSON) into a python dictionary
the **creds shorthand expands a dictionary into 'kwargs', short info on that here, more verbose explanation in the official python docs.

snippet from app.py:
import json
...
from yelp.oauth1_authenticator import Oauth1Authenticator
...
with open('keys.json') as creds_file:
    creds = json.load(creds_file)
auth = Oauth1Authenticator(**creds)

(redacted) contents of keys.json:
{
    "consumer_key": "REDACTED",
    "consumer_secret": "REDACTED",
    "token": "REDACTED",
    "token_secret": "REDACTED"
}


[Feature] Add Genres to Search For Filtering out Certain Categories

Description
Add Genres to Search For Filtering out Certain Categories (omni, collection)
I believe I see where the code is needed, for example below on the fanza.go file:
Additionally the model needs to be updated on model/movie.go
I'm just not sure what the value below should be
Is this feature related to a specific bug?
No response
Do you have a specific solution in mind?
results = append(results, &model.MovieSearchResult{
	ID:          id,
	Number:      ParseNumber(id),
	Title:       e.ChildAttr(`.//p[@class="tmb"]/a/span[1]/img`, "alt"),
	Provider:    fz.Name(),
	Homepage:    homepage,
	ThumbURL:    e.Request.AbsoluteURL(thumb),
	CoverURL:    e.Request.AbsoluteURL(PreviewSrc(thumb)),
	Score:       parser.ParseScore(rate /* float or a dash (-) */),
	ReleaseDate: parser.ParseDate(releaseDate /* 発売日：2022/07/21 */),
	Genres: [CODE HERE]
})

I see it's not possible on this this url: https://www.dmm.co.jp/search/=/searchstr=%s/limit=120/sort=date/

You're right, it's not possible.


Breaking change to AutoRefreshingClient in googleapis_auth-v1.5.0

This PR, https://github.com/google/googleapis.dart/pull/597, introduces a breaking change to the AutoRefreshingClients constructor.
The constructor was changed in a non-backward compatible way when the mandatory authEndpoints parameter was added, source: https://github.com/google/googleapis.dart/blame/0c28d453fda3097e7b0d68fe395afe4a25ef33cd/googleapis_auth/lib/src/auth_http_utils.dart#L99.
I'm a maintainer of the Serverpod framework, and our users are running into issues when running pub update since the release was not tagged as a major version.

Ah! That's less than ideal.
It seems we've already released 3 versions with this fix:

googleapis_auth-v1.6.0
googleapis_auth-v1.5.1
googleapis_auth-v1.5.0

I try SUPER hard to avoid this types of mistakes, but I'm not sure what I can do now about it.
Suggestions?

I can relate to this, and it's a simple mistake to make.
Honestly, I'm not sure there is any action to take here without breaking things again.
The semantic versioning spec encourages you to use your best judgement, source, and in this case I think it would be best to take the loss.
I would suggest closing this issue with a won't fix so that the decision is tracked, and then recommend everyone to bump their minimum version to 1.5.0.


Multiple base currencies

Hi
Is there any chance I can Get output with two base currencies eg.
https://api.exchangeratesapi.io/latest?base=EUR,USD&symbols=GBP,GBP ?

@sebhanz sorry - this feature is currently not supported. I'll leave this ticket open as an idea for development.

Hi! Are you open to a PR to add this enhancement?


[Bug] --empty flag not working on Pseudo-columns

Is this a new bug in dbt-bigquery?

[X] I believe this is a new bug in dbt-bigquery
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When trying out the empty flag on my models I get failures on all models that uses the pseudo-column "_PARTITIONTIME" in their logic. Here is my query, it has worked perfectly fine prior.
{% set src_cpc_raw = source('customer_preference_center', 'customer_preference') -%}

select
    customerId,
    customerId_token,
    preference,
    preferenceInd,
    createTS,
    updateTS,
    operator,
    ingstn_ts,
    ingestion_dt
from (
    select
        customerId,
        customerId_token,
        centralPreferences.preference,
        centralPreferences.preferenceInd,
        parse_timestamp("%Y-%m-%d %k:%M:%E6S", createTS) as createTS,
        parse_timestamp("%Y-%m-%d %k:%M:%E6S", updateTS) as updateTS,
        centralPreferences.operator,
        ingstn_ts,
        _PARTITIONTIME as ingestion_dt
    from
        {{ src_cpc_raw }},
        unnest(centralPreferences) as centralPreferences
)
{% if is_incremental() %}
    where date(ingestion_dt) >= date_sub("{{ latest_partition_filter(src_cpc_raw) }}", interval 1 day)
{% endif %}
qualify row_number() over (partition by customerId_token, preference order by updateTS desc, ingstn_ts desc) = 1

But now it has swapped out the logic with a subquery that doesn't take the pseudo column into consideration:
/* {"app": "dbt", "dbt_version": "1.8.0", "profile_name": "etlapp", "target_name": "lab", "node_id": "model.batch_framework_module.harm_customer_preference_center__centralpreference"} */

    create or replace table `ad25-p-datalab-fg2h`.`dbt_christopher`.`harm_customer_preference_center__centralpreference`

    cluster by ingstn_ts

    OPTIONS(
      description="""Incremental model for central preferences""",

      labels=[('batchfw_status', 'managed')]
    )
    as (
      select
    customerId,
    customerId_token,
    preference,
    preferenceInd,
    createTS,
    updateTS,
    operator,
    ingstn_ts,
    ingestion_dt
from (
    select
        customerId,
        customerId_token,
        centralPreferences.preference,
        centralPreferences.preferenceInd,
        parse_timestamp("%Y-%m-%d %k:%M:%E6S", createTS) as createTS,
        parse_timestamp("%Y-%m-%d %k:%M:%E6S", updateTS) as updateTS,
        centralPreferences.operator,
        ingstn_ts,
        _PARTITIONTIME as ingestion_dt
    from
        (select * from `ab73-np-rawlay-dev-3324`.`customer_preference_center`.`customer_preference` where false limit 0),
        unnest(centralPreferences) as centralPreferences
)

qualify row_number() over (partition by customerId_token, preference order by updateTS desc, ingstn_ts desc) = 1
    );

Giving the error in BigQuery: "Unrecognized name: _PARTITIONTIME at [37:9]"
Expected Behavior
I expect the subquery to work with pseudo-columns as well.
Steps To Reproduce

Use similiar SQL logic.
Run dbt build -s model_name --empty

Relevant log output
No response
Environment
- OS: ubuntu:rolling
- Python: 3.9.11
- dbt-core: 1.8.0
- dbt-bigquery: 1.8.0

Additional Context
No response

@christopherekfeldt Thanks for the report!
The mechanism we're using for --empty is to wrap the source() and ref() calls in a subquery with select * ... where false limit 0. This * doesn't pass along pseudo-columns.
The first idea that came to mind:

we first access BQ metadata to figure out if the source/ref relation is an ingestion-time partitioned table
if it is, we include the pseudo-column — but even then, it must be aliased, so your subsequent query (referencing it as _PARTITIONTIME) will still fail

select *, _PARTITIONTIME as partition_time
from dbt_jcohen.myingestiontable
where false limit 0

Other ideas:

Append where false limit 0 without wrapping in a subquery (but this won't play nice with other where statements, unnest, etc)
Allow you to opt out this particular source() from the default --empty subquery, but access flags.EMPTY to apply your own conditional filter

In the meantime, you can at least avoid the error by specifying .render() on any refs/sources that you don't want dbt to turn into where false limit 0 subqueries.
If we added support for flags.EMPTY, then you could write something like:
{% set src_cpc_raw = source('customer_preference_center', 'customer_preference') -%}

    select
        ...,
        _PARTITIONTIME as ingestion_dt
    from
        {{ src_cpc_raw.render() }}, -- this will not be turned into a subquery
        unnest(centralPreferences) as centralPreferences
     where 1=1
{% if flags.EMPTY %}
    and false limit 0 -- instead, I manually add the "empty limit" here
{% if is_incremental() %}
    and date(ingestion_dt) >= date_sub("{{ latest_partition_filter(src_cpc_raw) }}", interval 1 day)
{% endif %}
qualify row_number() over (partition by customerId_token, preference order by updateTS desc, ingstn_ts desc) = 1

My suggestion to solve this issue is related to https://github.com/dbt-labs/dbt-core/discussions/8560:
we need to be able to override the rendering from sources/refs.
For sources, we could have a way to add a parameter to the macro to add those metadata fields and for refs, since it would be related to "time_ingestion_partitioning": True,, we should be able to detect them by ourselves.


Issues with 1080p Episodes and Series Playback

Hey, I also encountered this issue. For some reason, it doesn't show the episodes of my 1080p shows but works fine for 4K shows and 4K/1080p movies.
Note: the issue will happen even if i launch mpv alone with no file but i didn't like this to show the logs
Also, if I play any series, I can't play the next file, so it's only loading one file and not the whole season. This is unlike when I play a local season folder and use autoload.lua
https://github.com/user-attachments/assets/60dcc347-fd0a-4852-af86-e1f35e2a3204
full logs :
http://bin.christitus.com/raw/kanajuxeni

Hey, I also encountered this issue. For some reason, it doesn't show the episodes of my 1080p shows but works fine for 4K shows and 4K/1080p movies. Note: the issue will happen even if i launch mpv alone with no file but i didn't like this to show the logs

Double check you are using the latest commit, I made a fix related to line 66 recently. Also check why overlay-add is getting errors, maybe the folder doesn't exist? The last idea I have, is to extend the arrays on lines 21-23 to have 5 entries by default.

Also, if I play any series, I can't play the next file, so it's only loading one file and not the whole season. This is unlike when I play a local season folder and use autoload.lua

Yeah this is a feature I've thought about, because everything else has it. In the past auto-play on Netflix etc. really annoyed me, but I get why it's useful. At some point I'll add it and make it toggle-able with the options file.

I removed all my scripts and configuration to ensure they weren't causing the problem, but the same thing happened. I’m also using the latest update.
I’m using Emby, not Jellyfin, btw, and it works fine for movies, 4K, and everything else. However, at 0:09 in the video, "TVShows_Series" and "TVShows_Animated" don't appear when I use the website; it just shows the show's list right away.
It's probably an issue on my side since Jellyfin and Emby are not 100% the same, but I thought it was weird because 4k and the the others worked just fine

I get the same stacktrace when trying to navigate into folder with images only. Probably the same would happen with empty folder. There is no item to list and script crashes.


[WIP] adding machine learning extension

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Azure/azure-cli-extensions.git@machine-learning-extension#subdirectory=src/$EXT&egg=$EXT"


About Training

Hello,thanks for your great work！
I find that during training, SEM_SEG_HEAD.POOLING_SIZES is set to [2,2], and during testing, it is set to [1,1]. The purpose of doing this is to improve training efficiency during training, and to help with detailed segmentation and accuracy improvement during testing, Is it correct to understand it this way?

Yeah! I think your understanding is correct.

@xb534 ,hello,i want to know how to save the best model of the highest mIOU during training ?


Potential memory leak

What version of bluebird is the issue happening on?
3.5

What platform and version? (For example Node.js 0.12 or Google Chrome 32)
nodejs 6.9.2

The following code demonstrates the problem:
'use strict';

if (process.argv[2] === 'bluebird') {
    Promise = require('bluebird');
}

log('START');

(function () {
    const x = Promise.resolve(1);

    for (let i = 0; i < 1000000; ++i) x.then(() => {});
})();

log('AFTER');

setTimeout(() => {
    gc();
    log('AFTER GC');
}, 100);

function log(label) {
    console.log(process.memoryUsage().heapUsed, label);
}

When run it with native promises:
$ node --expose-gc case.js native
4156960 'START'
788023832 'AFTER'
4039296 'AFTER GC'

When run it with bluebird:
node --expose-gc case.js bluebird
5925024 'START'
295568448 'AFTER'
40371040 'AFTER GC'     # <== HERE

Are you running without NODE_ENV=production or with long stack traces turned on by any chance?

That's all.
NODE_ENV=production doesn't affect the result =(

I don't see the problem, internal queue sizes are expanded because such huge amount of concurrent promises is anticipated. That's why the memory usage doesn't shrink back to "normal".
Maybe run the same thing 10 times and see if the memory goes always from 281 MB to 38.5MB?

@loyd my read of the code is also that this is retained memory not leaked memory.
Short version:
If the queue resized down on every settle() operation then you'd be resizing twice (one up and one down) every time there was a spike in promises.
Possibly more helpful version:
The benchmark you're doing has a high water mark of 1 million promises on the queue.  The queue doubles in size whenever space is exhausted (starts at 2^16), and never shrinks.  To avoid creating objects, bluebird typically uses 3 sequential slots for every promise.  So when i=699050, the array resizes to accommodate 2^22 entries.  The GC numbers you're reporting work out to 8 bytes per slot, and the way the queue is currently being managed, that sounds about right to me.
I believe there is room for improvement in the time and/or space performance of queue.js, and I intend to do some experiments and see if I can make a dent.  One of the ideas I have in mind might fix your issue, but I don't know yet if it'll pan out.


Create infomila.txt

Hello! I'm studying Web Development here :)

@YoelPLG Pull request merged. Thank you!

Hi! I'm trying to get a free license using an<EMAIL_ADDRESS>but it says:
Your email address does not belong to any university that we know. Contribute your university to our list.
What can be the problem? Thanks!


WIP: various fixes

fix icons and styles as well as an endless loop if SiteTree::get_by_link() in the collision check returns the parent page of a created redirect.
e.g. SiteTree::get_by_link('existing/non-existing') returns the 'existing' page and treats the 'non-existing' part as an action. The module assumes that in this case SiteTree::get_by_link() would return null, but that's not the case.

Found the base issue here:
SiteTree::get_by_link() uses ParentID = 0 in https://github.com/silverstripe/silverstripe-cms/blob/5/code/Model/SiteTree.php#L475 to find the top pages. With Multisites installed, this doesn't work.
Can we mimic SiteTree::get_by_link() here? Because I don't see a way to override that in SiteTree?

Have a look at my workaround... Thanks.

Thanks @xini this looks great

Tagged as 1.1.0


Nordic mcuboot + smp_svr + QSPI smp_shell incompatibility

The following configuration can replace this outdated information to enable Nordic QSPI storage of non-primary image data for MCUBOOT, as long as #25292 is also present:
For devicetree:
diff --git a/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts b/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
index<PHONE_NUMBER>..02c98faaa3 100644
--- a/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
+++ b/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
@@ -249,10 +249,12 @@ arduino_spi: &spi3 {
                        label = "image-0";
                        reg = <0x0000C000 0x000067000>;
                };
+/*
                slot1_partition: partition@73000 {
                        label = "image-1";
                        reg = <0x00073000 0x000067000>;
                };
+*/
                scratch_partition: partition@da000 {
                        label = "image-scratch";
                        reg = <0x000da000 0x0001e000>;
@@ -274,6 +276,19 @@ arduino_spi: &spi3 {
        };
 };

+&mx25r64 {
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               slot1_partition: partition@0 {
+                       label = "image-1";
+                       reg = <0x00000000 0x00080000>;
+               };
+       };
+};
+
 &usbd {
        compatible = "nordic,nrf-usbd";
        status = "okay";

For MCUBOOT:
diff --git a/boot/zephyr/prj.conf b/boot/zephyr/prj.conf
index b316f0e..691a07d 100644
--- a/boot/zephyr/prj.conf
+++ b/boot/zephyr/prj.conf
@@ -42,11 +42,10 @@ CONFIG_FLASH=y

 CONFIG_MULTITHREADING=y

-CONFIG_SPI=y
 CONFIG_FLASH=y
-CONFIG_SPI_NOR=y
 CONFIG_BOOT_MAX_IMG_SECTORS=256
-CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
+CONFIG_NORDIC_QSPI_NOR=y
+CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096

 ### Various Zephyr boards enable features that we don't want.
 # CONFIG_BT is not set

For samples/subsys/mgmt/mcumgr/smp_svr/:
diff --git a/samples/subsys/mgmt/mcumgr/smp_svr/boards/nrf52840dk_nrf52840.conf b/samples/subsys/mgmt/mcumgr/smp_svr/boards/nrf52840dk_nrf52840.conf
index 5b3c3cdd91..3838b4f28f 100644
--- a/samples/subsys/mgmt/mcumgr/smp_svr/boards/nrf52840dk_nrf52840.conf
+++ b/samples/subsys/mgmt/mcumgr/smp_svr/boards/nrf52840dk_nrf52840.conf
@@ -5,7 +5,7 @@ CONFIG_BT_RX_BUF_LEN=260
 # Enable the Bluetooth (unauthenticated) and shell mcumgr transports.
 CONFIG_MCUMGR_SMP_BT=y
 CONFIG_MCUMGR_SMP_BT_AUTHEN=n
-CONFIG_MCUMGR_SMP_SHELL=y
+#CONFIG_MCUMGR_SMP_SHELL=y

 # Enable the LittleFS file system.
 CONFIG_FILE_SYSTEM=y
@@ -13,3 +13,7 @@ CONFIG_FILE_SYSTEM_LITTLEFS=y

 # Enable file system commands
 CONFIG_MCUMGR_CMD_FS_MGMT=y
+
+CONFIG_NORDIC_QSPI_NOR=y
+CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096

(A) If CONFIG_MCUMGR_SMP_SHELL=y is selected the smp_svr application deadlocks.  This should be investigated
(B) Once the issue with the shell is resolved it would be good to integrate this capability into an example to address the question raised in #25263.

I tried this and it's not quite working.  I am able to upload the image and see it in slot1 with the hash.  When I test the image, it looks like it never sets the flags to pending.  Upon reset it just doesn't try switching the image, just runs slot0 image again.  Any thoughts?

I believe you have to use mcumgr image confirm

@pabigot I tested with internal flash first and everything works fine.
I made the changes above and flashed the new mcuboot and app.  Then I made a small change to smp_svr and compiled/signed the new binary.
I followed these steps:

Upload image
List images
Test image
reset
confirm

with external flash, the test image step looks different the flags of the slot1 are still blank and not marked as pending.  With internal flash, after the test image, the flags are marked as pending.  See external qspi mcumgr steps and output here: https://pastebin.com/QUA60vA4
With internal flash steps here:https://pastebin.com/YwGgZvhy

OK, I can confirm that.  The problem is probably lack of sub-word write support (the other side of #25292).  A solution is in nrfconnect/sdk-zephy#305 but has not been upstreamed.

@rerickson1 OK I think this works.  You'll need #25971.  See https://github.com/zephyrproject-rtos/zephyr/pull/25971#issuecomment-639017038 for pointers to mcuboot and zephyr branches that I've confirmed work.
I've opened  #25981 for the issues we've been discussing; please continue any feedback there so this issue remains specific to the apparent inability to use smp_shell in this environment (which may or may not be fixed as a result of #25971).


vertxEventBusService not working after 6 seconds disconnection when using explicit reconnect approach

Subject of the issue
I am setting vertxEventBusProvider.useReconnect(false); to be able to stop the client from reconnecting automatically at a later point in time because I have a special app which should be connected for only 3 minutes. Withing those 3 minutes reconnects should possible. Therefore I have to use the explicit reconnect approach:
//within the vertx-eventbus.system.disconnected event
reconnectTimer = $interval(function () {
   vertxEventBus.reconnect(true);
}, 4000);

and
//within the vertx-eventbus.system.connected event
$interval.cancel(reconnectTimer);

This explicit reconnect approach seems to work in the first place because the vertx-eventbus.system.connected event gets fired after the reconnect happens. But there are several issues after the reconnect:

vertxEventBusService.send() does not reach the server anymore
vertxEventBusService.send() with an expected reply does not respond (neither success nor error)
vertxEventBusService.on() won't receive any messages from the server
previously registered handlers won't receive messages anymore

All of these issues appear only if the disconnection takes at least 6 seconds before the client reconnects. It doesn't matter if you register a message handler or send messages to the server before the disconnection.
These issues do not appear when the disconnection takes only 2 seconds. But a reconnect after 2 seconds disconnection introduces another issue: The "disconnected" event gets fired for every incoming message.
Note: everything works fine when using the automatic reconnect feature vertxEventBusProvider.useReconnect(true); even after 20 seconds disconnection or more.
Your environment

version of angular-vertxbus 6.3.0
version of angular 1.6.4
which browser and its version Chrome 61 (mobile)

Steps to reproduce
The following reproducer is able to show the issues. It uses vertx 3.4.2 and angular-vertxbus 6.3.0 with the latest depedencies.: https://github.com/leolux/angular-vertxbus_reconnect
Expected behaviour
vertxEventBusService stops working after the reconnect
Actual behaviour
vertxEventBusService works the same way as when using the automatic reconnection option vertxEventBusProvider.useReconnect(true);

The explicit reconnect approach would be unnecessary if vertxEventBus.close(); would work and would stop the reconnection. But it does not.

Angular 3.4.2?
Maybe we should disable reconnect when using vertxEventBus.close() explicitly. However, this will require some internal "work" I guess.

In the reproducer I have angular 1.6.4. I have updated the initial post.
Are you able to reproduce the issue?

Not yet. But the current situation is well-documented and flagged as feature. Maybe a design issue.
https://github.com/knalli/angular-vertxbus/blob/18a2c6325f154946cf50f0702b587bbaa3042023/src/lib/adapter/EventBusAdapter.js#L230-L248
Maybe an additional flag boolean disableReconnect is enough.

Sounds good!
Currentrly I have a bunch of important work to do which means I am busy for the next 2 or 3 weeks.


connection timeout

i tried many docker images and yours is the best documented.
but i can't seem to connect to my ark server.
i forwarded all the ports in my router., at one point i even put it in dmz mode
i tried it on my server and laptop the later one running the latest ubuntu, docker etc.
i double checked the port with nc -z -v -u  MYPUBLICIP 8889 which mentioned it port [udp/*] succeeded!
and if i close the asa server it mentions it closed. so my assumption is that the connection if properly forwarded
i don't have a advanced setup like mentioned in the other issue.
and i run other services in docker and port forwarded. and these services work just fine.
as you can read i have no idea anymore where what to check
any help or suggestions would be appreciated

Here are a few things I would try and check:

Double and triple check your network config.

Sorry if you have tried all the stuff I'm about to list, but a configuration sanity check is always the easiest place to start.
Make sure the ports used by the docker container match your port forwarding and fire wall rules.
If your using all docker network defaults it should be in bridge mode and the container should share the IP of the cost it is running on.
 It might be hitting your router's IP table and get routed right back to the LAN. This is just speculation though.

Check if you can connect on the same LAN segment, ignore port forwarding and firewall rules for now.

Open ARK SA then open the console and use the open IP:PORT  command and see if connects
Last time I checked the open IP:PORT did allow a password option, so remove the password from your server for this test.
If you really want to remove most of the networking elements try to run the server and client on the same system and use localhost/<IP_ADDRESS> to connect to the server.

If you are trying to find the server via in the in-game server browser make sure you have the new Show Player Servers option checked.

This was added like a month ago so they can filter between Nitrado owned server and everyone else.
Also checkout a 3rd party site like https://www.battlemetrics.com/servers/arksa to see if they can see your server

With Battle Metric search via your public IP address

Check any networking specific features you may be using on your network.

I know you said your network setup is simple but check every feature you use
For instance, if your rely on a local DNS server verify its working correctly
Look at VLANs, Port Forwarding/ and Firewall Rules

Let me know if any of the things mentioned above helps your or at least point you in the right direction. If need be I can spin up a VM and try replicate your environment to the best of my ability.

thanks for the complete writeup. i did check all of your bulletpoints.
and i narrowed the problem a bit.
so it seems that ppl from outside my network can join the server perfectly fine.
but the playstation within the same network gets a timeout. so something strange is happening.
although i'm not sure what

okay i found a nasty little bug in my router when nat acceleration is enabled
thanks for your quick reply and help :)
for anyone who runs in to this see for more information:
https://www.snbforums.com/threads/no-nat-loopback-on-rt-ac68u-running-386-5-2.78893/
https://www.snbforums.com/threads/potential-bug-with-udp-nat-loopback-hairpinning.70892/page-2

Interesting, on the last release of the container the console versions of the game were not out yet. So I never had the chance to test the console release, but I also don't have any consoles to test with in the first place.
Are the other people joining your server also on a console?
Do you see any activity in the container log when other people join? How about when you try to join locally? What does the IP address look like when you join on the same LAN segment? Is it a private IP address or from the Docker network (172.x.x.x)?
I'm wondering if it has something to do with the networking players are joining from. When someone outside your network tries to join it will be obviously be represented by their public IP; however, when you try to join locally it the IP would be coming from a private RFC 1918 address (192.168.x.x, 10.x.x.x,...). Maybe there is something with how the server is advertised in the in-game browser?

You beat me to the reply lol.
Awesome! Glad your found the issue.
Let me know if we are good to close the issue, or if you want, feel free to close it yourself!

thanks for all the help so far.
and i hope more ppl will take a look after this repo.
as most of the others are not really feature complete to say it nicely

Thank you, I really strived to make a container that I personally was satisfied with!
If there are any other features you want/think I should implement just let me know.
I never actually advertised this container because most of my friends have already abandoned the game already. Although I'm not still actively developing new features I'm more than happy to help fix bugs and implement features if people request them.


Cap highlighter execution time

I saw at friend's computer that zsyh caused ~0.8s delay after each key press when PWD was directory with 89000 files IIRC. Tested this on my machine and the lag is like 100 ms, though. However, what about NFS and cases where someone has even more files. I thought about a betterment: use float SECONDS to establish limit (300ms? zstyle?) on how long region_highlight should be generated. If the limit isn't kept then clear the table and stop generation of its entries. This would be triggered also for e.g. pasting long and/or sophisticated code.

(OT: Congratulations on filing a perfect square.)
I think you raise two separate issues:

Speed on large directories
Enforcing a timeout

I think a timeout is a good idea.  It's also pretty trivial to implement (declare SECONDS outside the loop and break inside it if it exceeds some threshold).  The real question would be whether we take this opportunity to make the threshold configurable via zstyles as opposed to global parameters.
I also have another idea: we already cache the "previous" value of $BUFFER in $_ZSH_HIGHLIGHT_PRIOR_BUFFER.  We could compute the largest common prefix of these variables and re-use the previous invocation's $region_highlight array up to the common point.  In the common case of editing near the end of the buffer this should be a big win.  For the case of editing a huge function, something more interesting is going on:
In the workfow fned ${function}\n <edit-command-line> :wq ^X^W, highlighting is not invoked even once.  I'm not sure whether that's a bug or a feature, given that highlighting would be slow and isn't needed since the actual editing is done in $EDITOR...
This "common prefix" idea would break down if somebody has a zle widget that changes any state z-sy-h cares about (for example, echo foo bar<mywidget> where mywidget creates or deletes the file foo).

Fned doesn't call highlighting because of the disable of vared you once pointed me to? (if [[ $CONTEXT == (select|vared) ]]; in main highlighter). As for your proposition, it arose to me that a gradual processing of $BUFFER could be implemented? 300 ms after each keypress (BTW I thought that the earlier 300 ms I gave is rather too small value as general limit) and extending of region_highlight – might be interesting for non-vared situations. For vared and large functions I think the 300 ms should be used every e.g. 1 second, so sched had to be used, and complexity and robustness of all this is difficult to predict. However I think it would be nice to see how large function in vared gradually gains color, and that too could be configurable and disabled via zstyle (I think zstyle is nice to introduce, "base" config can still be in parameters).

As for your proposition, it arose to me that a gradual
processing of $BUFFER could be implemented? 300 ms after each
keypress (BTW I thought that the earlier 300 ms I gave is rather too
small value as general limit) and extending of region_highlight
– might be interesting for non-vared situations.

I think it would be very annoying to have a 300ms delay after every keypress.

For vared and large functions I think the 300 ms should be used every
e.g. 1 second, so sched had to be used, and complexity and robustness
of all this is difficult to predict.

I don't understand the phrase "sched had to be used".

However I think it would be nice to see how
large function in vared gradually gains color, and that too could be
configurable and disabled via zstyle (I think zstyle is nice to
introduce, "base" config can still be in parameters).

See #362 about zstyles.

I mean zsh/sched module. Used it with zsh-morpho, verified to some extend that it's robust (stuff like TRAPALARM can cause lot of mess)

I mean zsh/sched module. Used it with zsh-morpho, verified to some extend that it's robust (stuff like TRAPALARM can cause lot of mess)

I see.  As I said in my last comment, I believe a regular 300ms delay would result in bad UX.

How often does this problem occurs?  I'm trying to estimate how urgent/important this issue is.

I couldn't reproduce it, but for sure I saw it happening. Could someone give a report about NFS? If there is a problem then this should be treated as important, it's then like Cygwin – not a main platform, maybe not that common as Linux boxes (let's assume this for a moment), but failing at it wouldn't make ZSYH look good (thanks to m0viefreak's patches I gues that one is solved).

I tried sshfs to a remote server, in a not-as-large directory.  It was slower than locally, but usable.  Given that I passed -o cache=yes to sshfs, I'm inclined to think the root cause of the slowness lies with sshfs or possibly the kernel (I'd expect performance when caching is enabled to be identical to performance on local directories).
So, summary so far:

Anecdotal evidence of slowness on large directories.  I'd rather see a reproducible case of this before we start thinking of way to fix it.  Let's track this problem on a separate issue.
Idea to cap highlighter execution time.  Tracked as #361 (this issue).
Idea to optimise through common prefixes.  Tracked as #369.

I have an additional idea that may help with this discussion.
For (1), it's easy for me to reproduce on sshfs where I get the bad UX of keystrokes not appearing until some time after I type them.
For (2), instead of a cap on execution time, I recommend an async delay where processing does not occur until I stop typing. I don't mean to imply 300ms of wait-for-each-keystroke, but a moving window that prevents highlighting from attempting to process until there's some very short break in typing. This would deal with laggy situations. A more advanced implementation could even automatically tune that delay to match the processing time of the syntax highlighter - if it takes 1ms to run, then you can run it every 1ms. If it takes 200ms, the window should be 200ms.

A execution time cap would save me right now. Whenever I type ls /afs/ and some character (except space) after it, the terminal freezes before even showing the character written on the screen.
I disabled other plugins and customizations and managed to nail it down to this one.
The /afs folder is mounted by OpenAFS and is only connected to 3 servers (therefore 3 subfolders, I replaced the default enormous list). It's a slow filesystem/connector/thing and I can't make it any faster no matter how much I fiddle with the options.

@addobandre Your best bet is probably to patch _zsh_highlight_main_highlighter_check_path so paths that start with /afs aren't stat()-ed.  I'd be happy to take a patch that adds allows the user to configure a set of paths that shouldn't be highlighted; if you're interested could you please pursue in a new issue?


always Checking session: FAIL arma3server monitor by crontab on tmux 1.9a

but manually executes "arma3server monitor" is succeeded

rebooting solved issue ....

What exactly is the problem here? Monitor doesn't work with crontab?

I updated tmux 1.8 to 1.9a, this require rebooting pc...
before rebooting "tmux list-sessions" by cron getting error "failed to connect to server: Connection refused" so monitor always "Checking session: FAIL".
After reboot problem is solved.

Thanks for the info. Closing this.


Not Working on Other Domains Than .com

The current version only works for google.com. We should make it work on the others too e.g. google.de etc.

fixed in 0.1.8


Create Balsamiq low-fidelity mockups

@Chibogret Kindly add the balsamiq screens here. Thanks!

Landing/Home Page - This includes a listing with categories and a carousel section for raising awareness, promoting featured listings, and showcasing promotions.

Search Page - This displays the results based on the filters selected by the user. Ideally, both a list view and a grid view should be implemented.

Details Page - This provides comprehensive information and details about a specific listing. It presents a detailed description, high-resolution images, key features, contact information, and any additional relevant information.


Update README to include filename syntax

Just noticed that README didn't mention what is accepted for file.
For example, does it support src/**/*.{ts,tsx} (yes, it does)?

This should be definitely added to the docs :wink:

I've made a pull request https://github.com/palantir/tslint-react/pull/94 to tslint-react

☠ TSLint's time has come! ☠
TSLint is no longer accepting most feature requests per #4534. See typescript-eslint.io for the new, shiny way to lint your TypeScript code with ESLint. ✨
It was a pleasure open sourcing with you all!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


find blas problem

we get
CMake Warning at SuperBuild/External_Gadgetron.cmake:68 (find_package):
  By not providing "Findblas.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "blas", but
  CMake did not find one.

I believe I commented about this before but didn't find it.

On Linux something like this could work

if (ENABLE_BLAS)
  find_package(PkgConfig REQUIRED)
  pkg_check_modules(openblas REQUIRED openblas>=0.3)
  set(BLAS_LIBRARIES ${openblas_LIBRARIES})
  set(BLAS_INCLUDEDIR ${openblas_INCLUDEDIR})
endif()

I think this line is wrong. It should be

If I remember correctly, Gadgetron is the only package in the Superbuild that requires BLAS. We do the find_package so that we can pass CBLAS_INCLUDE_DIR and CBLAS_LIBRARY in External_Gadgetron.cmake.
As far as I understand, it doesn't matter how we do it provided we give these two variables. However, we do want to avoid Apple's library if possible (because of this issue: https://github.com/gadgetron/gadgetron/issues/719).

CBLAS is not picked up anyway. Gadgetron's got a FindCBLAS.cmake module.
However, the warning reported
CMake Warning at SuperBuild/External_Gadgetron.cmake:68 (find_package):
  By not providing "Findblas.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "blas", but
  CMake did not find one.

is due to the fact that we issue find_package(blas) rather than find_package(BLAS)

just for reference this is the CMake documentation for https://cmake.org/cmake/help/v3.13/module/FindBLAS.html
At any rate, the only thing that must be changed is this line
find_package(BLAS)


Network error: invalid JSON response

Describe the bug
After updating webui from 9e78d2c to 4b3c5bc, I get a Network error: invalid JSON response when attempting to produce an image with the plugin.
On another note, is there any log saying what the JSON response was, perhaps?

So to clarify, the encryption feature is broken in the latest webUI? Hm, did webUI add its own http body level encryption (in which case it would interfere).

The issue is caused by the encryption middleware being added twice due to a bug in https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/0b5dcb3d7ce397ad38312dbfc70febe7bb42dcc3 where the on_app_started() callback is called twice.
I've added a workaround in https://github.com/Interpause/auto-sd-paint-ext/commit/5a3dcc8517d91ccbb65ed0e2f10e3324686b7c78, though the workaround means the extension will fail if restarted via the webUI restart button.


Assigning a property of sortable: true and defaultSortDirection: ASC|DESC does not sort the table by default

I'm attempting to sort a table by a value of "Last Modified" by default but it doesn't seem to work.
{
    dataIndex: 'updated_at',
    name: 'Last Updated',
    sortable: true,
    defaultSortDirection: 'ASC',
    renderer: ({ column, value }) => {
        return <DateTime key='much-unique' dateTime={value} />
    }
}

It places the sort icon (also not working, but probably a font issue), but it doesn't seem to be actually sorting anything (the default order still persists)

I can't find any documentation that states how to properly do this. What am I doing wrong?

Hi,
has anyone found a solution?


Issue413 durack1 pcmdi logo for branding

Fix #413 - Added png logos for branding
@gleckler1 @doutriaux1 as discussed in #413 - oblong is the non-gridded version

@doutriaux1 it seems the portrait issue is still alive in this PR can you take a look please?

@durack1 push and pr behave differently, I think one merges master in first the other  not. Try to merge master into that branch

@doutriaux1 ok trying again.. This might be a case of needing to merge #417 into master before updating this branch again..

@doutriaux1 ok good to go

@durack1 I'll edit this branch to actually use the log, before merging. Ok?

@doutriaux1 perfect, it would be better to actually be using these rather than just dumping them.. So please go ahead..

@doutriaux1 the quality of the images are pretty terrible - both the logo and the text for the colorbar, and the top of the colorbar too, see below:


revert changes

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)

Fixed Changes in Main branch with createclasses branch

cool, thanks


Connection closed for unknown reason

Lately I've been having a lot of issues running topologies. Two errors occur quite often, giving no indication as to what's wrong.
2015-08-12 08:58:08 b.s.d.executor [ERROR]
java.lang.RuntimeException: com.microsoft.eventhubs.client.EventHubException: org.apache.qpid.amqp_1_0.client.ConnectionClosedException: Connection closed for unknown reason
	at com.microsoft.eventhubs.spout.EventHubSpout.open(EventHubSpout.java:156) ~[stormjar.jar:na]
	at backtype.storm.daemon.executor$fn__5064$fn__5079.invoke(executor.clj:542) ~[storm-core-<IP_ADDRESS>.2.7.1-0004.jar:<IP_ADDRESS>.2.7.1-0004]
	at backtype.storm.util$async_loop$fn__550.invoke(util.clj:463) ~[storm-core-<IP_ADDRESS>.2.7.1-0004.jar:<IP_ADDRESS>.2.7.1-0004]
	at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]
Caused by: com.microsoft.eventhubs.client.EventHubException: org.apache.qpid.amqp_1_0.client.ConnectionClosedException: Connection closed for unknown reason
	at com.microsoft.eventhubs.client.EventHubConsumerGroup.ensureSessionCreated(EventHubConsumerGroup.java:64) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.client.EventHubConsumerGroup.createReceiver(EventHubConsumerGroup.java:39) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.client.ResilientEventHubReceiver.initialize(ResilientEventHubReceiver.java:63) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.EventHubReceiverImpl.open(EventHubReceiverImpl.java:74) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.SimplePartitionManager.open(SimplePartitionManager.java:77) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.EventHubSpout.preparePartitions(EventHubSpout.java:134) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.EventHubSpout.open(EventHubSpout.java:153) ~[stormjar.jar:na]
	... 4 common frames omitted
Caused by: org.apache.qpid.amqp_1_0.client.ConnectionClosedException: Connection closed for unknown reason
	at org.apache.qpid.amqp_1_0.client.Connection.checkNotClosed(Connection.java:338) ~[stormjar.jar:na]
	at org.apache.qpid.amqp_1_0.client.Connection.createSession(Connection.java:322) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.client.EventHubConsumerGroup.ensureSessionCreated(EventHubConsumerGroup.java:61) ~[stormjar.jar:na]
	... 10 common frames omitted

2015-08-12 08:59:44 b.s.d.executor [ERROR]
java.lang.NullPointerException: null
	at org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.getFirstFreeChannel(ConnectionEndpoint.java:327) ~[stormjar.jar:na]
	at org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.createSession(ConnectionEndpoint.java:230) ~[stormjar.jar:na]
	at org.apache.qpid.amqp_1_0.client.Session.<init>(Session.java:58) ~[stormjar.jar:na]
	at org.apache.qpid.amqp_1_0.client.Connection.createSession(Connection.java:323) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.client.EventHubConsumerGroup.ensureSessionCreated(EventHubConsumerGroup.java:61) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.client.EventHubConsumerGroup.createReceiver(EventHubConsumerGroup.java:39) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.client.ResilientEventHubReceiver.initialize(ResilientEventHubReceiver.java:63) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.EventHubReceiverImpl.open(EventHubReceiverImpl.java:74) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.SimplePartitionManager.open(SimplePartitionManager.java:77) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.EventHubSpout.preparePartitions(EventHubSpout.java:134) ~[stormjar.jar:na]
	at com.microsoft.eventhubs.spout.EventHubSpout.open(EventHubSpout.java:153) ~[stormjar.jar:na]
	at backtype.storm.daemon.executor$fn__5064$fn__5079.invoke(executor.clj:542) [storm-core-<IP_ADDRESS>.2.7.1-0004.jar:<IP_ADDRESS>.2.7.1-0004]
	at backtype.storm.util$async_loop$fn__550.invoke(util.clj:463) [storm-core-<IP_ADDRESS>.2.7.1-0004.jar:<IP_ADDRESS>.2.7.1-0004]
	at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]

@BennyM Thanks for reporting and using our service.
One of the reasons I know where can happen is if your connection is being throttled.
These errors are usually retried i.e. the spout task will re-establish the connection if its dropped. Did you see that happen?
The error message should certainly be improved to make that clear (if that's the case). I know that it is much more clearer in the C# client for EventHubs.
Understanding the EventHubs throughput units
EventHubs by default has a concept of throughput units that you find under the "scale" tab in your namespace. Each unit means 1 MB/s.
This bandwidth is shared across your entire namespace not a single EventHubs. So if you have multiple services underneath this namespace, they will share the throughput.
You can go increase upto 20 throughput units in the Azure Portal, which gives you 20 MB/s across your name space. So with 8 partitions single EvenHubs in a namespace, each partition can get 2.5 MB/s.
Also a single partition cannot go beyond 5 MB/s. So its best to create the partitions based on categorization of your data. The scaling however should be handled via the throughput units.
On contacting support the number of partitions and the throughput can be increased to larger numbers like 128 partitions and 100 units as well.
Through enterprise contracts, EventHubs also provides throughput upto 1 GB/s.
Hope this helps, let me know if you have follow-up questions in this regard. I will also bring this in notice to the EventHubs team.
How to troubleshoot if it was indeed throttling
One of the ways I can think of is contacting Azure Customer Support, providing them with the EventHub details, the partitions where this happened and the time ranges. Someone from support or the product team should be able to guide on why such errors happened in your EventHubs at that time.

If there are issues with connections, we recommend to use newer storm-eventhubs from the hdinsight repository for now. These changes will make it to Apache Storm as well.
A new client for azure-event-hubs is also available now, which should hopefully address connectivity issues better. Right now, I have opened this issue in storm-eventhubs to track that ask: https://github.com/hdinsight/storm-eventhubs/issues/11


feat: Reflect flow health probes in Pipeline status conditions

Description
Changes proposed in this pull request (what was done and why):

Changes refer to particular issues, PRs or documents:

Traceability

[ ] The PR is linked to a GitHub issue.
[ ] New features have a milestone set.
[ ] New features have defined acceptance criteria in a corresponding GitHub Issue, and all criteria are satisfied with this PR.
[ ] The corresponding GitHub issue has a respective area and kind label.
[ ] The follow-up issues (if any) are linked in the Related Issues section.
[ ] Adjusted the documentation if the change is user-facing.
[ ] The feature is unit-tested
[ ] The feature is e2e-tested

/test pull-telemetry-manager-build


[#600] Remove CosmosDB deprecated tests

Fixes # 600
Description
This PR removes the tests for the deprecated CosmosDB class CosmosDbStorage as it was removed from the SDK in [PR#6370](https ://github.com/microsoft/botbuilder-dotnet/pull/ 6370)
Detailed changes

Removed test class CosmosDbStorageTests.
Removed unnecessary CosmosDbStorageFixture class.
Updated method to determine if the service is running in CosmosDbBaseFixture class.

Testing
These images show the tests passing locally and in the pipeline.

/promoted 601


Builtin for npush()

Following on from discussion in #108.

Should we have a seperate builtin to replace npush (or could push do both lists and dicts)?
Should it be called npush or dpush?

Discussed at RAL workshop. We agreed that it would be good to have a dpush builtin which has the same semantics as the current npush PAN function.


Nice job, but UPX is not good.

Hello everyone,
Nice idea for Aot version. But I don't need upx. But I find funny because single executable requires 2 libraries as *.a for Linux/macOS and *.lib for Windows via directinvoke.
If you use musl-libc Linux like Void-Linux or Alpine then you just add then clang error message and copy whole output of error message and replace "clang" with musl-g++ -static and find -lrt and add -lSkiaSharp -lHarfBuzzSh then strip -S AvaloniaAOT then it looks small executable ca 10 mb under Linux.

Every once in a while I come back to this repo to mess around.
Anyway, I would recommend against using UPX too. Unless you're making a tool that's very, very rarely used so you'd rather save disk space.
The reason being that it hurts startup times. Aside from the obvious decompression, there's also another contributor.
It's actually in fact I/O.
For UPX to work, it must read and decompress the whole binary at once in memory.
Meanwhile a regular, uncompressed binary can use Demand Paging to dynamically load the code on page faults only as it's needed.

Every once in a while I come back to this repo to mess around.
Anyway, I would recommend against using UPX too. Unless you're making a tool that's very, very rarely used so you'd rather save disk space.
The reason being that it hurts startup times. Aside from the obvious decompression, there's also another contributor. It's actually in fact I/O.
For UPX to work, it must read and decompress the whole binary at once in memory. Meanwhile a regular, uncompressed binary can use to dynamically load the code on page faults only as it's needed.Demand Paging
In practice the difference in boot times is not likely to be very high, but it exists.

By default, upx will be disabled 8b4cc5ce89cd66932c705f2e9d3cfc76eee9c56d


Combination of Vue.js and Carousel gives Division by zero

https://github.com/Dogfalo/materialize/blob/9bc43a1199ad5dfb78d58ba47726ab039218a939/js/carousel.js#L180
I am using Vue.js to fill the links / images in the carousel like this:

The width of those unfilled images was zero which causes division by zero on line 180. I fixed the issue temporarily by setting a min-width on the a.carousel-item, but it would be great if this case could be handled by the carousel instead.

Fixed in v1-dev branch
https://github.com/Dogfalo/materialize/blob/v1-dev/js/carousel.js#L63


Add support for type ArrayMap

Im not sure if this is a CLJ or CLJS comment.
When I send a larger array-map as transit, it loses order when being converted back in cljs.  It does look like the data continues to maintain order through the conversion to transit.
My array-map is 12 elements long (ie larger than than the 8 elements where the default map structure is already a array-map.  When my data was less than 8 elements, order was maintained.

Transit maps are not ordered (and in general, adding this requirement might be difficult in other language implementations) so I do not think this is something that should be in transit-clj or transit-cljs.

array-map -> transit does keep the order.  This could probably all be done in the cljs handler, with an optional parameter to set any map as an array-map.

again, transit maps are not ordered and you shouldn't rely on that being preserved, even if it's a property of the current implementation

Closing here, don't think there is anything to do. Could maybe discuss in transit-cljs.