Support for requesting different scopes on tokens via the CLI

Currently the CLI tool only statically requests the scope openid.
As a user/integrator of a client to Keycloak, it would be useful to request different scopes available to my client.
There are certainly a number of ways this could be handled, though I am not familiar enough with picocli to know the spectrum of different ways this could be done within that framework.

Having a "scope" flag defined multiple times

kc-cli token -s openid -s another-scope -s another-scope2

Which would result in a scope value of openid another-scope another-scope2

Having the user just specify the scope string via the scope flag with quotes

kc-cli token -s "openid another-scope another-scope2"

Having the user just specify the scope string via the scope flag without quotes

kc-cli token -s openid another-scope another-scope2

EDIT: Looks like with picocli if you set arity to 0..* you can basically have all three behaviors I mentioned, and you just need to do some normalization of the scope value before passing it around. Might be good for a domain class too? Maybe some kind of RequestedScope class so you don't just have some string arg floating around and that could also encapsulate the normalization strategy logic?
Some Other Considerations

Given this is an OIDC client, should openid just be in the scope list by default and users can turn this behavior off?
Should the CLI persist the last requested scope along with any token stored, such that it could do a comparison to that scope list and request a net-new token if required?

This would be needed since Keycloak allows users to hide scopes on the access token and one couldn't rely on inspecting the scope value received in the token alone.

Planning on incorporating this. The idea is to have a context configured with a scope, but then you can obtain a token with a subset of those scopes. Also thinking about allowing multiple contexts be able to have a parent context, that would allow having a single login/refresh token, while obtaining access tokens for distinct use-cases.


Disable bloom filter in merge for now

What do these changes do?

This PR disabled bloom filter in merge for now unless it's forced set to True. When the bloom filter is optimized enough, it can be turned on then.
Related issue number

Fixes #xxxx
Check code requirements

[x] tests added / passed (if needed)
[x] Ensure all linting tests pass, see here for how to run them

This PR is ready for review.


[Bug]Line Chart's X-axis and data position dot is not justified

this bug appeared both of line Chart and Stacked Area Chart
Screenshots:
https://i.loli.net/2017/12/25/5a40c8033476b.png
https://i.loli.net/2017/12/25/5a40c626ee0b4.png
Thanks for you guy's help and Merry X'mas

Hi @Dieber, thanks for the issue!
Aligning ticks and data entries is something we have tried before but it is not possible. The way D3 scales work don't allow us to specify at that level the positioning of the ticks.
Thanks for checking though!


Quasar -> RangeError: Maximum call stack size exceeded.

Hi guys,
I run into a problem when adding your solution into an Quasar app.
It's placed in a pop up dialog and just initiated for testing purpose with expression '0 3 * * *'.
All works fine and as expected but when I click on a select which opens up the list of options my console shows me multiple times this error:
quasar.es.js:1126 Uncaught RangeError: Maximum call stack size exceeded.
at quasar.es.js:1126:267
at Cn (quasar.es.js:691:21)
at ge (quasar.es.js:1124:7)
I understand that this looks like the error is located in quasar but it only happens in combination with your lib.
Do you have any idea how to solve that? Maybe there is a "hidden" circular reference somewhere on your side?
A push in the right direction would be really appreciated. Thanks for the nice project =)

Hi
I'm glad you tried out my Vue component.
I don't see the error in the console with this example:
https://stackblitz.com/edit/vue3-vite-typescript-quasar-starter-g3ip3e?file=package.json,src%2Fcomponents%2FHelloWorld.vue
Can you please tell me your package versions of vue, quasar and @vue-js-cron/quasar.

@abichinger Many thanks for your answer.
I have the following set up:
vue v3.3.4
quasar v2.12.3
@quasar/cli v2.2.1
@quasar/app-vite v1.4.3
@vue-js-cron/quasar: v1.1.3
Many thanks. If you need more information please let me know.

So far I haven't been able to reproduce your error.
Could you please provide a reproducible code example?

Hi,
I cleared out for now that it is just happening when added to dialogs.
Small example would be:
`

  <q-card-actions align="right">
    <q-btn flat label="Cancel" v-close-popup />
  </q-card-actions>
</q-card>

`

:tada: This issue has been resolved in version 1.1.4 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

While inspecting the stack trace, I noticed that some of the quasar components have been bundled with @vue-js-cron/quasar. I resolved this by removing @quasar/vite-plugin.
It seems that this step solved your problem as well.

I updated and tested 1.1.4. Can confirm that my reported issue was solved :tada:
Many thanks!

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

I'm seeing this issue today.
My versions are:
@vue-js-cron/quasar:  ^2.1.2
quasar: ^2.14.2
vue: ^3.4.5
Thanks!

Hello!
You're right, it seems like this error has resurfaced.
I'm going to see if I can fix it.

@ehenson please try @vue-js-cron/quasar: ^2.1.3

@abichinger works perfectly!  Thanks!


basic objective, unit tests & back tests complete

To revisit partial fills later

To revisit partial fills logic later - assumption is we only want to buy 100 at a time


Analyzing tables

We are trying to analyze a document (an invoice) which has nested tables. We are picking some values from the main table e.g. bill date, bill number etc. There is a sub table with multiple records (rows). From what we understand in the documentation - we need to tag each cell in each row as "item# 1", "item# 2" etc...
The analyzer works fine and we are able to get the results in JSON - however we get a JSON that is pretty useless as we it requires a lot of pre-processing before the data can be used or bound to a table in javascript for example.
Sample JSON we get (only the analyzeResult.documentResults[0].filelds part) is as below:

Ideally we would like to get all the rows in the table as an array of key value pairs where the keys are the column headers in the table.
is there a way to achieve that? If yes - what are we doing wrong and how to go about it.
Let us know if you need more details to understand the issue.
Thanks in advance.

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

ID: 67f00138-7492-ba6e-6665-de0a6e0803f8
Version Independent ID: 3835780b-1ace-77e3-553e-a537b6084de9
Content: Quickstart: Label forms, train a model, and analyze a form using the sample labeling tool - Form Recognizer - Azure Cognitive Services
Content Source: articles/cognitive-services/form-recognizer/quickstarts/label-tool.md
Service: cognitive-services
Sub-service: forms-recognizer
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@NephorLabs we will review your feedback and get back to you shortly. Thanks.

@NephorLabs are you using the API or sample labeling tool?

@NephorLabs we are continuously improving Form Recognizer's table extraction capabilities; at the moment, we may not support extracting data from complex tables. However, the sample labeling tool should automatically detect table data, if it does not, then you can label each cell as key-value pair as shown in the tutorial prior to training. If you continue to experience issues, I suggest you up-vote a similar request or provide your feedback on user voice forum. Hope this helps. Thanks.

We are using the Sample labeling tool.

From: GiftA-MSFT<EMAIL_ADDRESS>Sent: Monday, May 4, 2020 11:44 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: NephorLabs<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Analyzing tables (#53750)
@NephorLabshttps://github.com/NephorLabs are you using the API or sample labeling tool?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/53750#issuecomment-623622511, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKS22XP3LNXXU7NWBKZW2DLRP4AZ7ANCNFSM4MWG4KUA.

@NephorLabs as shown in this document, here is the expected JSON format of document results.


ocamlPackages.hacl-star-raw: fix aarch64-darwin

Description of changes

Disable strictoverflow since it breaks aarch64-darwin
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

28 packages built:

ligo
ocamlPackages.hacl-star
ocamlPackages.hacl-star-raw
ocamlPackages.tezos-base
ocamlPackages.tezos-base-test-helpers
ocamlPackages.tezos-client-base
ocamlPackages.tezos-context
ocamlPackages.tezos-crypto
ocamlPackages.tezos-hacl-glue-unix
ocamlPackages.tezos-mockup-proxy
ocamlPackages.tezos-mockup-registration
ocamlPackages.tezos-p2p
ocamlPackages.tezos-p2p-services
ocamlPackages.tezos-protocol-environment
ocamlPackages.tezos-protocol-environment-structs
ocamlPackages.tezos-proxy
ocamlPackages.tezos-requester
ocamlPackages.tezos-rpc-http
ocamlPackages.tezos-rpc-http-client
ocamlPackages.tezos-rpc-http-client-unix
ocamlPackages.tezos-sapling
ocamlPackages.tezos-shell-context
ocamlPackages.tezos-shell-services
ocamlPackages.tezos-shell-services-test-helpers
ocamlPackages.tezos-signer-backends
ocamlPackages.tezos-signer-services
ocamlPackages.tezos-version
ocamlPackages.tezos-workers


[bug] create_window panics with RecvError

Describe the bug
The exact message I see in the logs:
thread 'main' panicked at 'called Result::unwrap() on an Err value: RecvError': [...]\tauri-runtime-wry-0.3.2\src\lib.rs:1548
which is here. The line is: let window_id = rx.recv().unwrap();.
The problem is, I cannot reproduce this on my system, the issue was reported by end users. FWIW, I call create_window on the main thread (from inside Builder::setup), but I was told that this should be fine.
Reproduction
No response
Expected behavior
No response
Platform and versions
Operating System - Windows, version 10.0.19043 X64
Webview2 - 99.0.1150.30
Visual Studio Build Tools:
   - Visual Studio Build Tools 2019

Node.js environment
  Node.js - 16.13.2
  @tauri-apps/cli - 1.0.0-rc.5 (outdated, latest: 1.0.0-rc.7)
  @tauri-apps/api - 1.0.0-rc.1 (outdated, latest: 1.0.0-rc.2)

Global packages
  npm - 8.5.1
  pnpm - Not installed
  yarn - Not installed

Rust environment
  rustup - 1.24.3
  rustc - 1.58.1
  cargo - 1.58.0
  toolchain - stable-x86_64-pc-windows-msvc

App directory structure
/.git
/.github
/build
/node_modules
/opencv
/public
/src
/src-tauri

App
  tauri - 1.0.0-rc.3
  tauri-build - 1.0.0-rc.3
  tao - 0.6.2
  wry - 0.13.2
  build-type - bundle
  CSP - unset
  distDir - ../build
  devPath - http://localhost:3000/
  framework - React

Stack trace
No response
Additional context
No response

PR fixing this: #3684


How to remove padding?

This is the code:
new Chartist.Pie('#chart-test', {
				series: [88, 12]
			}, {
				donut: true,
				donutWidth: 10,
				total: 100,
				showLabel: false,
				fullWidth: true,

				axisX: {
					showGrid: false,
					showLabel: false,
					offset: 0
				},

				axisY: {
					showLabel: false,
					offset: 0
				}
			}
		);

With a width and height of 84px, this seems like it doesn't use the full 84px it has as it uses some kind of padding which I can't find out how to remove.

Check the default options of the pie. http://gionkunz.github.io/chartist-js/api-documentation.html#chartistpie-declaration-defaultoptions
There is a chartPadding option that is set to 5 by default.

Thank you :)


Multiplatform build

This PR fixes multi-platform build for specific arm architectures. Before it got stuck on npm ci... command (e.g. https://github.com/kubeshop/monokle-admission-controller/actions/runs/6745376525/job/18337069349#step:8:399).
There is an issues with Node v19+ and arm based images. It is described in https://github.com/nodejs/docker-node/issues/1794 and https://github.com/nodejs/docker-node/issues/1335. At this moment it works with v18 based images and so I downgraded to it.
It builds fine with such changes (see this run https://github.com/kubeshop/monokle-admission-controller/actions/runs/6768309227/job/18392485679).
Changes

As described above.

Fixes

None.

Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

First of all, why are we building for these many ARM versions?
MacOS, which was the source of this issue, is using arm v8 on 64-bit platforms. Therefore, the other build architectures are really useful for ppl running on Raspberry PI Model 3B and below. Again, While the good practice would be supporting that, I'm not sure it's worth pinning to a lower-than LTS image version of the node interpreter just for that sole purpose.
Secondly, Node LTS is 20, not 18, yet the image you are pinning to resolves to both Node18 as well as an older version of alpine.

Good point. Yes, I just thought of it as a good practice to provide support for multiple architectures. But as you say, it might be not needed, it's also not our target audience at this point.
Now, as for pinning down to v18, it also seems to be an issue for arm v8 so dropping others will not help here (I can recheck to be 100% sure).
And the entire reason for downgrading was that for arm architecture, there is an issue with npm i starting from node v19, so that's why I downgraded to v18.

Therefore, what I suggest first removing all unused architectures (anything but arm v8 and amd64), using Node20 with a pinned version instead of using lts tags (because as you saw, some of them are not updated and you might get older image versions or you will not know which one you are on) and then either trying the Google Distroless images (as that is a best practice for these kinds of containers) or go node-slim if alpine is still not working.
What do you think @f1ames?

Sure, it make sense. Just as I mentioned above it seems that even for  linux/arm64/v8 only, it will not build with node v19+. In that case, would it make sense to build with node v18 and have production image using v20 (based on alpine or distroless you mentioned)?


Server deployment fails

the GitHub workflow managing server deployment fails https://github.com/epfml/disco/actions/runs/2748310505

It seems the error comes from the mobilenet model being downloaded with node-fetch rather than the vanilla fetch, following the tfjs backend changes brought by #391. No idea why node-fetch fails, though.

A quick fix would be to use another model than MobileNet for now.

There is some more info here:
"Note: This implementation relies on the presence of the fetch method, if you are in an environment that does not provide the fetch method natively you can provide a global method names fetch that satisfies that interface or use a library like (node-fetch)[https://www.npmjs.com/package/node-fetch]."
Might be possible to change the default fetch method called. Although it would be good to understand why fetch-node is failing in the first place.


Can't install formeo

I am gonna build react form builder using formeo.
npx create-react-app my-app
cd my-app
npm i formeo
I have run "npm i formeo"
I got the following issues.
npm ERR! code ELIFECYCLE
npm ERR! errno 254
npm ERR<EMAIL_ADDRESS>postinstall: npm --prefix ./node_modules/mini-css-extract-plugin install ./node_modules/mini-css-extract-plugin && npm run --prefix ./node_modules/mini-css-extract-plugin build
npm ERR! Exit status 254
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!
But Nothing is displayed.
Help me.

fixed in #178
run npm i formeo --save again and should work.

Thanks, I have run "npm i formeo --save"
I got other issues.

TypeError: formeo__WEBPACK_IMPORTED_MODULE_8__.FormeoEditor is not a constructor
App.componentDidMount
src/App.js:23
20 |         },
21 |     };
22 |   // new window.FormeoEditor(options);
23 |     const editor = new FormeoEditor()
| ^  24 | }
25 |
26 | render() {

The full code :
`import React, { Component } from 'react';
import './App.css';
import ReactDOM from 'react-dom';
import { FormeoEditor } from 'formeo'

class App extends Component {

  componentDidMount() {
      // require('formeo');

      const options = {
          container: ReactDOM.findDOMNode(this.refs.builder),
          svgSprite: '/assets/img/formeo-sprite.svg',
          i18n: {
              langsDir: '/assets/lang/',
              langs: [
                  'en-US',
              ],
          },
      };
    // new window.FormeoEditor(options);
      const editor = new FormeoEditor()
  }

  render() {
      return (

      );
  }
}
export default App;

`

It should be ok now. Have a look here: https://codesandbox.io/s/8px8xl8vv9

Thx.

would you implement language selection?
Thanks for your help.
Best Regards.

can I implement row and columns functions like formeo in jquery form builder?


[bug] pyi encoding leads to error in different OS

Hello, sometimes I use cython to define some classes or functions. For better programming hints, I write stub files .pyi for cython .pyx files. But if I write Chinese comments in pyi, UTF8 will lead to error when I use nuitka --standalone in windows, while gbk will lead to error when I use nuitka --standalone in ubuntu, which confuses me when I need cross platform.
Example
# test.pyx
def test():
    print("这是一个测试函数\nThis is a test function")

# setup.py
from Cython.Build import cythonize
from setuptools import Extension, setup
extension = Extension(
        "test_pyi",
        sources = ["test.pyx"],
)
extensions = [extension]
setup(ext_modules=cythonize(extensions, language_level=3))

# test_pyi.pyi
# save as utf-8
def test():
    '''
    这是一个测试函数
    This is a test function
    '''
    ...

# main.py
from test_pyi import test
if __name__ == '__main__':
    test()

steps:

install cython and python setup.py build_ext --inplace to compile test.pyx to test_pyi.cp3*.pyd/so
install nuitka, I installed 1.7.7. In ubuntu install patchelf

Then, when I use ubuntu 22.04, I run python -m nuitka main.py --standalone, everything works well, and I cd main.dist and ./main.bin, the output is what I want. But when I use windows 10, I run python -m nuitka main.py --standalone, an error raises
Nuitka-Options:INFO: Used command line options: .\main.py --standalone
Nuitka:INFO: Starting Python compilation with Nuitka '1.7.7' on Python '3.10' commercial grade 'not installed'.
PASS 1: 0.4%|                         | 1/278, test_pyiTraceback (most recent call last):
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 81, in withPluginProblemReporting
    yield
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 533, in considerImplicitImports
    cls._considerImplicitImports(plugin=plugin, module=module)
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 424, in _considerImplicitImports
    for full_name in iterateModuleNames(plugin.getImplicitImports(module)):
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 401, in iterateModuleNames
    for v in value:
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\standard\ImplicitImports.py", line 272, in getImplicitImports
    for used_module_name in module.getPyIModuleImportedNames():
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 1002, in getPyIModuleImportedNames
    self._readPyIFile()
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 979, in _readPyIFile
    pyi_deps = parsePyIFile(
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\tree\SourceHandling.py", line 304, in parsePyIFile
    for line_number, line in enumerate(getFileContentByLine(pyi_filename), start=1):
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\utils\FileOperations.py", line 666, in getFileContentByLine
    return getFileContents(filename, mode, encoding=encoding).splitlines()
  File "C:\Users\c.men\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\utils\FileOperations.py", line 684, in getFileContents
    return f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 34: illegal multibyte sequence
FATAL: implicit-imports: Plugin issue while working on 'module 'test_pyi''. Please report the bug with the above traceback included.

There are 3 ways to solve this problem:

just use English to comment in pyi
delete pyi
save pyi as gbk

I don't want to use the first 2 ways, but if I use the 3rd way, ubuntu would raise almost the same error
Nuitka-Options:INFO: Used command line options: main.py --standalone
Nuitka:INFO: Starting Python compilation with Nuitka '1.7.7' on Python '3.10' commercial grade 'not installed'.
PASS 1: 0.3%|                         | 1/292, test_pyiTraceback (most recent call last):
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/plugins/Plugins.py", line 81, in withPluginProblemReporting
    yield
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/plugins/Plugins.py", line 533, in considerImplicitImports
    cls._considerImplicitImports(plugin=plugin, module=module)
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/plugins/Plugins.py", line 424, in _considerImplicitImports
    for full_name in iterateModuleNames(plugin.getImplicitImports(module)):
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/plugins/Plugins.py", line 401, in iterateModuleNames
    for v in value:
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/plugins/standard/ImplicitImports.py", line 272, in getImplicitImports
    for used_module_name in module.getPyIModuleImportedNames():
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/nodes/ModuleNodes.py", line 1002, in getPyIModuleImportedNames
    self._readPyIFile()
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/nodes/ModuleNodes.py", line 979, in _readPyIFile
    pyi_deps = parsePyIFile(
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/tree/SourceHandling.py", line 304, in parsePyIFile
    for line_number, line in enumerate(getFileContentByLine(pyi_filename), start=1):
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/utils/FileOperations.py", line 666, in getFileContentByLine
    return getFileContents(filename, mode, encoding=encoding).splitlines()
  File "/home/mon/.local/lib/python3.10/site-packages/nuitka/utils/FileOperations.py", line 684, in getFileContents
    return f.read()
  File "/usr/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 26: invalid continuation byte
FATAL: implicit-imports: Plugin issue while working on 'module 'test_pyi''. Please report the bug with the above traceback included.

Reason
I guess it is because default encodings are different in windows(gbk) and linux(utf-8), and when nuitka analyse pyi files, encoding=None and program uses the default OS encoding, then the error raises. So maybe nuitka should jump the pyi files to avoid cross platform encoding error.

Yes, very much it either would have to specify the encoding, but I doubt tools allow that, and since UTF8 is the default for Python now, it should just use that.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

Part of the 1.7.8 hotfix I just made.


Feature request: Static type support using TypedDict

👋
Recent versions of Python support optional static typing, including TypedDict, a way to define the types of properties on a dictionary. I see this project already requires 3.6 or higher, and a backport of TypedDict is in typing-extensions for Python 3.6 and Python 3.7.
I see all classes in this package currently subclass from dict:
https://github.com/jazzband/geojson/blob/0041e1d868ec51571800d003888b331c0e488f3f/geojson/base.py#L5
This means it wouldn't be hard to add typing support, by removing the dict superclass and replacing it with typing.TypedDict (or typing_extensions.TypedDict for 3.6 and 3.7).
I'd be happy to submit a PR, but figured I should make an issue first to discuss.

Hi @kylebarron good suggestion. Given that the objects defined in the GeoJSON spec (RFC7946) are explicitly typed themselves, TypedDict could fit in here.
Please submit a PR if you still can;  be sure to include per-key type specifications for all dict data structures currently used by GeoJSON objects.
Thanks!

I would like to help with this, and maybe as a first step watch/help advance someone else's source code if they've got it going.
if no-one else has a draft PR that has this going, but can point me to a few references sources of implemetation, that would be awesome. I can read and attempt to model them.
Hoping to ask one clarification question though...
Is it desired via this enhancement that if someone tries to initialize an GeoJSON object in an invalid format, their type-checker gives them an prompt identifying the expected parameter type? An example of incorrect initialization below:
from geojson import Point
point_a = Point([-115.81, 37.24])

The above attempt to initialize via a List is caught by a type-checker, and a prompt shows up to say coords: tuple.  The same behavior is to be achieved for other GeoJSON classes. Is this what the end-goal is for this enhancement?

@rayrrr or other maintainers - Is this feature enhancement still of interest? If yes, I can work on it. Please advise! Thanks for your time.

I never started work on this. I briefly looked into it and felt that there were issues with typed dict that would make it hard... but in Python 3.11 NotRequired was added to typing and this functionality was backported into typing_extensions for pre-3.11. So you can now accurately represent that i.e. a bbox is an optional member of Feature.
class Feature(TypedDict):
   properties: dict
   bbox: NotRequired[Tuple[float, ...]]

I'd also suggest taking a look at https://github.com/developmentseed/geojson-pydantic as a reference. For example, in https://github.com/developmentseed/geojson-pydantic/blob/b20bd7ed7c3475d6df650430c864259bb246fcb0/geojson_pydantic/features.py they've implemented generics on the Feature class. So for example you can constrain the type of your properties by setting
class MyPropertiesLayout(TypedDict):
    property1: str

my_feature_type = Feature[Point, MyOwnTypedDict]

Just a quick update. I have started to work on this feature enhancement. One of my first steps is to document the members needed for each GeoJSON object per the RFC. I will consolidate this information in the next few days. I am also looking at how to include type hinting specially in nested classes. This is where kylebarron's suggestion is likely to help. Thank you.

Is this issue just waiting for someone to review https://github.com/Toblerity/Fiona/pull/1259 or is it still open? I want to contribute but in doubt if it's already done and waiting for review.


Performing inference using own dataset

Hi,
Thank you for your impressive work.
I am trying to generate surgical instrument masks by using your model, but I have some questions about data preparation. Is there anything else I need to input into the model during inference besides the sam feature and class number?
Thank you for your help!

Hi,
Thanks for your interest.
For model inference, only the SAM features of input images and class IDs are used as inputs, as demonstrated by the dataloader for inference here. Please remember to ensure that the class IDs in your own dataset match the IDs we provide.


Add CreateOnlineStreamWithHotwords to C API

Allows creating a new OnlineStream with hotwords via the C API.
Also added the attribute((visibility("default"))) modifier which makes it easier to use the C API as-is in FFI setups.

Done!

Thank you for your contribution!


supervise: acquire lock sooner

If a second supervise is started in a service directory, it clobbers the existing status file even though it aborts. For example:
> mkdir t
> cat <<EOF > t/run
> #!/bin/sh
> exec /bin/sleep 999
> EOF
> chmod 755 t/run
> supervise t &
> svstat t
t: up (pid 4070) 3 seconds, running
> supervise t
supervise: fatal: unable to acquire supervise/lock: temporary failure
> svstat t
t: unable to read supervise/status: bad format

This patch works by reversing the order of open_trunc("status") and open_append("lock") so that the lock is acquired first. It also moves mkdir() and open_append() up to allow supervise to bail out sooner.
> supervise t &
> svstat t
t: up (pid 7279) 2 seconds, running
> supervise t
supervise: fatal: unable to acquire supervise/lock: temporary failure
> svstat t
t: up (pid 7279) 7 seconds, running

When was this broken "second supervise" behavior introduced? I used "supervise" in production in the early 2000s without ever observing this behavior, and my concern is that DJB's original logic (which was quite careful about the order of inode operations) has now been modified to the point where there are race conditions which invite patches creating more race conditions.

Bisected it to 7ab9e4d, "supervise: Use seek/write instead of create/rename to write status."
which would be in encore-1.00.

Obviously correct. Thanks for spotting this. Merged with tests and change note in 0f953e2bcbe21a56d368db7cc3ada8eeaf0cee7c.


Economic times market chart or investing.com chart instead of trading view chart.

how to change the trading view chart to the Economic Times market chart or investing.com chart.

@saktisundar
There is no provision to switch the charts.
As TradingView is the most famous and feature rich chart provider, there are no plans to support any other chart provider.


For interactive windows pty

Wait for https://github.com/creack/pty/pull/109

Or try to implement https://github.com/antonioCoco/ConPtyShell or get inspiration.´ from girsh project


[NLP-236] Drop prompt-only sequences by default, and add flag to keep sequences if desired

Linked: https://sambanova.atlassian.net/browse/NLP-236

currently passing test.sh

Just added requested changes and some test cases. Could you re-review? Thanks @Z01iC @snova-virens


fix fix time zone error(isAdjustedToUTC=true) in parquet reader

Proposed changes
Revert #33217 and add some fix for regression test.
The modification of PR(#33217) is wrong, which introduce some issues about the time zone(https://github.com/apache/hudi/issues/11003).
If isAdjustedToUTC = false, the reader should display the same value no mater what local time zone is. For example:
When stored as 1970-01-03 12:00:00,
If isAdjustedToUTC = true, UTC8 should read as 1970-01-03 20:00:00, UTC6 should read as 1970-01-03 18:00:00
If isAdjustedToUTC = false, UTC8 and UTC6 should read as 1970-01-03 12:00:00, which is the same as 1970-01-03 12:00:00 in UTC0
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


support gpg keys

@dstufft not sure how to add a migration for this? I sort of assumed it would work if it used to be in legacy.

Hey there!
Sorry for the delay in getting back to you on this. I'm actually going to close this PR, because I don't think that we want to support PGP keys in the long term so improving them is not something that I'm super interested in at this point.
However, thanks for the contribution even if it wasn't ultimately accepted!

As far as I can tell this is reply by Donald is the closest thing we have to a record of the Warehouse policy decision that we will not be displaying GPG/PGP signatures for packages and will not give users a way to manage their public GPG keys. Also see https://github.com/pypa/warehouse/issues/2935#issuecomment-372515634 and the followups, and:

0df1ed21a327800ec192a40a25c02aca6f218ec0 in 2015 which included signatures in the package display
c9c8ad9a19a72848c74107c29318e2b1bc1e5143 which took out those signatures
2ac719c5f32b26a76473b43ebd4f0ac8a5e81df8 which took out several gpg/pgp checks

Noting this for others' reference in case anyone is doing research.

Yes, people discussed the question in a few places. The comment above seems to be the place where you publicly communicated that the decision was now final.

Yea that is probably about right.


TextBox error message not disappearing on correct input

Describe the bug
The TextBox error message persists after re-entering previous value into TextBox.
To Reproduce
Add a Property in ViewModel: public int Number { get; set; }
Add a TextBox: <TextBox Text="{Binding Number}"              TextInputOptions.ContentType="Number"              Watermark="Enter a number" />
Remove default "0" in TextBox -> get expected InvalidCastException error message
Input "0" again into TextBox -> error message persists
Works with any number (also floats) if the first valid input equals the previous valid input.
Error message disappears after another valid input was given.
Expected behavior
The error message should disappear after any valid input.
Avalonia version
11.1.0-rc2
OS
Windows
Additional context
No response

@KDouble48 was it reproducible in 11.0 versions?

No, it was working as expected. RC1 had a problem of crashing the app.

Sounds like #16150 might fix this, assuming the issue is that the binding aren't reacting to the new input because it's the same as the last input they recognized.

@IanRawley that PR should be already included in rc2 though.


url not detected correctly

For example:
String:  "就是这个www.meishi.com 好吃"
result:

I think Chinese should not match as part of url.

I have the same problem:
md: 你好https://google.com
expert:
你好https://google.com

output:
你好https://google.com

and ...
text: 1.web
output: 1.web

IMO that's dupe of #15 (i see no principal difference).
Closing, but can reopen back if required,


Angular integration

Guys, very cool project, there is an idea to integrate the corner project for the front, but I do not know how to do it correctly, (in order to interact correctly with the back)
Could you help me? Ready to be contributor=) for frontend part

for topic

for topic


Resize events when shrinking don't fire when the document has dir="rtl" set

Resize events when shrinking don't fire when the document has dir="rtl" set
My document has the attribute dir="rtl". When I make the browser larger resize events are fired as per normal. When I make the window smaller no events are fired.
I see this behaviour in Chrome Version 70.0.3538.77 and Firefox 63.0.1

See also #61 for a possible reason about why support for non-default writing mode doesn't work properly.


[lit-html] styleMap doesn't dedupe property names when both kebab and camel case are present

Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
If you pass through both the CSS property but using both kebab-case and a camelCase, the kebab-case version of the property is applied twice to the output style value.
See repro:
Reproduction
Repro
Steps to reproduce:

Open repro case
Open DevTools
Select the .wrapper element
Observe the following value in its style property:

Workaround
It doesn't have any adverse affect. It's a very small issue, but worth flagging none the less
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
3
Browser/OS/Node environment
Chrome 120 on macOS (Ventura)

Thank you for the report! This is indeed the case. I'm not sure I'd consider this a bug. As you've noted, there's no adverse effect and the latter rule will override.
I'm not sure if any action is warranted since it's pretty innocuous. It's possible to add detection for this, maybe just for dev mode?


fix: add externals for node build

Fix RM-XYZ

🧰 Changes
This allows the renderer to inject its own util module, which react-dom/server relies on for access to TextEncoder.
🧬 QA & Testing

Broken on production.
Working in this PR app.

This PR was released!
🚀 Changes included in v6.75.0-beta.46


A backwards compatible link before v1.0 goes out

I know that the preview module name has changed, but until v1.0 goes out, the link on the main page is referencing a hex doc that does not exist.  This simple PR is a stop gap to avoid the 404 page when visiting https://hexdocs.pm/bamboo/Bamboo.SentEmailViewerPlug.html

It now includes a pre v1.0 link

This is a good solution! Thank you so much!


Update Francesco Marisaldi blog

Updating my blog's url and feed :)

Thanks! A subtle, but important change!


Kyma - Correct command - remove "shell/bash"

Hello,
Scenario URL: https://developers.sap.com/tutorials/cp-kyma-redis-function.html
Step 1.2: Shell/Bash git clone https://github.com/SAP-samples/kyma-runtime-extension-samples
Please mention correct command: remove shell/bash from command
Labels to be added:
Landscape label: Landscape label: trail1, trail2, trail3
Sprint Label: SCPTest-2101
Scenario label: SCPTest-Kyma
Prio: high-prio
Thanks,
Shubham Agarwal

@thecodester - are the language identifiers no longer supported/working for code blocks?

@thecodester - are the language identifiers no longer supported/working for code blocks?

@jcawley5 The code block is not indented properly -- needs 4 spaces (2 tabs) instead of 3 spaces

@jcawley5 The code block is not indented properly -- needs 4 spaces (2 tabs) instead of 3 spaces

Fixed in qa, will be in prod in next push.

Fixed in qa, will be in prod in next push.


Expose OkHttpClient via TestConfig

Implements https://github.com/javalin/javalin/issues/1582
@tipsy I decided to go for exposing OkHttpClient as it is much easier and fulfils my needs (currently HttpClient is coupled not only to OkHttpClient class but also okhttp3.Request- providing some abstraction over building request (e.g. adding header) looks like a overkill for me).
You also asked for making JavalinTest instantiable, I will do that in next PR :)
Signed-off-by: Mikolaj Matuszewski<EMAIL_ADDRESS>

I agree that this is a good solution, thank you.

You also asked for making JavalinTest instantiable, I will do that in next PR :)

Great, looking forward to it !


[BarChartCard] if series is empty, it fails to render the empty state

What package is this for?

[x] React
[ ] Angular

Describe the bug
If series is empty in the isEditable state, the card fails to render. This use case was brought up in the new DashboardEditor. When a user first adds a new card, there is no series defined, so there is no sample dataset to be generated from.
To Reproduce
Steps to reproduce the behavior:

Go to BarChartCard
Change series to empty array
Change isEditable to true
See error

Expected behavior
Should show empty card state

:tada: This issue has been resolved in version 2.134.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


merge package template from arlac77/npm-package-template

Updated standard to latest version

Coverage remained the same at 93.567% when pulling 06805b0d453c1f199fa2d4c9fa188bb5031b317e on template-sync-1 into ea6a4030d3da49e0d94ad3d9fe2117346840207f on master.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #152   +/-   ##
=======================================
  Coverage   93.56%   93.56%
=======================================
  Files          18       18
  Lines         171      171
=======================================
  Hits          160      160
  Misses         11       11

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea6a403...06805b0. Read the comment docs.


Warhammer Fantasy Roleplay 2

I don't really know how this works.

Is this an update to the Warhammer FR 2 that we already have? Is it a new sheet? If it's a new sheet what are your justifications for having a second sheet for a game system we already have?
Your files are being added to the root directory. If they are modifications to the sheet we already have they should be committed to that folder. If it's a new sheet, assuming having a 2nd sheet for a system we already support is warranted, it should be committed to a new folder as well as needing a preview image and the sheet.json file that every sheet has.

I completely messed up when adding this and had to quit before being finished so I know there are missing files. I never figured out how to add it to a new folder. I'll attenpt to remove this and try again.
Is it appropriate to post a discussion about the sheet, describe it and the justifications for adding it, before attempting to upload? This is my first visit to this resource.

If you just post on the forum, I would probably miss it in all honesty. Your best bet would be to message me here. I can also help with the whole Pull Request process, if you need it. Just let me know what you're having issues with and I'll try to point you in the right direction.


Add YGNodeStyleSet<Property>CSS for CSS values as strings

Right now the C ABI exposes different setters style value setters for points, percent, auto. We’re wanting to add calc expressions to that matrix.
Instead of creating a bespoke structure for this, we instead should add a variant accepting a CSS value string which Yoga parses.
This is easy to represent across bindings, and means that new CSS unit or value additions do not require a new API. Actual storage of the value can be an implementation detail, along with freeing it.
This also means frameworks already parsing value strings (e.g. RN) can delegate to Yoga without needing to know the specifics of what it supports.

I've decided going a different way, to keep a clean boundary between Yoga and CSS parsing.


Remove selenium stage

:star: PR built and available in a preview environment carlossg-croc-hunter-jenkinsx-pr-22 here


Added description to AnimationNodeStateMachine.replace_node

Added description to AnimationNodeStateMachine.replace_node.

Is anything blocking this?

Not that I know of, but we're in the holiday season right now and mainly merging bug fixes when we do merge 🙂,

Thanks!


Show orphaned configurations in ConfigWizard page even when device is not available

Is your feature request related to a problem? Please describe.
Often it would be useful to share config files made for particular planes and panels, even when people have their own pin numbers and device names on their arduinos.
But on the simulator side we all use the same events. It would make sense to create and share (maybe on github) configs for popular planes with predefined inputs and outputs so that everyone can then just add leds and encoders and buttons and map the config to those.
Right now it is not easy to see, as you have to assign a config to a compatible device to see the assigned sim events.
Describe the solution you'd like
It would be much easier if we for example showed the config as grayed out (non editable) but so that you could still study it and see the events.
Ideally we'd build a library of the common ones so that everyone doesnt need to dig through the event lists looking for the ones that work, as it is mostly the few most popular planes and panels that most people are building, like the PMDG 737 autopilot, or the FBW A320 FCU.

Ok, so this is actually related to #1077 but since my device is a input shift register that shows up as blank page, regular buttons work thanks to that earlier fix.
Output shift registers actually seem to crash my MF Connector when I try to view the configs without them present:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Items collection cannot be modified when the DataSource property is set.
   at System.Windows.Forms.ComboBox.CheckNoDataSource()
   at System.Windows.Forms.ComboBox.ObjectCollection.Add(Object item)
   at MobiFlight.UI.Panels.DisplayPinPanel.syncFromConfig(OutputConfigItem config)
   at MobiFlight.UI.Panels.DisplayShiftRegisterPanel.SyncFromConfig(OutputConfigItem config)
   at MobiFlight.UI.Panels.OutputWizard.DisplayPanel.syncFromConfig(OutputConfigItem cfg)
   at MobiFlight.UI.Dialogs.ConfigWizard._syncConfigToForm(OutputConfigItem config)
   at MobiFlight.UI.Dialogs.ConfigWizard.ConfigWizard_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9167.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MFConnector
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/MobiFlight/MFConnector.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9172.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9166.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9166.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>908
    CodeBase: file:///C:/MobiFlight/Newtonsoft.Json.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Microsoft.ApplicationInsights
    Assembly Version: <IP_ADDRESS>9
    Win32 Version: <IP_ADDRESS>29
    CodeBase: file:///C:/MobiFlight/Microsoft.ApplicationInsights.DLL
----------------------------------------
System.Diagnostics.DiagnosticSource
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>805
    CodeBase: file:///C:/MobiFlight/System.Diagnostics.DiagnosticSource.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Microsoft.AI.ServerTelemetryChannel
    Assembly Version: <IP_ADDRESS>9
    Win32 Version: <IP_ADDRESS>29
    CodeBase: file:///C:/MobiFlight/Microsoft.AI.ServerTelemetryChannel.DLL
----------------------------------------
System.Web
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
XPlaneConnector
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/MobiFlight/XPlaneConnector.DLL
----------------------------------------
netstandard
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_<IP_ADDRESS>__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
fsuipcClient
    Assembly Version: <IP_ADDRESS>3
    Win32 Version: <IP_ADDRESS>3
    CodeBase: file:///C:/MobiFlight/fsuipcClient.DLL
----------------------------------------
ArcazeHid
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/MobiFlight/ArcazeHid.DLL
----------------------------------------
SharpDX.DirectInput
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.2.0
    CodeBase: file:///C:/MobiFlight/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.2.0
    CodeBase: file:///C:/MobiFlight/SharpDX.DLL
----------------------------------------
Midi
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/MobiFlight/Midi.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Microsoft.FlightSimulator.SimConnect
    Assembly Version: 10.0.61259.0
    Win32 Version: 10.0.61637.0 (FSX-Xpack.20070926-1421)
    CodeBase: file:///C:/MobiFlight/Microsoft.FlightSimulator.SimConnect.DLL
----------------------------------------
HidSharp
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/MobiFlight/HidSharp.DLL
----------------------------------------
System.Net.HttpDLL
----------------------------------------
System.Net.Http
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Please provide your config for testing

@tigert for your information #1392 fixed the empty input confwizard page for orphaned devicec in case of inputshifter or inputmultiplexer. You mentioned that problem somewhere.
@DocMoebiuz maybe in output configwizard some similar if else are missing. Did not check yet.

Hmm, I don't get a crash even with <IP_ADDRESS> now.

As you can see on the screenshots it is working for all input devices.
fixed by #1392


feat: GoldenTestTheme

Description
This PR adds GoldenTestTheme, a theme that dictates the behavior/appearance of the UI elements that Alchemist provides to render golden tests and GoldenTestGroups. Specifically, you can now dictate the colors of the borders within the Table that separates GoldenTestScenarios as well as the overall background color of the test. This separates us from any implementation (specifically Material in this case) so that changes to material colors don't break golden tests when neither the client code or Alchemist code has changed. Previous breaks can be seen, for example, in Flutter 3.16 when the default background color changed, breaking some tests.
Note: This does not guarantee that client golden tests will not ever experience breaks when upgrading/downgrading Flutter, as the widget's under test may still rely on Material (or any other theme implementation) which Alchemist has no control over. This is in fact one of the exact scenarios Alchemist is designed to notify you of; changes in the appearance of your UI that you may have otherwise missed because you did not change any code yourself.
Breaking change: Because we have intentionally changed the default background/border colors, this will cause master golden images to change, so this is a breaking change.
Closes https://github.com/Betterment/alchemist/issues/120.
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[x] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

@btrautmann We are still a configurable textStyle for the name https://github.com/Betterment/alchemist/blob/main/lib/src/golden_test_scenario.dart#L79


Deserialize stream

Built on my other pull request - testing and bug fixes for DeserializeStream.

Looks good. Consider rebasing off master once #1 is merged, but I think this is good to go :shipit:


Editor toolbar doesn't show when using with AngularJs

I have seen previous issues caused by not loading dependent libraries, however, I think i have loaded all the dependencies needed:
    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/angular/angular.min.js"></script>
    <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="bower_components/marked/lib/marked.js"></script>
    <script src="bower_components/to-markdown/dist/to-markdown.js"></script>
    <script src="bower_components/bootstrap-markdown/js/bootstrap-markdown.js"></script>

With the example code from documentation:
<form>
    <input name="title" type="text" placeholder="Title?" />
    <textarea name="content" data-provide="markdown" rows="10"></textarea>
    <label class="checkbox">
      <input name="publish" type="checkbox"> Publish
    </label>
    <hr/>
    <button type="submit" class="btn">Submit</button>
  </form>

I can't see the tool bar, so I'm not sure if it's working at all. Is there anything special I have to do to make it work in angular? Is there a order issue when loading dependencies libraries? I tried to load bootstrap-markdown before marked and to-markdown but makes no difference.
I'm using bootstrap-markdown 2.10 and Angular 1.5.6.

same here

Angular 1.3.20 here, and this won't initialize at all

I had the same problem when I realized that the default font was using Font-Awesome which I didn't have. If you don't have Font-Awesome installed, which you don't seem to have, then I suggest you set  iconlibrary: 'glyph'

I had the same problem when I realized that the default font was using Font-Awesome which I didn't have. If you don't have Font-Awesome installed, which you don't seem to have, then I suggest you set iconlibrary: 'glyph'

did it work?


create geolocation

Update?

I never got an update on your status.

Never put your script tags in a <header>. They should go in <head> or preferably just before the </body>. There isn't a javascripts partial, but it should match what the stylesheets one currently looks like.

Where is /lib/jquery/.. coming from?

Make sure to follow the style set forth by the rest of the project. All the code around the commented out script tag is using single quotes, but the script tag is not. Be more conscious of this. The goal is to make the project appear as if it was written by one person, not 20.

header
  p Header goes here
  //- script(src="/lib/jquery/dist/jquery.min.js")

  if user
    a(href='/logout') Logout as @#{user._id}?
  else
    a(href='/auth/twitter') Login with Twitter


Add a snowflake load options

Description
What is the current behavior?
The current behavior for loading data to Snowflake is to depend on native_kwargs, which are loosely defined and lack type safety. There is also no way to specify FILE_FORMAT options in Snowflake, which can block users from being able to load their data.
What is the new behavior?
This PR introduces a SnowflakeLoadOptions class that contains file_format_options and copy_options fields. These fields allow users to specify the necessary arguments to correctly load their data.
Does this introduce a breaking change?
No, this does not introduce a breaking change.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

@pankajastro I've created a ticket for wider documentation around LoadOptions. I don't want to hold up the 1.4 release over this so I think it's fine to do a more thorough job here. https://github.com/astronomer/astro-sdk/issues/1556


Beeftext Keeps Closing By Itself[Bug]

Beeftext version (e.g. Beeftext v7.0 Portable Edition).

this happens to me sometimes on the Discord app. I have to restart Discord app to make Beeftext to stop crashing.
dont know how to reproduce, sorry. it happens on my laptop.
Windows 10

I think I have figured out what causes the bug
If you have an image copied in clipboard, and if you are using a website/app where you can paste images in chat (eg: Discord app) and you try to do a macro, it crashes Beeftext.
To fix, i copied some random text "awsg;akje" and beeftext stopped crashing.

Hi.  I could not reproduce the issue with an image in the clipboard (an image itself, or a link to an image file) in discord.

Does the problem still occur with beeftext v9.0.
Could you export a combo that exhibits the issue and attach?
If possible, an image that causes the crash could also be helpful.
What version of Windows are you using?

Unable to replicate it now. It used to happen on Discord and Zendesk. It seems that 9.0/9.1 has fixed it.
Windows 10 Home, Version 20H2, OS build 19042.1083

Well, happy to hear. There was a major upgrade from Qt 5 to Qt 6. There's a good chance it fixed the problem, because on my side, nothing has changed in the combo substitution and copy-paste mechanism.


AWS: allow security group members to communicate

For multi-node configurations, all members of the same security group
should be able to communicate with each other. Without this change,
communication between control plane nodes and worker nodes is
functional, but communication from one control plane node to another
control plane node is blocked, as is worker node to worker node. Overlay
networks such as Calico require node-to-node communications, and this
change allows these networks to function.
Signed-off-by: Andy Goldstein<EMAIL_ADDRESS>

This may be too broad. Would appreciate eyes from @detiber if he's got some time.


SSR is broken with css-loader 0.22

Putting this here in case others come across it: https://github.com/webpack/css-loader/pull/184
I have hopes it'll get merged soon.

@quicksnap The PR https://github.com/webpack/css-loader/pull/184 has been merged, and css-loader version that includes it has been released as 0.23.0. The dependencies should be updated.

Excellent!


Best practices on reacting to data change in same service?

Hi John,
Could you please clarify this thing to me.
I have a situation where I need to do some job reacting to entity data change in the same service.
I see 2 main options:

Entity data is changed
Trigger emits CDC event
Listener listens to own CDC event and does the job.

Entity data is changed
Trigger emits CDC event
Another trigger pipeline does the job on changed data.

The first one uses familiar patterns and feels less 'custom'. But there's some doubt about publishing/listening to own events all across event hub.
The second does everything locally but brings some complexity because multiple trigger pipelines react to same event making tests a little less straight forward.
Both seems viable to me but I like first a little bit more.
Can you please drop couple of words which one you think is best and why.
Thanks!

Great question. Both approaches are valid.
The materialize pipeline currently filters out based on the source tag as part of the latching mechanism. but that could/should be rule driven.
I'll use the trigger side when i don't want to create an event just yet.
we can probably come up with ways to make testing easier, so that testing is not a limiting factor.
the control service pattern i use for orchestration and snapshots definitely consumes its own events. so there shouldn't be any doubt about that approach.
any and all events that pass thru the hub become valuable metrics downstream.
when everything else is equal, go with your gut!!

Yep, the CDC event is emitted regardless of this job. "Listener" variant looks cleaner.
Thanks for the reply!


chore(ci): release 2.0.0-alpha.4

:robot: I have created a release beep boop
2.0.0-alpha.4 (2024-09-11)
Bug Fixes

a (2e3c7df)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.0-alpha.4
:sunflower:


Makefile for build in Linux ::)

Maybe it will be useful to someone if they do not know how to collect examples, but want to poke them with a stick  ::)

Use:  make build_depends && make all && make run
Once built, the examples will run in turn. Use the right mouse button to interact, and the left mouse button to interact with the GUI.
P.S. The code for the game controller is not collected
CC=g++
INCLUDE_DIR = -I./
INCLUDE_DIR+= -I./depends/raylib/raylib/include
INCLUDE_DIR+= -I./depends/raygui/src
LIBRARY_DIR = -L./depends/raylib/raylib
LIBRARY_DIR+= -L./depends/raylib/raylib/external/glfw/src
LIBRARY_LINK = -lraylib -lglfw3 -ldl -pthread
BUILD_DEP = $(INCLUDE_DIR) $(LIBRARY_DIR) $(LIBRARY_LINK)

all: damper doublespring inertialization interpolation resonance smoothing springdamper timedspring velocityspring

clean:
	-rm damper doublespring inertialization interpolation resonance smoothing springdamper timedspring velocityspring
damper:
	$(CC) damper.c -o $@ $(BUILD_DEP)
resonance:
	$(CC) resonance.c -o $@ $(BUILD_DEP)
smoothing:
	$(CC) smoothing.c -o $@ $(BUILD_DEP)
timedspring:
	$(CC) timedspring.c -o $@ $(BUILD_DEP)
doublespring:
	$(CC) doublespring.c -o $@ $(BUILD_DEP)
springdamper:
	$(CC) springdamper.c -o $@ $(BUILD_DEP)
interpolation:
	$(CC) interpolation.c -o $@ $(BUILD_DEP)
inertialization:
	$(CC) inertialization.c -o $@ $(BUILD_DEP)
velocityspring:
	$(CC) velocityspring.c -o $@ $(BUILD_DEP)
run:
	./damper;
	./resonance;
	./smoothing;
	./timedspring;
	./springdamper;
	./doublespring;
	./interpolation;
	./inertialization;
	./velocityspring;
build_depends:
	mkdir -p depends/raygui
	mkdir -p depends/raylib
	git clone --depth 1 https://github.com/raysan5/raylib.git depends/raylib
	git clone --depth 1 https://github.com/raysan5/raygui depends/raygui
	cd depends/raylib && cmake . && make

.SILENT: build_depends clean damper doublespring inertialization interpolation resonance smoothing springdamper timedspring velocityspring

Why not pull request? I don't know, the assembly file only for *NIX and doesn't look very nice =)

Nice, thanks!


stacked bar chart doesn't support negative values

In which chart does the bug happen?

Stacked bar chart

RAWGraphs Version
2.0 beta: https://app.rawgraphs.io/

Steps to reproduce this
Aiming to reproduce the stacked bar chart @ https://observablehq.com/@declann/some-cashflows?collection=@declann/calculang
which is created with vega-lite.
There are negative values, but we can see that this works neatly in the vega-lite visualisation.
To attempt to reproduce the visual, I did:

Hit 'csv download (unpivoted)' in https://observablehq.com/@declann/some-cashflows?collection=@declann/calculang
At https://app.rawgraphs.io/ load the csv file and set separator to comma
Configured mappings:

But it results in an error message "Values cannot be negative".
It would be useful to support negative values, as in vega-lite.

Hi @Moeinmn! do you still plan to work on this issue?


Merge master into hosted

This does not look correct to me, there are a lot of sections in here that are removed in master. How exactly did you create this?
I tested doing a merge locally and something like this produces what seems to be correct:
git merge -X theirs origin/master
git rm 03.Devices/03.Debian-family/docs.md 03.Devices/10.Update-Modules/docs.md
git rm 04.Artifacts/25.Modifying-a-Mender-Artifact/docs.md 05.Client-configuration/02.Cross-compiling/docs.md
git merge --continue

Looping in @lluiscampos. I am not sure how the stable versions have been handled in the past on the hosted branch.

Looping in @lluiscampos. I am not sure how the stable versions have been handled in the past on the hosted branch.

@mirzak Your merge recipe looks correct.
After you commit the merge, however, you need to rerun the autoversion tool again to replace any new introduced version reference or the ones that by conflicts resolution have been wiped out.
I will launch a new PR in few minutes.

I will launch a new PR in few minutes.

See #1122


Bug: list activities not updating

Description
Previously the stream method in supase_activities_api wasn't working due to this issue. As a temporary solution, the fetch method was being used in the planner bloc, but it couldn't be called from activity page which is in another route.
In this PR, I'm creating an activitiesController which exposes a stream, to add the events directly in the api.
The stream is used in subcriptionRequested, which is now restartable and replaces activitiesUpdated.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[x] 🗑 Chore

Codecov Report

Merging #6 (d9d48e3) into main (55c80f0) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   92.98%   93.02%   +0.03%
==========================================
  Files          76       76
  Lines        1526     1520       -6
==========================================
- Hits         1419     1414       -5
+ Misses        107      106       -1

Impacted Files
Coverage Δ

lib/planner/bloc/planner_event.dart
100.00% <ø> (ø)

lib/planner/bloc/planner_bloc.dart
50.00% <100.00%> (-2.55%)
:arrow_down:

lib/planner/view/planner_page.dart
73.07% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 55c80f0...d9d48e3. Read the comment docs.


[Feature] display button to open crash log/folder or just display crash log when betterdiscord crashes

Is your feature request related to a problem? Please describe.
Several times recently a discord update has made a library plugin crash discord on boot. betterdiscord "handles" this by disabling all plugins and giving the most unhelpful error message in the history of error messages. "disable all plugins" like wow thanks?! i'm usually able to find a fix by going to the pinned messages of the betterdiscord support channel but this feels overly cumbersome to just find the cause of a crash.
Describe the feature you'd like
i'd like the error message to do one or more of three things

give a button that opens the folder where the crash logs live
give a button to directly open the crash log (i'd prefer the former option so i could open the crash log in whatever program i like, like notepad++
directly show the crash log on screen.

this would allow people to directly view the cause of the crash. the suspecting plugin would likely be right there in the traceback and would be fairly easy to debug by updating and/or removing the plugin.
Additional context
where are the crash logs anyways?

where are the crash logs anyways?

That is the problem indeed, we don't get proper crash logs with the way Discord and Electron have been setup.


Adding support for Dancer methods

There is a feature that I would love for the extension to have and that is to be able to support Dancer routes and identify them as symbols like it's done with methods.
For example:
get '/vehicles' => sub {

};

Would then become symbol get 'vehicles' so it can be searched via symbol search on the file.
I'm willing to give it a try if I could get pointed in the right direction as I've never played around with VS extensions.

Thank you for the suggestion. I just committed an initial version, and it should be available in the marketplace now in version 0.6.1.
Adding support for new frameworks is a bit tricky because of the number of different places impacted. I added to the tagger, and then modified the locations for symbol types, hover, and completion. I also added custom syntax highlighting and generally tried to match the syntax highlighting regexes to the ones used for parsing the symbols.
Thank you for the offer to help as well. I don't use Dancer/Dancer2 in my work, so a review and testing would be extremely helpful. As you use this, I'm sure you'll come across parsing bugs, missing keywords, etc. I hope the layout makes sense if you wanted to make any changes or add any other features to the Navigator.
In terms of getting started with a testing environment, I just added additional details to the Contributing page https://github.com/bscan/PerlNavigator/blob/main/CONTRIBUTING.md
Let me know if you have any issues and I'm more than happy to help out.

Great! I looked at the commit and I see the changes you implemented, I think they are clear enough for me to follow-up on them to make some contributions if needed, at least on the Dancer side of things.
I'll try to do some testing over the weekend.

@bscan Just requested my first PR. Let me know your thoughts or if you would like me to do anything else to get it approved.
Thanks!

Just published your updates in version 0.6.2 to the vscode marketplace and to NPM. Thanks again for the feature.


feat: update composer dependencies

I would suggest to use the PRs from dependabot and close this PR.


How do I make the DropCap on the right?

How do I make the DropCap on the right?  thanks..

now with version 1.0.2 use
dropCapPosition: DropCapPosition.end


Exclude children from the gesture

cc @odusseys
Discussed in https://github.com/pmndrs/use-gesture/discussions/428

Originally posted by odusseys January 19, 2022
Hi,
Is there a way to exclude specific children of an element from triggering the gesture / getting events as they should ? For example, is there a way to correctly select text within a draggable elements ?

Responding to your last comment: it doesn't feel very idiomatic (in a react sense, but I understand the lib is meant to work for all JS frameworks including vanilla) to

be passing around / working with dom objects unless it's a last resort / building a library, so as a consumer of a react lib it is always much more appreciable to work with components, hooks and refs
send objects bottom-up in the props hierarchy. This to me is the biggest issue ; if the component you wish to exclude is nested deep, you will need to forward a ref multiple times down to that component in order for it to be used (or put it in a context ; but putting refs in a context is clunky)

For react, this use case seems to be most compatible with the Context API ; ie a provider at the useGesture level (useGesture and the child component would both subscribe to this context to communicate)
For the general vanilla JS purpose, I would rely on an element property (ex. use-gesture-ignore="true"), or something along those lines. This is less ideal for React as custom properties are not idiomatic, and don't work in a straightforward way if you want to wrap a fragment / list.
I find the react-dnd lib extremely well designed in this aspect, it allows to very easily and modularly communicate between drag / drop components without any prop sharing whatsoever.

Can you point at where react-dnd is using the context api? Honestly it feels a bit convoluted to be using a <Provider /> for a lib such as use-gesture, but I'm happy to reconsider.

the provider could be used optionally (only if you need a child to get access to the gesture / the gesture state)
react-dnd has the provider here https://react-dnd.github.io/react-dnd/docs/api/dnd-provider
but it's a bit different since all hooks / HOC subscribe to this provider, as a means to declare useDrag anywhere inside and useDrop anywhere else, and have both communicate without passing any props across.

Would you be up for a PR? Note that the core package is platform agnostic (ie not React specific).

I am under water with work but I'm putting a task in my todos to do this as soon as things clear out, would love to help

I personnally use @vueuse/gesture based on this library...
I have the same problem : my users want to still select texts or have a "normal" behavior of the website.
As i didn't found anything in gesture options and as the "target" option juste do nothing (= event still triggered on children)
what i did is basically check if the dom element of the state.event is the one i want based on classList..contains(example) and element.id = the one i want..
Example :
const handler = (state: any): void => {
  // boolean : check if target element is a div.pannel or a div.page => other elements should not trigger swipe.
  let isCorrectDomTriggered =
      state.event.target.classList.contains('page') ||
      state.event.target.classList.contains('pannel') ||
      state.event.target.id == 'app_body';

  if(!isCorrectDomTriggered)
    return

  // other stuff = when correct dom triggered

}
// Composable usage
// https://gesture.vueuse.org/use-drag.html#options
useDrag(handler, {
domTarget: draggy,
filterTaps: true,
axis: 'x'
});
Maybe someone will have a more elegant way to achieve this...
Have a good day :)

cardRef.current.style.top = `${element.pageY + state.offset[1]}px`;
cardRef.current.style.left = `${element.pageX + state.offset[0]}px`;

I tried the same logic but the state offset still seems to be getting updated even though the draggable element didn't get dragged. So when I actually drag the element there is a sudden jerk.


Request: example for index/total slide display for carousel using amp-bind

This example would demonstrate the capability of amp-bind to display the current slide index (i.e. "3 of 5" or "3/5" of an image carousel. A good place for this example might be the advanced image gallery page. (Could also be in the e-commerce sample, but I don't want to overcomplicate that page)
Reference example is this jsfiddle (but we'd want to style it nicely :)
Additionally it would be nice to have an example that uses this paradigm of large/small or hollow/filled dots to represent the slide index
/cc @choumx @kul3r4 @sebastianbenz

These would be great and I agree, the adcanced image gallery is best place for this.

Kevin, our new eng res, could work on this. Rough example here: https://github.com/ampproject/amphtml/blob/master/examples/bind/carousels.amp.html
/cc @kmh287


More storage engines

Do you have any specific plans when you will add more storage engines? I would like to test Dynomite with RocksDB :)

Yes, we have been looking into solutions about it and have done integration and performance tests with frameworks that support the RESP (REdis Protocol Specification or else Redis API). Our focus has been on RocksDB, LMDB and some others embedded databases. We are still investigating, but since you are interested to get up an running with RocksDB pretty fast you can do the following:

Swap on server and reboot for changes to take effect *

sudo vi /etc/sysctl.conf vm.swappiness = 0 sudo reboot

Install a Redis compatible framework * for example ARDB https://github.com/Netflix/dynomite/issues/254 or Ledis.

For ARDB, you must set the storage_engine before the build.
cd /apps && git clone https://github.com/yinqiwen/ardb.git cd /apps/ardb make

Sorry for the question, but I don't understand why you cannot include RocksDB directly into Dynomite. It should be faster than using the Redis protocol. If you can only support this you might change your project description to something like this: 'A generic dynamo implementation for different k-v storage engines which support RESP'.

@WhiteTrashLord there are multiple ways that you can tackle the multiple storage engine support.  Our current thinking is based on: (a) understand the differences of each of the storage engines based on our production workload patterns; (b) minimally intervene our production users that have relaxed latency requirements, but need more data store space. Given the high availability nature of Dynomite, we could simply perform a binary upgrade, and warm up the new node.
The other way is to integrate RocksDB inside Dynomite. If this is of interest to you, please feel free to assist on this endeavor.
Addressing your last point, Dynomite can support multiple protocols. It currently supports Redis, Memcached and I had done a PoC with the Mongo protocol. In a similar manner, you can define other wire protocols.

@WhiteTrashLord let us know if you have any further questions, or if this is considered answered.


Cycle 4 funding: Spectroscopy Busy Week

Issue to track progress of Cycle 4 funding request which was approved in #395.
Project Description
Awarded amount: US$ 4,000, expenses
Finance Committee Contact: @kelle
COTR: TBD

We have an Expensify credit card which can be used to pay for things or you can submit expenses for reimbursement. Once the plan for the funds is more solidified, we can discuss the details.

Glad to hear the proposal was successful!  We'll discuss this at the next spectroscopy dev meeting and go from there.  Thanks!

Camilla Pacifici (@camipacifici) has been identified as the COTR for this activity.


Julia's tests fail with OpenBLAS on Intel CPUs without AVX

Hello, I am getting the following test failures in Julia (either 1.8 or 1.9):
$ julia /usr/share/julia/stdlib/v1.9/LinearAlgebra/test/blas.jl
...
axp(b)y!: Test Failed at /usr/share/julia/stdlib/v1.8/LinearAlgebra/test/blas.jl:702
  Expression: BLAS.axpy!(α, a, copy(b)) ≈ α * a + b
   Evaluated: ComplexF64[1.9330187934128453 - 8.970730564994865im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im, -0.6963896877405945 + 0.8611170231579576im] ≈ ComplexF64[-0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im, -0.4334488396252506 - 0.12206773565732487im]

The same error is reproducible on NixOS or Arch, but only on machines without AVX capability.
Reproducible:

Xeon X5670
Huawei Cloud VM on Xeon Gold 6278C with AVX disabled
QEMU VM on Ryzen 9 5950X with CPU model set to Nehalem

Not reproducible:

Any raw AMD CPU as far as I have tested
Huawei Cloud VM on Xeon Gold 6348 (without AVX disabled)
Core i3-2120

I have tried to set different OPENBLAS_CORETYPE but it never changed the result. I could get SIGILL immediately when setting it to something that the CPU doesn't support, though, so it did make a difference.
The error is gone when running Julia with Netlib blas, though. So my best guess for now is a problem in OpenBLAS.

which version of OpenBLAS are you using ? (But anything without AVX is likely to use assembly kernels from the original GotoBLAS of ~15 years ago in any case). A non-Julia test case would be helpful, but the simplest solution is probably to retire the zaxpy_sse.S/zaxpy_sse2.S in the fallback x86_64/KERNEL config in favor of the generic C implementation in arm/zaxpy.c

am not very familiar with Julia

Then should not be a problem adding breakpoint to zaxpy call and extract argument N at least?

am not very familiar with Julia

Then should not be a problem adding breakpoint to zaxpy call and extract argument N at least?

Thanks for the pointer! I actually didn't know which call it was. Here it is:
Thread 1 "julia" hit Breakpoint 3.2, zaxpy_ (N=0x7fffffffa0d0, ALPHA=0x7fffffffa0c0, x=0x7fffe91b9080, INCX=0x7fffffffa0e0, y=0x7fffe8917ae0, INCY=0x7fffffffa0f0) at /usr/src/debug/openblas/OpenBLAS-0.3.23/interface/zaxpy.c:51
51      void NAME(blasint *N, FLOAT *ALPHA, FLOAT *x, blasint *INCX, FLOAT *y, blasint *INCY){

I'll first try to remove zaxpy_sse/zaxpy_sse2 then.

I have applied the following change and the problem is gone:
$ git diff
diff --git a/kernel/x86_64/KERNEL b/kernel/x86_64/KERNEL
index bea7036c2..0bede7680 100644
--- a/kernel/x86_64/KERNEL
+++ b/kernel/x86_64/KERNEL
@@ -83,7 +83,7 @@ CAXPYKERNEL = zaxpy_sse.S
 endif

 ifndef ZAXPYKERNEL
-ZAXPYKERNEL = zaxpy_sse2.S
+ZAXPYKERNEL = zaxpy.c
 endif

 ifndef QAXPYKERNEL

I have tried further to manually revert the changes introduced to zaxpy_sse2.S in 0cfd29a819a7182111b6a4d63a653d011db561de, and this indeed fixed the problem.
diff --git a/kernel/x86_64/zaxpy_sse2.S b/kernel/x86_64/zaxpy_sse2.S
index a7dd054fb..aee8a8bcd 100644
--- a/kernel/x86_64/zaxpy_sse2.S
+++ b/kernel/x86_64/zaxpy_sse2.S
@@ -1416,12 +1416,6 @@

        movq    Y, YY
        movq    M,  %rax
-//If incx==0 || incy==0, avoid unloop and jump to end.
-       cmpq    $0, INCX
-       je  .L58
-       cmpq    $0, INCY
-       je      .L58
-
        sarq    $3, %rax
        jle     .L55

@@ -1775,7 +1769,6 @@
        andq    $1, %rax
        jle     .L999

-.L58:
        MOVDDUP( 0 * SIZE, X, %xmm0)
        MOVDDUP( 1 * SIZE, X, %xmm1)

@@ -1788,9 +1781,6 @@

        movlpd  %xmm8,   0 * SIZE(YY)
        movhpd  %xmm8,   1 * SIZE(YY)
-
-       decq %rax
-       jg      .L58
        ALIGN_3

 .L999:

Cool

@felixonmars has run some tests. A very simple case is:
N = 2
alpha = 0.5 + 0i
A = [0.5 + 0i]
incx = 0
B = [0.5 + 0i, 0.5 + 0i]
incy = 1

With sse kernel we get [0.5 + 0i, 0.5 + 0i], with sse2 we get [1.0 + 0i, 0.5 + 0i].
This should be easy enough for you to debug.

Seems julia test puts repeated same values in inputs, so outcome has to be as level as that.

Sorry, I do not understand what you just wrote ?

If you look at julia test
openblas result gets compared to julia interpreted calculation
input arrays have 10x same value s eacho that even without julia result comparison it is clear that asm kernel messed it up.

I don't think there's any doubt that the changes made for #7 were only correct for the case where both incx and incy are zero, the only question is whether it is safe to revert them completely, or if the assembly must be reworked so that a loop over incy is retained (which does not seem to be trivial)


DEPRECATION WARNING: The check_pending! method is deprecated in favor of check_all_pending!

I got this warning using:
Ruby 3.3.0 (container image ruby:3.3.0-slim)
Rails 7.1.3
health_check 3.1.0
WARNING LOG:
 WARN -- : DEPRECATION WARNING: The `check_pending!` method is deprecated in favor of `check_all_pending!`. The new implementation will loop through all available database configurations and find pending migrations. The prior implementation did not permit this. (called from block in process_checks at /app/vendor/bundle/ruby/3.3.0/gems/health_check-3.1.0/lib/health_check/utils.rb:37)

App Path call: http://localhost/health_check/full.json
config/initializers/health_check.rb file line:
config.full_checks = ["site", "database", "migrations", "redis", "sidekiq-redis", "rabbitmq"]

Seems to be solved in https://github.com/Purple-Devs/health_check/pull/140. However, it is still a pending pull request.


how do make non-focused splits not grey themselves out?

$ vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 18:56:17)
macOS version - arm64
Included patches: 1-472

vim-airline was just installed, not sure the version, but probably latest or close to it.

Have you reproduced with a minimal vimrc: yes
What is your airline configuration: Config is default - nothing is changed.

if you are using terminal:

terminal: Iterm2
$TERM variable:

$ echo $TERM
screen-256color

Have you checked the documentation?Am 23.04.2023 um 07:27 schrieb Josh Sharpe @.***>:
$ vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 18:56:17)
macOS version - arm64
Included patches: 1-472
vim-airline was just installed, not sure the version, but probably latest or close to it.
Have you reproduced with a minimal vimrc: yes
What is your airline configuration: Config is default - nothing is changed.
if you are using terminal:
terminal: Iterm2
$TERM variable:
$ echo $TERM
screen-256color
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

In particular, please check the following options.
https://github.com/vim-airline/vim-airline/blob/5891a3f7bedb5d0b23a546189a607836913814bb/doc/airline.txt#L155-L160
I am closing this.


Error loading markdownlint extension

I experienced this with the davidanson.vscode-markdownlint extension but it could easily apply to others as well.
[2020-05-01 23:56:15.915] [exthost] [info] ExtensionService#_doActivateExtension DavidAnson.vscode-markdownlint {"startup":false,"extensionId":{"value":"DavidAnson.vscode-markdownlint","_lower":"davidanson.vscode-markdownlint"},"activationEvent":"onLanguage:markdown"}
[2020-05-01 23:56:15.915] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/coder/.local/share/code-server/extensions/davidanson.vscode-markdownlint-0.35.1/bundle
[2020-05-01 23:56:15.916] [exthost] [error] Activating extension DavidAnson.vscode-markdownlint failed due to an error:
[2020-05-01 23:56:15.918] [exthost] [error] Error: Cannot find module '/home/coder/.local/share/code-server/extensions/davidanson.vscode-markdownlint-0.35.1/bundle'
Require stack:
- /usr/local/lib/code-server/lib/vscode/out/vs/loader.js
- /usr/local/lib/code-server/lib/vscode/out/bootstrap-amd.js
- /usr/local/lib/code-server/lib/vscode/out/bootstrap-fork.js
	at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
	at Function.Module._load (internal/modules/cjs/loader.js:840:27)
	at Function.t._load (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:920:599)
	at Function.i._load (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:889:759)
	at Function.n._load (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:886:63)
	at Module.require (internal/modules/cjs/loader.js:1019:19)
	at require (internal/modules/cjs/helpers.js:77:18)
	at Function.s [as __$__nodeRequire] (/usr/local/lib/code-server/lib/vscode/out/vs/loader.js:32:963)
	at p._loadCommonJSModule (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:890:966)
	at p._doActivateExtension (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:788:856)
	at p._activateExtension (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:787:937)
	at Object.actualActivateExtension (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:785:883)
	at e._activateExtension (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:566:859)
	at /usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:566:537
	at Array.map (<anonymous>)
	at e._activateExtensions (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:566:525)
	at e.activateByEvent (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:564:14)
	at p._activateByEvent (/usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:786:618)
	at /usr/local/lib/code-server/lib/vscode/out/vs/workbench/services/extensions/node/extensionHostProcess.js:795:159
	at processTicksAndRejections (internal/process/task_queues.js:97:5)

This seems to be caused by the absence of a .js file extension. I downloaded the vsix file and in the package.json there is the following key:
    "main": "./bundle",

If I add a .js to this, the extension loads fine.
This does not happen in vscode.

Thank you for bringing this to our attention. The issue is now resolved. If you reinstall the extension everything should work properly.
Let me know if you still have issues and I'll reopen this.

@cmoog @nhooyr Is there an alternative solution that I can pursue for this? If the problem really is simply the absence of a .js file extension on the main property in package.json, perhaps they would be willing to accept a PR with this modification.

@cmoog @nhooyr Is there an alternative solution that I can pursue for this? If the problem really is simply the absence of a .js file extension on the main property in package.json, perhaps they would be willing to accept a PR with this modification.

I think the problem is that our marketplace is trying to build the
extension but fails. It tries various commands like yarn build but it
looks like this extension uses yarn compile and I'm not sure our
marketplace tries that one.
Workarounds would be to build the vsix manually since they don't include
releases on their GitHub or download it from Open VSX:
https://open-vsx.org/extension/DavidAnson/vscode-markdownlint
Since we're deprecating our marketplace in favor of Open VSX it's
possible we won't fix this in our marketplace.

I think the problem is that our marketplace is trying to build the
extension but fails. It tries various commands like yarn build but it
looks like this extension uses yarn compile and I'm not sure our
marketplace tries that one.
Workarounds would be to build the vsix manually since they don't include
releases on their GitHub or download it from Open VSX:
https://open-vsx.org/extension/DavidAnson/vscode-markdownlint
Since we're deprecating our marketplace in favor of Open VSX it's
possible we won't fix this in our marketplace.


EXC_BAD_ACCESS in DDOSLogger on specific text

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation or CocoaDocs
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
ios

Platform Version
10.3

CocoaLumberjack Version
3.2.0

Integration Method
cocoapods

Xcode Version
Xcode 8.3.3

Repro rate
all the time (100%)

Demo project link
Text below

Issue Description and Steps

Use DDOSLogger in setup
Try DDLogError(@"%@", @"100% size");

It seems actual string that is causing crash is "% s". And it crashes in os_log_error method, so not really a CocoaLumberjack issue, even though good old DDASLLogger and DDTTYLogger are working fine here.
In short you can cause a crash with this: os_log_error(OS_LOG_DEFAULT, [@"% s" UTF8String]);

@Emailrus
Thanks for reporting.
Now at least, the following macro works fine with CocoaLumberjack 3.4.2  and Xcode 9.4.1 at least.
DDLogError(@"%@", @"100% size");

In case of using os_log_error directly, see the following example.
os_log_error(OS_LOG_DEFAULT, "%s", "100% size");

Thanks.

Yep it seems issue was resolved


[Observation] Switch to peer instead of arbitrary macros

This adopts @attached(peer) for generating an observable type's underscored storage when expanding the @ObservationTracked macro, instead of using arbitrary with the member macro on the observable type.
rdar://110327683

Tests are currently crashing with this error, even if only instantiating an @Observable-annotated type:
stderr>>> Assertion failed: (dependentIvars->Count == numFields), function initObjCClass, file Metadata.cpp, line 3396.

@swift-ci Please test

@swift-ci please test

@swift-ci Please test and merge

@swift-ci Please test and merge