Can't exlclude node_modules

I will apologise in advance, I feel this is likely to be a lack of understanding on my part, I've tried a lot of different things to get this to work though.
I'd like to exclude the contents of any node_modules folders, in any project. In ST2 I'm going to Preferences > Package Settings > ToDoReview > Settings - Default. Inm exclude_folders I'm trying all sorts of:
	"*node_modules*",
	"node_modules*",
	"node_modules",
	"**/node_modules/**"

(node_modules could appear at various depths in my projects' directory structures)
But I'm always seeing stuff from various node_modules folders in my review list - what am I doing wrong?
Thanks,
Toby

The following works for me.
{
	"exclude_folders": [
		"*.git*",
		"*node_modules*"
	]
}

And am I putting it in the right place (Settings - Default)?
In case the extra detail helps, it's a CakePHP project where I'm using grunt for some build stuff, so node_modules isn't in the project root, it's at  - app - node_modules (and in various locations below that).

It should be in your TodoReview user settings, but default would work as long as you don't have user settings overwriting them.

Probably me, I just can't get this to work though.


Update social links to use fontawesome icons / navbar improvements

Eliminate external dependency for social sharing link images

merging this because it fixes #53 and also an error in dev console because iconarchive, the site which was used to grab the RSS icon, didn't serve over https, which made https://trumptracker.github.io lose the green SSL lock.


Error installing colorama for Debugger plugin. Windows 10 x64 20H2

Binary Ninja Version: 2.3.2698-dev Personal, 5fbc89db
Platform: Windows 10 Version 2009
When I tried to install the debugger plugin it told me I needed colorama and I told it to install it. The debugger plugin remains disabled and I saw a red X and 7 displayed in the status bar so I clicked it and saw this:
Loaded UI plugin triage Exception ignored on calling ctypes callback function: <bound method PythonScriptingProvider._install_modules of <binaryninja.scriptingprovider.PythonScriptingProvider object at 0x0000026389CB9850>> Traceback (most recent call last):   File "C:\Program Files\Vector35\BinaryNinja\plugins\..\python\binaryninja\scriptingprovider.py", line 918, in _install_modules     python_bin, status = self._get_executable_for_libpython(python_lib, python_bin_override)   File "C:\Program Files\Vector35\BinaryNinja\plugins\..\python\binaryninja\scriptingprovider.py", line 904, in _get_executable_for_libpython     python_bin = Path(get_install_directory()) / "plugins\\python\\python.exe" NameError: name 'get_install_directory' is not defined Successfully installed plugin: Debugger Loaded python3 plugin 'Vector35_debugger' Successfully disabled: Debugger

Replied via email as well, but putting the answer here for others:
Are you using the latest dev? The latest dev will actually install the dependencies for you automatically. Check your update channel. https://docs.binary.ninja/getting-started.html#updates
The other issue is probably that the python that Binary Ninja is using is not the one you pip installed the dependencies to. You can check that by checking your settings (CMD/CTL + , ) and searching for "python" to see the python interpreter (or this exact setting name: https://docs.binary.ninja/getting-started.html#python.interpreter). Just change to the python version that matches where you installed the dependency.

 That said, the advice about switching to the python that you manually installed the dependency for is still valid, but it should automatically install the dependency for you. Let me double check on a windows VM to see if I can replicate that error.

Ahh, found the culprit. Thanks for reporting this! New build is underway and should be live in a few hours on the update server. Builds 2699 and above should work on windows to automatically install the dependency for you.


Issue: vscode icon has wired non-opacity in the middle

The VSCode icon in this repo

The VSCode icon in vscode-icons

There is this kind of diff in visual-studio.svg

I just opened the SVG, and there's nothing in the middle.
https://cdn.svgporn.com/logos/visual-studio-code.svg
I've used the official logo from https://code.visualstudio.com/brand


Render tweet with attached link

Link is shortenned, by e.g., bit.ly, and already included in the tweet text
Debug the link (like Facebook Debugger) to get appropriate thumbnail and description
If "debuggable", remove link from the text. Define arbitrarily what will be showned along with the link, with the information got from the debugger

Summarize the steps:

Create a directive inside status directive to contain the debugged result with separate template.
In the new directive recipe, pass in current status text, filter text to get external link
Meanwhile, create a service in SearchService to debug the link
Successful debugging should result embedding tags
Interpolate the tags
Profit!

Done with #139


[ci] Obtain Lychee with Bazel (@lychee//:lychee)

This commit makes it possible to run ci/scripts/check-links.sh without worrying which version of Lychee is installed locally.

@HU90m Curious what you think of this change. I wanted to play with the CI script locally, but quickly realized I didn't have Lychee installed. I think we might as well track the dependency in Bazel so we never have to worry which version is installed on which machines.

I've been having a hard time getting CI to pass on this PR, probably due to the CI slowdown other folks are seeing. I just experimentally rebased on top of 8186cbb9b8a87e8d297ecb2c72a8e0c93e4cdd3c after seeing @a-will's comment that it's the CI performance baseline. If CI now passes in the usual amount of time, then it seems likely that a commit between 8186cbb9b8a87e8d297ecb2c72a8e0c93e4cdd3c...b0a9c9c3a1fa97ad1e3c0201f7604cf595269e9d is responsible for the CI slowdown.

I've been having a hard time getting CI to pass on this PR, probably due to the CI slowdown other folks are seeing. I just experimentally rebased on top of the older commit 8186cbb after seeing @a-will's comment that it's the CI performance baseline. If CI now passes in the usual amount of time, then it seems likely that a commit between 8186cbb...b0a9c9c is responsible for the CI slowdown. (This PR was originally based on b0a9c9c.)

Heh, to do that, you'd have to modify the CI flow. CI does its own merge with master, and it brought you up to this merge commit: https://github.com/lowRISC/opentitan/commit/5cdb866a9c44fb622d355f31f75f3cd079b2dde9
This appears to be how steps.checkout works in Azure Pipelines w/ GitHub. You'd probably have to do something manually to the repo to override.

Heh, to do that, you'd have to modify the CI flow. CI does its own merge with master, and it brought you up to this merge commit: 5cdb866
This appears to be how steps.checkout works in Azure Pipelines w/ GitHub. You'd probably have to do something manually to the repo to override.
Alternatively, you could do a git revert of the range of commits you want to remove.

Whoops, I didn't realize this is how CI works. Thanks for explaining that, @a-will.
Just rebased on tip-of-tree this morning.

Thanks, @HU90m! Just added a trivial commit that bumps the Lychee dep to v0.12.0.

@dmcardle I think you also need to update the hash with the version bump


Confidence always "1"

Hello all,
I've been using this function for a while having good results but since last tuesday I'm always getting "1" in the confidence score, no matter if the text is well recognized or not.
Do you guys know why this could be happening?
Any help would be appreciated!!
Regards

Hi @davidfer1991,
Google no longer gives back proper confidence values, unfortunately. That means that we can't really get this information. This happened a while back, actually - we've been returning 1 for a long time now (mainly for backwards compatibility reasons).
However, we do know that the resulting transcriptions are sorted from most confident to least confident. Check out the confidence example for a demo!


Persistent Volume is being created even through enabled=false is set.

When deploying PingFederate as StatefulSet workload, the PVC is being created even though the setting persistentvolume is set to false at the global level. Is this expected and should we override this at the pingfederate-engine level or is this a bug?
values.yaml
global:
  workload:
    type: "StatefulSet"
  statefulSet:
    persistentvolume:
      enabled: false
pingfederate-engine:
  container:
    replicaCount: 1
  enabled: true

When this config is applied, the pod is created with a PVC attached to it with the name

Volume is not being created if workload.type is changed to Deployment
Expectation: I was expecting that by setting the persistentvolume.enabled=false no PVC should be created for this pod.

Nevermind, The issue is due to indentation.
global:
  workload:
    type: "StatefulSet"
    statefulSet:
      persistentvolume:
        enabled: false


Add "Movies for Hackers" awesome list

https://github.com/k4m4/movies-for-hackers
An awesome list containing movies relating to hacker culture.

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

I think you should include a very short summary for each movie. That would make the list more useful. Now it's just a table of random lists. As a user, I'm not going to click them all to find what I want.

The /10 part of the rating 6.8/10 is moot. Just say at the top that the rating is from 1 to 10 and then just use 6.8 for rating instead.

// @k4m4

This does not quite seem to meet the criteria of "awesome" resources as many of the movies listed have relatively low ratings.

Some movies in the "action" category shouldnt be in the list, like The Italian Job, or The island
How is that relevant to hackers ?

Closing for lack of response from the submitter. And I agree that the list shouldn't list movies with low-score rating unless it has commentary there from users on why it's good enough to be included. Actually, the list is not that useful because it's just a list of movies without any kind of justification on why they're awesome/recommended. I would take a note on how it's done here: https://github.com/sindresorhus/awesome-scifi Where users add commentary on why they liked something.
// @k4m4

I appreciate your feedback and will work on it soon. Thanks!


Test suite takes forever

Our test suite is really taking a long time, prohibiting fast development and CI.
A quickish fix could be to run tests in parallel with pytest-xdist.
I the long run I should probably trim down on the crazy parametrization matrix I built into test_grid.py.

I the long run I should probably trim down on the crazy parametrization matrix I built into test_grid.py.

I favor this option.
This should explain how to diagnose the slow tests: https://stackoverflow.com/questions/27884404/printing-test-execution-times-and-pinning-down-slow-tests-with-py-test

I would do both, actually.

I have tried out the implementation of pytest-xdist in #226 and it shaves of 50% of the time it takes to run the tests! 1:30 min vs 3:xx min!
It is a very easy change in the code and I think we should implement it. I think we should still try to trim the test suite but that will be a much more time intensive task.

Another thing to look into could be using mamba instead of miniconda, since the setup of miniconda takes as long (longer if #226 is merged) than our actual tests.

Does anyone have experience with switching from conda to mamba and potential pitfalls?

cc @andersy005

we just have a ton (~4k)

this is a bit ridiculous ;D

this is a bit ridiculous ;D

I know, I know, is there a way to use pytest parametrization to create a 'sparser' matrix? Can def skip some of the options for some of the tests.

Does anyone have experience with switching from conda to mamba and potential pitfalls?

goanpeca/setup-miniconda@v1 GitHub action has an experimental mamba feature (see this example). Even though I've not tried it yet, I highly doubt that it'll significantly reduce the ~2min installation time you are noticing. The times you have in https://github.com/xgcm/xgcm/pull/226#issuecomment-690744370 look pretty good in my opinion.

Ok then i'll just put some time aside to reduce some of the testing parameterizations and otherwise leave it alone.

I am unsure if our caching is setup correctly in ourt github actions. There still seems to be packages solved for each time. Is that the expected behaviour (e.g. we are just saving the download time) or should this run even faster with caching? @andersy005 you were saying the times look good?

here still seems to be packages solved for each time. Is that the expected behaviour (e.g. we are just saving the download time)

The only time that is being saved is the "download time", other than that the environment is re-created each time. I haven't played with the caching mechanism to confirm whether there's room for saving more time....

Should we close this issue? It appears that the current CI runtimes are reasonable

Agreed


sudo systemctl status showing "Line 1-x/x (END)" and I have to type "wq" to exit

I have installed new homebridge and autorestart with systemd. When I type sudo systemctl status, this time there is always "Line 1-x/x (END)" all the time while there was no problem in previously install.
Anyone know how to get rid of this, since I have to type "wq" to exit all the time.

If you use the right arrows you can see the whole message displayed.  I use ctrl+c  to close the lines. I would like to learn a solution to this also.

I saw you already added the homebridge as a system service, this is the command that I use which will give me the correct output with no lines XX/XX, the command is sudo systemctl status -l<EMAIL_ADDRESS>Since I run homebridge as the homebridge user I created, so you might wanna change that.

I was searching this on internet and found the solution here: https://unix.stackexchange.com/questions/356753/bash-always-outputs-to-less-how-can-i-turn-this-off
Simply add this to /etc/profile:
export SYSTEMD_PAGER=cat


fix: Link personal permissions with login repository

Removed personal and team attribute
Removed professional content check as personal is added to all

For personal subscribers, this previous condition was being true for pro contents, however isProfessionalVideoPlaybackAllowed() was false and thus the content gets locked and returns before reaching the personal check
The existing personal and team values will always be false as they are not present and should be fetched from permissions.

Fixed typo

Fixes #352

@sammyd I have fixed the test case and updated it against personal content.

The updated test case now verifies that the user must have personal subscription to view the pro content.
Added another test case which verifies that Basic subscription user (user without any permissions) can not view pro content


zh-tw translation of units

@hjy1210
I've added the ability to speak units to MathCAT. This mainly works if the author adds 'intent=":unit"' to the  to mark "m", "km", etc., as a unit. The translation work that needs to be done is in Rules/Languages/zh/tw/definitions.yaml.
The following lists were added and need translation:

SIPrefixes

SIUnits -- these are all the SI units that take prefixes

UnitsWithoutPrefixes -- these are other "accepted" units and some variants on them

EnglishUnits -- if English units are used in your language, then translate these otherwise delete the contents but leave the name. For example

EnglishUnits: {}

PluralForms -- MathCAT automatically adds "s" for English plurals. I've removed that for the Chinese version because a few test examples in Google translate seem to use the same character for singular and plural . Hopefully that is correct. In English, some words have irregular plural forms (foot -> feet). Change this list to include any irregular plural units. Make it empty if there are none.

In English, fractions with units don't use the word over, they use "per" as in "meters per second". Does Chinese have that special case?
Let me know if you have any questions. Please make a PR when you have done the translation.

Try copying tests\Languages\en\units.rs to tests\Languages\zh\tw\units.rs. Change all of the "en" to "zh-tw". Also add a line mod units; to tests\Languages\zh\tw.rs.
After that, if you run the tests (cargo test tw::units), you'll get a lot of failures. What I've done for the other languages is to copy the results of running the tests (the Chinese results in this case), and replace the English results with the Chinese results. Then look at the Chinese results carefully and correct any mistakes in them. They will then fail when you rerun the test and so you can correct them in either definitions.yaml or possibly SharedRules/general.yaml.
There are a lot of tests. You might want to only do a few of them if it is too much work. Or you can do a PR for what you've done and I'll copy over the results. Having done it many times, I've gotten faster at it. You would then need to correct anything that is wrong in the test results and then correct definitions.yaml and/or  SharedRules/general.yaml.
Note: I have modified the unit rule in  SharedRules/general.yaml. If Chinese has a common plural ending, copy the rule from the "en" version. Otherwise, copy it from the "vi" version.
Let me know if you have any questions.

I encounter some problem.

In Rules/Languages/zh/tw/definitions.yaml, modify line 20  as "A" : "安培",
In tests/Languages/zh/tw/units.rs, lines 69-95, modify as :

fn si_base() {
    let expr = r#"<math>
        <mn>1</mn><mi intent=":unit">A</mi><mo>,</mo><mn>2</mn><mi intent=":unit">A</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">cd</mi><mo>,</mo><mn>2</mn><mi intent=":unit">cd</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">K</mi><mo>,</mo><mn>2</mn><mi intent=":unit">K</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">K</mi><mo>,</mo><mn>2</mn><mi intent=":unit">K</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">g</mi><mo>,</mo><mn>2</mn><mi intent=":unit">g</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">m</mi><mo>,</mo><mn>2</mn><mi intent=":unit">m</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">mol</mi><mo>,</mo><mn>2</mn><mi intent=":unit">mol</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">s</mi><mo>,</mo><mn>2</mn><mi intent=":unit">s</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">″</mi><mo>,</mo><mn>2</mn><mi intent=":unit">″</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">"</mi><mo>,</mo><mn>2</mn><mi intent=":unit">"</mi><mo>,</mo>
        <mn>1</mn><mi intent=":unit">sec</mi><mo>,</mo><mn>2</mn><mi intent=":unit">sec</mi>
    </math>"#;
    test("zh-tw", "SimpleSpeak", expr,
        "1 安培, 逗號, 2 amps, comma, \
                1 candela, comma; 2 candelas, comma, \
                1 kelvin, comma, 2 kelvins, comma, \
                1 kelvin, comma, 2 kelvins, comma, \
                1 gram, comma, 2 grams, comma, \
                1 metre, comma, 2 metres, comma, \
                1 mole, comma, 2 moles, comma, \
                1 second, comma, 2 seconds, comma, \
                1 second, comma, 2 seconds, comma, \
                1 second, comma, 2 seconds, comma, \
                1 second, comma, 2 seconds");
}

When I test si_base, I expect <mn>1</mn><mi intent=":unit">A</mi><mo>,</mo> part will match, but I got following messages:
Executing task: C:\Users\hjy\.cargo\bin\cargo.exe test --package mathcat --test languages -- Languages::zh::tw::units::si_base --exact --show-output

warning: elided lifetime has a name
    --> src\canonicalize.rs:4056:43
     |
4056 | pub fn name<'a>(node: &'a Element<'a>) -> &str {
     |             --                            ^ this elided lifetime gets resolved as `'a`
     |             |
     |             lifetime `'a` declared here
     |
     = note: `#[warn(elided_named_lifetimes)]` on by default

warning: elided lifetime has a name
   --> src\pretty_print.rs:274:51
    |
273 | impl<'a> YamlEmitter<'a> {
    |      -- lifetime `'a` declared here
274 |     pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter {
    |                                                   ^^^^^^^^^^^ this elided lifetime gets resolved as `'a`

warning: `mathcat` (lib) generated 2 warnings
    Finished `test` profile [optimized + debuginfo] target(s) in 2.20s
     Running tests\languages.rs (target\debug\deps\languages-65f750cf80589ca8.exe)

running 1 test
test Languages::zh::tw::units::si_base ... FAILED

successes:

successes:

failures:

---- Languages::zh::tw::units::si_base stdout ----
thread 'Languages::zh::tw::units::si_base' panicked at tests\common\mod.rs:48:23:
assertion `left == right` failed:
test with zh-tw/SimpleSpeak failed
  left: "1 安培, 逗號, 2 amps, comma, 1 candela, comma; 2 candelas, comma, 1 kelvin, comma, 2 kelvins, comma, 1 kelvin, comma, 2 kelvins, comma, 1 gram, comma, 2 grams, comma, 1 metre, comma, 2 metres, comma, 1 mole, comma, 2 moles, comma, 1 second, comma, 2 seconds, comma, 1 second, comma, 2 seconds, comma, 1 second, comma, 2 seconds, comma, 1 second, comma, 2 seconds"
 right: "1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit"
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:665
   1: core::panicking::panic_fmt
             at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\panicking.rs:74
   2: core::panicking::assert_failed_inner
             at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\panicking.rs:107
   3: core::panicking::assert_failed<ref$<str$>,alloc::string::String>
             at C:\Users\hjy\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\panicking.rs:367
   4: languages::common::check_answer
             at .\tests\common\mod.rs:48
   5: languages::common::test
             at .\tests\common\mod.rs:70
   6: languages::Languages::zh::tw::units::si_base
             at .\tests\Languages\zh\tw\units.rs:83
   7: languages::Languages::zh::tw::units::si_base::closure$0
             at .\tests\Languages\zh\tw\units.rs:69
   8: core::ops::function::FnOnce::call_once<languages::Languages::zh::tw::units::si_base::closure_env$0,tuple$<> >
             at C:\Users\hjy\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\ops\function.rs:250
   9: core::ops::function::FnOnce::call_once
             at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\ops\function.rs:250
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

failures:
    Languages::zh::tw::units::si_base

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1820 filtered out; finished in 0.68s

error: test failed, to rerun pass `-p mathcat --test languages`

 *  The terminal process "C:\Users\hjy\.cargo\bin\cargo.exe 'test', '--package', 'mathcat', '--test', 'languages', '--', 'Languages::zh::tw::units::si_base', '--exact', '--show-output'" terminated with exit code: 101.

Look the above line right: "1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit 逗號 1 unit 逗號 2 unit",  lots of unit, it seems all the translations have no effect at all.
Details in my branch
What is the problem? What I am missing? Looks like some link is missing.
PS, my environment:

VSCode as editor
rust version: rustup 1.27.1 (54dd3d00f 2024-04-24)

I notice that:
In VSCode, when I hold mouse over expr in let expr = r#"<math>，the intellisense says unused variable: expr, I think that is the reason why all translations have no effect, because the whole expression expr is not used in test.
But I don't know how to fix it.

The warnings you can ignore. I was at cargo version 1.81 and I suspect you are at 1.82. I just updated to the latest (1.83) and there are many more warnings. I've fixed them and committed some, but some are in files that I have some other work that I'm not finished with.
Your problem is because I updated the rule for "unit" in SharedRules/general.yaml. I can't push to your repo, so here's what you need to change it to:
# the order of matching is
# 1. does it match the base of an SI unit
# 2. does it match an English unit (if in an English language)
# 3. does it match an SI prefix followed by an SI that accepts SI prefixes
# Due to this order, some things like "ft" and "cd" mean "feet" vs "femto-tonnes" and "pints" vs "pico-tonnes"
- name: unit
  tag: unit
  match: "$Verbosity != 'Terse' and contains(@data-intent-property, ':unit')"
  variables:
    # we need to look at preceding-sibling::*[2] because invisible times should have been added
    # if in a fraction, only count if we are in the numerator
  - IsSingular: "(parent::m:mrow and preceding-sibling::*[2][self::m:mn and . = 1]) or
                 (ancestor::*[2][self::m:mrow] and parent::m:fraction and
                  (preceding-sibling::* or parent::*[preceding-sibling::*[2][self::m:mn and . = 1]])
                 )"
  - Prefix: "''"
  - Word: "''"
  replace:
  - bookmark: "@id"
  - test:
    # is the whole string match a SI Unit without a prefix?
    - if: "DefinitionValue(., 'Speech', 'SIUnits') != ''"
      then:
      - set_variables: [Word: "DefinitionValue(., 'Speech', 'SIUnits')"]
    - else_if: "DefinitionValue(., 'Speech', 'UnitsWithoutPrefixes') != ''"
      then:
      - set_variables: [Word: "DefinitionValue(., 'Speech', 'UnitsWithoutPrefixes')"]
    - else_if: "DefinitionValue(., 'Speech', 'EnglishUnits') != ''"
      then:
      - set_variables: [Word: "DefinitionValue(., 'Speech', 'EnglishUnits')"]

    # do the first two chars match "da" and the remainder match an SIUnit
    - else_if: "string-length(.) >= 3 and
                substring(., 1, 2) = 'da' and
                DefinitionValue(substring(., 3), 'Speech', 'SIUnits') != ''"
      then:
      - set_variables:
        - Prefix: "DefinitionValue('da', 'Speech', 'SIPrefixes')"
        - Word: "DefinitionValue(substring(., 3), 'Speech', 'SIUnits')"

    # does the first char match a prefix and the remainder match an SIUnit
    - else_if: "string-length(.) >= 2 and
                DefinitionValue(substring(., 1, 1), 'Speech', 'SIPrefixes') != ''  and
                DefinitionValue(substring(., 2), 'Speech', 'SIUnits') != ''"
      then:
      - set_variables:
        - Prefix: "DefinitionValue(substring(., 1, 1), 'Speech', 'SIPrefixes')"
        - Word: "DefinitionValue(substring(., 2), 'Speech', 'SIUnits')"

    # not a known unit -- just speak the text, possibly as a plural
    - else:
      - set_variables:
        - Word: "text()"

  # somewhat complicated logic to avoid spaces around "-" as in "centi-grams" vs "centi - grams" -- probably doesn't matter
  - test:
      if: "$Prefix = ''"
      then:
      - test:
        - if: "$IsSingular"
          # HACK: '\uF8FE' is used internally for the concatenation char by 'ct' -- this gets the prefix concatinated to the base
          then: [x: "$Word"]
        - else_if: "DefinitionValue($Word, 'Speech', 'PluralForms') != ''"
          then: [x: "DefinitionValue($Word, 'Speech', 'PluralForms')"]
          else: [x: "$Word"]
      else:
      - x: "$Prefix"
      - ct: "-"
      - test:
        - if: "$IsSingular"
          # HACK: '\uF8FE' is used internally for the concatenation char by 'ct' -- this gets the prefix concatinated to the base
          then: [x: "concat('\uF8FE', $Word)"]
        - else_if: "DefinitionValue($Word, 'Speech', 'PluralForms') != ''"
          then: [x: "concat('\uF8FE', DefinitionValue($Word, 'Speech', 'PluralForms'))"]
          else: [x: "concat('\uF8FE', $Word)"]

You are also missing some translations. You should take a look at Rules/Languages/en/definitions.yaml and move some of the definitions values there into your definitions.yaml file. You might need to move some definition values between different definition names, but you can probably see which ones need to move based on the errors you get (some shifted to/from needing prefixes as I found other specifications on units and what is used in practice).
Let me know if you find other problems.

My steps:

updated the rule for "unit" in SharedRules/general.yaml as you said.
In SIUnits of definitions.yaml, copy following lines from english version and make translation

    # others that take a prefix
    "a": "annum",               # should only take positive powers
    "as": "弧秒",          # see en.wikipedia.org/wiki/Minute_and_second_of_arc

    # technically wrong, but used in practice with SI Units
    "b": "位元",               # should only take positive powers
    "B": "位元組",              # should only take positive powers
    "Bd": "鮑",             # should only take positive powers

In UnitsWithoutPrefixes of definitions.yaml, copy following lines from english version and make translation

    # powers of 2 used with bits and bytes
    "Kib": "kibi-位元", "Mib": "mebi-位元", "Gib": "gibi-位元", "Tib": "tebi-位元", "Pib": "pebi-位元", "Eib": "exbi-位元", "Zib": "zebi-位元", "Yib": "yobi-位元",
    "KiB": "kibi-位元組", "MiB": "mebi-位元組", "GiB": "gibi-位元組", "TiB": "tebi-位元組", "PiB": "pebi-位元組", "EiB": "exbi-位元組", "ZiB": "zebi-位元組", "YiB": "yobi-位元組",

make other translations
perform tests, 238 tests pass
will make a PR

I make a PR #321, the system say All checks are failed.
I can not understand the details. Following  are part of message.
---- navigate::tests::cases_speech stdout ----
thread 'navigate::tests::cases_speech' panicked at src/navigate.rs:1873:13:
assertion `left == right` failed
  left: "move right, 2 cases, case 1; negative x comma, if x is less than 0; case 2; positive x comma, if x, is greater than or equal to 0;"
 right: "move right, 2 cases, case 1; negative x comma if x is less than 0; case 2; positive x comma if x, is greater than or equal to 0;"

---- navigate::tests::determinant_speech stdout ----
thread 'navigate::tests::determinant_speech' panicked at src/navigate.rs:1843:13:
assertion `left == right` failed
  left: "zoom out all; vertical line; table with 2 rows and 2 columns; row 1; column 1; 9, column 2; minus 13; row 2; column 1; 5, column 2; minus 6; vertical line"
 right: "zoom out all; the 2 by 2 determinant; row 1; 9, negative 13; row 2; 5, negative 6;"

I never touch the file src/navigate.rs.
I wonder what is the problem?


[doc] Fix link to Ibex PMP

Signed-off-by: Michael Tempelmeier<EMAIL_ADDRESS>

Congratulations to your first ever pull request!


how to port to 32-bit Windows?

I only have 32-bit Windows 7 vmware vm. I plan to use this project here. How to port it to 32-bit OS?

To port hvpp on x86, you can take inspiration from https://github.com/tandasat/HyperPlatform . Note that support of x86 architecture is not (and probably never will be) in focus of this project.


Incorrect link to Docker Toolbox

Link to Docker Toolbox at https://www.docker.com/docker-mac refers to https://docs.docker.com/compose/reference/overview/.
This should instead be to https://www.docker.com/products/docker-toolbox.

@arun-gupta thanks! This is fixed now: https://www.docker.com/docker-mac
cc: @jsouth


alt text for external figure image

There is a new field in the figure content type: figure_external_alt. When an external image is selected as the figure image, use the contents of figure_external_alt as the alt text for that image.

resolved: see here: https://github.com/ioos/sanctuarywatch/commit/1bd92d31cb16099e4692203f69de00d28e1c24db#diff-4a5dc502773d58bee89d215c1bb7335e36371a1d6643f9d723328a3e290b83d7R1142


Import existing resource into terraform

When creating a swarm we have a "seed" VM that we also want to be the initial manager node; this VM is created outside of Infrakit so terraform has no knowledge of it. We need a mechanism to import an existing resource that the terraform Infrakit instance plugin did not create so that this initial VM can be managed with the other managers in the group.

Note that there is a terraform import command that imports an existing resource, putting the associated data into the terraform.tfstate file.
The problem is that a terraform apply will delete the resource because there is no .tf.json file associated it with.
It seems that there needs to be something like:

Aquire terraform lock
Import existing resource
Generate .tf.json file with the necessary tags to associate it with the managers group
Release lock


Add metapacakges to deploy cloud-info-provider package with CMF-specific dependencies.

With this PR it will be possible to manage provider-specific dependencies.
This should fix #63 and #62.
I think it would be best the squash before merging.

Just saw "remobe" in one of the commits, wouldn't mind a change in the message ;)

@gwarf or @enolfc I would feel more comfortable if you guys merged this.

Just pushed a final commit, anyone, please review so that we can squash and merge.


something wrong slots and scopeSlots ?

Version
1.0.0-beta.29
Reproduction link
https://github.com/vuejs/vue-test-utils/issues/1326
Steps to reproduce
describe('aaa', () => {
  const Com = Vue.extend({
    render(h) {
      return h('div')
    }
  })
  const wrapper = mount({
    render(h) {
      return h(Com, { ref: 'com' },'aaa')
    }
  })
  it('wrapper.vm.$refs.com.$scopedSlots:', () => {
    // wrapper.vm.$refs.com.$scopedSlots: {default:[Function]} ??????
    console.log("wrapper.vm.$refs.com.$scopedSlots:", wrapper.vm.$refs.com.$scopedSlots)
    // wrapper.vm.$refs.com.$slots: {default:[VNode]}
    console.log("wrapper.vm.$refs.com.$slots:", wrapper.vm.$refs.com.$slots)

  })
})

What is expected?
$scopedSlots.default ===undefined
What is actually happening?
$scopedSlots: {default:[Function]}

This isn't a @vue/test-utils issue, and is descibred in the Vue API documentation: https://vuejs.org/v2/api/#vm-scopedSlots

All $slots are now also exposed on $scopedSlots as functions.

I don't think this is a problem with @vue/test-utils. Try the following:
describe('aaa', () => {
  const Com = Vue.extend({
    render(h) {
      return h('div')
    }
  })
  const vm = new Vue({
    render(h) {
      return h(Com, { ref: 'com' },'aaa')
    }
  }).$mount()

  it('should not have a slot', () => {
    expect(vm.$refs.com.$slots).toEqual({})
      // Fails, the `$slots` object contains a `default` property.
  })
})

Because you're explicitly passing in a child node (the text aaa), even though Com does not declare a slot (and hence the text node won't be rendered) the node is still registered in $slots.
I believe this is expected behaviour, and not a bug: https://vuejs.org/v2/guide/render-function.html#Basics

In this case, you have to know that when you pass children without a v-slot directive into a component, like the Hello world! inside of anchored-heading, those children are stored on the component instance at $slots.default.

Without passed children populating $slots.default (and $scopedSlots.default by extension), render functions wouldn't be able to make use of slots.
The linked issue claims this behaviour is different in the browser, but I can confirm that it is not: https://codesandbox.io/s/vue-template-lcunb
In App.vue, you can see that the template for Test does not provide any slots. But App passes text nodes into the default slot, and the bar slot. Neither of these slots are rendered in the browser, but both are logged to the console.
So this is expected behaviour, and not a bug.

@vvanpo
just $scopedSlots wrong  in jest environment;
in bowser everything is ok;

@vvanpo
just $scopedSlots wrong in jest environment;
in bowser everything is ok;

bowser this.$scopedSlots.default=undefined
jest this.$scopedSlots.default=function

@xxbld My sandbox example (https://codesandbox.io/s/vue-template-lcunb) contradicts that, it logs the child element's $slots and $scopedSlots to the console, and they are not undefined. Feel free to fork it and provide a reproduction.

thanks for your answer.  it`s my fault.
my code  outdate
render(){
if(this.$scopedSlots.default)
   // render default
}else if(this.props.renderProp){
  // renderProp
}else{
  // render $slots.default
}

https://vuejs.org/v2/api/#vm-scopedSlots

All $slots are now also exposed on $scopedSlots as functions. If you work with render functions, it is now recommended to always access slots via $scopedSlots, whether they currently use a scope or not. This will not only make future refactors to add a scope simpler, but also ease your eventual migration to Vue 3, where all slots will be functions.


DOC: add Python 3.12 classifier

In release 2024.2.5a1, support was added for Python 3.12. This pull request updates the classifier list to include Python 3.12 as a supported language.
Note that the supported python versions badge in the README only lists 3.9, 3.10, 3.11, not 3.12 (I believe the badge fetches data from PyPI). The incorrect badge is also shown on cogent3's PyPI page.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/maths/scipy_optimize.py
2
84.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
29601

Relevant Lines:
32310

💛  - Coveralls

Looks like the coveralls status check works now!


Recommended VS Code configuration

OS?

Windows 10, Ubuntu, Mac

I think lots of developers out there use VS Code for ng2 projects. It would be very cool to have some kind of recommended configuration on the following VS Code settings for an optimal user experience.

Recommended extensions for ng2 developers (i.e. tslint extention to enable style ng2 guide linting)
Build Task Configuration to use integrated build runner (ctrl+shift+b)
How to configure the debugger to be usable

Could be written for other ide's like webstorm to.

I'm not sure if this helps but here's my basic vscode configuration file in an Angular-CLI project. It lets you debug server-side node code
https://github.com/dancancro/great-big-angular2-example/blob/master/.vscode/launch.json

I'll try to create a first draft for that, but I'm not familiar with integration to VS Code. I'll need help from folks! 🙏

@mbeckenbach @benjamincharity @dancancro Could you help me to fill TODO parts? I want your reviews and comments!
https://github.com/angular/angular-cli/pull/7846

VS Code recipes actually has an official doc for Angular CLI already: https://github.com/Microsoft/vscode-recipes/tree/master/Angular-CLI

Discussed this amongst the CLI team today, and we definitely agree that we can do better in this space. Rather than just writing docs about it however, it would be better to have ng new just generate the relevant VSCode configuration out-of-the-box. That way users don't need to read docs, understand how it all works, and set things up themselves. The debugger configuration breaks the abstraction of the build somewhat as it has to map back to source code directories. If we are able to support this in ng update, we might be able to migrate user code to avoid breakages from internal changes and keep projects more consistent.
Regarding extension recommendations, it begs the difficult question of "What extensions get recommended?" which is very difficult to address. We want to avoid even the appearance of favoritism, whether for extensions written by core team members, written by frequent contributors, lobbied heavily, or based on any other aspects than the extension's individual merit. Unfortunately, it is very difficult to avoid such an appearance, even if all the decision-makers have the best intentions. After some discussion, the team has decided that the safest option is to simply not recommend any community extensions, because introducing "officially" recommend extensions only causes confusion and the possibility of misinterpretation. As an alternative, there are many community-curated lists of useful tools and extensions which developers can use.
There are still a lot of questions here we need to figure out before we can make the change:

What is the ideal VSCode configuration that users typically expect?
Can we migrate existing projects to include the same configuration, and if so, how?
Should the changes be flag protected (--editorConfigs vscode) and what should be the default?

My personal opinion is to just generate the config by default, users can always delete it later with minimal effort if they don't want it.

Proposal:

Add a default configuration just when creating new projects. Migrating existing projects to a custom setup can be breaking
I'd expect to have at least:

Launch task with debugging enabled
Attach task to existing instance
Debug unit test
Minimal suggested extensions according to the tools being used: eslint, editorconfig

Additionally, I'd consider super useful:

Suggested extensions: Prettier, Angular 11 snippets, Angular Schematics

I'd volunteer to submit a PR with a basic agreed configuration. It can be a foundation to be extended later according to community feedback.


Fix unhandled error when a bad revision is provided to changedSince

Summary
This PR fixes #7025 – when a bad revision is passed to the --changedSince argument, causing an unhandled rejection error message. It will now output the error message from git/hg instead.
Before:

After:

Test plan
Updated integration tests.

Thanks! This is cleaner than the original approach, but I pushed an alternate version moving the logic to jest-cli, which I think is even cleaner. WDYT?


Workflow that calls a workflow template POSTed to the API returns "workflow body not specified"

Summary
What happened/what you expected to happen?
Calling https://<host>/api/v1/workflows/<namespace> with a workflow file that uses templateRef to call a workflow template fails with "workflow body not specified". Submitting the same workflow through the CLI works as expected. I am also able to submit workflow templates using the /submit endpoint successfully.
What version of Argo Workflows are you running?
3.1.12
Diagnostics
Either a workflow that reproduces the bug, or paste you whole workflow YAML, including status, something like:
Workflow template being referenced:
# hello-workflow-template.yaml
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: hello-argo
spec:
  entrypoint: main
  arguments:
    parameters:
      - name: name
        value: "argo"
  templates:
    - name: main
      steps:
        - - name: a
            template: whalesay
            arguments:
              parameters:
                - name: name
                  value: "{{workflow.parameters.name}}"
    - name: whalesay
      inputs:
        parameters:
          - name: name
      container:
        image: docker/whalesay:latest
        command: ["cowsay"]
        args: ["hello {{inputs.parameters.name}}"]

Workflow calling the template:
# hello-workflow-from-template.yaml
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: hello-world-wf-template-
spec:
  entrypoint: whalesay
  arguments:
    parameters:
      - name: name
        value: "argo"
  templates:
  - name: whalesay
    steps:
      - - name: do-whalesay
          arguments:
            parameters:
              - name: name
                value: "{{workflow.parameters.name}}"
          templateRef:
            name: hello-argo
            template: main

Python code used to call the API:
import json
import os
import requests
import yaml

url = 'https://HOSTNAME/api/v1/workflows/NAMESPACE'
headers = {'Authorization': os.environ['ARGO_TOKEN']}
with open('hello-workflow-from-template.yaml', 'r') as f:
    wf = yaml.safe_load(f)
data = json.dumps(wf)
resp = requests.post(url, data, headers=headers)
resp.content
>>> b'{"code":2,"message":"workflow body not specified"}'

Using the CLI
$ argo submit hello-workflow-from-template.yaml --watch
Name:                hello-world-wf-template-rxrlv
Namespace:           default
ServiceAccount:      argo-runner
Status:              Succeeded
Conditions:
 PodRunning          False
 Completed           True
Created:             Wed Feb 02 15:01:08 -0500 (10 seconds ago)
Started:             Wed Feb 02 15:01:08 -0500 (10 seconds ago)
Finished:            Wed Feb 02 15:01:18 -0500 (now)
Duration:            10 seconds
Progress:            1/1
ResourcesDuration:   3s*(100Mi memory),3s*(1 cpu)
Parameters:
  name:              chris

STEP                              TEMPLATE         PODNAME                                  DURATION  MESSAGE
 ✔ hello-world-wf-template-rxrlv  whalesay
 └───✔ do-whalesay                hello-argo/main
     └───✔ a                      whalesay         hello-world-wf-template-rxrlv-847164517  4s

What Kubernetes provider are you using?
EKS
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
PNS

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Closer reading of the API docs indicate you need to have a structure like this:
{
    "createOptions": {
        "labels": "foo=bar"
    },
    "workflow": <workflow JSON-ified string from yaml>
}


Feature | Display topics on the Blog page

If an article is linked to tags / topics, show all the topics at the end of the article.

Reference:

Pointers:
The api/v1/blog API returns the tags that's linked to the blog.

Not able to see the field tagsOnPost

 Not able to see the field tagsOnPost

Check now. It should be visible.
Backend code was being deployed when you were checking.

Yes, it is visible now.
Kindly assign the task, and I'll look into it.

Sure, done.

Saw the issue and started to fix it. Sorry that i didn't ask to get myself assigned.

@swastik4805 - Alright. Next time, please ensure that you get the issue assigned first.


Replace networking.x-k8s.io with gateway.networking.k8s.io in hack/delete-crds.sh

This patch replaces networking.x-k8s.io with gateway.networking.k8s.io
in hack/delete-crds.sh.
What type of PR is this?
/kind cleanup
Which issue(s) this PR fixes:
Fixes https://github.com/kubernetes-sigs/gateway-api/issues/930
Does this PR introduce a user-facing change?:
NONE

/lgtm
/approve

/ok-to-test


Replace .css("display", "none/block") with show()/hide()

https://github.com/strukturart/bHacker-store-client/blob/bd68293b51dc347d31ea618052018ce7e630700f/application/app.js#L429-L434
Isn't better to replace those css() calls with simple, readable, show() or hide() calls?

If you want, I'll create a PR.

I always try the closest css whenever possible. I am currently writing the app in pure js and using mustache to create the elements.

pure js?why?you'll be wasting your time and energy if you write it in pure js.
@Simon-Laux Don't you think so?

to learn the basics of javascript and the kaisos browser is not really up to date

I used jQuery for my VM-IRC and had no problem.

My opinion is still use (p)react or pure (non jquery) js.
Also this issue is related to https://github.com/strukturart/bHacker-store-client/issues/27, so in this specific case I recommend solving #27 as it will remove most of these show/hide statements.

We've got another option, too: Writing our own microframework!

Just for reference, two apps (Here INFO and Guita) I created are made in React and works well.


[Tooltip] Fix placement regression

I have found this regression having a quick look at #25215.
To reproduce, you can:

open https://next.material-ui.com/components/tooltips/#positioned-tooltips
keyboard focus the bottom-start case, the tooltip should open
scroll the page up until the tooltip swap its placement

Before

After

I can't think of any way to test this. It's the CSS that is wrong, which should require a visual regression. It doesn't seem that there is any path that would be more efficient:

Fix regressions (as I did here)
Figure out how to write a test, have it non-flaky, and resulting in changes.

Considering that I could already do 1. in about 10 minutes, I think that the wise decision is to move in this direction.


Run commands in containers

While working with Docker in development, a common situation is to run an CLI command "as in the container".
The actually idea is just to proxy the docker-compose run command as the beginning. But based on #46, we should also be able to identify the expected container based on the build parameters.


fix: excel sheet upload is not working

SUMMARY
The new excel sheet upload feature is not working, this issue is reported in https://github.com/apache/incubator-superset/pull/9825#issuecomment-661490394, this PR fixes it with come changes specific to pandas.read_excel.
e.g. args of chunksize, skipinitialspace are not supported, parse_dates is supported by both, filename arg is io, not filepath_or_buffer, which is for read_csv. sheet_name could be string, but integer should be more common.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION

[x] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thanks @pphszx for the fix! The security manager methods were probably renamed while the original Excel upload PR was under review, hence this error sneaked in. See @10031 for details.
Are all the changes here necessary for making this work? If possible, I'd prefer to keep the changes to a minimum, and then follow up with a cleanup PR to add robustness. Not sure if you're aware, but we'll be releasing 0.37.0 soon, and it would be great to get this feature working for that release.
Ping @blcksrx

Hi  @villebro,  @blcksrx, I've add comments to all my changes, you can decide which part can be removed. You are free to change, just make this feature work on 0.37.0. Thanks!

@pphszx Thanks for the description. I did read them all and still disagree with changing the sheet_name type from string to integer. what's your idea @villebro?

@villebro  Yeah. I'm okay with that


Add image with text template

Reference: #8
Demo store
Theme Editor link
WHAT are you trying to accomplish with this PR?
Like the "blog post section", I am adding "image with text" section template from Debut theme as a starting point in order to see the newest change when I adapt the starter theme approach.
WHY are you choosing this approach?
In order to see the changes when I adapt the "starter theme" way, we need a reference to see what has been changed.
HOW is this accomplished?
Copied the feature-row.liquid from Debut theme.
As always, you can comment the file and see which code can be simplified or removed.

I'm not sure why, but on the Theme Editor page, when I click on "add sections", I see "image with text" option twice. One is mine and the other is the default one.

@t-kelly About the "What if we set a width for the image, and when there isn't enough space, the text and image get stacked? Minimal solution?" comment, can we look it together? I tried to force the width of the image but still forces in horizontal layout...

@t-kelly I applied the image width styling and looking through the code again, the results are great. It is clean and it applies well on mobile without media queries. Thanks for the tip!


go1.11 compatibility

Sorry but I don't support older version of Go. There's no merit to stick to older version.


fix(schema): added description on esModule

This PR contains a:

[ ] bugfix
[ ] new feature
[x ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
Added 'description' field on esModule option.

Breaking Changes

Additional Info

remove this pull request and creating new one as issue with CLA


[Bug]: Error: Start the triton server

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
root@85d70c862b32:/opt/tritonserver# tritonserver --model-repository pwd/models
W1109 05:31:06.568839 124 pinned_memory_manager.cc:236] Unable to allocate pinned system memory, pinned memory pool will not be available: CUDA driver version is insufficient for CUDA runtime version
I1109 05:31:06.568981 124 cuda_memory_manager.cc:115] CUDA memory pool disabled
I1109 05:31:06.569292 124 tritonserver.cc:2176]
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Option                           | Value                                                                                |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| server_id                        | triton                                                                                |
| server_version                   | 2.24.0                                                                                |
| server_extensions                | classification sequence model_repository model_repository(unload_dependents) schedule_policy model_configuration system_shared_memory cuda_shared_memory binary_tens |
|                                  | or_data statistics trace                                                                                |
| model_repository_path[0]         | /opt/tritonserver/models                                                                                |
| model_control_mode               | MODE_NONE                                                                                |
| strict_model_config              | 0                                                                                |
| rate_limit                       | OFF                                                                                |
| pinned_memory_pool_byte_size     | 268435456                                                                                |
| response_cache_byte_size         | 0                                                                                |
| min_supported_compute_capability | 6.0                                                                                |
| strict_readiness                 | 1                                                                                |
| exit_timeout                     | 30                                                                                |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
I1109 05:31:06.569348 124 server.cc:257] No server context available. Exiting immediately.
error: creating server: Internal - failed to stat file /opt/tritonserver/models
Expected Behavior
I'm following the official documentation to deploy triton server and start towhee to speed up coding.
I got an error in step “Start the Triton server”after entering the server.
But I can use towhee for encoding in the local environment if I don't use the triton server method. It prompts whether the cuda driver and version in the error message is the reason why it cannot be executed. How can I continue the operation?
Steps To Reproduce
1.Build Image
from towhee import pipe, ops, AutoConfig
import numpy as np

p = (
    pipe.input('text')
    .map('text', 'vec', ops.sentence_embedding.sbert(model_name='paraphrase-multilingual-mpnet-base-v2'), config=AutoConfig.TritonGPUConfig())
    .map('vec', 'vec', lambda x: x / np.linalg.norm(x, axis=0))
    .output('vec')
)

import towhee

towhee.build_docker_image(
    dc_pipeline=p,
    image_name='clip:v1',
    cuda_version='11.7', # '117dev' for developer
    format_priority=['onnx'],
    parallelism=4,
    inference_server='triton'
)

2.Create models

import towhee
from towhee import pipe, ops, AutoConfig
import numpy as np
p = (
    pipe.input('text')
    .map('text', 'vec', ops.sentence_embedding.sbert(model_name='paraphrase-multilingual-mpnet-base-v2'), config=AutoConfig.TritonGPUConfig())
    .map('vec', 'vec', lambda x: x / np.linalg.norm(x, axis=0))
    .output('vec')
)

towhee.build_pipeline_model(
    dc_pipeline=p,
    model_root='models',
    format_priority=['onnx'],
    parallelism=4,
    server='triton'
)

Environment
- Towhee version(1.1.2):
- OS(Ubuntu or CentOS):Ubuntu
- GPU:3090
- tritonsever:22.07
- cuda:11.7
- Cuda Driver:535.129.03

(base) eg@eg-HP-Z8-G4-Workstation:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_18:49:52_PDT_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0

(base) eg@eg-HP-Z8-G4-Workstation:~$ nvidia-smi
Thu Nov  9 14:03:48 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |

root@85d70c862b32:/opt/tritonserver# nvcc -v
nvcc fatal   : No input files specified; use option --help for more information
root@85d70c862b32:/opt/tritonserver# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Jun__8_16:49:14_PDT_2022
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0

root@85d70c862b32:/opt/tritonserver# nvidia-smi
bash: nvidia-smi: command not found

Anything else?
No response

Did you use the --gpu params when starting docker

This problem was solved after I restarted the container, but a new error occurred when executing the program.
Traceback (most recent call last):
File "/home/eg/PycharmProjects/Towhee/triton_endcod.py", line 8, in
res = client(data)
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/towhee/serve/triton/pipeline_client.py", line 81, in call
return self._loop.run_until_complete(self._call(inputs))[0]
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/towhee/serve/triton/pipeline_client.py", line 68, in _call
response = await self._client.infer(self._model_name, inputs)
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/tritonclient/http/aio/init.py", line 757, in infer
response = await self._post(
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/tritonclient/http/aio/init.py", line 209, in _post
res = await self._stub.post(
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/aiohttp/client.py", line 586, in _request
await resp.start(conn)
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 920, in start
self._continue = None
File "/home/eg/anaconda3/envs/towhee38/lib/python3.8/site-packages/aiohttp/helpers.py", line 725, in exit
raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError

 Did you use the --gpu params when starting docker

Yes, the problem was solved after I recreated the container, but a new problem appeared. Do you know how to solve this problem?

It seems that access to the triton server timeout. Are there any logs on the server?

It seems that access to the triton server timeout. Are there any logs on the server?

docker logs shows that:
NVIDIA Release 22.07 (build 41737377)
Triton Server Version 2.24.0
Copyright (c) 2018-2022, NVIDIA CORPORATION & AFFILIATES.  All rights reserved.
Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES.  All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
I1109 06:53:09.532688 1 pinned_memory_manager.cc:240] Pinned memory pool is created at '0x7f6a4e000000' with size 268435456
I1109 06:53:09.533016 1 cuda_memory_manager.cc:105] CUDA memory pool is created on device 0 with size 67108864
I1109 06:53:09.536004 1 model_repository_manager.cc:1206] loading: pipeline:1
I1109 06:53:09.536049 1 model_repository_manager.cc:1206] loading: sentence-embedding.sbert-0:1
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1109 06:53:11.225232 1 onnxruntime.cc:2458] TRITONBACKEND_Initialize: onnxruntime
I1109 06:53:11.225295 1 onnxruntime.cc:2468] Triton TRITONBACKEND API version: 1.10
I1109 06:53:11.225317 1 onnxruntime.cc:2474] 'onnxruntime' TRITONBACKEND API version: 1.10
I1109 06:53:11.225331 1 onnxruntime.cc:2504] backend configuration:
{"cmdline":{"auto-complete-config":"true","min-compute-capability":"6.000000","backend-directory":"/opt/tritonserver/backends","default-max-batch-size":"4"}}
I1109 06:53:11.259270 1 onnxruntime.cc:2560] TRITONBACKEND_ModelInitialize: sentence-embedding.sbert-0 (version 1)
W1109 06:53:14.630221 1 onnxruntime.cc:787] autofilled max_batch_size to 4 for model 'sentence-embedding.sbert-0' since batching is supporrted but no max_batch_size is specified in model configuration. Must specify max_batch_size to utilize autofill with a larger max batch size
I1109 06:53:14.685000 1 python_be.cc:1767] TRITONBACKEND_ModelInstanceInitialize: pipeline_0_0 (CPU device 0)
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1109 06:53:17.996107 1 onnxruntime.cc:2603] TRITONBACKEND_ModelInstanceInitialize: sentence-embedding.sbert-0_0 (GPU device 0)
I1109 06:53:20.312004 1 python_be.cc:1767] TRITONBACKEND_ModelInstanceInitialize: pipeline_0_1 (CPU device 0)
I1109 06:53:20.312255 1 model_repository_manager.cc:1352] successfully loaded 'sentence-embedding.sbert-0' version 1
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1109 06:53:23.568245 1 python_be.cc:1767] TRITONBACKEND_ModelInstanceInitialize: pipeline_0_2 (CPU device 0)
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1109 06:53:26.839855 1 python_be.cc:1767] TRITONBACKEND_ModelInstanceInitialize: pipeline_0_3 (CPU device 0)
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1109 06:53:30.081773 1 model_repository_manager.cc:1352] successfully loaded 'pipeline' version 1
I1109 06:53:30.082043 1 server.cc:559]
+------------------+------+
| Repository Agent | Path |
+------------------+------+
+------------------+------+
I1109 06:53:30.082215 1 server.cc:586]
+-------------+-----------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
| Backend     | Path                                                            | Config                                                                                |
+-------------+-----------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
| python      | /opt/tritonserver/backends/python/libtriton_python.so           | {"cmdline":{"auto-complete-config":"true","min-compute-capability":"6.000000","backend-directory":"/opt/tritonserver/b |
|             |                                                                 | ackends","default-max-batch-size":"4"}}                                                                                |
| onnxruntime | /opt/tritonserver/backends/onnxruntime/libtriton_onnxruntime.so | {"cmdline":{"auto-complete-config":"true","min-compute-capability":"6.000000","backend-directory":"/opt/tritonserver/b |
|             |                                                                 | ackends","default-max-batch-size":"4"}}                                                                                |
+-------------+-----------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
I1109 06:53:30.082348 1 server.cc:629]
+----------------------------+---------+--------+
| Model                      | Version | Status |
+----------------------------+---------+--------+
| pipeline                   | 1       | READY  |
| sentence-embedding.sbert-0 | 1       | READY  |
+----------------------------+---------+--------+
I1109 06:53:30.135753 1 metrics.cc:650] Collecting metrics for GPU 0: NVIDIA GeForce RTX 3090
I1109 06:53:30.136027 1 tritonserver.cc:2176]
I1109 06:53:30.137643 1 grpc_server.cc:4608] Started GRPCInferenceService at <IP_ADDRESS>:8001
I1109 06:53:30.137940 1 http_server.cc:3312] Started HTTPService at <IP_ADDRESS>:8000
I1109 06:53:30.179419 1 http_server.cc:178] Started Metrics Service at <IP_ADDRESS>:8002

curl http://<IP_ADDRESS>:8000/v2/models/stats Check the server is available

curl http://<IP_ADDRESS>:8000/v2/models/stats Check the server is available

I set the local port to 8010. So I can get such a result, what may be the cause of the error in this case, thank you for your help.
(base) eg@eg-HP-Z8-G4-Workstation:~$ curl http://<IP_ADDRESS>:8010/v2/models/stats
{"model_stats":[{"name":"pipeline","version":"1","last_inference":0,"inference_count":0,"execution_count":0,"inference_stats":{"success":{"count":0,"ns":0},"fail":{"count":0,"ns":0},"queue":{"count":0,"ns":0},"compute_input":{"count":0,"ns":0},"compute_infer":{"count":0,"ns":0},"compute_output":{"count":0,"ns":0},"cache_hit":{"count":0,"ns":0},"cache_miss":{"count":0,"ns":0}},"batch_stats":[]},{"name":"sentence-embedding.sbert-0","version":"1","last_inference":0,"inference_count":0,"execution_count":0,"inference_stats":{"success":{"count":0,"ns":0},"fail":{"count":0,"ns":0},"queue":{"count":0,"ns":0},"compute_input":{"count":0,"ns":0},"compute_infer":{"count":0,"ns":0},"compute_output":{"count":0,"ns":0},"cache_hit":{"count":0,"ns":0},"cache_miss":{"count":0,"ns":0}},"batch_stats":[]}]}

Try ops.sentence_embedding.transformers, sbert has some bugs.  This pipeline works fine.

Thank you for your help. I think my problem has been resolved. My other question is, which parameters can further improve the encoding speed by accelerating model inference through the Triton server in parameter settings.

It is possible to optimize performance by adjusting parameters such as the number of instances and batch size. For more information, please refer to the Triton documentation： https://github.com/triton-inference-server/server

It is possible to optimize performance by adjusting parameters such as the number of instances and batch size. For more information, please refer to the Triton documentation： https://github.com/triton-inference-server/server

Thank you very much for your help. I think my problem has been resolved.


Stability AI Nodes

Description

[x] I've included a concise description of what each node does

Styleguide

[x] My node adheres to the styleguide for Flojoy nodes

Docs

[x] I've submitted a PR for a documentation page for the new node(s) that contains usage examples (see docs.flojoy.io)
PR https://github.com/flojoy-io/docs/pull/152

Testing

[x] This PR includes a unit test (example here and/or ideally a screenshot of the node's output on an example app.

Nodes

[x] STABILITY_UPSCALING: The STABILITY_UPSCALING node uses the StabilityAI gRPC API to upscale an image.The image can be passed as input to the node using form data or by a previous node in the flow. The data from previous node has priority over form data
[x] STABILITY_TEXT_TO_IMAGE: The STABILITY_TEXT_TO_IMAGE node uses the StabilityAI Rest API to convert text to an image. The node returns a DataContainer of type image
[x] STABILITY_IMAGE_TO_IMAGE: The STABILITY_IMAGE_TO_IMAGE node uses StabilityAI gRPC Image-to-Image API to generate an image based on an input image and a text prompt. The image can be provided as a image file path or as a DataContainer Image object from a previous node. The previous node value has priority over the file path.

Hey @luiztauffer - is this PR ready to go and awaiting a review?


Support other input formats

Hello.
It would be nice to support other input formats, like asciidoctor.
Hugo supports these formats.
Thanks.

Hi,
It's very unlikely that I will add support for more input formats in the near future for a few reasons:

no crate for asciidoc and the only crate for rst doesn't seem finished (no docs too) from a quick research on crates.io
if there were crates for them, I'd still need to be able to hook into the parser like I'm doing with pulldown_cmark (or fork them) for shortcodes, relative links etc
very low priority for me

I see the appeal but I don't think that feature will be coming anytime soon (if it ever comes), especially since it first requires other crates to be written first. I might consider it once gutenberg is more mature but definitely not now.

I am interested in writing a crate for parsing asciidoctor.
Do I need to write it in a specific way so that you can easily integrate it in gutenberg?

The way https://github.com/google/pulldown-cmark works very well.
I can easily extend the parser like in https://github.com/Keats/gutenberg/blob/master/src/markdown.rs#L121. Basically if I can hook into the renderer it should be ok
Keep in mind though that inputs other than markdown are not going to be added until all the important features are nailed: i18n, pagination, deploy and probably some stuff I haven't thought of yet so that's a few months away at best.

Ok, I'll wait a couple of weeks before writing such a parser, then.

Just to keep you informed: I started to work on the asciidoctor parser.
The HTML generator is implemented with a trait, so you should be able to change the result the way you want.
Please note that the API will change as I'm experimenting with different designs.

Markdown (even the extended variants) is relatively limited.
I think supporting at least one more complete format is preferable, considering the goal of the project is static site generation, rather than just a blogging platform.
For example, I am also a writer, and I write in asciidoc(tor), since that format is the best suited for it (it's actually compatible with docbook, making it not too far from latex without tex commands) - if I wanted to publish readable versions on a website, I simply couldn't use gutenberg.
For project websites, I find asciidoc also helps with writing more complete documentation, once you outgrow basic markdown - similar issue here.
All of this is basically to say that adoc support is a dealbreaker for me, though once that's in I doubt anything further would be required (since gutenberg would be essentially on feature-parity with other generators - in terms of what one can actually do with it, rather than sheer number of entries).

Just so you know, I haven't worked on my parser for a long time as I work on other projects.
If anyone is inrested to continue it, please tell me.

I wouldn't mind addind asciidoc support (but only asciidoc, I don't want to maintain n input) but a few things are required first:

Rewrite the current markdown parser to separate the shortcodes from the markdown (I'm going to work on that next myself)
Have a good, documented working asciidoc crate. @antoyo started one but it would need to be finished
Someone to implement the asciidoc support in Gutenberg. It shouldn't be too hard after 1

https://github.com/cobalt-org/cobalt.rs/issues/606

I moved the feature request to the forum: https://zola.discourse.group/t/alternative-input-formats/76

https://github.com/getzola/zola/issues/638


Create ContainedButton component

Inside of the @louffee/canada-button component package, develop a new variant of the element called ContainedButton whose background colour must be the theme's primary colour - main tone.
The contract must remain intact despite this new component.

Issue closed by the Pull Request 54.


Test Explorer: support test cases

Add support in VSCode Test Explorer for showing multiple tests that belong to one method.
Implementation details:

Assume project test items from FSAutoComplete may actually refer to multiple tests
Sort project tests by longest name and find test results that start with that test name.

Sorting ensures that a test method that is a substring of another doesn't get associated with the longer method name's tests.

If more than one test is found for that project test, nest all results under that project test

Fixes #1756

I hope to merge this this week - there are a couple changes to FSAC I want to grab as well.


ADD INDEX HTML FILE

Created an index.html file

I suggest we use Next JS for the frontend so we can leverage sever side rendering and other features it has


React Native Application Crashes on React Native

PDF generation crashes on React Native while creating large PDFs.

I must say, it's really a mind blowing library, however due to less memory in mobile devices, I am having issues with ram memory and app crashes.

After Did some code changes in my code, I am able to get it work. Thank you for such a great library. 👍

Having issues while embedding a lot of images into PDF, it never loads up.

You should be more specific, what is the error? screenshots, logs, PDF, code, images, etc...

You should be more specific, what is the error? screenshots, logs, PDF, code, images, etc...

Thank you for your response, there's no error, it's just my mobile app freeze in Javascript thread.
I am able to render records properly when count is not too much, when adding more images and data, this happens.

I will try make a video and post it here shortly.

You can try modify parseSpeed and objectTicks
The purpose of making these methods asynchronous is to avoid blocking the event loop (especially for browser-based usage). If you aren't running this code client-side and are not concerned about blocking the event loop, you can speed up parsing times with:
PDFDocument.load(..., { parseSpeed: 2500 })

You can do a similar thing for save:
pdfDoc.save({ objectsPerTick: 2500 });

Hello @FawadMahmood! I'm afraid what you're running into is a limitation of React Native. Due to React Native's architecture, only JSON data can be transferred into and out of the JavaScript VM. This means that in order to save a PDF file, it must be converted to a base64 string before it can be saved to the file system or rendered on the screen. This is a huge bottleneck, and it makes dealing with large files very difficult.
Unfortunately, there's nothing that can be done in pdf-lib to solve this. Until the React Native team fixes this architectural issue, the best you can do is try to keep your file size down. Minimize the number of images you embed and try to reduce their size before embedding them.
Depending on what specifically you are trying to do, writing the file in changes may be helpful: https://github.com/Hopding/pdf-lib/blob/4046f3c61a5bed370473972d32c81c9869325919/apps/rn/src/tests/assets.js#L6
See also https://news.ycombinator.com/item?id=17316597 and https://github.com/facebook/react-native/issues/1424.


Add CVE-2023-25280

Summary
This PR introduces an exploit for CVE-2023-25280, a command injection vulnerability in the D-Link DIR820LA1 router firmware version FW105B03. This vulnerability allows attackers to execute arbitrary commands with elevated privileges. The exploit is based on an in-depth analysis of the vulnerability, as no live targets were found for testing.
Changes

Implemented DLinkDIR820LA1CommandInjectionExploit class in agent/exploits/dlink_dir820la1_command_injection.py
Added unit tests in tests/exploits/test_dlink_dir820la1_command_injection.py

Implementation Details
The exploit script performs the following actions:

Identifies D-Link DIR820LA1 instances by checking for a specific support link in the HTML.
Scans the target by sending a POST request to /ping.ccp with a crafted payload designed to trigger the command injection vulnerability.
Checks the response to determine if the target is vulnerable by looking for the presence of a specific keyword in the response body.

Testing
The unit tests cover the following scenarios:

Detecting a vulnerable D-Link DIR820LA1 instance
Correctly identifying a non-vulnerable (safe) D-Link DIR820LA1 instance
Handling request exceptions gracefully
Rejecting targets that are not D-Link DIR820LA1 devices

As there were no live targets available for testing, the exploit was validated solely by the actual analysis that was made on this CVE:

Please, can you test it on a target and share a screenshot in the description?

Read Description.


Problem: Everyone can refund without any condition

Question
Will a businessman refund stuff without setting any condition? Does it make sense?
For our contract, we could observed that as long as user bought an NFT. Within a period of time,  they may refund without any further condition.
Real World Analogy
I am a grocery shop owner. Whenever a customer bought something from me,  they can return the product and get refund after a period of time. In my country, Malaysia, this does not make sense.

Go in-dept
Why customer want to refund in the first place?

Customer not happy with the picture (picture is different from the marketing site)
Customer not happy with the picture (it is not rare enough so refund and mint a new picture)
Customer not happy with the price (The market price is lower than the minting price).

You may observe that none of this are favorable to the project owner. I don't think they are going to implement this. Any clues for this @elie222 @0xsublime @Amirh24 ?

Ya. It's a tough one to solve. I'm okay with letting the user decide why they want to refund.
1, 2, and 3 are all reasons a user could choose to refund and that's fine.
Maybe you could have a centralised group that decides whether a project is a rug or not but really seems to miss the ethos of web3. Voting systems wouldn't work either as could easily be cheated.

It's sort of a variation on "The Market for Lemons". The only NFTs that will be sold in the end (i.e. sold and not refunded) are the ones for which the expected value is above the mint price. So like @elie222 says, if mint floor is close to the expected value of the non-rare items, expect refunds there. On the other hand, that means that those NFTs go back to the creator (or an address of their choice) and can hit the secondary market at a lower (fairer) price, so it's still not a big loss.
The big gain in implementing this is that the owner can create more trust in their project. They have until the refund deadline to show that their project is worth holding onto. If they fail to do that, massive returns right before deadline should be expected. But in return, they can get a lot of traction early, sell more and also abandon the project in good conscience if the launch turns out to be a failure. In exchange, they need to set a pretty conservative mint price.

For those people that want to know more, you may refer to the original home page https://erc721r.org/ FAQ section.


Google Maps Autocomplete  custom input

Lastly, remember to look if this issue isn't already created
Checked!
Describe what you're reporting
Trying to use a custom input for the auto complete so it matches the UI of the rest of the app.
How can we reproduce it?

Go to https://playcode.io/1028912
Enter your api key in the script.js
left box is regular no slot, and it works perfectly, right box is with a slot and it fails.
Doesn't create an error but doesn't do anything

What were your expecting to happen?
For auto complete to start auto completing like the right side box box
What happened?
Received an error
Screenshots

Device or enviroment

In which OS are you seeing this bug?  Windows 11
If it is relevant, what browser are you? Chrome, Edge.
 3.2.45
What is your vue-google-maps-community-fork version? 0.1.6

Additional context
Hello, Thank you in advance for your time.
I'm using Autocomplete for google maps
https://vue-google-maps-community-fork.netlify.app/components/autocomplete.html#adding-a-custom-input-for-autocomplete
It works great, But when I try to use the custom input, I run into an error, On local, it works, On the server, it doesn't work, I get the following error on the server.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'input')
    at map.c1b864eb.js:19:8437

Hello! Thanks for reporting!
Are you using a framework like Vuetify, Boostrap? Seems a bit related to #15 ? This is a big PR but reading a few comments might keep you in touch with it

We're almost sure that this is actually related to that PR... Autocomplete' slots are in the process of otimization, we are trying to understand how to make it better and scalable.

Sorry bad fever

Since this is a dup issue, I will close this because we depend on that issue and this will have no activity. Feel free to keep the conversation up.

Will do thanks!

I have the same issue but it only appears in production. Works fine on local dev

Same here, works fine on local dev, but it only appears in production.

We also are facing the same problem. It works great with a custom input in local environment, but fails when the code is built for production.

same here .. is there any workaround to run this in production?

This is related to an old PR that we want to fix but didn't find a way to make it work properly ): We accept any help to make it work

Replacing
const scopedInput = _this.$slots.input()[0].ref.i.ctx.$refs[refName]
with
const scopedInput = _this.$slots.input()[0].ref.i.refs.input;
Resolves the above bug for Vuetify

Replacing this line
        const scopedInput = _this.$slots.input()[0].ref.i.ctx.$refs[refName]
with
        const scopedInput = _this.$slots.input()[0].ref.i.refs[refName]
Fixed the issue for me (Build for Prod using Vuetify component)


Adding --use-experimental-interpreter to edb test, which will divert the query engine to the experimental interpreter

This does not merge into master but my experimental interpreter branch. The only relevant changes are to server.py and runner.py. My experimental interpreter will eventually be merged into master, it is nevertheless good to review those portions that change the main codebase.


Added my details as a contributor

Also, made some changes in .card_img selector, For details check 'commits description'

hey @Kalki2706,
your editor has formatted the document please use different document to edit files,
upadte your repo create new branch and add your details in profile, index, css file, dont touch other details..


Improves the documentation

the missing images in the readme should be resolved if #5 is addressed.  @jmcarpenter2


Refactor BlockHeaderBuilder

          new issue: this builder shouldn't exist. Use something like tidy-builder instead

Originally posted by @aatifsyed in https://github.com/ChainSafe/forest/pull/3220#discussion_r1267390514

Done in #3851


Hotfix/cannon commons

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

byuSuite/Apps/CannonCommons/controller/CannonCommonsFullMenuViewController.m, line 17 at r1 (raw file):

@property (weak, nonatomic) IBOutlet UISearchBar *searchBar;

@property (nonatomic) NSMutableArray<CannonCommonsRecipe *> *searchFilteredRecipes;   //Recipes displayed in table view when searching

call it filteredRecipes

byuSuite/Apps/CannonCommons/controller/CannonCommonsFullMenuViewController.m, line 92 at r1 (raw file):

}

-(void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText {

This is the only function you should need to implement. You don't need all this stuff... Just be a ByuSearchController. We wrote that, didn't we?

Comments from Reviewable

Review status: all files reviewed at latest revision, 2 unresolved discussions.

byuSuite/Apps/CannonCommons/controller/CannonCommonsFullMenuViewController.m, line 17 at r1 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
call it filteredRecipes

Done.

byuSuite/Apps/CannonCommons/controller/CannonCommonsFullMenuViewController.m, line 92 at r1 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
This is the only function you should need to implement. You don't need all this stuff... Just be a ByuSearchController. We wrote that, didn't we?

Done.

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


alternative multicell avoiding mechanics

Your current no good angles has a flaw, it goes to the farthest cell but once it is near it that is no longer the farthest cell so it just circles around to its death my alternative is create a point at every intersection of the circles and find the nearest point that isn't obstructed by another cell or going to be obstructed (found by using velocity) or is inside of another circle and if all points are obstructed try and reduce all threat circles to size+75 besides 2.6 to 4.5 (high split liklyhood range) to get out and if not even that creates an opening then it does the old behavior with the blue line that is now commented out

@Apostolique ?

I'll write a proper response later. Don't bother bumping your post, I read this already.

Okay, sorry for the late reply. Essentially, the idea behind the current avoiding mechanism is this:

As you go towards the furthest guy, you are likely to find an opening.

this is what I see happening

I thought about a possibly much better algorithm. No idea if it will work, but I'll write it down soon enough. It works perfectly in my head at least.

No more blue screens, no more crashes, no more stuttering, no more ads . . . .
Little Smart Dot release date announced to be 20th Dec. can't wait
it even comes with it's own fancy subdomain lol :P
http://agar.strlbs.com

Apostolique made enemies be partly obstacles when there are too many of them around so it's easier to run around them. With the normal enemy code, you just run in the direction opposite to them. When there are too many enemies, you can't run in all directions at the same time. But if you are in the obstacle zone instead, you can run around them.


A few issues with Azure Key Vault VM Extension for Linux docs

Three issues with this doc:
The --settings argument for Azure CLI on this page seems to be plain wrong. It gives an 'unrecognized argument' response for me (Powershell 7 Windows Terminal). For the command to accept the settings I found it has to look like this:
{
"settings": {
        "secretsManagementSettings": {
            "pollingIntervalInS": "3600",
            "linkOnRenewal": "false",
            "certificateStoreLocation": "/var/lib/waagent/Microsoft.Azure.KeyVault.Store",
            "requireInitialSync": true,
            "observedCertificates": [
                "https://cert-url"
            ]
        }
    }
}

Notice the top-level "settings" object. The examples contain only the "secretsManagementSettings", which CLI will not eat either from file or as a string.

The MSI client ID needs to be specified better. I think this is the fourth name for an Azure Entra ID GUID I'v encountered. Is this application ID or object Id of the enterprise application, or something else?

Inconsistent information on when MSI client Id needs to be supplied.
Schema says: "msiClientId":  <Required when VM has any user assigned identities.
But the info box below says, in poorly worded way, that it is also needed for managed identities.

Put these 3 together and I'v spent a few hours trying to get this key vault for linux up and running, and its still failing with "Attempt to get non-existent AuthConfig", which is nowhere to be found in the internet, not even in the code repo.
I'll make a separate issue about this on the code-repo.

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

ID: f7fd1350-6158-4eb0-b41b-5c7b9a776e96
Version Independent ID: 713b91b9-d810-aca5-0ab4-00e0a4ee0fed
Content: Azure Key Vault VM Extension for Linux - Azure Virtual Machines
Content Source: articles/virtual-machines/extensions/key-vault-linux.md
Service: virtual-machines
Sub-service: extensions
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@yacuzo
I'm going to assign this to the document author so they can take a look at it accordingly.
@msmbaldwin
please review it.

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Fixed Typo in [EN] tutorial: body-fields

Removed duplicate examples word in body documentation
resolves #1296

Thanks! I updated it a bit to try and clarify what was the original intention for the meaning of the phrase.
Thanks for your contribution @chris-allnutt ! :rocket: :cake:
And thanks for the review @chenl ! :coffee:


feat(ci):  add release-drafter ci/cd github action for automatic releases

fixes #1455

@all-contributors add @priyankarpal for code


./build.py succeeds on branch master ./build.sh fails on branch 1.9.8 with src/qt/bin/qmake: No such file or directory

I was able to successfully build version 2.0.0 on
Linux ubuntug5 3.13.0-74-powerpc64-smp
#118-Ubuntu SMP Thu Dec 17 23:07:20 UTC 2015 ppc64 ppc64 ppc64 GNU/Linux

using the instructions for building PhantomJS.
I then wanted to try version 1.9.8 of PhantomJS so I did the following:

    git checkout 1.9.8
    ./build.sh

The following error was returned: src/qt/bin/qmake: No such file or directory
Knowing very little about these sorts of things I turned to Google and found that others had had the same error returned.
I did not find a solution in a discussion I found here.
I found my own solution, however. Granted, it is not likely the most elegant solution; it did, however, work.
I am a newbie so please comment on how this could be done more elegantly! This is a hack because I do not really grok why my solution succeeded. I pieced together other hacks I found while googling. Though I think I have a sense of what is going on.

    git checkout 1.9.8
    # I noted that the build in 2.0.0 is a Python module and not a shell script so I checked out build.py
    git checkout master build.py
    # I postulated that qmake is built and needed source files so I removed ./src/qt
    # and checked out the master version
    rm -rf  ./src/qt
    git checkout master ./src/qt
    cd ./src/qt
    # I then populated the qt directory with the submodules with the qt source
    rm -rf 3rdparty/
    git clone https://github.com/Vitallium/phantomjs-3rdparty-win.git 3rdparty
    rm -rf qtbase
    git clone https://github.com/Vitallium/qtbase.git
    rm -rf qtwebkit
    git clone https://github.com/Vitallium/qtwebkit.git
    cd ../..
    git submodule init
    ./build.py

S̶u̶c̶c̶e̶s̶s̶!̶
NB: I tried using the source code from a non-git source. I ran ./build.sh and had the same  src/qt/bin/qmake: No such file or directory error.

Switching between 1.x and 2.x branches are not recommended due to various complications (new submodule in 2.x etc). You may get it away by doing git clean -xfd . after switching. However, the safest way is to have a separate working directory for 1.x and 2.x.

I'll try that.
I declared success a little too early.
The build endlessly looped over the inability to find qt/src/3rdparty/webkit/Source/WebCore/generated/InspectorBackendStub.qrc

Is there a definitive solution to the src/qt/bin/qmake: No such file or directory ?
It's happening on two different machines for me. I would like to build version 1.9.8.

Your suggestion seems to be working on this machine:
Linux DX4860 3.16.0-51-generic #69~14.04.1-Ubuntu SMP Wed Oct 7 15:32:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I am getting the src/qt/bin/qmake: No such file or directory error on this machine:
Linux ubuntug5 3.13.0-74-powerpc64-smp #118-Ubuntu SMP Thu Dec 17 23:07:20 UTC 2015 ppc64 ppc64 ppc64 GNU/Linux

I installed all the requisite packages on both machines with the same command.

Qt 5 doesn't support PowerPC.

@Vitallium Thank you! That solves that. Nothing like chasing red herrings. It will teach me to stick on one machine until I get it working.


add reload button

Hello.
I was having trouble reloading the UI every time I changed the YAML file, so I added a reload button.
I am not familiar with JavaScript, Python or AUTOMATIC1111 extensions, so if there is something wrong, I would appreciate it if you could fix it.
How to use:
The EasyPromptSelector menu will be added to the lower left corner of the screen. Press the triangle to display the reload button.
Pressing the reload button will load the YAML file.

前向きに検討中…

追加しておきました！


Fix user on example config

Changes proposed in this pull request:

In the docs, the default username is: hradmin. However, on the example-config file it defaults the username to be couchadmin. To keep the docs consistent with the code, I updated the username on config-example.js

cc @HospitalRun/core-maintainers

@ssh24
The user in the config is intentionally couchadmin, not hradmin.
There are two users that the couchdb script sets up:
couchadmin - CouchDB admin. This is a CouchDB server administrator which is a CouchDB super user. This is used by hospitalrun-server-routes to do some user setup that a regular user can't do.
hradmin - This is the default user to login to HospitalRun with. This user is not a CouchDB server admin.


.inventory says "parcels"

https://github.com/webaverse/ethereum-bot/blob/59a18c2240b1da519d5f2e84ffdabdc095a23441/index.js#L2178

https://github.com/webaverse/ethereum-bot/blob/59a18c2240b1da519d5f2e84ffdabdc095a23441/index.js#L2178

updated, needs deploy
https://github.com/webaverse/ethereum-bot/commit/ea147c43b6c460ec43968b47154a74da87bfb10f

updated, needs deploy
https://github.com/webaverse/ethereum-bot/commit/ea147c43b6c460ec43968b47154a74da87bfb10f

Fixed after redeploy.

Fixed after redeploy.


Add Group Mount

This needs to work before being merged. First, the parameters cannot have hyphens. Second, the error messages should be better.

Also, updated with this new comment: https://github.com/ipfs/go-ipfs/pull/2671/files

Closing as this probably shouldn't be in the HTTP API at the moment, AFAIK.


Status on PR: 2666: Support update partial fields for CoW table

Hello Hudi Community !
We have a use case in which we have primary key supplemented logging enable and we need to ingest data through delta streamer. Currently DeltaStreamer not supports partial updates in cdc data so I went through the issues and I found out that we can benefit work from below PR :
https://github.com/apache/hudi/pull/2666
Is there any plan to merge this PR ? or Is any similar PR work merged before ?

Have you tried OverwriteNonDefaultsWithLatestAvroPayload ?  if not, you can check whether it can satisfy your requirement or not

What I understand ->  OverwriteNonDefaultsWithLatestAvroPayload can update the non-null fields in the new data(cdc) to the old data(Hudi table) But what if I have multiple changes for the same Record key into new cdc data then it won't give me correct output.
For example:
Hudi Table:
RK1, F1, F2, F3, F4, F5
New cdc data:
RK1, null, null, F3', null, F5'
RK2, F1', null, F3", null, null
RK3, null, F2', null, F4', F5"
So Expected output of Record key(RK1) row in Hudi Table would be:
RK1, F1', F2', F3", F4', F5"
Is there any future plan to merge following work into Hudi master which can help us to get partial updates ?
https://github.com/apache/hudi/pull/2666

What I understand -> OverwriteNonDefaultsWithLatestAvroPayload can update the non-null fields in the new data(cdc) to the old data(Hudi table) But what if I have multiple changes for the same Record key into new cdc data then it won't give me correct output.
For example: Hudi Table: RK1, F1, F2, F3, F4, F5
New cdc data: RK1, null, null, F3', null, F5' RK1, F1', null, F3", null, null RK1, null, F2', null, F4', F5"
So Expected output of Record key(RK1) row in Hudi Table would be: RK1, F1', F2', F3", F4', F5"
Is there any future plan to merge following work into Hudi master which can help us to get partial updates ? #2666

try turn off hoodie.combine.before.upsert？

we have landed partial update feature here https://github.com/apache/hudi/pull/4676
Let us know if you are looking for something else.
If not, feel free to close out the issue.

@nsivabalan the partial update feature you linked is explicitly about MoR tables, while this issue is about CoW tables.
Can you please reopen this issue, or explain how it affects CoW tables?


TST: backport gh-9493 to 1.2.x branch

Backport gh-9493
With both Travis and Appveyor wheel build CI runs now finally green (for the first time in 2+ months) on the master branch after a set of PRs, this is the first of a few backport PRs to enable the same wheel building fixes in the 1.2.x maintenance branch, so that I may eventually proceed with the somewhat-delayed release candidate process.

You don't need to wait on reviews for backports, just put them in after the tests run.

I'm probably just a little slow because of long weekend stuff. I think the pypy3 failures are known / skipped in master, but Appveyor will take about 2 hours to run typically.

Just wanted to make sure you didn't wait on review.

Merged. For next backports I'd suggest to do multiple in a single PR, rather than all separate - easier on CI, and keeps the history cleaner.
PyPy CI failures are known. The crashes can be ignored, but the content of gh-9507 would be useful to backport as a single commit as part of the next backport PR.