Error in Build, step 6

I am facing this error in step 6 of the build. It can not install the Scipy.
Step 6/8 : RUN pip install --no-cache-dir --proxy=${http_proxy}  apistar==0.5.41   gunicorn==19.8.1   dill===<IP_ADDRESS>   minio===4.0.0   psycopg2-binary===2.7.4   scipy   scikit-learn
 ---> Running in 1cbfdda6edf0
Collecting apistar==0.5.41
  Downloading https://files.pythonhosted.org/packages/59/ca/9c559fd9b4fab2c98203555b1ff628a54b9cb32896d017db8cc1f1e626a4/apistar-0.5.41.tar.gz (587kB)
Collecting gunicorn==19.8.1
  Downloading https://files.pythonhosted.org/packages/55/cb/09fe80bddf30be86abfc06ccb1154f97d6c64bb87111de066a5fc9ccb937/gunicorn-19.8.1-py2.py3-none-any.whl (112kB)
Collecting dill===<IP_ADDRESS>
  Downloading https://files.pythonhosted.org/packages/91/a0/19d4d31dee064fc553ae01263b5c55e7fb93daff03a69debbedee647c5a0/dill-<IP_ADDRESS>.tar.gz (64kB)
Collecting minio===4.0.0
  Downloading https://files.pythonhosted.org/packages/bb/82/7137e57d625b362756ef28e7c44cd32b5c03b87b02057e642062187011e1/minio-4.0.0-py2.py3-none-any.whl (50kB)
Collecting psycopg2-binary===2.7.4
  Downloading https://files.pythonhosted.org/packages/77/09/4991fcd9a8f4bea1ee3948e1729fa17c184d25bd10809bacc143626361b9/psycopg2-binary-2.7.4.tar.gz (426kB)
Collecting scipy
  Downloading https://files.pythonhosted.org/packages/04/ab/e2eb3e3f90b9363040a3d885ccc5c79fe20c5b8a3caa8fe3bf47ff653260/scipy-1.4.1.tar.gz (24.6MB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpk3u7ce_a
         cwd: /tmp/pip-install-fry1dkls/scipy
    Complete output (124 lines):
    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_lapack_info:
    customize UnixCCompiler
    C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC

    creating /tmp/tmpvqyj5o7z/tmp
    creating /tmp/tmpvqyj5o7z/tmp/tmpvqyj5o7z
    compile options: '-c'
    gcc: /tmp/tmpvqyj5o7z/source.c
    /tmp/tmpvqyj5o7z/source.c: In function 'main':
    /tmp/tmpvqyj5o7z/source.c:4:13: warning: implicit declaration of function 'zungqr_'; did you mean 'zungqr'? [-Wimplicit-function-declaration]
        4 |             zungqr_();
          |             ^~~~~~~
          |             zungqr
    gcc /tmp/tmpvqyj5o7z/tmp/tmpvqyj5o7z/source.o -L/usr/lib -lopenblas -o /tmp/tmpvqyj5o7z/a.out
    /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /tmp/tmpvqyj5o7z/tmp/tmpvqyj5o7z/source.o: in function `main':
    /tmp/tmpvqyj5o7z/source.c:4: undefined reference to `zungqr_'
    collect2: error: ld returned 1 exit status
    /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /tmp/tmpvqyj5o7z/tmp/tmpvqyj5o7z/source.o: in function `main':
    /tmp/tmpvqyj5o7z/source.c:4: undefined reference to `zungqr_'
    collect2: error: ld returned 1 exit status
      NOT AVAILABLE

    system_info:
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib/
      libraries lapack_atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib/
      libraries lapack_atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
      libraries lapack_atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib/
      libraries lapack_atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    lapack_src_info:
      NOT AVAILABLE

      NOT AVAILABLE

    setup.py:420: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-j8946u5_'), proceeding with generating Cython sources and expanding templates
      ' '.join(sys.argv[1:])))
    Running from scipy source directory.
    /tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/numpy/distutils/system_info.py:572: UserWarning:
        Atlas (http://math-atlas.sourceforge.net/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [atlas]) or by setting
        the ATLAS environment variable.
      self.calc_info()
    /tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/numpy/distutils/system_info.py:572: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      self.calc_info()
    /tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/numpy/distutils/system_info.py:572: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      self.calc_info()
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
        main()
      File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 110, in prepare_metadata_for_build_wheel
        return hook(metadata_directory, config_settings)
      File "/tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 156, in prepare_metadata_for_build_wheel
        self.run_setup()
      File "/tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 237, in run_setup
        self).run_setup(setup_script=setup_script)
      File "/tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 142, in run_setup
        exec(compile(code, __file__, 'exec'), locals())
      File "setup.py", line 540, in <module>
        setup_package()
      File "setup.py", line 536, in setup_package
        setup(**metadata)
      File "/tmp/pip-build-env-fl7ferm4/overlay/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "setup.py", line 435, in configuration
        raise NotFoundError(msg)
    numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpk3u7ce_a Check the logs for full command output.
ERROR: Service 'apistar' failed to build: The command '/bin/sh -c pip install --no-cache-dir --proxy=${http_proxy}  apistar==0.5.41   gunicorn==19.8.1   dill===<IP_ADDRESS>   minio===4.0.0   psycopg2-binary===2.7.4   scipy   scikit-learn' returned a non-zero code: 1

Any idea how to fix the issue?

I have the same problem


Civil Dawn in Inject Enhanced and Within Time nodes are showing slightly different times.

Describe the bug
Inject Enhanced and Within Time Nodes do not agree on Civil Dawn (have not tried others).
Screenshots

Expected behavior
Civil Dawn Times should match?
System information (please complete the following information):

Node Version 2.1.1
Node-Red Version 2.2.0

Additional context

Hello,
This is an expected behavior.
The time-inject node always shows the next timestamp - the timestamp of the next inject, whereas the within-time node always shows the timestamps for the current day.
The reason for this is that the within-time node determines the start and end time for the current day and then checks whether the current time is within this period. These determined times are simply output as status. The inject node always determines the next time and outputs this as status.
The function to determine the time is also not in the nodes themselves, but in the configuration node. As long as both nodes use the same configuration-node, it is 100% sure that they use the same time. Since both nodes use the same function for the determination of the time and this function the determined times even internally cached by day - that means, the times are not recalculated each time, but all nodes with the same configuration node use the same time. To thus differences in times can arise only by times for different days or configuration nodes.
Is this here a feature request, because to change in such a way that the within-time node after expiration of the time period outputs the next time period?
regards
(duplicate to #417)

Also I think it's fine - no new feature necessary. The within-time node will update for the next day and work as expected? In other words it's okay to do a dusk to dawn range even though the end time is earlier.. I've always been a little confused about that but it works so...

The within-time node check when a message arrives if it is still valid for the current day and if not it recalculates the times.
The within-time node also accepts if the end time is before the start time (dawn to sunrise) and will evaluate this correctly. May in this case the state is misleading.

the latest version (currently beta) has a changed state text and shows extra icon if time goes over midnight:


Gateway localnet examples

Summary by CodeRabbit

New Features

Introduced Hello contract for enhanced cross-chain interaction and structured revert handling.
Introduced RevertContract for improved revert scenario management.
Added ReceiverContract for event logging and Ether reception.
Added new Hardhat tasks, call-from-zetachain and deposit-and-call, facilitating seamless interactions with ZetaChain contracts.

Documentation

Enhanced documentation to guide users in utilizing new features and interacting with the ZetaChain contracts.

Chores

Improved project structure with new management files, contributing to better organization and maintenance.

cd universal/hello
yarn
npx hardhat localnet

npx hardhat deploy --network localhost

npx hardhat interact --contract 0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82 --name alice  --network localhost

Error calling contract: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted", method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0","data":"0x45ac7a8d0000000000000000000000000dcd1bf9a1b36ce34237eeafef220932846bcd82000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000005616c6963650000000000000000000000000000000000000000000000000000000000000000000000000000004955a3f38ff86ae92a914445099caa8ea2b9ba3200000000000000000000000000000000000000000000000000000000000000000000000000000000000000004955a3f38ff86ae92a914445099caa8ea2b9ba3200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted\n    at HttpProvider.request (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/hardhat/src/internal/core/providers/http.ts:90:21)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async EthersProviderWrapper.send (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
    at Logger.makeError (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
    at Logger.throwError (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
    at checkError (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20)
    at EthersProviderWrapper.<anonymous> (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20)
    at step (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
    at Object.throw (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
    at rejected (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  reason: 'execution reverted',
  code: 'UNPREDICTABLE_GAS_LIMIT',
  method: 'estimateGas',
  transaction: {
    from: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
    to: '0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0',
    data: '0x45ac7a8d0000000000000000000000000dcd1bf9a1b36ce34237eeafef220932846bcd82000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000005616c6963650000000000000000000000000000000000000000000000000000000000000000000000000000004955a3f38ff86ae92a914445099caa8ea2b9ba3200000000000000000000000000000000000000000000000000000000000000000000000000000000000000004955a3f38ff86ae92a914445099caa8ea2b9ba3200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000',
    accessList: null
  },
  error: ProviderError: execution reverted
      at HttpProvider.request (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/hardhat/src/internal/core/providers/http.ts:90:21)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async EthersProviderWrapper.send (/Users/fadeev/github.com/zeta-chain/example-contracts/universal/hello/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)
}

@andresaiello please, review again.


cocoapods improt react-native error: No component found for view with name "RCTText"

Is this a bug report?
I use cocoapods import react-native to my ios project  this is Podfiile:
target 'reactnativeTest' do
pod 'React', :path => './rnproject/node_modules/react-native', :subspecs => [
'Core',
'BatchedBridge',
'DevSupport',
'ART',
'RCTActionSheet',
'RCTAnimation',
'RCTCameraRoll',
'RCTGeolocation',
'RCTImage',
'RCTNetwork',
'RCTPushNotification',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket',
'RCTLinkingIOS'
]
pod 'yoga', :path => './rnproject/node_modules/react-native/ReactCommon/yoga'
end
when I run project ther error messgae is :  No component found for view with name "RCTText"
How can I do ?

Have you read the Contributing Guidelines?
Yes
Environment
<!--
  In your terminal run `react-native info` and paste its contents here. Next, specify your target platform, like this:

  Environment:
    OS:  macOS Sierra 10.12.6
    Node:  7.7.3
    Yarn:  0.27.5
    npm:  5.4.0
    Watchman:  4.7.0
    Xcode:  Xcode 8.3.3 Build version 8E3004b
  Packages: (wanted => installed)
    react-native: 0.51.0
    react: 16.0.0-alpha.12 => 16.0.0-alpha.12

  Target Platform: iOS (10.3.3)

+1

open ./node_modules/react-native/React.podspec
change
  s.subspec "RCTText" do |ss|
    ss.dependency             "React/Core"
-   ss.source_files         = "Libraries/Text/*.{h,m}"
+   ss.source_files         = "Libraries/Text/**/*.{h,m}"
  end

Looks like the fix is in master but didn't make it into the release
https://github.com/facebook/react-native/commit/7e7d00aebefd2416f948066c65c739581c6e3f54

I am still having this issue. Anyone else running into this? I confirmed that my source files match what @KelaKing has listed there. Just upgraded from 50.4 with no issue.
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.0.0
Yarn: 1.6.0
npm: 5.0.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4670197
Packages: (wanted => installed)
react: ^16.3.1 => 16.3.1
react-native: ^0.55.4 => 0.55.4

I just deleted the ios and node_modules folders and reinstalled everything.
If you do that make sure you save any important changes first (like info.plist file).


With LocalePrefix: 'never' locale switches to previous choice on navigating app pages

Description
While I used LocalePrefix: 'never' configuration I faced strange behaviour - if I navigate to any page of my app then change locale I see that locale was changed to previous choice when I navigate to other pages. I created CodeSandbox example of the issue, but looks like LocalePrefix: 'never' is not working there (I added a link to show this), you can download sources to run it locally.
Addition to this issue (it might be helpful): If I change locale several times on the third time it stops changing NEXT_LOCALE cookie value, but it works well only with LocalePrefix: 'always'
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/devbox/next-intl-bug-template-app-forked-r7cscn
Reproduction description
Steps to reproduce:

Open link and download sources
Install dependencies (npm install) and run dev server (npm run dev)
Open http://localhost:3000/ in browser - it opens /home page
Click on the Page link - it opens '/page' page
Click Switch to German link
Click on the 'Home' link - page should be in German
Click on the Page link - there are two unexpected results: page will be in English or application crashes with text on the screen: Application error: a client-side exception has occurred and in console there is this log:

Warning: Cannot update a component (`HotReload`) while rendering a different component (`Router`). To locate the bad setState() call inside `Router`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
...
Uncaught Error: SEGMENT MISMATCH
...
The above error occurred in the <Router> component:
...

Expected behaviour
Locale and translations should stay in German

Btw. in the lockfile of your repro is a slightly outdated version of next-intl. I couldn’t reproduce the issue after updating, but maybe you want to upgrade nonetheless in case your app is on an older version currently.

Looks like you are doing the same, but for me it reproduces every time.
https://github.com/amannn/next-intl/assets/8483591/293880d3-ec68-472b-9acd-f4109bdcc045
I've tried to use different versions and firstly face this behaviour with latest version, I experimented that why maybe it has old version in package lock. My idea was that it can work on old version because when I run it with version 3.0.1 first time it seems worked as on your video, but after I tried find a version it start working so on all the version I've tried including 3.0.1.
I even tried to use different node version and next version. Issue is still there.

My local package-lock:

I made some progress in regard to this in https://github.com/amannn/next-intl/pull/790. After hitting a blocker, I wanted to submit a bug report to Next.js, but found that the latest canary version of Next.js seems to improve the story here.
You can see my reproduction here: https://github.com/amannn/nextjs-bug-router-cache. After upgrading to the latest canary the buggy behavior was gone.
I think we should wait for the next stable release of Next.js and then continue looking into this.
Thanks again for the report!

So it turns out just a few hours after my comment Next.js 14.1 was released—which seems to fix the issue :).
https://github.com/amannn/next-intl/pull/790 furthermore includes a relevant fix for you. Updating both next and next-intl to the latest version should fix the error you were seeing!

Great thanks for your support and all work you are doing!
I've checked - version 14.1 solve the issue. I am happy. Haven't expected that it will be solved so fast.
Thanks again and good luck!

May I say that the issue of having wrong cookie under NEXT_LOCALE is still happening even after updating
for example if you visit '/en' the NEXT_LOCALE will be the previous one and so on
without having localePrefix sat to 'never'

@bim-oulabi Can you open a new issue with a reproduction?

I want to apologize as the issue was not because of next-intl,
To put it here in case anyone faced the issue in the future,
If you are using custom next/link to change locale
Disable prefetching by using prefetch={false}
As prefetch will override the locale cookie with the new locale
Or diasble default link behavior by using preventDefault()
And navigate using hooks

Adding prefetch={false} to the links that change the locale fixed this for me (on latest Next.js 14 hosted on Vercel)

Newest Next.js version 14.2.3 breaks it down again, downgraded to Next.js 14.1.4 (with next-inl 3.13.0) and it works

Newest Next.js version 14.2.3 breaks it down again, downgraded to Next.js 14.1.4 (with next-inl 3.13.0) and it works

Seems like, there was a new report about this in https://github.com/amannn/next-intl/issues/1066. I'll reopen this for the time being until this is fixed on the Next.js side.
Does anyone know if there's an upstream bug report? If not, it might be a good idea to create one, maybe for the Next.js team to create a regression test.

Calling router.refresh will invalidate the Router Cache and make a new request to the server for the current route.

Calling router.refresh();  after changing the locale solves the problem for me.
const handleLocaleChange = (locale: string) => {
    startTransition(() => {
      router.replace(`${pathname}?${searchParams.toString()}`, { locale });
      router.refresh(); // clear caching to make sure the locale cookie is set correctly
    });
  };

Seems to be broken again, and adding prefetch={false} does not help any more.

Same issue here with prefetch={false} as well.

I'll try other solutions, but I wouldn't want to remove prefetch, as it helps to have faster navigation between pages.

This is still an issue even with
experimental: {
    staleTimes: {
      static: 0,
      dynamic: 0,
    },
}

None of the mentioned workarounds worked.


Add email functionality

Fixes #33

Coverage increased (+1.6%) to 51.362% when pulling 3cc18bc4fe6e0c2282c00108f0cab3f1a81aab88 on email into 8ed5ccbbc8b5ed861a8d7798da2243e6893c7cb1 on master.

@indocomsoft actually is there any way for me to test the email? (Say, by pressing a button?)

Do you want me to create one? So far I only test it via the console.
I have never really tested it either because testing it will require seeding the database with the correct roles, and adding those emails to mailgun's sandbox authorised recipient list.

Okay maybe tomorrow let's just check if everything works


Paper launch fails with 404

Describe the problem
The init process fails to download the latest paper build.
Container definition
docker run -e EULA=TRUE -e TYPE=paper itzg/minecraft-server

Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 May  2 18:48 /data'
[init] Resolved version given LATEST into 1.19 and major version 1.19
[init] Resolving type given paper
curl: (22) The requested URL returned error: 404
[init] Removing old PaperMC versions ...
[init] Downloading PaperMC 1.19 (build null) ...
curl: (22) The requested URL returned error: 404
ERROR: failed to download PaperMC from version=1.19 build=null download=

Never mind, realised it's due to no paper builds existing for 1.19 yet. Might be nice if the LATEST tag used the latest avaliable version.

Yes, this is a awkwardness with each major upgrade.


Watching the Sprig port of the Bad Apple video (https://www.youtube.com/watch?v=FtutLA63Cp8)
Context: people try to play the video on everything they can so I thought It'd be cool to add a Sprig port to the list (https://www.youtube.com/playlist?list=PLajlU5EKJVdonUGTEc7B-0YqElDlz9Sf9)
How do you play your game?
Select the playback frame-rate with J (15 fps) or L (30 fps, but it can lag and desync the music), and enjoy.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

The game ROOM by davnotdev gave me the idea to use a tilemap as a framebuffer and the setInterval() function to refresh graphics and prevent music from slowing down.

The game ROOM by davnotdev gave me the idea to use a tilemap as a framebuffer and the setInterval() function to refresh graphics and prevent music from slowing down.

hmm did you use any code from another person?

I planned to use davnotdev's code (and credit him) if my own code wouldn't work: I first tried to make the framebuffer myself and it happened to work properly with some tweaks. So in the end I didn't use code from anyone except myself (because I made the python music scripts and JS player for a previous project.)
However, as mentionned in my code, I got video data from  52525rr  and she made the encoding and ffmpeg video scanning so I find it fair to credit her even if it's not code.

I discovered sprig when people in a discord server were talking about hackclub, I took a look at what the organization was then  checked its repos and I clicked on the first one out of curiosity :eyes:

hmmmm out of curiosity, are you on hackclub slack?

No I'm not on it.

No I'm not on it.

Right:) out of curiosity why bad apple?

Because on the list of "port it on everything" projects it's by far the most popular and easy one, the other ones being  STNICCC 2000  (rendering a polygon stream animation) and of course DOOM.

Sure !

I'll merge later because i need to update your metadata but my github isn't loading the file

Thanks! I'll try to join the sprig slack and apply for the console but I'm a bit worried about having to give my personal infomation.

Thanks! I'll try to join the sprig slack and apply for the console but I'm a bit worried about having to give my personal infomation.

We don't share your info, the airtable that stores the data is extremely controlled and only trusted people have access. but if you prefer to not fill, it's your choice and we respect:)


Add extension methods for enumerables

Add Exists (equivalent to Enumerable.Any) and ForAll (equivalent to Enumerable.All) extension methods. These can be used as shorthands for constructing boolean Zen values over an enumerable, when the desired result is an Or or an And (respectively) over all the enumerable's values.

@microsoft-github-policy-service agree


push_image service not working

Version of the custom_component 0.6.3

Configuration

service: openhasp.push_image
target:
  entity_id: openhasp.plate
data:
  image: https://megawubs.duckdns.org/local/images/image.png
  obj: p2b17

{"page":1,"id":17,"obj":"img","x":230, "y":30, "w":70,"h":70, "border_color":"white", "border_opa":0, "src":"/littlefs/genietmomentjes.png", "auto_size":0}

Describe the bug
I'm unable to push an image to an image obj on my m5stack core 2. It doesn't matter if I add a url or path from /littlefs/*.png. The initial image is shown, but i'm unable to update it.
Debug log

[139951158890064] Error handling message: invalid url for dictionary value @ data['image']. Got None

I am just developing a media player interface and this works to get the cover image from my media_player. Yoohoo.

Try OpenHASP discord channel instead:
https://discord.gg/BNG7mpNW

I am just developing a media player interface and this works to get the cover image from my media_player. Yoohoo.

I'm also building a media player interface! Nice to know that this will work. Haven't had the time to look into this yet.
I would like to see your take on a media player interface, do you want to share it? I don't think this issue is the right place for it. Are you on the Home Assistant Discord channel?

No, don't really do discord!
Well I have not developed much yet, and it probably won't be very good! I have a particular need, fat fingers and a controller for next to the spa pool. I intend to only have play, pause and volume functionality, as well as the image of the album cover. The rest I will probably set up from a tablet or PC before going to the spa in the evening.


iam-identity: adding trusted profiles

PR summary

PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

this PR is now updated :)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Combine two invoice views into a single view

There are two invoice views

app/views/invoice_mailer/invoice.html.erb  Invoice that is mailed
app/views/rentals/invoice.html.erb  Invoice that is rendered in the browser

Here is a good tutorial to support this, it requires a "premailer" that converts any bootstrap classes into inline styles.  Email clients will not pull down any linked css.
http://stefan.magnuson.co/articles/rails/sending-emails-using-rails-and-bootstrap/


Optimize winget download speed

Microsoft in its endless wisdom, created Invoke-Webrequest in such a way that the progress bar, which is shown during a download, drastically reduces the download speed that can be achieved. This is especially painful when downloading larger files (like winget ~200+ MB)
The simplest workaround is, to disable the progress bar for the time of the download and print a message like "Downloading..." manually.

Ah... Didn't realize that was the issue! Thanks for the solution @Marterich!


Updated AddPasswordMap method to create PasswordAliasMap.

With the old code,  PasswordAlias object is not getting created in DataPower. I just modified code in SOMA.java class and recreated jar in my local and then it is working.  Please include it in next release.

Hi, could you please move the SOMA.java file into the src/com/ibm/dcm/ folder so we can see it compared to the old one?

To support the above java code, we need to add below target code in deploy.ant.xml file.

${passwordAlias.object.name}
${passwordAlias.object.password}
${host}
${uid}
${pwd}
${domain}

Hi Team
I have to commit another file deploy.ant.xml as part of same change
(PasswordAlias). How to upload this code, could you please help me?
Thanks
Regards
Sekhar Dutta
On Tue, Sep 12, 2017 at 5:10 PM, Nick Mathison<EMAIL_ADDRESS>wrote:

Hi, could you please move the SOMA.java file into the src/com/ibm/dcm/
folder so we can see it compared to the old one?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ibm-datapower/datapower-configuration-manager/pull/75#issuecomment-328900231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeOOoJ4d-LFC4YmjTI6otQFUqVYt5r79ks5shqv2gaJpZM4PUsIh
.

Hi,
You created two new files called SOMA.java and added them to a pull request. If I merged this pull request right now, then we would have two duplicated files that are largely based on an already existing file. As it stands now, the compiled DCM would not have your changes and would likely crash during compilation. In addition, I can't see how your changes compare to the current code.
Before I can review and accept this code, those two files need to be deleted and the file Soma.java (notice the capitalization) needs to be modified with your new changes on your local machine. Once that is done, you can make a new commit against this pull request. The the Soma.java file is located under src/com/ibm/dcm.
The committed code should look identical to what you wrote and tested on your machine.
If you are having trouble managing the pull request and the modified code, I recommend you download the GitHub Desktop client: https://desktop.github.com/

Hi Team
I have committed code to support below functionality.
1) Create passwordAlias object
2) Update password in existing PasswordAlias object
Please check and merge.

Hi,
There seems to be line ending changes on every line of the two modified files. This makes it very hard to parse and code review. Could you please update the files to remove these modified line endings?
Few links that may help:

https://help.github.com/articles/dealing-with-line-endings/
https://stackoverflow.com/questions/19593909/git-diff-sees-whole-file-as-changed-when-its-not
https://stackoverflow.com/questions/1889559/git-diff-to-ignore-m

Thanks!

Thank you!


Article on Size of Binary tree

🚀 Feature
I would like to add an article for finding size of Binary tree.
Have you read the Contributing Guidelines on Pull Requests?
(Yes)

Please assign me this issue sir @HarshCasper @iamrajiv @ankitaggarwal23 @atarax665 @gat786


Fetching lease fails with TTL

I'm using etc3dgw in openstack cinder and I'm running into an issue where the lease refresh is failing, due to a missing field.
stack@walt-stack-1  /opt/stack/logs/screen  pip freeze |grep etcd                                                                            1 ↵  482  12:23:14
etcd3==0.6.2
etcd3gw==0.1.0
---excerpt from the cinder log
2017-08-23 12:25:16.771 24793 ERROR root [-] Unexpected exception occurred 60 time(s)... retrying.: KeyError: 'TTL'
2017-08-23 12:25:16.771 24793 ERROR root Traceback (most recent call last):
2017-08-23 12:25:16.771 24793 ERROR root   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 250, in wrapper
2017-08-23 12:25:16.771 24793 ERROR root     return infunc(*args, **kwargs)
2017-08-23 12:25:16.771 24793 ERROR root   File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 187, in _beat_forever_until_stopped
2017-08-23 12:25:16.771 24793 ERROR root     wait_until_next_beat = self._driver.heartbeat()
2017-08-23 12:25:16.771 24793 ERROR root   File "/usr/lib/python2.7/site-packages/tooz/drivers/etcd3gw.py", line 191, in heartbeat
2017-08-23 12:25:16.771 24793 ERROR root     lock.heartbeat()
2017-08-23 12:25:16.771 24793 ERROR root   File "/usr/lib/python2.7/site-packages/tooz/drivers/etcd3gw.py", line 38, in wrapper
2017-08-23 12:25:16.771 24793 ERROR root     return func(*args, **kwargs)
2017-08-23 12:25:16.771 24793 ERROR root   File "/usr/lib/python2.7/site-packages/tooz/drivers/etcd3gw.py", line 154, in heartbeat
2017-08-23 12:25:16.771 24793 ERROR root     self._lease.refresh()
2017-08-23 12:25:16.771 24793 ERROR root   File "/usr/lib/python2.7/site-packages/etcd3gw/lease.py", line 64, in refresh
2017-08-23 12:25:16.771 24793 ERROR root     return int(result['result']['TTL'])
2017-08-23 12:25:16.771 24793 ERROR root KeyError: 'TTL'
2017-08-23 12:25:16.771 24793 ERROR root

@hemna in the

openstack CI ? or local devstack ?
what is the etcd version you are running? (not the python library version, but the etcd process itself)
is this re-creatable? or random?

I'm running a single devstack deployment on 2 separate nodes to try and test out Cinder's active/active HA capability with the 3PAR cinder driver.  I run into this while running some rally scenarios.
stack@walt-stack-2  /opt/stack/bin  ./etcd --version
etcd Version: 3.1.7
Git SHA: 43b7507
Go Version: go1.7.5
Go OS/Arch: linux/amd64

@hemna As its going to be hard to recreate, could you please log the response we get from self.client.post? https://github.com/dims/etcd3-gateway/blob/master/etcd3gw/lease.py#L62

Seems to happen in gate sporadically, see http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A \"KeyError%3A 'TTL'\"
From the timestamps it might be related to etcd getting slow:
http://logs.openstack.org/93/506093/4/check/gate-tempest-dsvm-cells-ubuntu-xenial/407192b/logs/screen-c-vol.txt.gz?#_Sep_22_00_24_50_163847
http://logs.openstack.org/93/506093/4/check/gate-tempest-dsvm-cells-ubuntu-xenial/407192b/logs/screen-etcd.txt.gz#_Sep_22_00_24_50_031662

Looks like they have a FAQ just for this scenario : https://coreos.com/etcd/docs/latest/faq.html#performance


TypeError: sentence must be a String

from thefuzz import process

query = "ishida to asakura"
choices = [('ishida to asakura special', 'Ishida to Asakura Special', 'None', '1'), ('sengoku musou sp sanada no shou', 'Sengoku Musou SP Sanada no Shou', 'None', '1'), ('nanocore sp lianxi pian 2015 xinnian tebie ban', 'Nanocore SP Lianxi Pian 2015 Xinnian Tebie Ban', 'None', '1'), ('shakugan no shana koi to onsen no kougai gakushuu', 'Shakugan no Shana Koi to Onsen no Kougai Gakushuu', 'None', '1'), ('baki most evil death row convicts special anime', 'Baki Most Evil Death Row Convicts Special Anime', 'None', '1')]

out = [
    i[0] for i in process.extract(
        query, choices, limit=len(choices)
    ) if i[1] >= 90
]

Traceback (most recent call last):
  File "/tmp/test.py", line 7, in <module>
    i[0] for i in process.extract(
                  ^^^^^^^^^^^^^^^^
  File "/tmp/venv/lib/python3.11/site-packages/thefuzz/process.py", line 187, in extract
    return extractBests(query, choices, processor=processor, scorer=scorer, limit=limit)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/venv/lib/python3.11/site-packages/thefuzz/process.py", line 214, in extractBests
    results = rprocess.extract(
              ^^^^^^^^^^^^^^^^^
  File "src/rapidfuzz/process_cpp_impl.pyx", line 988, in rapidfuzz.process_cpp_impl.extract
  File "src/rapidfuzz/process_cpp_impl.pyx", line 887, in rapidfuzz.process_cpp_impl.extract_list
  File "src/rapidfuzz/process_cpp_impl.pyx", line 807, in rapidfuzz.process_cpp_impl.extract_list_f64
  File "src/rapidfuzz/process_cpp_impl.pyx", line 232, in rapidfuzz.process_cpp_impl.preprocess_list
  File "/tmp/venv/lib/python3.11/site-packages/thefuzz/process.py", line 30, in wrapper
    return utils.full_process(processor(s))
                              ^^^^^^^^^^^^
  File "/tmp/venv/lib/python3.11/site-packages/thefuzz/utils.py", line 22, in full_process
    return _default_process(s)
           ^^^^^^^^^^^^^^^^^^^
  File "src/rapidfuzz/utils_cpp.pyx", line 28, in rapidfuzz.utils_cpp.default_process
TypeError: sentence must be a String

(venv) $ pip freeze
rapidfuzz==3.2.0
thefuzz==0.20.0

This is a regression in my implementation from https://github.com/seatgeek/thefuzz/pull/10. I wrote a quick fix for this in https://github.com/seatgeek/thefuzz/pull/58. Note that your code relies on the preprocessing function calling str on all your objects so you are comparing ishida to asakura with ishida to asakura special    ishida to asakura special    none    1. Not  sure whether that is done on purpose.

Note that your code relies on the preprocessing function calling str on all your objects
Did not know about that, thought it only compared the first object.


Image metadata should be imported

@icaraps I don't really know how to handle this yet. The importer tool does not help. And where would we store image metadata?

@hsaginor can you share examples of image metadata ? Currently we mostly store it as section metadata in the document after the image.

@hsaginor  I think this ticket is a duplicate of the alt image issue so it can closed WDYT ?

@icaraps

I think this ticket is a duplicate of the alt image issue so it can closed WDYT ?
Quite possible. This was opened a long time ago because Ruben was asking how we can import image metadata. Though, I am not sure what other image metadata we could be importing in Franklin


Ensure a version of caniuse-db that includes css-image-set

postcss-cssnext added a polyfill for css-image-set. However, if the version one has installed of caniuse-db is too old (as often happens if you installed postcss-cssnext earlier and are upgrading - since peerDependencies are not upgraded if they still match the specified version range), the check for whether it is supported will fail.

Thanks, sorry for the delay.


Differences to RiveScript ?

Would be great to have a list of changes / differences between superscript and rivescript.

I think this can be answered here - https://github.com/silentrob/superscript/issues/20
RiveScript and SuperScript are really completely different, in syntax, project goals, and scripting interface.
If you have a more specific question about how the two are different, I would be happy to help clarify.


Add docs on how to do a two-phase commit

I think this would be useful for people (I just pointed someone on StackOverflow to http://docs.mongodb.org/master/tutorial/perform-two-phase-commits/ but it would be better to have our own).

The discussion and code in https://github.com/rethinkdb/rethinkdb/issues/1863 might also be relevant.

This is essentially #598, complete with the same links, I think.


(^) fix ios 14

Fixes #68
fix for ios 14

@alonstar 感谢您的帮助 😄
I've added your name to the contributors list.
This has been published as<EMAIL_ADDRESS>

I can't find my name in contributors list ? @@
Is this list?

I updated my nativescript-modal-datetimepicker to 1.2.4 and i got error
TypeError: application.systemAppearance is not a function. (In 'application.systemAppearance()', 'application.systemAppearance' is undefined)'
please help @shiv19
im using {N} 6.8.0
thanks in advance

I updated my nativescript-modal-datetimepicker to 1.2.4 and i got error
TypeError: application.systemAppearance is not a function. (In 'application.systemAppearance()', 'application.systemAppearance' is undefined)'
please help @shiv19
im using {N} 6.8.0
thanks in advance


VoIP docs should include some overview pages that focus on architecture and scenarios

By VoIP docs, I'm referring to the stuff in Windows.ApplicationModel.Calls
Looking at the VoIP docs, I imagine developers new to UWP would have a hard time figuring out how to construct their VoIP apps. Imagine being a developer unfamiliar with the UWP VoIP APIs. What page should act as the entry point and how should they find it? The existing pages I see are the API reference docs and the VoIP samples. None of these things seems like a great starting point because they don't offer enough of an overview or introduction.
Below are some docs that I think would be useful to have.
Scenario-focused overview page
The number of VoIP APIs for starting a call is growing and it's hard to understand when to use each one. For example, there is:

RequestNewAppInitiatedCall
RequestNewIncomingCall
SetupNewAcceptedCall

I know each API reference doc briefly mentions the purpose but it's not elaborate enough for developers new to UWP VoIP. You have to infer the pattern yourself that these are the 3 APIs for new calls -- the docs don't call it out for you.
It'd be great to have an overview page that describes the VoIP scenarios and which APIs are relevant to each scenario. For example, you might mention the general scenario of the user getting an incoming call. When this happens, your app might want to handle this in different ways. You might want to show an OS toast notification. Alternatively, the app might want to render its own notification inside of the app's UI (it might also be useful to give guidance on when you might want to show a toast vs render the notification inside of the app). Lastly, you might want to have the app automatically answer the call. It's important to mention which APIs are appropriate for each scenario.
This might be a good place to explain the relationship between NotifyCallAccepted and the other VoIP APIs. From looking at when the APIs were introduced and the reference docs, my suspicion is it's only intended to be used with RequestNewAppInitiatedCall but I'm not 100% sure.
You might also want to mention how the Windows Quiet Hours feature interacts with these APIs.
The point is that it's a scenario-focused overview.
Architectural overview page
UWP VoIP apps are pretty sophisticated. It would be helpful to have an architectural overview page for UWP VoIP apps similar to this one for Windows Phone 8 VoIP apps.
Overview of VoIP learning resources
The entry point doc should contain links to all of the educational VoIP resources:

Reference docs
Other overview docs (e.g. architectural, scenarios)
Relevant //BUILD presentations
All samples (e.g. basic VoIP sample, ChatterBox)

Adam Comella
Microsoft Corp.

Hi Adam - Thanks for taking the time to let us know about this. Due to the sheer volume of feedback in our repo, we're currently prioritizing new issues. I'm going to close this but if it's still impacting you or others, feel free to leave a comment and we can keep it open and dig in. Alternatively, you can submit a new issue or pull request with the latest details. Thanks so much and apologies for the delayed communication here.


Opening large threads may cause temporary account block

If the user opens a few big threads or one very large thread like this – https://retro.social/@ajroach42/99882571926573176 – in a five minute period, SubwayTooter sometimes reaches the API request limit and use of the account is temporarily blocked.

Main reason is retrieving "preview card" information for each toots in conversation.
Mastodon does not provide API that can get card information for multiple toots at once.
If we want to solve it on client side, it is necessary to set limits on acquisition of card information.
But we must consider what criteria to do it.

for quick fix, "don't retrieve preview card" is added to app setting - behavior section.
https://github.com/tateisu/SubwayTooter/releases/tag/v2.4.3

since mastodon 2.6.0, each status includes preview card information and ST alsready support it.
this problem no longer reproduced.


[BUG] graph.add_vertices() The specified vid_field = 'name' is not valid

Describe the bug
demo data
edge.csv
from,to,ratio
zhangsan,lisi,0.5
zhangsan,wangwu,0.6
lisi,wangwu,0.4

vertices.csv
name,age
zhangsan,100
lisi,90
wangwu,88

load graph
# Import the graphscope module
import graphscope
import os
from graphscope.framework.loader import Loader
from graphscope.client.session import get_default_session

graphscope.set_option(show_log=True)  # enable logging
sess = get_default_session()
graph = sess.g(oid_type="string",generate_eid=True,directed=False)

prefix = "/home/data/graphscope/"
graph = (
        graph.add_vertices(os.path.join(prefix, "test_vertices.csv"), "person",vid_field="name")
             .add_edges(
        os.path.join(prefix, "test_edge.csv"),
        "link",
        src_label="person",
        dst_label="person",
    )

)

# Get the entrypoint for submitting Gremlin queries on graph g.
interactive = graphscope.gremlin(graph)

querySubgraph = "g.V().has('name',within('zhangsan','lisi')).both('1..3','link').with('PATH_OPT', 'SIMPLE').with('RESULT_OPT', 'ALL_V')"
subgraph = interactive.execute(querySubgraph).all()
for one in subgraph:
    print("one: ",one)

get vertices:
one:  [v[0], v[1]]
one:  [v[0], v[2]]
one:  [v[0], v[1]]
one:  [v[0], v[2]]
one:  [v[1], v[0]]
one:  [v[1], v[2]]
one:  [v[1], v[0]]
one:  [v[1], v[2]]

Expected behavior
expect result:
one:  [v[zhangsan], v[lisi]]
one:  [v[zhangsan], v[wangwu]]

Environment (please complete the following information):

GraphScope version: v0.19.0
OS: Linux

 def add_vertices(self, vertices, label="_", properties=None, vid_field=0):
        """Add vertices to the graph, and return a new graph.

        Args:
            vertices (Union[str, Loader]): Vertex data source.
            label (str, optional): Vertex label name. Defaults to "_".
            properties (list[str], optional): List of column names loaded as properties. Defaults to None.
            vid_field (int or str, optional): Column index or property name used as id field. Defaults to 0.

i see the args vid_field in the function.
graph.add_vertices(os.path.join(prefix, "test_vertices.csv"), "person",vid_field="name")
vid_field="name" is not valid

print(graph.schema)
oid_type: STRING
vid_type: ULONG
type: VERTEX
Label: person
Properties: Property(0, age, LONG), Property(1, name, STRING)

type: EDGE
Label: link
Properties: Property(0, eid, LONG), Property(1, ratio, DOUBLE)
Relations: [Relation(source='person', destination='person')]

try g.V().valueMap() instead of g.V()

try g.V().valueMap() instead of g.V()

g.V().has('name',within('zhangsan','lisi')).both('1..3','link').with('PATH_OPT', 'SIMPLE').with('RESULT_OPT', 'ALL_V')
get path:
path:  [v[0], v[1]]
path:  [v[0], v[2]]
expect result:
one:  [v[zhangsan], v[lisi]]
one:  [v[zhangsan], v[wangwu]]

@JackyYangPassion the vid_field is used to select the primary key, and it works as expected. The reason that your expected output is differ from the actual, is the output behavior of the GIE engine.

@longbinlai Could you confirm that the output behavior is designed like this or not?

@JackyYangPassion
Hi, thanks for reporting. Actually, the output is as expected in GIE.
In GIE engine, the output result when querying for vertices (or paths), is actually the global_id (or consisting of global_ids in the path) in the engine. This is also identical to the definition in Gremlin.
For example, if you query with g.V(), you'll get results like:
one:  v[0]
one:  v[1]
one:  v[2]

Here, 0, 1, 2 are the global_ids (although it is not defined in the data, it can be 'recognized' by the engine). With the global_ids, you can further query like g.V(0).values('name'), and you'll get:
one:  "zhangsan"

Unlike primary key, which I think the values are identical under SPECIFIC LABELS (e.g., "person" in your example), such 'global_id' can identify a vertex in the whole graph.
In addition, for primary key query, e.g., you can query like g.V().hasLabel("person").has("name", "zhangsan"), which is expected to be faster than g.V().hasLabel("person").has("age", 18), as "name" is a primay key.


CUDA error

Hi,
I'm reaching out because I've encountered an issue while attempting to run Tutorial 3 in the SEDR training section.

Could you please assist me in resolving this issue? Any guidance or clarification you can provide would be greatly appreciated.

Sorry I am not the expert for CUDA and GPU. Maybe you can ask this question on other platform.

helllo ， have you soleved this problem? I also meet this question.


Can't resize plugin window

The plugin window is too tall and doesn't fit on the screen and the OK button is not visible. There are no scroll bars and when trying to resize it, it disappears and can't be restored in any possible way. The only solution is to right-click on the taskbar and click "close window" to close the plugin window. So far, I wasn't able to use the plugin because of this.

Hello thank you for your bug report. Can you please provide me your screen resolution, dpi settings and QGIS version?

Hello thank you for your bug report. Can you please provide me your screen resolution, dpi settings and QGIS version?

Sorry for not including the info in the original message, but here goes:
Windows 10
QGIS 3.16.2
Resolution 1366 x 768
Scaling: 100%

Sorry for not including the info in the original message, but here goes:
Windows 10
QGIS 3.16.2
Resolution 1366 x 768
Scaling: 100%

Currently we don't support resolutions bellow 1920x1080. We have a plan to implement a few new visualizations after that we will make GUI that will support lower resolutions.

Currently we don't support resolutions bellow 1920x1080. We have a plan to implement a few new visualizations after that we will make GUI that will support lower resolutions.

Ok, thanks. Will check back to see when that happens!

Ok, thanks. Will check back to see when that happens!

Hello @TechGus. I fixed plugin GUI, by applying scrollbars. Let me know if anything doesn't work.

Hello @TechGus. I fixed plugin GUI, by applying scrollbars. Let me know if anything doesn't work.

@zm8597 It's working great now!

@zm8597 It's working great now!


Natural_Language_Processing

Hi @diffrxction I have implemented NLP from scratch and have used movie review as an example. I have also provided the documentation as before.

Pull request closes #19.


update package-lock.json

The existing package-lock.json file was created with an old version of npm

used internal registry by mistake, closing this PR, created a new PR instead. https://github.com/SatoshiPortal/lnurl_cypherapp/pull/5


Installation error on cluster

when I try to install boltz on my cluster by pip install boltz==0.0.0, I get the following error:
INFO: pip is looking at multiple versions of boltz to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement rdkit==2024.3.6 (from boltz) (from versions: 2022.3.3, 2022.3.4, 2022.3.5, 2022.9.1, 2022.9.2, 2022.9.3, 2022.9.4, 2022.9.5, 2023.3.1, 2023.3.2, 2023.3.3, 2023.9.1, 2023.9.2, 2023.9.3, 2023.9.4, 2023.9.5, 2023.9.6, 2024.3.1, 2024.3.2)
ERROR: No matching distribution found for rdkit==2024.3.6
I am using python 3.10.  Would it be better to git clone and install instead?

I'm running some tests to check that our versions are consistent with the different python versions we allow, I'll report back!

When I installed rdkit via pip, the following error occurred:
pip install rdkit==2024.3.6
ERROR: Could not find a version that satisfies the requirement rdkit==2024.3.6 (from versions: 2022.3.3, 2022.3.4, 2022.3.5, 2022.9.1, 2022.9.2, 2022.9.3, 2022.9.4, 2022.9.5, 2023.3.1, 2023.3.2, 2023.3.3, 2023.9.1, 2023.9.2, 2023.9.3, 2023.9.4, 2023.9.5, 2023.9.6, 2024.3.1, 2024.3.2)
ERROR: No matching distribution found for rdkit==2024.3.6
When I install rdkit through conda, the following error occurs:
conda install -c rdkit rdkit
Specifications:

rdkit -> python[version='>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']

Your python: python=3.10
The following specifications were found to be incompatible with your system:

feature:/linux-64::__glibc==2.17=0
python=3.10 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']
rdkit -> __glibc[version='>=2.17,<3.0.a0']

Your installed version is: 2.17
So, are there any recommended versions?

I, too, am getting a similar error when installing on a cluster using Python version 3.10.4. Specifically, I'm installing inside of a fresh virtual environment and the error is:
ERROR: Cannot install boltz==0.0.0 and boltz==0.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    boltz 0.1.0 depends on rdkit==2024.3.6
    boltz 0.0.0 depends on rdkit==2024.3.6

3.9.20 worked great for me

I, too, am getting a similar error when installing on a cluster using Python version 3.10.4. Specifically, I'm installing inside of a fresh virtual environment and the error is:
ERROR: Cannot install boltz==0.0.0 and boltz==0.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    boltz 0.1.0 depends on rdkit==2024.3.6
    boltz 0.0.0 depends on rdkit==2024.3.6

Same issue here

Issue has resolved for me now:
git clone https://github.com/jwohlwend/boltz.git
cd boltz
conda create -n boltz_env python=3.12.7
conda activate boltz_env
pip install -e .

I've made an attempt to solve this in the latest release. Could you please try to pip uninstall boltz and pip install boltz==0.2.0 and let me know if that solves the issue for you?

Thanks, this works for me
conda create -n boltz020 python=3.12.7 -y
conda activate boltz020
pip install boltz==0.2.0

with python 3.10 I get this error
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
unknown package:
Expected sha256 ea4f11a2904e2a8dc4b1833cc1b5181cde564edd0d5cd33e3c168eff2d1863f1
Got        8227a5015d850a2dd8e61c4e5038ee3c548a79f9e7140c34c54f2741d45f26f9
I replicated the instructions from

I've made an attempt to solve this in the latest release. Could you please try to pip uninstall boltz and pip install boltz==0.2.0 and let me know if that solves the issue for you?

Thanks, this works for me
conda create -n boltz020 python=3.12.7 -y
conda activate boltz020
pip install boltz==0.2.0

and this works perfectly fine. I guess it would be nice if you could add a line saying create a python 3.12 environment.


Broken anchor links on expressjs.com/api.html

On http://expressjs.com/api.html, the side menu ("express()", "Application", "Request", "Response", "Router", and "express.static") has some broken anchor links.
For example, the "Request' links to http://expressjs.com/api.html#req instead of http://expressjs.com/api.html#request. The "Response" tab does something similar. All of the submenu items link properly as far as I can tell.
I tried to fix it and send a pull request, but I could not figure out where the issue lay. I think it could be in https://github.com/strongloop/expressjs.com/tree/gh-pages/_includes/api/en/4x but I'm not sure.
All of the other API docs use the #req and #res anchors instead of #request and #response, so my suggestion is to change the anchors of the headers themselves (instead of the menu item links, which are consistent with the rest of the API).

Thanks for pointing it out. Fixed it. The file to edit was https://github.com/strongloop/expressjs.com/blob/gh-pages/api.md.


Store deposit results in DB

Why are you using the database instead of the contract?

That method didn't exist when I opened this PR.

What would change if we have channel value read from the contract, as per #169 ?

Closed by mistake. Reopened.

I can make this change. My only worries are consistency between the database and the contract and scalability since if there are a lot of channels then we'll be making a lot of RPC requests to the geth node.

Geth node is local anyway. We localise then a possible inconsistency.

Ok. I'll have to move the code in channel_manager to the dao otherwise there will be a circular dependency.

Done.


Expired Meteor login tokens are not being handled correctly

I've noticed that if meteor login token expires (user doesn't use the app for too long), Meteor.connect() function is not calling the callback.
The problem seems to be inside DDPExtensions.swift, resume(url: String, callback: DDPCallback?) function. Result of self.loginWithToken() call is not being used and, if it's false, callback is never called.
Looking at the code, seems like callback is also not being called if self.loginWithToken()'s callback gets error passed in.
We are currently testing a fix for this issue, I will submit a pull request once we're done.

Is this still open? Seems to be fixed.


itemOpenChanged getting error

when itemOpenChanged is called I get an uncaught TypeError: Cannot read property 'root' of undefined.  I also saw these errors in the performance tests.

I need more details on how to recreate the issue, what did you click on?  What does the items data look like?  Are you calling any functions on the element?
It would be best to create a JSFiddle that recreates the issue for me so I can debug it.

You should be able to go into the ms/API branch of mtz-group-manager to recreate this issue.
I also believe that there may be a larger issue with this function because as I am working the feature enhancement to allow the tree to be collapsed programmatically I fired the item-open-changed event and it seems to run fine when I step through the code but it doesn't collapse the tree in the same way as when you click on it.


Metaphone incorrect for common word

natural.Metaphone.attach();
console.log('gets'.phonetics());
OUTPUT: 'JTS'

Even though it's incorrect in terms of real language it matches other implementations of metaphone i.e. PHP. Keep in mind that metaphone makes a lot of generalizations.


Add search functionality using lunr.js

Additions

Add search functionality using lunr.js

Changes

Rename design-system.js to main.js to distinguish that it is the main entry script for the docs, not the packaged design-system components.

Testing

Check preview branch and see search in upper-right. Enter some text and try to break the search results.

Screenshots

Awesome! What is this timestamp on the search results page?

What is this timestamp on the search results page?

Remove it on the search page in https://github.com/cfpb/design-system/pull/458/commits/12e0e49203f43e8a7ddebf6f2749309f61fc817d


Improve flatten perf

Before:

Array of 10,000 items: 18.3K iterations/s ±4.33%
Array of 1,000 nested items (max depth = 10): 25.2K iterations/s ±2.64%

After:

Array of 10,000 items: 23.7K iterations/s ±8.20%
Array of 1,000 nested items (max depth = 10): 34.9K iterations/s ±4.09%

Array.flat(Infinity):

Array of 10,000 items: 608 iterations/s ±3.79%
Array of 1,000 nested items (max depth = 10): 1.22K iterations/s ±1.59%

Change List

Private flatten utility API

Coverage decreased (-2.5%) to 80.378% when pulling 5b0ace9dade821e6f609b8992e79d1ffe74e4c17 on x/flatten into 181dc2adbf63b36ad7da2c5816dab1006095dbda on master.


Mongodb TLS

Codecov Report

Merging #1456 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1456   +/-   ##
=======================================
  Coverage   98.37%   98.37%
=======================================
  Files          56       56
  Lines        2592     2592
=======================================
  Hits         2550     2550
  Misses         42       42

@krish7919 Some of my comments above got hidden by GitHub when I pushed some commits, but they're still comments/questions I'd like you to address: just click Show outdated.

I don't understand why you need to change extendedKeyUsage = serverAuth to extendedKeyUsage = serverAuth,clientAuth (in the file x509-types/server) in some cases but not all (i.e. not when creating a client certificate).

@krish7919 Is it true that there's only one self-signed CA per cluster (associated with the organization managing the cluster)? That was my understanding, but now I'm not sure.

@krish7919 In the last step of the page about creating a server/member certificate, I gather that those settings are in the MongoDB configuration file. Should they edit some MongoDB configuration file (where?), or just note those values for future use (e.g. in some ConfigMap), or what?

@krish7919 On the page about generating a server/member certificate, you wrote:

"You can replace the common name (mdb-instance-0 above) with any other name so long as the instance can verify that it is the hostname."

Is it okay if every node uses mdb-instance-0 or does every node have to have a different common name? Telling them that they can change it is very frustrating. Change it to what? Why?

@krish7919 I don't understand why they need to change extendedKeyUsage = serverAuth to extendedKeyUsage = serverAuth,clientAuth (in the file x509-types/server) in some cases but not all (i.e. not when creating a client certificate).

As discussed during the review on Wed, this is because server certificates are used for cluster members and client certificates are used by the mongodb driver.
The server certificates need access to change the database and perform admin operations, whereas a client certificate will be used to perform only authorized operations.

@krish7919 Is it true that there's only one self-signed CA per cluster (associated with the organization managing the cluster)? That was my understanding, but now I'm not sure.

That is still true. Why do you think otherwise?

@krish7919 In the last step of the page about creating a server/member certificate, I gather that those settings are in the MongoDB configuration file. Should they edit some MongoDB configuration file (where?), or just note those values for future use (e.g. in some ConfigMap), or what?

They should edit the MongoDB configuration file as per their deployment.
The ConfigMap/Secrets thing will come into picture when deploying on a k8s cluster, which is a work in progress.

@krish7919 On the page about generating a server/member certificate, you wrote:
"You can replace the common name (mdb-instance-0 above) with any other name so long as the instance can verify that it is the hostname."
Is it okay if every node uses the common name mdb-instance-0 or does every node have to have a different common name? Telling them that they can change it is very frustrating. Change it to what? Why?

Every node will have a different common name as per the the usual PKI rules.
MongoDB requires the common name to be the hostname too.
It's a unique identifier, I do not think changing a string here to the hostname of the instance one is hosting on should be frustrating.
The basics of PKI aren't covered here. These are steps to deploy it.
I can add a couple of links where users can refresh their PKI knowledge/basics before proceeding.
Would that help?


Fail compile

If I use the latest from Novocaine, the project fails.  Works fine with the included Novocain folder.

What specifically fails? NVDSP is actually built completely stand-alone form Novocaine. It uses only the fact that Novocaine works with raw audio data arrays (just arrays of floats) and processes directly on those arrays.
Did you try running the latest Novocaine version before adding the NVDSP files?


Fix some code typos.

yea, now time for some merge conflicts hahaha

@benwoo1110 you missed some MVNPconfiguration, lines 129, 130, 140, and 143.

oh no, it was due to the previous merge for the bug fix


Interact at 0, 0, 0 when right clicking water

I recently got some reports of strange "block interaction denials" on my server. Upon adding some debug code, it appears that right clicking water (with an empty bucket in hand) includes a block interact at 0, 0, 0.
This may be related to:
https://github.com/SpongePowered/SpongeForge/issues/260
Screen shot of debug output provided by one user:
https://screencloud.net/v/pLJu
Code used to produce the error:
    @Listener
    public void onInteract(InteractBlockEvent event) {
        Optional<Player> optPlayer = event.getCause().first(Player.class);
        if (optPlayer.isPresent()) {
            Player player = optPlayer.get();

            Optional<Location<World>> optLoc = event.getTargetBlock().getLocation();
            if (optLoc.isPresent()) {
                if (check(player, optLoc.get())) { // This a region permissions check function
                    event.setCancelled(true);
                    if (event.getCause().root().equals(player)) {
                        player.sendMessage(Text.of(TextColors.RED, "You can't interact with blocks here!"));
                        player.sendMessage(Text.of(TextColors.RED, "[Debug] ", optLoc.get(), " [Cause ", event.getCause(), "]"));
                    }
                }
            }
        }
    }

This has been brought up many times. If a player does not select a block(water cannot be selected) and right-clicks in AIR, the C08PacketPlayerBlockPlacement will use its default BlockPos of (-1, -1, -1) which is not in the accepted range of
(-30000000, 0, -30000000) to (29999999, 255, 29999999)
To workaround this, Forge passes the location 0, 0, 0 with action type of AIR as seen here
https://github.com/MinecraftForge/MinecraftForge/blob/master/patches/minecraft/net/minecraft/network/NetHandlerPlayServer.java.patch#L72
If any changes need to be done, it should be requested with Forge so mods don't break.

Well we convert their interact event into our interact event, correct?
So, why can't we safely have a "UntargetedInteractEvent", w/ "UntargetedInteractEvent.Primary" and "UntargetedInteractEvent.Secondary" or something of that sort, when we get the special case, we instead use those, that way the InteractBlockEvent always has a valid block target?
Since the block's invalid anyways, it's not like we'd be discarding any valid information from a Sponge plugin.


allow disabling USB

Keyboard is always sending the HID report over BT and USB. Let's add an action to toggle the USB path.
Currently I have to disable the input device on host-side.

The best way would probably be to do something similar to the original fw and disable BT while USB is connected. However that'd need a better USB stack, so just disabling it sounds reasonable.


Motor Guide fails to return a valid response

Cross post from TRF
Using the Motor Guide ("Match a Rocket", https://www.thrustcurve.org/motors/guide.html):
Windows 10 Enterprise version 1903/Chrome 84.0.4147.135 (Official Build) (64-bit) (cohort: Stable) gives a 403 unauthorized when viewing a result page e.g. https://www.thrustcurve.org/motors/guide/5f43fb261d1d4400045ce914/summary.html
Same for Android 10 build QQ3A.200805.001/Chrome 84.0.4147.125
Windows 10 Enterprise version 1903/Firefox 78.0.2 just loads a blank page
Same for Android 10 build QQ3A.200805.001/Firefox Nightly 200823
Form data from Win10/Firefox 78:
bodyDiameter=42
bodyDiameterUnit=mm
weight=400
weightUnit=g
mmtDiameter=38
mmtDiameterUnit=mm
mmtLength=300
mmtLengthUnit=mm
cd=0.6
guideLength=1
guideLengthUnit=m
class=I
type=reload
manufacturer

Request payload:
bodyDiameter=42&bodyDiameterUnit=mm&weight=400&weightUnit=g&mmtDiameter=38&mmtDiameterUnit=mm&mmtLength=300&mmtLengthUnit=mm&cd=0.6&guideLength=1&guideLengthUnit=m&class=I&type=reload&manufacturer=

Firefox receives no response from the resulting summary page:
https://www.thrustcurve.org/motors/guide/5f43fa721d1d4400045ce8c9/summary.html
I suspect that Chrome is interpreting the same null response as a 403.

Thanks. I fixed it. (Viewing the motor guide failed if you were not logged
in.)
John
On Mon, Aug 24, 2020 at 11:20 AM Dan Horst<EMAIL_ADDRESS>wrote:

Cross post from TRF
https://www.rocketryforum.com/threads/is-the-thrustcurve-org-website-down.161266/page-3#post-2036329
Using the Motor Guide ("Match a Rocket",
https://www.thrustcurve.org/motors/guide.html):
Windows 10 Enterprise version 1903/Chrome 84.0.4147.135 (Official Build)
(64-bit) (cohort: Stable) gives a 403 unauthorized when viewing a result
page e.g.
https://www.thrustcurve.org/motors/guide/5f43fb261d1d4400045ce914/summary.html
Same for Android 10 build QQ3A.200805.001/Chrome 84.0.4147.125
Windows 10 Enterprise version 1903/Firefox 78.0.2 just loads a blank page
Same for Android 10 build QQ3A.200805.001/Firefox Nightly 200823
Form data from Win10/Firefox 78:
bodyDiameter=42
bodyDiameterUnit=mm
weight=400
weightUnit=g
mmtDiameter=38
mmtDiameterUnit=mm
mmtLength=300
mmtLengthUnit=mm
cd=0.6
guideLength=1
guideLengthUnit=m
class=I
type=reload
manufacturer
Request payload:
bodyDiameter=42&bodyDiameterUnit=mm&weight=400&weightUnit=g&mmtDiameter=38&mmtDiameterUnit=mm&mmtLength=300&mmtLengthUnit=mm&cd=0.6&guideLength=1&guideLengthUnit=m&class=I&type=reload&manufacturer=
Firefox receives no response from the resulting summary page:
https://www.thrustcurve.org/motors/guide/5f43fa721d1d4400045ce8c9/summary.html
I suspect that Chrome is interpreting the same null response as a 403.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JohnCoker/thrustcurve3/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACH2VKO6XZUDXEJO5P6DYQLSCKVQFANCNFSM4QJY7CPA
.

Looks good! Thanks!


Granular Theme Overrides in App

instead of using the make command, the app should provide the controls for per-template file theme overrides.

 Granular theme controls


Recovery failed ( Send to Defichain )

I wanted to send DFI from BSC to Defichain today. The confirmation stayed at 0 out of 5. After that I tried to restore it with recovery, but only got the error "Failed to fetch".
Transaction ID ( BSC ): 0x3f46cd3aa89c605ce2828be85c2ac456fef8c68b681586646904cec6d343823e
(translated with Google)

This morning the recovery worked and the DFI arrived in the wallet.


appiumDriver: -Unable to create driver instance in 1st attempt

QAF Version

Note: only the latest version is supported

Steps To Reproduce
1.appium.additional.capabilities= {'app':'/qaf-example-project/src/ApiDemos-debug.apk','deviceName':'5554:Nexus_5_API__23_x86','platformName':'Android','automationName':'Appium','driver.class':'io.appium.java_client.android.AndroidDriver'}

2.driver.name=appiumDriver
3.remote.server=<IP_ADDRESS>
4.remote.port=4723

selenium.wait.timeout=30000

Expected behavior
The ApiDemos-debug.apk should open successfully on the Android device
Actual behavior
[testng] [UiDriverFactory] - Driver: appiumDriver
[testng] Unable to create driver instance in 1st attempt with retry timeout of 0 seconds. You can check/set value of 'driver.init.retry.timeout' appropriately to set retry timeout on driver initialization failure.Unable to Create Driver Instance for appium: java.lang.reflect.InvocationTargetException
[testng] Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
Is the issue reproducible on runner?

[x] Ant
[x] Eclipse

Test case sample

Please, share the test case (as small as possible) which shows the issue

did you seen appium server logs? if it complains file not found then you need to correct app path. With QAF-2.1.12 project.path property available to get project absolute path. So you can provide capability value as like 'app':'${project.path}/src/ApiDemos-debug.apk'

Thanks for the help i was able to resolve the problem by updating
'app':'${project.path}/src/ApiDemos-debug.apk'
remote.server=localhost

Thanks for the help i was able to resolve the problem by updating
'app':'${project.path}/src/ApiDemos-debug.apk'
remote.server=localhost

Glad to hear.
Please post problems, questions etc in users-group and help github issues to manage for bug and features requests.


Code42 incydr

PR Details

Description

Related Issue

Checklist

[ ] Changes follows the best practices from the given docs.
[ ] Updated CHANGELOG.md.
[x] Ran unit tests locally.
[x] Updated screenshots/sample logs if any.

Testcases for Code42Incydr


FieldTracker extension to emit custom signals on model instance changes.

https://github.com/carljm/django-model-utils/issues/210

@carljm Haven't edited AUTHORS and CHANGES yet, will do after PR is reviewed and changes accepted.

@sandeepklr Can you clarify what (if anything) is now possible with this feature that isn't already possible by simply listening to Django's built-in pre-save or post-save signals (which send the model object along as an argument) and then checking the information stored in that model instance's field-tracker? Why is a new pair of signals needed?

@carljm Instead of including pre-save and post-save logic to "detect" and hold onto differences between pre-save and post-save in every model class, this allows a client to simply register to receive those changes either before a save to the DB or after. Now, a client can simply register to receive the field_tracker_postsave for a particular model and can be made aware of changes. For me personally, this is a way to help encapsulate repeated logic of checking for model instance differences into a custom signal.

@sandeepklr Can you give an example of the type of repetitive code these custom signals can replace?
I don't understand why you would need to "detect and hold onto" changes if using the built-in signals, if the model has a FieldTracker on it which is already doing that for you.

@carljm Apologies for the tardy response.
This is my use case: I want to start a background task after a model instance has been saved(let's call it the current save) based on changes that occurred to this model instance between the last save() and this current one. At the moment, a FieldTracker only returns in-memory changes to the model instance since the last save(). Once save() is called again to save the changes, FieldTracker starts anew.
So, in order to hold onto changes post save, this is the pattern I would use:
class Foo(Model):

	field1 =
	field2 =

	tracker = FieldTracker(...)

	@receiver(presave, sender=Foo)
	def receiver_presave(instance, **kwargs):
		if instance.tracker.changed():
			instance.__prev = instance.tracker.changed()

	@ receiver(postsave, sender=Foo)
	def receiver_postsave(instance, **kwargs):
		if instance.__prev:
			start_background_task(instance.__prev)

		del instance.__prev

I find that in my code I have to include this pattern in every Model class that I want to track for changes for my use-case. With the signals, this reduces to the following on the client side:
@receiver(field_tracker_postsave, sender=Foo)
def fieldtracker_postsave(instance, changed, created):
       start_background_task(changed)

Aha, I understand the problem now. I'm still not convinced that additional signals are the right solution to that problem, though -- these added signals just seem too closely duplicative of the existing pre-save and post-save signals. ISTM that a better solution would be to modify FieldTracker so that it stores multiple "layers" of changes, rather than just one layer. That way, you could still listen to the regular post-save signal, but get access to the changes from that save.

We are keeping track of the FieldTracker for AbstractModel in #382
We are blocking on a Django bug for it: https://code.djangoproject.com/ticket/30427#ticket
I am closing this.


[Package Issue]: JohnTaylor.less - lesskey not installed

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Like what I commented in https://github.com/microsoft/winget-pkgs/issues/74685#issue-1353227235, both less.exe and lesskey.exe have to be installed, but it seems like that's not the case for the current package
Steps to reproduce

winget install JohnTaylor.less
See only less installed

Actual behavior
lesskey.exe is not installed
Expected behavior
It should also install lesskey.exe
Environment
Windows: Windows.Desktop v10.0.22622.586
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Screenshots and Logs
No response

This is because the JohnTaylor.lesskey package doesn't currently exist in the repository as the pull request which implements this isn't merged; which meant that PackageDependencies in the JohnTaylor.less had to be commented out from the package since it broke the rebuild publishing pipelines.
Once JohnTaylor.lesskey is merged and PackageDependencies is uncommented from the package, you will need to enable dependencies inside of the settings.json file.
Here's an example of what it would look like:
{
    "visual": {
        "progressBar": "rainbow"
    },
    "logging": {
        "level": "verbose"
    },
    "source": {
        "autoUpdateIntervalInMinutes": 0
    },
    "network": {
        "downloader": "wininet"
    },
    "experimentalFeatures": {
        "dependencies": true,
        "zipInstall": true
    }
}

PR at https://github.com/microsoft/winget-pkgs/pull/77903 should solve this issue. Once it's merged it will automatically close this issue.


Straight Parking in Parking Space

As a Driver, I want the car to be able to automatically park inside a parking space that is next to it, so that I can be sure that the car is parked.
Acceptance Criteria:

[ ] The car shall identify an eligible parking spot, and position and park correctly without colliding, within 2 minutes.
[ ] The parking should work for the small parking specified in #4

updated issue, reduced the scope


fix #444: supply state to session and client

DO NOT SEND ANY SECURITY FIX HERE. Please read "Security Reporting" section
on README.

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
(If no, please delete the above question and this text message.)

[x] You consent that the copyright of your pull request source code belongs to Authlib's author.

Thanks


Feature: sorting control

Would be great to have a drop down control that allows sorting by fields specified by the user. A few examples:

orderby=lastRenovationDate desc
$orderby=geo.distance(location, geography'POINT(-122.12315 47.88121)')

There is already the ability to set the orderby clause from azsearchstore search parameters, but it may also be worth adding a higher level api that builds sorting string, especially for geo sorting.

What do you think of the position of the control here? The other thought is to have it in the same section as the search results themselves (on the right).

Here's what I've got so far. Very basic, only supports simple orderBy  desc, still need to add geo support.
Changes can be seen here. Will create PR once I sort out geo.
Demo:

This looks great! I think the sidebar seems like a good spot, others can always customize the template if they want. Looked at the code and it looks good so far! Do you think it would be possible to have a default option that's always included for sorting by "relevance"? This would basically allow the user to get back to the default behavior which is results ordered by @search.score (no $orderby clause specified).

Would is make sense to default to "Relevance" (score, aka no implicit orderBy clause) as a default? which can be user overwritten? See defaultSortFieldName in API below?
`public addSortBy(htmlId: string, fields: [{title: string, field: string}], defaultSortFieldName?: string, cssClasses?: { [key: string]: string; }) {

Yeah that sounds great!

I'm going to create a separate issue for geo enhancement in the result set and filtering as it's a larger task.

Resolves with PR #13


[DOC][OnBoarding] Add instructions to run the project

Add in README.md instructions about how to:

[] Install any project dependency
[] Run the project
[] Run any suite of testing

Now we have https://github.com/RIP-Comm/clementine/blob/main/CONTRIBUTING.md and https://github.com/RIP-Comm/clementine/blob/main/README.md :D


Check scripts/cmake/* and buildsystems/vcpkg.cmake for changes when hashing

/AzurePipelines run

Hadn't seen this in a while:
vcpkg.exe has crashed.
Please send an email to:
<EMAIL_ADDRESS>containing a brief summary of what you were trying to do and the following data blob:

Version=2018.11.23-nohash
EXCEPTION='invalid string position'

I'll take a look this evening, was it static?


Bug: TypeError when running 1.3.1-beta.5

Describe The Bug
TypeErrors in log when trying to run 1.3.1-beta.5, these prevent the plug-in from running.
To Reproduce
Use the UI to install 1.3.1-beta.5 as a ‘previous version’ then restart Homebridge
Expected behavior
The plug-in to run without error.
Relevant log output
[12/12/2021, 07:03:25] Homebridge v1.3.8 (HAP v0.9.7) (Homebridge 24BF) is running on port 51763.
[12/12/2021, 07:03:26] [SwitchBot] Total SwitchBot Devices Found: 8
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Outside Lights DeviceID: C7**********
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Data centre meter DeviceID: E6**********
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Main bedroom meter DeviceID: E9**********
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Data Centre Light DeviceID: EA**********
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Landing Dehumidifier DeviceID: EC**********
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Data Centre Motion Sensor DeviceID: F4**********
[12/12/2021, 07:03:26] [SwitchBot] Total IR Devices Found: 1
[12/12/2021, 07:03:26] [SwitchBot] Restoring existing accessory from cache: Aircon DeviceID: 02-********
[12/12/2021, 07:03:26] [SwitchBot] Bot: Outside Lights Displaying as Switch
[12/12/2021, 07:03:26] [SwitchBot] Bot: Data Centre Light Displaying as Switch
[12/12/2021, 07:03:26] [SwitchBot] Bot: Landing Dehumidifier Displaying as Switch
[12/12/2021, 07:03:27] TypeError: Cannot read properties of undefined (reading 'body')
    at Bot.openAPIparseStatus (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/devices/bots.ts:201:31)
    at Bot.parseStatus (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/devices/bots.ts:169:18)
    at new Bot (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/devices/bots.ts:64:10)
    at SwitchBotPlatform.createBot (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/platform.ts:487:9)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[12/12/2021, 07:03:27] TypeError: Cannot read properties of undefined (reading 'body')
    at Bot.openAPIparseStatus (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/devices/bots.ts:201:31)
    at Bot.parseStatus (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/devices/bots.ts:169:18)
    at new Bot (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/devices/bots.ts:64:10)
    at SwitchBotPlatform.createBot (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/src/platform.ts:487:9)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[12/12/2021, 07:03:27] Got SIGTERM, shutting down Homebridge...

Config for homebridge-switchbot
{
    "bridge": {
        "name": "Homebridge 24BF",
        "username": "0E:D7:27:82:24:BF",
        "port": 51763,
        "pin": "*******"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                ,
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "********”,
                        "configDeviceType": "Bot",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch"
                        }
                    },
                    {
                        "deviceId": "********",
                        "configDeviceType": "Bot",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch"
                        }
                    },
                    {
                        "deviceId": "********",
                        "configDeviceType": "Bot",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch"
                        }
                    }
                ],
                "irdevices": [
                    {
                        "deviceId": "********",
                        "configRemoteType": "Air Conditioner"
                    }
                ]
            },
            "platform": "SwitchBot"
        },
        {
            "options": {
                "username": "********”,
                "password": "********",
                "accessId": "********”,
                "accessKey": "********",
                "lang": "en",
                "projectType": "2",
                "appSchema": "smartlife",
                "countryCode": 44,
                "debug": false
            },
            "name": "TuyaPlatform",
            "platform": "TuyaPlatform"
        },
        {
            "refreshToken”: “********”
            "platform": "Ring"
        }
    ]
}

Screenshots
No response
Device & Model
SwitchBot V4.8
Node.js Version
16.3.1
NPM Version
V8.1.2
Homebridge Version
V1.3.8
Homebridge Switchbot Plugin Version
V1.3.1-beta.5
Homebridge Config UI X Plugin Version
V4.41.4
Operating System
Homebridge Raspbian 1.0.27

Pushed out beta 6, should take care of this.

I installed beta 9 which was the one available and it is working properly
now.
Thank you for the updates.
Regards,
Graham Adams
On Sun, 12 Dec 2021 at 10:09, Donavan Becker @.***>
wrote:

Pushed out beta 6, should take care of this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenWonderLabs/homebridge-switchbot/issues/141#issuecomment-991868846,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORQ6T3IUAYKCGLJ3NWBAGDUQRYDZANCNFSM5J36I47Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


AZP issue with microsoft.vcpkg.pr: "Pipeline not found"

When I click "microsoft.vcpkg.pr" on https://dev.azure.com/vcpkg/public/_build, I get to https://dev.azure.com/vcpkg/public/_build?definitionId=27, but there is now "Pipeline not found" instead of the list of Runs etc.

It used to work.
There is no such issue with "microsoft.vcpkg.ci" (https://dev.azure.com/vcpkg/public/_build?definitionId=29)
The Runs aren't really protected anyways.

Workaround:

For Runs, use the "Runs" tab on https://dev.azure.com/vcpkg/public/_build
For Analytics, no workaround is known.

Looks like something is wrong with the recent azure pipeline permissions.
BTW, I can access it normally (external accounts cannot). 🫤

cc @dan-shaw

Working again. Thanks to the one who solved it.

I don't think we changed anything either way:


Factor out some repetition in slf4j logger internals

Also changed the try/finally to use a .guarantee. Let

@ChristopherDavenport Finally got around to changing this back to try/finally


When google-services.json already exists in platforms/android it wont install

Apparently it tries to create a new emtpy google-services.json on install, but when you already have google-services.json in your platforms/android directory it won't install.
Command was via cordova: ionic cordova plugin add cordova-plugin-firebase on an ionic1 project.
Not hard to solve, just enter platforms/android and delete google-services.json.
But I think plugin should check for existence of google-services.json and do nothing in that case.
Cheers!
Error here
ERROR] An error occurred while running cordova plugin add cordova-plugin-firebase --save (exit code 1):

        Installing "cordova-plugin-firebase" for android
        Error during processing of action! Attempting to revert...
        Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
        "/Users/id/Documents/my-project/platforms/android/google-services.json"
        already exists!
        at copyNewFile
        (/Users/id/Documents/my-project/platforms/android/cordova/lib/pluginHandlers.js:248:15)
        at install
        (/Users/id/Documents/my-project/platforms/android/cordova/lib/pluginHandlers.js:43:17)
        at Object.process
        (/Users/id/Documents/my-project/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
        at PluginManager.doOperation
        (/Users/id/Documents/my-project/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:117:20)
        at PluginManager.addPlugin
        (/Users/id/Documents/my-project/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:147:17)
        at /Users/id/Documents/my-project/platforms/android/cordova/Api.js:254:18
        at _fulfilled
        (/Users/id/Documents/my-project/platforms/android/cordova/node_modules/q/q.js:854:54)
        at self.promiseDispatch.done
        (/Users/id/Documents/my-project/platforms/android/cordova/node_modules/q/q.js:883:30)
        at Promise.promise.promiseDispatch
        (/Users/id/Documents/my-project/platforms/android/cordova/node_modules/q/q.js:816:13)
        at
        /Users/id/Documents/my-project/platforms/android/cordova/node_modules/q/q.js:570:49
        Error: Uh oh!
        "/Users/id/Documents/my-project/platforms/android/google-services.json"

I will take a PR to fix this. sort of related: https://github.com/arnesson/cordova-plugin-firebase/pull/391 it could be moved to the prepare hook

Is this supposed to be fixed, because it is still happening to me ...
Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
"...\platforms\android\google-services.json" already exists!

I am having the same issue.

can you try this https://github.com/arnesson/cordova-plugin-firebase/pull/552?

I am having same issue, I am using bitrise.io for building my ionic app and I have exactly same issue:
Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
...platforms/android/google-services.json" already exists!

But there is always clean build.. How can I solve this issue?


gridPos calculated incorrectly for panels collapsed in row

Hi!
I need to create some panels that are by default collapsed so I'm using the .panels() function in RowBuilder with .collapsed(true). However the grisPos for these collapsed panels are not generated correctly.
This is the configuration of my panels:
    let panel = new timeseries.PanelBuilder()
        .tooltip(multiDescTooltipOptions)
        .legend(defaultLegendOptions)
        .drawStyle(GraphDrawStyle.Line)
        .lineInterpolation(interpolation)
        .fillOpacity(20)
        .showPoints(VisibilityMode.Never)
        .height(8)
        .span(12)
        .maxPerRow(2)
...

This is what I got in JSON:
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 198
      },
      "id": 54,
      "panels": [
        {
           ...
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 0
          },
          "id": 55,
          "interval": "5m",
          "maxPerRow": 2,
          ....
      },
      {
          ....
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 0
          },
          "id": 56,
          "interval": "5m",
          "maxPerRow": 2,
         ....
      }
     ]
    }

Each panel take one row instead of having two panels side to side:

This is only an issue with panels defined in RowBuilder. Panels directly added to DashboardBuilder with .withPanel() have correct gridPos and are sitting correctly on UI.

Hey!
Thanks for reporting this. I'm working on a fix in https://github.com/grafana/cog/pull/299, if everything goes well it should be released here sometime next week :)

Release done!


Update Composer dependencies (2023-03-14-00-08)

Visual regression test passed!
View the visual regression test report


Move test folders to new test directory

To keep the repository home directory clean, create a new directory test, then move the multi_sensor_test, multi_serial_test, and pwm_test directories inside the test directory.

A test directory has been created.