input[number] automatic recognition of localized decimal character not consistent across browsers

You can try it from the official API docs: https://docs.angularjs.org/api/ng/input/input[number]
I don't know if this is a bug or a lack of parameters adjustments, but I post it anyway.
When you're in a non-english localized browser (in which the decimal mark is the comma, like in French, German, Finnish, etc), if you enter a valid number (say 12,5 or 12.5), the Angular input[number] directive recognize it like a valid number.
But as soon as you use an english-only browser, there is no way Angular can treat the same input as valid. If you enter 12,5 in the same input field, it considers it as invalid.
I think this is not consistent, and there should be a way to tell the directive what characters are considered as the decimal separator. Or maybe there is a way to set this but it is not documented.

@zzal Yes, the keyboard layout change in case of [type=number] is quite important to provide good UX for the user.
This issue is quite important to be fixed, as now with [type=number] we can't enable users to enter either comma or period as decimal separator, as in case of comma the model value is undefined. Angularjs should enable developers to setup how comma separators work or just provide a way to customize all the details.
What I would like to achieve is to enable users to enter comma and period in the input, and handle them based on the currently selected user locale, so for example:

Current user locale decimal separator: period, then:
Thousand separator is comma, remove all of them from input, use period as decimal separator (should be done by js by default).

Current user locale decimal separator: comma, then:
Thousand separator is period: remove all of them from input: convert comma to period to be used as decimal separator.

Basically the same thing as mentioned before.

@zzal The directive does not catch the 1000-separator. A german 1.000,12 Should be parsed to 1000.12 but instead is parsed to 1.00012

+1

@konsultaner That happens for browser that don't support input[number], right?

@Narretz I usually work with chrome, so no this happens in general I guess.

After following the suggestion from @lgalfaso , I have successfully made the input[number] in IE11 can accept either Comma or Period as Decimal-Separator.
Roughly the directive will look like:
restrict:'A',
require:'?ngModel', // get a hold of NgModelController
link:function ($scope, $element, $attrs, $ngModel) {
    if ($ngModel) {
        $ngModel.$parsers.unshift(function (str) {
            if (str && (typeof str === 'string' || str instanceof String)) {
                // sanitize : replace Comma with Period/Dot
                return str.replace(',', '.');
            } else {
                // not a string, can't process it, give up, will be handled by next parser within pipeline
                return str;
            }
        });
    }
}

I think it's better to just force the user to use Period though, e.g. by rejecting Comma within keypress or keydown.
Browser's behavior for Comma is varies, even worse the behavior of the same browser can be different if the language settings are different.

@Thariq-Nugrohotomo I did some testing of your solution, it works in IE11 as you say, just want to give a heads up that this does not work as intended in Chrome, Win and Edge, Win.

Chrome rejects the comma input and therefore it does not reach the angular parser.

Edge accepts the input but does not send a value to AngularJS if the decimal number contains a comma.

The only solution that I can think of with these facts to work in all desktop browsers is to use input[type=text] instead and build manual parsing and validation of the number.
If mobile is needed I think the best full blown solution would be to fall back to using a input[type=number] if it is a mobile device to get a proper number keyboard when the user enters a number.

@robinwassen I haven't do any testing for Edge,
but as for Chrome, I just tell the client to switch their Chrome language settings to the one that supports comma as decimal-separator (e.g. french, german). They also need to make Chrome being shown in that selected language. This way, Chrome will accept the comma, even without adding custom parser.
Custom parser that I mentioned above is just for IE (tested in IE11).

This is a general problem with browsers that support input[number] since the value that AngularJS receives has already been converted by the browser to a number using the browser's locale settings.

I'm confused, can someone help me understand what should I do when:

My users use a mix of browsers/language settings
They just want the decimal separator to ALWAYS be "," (comma)

Why including the proper angular-locale_* is not enough?

@MatteoSp - Use <input type="text />, build custom validation logic for numbers with comma decimal separator.
Due to how browsers work it is impossible to achieve with input type="number".

Old post, but maybe a solution.
The locale of my web app is fr_FR. I use the attribute lang="en_EN" on input type=number. Firefox display the float with a dot and Chrome display the float with a comma but I can use indifferently the comma and the dot, no pb of validation

@MatteoSp - Use <input type="text />, build custom validation logic for numbers with comma decimal separator.
Due to how browsers work it is impossible to achieve with input type="number".

This isn't a solution since all the key events would be messed-up, needing a considerable overhead to be handled.


fix(example): update example and fix bugs in Aqua code

closes NET-190
rename neighbour -> neighbor
fix issue in aqua code

committing fluence.yaml poses a problem to people following along:
fluence service add echoService
 ›   Warning: You already have echoService in fluence.yaml
? Enter another name for the service (must start with a lowercase letter and contain only letters, numbers, and underscores)

the choices are to not commit any of the fluence cli files and folders or to tell users wanting to follow along to delete them.
in the readme, this If you have Apple Silicon you should install cargo  should be If you have Apple Silicon you should install marine
also, you should tell users to npm i before  fluence run -f 'echo("hi")' (not after).
registerResource() doesn't seem to work:
 fluence run -f 'registerResource()'
Running:
  function: registerResource()
  relay: /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr
... done

Result:

[
  "Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur"
]

mbp16~/localdev/registry/example(fix_example|…) % fluence run -f 'registerService("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur")
quote> '
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
  function: registerService("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur")

  relay: /dns4/kras-05.fluence.dev/tcp/19001/wss/p2p/12D3KooWCMr9mU894i8JXAFqpgoFtx6qnV1LFPSfVc3Y34N4h4LS
... done

Result:

[
  [
    false,
    false
  ]
]

step 7: i get different output:
fluence run -f 'echoJS("12D3KooWCmnhnGvKTqEXpVLzdrYu3TkQ3HcLyArGJpLPooJQ69dN", "12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi", "echo", "msg")'
Running:
  function: echoJS("12D3KooWCmnhnGvKTqEXpVLzdrYu3TkQ3HcLyArGJpLPooJQ69dN", "12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi", "echo", "msg")
  relay: /dns4/kras-09.fluence.dev/tcp/19001/wss/p2p/12D3KooWD7CvsYcpF9HE9CCV9aY3SJ317tkXVykjtZnht2EbzDPm
... done

Result:

"12D3KooWCmnhnGvKTqEXpVLzdrYu3TkQ3HcLyArGJpLPooJQ69dN: msg"

also different output:
mbp16~/localdev/registry/example(fix_example|…) % fluence run -f 'echoAll("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur", "hi")'
Running:
  function: echoAll("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur", "hi")
  relay: /dns4/kras-08.fluence.dev/tcp/19001/wss/p2p/12D3KooWFtf3rfCDAfWwt6oLZYZbDfn9Vn7bv7g6QjjQxUUEFVBt
... done

Result:

[
  [
    "12D3KooWCmnhnGvKTqEXpVLzdrYu3TkQ3HcLyArGJpLPooJQ69dN: hi"
  ]
]

and same for unregisterEchoService:
fluence run -f 'echoAll("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur", "hi")'
Running:
  function: echoAll("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur", "hi")
  relay: /dns4/kras-08.fluence.dev/tcp/19001/wss/p2p/12D3KooWFtf3rfCDAfWwt6oLZYZbDfn9Vn7bv7g6QjjQxUUEFVBt
... done

Result:

[
  [
    "12D3KooWCmnhnGvKTqEXpVLzdrYu3TkQ3HcLyArGJpLPooJQ69dN: hi"
  ]
]

mbp16~/localdev/registry/example(fix_example|…) % fluence run -f 'unregisterEchoService("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur")
'
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
Running:
  function: unregisterEchoService("Hr2sAZww931uG5H6AH9nqRiXQRpmFgxAzoWLxeZA5tur")

  relay: /dns4/kras-05.fluence.dev/tcp/19001/wss/p2p/12D3KooWCMr9mU894i8JXAFqpgoFtx6qnV1LFPSfVc3Y34N4h4LS
... done

Result:

[
  [
    false,
    false
  ]
]

and of course re-running the service works.

committing fluence.yaml poses a problem to people following along:
@boneyard93501
fluence.yaml is not in the repo

also, you should tell users to npm i before fluence run -f 'echo("hi")' (not after).

@boneyard93501 why?

@boneyard93501 I checked the full example from scratch one more time, and everything works for me. Also, it seems that you already had fluence.yml in your local repo and you tried to deploy two services

looks good.


Unable to start synchronization

Is there already an issue for your problem?

[X] I have checked older issues, open and closed

Bug Description
--- ERROR ---
An error occurred while running the script.
Please submit the error to GitHub with the following information:
Traceback (most recent call last):
File "c:\Users\username\Desktop\Python Projects\TMDB-Trakt-Syncer-main\TMDBTraktSyncer\TMDBTraktSyncer.py", line 25, in main
trakt_ratings = traktRatings.getTraktRatings(trakt_client_id, trakt_access_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\username\Desktop\Python Projects\TMDB-Trakt-Syncer-main\TMDBTraktSyncer\traktRatings.py", line 19, in getTraktRatings
json_data = json.loads(response.text)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Environment
Windows 11
Screenshots
No response

Hi, thanks for the detailed information! This is likely to be an issue with rate limiting, other status unavailable errors with Trakt api or incorrect api credentials. This is not the first request in the code so in your case it is most likely due to rate limiting or other status unavailable errors.
I have implemented a new patch that should fix this problem. You can see the details of this patch here.
To update simple run the following in command line:
python -m pip install TMDBTraktSyncer --upgrade

Alternatively, you can download the latest release from the releases page.
Let me know if this fixes your issues. If not, you can post any other relevant errors here and I will try my best to help troubleshoot. Thanks!

Hey,
i tried again and now i get the following error:
--- ERROR ---
An error occurred while running the script.
Please submit the error to GitHub with the following information:
Traceback (most recent call last):
File "c:\Users\username\Desktop\Python Projects\TMDB-Trakt-Syncer-main\TMDBTraktSyncer\TMDBTraktSyncer.py", line 26, in main
trakt_ratings = traktRatings.getTraktRatings(trakt_client_id, trakt_access_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\username\Desktop\Python Projects\TMDB-Trakt-Syncer-main\TMDBTraktSyncer\traktRatings.py", line 16, in getTraktRatings
json_data = json.loads(response.text)
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'

Hi there sorry for the confusion, v1.0.8 and v1.0.9 had some bugs. I posted a new patch that should have fixed them. Can you verify that you're running on the latest version v1.1.1? You can upgrade using the following:
python -m pip install TMDBTraktSyncer --upgrade

The latest version v1.1.1 should print more detailed information about the api request that is failing which can help me troubleshoot. If you are still having issues with this error, I'm specifically looking for a message containing one of the following:
200: "Success",
201: "Success - new resource created (POST)",
204: "Success - no content to return (DELETE)",
400: "Bad Request - request couldn't be parsed",
401: "Unauthorized - OAuth must be provided",
403: "Forbidden - invalid API key or unapproved app",
404: "Not Found - method exists, but no record found",
405: "Method Not Found - method doesn't exist",
409: "Conflict - resource already created",
412: "Precondition Failed - use application/json content type",
420: "Account Limit Exceeded - list count, item count, etc",
422: "Unprocessable Entity - validation errors",
423: "Locked User Account - have the user contact support",
426: "VIP Only - user must upgrade to VIP",
429: "Rate Limit Exceeded",
500: "Server Error - please open a support ticket",
502: "Service Unavailable - server overloaded (try again in 30s)",
503: "Service Unavailable - server overloaded (try again in 30s)",
504: "Service Unavailable - server overloaded (try again in 30s)",
520: "Service Unavailable - Cloudflare error",
521: "Service Unavailable - Cloudflare error",
522: "Service Unavailable - Cloudflare error"

This time i got :
"Request failed with status code 404: Not Found - method exists, but no record found"

"Request failed with status code 404: Not Found - method exists, but no record found"

Thanks that helped narrow down the issue. I think I was able to determine the cause of this error. It's because for some Trakt users their username is different from the url slug for their username (e.g. Username-564161626). This was causing the wrong api request to be made hence the 404 error. This should be fixed now in the latest patch v1.1.6.
Let me know if this fix works for you.
To update to v1.1.6 run the following in command line:
python -m pip install TMDBTraktSyncer --upgrade

I confirm that after the latest patch now it worked perfectly.

Glad it worked thanks for the update!


Fixed -Wreserved-identifier warning in D3DX12.H with clang v13

Officially _ followed by a capital letter is reserved by the C++ Standard for implementors of the compiler and library. Clang v13 adds a new warning to detect this case.
d3dx12.h(2466,41): warning: identifier '_Type' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
    D3D12_PIPELINE_STATE_SUBOBJECT_TYPE _Type;
                                        ^
d3dx12.h(2467,21): warning: identifier '_Inner' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
    InnerStructType _Inner;

https://en.cppreference.com/w/cpp/language/identifiers

the identifiers with a double underscore anywhere are reserved;
the identifiers that begin with an underscore followed by an uppercase letter are reserved;
the identifiers that begin with an underscore are reserved in the global namespace.


[Doc Improvement][Fix link to installing Teams Toolkit]

Fixed a broken link to the section of installing Teams Toolkit in VSCode.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/sbs-gs-javascript.yml
91
40
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit a6a64c4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/sbs-gs-javascript.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


TypeError: (0 , import_upath.normalize) is not a function when using jest storybook addon

Describe the bug
None of the component can be rendered due to the error which seems to be related to the addon adding jest testing framework to Storybook (@storybook/addon-jest).

Also an irrelevant issue, which causes quite a delay in getting all the stories displayed. In the console, it logs out [vite] connected, however, it subsequently takes roughly 26 seconds before the canvas can be completely rendered onto the screen.

Dependencies
"@storybook/addon-actions": "^6.4.13",
"@storybook/addon-docs": "^6.4.13",
"@storybook/addon-essentials": "^6.4.13",
"@storybook/addon-jest": "^6.4.13",
"@storybook/addon-links": "^6.4.13",
"@storybook/addon-svelte-csf": "^1.1.0",
"@storybook/addons": "^6.4.13",
"@storybook/svelte": "^6.4.13",
"@storybook/theming": "^6.3.6",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.36",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/svelte": "^3.0.3",
"@testing-library/user-event": "^13.1.9",
"fetch-mock": "^9.11.0",
"jest": "^26.6.3",
"storybook-addon-themes": "^6.1.0",
"storybook-builder-vite": "^0.1.16",

And a simple configuration in main.cjs
module.exports = {
  core: {
    builder: "storybook-builder-vite"
  },
  stories: [
    "../src/**/*.stories.mdx",
    "../src/**/*.stories.@(js|jsx|ts|tsx|svelte)"
  ],
  addons: [
    "@storybook/addon-links",
    "@storybook/addon-essentials",
    "@storybook/addon-svelte-csf",
    "storybook-addon-themes",
    "@storybook/addon-jest"
  ],
  framework: "@storybook/svelte",
  svelteOptions: {
    preprocess: require("svelte-preprocess")()
  },
}

Any help would be very appreciated.
Thanks.

I'm not super-surprised that a jest addon is not well-behaved.  Jest always seems to assume that it's running in node, and since vite does not polyfill node builtins, jest kind of falls on its face, unfortunately.

Also an irrelevant issue, which causes quite a delay in getting all the stories displayed. In the console, it logs out [vite] connected, however, it subsequently takes roughly 26 seconds before the canvas can be completely rendered onto the screen.

This is a bit of a downside of vite.  It sends all of the modules separately in development, so that it doesn't have to spend time bundling and a single module can be HMRed during dev.  The production build should be much faster to start up.
If you're willing to experiment a bit, you can enable storyStoreV7, which causes only the modules needed for each story to be downloaded, and dynamically imports others as you change stories.  It can have a big impact on initial load time.

@vudoan1708-cyber I was able to fix this by polyfilling `'path`` following this article: https://medium.com/@ftaioli/using-node-js-builtin-modules-with-vite-6194737c2cd2
My Vite config (which I merge into Storybook config):
/*
	Node Polyfills Config
	---------------------
	`path` needs to be polyfilled for Jest which is required to allow
	@storybook/addon-jest to work with Vite.
	Polyfill source: https://medium.com/@ftaioli/using-node-js-builtin-modules-with-vite-6194737c2cd2
*/
const polyfillsConfig: UserConfig = {
	resolve: {
		alias: {
			path: 'rollup-plugin-node-polyfills/polyfills/path',
		},
	},
	optimizeDeps: {
		esbuildOptions: {
			plugins: [
				// @ts-expect-error Seems the typings are incorrect?
				NodeModulesPolyfillPlugin(),
			],
		},
	},
	build: {
		rollupOptions: {
			plugins: [
				// Enable rollup polyfills plugin
				// used during production bundling
				// @ts-expect-error Seems the typings are incorrect?
				rollupNodePolyFill(),
			],
		},
	},
};

Thank so much for your suggestions!
That didn't work for me when polyfilling Jest in the vite.config.js file, however, it does, when the polyfill is in the main.cjs file.
Here is how I did it
async viteFinal(config, { configType }) {     if (configType === 'DEVELOPMENT') {       /*         Node Polyfills Config         ---------------------         path` needs to be polyfilled for Jest which is required to allow
@storybook/addon-jest to work with Vite.
Polyfill source: https://medium.com/@ftaioli/using-node-js-builtin-modules-with-vite-6194737c2cd2
*/
config.resolve = {
...config.resolve,
alias: {
...config.resolve.alias,
path: 'rollup-plugin-node-polyfills/polyfills/path',
}
};
  config.optimizeDeps = {
    ...config.optimizeDeps,
    // customize the Vite config here
    include: [
      '@storybook/svelte',
      '@storybook/addon-svelte-csf',
      '@storybook/addon-jest',
      'fetch-mock',
      'chart.js',
      ...config.optimizeDeps.include,
    ],
    esbuildOptions: {
      plugins: [
        NodeModulesPolyfillPlugin(),
      ],
    }
  };

  config.build = {
    ...config.build,
    rollupOptions: {
      plugins: [
        // Enable rollup polyfills plugin
        // used during production bundling
        rollupNodePolyFill(),
      ],
    },
  }
}

// return the customized config
return config;

},
};`
I'm pretty happy with this, however, another issue came up: Every other generic component that doesn't have a decorator function injected to a Story works perfectly fine, other components that require decorator functions to mock API response, return various types of error.
So I assume this next issue could be due to the decorator functions not working properly. Not sure if we already have a fix for this, but any help will be very much appreciated.
Thanks.

@vudoan1708-cyber if you're able to create a reproduction of the issue you're having, it will be a lot easier to help troubleshoot.

@IanVS I just created another bug issue here, in regards to the issue raised here, I think it has been resolved, and can be closed now.
Thanks a lot for you guy's helps.


Remove errors when building cld2 with gcc -std=c++11

Apparently, narrowing conversions are disallowed in C++11. This line
turns the errors that pop up when compiling cld2 with a C++11-adhering
GCC into warnings.
I dedicate any and all copyright interest in my contributions to this
project to the public domain. I make this dedication for the benefit of
the public at large and to the detriment of my heirs and successors. I
intend this dedication to be an overt act of relinquishment in
perpetuity of all present and future rights to this software under
copyright law.

Looks like a good start! You've found a flag which fixes Arch, which gets us one step closer.
Unfortunately, we're running into build errors on the automated builders, including on Linux:
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-fPIC" "-I" "cld2/public" "-I" "cld2/internal" "-Wno-error=narrowing" "-o" "/home/travis/build/emk/rust-cld2/target/debug/build/cld2-sys-3e105b055d3e7a97/out/lang_script.o" "-c" "/home/travis/build/emk/rust-cld2/cld2-sys/cld2/internal/lang_script.cc"
cargo:warning=cc1plus: error: -Werror=narrowing: no option -Wnarrowing

…and Windows:
cargo:warning=cl : Command line error D8021 : invalid numeric argument '/Wno-error=narrowing'

So we may need to either figure out a way to only enable this flag when needed, or see if there's any way to test for it.

Okay, so if I read this right, it should suffice to add the flag when

the compiler is GCC
the compiler version in >=5.0.

Since the other builds seemed to work fine in the previous commit, no further changes seem to be necessary IIUC. Should I add an additional build with GCC >=5 to the CI scripts? (That might get a bit ugly, though.)

You might try to use the other flag that I found, but only the compiler is
gcc. That flag should work with much older versions of gcc, with any luck.
That way you only need to detect the compiler, not the version. Well, if
we're lucky.

If I read the gcc crate documentation correctly, the only way to find information about the compiler would be to check the result of config.get_compiler().path(), and parse the result. Though that's brittle and not guaranteed to work because the path could also just be something like cc, so yeah, I guess it'd be best to set CXXFLAGS to -std=c++03. That should not exhibit the problematic behavior in #2 because narrowing conversions only got a diagnostic in C++11, from what I've read. It should also be compatible with clang, but it won't be picked up by msvc I think.
Permission to try that in a commit? I have no idea how to check if it works otherwise. :(

You may be able to identify the compiler using the path method of the gcc::Tool interface, and use that to determine whether or not to call flag as follows:
if /* ... get Tool and check path)... */ {
    config.flag("-std=c++03")
}

And yes, you're more than welcome to to experiment as needed on your PR branch and look at the auto-builder output. That's what it's there for. 🙂

Heads-up: The travis build succeeds now: https://travis-ci.org/Bobo1239/rust-cld2/builds/195176358

I'm seeing a failure on Travis and a success on AppVeyor right now, I think?

I think that was caused by rustc (linking failure). The build ran 2 months ago. To test it I just forked the repo, applied this PR and let Travis run on my repo (which succeeded).
Restarting the build on Travis should let the check pass.

Attempting a restart of the failed build. Let's see if that works!

Uhh… How did this suddenly pass? I'm a bit confused… Was it just rust-nightly being bugged before?

@emk Can you merge this now or is there still something to be done?

Merged! I still need to make a new release. If I don't do that this weekend, please feel free to ping me again.

@emk Friendly reminder 😄

@emk ping


[ Documents ] Add Documentation

. getting-started.md
. how-to-run-exampels.md
. how-to-use-testcases.md
Signed-off-by: jijoongmoon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #452. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008191621390.39370608329773-214894549a5c087ceb0fc6fc7c2b50291e94beae/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192002510.63636088371277-b2a1156e9fbcd7d02b8e763ad7b6668ac8e6a61d/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192004410.29896903038025-cfb20e671a594cd694b504ba2b67298384d0ca61/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192005580.96814298629761-f684961a8ef6b702a38adafb17d072c970890883/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192007030.50597405433655-d1ad29edacd18c8a55de2d8297abdd6e57dd6727/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192007540.31560206413269-506931263f05486623de72225ffb240282101582/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192008550.72582197189331-523bf9a624fa41834f3d105606493edce6601124/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192144090.56688594818115-8d6e587f1df66e62229af52e1aa7d86fde5e308f/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192146270.50899004936218-54461554c257c80db99e99c7abeeef8b5e0a1070/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192148290.12171292304993-4e11eff4f325f8f590b14cd42238e0c8dd041efc/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192153490.64716506004333-f49d225d95783820a4338bd61fe3c7626611cdff/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192155520.17746901512146-c316f2d7129b086b8dbe91ca7e5f4712bc1b1404/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192156410.25075101852417-f240459019e63167635d9a59649f9bbfad3ca04c/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192157100.55534601211548-ef776e4c58af733bca6f5843a0c283c0c36a104e/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192159280.17834210395813-43af1c1190ffc210c2b4e3f5801c8600bf050f1a/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192200260.32021188735962-f4d4671207e50ed10a2b506509d5287190c91dae/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192201230.94408893585205-fc7234662261b183ff957493d42db006b5fcf5f7/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192214550.93092489242554-980ed2a912e167d16f4705167d81959f850a4814/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192220460.89598488807678-a0495e8304dbbc1f6367eaccc7323f8646f36af9/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192222000.17879605293274-01be24bbc4ed9a5c725549e450da2959b5a463a4/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008192248220.58310794830322-934a2009dff5b5dfcd1991d7ffa945adc6ef24f4/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008201425280.87601399421692-7a6fe270f86004cfbd02de78149bbb166a35646c/report/misspelling_result.txt.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008201426530.88896799087524-69cc05ba1657b68882df03a67604fa394ebf422a/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008202256560.037544965744019-f0caed1a0a81295cd0237c7940c29179d1de2a52/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008202305400.22746610641479-d9b2ed28f9916b51f5907fe81dd1451bb3db2ac8/report/misspelling_result.txt.

@kparichay , Thanks for the comments and I think it is good to go.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/452-202008210944330.5913450717926-5a9736de6f2f84ac88e912c78b5082d13a61ccd1/report/misspelling_result.txt.


Keep file information when emitting firrtl

Hi,
This PR preserves yosys' \src attribute when emitting firrtl. The ilang backend does something similar, but this functionality was missing in the firrtl backend. It's a shame to lose this information downstream in other tools as it would help link back netlist transformations back to their origin signals.
Best,
Sahand

Superficially LGTM after these trivial changes, but I have not tested it :).

I tested this with some small circuits and a much larger pipelined floating-point core design. The source attributes were correctly generated and firrtl could automatically ingest them downstream :)

Passes all my tests.


Firebase Android Codelab step 12

There is no information that user will not be taken to app install page unless app is published (which is not part of codelab).

This issue was moved to firebase/friendlychat-android#11


add script to create ios build

merged android... pull this against master

@robertavram android branch merged

can you make this PR against Master... it currently is against build_android....


Added missing completion targets.

Missing targets will now appear as follows
$ molecule
check        converge     create       dependency   destroy      idempotence  init         list         login        status       syntax       test         verify ```

A small copy/paste mistake, but good job otherwise 👍

Fixed, good spot.


Actions Table

We extract your data into SQL tables, we have recently noticed that you have added ‘action_label’ and ‘deleted’ into your Actions table.
This of course would be extremely helpful to us, however there doesn’t appear to be any data returning for these new columns when we download the data.
Are they just place holders for now or should we be seeing data?

Hi @MattH2023 thanks for reaching out, both action_label and deleted should return valid data when exporting.
Can you share what command you are running to export data safetyculture-exporter csv or safetyculture-exporter sql.
Could you also confirm what version of the exporter you are running, you can get this by running ./safetyculture-exporter --version on linux or .\safetyculture-exporter.exe --version on Windows.

Hiya
We run ./iauditor-exporter sql
Version: iauditor-exporter version 3.9.3
Since its now called ‘SafetyCulture Exporter’ I’m assuming we are using the old version?
would this cause the issue

That's correct, you'll have to upgrade to the latest version in order to get access to these fields.
Although v4 was a major upgrade the only breaking change is the rename from iauditor-exporter to safetyculture-exporter. You'll also need to rename the config file iauditor-exporter.yaml to safetyculture-exporter.yaml.

Thank you, i will take this back to our Admin team.

Cheers @MattH2023 I'll close this out for now.


Can't get the lint working

My settings:
package.json
...
"devDependencies": {
    "babel-eslint": "^4.1.1",
    "chai": "^3.2.0",
    "eslint": "^1.3.1",
    "eslint-config-airbnb-es5": "^1.0.6",
    "eslint-plugin-react": "^3.3.1",
    "mocha": "^2.3.0"
  }
...

.eslintrc (I get the same result with or without the // ... comment)
// See https://github.com/1hella/eslint-config-airbnb-es5
{
  "extends": "eslint-config-airbnb-es5"
}

On eslint <directory> I get an error:
Users/honzajavorek/Workspace/metamorphoses/node_modules/eslint/lib/config.js:171
                    throw e;
                          ^
SyntaxError: Unexpected token '
Referenced from: /Users/honzajavorek/Workspace/metamorphoses/.eslintrc
    at Object.parse (native)
    at Object.<anonymous> (/Users/honzajavorek/Workspace/metamorphoses/node_modules/eslint-config-airbnb-es5/index.js:8:19)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at readConfigFromFile (/Users/honzajavorek/Workspace/metamorphoses/node_modules/eslint/lib/config.js:113:44)
    at loadConfig (/Users/honzajavorek/Workspace/metamorphoses/node_modules/eslint/lib/config.js:134:22)

After some investigation I found out the .eslintrc file included in this repository is not a valid JSON file. Even after removing comments, the rules at the bottom (mostly those prefixed react/...) are with single quotes ' instead of double quotes ", which causes the parser to throw a syntax error.
I'm willing to work on a fix and send a PR, but I noticed https://github.com/1hella/eslint-config-airbnb-es5/pull/1 is pending and such change would solve the problem, too.

@honzajavorek Sorry about that. It should be working in version 1.0.8 now. The comments are removed in the index.js file, but the single quotes and something in one of the react rules were causing errors.

Thanks! I cannot verify as I realized most of the code I was about to lint was CoffeeScript anyway and I was forced to use coffeelint instead. However, in case I'm going to use ES5 anywhere in the future, I'll surely go with this package.
I believe it's fixed now, so I'm closing the issue.


Add Guidewire company

I'd like to add my company (Guidewire) to the list.

Closing this one since #436 is merged. Thanks!


Error occuring when after installing bloxtrap

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
after I click install on bloxtrap menu after it installed it always says an exception occurred while running bloxtrap

how to fix

"Have you tried opening the Bloxstrap installer with 'Run as Administrator'? Your error message indicates:
[ "...Bloxstap is denied" which suggests that you don't have permission to execute the script it uses to download Roblox. ]

Perhaps your User Account Control (UAC) settings are configured to 'Never Notify me when:'.
To find this setting, open the Windows search and type "UAC".
You should see an option like "Change User Account Control settings".
If your UAC is set to "Never Notify"' consider changing it to either:
"Notify me only when apps try to make changes to my computer (do not dim my desktop)"
or
"Notify me only when apps try to make changes to my computer (default)"

https://github.com/pizzaboxer/bloxstrap/wiki/"Access-to-the-path-is-denied"-error-when-trying-to-reinstall-Bloxstrap


WebSocket Service is not notified when a connection is closed abruptly + Wrong reason when no close reason specified

disconnected(connection: _, reason: _) is not called when WebSocket is closed abruptly.
I created a WebSocket Client with Starscream.
I killed the client process. The socket got disconnected abruptly but my Kitura WebSocket service was never notified of this disconnect.
Also, wrong error code is being sent in WebSocketConnection.swift at line 257. There is no data received for close opcode meaning no close reason was specified. Ideally it should be noReasonCodeSent.

Closing this issue as the changes are merged to master branch.


Vitessce container update

When running on our local infra that has a wildly out-of-date docker engine (version 1.13.1) that the powers that be have no intention of updating, environment sensing fails to distinguish between the host and container memory, and all java operations crash with memory errors -- presumably trying to allocate more than their allotment.
After much trial and error, it seems like simply downgrading from ubuntu 'jammy' (22.04) to 'focal' (20.04) fixes this, so the container has been modified accordingly.
note:

this involves adding python 3.10 via the deadsnakes repository, as 20.04 doesn't have native support for it

Not sure about the concrete error but usually we get around this problem by using something like https://github.com/usegalaxy-eu/infrastructure-playbook/blob/master/files/galaxy/tpv/tools.yml#L841

@bgruening we tried imposing _JAVA_OPTIONS, and they get picked up; for some reason it still throws it's wacky error:
I have no name!@d34586012a88:/$ jstat
Picked up _JAVA_OPTIONS: -XX:MaxPermSize=2G -Xmx5G -Xms1G -Djava.io.tmpdir=/tmp -Duser.home=/tmp
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=2G; support was removed in 8.0
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# /tmp/hs_err_pid14.log

... the contents of this log state:
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# Possible reasons:
#   The system is out of physical RAM or swap space
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=

... the settings are all within the VM's allocated RAM limit, and I've tried using the suggested params in _JAVA_OPTIONS, but it still fails to even show java's version -- fairly maddening.

should I add _JAVA_OPTIONS specification back in? it seems to sense the environment reasonably with the current settings and in the environments i've tested in, but perhaps it would help someone else running in a different environment? i had settled on something like this:
        MAX_MEM=\${GALAXY_MEMORY_MB:-2000} &&
        export JAVA_TOOL_OPTIONS="-Xms\$((\$MAX_MEM/8))m -Xmx\$((\$MAX_MEM/2))m" &&
        export BF_MAX_MEM="\$((\$MAX_MEM/3))m" &&

... as a fallback; if no memory is specified, assume at least 2G, set accordingly -- while leaving some RAM for overhead

Scary https://github.com/adoptium/containers/issues/215#issuecomment-1142046045
I guess its fine and we need to migrate you to Singularity :)

thanks for the info, and definitely agreed re: singularity!


Added context manager to file reading

File descriptor closes automatically after file's last reference removed because of specific CPython implementation. So self.txt = open(fn).read().split("\n") will cause file descriptor leak on PyPy.

Would love this on pypy on the phone :)


Update PPP

Codecov Report

Merging #176 (23238a4) into master (8c43e67) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #176   +/-   ##
=========================================
  Coverage     70.49%   70.49%
  Complexity      493      493
=========================================
  Files            79       79
  Lines          1630     1630
  Branches        175      175
=========================================
  Hits           1149     1149
  Misses          421      421
  Partials         60       60

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bugfix: TextPath ignored transformed paths

Okay, here goes nothing. Transformation is now (somewhat hacky) calculated when the textPath is resolved.

Also, clear the allow-*.txt files.
PS: I'm in process of simplifying the testing procedure...

It broken down only on a single backend, which bothers me. Changes to the usvg should affect all backends. Also, e-textPath-037.svg should not be affected.

Everything looks good. Remember to add e-textPath-036.svg to the allow-* files, since this file was affected by this change and it's ok to change.

All points addressed. Sorry for taking so much of your time and thank you for the quick feedback!
 It's a bit odd why just that fails...

Hmm, now some more back ends seem to fail. I'm confused and don't know what to include into the allow-*.txt files. At least all backends fail.
Failed: e-textPath-023.svg
Failed: e-textPath-027.svg
Failed: e-textPath-032.svg
Failed: e-textPath-033.svg
Failed: e-textPath-035.svg

I can't really judge if these failures are due to my changes or acceptable regressions. Let me know if I should modify something or feel free to take over - I think the implementation should be done by now.

Looks like branch detection is broken in the Travis script and it uses previous master commit for pull requests instead of the actual master.

Okay. Thanks for looking into this.

The current pull request is correct. The bug is in testing-tools/run-tests.py. I guess we can merge it like this. It should work correctly on master.
Thanks again! And don't worry about asking questions. I'm glad that someone is looking into this.


Default not populated despite new notes

I think I'm seeing the same problem as noted in https://github.com/JASchilz/AnkiSyncDuolingo/issues/52 but perhaps a different case use/workflow.
I've recently intalled the plugin and tried it with my Duolingo Spanish deck. It worked fine.
I RENAMED the Default Anki deck to DuolingoSpanish.
Next I logged into Duolingo, and changed my active deck to Catalan. Normally I do English to Spanish, but occassionally have a dabble with Spanish to Catalan.
I then ran the plugin again in Anki. It rececognised there were new words and I went ahead with the import.
However, when I looked at the newly created Default deck it was empty. I tried browsing it too and definitely empty.
Hang on, Hang on, Hang on ... I see what's happened. (Sometimes writing down the problem really helps - it makes you step through all the processes!)
Ok, the Catalan stuff has gone into the DuolingoSpanish deck (see screengrab). Whenever I try repeat the pull an empty Default deck is created.
My guess: Because I RENAMED the Default deck it used some sort of pointer to the new DuolingoSpanish deck? So any subsequent pulls go to the moved Default deck.
I've only just started using the plugin so don't yet have any experience of doing subsequent pulls for new vocab.
My question is: Is there any way I can tidy this up? Ideally I'd like different decks for different pulled Duolingo languages. If that's not possible it's not a huge problem.
I was browsing through the code to see if there was a way to reset the count but couldn't see where it's stored. Perhaps uninstall/re-install?
Perhaps what I should've done was to Clone the Default deck after the first pull, so that it had the structure, then move the notes from Default to cloned deck. Would that work?
Thanks for a handy plugin.
Dougie

A bit of follow-up.
I tried deleting and re-installing the plugin but it still 'knew' where I was up to and didn't re-import from Duolingo.
I tried a Check Database and Media Repair and followed the steps in Managing Files but the dump and reimport of the db failed.

Hmm...thank you....this is a really interesting clue!
Sometimes I flirt with the idea of...like...a pulldown option on the
synchronization menu that would let you choose a deck to add to. It's a
moderate amount of work in that I think I'd probably want to add some
memory to the plugin so that it could remember your last selection, and I
also haven't worked with that kind of pull-down option in Anki before.
It sounds like you've definitely described a bug that I'd like to fix,
though: that the plugin pushes to the former default deck rather than the
actual default deck. I might not address this right away, but will
definitely work on it the next time I touch the plugin.
As for how to make separate decks from separate languages, I can definitely
see why you'd want to do that. The best way available right now would be to
filter for tag:duolingo_sync and tag:Catalan in the Anki card browser and
then move those into a new deck using that browser. That's admittedly
inconvenient in that you'll need to repeat that process every time you
re-import.
As for how to get the plugin to re-import cards that you've already
imported, you would need to actually delete those cards: the plugin looks
at all of your vocabulary in Duolingo and all of the cards with the tag
duolingo_sync in order to figure out which of your vocabs are already
imported. If you really wanted to double-import a card (have two copies of
it in Anki), you might be able to do that by removing the duolingo_sync tag
from the card, although I'm not sure whether or not there's a way to do
that in bulk for multiple cards.
On Sat, Oct 8, 2022 at 2:55 AM Dougie Nisbet @.***>
wrote:

I think I'm seeing the same problem as noted in #52
https://github.com/JASchilz/AnkiSyncDuolingo/issues/52 but perhaps a
different case use/workflow.
I've recently intalled the plugin and tried it with my Duolingo Spanish
deck. It worked fine.
I RENAMED the Default Anki deck to DuolingoSpanish.
Next I logged into Duolingo, and changed my active deck to Catalan.
Normally I do English to Spanish, but occassionally have a dabble with
Spanish to Catalan.
I then ran the plugin again in Anki. It rececognised there were new words
and I went ahead with the import.
However, when I looked at the newly created Default deck it was empty. I
tried browsing it too and definitely empty.
Hang on, Hang on, Hang on ... I see what's happened. (Sometimes writing
down the problem really helps - it makes you step through all the
processes!)
Ok, the Catalan stuff has gone into the DuolingoSpanish deck (see
screengrab). Whenever I try repeat the pull an empty Default deck is
created.
My guess: Because I RENAMED the Default deck it used some sort of pointer
to the new DuolingoSpanish deck? So any subsequent pulls go to the moved
Default deck.
I've only just started using the plugin so don't yet have any experience
of doing subsequent pulls for new vocab.
My question is: Is there any way I can tidy this up? Ideally I'd like
different decks for different pulled Duolingo languages. If that's not
possible it's not a huge problem.
I was browsing through the code to see if there was a way to reset the
count but couldn't see where it's stored. Perhaps uninstall/re-install?
Perhaps what I should've done was to Clone the Default deck after the
first pull, so that it had the structure, then move the notes from Default
to cloned deck. Would that work?
Thanks for a handy plugin.
Dougie
[image: image]
https://user-images.githubusercontent.com/5359681/194701392-4c072e8e-855b-4855-a397-8b26a6fa57b6.png
—
Reply to this email directly, view it on GitHub
https://github.com/JASchilz/AnkiSyncDuolingo/issues/56, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO2Q4BYOTKXGMP5IH7L6A3WCFAJBANCNFSM6AAAAAARAGA3FQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The best way available right now would be to
filter for tag:duolingo_sync and tag:Catalan in the Anki card browser and
then move those into a new deck using that browser. That's admittedly
inconvenient in that you'll need to repeat that process every time you
re-import.
I've just had a play with this method and it's not too bad at all. Given how often I'm likely to do a pull it certainly isn't too much of an overhead. I'll observe where the notes go on future pulls (I'm guessing they'll import to the renamed deck I created rather than Default - although that does seem to be created and empty) then just Select-All on the deck contents and move somewhere else.
For my case use it works pretty well. I have a few subdecks under languages and I can either review them as a big random block, or as individual decks. I'm still experimenting but I quite like the variety of having more than one language randomly popping up in a review session even though I believe this isn't considered an optimum way to learn. It is quite interesting though.

I opened PR https://github.com/JASchilz/AnkiSyncDuolingo/pull/67 as an attempt to solve this problem by skipping creation of the "Default" deck. I still don't think it's a great solution – it just skips the weird empty "Default" deck.

Sometimes I flirt with the idea of...like...a pulldown option on the
synchronization menu that would let you choose a deck to add to. It's a
moderate amount of work in that I think I'd probably want to add some
memory to the plugin so that it could remember your last selection, and I
also haven't worked with that kind of pull-down option in Anki before.

Something along these lines sounds better than the PR I've opened. Obviously more work than a 2 line PR though lol.

Thanks @jameskraus et. al! I'm going to go ahead and close this issue to reflect:

James's work to make it so that cards actually go into the deck that's considered default by Anki, even if you've renamed it.
You can use the tags that this plugin creates to select and move cards from the default deck into another deck of choice.


[Issue #471.1] Added a new resultbar module to the frontend to better display the result data as well as preventing the blocking screen that the GUI previously had.

Fixed multiple bugs in sidebar module, add css styles to the dropdown menu to make the dropdown align to the button, create a new resultbar module to display result in clearer format, remove the modal functionality in the sidebar.component, add the download excel button to the flowchart module, but the functionality for the download excel needs to be implemented in the future

@henrychen0220 Please include a screenshot to make the effect easier to understand.


[Feature Request] Retain query sorting order

When bringing in items to estimate using a query, the order looks to be oldest first.
It would be great to retain the query order so we can estimate in priority order.

Have you set the sort order explicitly? Our main estimation query is sorted by Backlog Priority, and to the best of my knowledge, the sort order of the query is retained in the Estimate extension, too.


Compatible with nginx. conf

The conf file is recognized as hocon, but nginx. conf will generate many errors. Is it compatible with nginx. conf

No, the plugin is not intended to support any other conf files than HOCON. As mentioned in the README:
Files with *.conf extensions are automatically interpreted as HOCON files.
Because *.conf is a common extension, you can change this in File -> Settings -> Editor -> File Types.

Please reconfigure the file types according to the needs of your project. The plugin cannot make any other expectation about the file pattern to avoid this inconvenience.


MIC-299: CYA screen for Screen journey

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.98%. Comparing base (5d7475b) to head (9caac05).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   80.72%   80.98%   +0.26%
==========================================
  Files         109      111       +2
  Lines        1655     1678      +23
  Branches      278      278
==========================================
+ Hits         1336     1359      +23
  Misses        307      307
  Partials       12       12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


What is the official plans for Tasks/threading?

The biggest roadblock I see with true dotnet interop is dealing with TPL in PowerShell.  I see opt-in solutions like ThreadJobs resolve the need for creating Tasks, but what about executing Tasks concurrently?  Are there plans for anything like async/await?

... and access to extension methods.

@Bartolomeus-649, just curious--is this an issue with TPL interop or interop in general?
Other issues I've had with general interop:

Class import/export
Interfaces

Yes, TPL (DataFlow) has a lot of extension methods, just look here: IPropagatorBlock<TInput,TOutput> Interface.
Also easier use of generics would help out a lot.

@chriskuech for me, your issue is a duplicate of https://github.com/PowerShell/PowerShell/issues/6716
Maybe better to close this one and continue on #6716.


"ImportError: DLL load failed while importing _C:"  "ModuleNotFoundError: No module named 'inference_core_nodes'"

Hi
I am installed it undert WIn 11 ComfyUI, I ran "install_windows_portable_win_py311_cu121.bat" to install the rest afterwards. I am not getting this error, it seem,s like it is not installing properly. I would appreciate if someone can provide me some guidence to fix this since I would love to use this.
 File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 28, in <module>
    module = importlib.import_module(f".{nodes_filename}", package=__name__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 53, in <module>
    from .algorithms.dmtet import DMTetMesh
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-3D-Pack\algorithms\dmtet.py", line 6, in <module>
    from pytorch3d.loss import chamfer_distance, mesh_laplacian_smoothing
  File "c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\pytorch3d\loss\__init__.py", line 8, in <module>
    from .chamfer import chamfer_distance
  File "c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\pytorch3d\loss\chamfer.py", line 11, in <module>
    from pytorch3d.ops.knn import knn_gather, knn_points
  File "c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\pytorch3d\ops\__init__.py", line 7, in <module>
    from .ball_query import ball_query
  File "c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\pytorch3d\ops\ball_query.py", line 10, in <module>
    from pytorch3d import _C
ImportError: DLL load failed while importing _C: The specified procedure could not be found.

Cannot import c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: DLL load failed while importing _C: The specified procedure could not be found.
Config Export Error[Errno 2] No such file or directory: 'XXXHOST-PATHXXX\\PATH_CFG.json'### Loading: ComfyUI-Impact-Pack (V5.7)
### Loading: ComfyUI-Impact-Pack (Subpack: V0.5)
[Impact Pack] Wildcards loading done.
Traceback (most recent call last):
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\__init__.py", line 1, in <module>
    from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
ModuleNotFoundError: No module named 'inference_core_nodes'

Cannot import c:\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes module for custom nodes: No module named 'inference_core_nodes'
### Loading: ComfyUI-Inspire-Pack (V0.72.1)
c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\diffusers\models\unet_2d_blocks.py:249: FutureWarning: `AutoencoderTinyBlock` is deprecated and will be removed in version 0.29. Importing `AutoencoderTinyBlock` from `diffusers.models.unet_2d_blocks` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_blocks import AutoencoderTinyBlock`, instead.
  deprecate("AutoencoderTinyBlock", "0.29", deprecation_message)
c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\diffusers\models\unet_2d_blocks.py:254: FutureWarning: `UNetMidBlock2D` is deprecated and will be removed in version 0.29. Importing `UNetMidBlock2D` from `diffusers.models.unet_2d_blocks` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D`, instead.
  deprecate("UNetMidBlock2D", "0.29", deprecation_message)
c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\diffusers\models\unet_2d_blocks.py:259: FutureWarning: `UNetMidBlock2DCrossAttn` is deprecated and will be removed in version 0.29. Importing `UNetMidBlock2DCrossAttn` from `diffusers.models.unet_2d_blocks` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2DCrossAttn`, instead.
  deprecate("UNetMidBlock2DCrossAttn", "0.29", deprecation_message)
c:\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\diffusers\models\unet_2d_blocks.py:264: FutureWarning: `UNetMidBlock2DSimpleCrossAttn` is deprecated and will be removed in version 0.29. Importing `UNetMidBlock2DSimpleCrossAttn` from `diffusers.models.unet_2d_blocks` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2DSimpleCrossAttn`, instead.
  deprecate("UNetMidBlock2DSimpleCrossAttn", "0.29", deprecation_message)

See my pic, I've solved the same problem.

@Rachellaw888 thanks, are you saying that I need to have xformers 0.0.25 or 0.0.26 installed?

I'm also facing this issue too.

ImportError: DLL load failed while importing _C: The specified procedure could not be found.

I had this same error in my regular ComfyUI github clone install and it took me ages to track down why. First I made sure to have a consistent set of installs for torch, torchaudio, torchvision and xformers for cuda 12.1 (cu121). I stuck with pytorch 2.1.2 as that was the minimum required version listed in the install section. But I think the latest ComfyUI portable uses a newer version so maybe skip this part. For reference: https://pytorch.org/get-started/previous-versions/
I don't use the portable install, so you'll have to make sure you're running python/pip embedded environment correctly I guess.
pip uninstall pytorch3d
pip install git+https://github.com/facebookresearch/pytorch3d.git
Try and run ComfyUI again. If you get more errors in a different script, try uninstalling the offending site-packages and reinstalling them.
I next had an issue with torch-scatter.
pip uninstall torch-scatter
pip install torch-scatter
Lastly I had an issue with torchmcubes.
pip uninstall torchmcubes
pip install git+https://github.com/tatsy/torchmcubes.git
Hope that helps.

very good Tanks

🆗 Confirm it works for me, using portable version

❌ torchvision 2.3.1 / ❌ torchaudio 0.18.1 was installed which doesn't works with ❌ torch 2.3.0
❌torch 2.3.1 is not compatible with ❌ xFormers 0.0.16

What we need

torchvision 2.3.0
torchaudio 0.18.0

Additional Steps needed (using portable version with python embedded in root directory)
python_embeded/python.exe -m pip install torchvision 2.3.0 --index-url https://download.pytorch.org/whl/cu121
python_embeded/python.exe -m pip install torchaudio 0.18.0 --index-url https://download.pytorch.org/whl/cu121

For good measures instructions from @Moj-X for python embedded.
python_embeded/python.exe -m pip uninstall pytorch3d
python_embeded/python.exe -m pip install git+https://github.com/facebookresearch/pytorch3d.git
python_embeded/python.exe -m pip uninstall torch-scatter
python_embeded/python.exe -m pip install torch-scatter
python_embeded/python.exe -m pip uninstall torchmcubes
python_embeded/python.exe -m pip install git+https://github.com/tatsy/torchmcubes.git

Additional Additional steps
python_embeded/python.exe -m pip install rembg

@sodidos do you know your solution might mess up vanilla ComfyUI requirements?

@sodidos do you know your solution might mess up vanilla ComfyUI requirements?

I haven't found any issues with downgrading from 2.3.1

python_embeded/python.exe -m pip install torchvision 2.3.0 --index-url https://download.pytorch.org/whl/cu121
python_embeded/python.exe -m pip install torchaudio 0.18.0 --index-url https://download.pytorch.org/whl/cu121

Are you sure versions are correct?


Aircraft ICAO stored in historic 'Flight Data' appears to be incorrect.

Awesome project!  Thanks for all of your hard work!
The ICAO showing in the live view is correct; however, the ICAO stored in 'Flight Data' does not match the live data for the same flight.   I spotted this issue in 2.6.0; however, i never got around to submitting the issue.  Sorry about that.  Upgraded to 2.6.2 today and it appears that the issue still exists.

I need to present this data better. The problem is a Flight Number is, well a flight number. Different aircraft can be tagged with a different flight number from time to time. Simply put I need to present the data better and make sure all ICAOs related to a specific flight number are displayed and all flight numbers related to a specific ICAO are also displayed in separate results of course. This is something I will work on for v2.7.0.


Update static calc manager for post-hoc analysis

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.25%. Comparing base (ed0dcb9) to head (079d5ec).
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   90.24%   90.25%
=======================================
  Files          19       19
  Lines        2174     2175    +1
=======================================
+ Hits         1962     1963    +1
  Misses        212      212

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Machine Comprehension Test (MCTest)

MCTest is a freely available set of 660 stories and associated questions intended for research on the machine comprehension of text.
http://research.microsoft.com/en-us/um/redmond/projects/mctest/
Hope this dataset could be added to awesome-public-datasets. :)

Appended to category NLP. Thanks :+1:


Question: all loxone services implemented?

Does the homebridge-loxone plugin actually implement all Loxone equipment (lights, shades,...) or only the few supported device types temperature, humidity and air quality sensors, outlets (?) and the newly implemented alarm (security system)?
From my point of view it would be of great benefit to implement and allow to connect all Loxone services in this plugin - is this realistic?

Yes, I am planning to support more and more Loxone building blocks.
Supporting all Loxone services will take a lot of time, feel free to help and open a pull request to contribute :)

Willig to do so with a little guidance!


There is no difference between first and last selected days in date range

There is no different classes provided for the first and last days in date range. So it is impossible to set different styles for that days, as in the attached layout.

Fixed in version 0.11.3.


standalone mode not useable

Is there any configuration parameter where i can start the kafka-connect in a standalone mode.
From my opinion it should be configurable via the replicaCount, BUT also this is set to 1 kafka-connect needs to write to offset and configuration topic which i dont have within the existing kafka cluster.

@tnagel1 standalone mode isn't really a thing when you run something like kafka-connect in Kubernetes

offset and configuration topic which i dont have within the existing kafka cluster.

What's stopping you from making them?


zuck js not working with nuxt.js

hi ramon.
I'm trying zuckjs my project but zuck js not working. I have github account and my project url : https://github.com/semihertugrul/zuckjs-nuxt
Especially you should look .....pages/index.vue page. What is the problem?
Error :  Uncaught TypeError: timeline.setAttribute is not a function
is Zuckjs support nuxtjs? I'm waiting for information from you.
thanks for help

Hi,
You should use the reactive: true option when using the library with vue/react frameworks.
In nuxt/next or other backend libs, you must also include the html from generated stories, like the https://github.com/ramon82/zuck.js/blob/master/react.sample.html


s key gets overwritten by vim-grepper

I've following configuration:
  command! -nargs=* -complete=file GG Grepper! -tool git -open -switch -query <args>
  command! -nargs=* -complete=file Ag Grepper! -tool ag -open -switch -query <args>
  nnoremap <Leader>* :<C-u>execute "GG " . expand("<cword>") <Bar> cw<CR>
  nnoremap <Leader>gs :Grepper! -tool git -open -switch<CR> " mnemonic is git search
  nnoremap <Leader>ag :Grepper! -tool ag -open -switch<CR>

After I use <Leader>* command, s key gets overwritten.
Here is the output of :verbose nmap s
pressing s in normal mode, tries to make new buffer, from word under the cursor

First I thought, that problem could be in asterisk in<Leader>* and it should be escaped in some way. Therefore I've changed the mapping to different key, but this didn't help - same problem persist.

Oh, wow. Let me look into it.

@vbauerster It should work now. Quite embarassing bug, though..

BTW, you can now replace the above mapping like this:
nnoremap <leader>* :Grepper! -tool git -open -switch -cword


Moved order of sort in Dedup example

This in preparation for upcoming improvements to the Dedup command, having the sort after will make more sense when using the enhanced dedup command.

Hi @johnthcall, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

 If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@johnthcall : Thanks for your contribution to the Azure documentation! The author, @bandersmsft, has been notified to review your proposed change.

This update is needed.
#sign-off


[$250] Android - Crash when kill the app and reopen it

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.46-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Install the New dot app
Open android app
Login with new gmail account
Complete the onboarding modal
Kill the app
Open the app

Expected Result:
App should open
Actual Result:
App crashes
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/f45004e6-35c5-4e47-bbed-6f5bd166123b
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021843775413325774813
Upwork Job ID:<PHONE_NUMBER>325774813
Last Price Increase: 2024-11-05

Issue OwnerCurrent Issue Owner: @DylanDylann

Not able to reproduce on my physical ios device with a new account. Going to try on android emulator.

There's been an emerging crash in firebase that looks like it might be related here
com.expensify.chat_issue_4f8a216f0a769e684d009b28ef9bd7d4_crash_session_6705473302F5000179E748FD60E92734_DNE_0_v2_stacktrace.txt
SurfaceMountingManager.getViewState

Potentially related: https://github.com/facebook/react-native/issues/38743

@kirillzyusko Do you think this https://github.com/Expensify/App/pull/37891 would address this crash as well?

I'm not able to reproduce on an emulator in production
https://github.com/user-attachments/assets/7a55635c-6cfa-4014-8dc1-3d6b43938a9d

I am able to reproduce on staging. But reopening the app does work so it doesn't continually crash. Future quit/reopens don't crash the app either.
https://github.com/user-attachments/assets/ca340a7e-ccd4-417d-93d6-916f02cd59a8

Hmm, this crash has been happening quite a bit - perhaps we can get some eyes on this?

Do you think this https://github.com/Expensify/App/pull/37891 would address this crash as well?

I tested and in my case it still crashes 😔

@thienlnam from the firebase, it seems like this was happening in previous builds, too. Should we demote?

Discussion here: https://expensify.slack.com/archives/C01GTK53T8Q/p1728413409127509

Still waiting for proposals

Still waiting for proposals

No update yet, going to add the bug label for Bug-Zero eyes

Related to https://github.com/Expensify/App/issues/50482

Discussing here

@srikarparsi what is the decision on this issue? Can you follow up on that thread?

I believe we're waiting on @gedu or @adhorodyski to chime in since Callstack has been monitoring some of the crashes. I'll follow up on the thread tomorrow if there's no updates.

I am OOO, so assigning another BZ member here.

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (First week)

@j-piasecki is going to take a look at this. @j-piasecki please can you comment?

I was able to reproduce the crash. I've opened an issue in the React Native repository with more details: https://github.com/facebook/react-native/issues/47960

Closed out this issue (which has some stack traces in the issue body) in favor of this one.

Issue not reproducible during KI retests. (Second week)


Point to .d.mts types instead of .d.ts files in package.json

When installed to a project on my machine, the files in dist only contain a .d.mts and not the .d.ts that package.json points to.

Currently, my IDE doesn't recognize parse-ingredient as having types. Making this change locally fixed the issue for me. I'm not sure if this issue has any me-specific component that I'm missing, but if not it looks like an easy fix.

@all-contributors please add @rogermparent for code.

I just released v1.1.1 with this issue fixed.

The new version solves the issue for me! Thanks again!


Cocoapods!!!!!

you can find this https://github.com/serg94/SSNTextFieldDelegate

format ssn on paste
no need to input extra simbol for getting valid SSN, as this will not get you SSN if you will not press extra character on keyboard when inputting ssn data

and additional

it supports Cocoapods
written with Swift

@serg94 Great!


Dependency on d3.js

We should use the specific submodules of d3 rather than requiring d3 entirely.

[2021-01-21] Triage: still an issue.

[2021-01-21] Triage: still an issue.


Describe in the corresponding Wiki page the initial design of the robot's mechanical structure.

[x] Create a corresponding Wiki page
[x] Add a link to the main Wiki page and to the readme
[x] Add a story about the reasons for the choice to take a ready-made platform
[x] Add future plans. Tell about the Python simulation

See our Wiki page.


[Backport 2.x] Bump numpy from 1.22.x to 1.24.2 (#811)

Backport (cherry picked from commit f7f12022fdecad7f8fa0dbf1f9727480b91b392c) from #811

Codecov Report

Merging #828 (4960859) into 2.x (fd14028) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##                2.x     #828   +/-   ##
=========================================
  Coverage     85.18%   85.18%
  Complexity     1083     1083
=========================================
  Files           151      151
  Lines          4380     4380
  Branches        393      393
=========================================
  Hits           3731     3731
  Misses          472      472
  Partials        177      177

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add StackOverflowSolutionProvider

based on this twitter thread this PR adds StackOverflowSolution Prodiver
quickly two notes

the curl code is from this stack overflow answer cause file_get_contents didn't work not sure why

i think there should be a way in the package to allow defining SolutionCard components same way as defining Tab components. as i wanted to make the solution card match the color of the tab

@Gummibeer i have implemented Marcel Pociot Suggestion about multiple card solutions.
so it looks nice in smaller question description , but it looks ugly when there's an image attached to the question . also if the description is long the user will have to scroll to see ignition tabs .
(Long Description)

(Question WIth Image)

so i thought we can only display the last activity and created by . like this screenshot

@Te7a-Houdini how about substr() & striptags()? This should be able to reduce all descriptions to a max of x lines or better n words.

@Gummibeer much more better now

a quick note you will notice !9YdnSJ*_T filter param in the url this one is from this answer cause normal body param from stackoverflow api didn't work corretly . so since ignition uses  markdown-it-veu i relied on body_markdown from api and ignition to render the markdown correctly.

@Gummibeer @Namoshek Thanks guys for the feedback . just pushed the changes

@Te7a-Houdini I've added missing unittests in #2 and also splitted your code into multiple small methods.
This way every method has a single dedicated task/responsibility and is also testable. I've also wrapped the whole getSolutions() logic into a try-catch to catch any exception that could occur and return a simple empty array. And I've also added all missing composer dependencies.

@Gummibeer  much more better :+1:


(GH-108) Changed rule from Guideline to Requirment

Relates to #108

Make sure we move the wiki article as well.

Moved.

@ferventcoder said...
Make sure we move the wiki article as well.

Ah, well remembered! :+1:


GLib.Error.stack missing

GJS sets a stack property on all its errors, see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/gerror.cpp#L278
However, this property doesn't seem to exist on GLib.Error anymore, i.e.
if (error instanceof GLib.Error) {
    console.info(error.stack);
}

no longer compiles.
It did compile with types generated by the 3.x versions of ts-for-gir, so this looks like a regression.

I tried to work around this regression by declaring the missing property myself, but with the layered structure of the generated types (type inside namespace as default export inside module, import and then re-exported from am ambient module declaration) it's not really obvious how I could get typescript to merge declarations properly.  My naive attempt at module augmentation failed.
Any pointers?


Refactor (un)pause in nerdctl and compose

Part of #1680.
Refactor nerdctl unpause, nerdctl compose (un)pause.
Signed-off-by: Jin Dong<EMAIL_ADDRESS>

@Zheaoli Please make sure to set the milestone next time, thanks


Annotate extension methods with @widgetFactory

Flutter has recently introduced the @widgetFactory annotation to improve the dev UX for widgets created in extension methods. It's currently only available in the master channel, so implementing this will have to wait until the next stable feature release and a point at which this package is fine with requiring that version of Flutter.
Take this example:
import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart';

void main() {
  runApp(const SizedBox().animate());
}

Currently, the Animate widget, created in animate, is not included in the summary widget tree in the widget inspector:

After annotating the animate method with @widgetFactory the Animate widget is included in the summary widget tree like if Animate was used directly and not through the extension method.

Cool. I'll keep this open to implement in the future. Feel free to remind me. :)

Note to self: @widgetFactory released in 3.10.0 on 2023/5/10.


Bug: 3m filter on insight page goes out of the page

Describe the bug
The contributors graph extends beyond the graph if you choose 3m filter.
Steps to reproduce

https://app.opensauced.pizza/pages/BekahHW/1205/activity?range=90
Browsers
Chrome
Additional context (Is this in dev or production?)
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

.take


Change styling (CSS)?

I find the preview hard to read the way it is styled.
Is there a way to change that, e.g. by setting some CSS somewhere?

Do you have any suggestion on how it should look ?

No, there isn't any style sheet.


mod_http2 with mod_logio logs cumulative connection "bytes received" instead of per-request

When using %I (mod_logio "Bytes received" field) or %S in LogFormat, the logged value is cumulative for the bytes received for the entire HTTP/2 connection and not per-request.  This problem does not occur for %O (mod_logio "Bytes sent").
The simplest way that I have found to replicate this is with HTTP/2-enabled curl.  It is not necessary for the upload to actually be "successful", as long as the request can be made to Apache.  I get a 405 result in the example below because PUT is not implemented for the default configuration, but it is enough to show the issue with log output using the following:
    LogFormat "%h %l %u %t \"%r\" %>s %b %S %I %O" common

# dd if=/dev/urandom of=100M.file bs=1M count=100
# curl --http2 --http2-prior-knowledge -v -o /dev/null -T 100M.file http://localhost/up1 -T 100M.file http://localhost/up2 -T 100M.file http://localhost/up3
# tail -3 /usr/local/apache2/logs/access_log
--
::1 - - [03/Apr/2018:10:31:23 -0500] "PUT /up1 HTTP/2.0"<PHONE_NUMBER>57824 104857600 224
::1 - - [03/Apr/2018:10:31:23 -0500] "PUT /up2 HTTP/2.0"<PHONE_NUMBER>15424 209715200 224
::1 - - [03/Apr/2018:10:31:23 -0500] "PUT /up3 HTTP/2.0"<PHONE_NUMBER>73024 314572800 224

Note that %S and %I are logging the cumulative received bytes, not just the received bytes for each request.  The expected log output would be like when using HTTP/1.1:
# curl --http1.1 -v -o /dev/null -T 100M.file http://localhost/up1 -T 100M.file http://localhost/up2 -T 100M.file http://localhost/up3
# tail -3 /usr/local/apache2/logs/access_log
::1 - - [03/Apr/2018:11:25:19 -0500] "PUT /up1 HTTP/1.1"<PHONE_NUMBER>58202 104857749 453
::1 - - [03/Apr/2018:11:25:19 -0500] "PUT /up2 HTTP/1.1"<PHONE_NUMBER>58179 104857726 453
::1 - - [03/Apr/2018:11:25:19 -0500] "PUT /up3 HTTP/1.1"<PHONE_NUMBER>58179 104857726 453

You are correct. There is definitely something going very wrong here. The cumulative numbers are plain wrong. Working on it...

Please check v1.10.17 for a fix. That one should report accurately the bytes in/out per request.

I can confirm that this is resolved in v1.10.17.
[Tue Apr 10 10:13:29.184726 2018] [http2:info] [pid 13303:tid<PHONE_NUMBER>72192] AH03090: mod_http2 (v1.10.17-git, feats=CHPRIO+SHA256+INVHD+DWINS, nghttp2 1.21.1), initializing...

# curl --http2 --http2-prior-knowledge -v -o /dev/null -T 100M.file http://localhost/up1 -T 100M.file http://localhost/up2 -T 100M.file http://localhost/up3
# tail -3 /usr/local/apache2/logs/access_log
::1 - - [10/Apr/2018:10:14:14 -0500] "PUT /up1 HTTP/2.0"<PHONE_NUMBER>61792 104857653 4139
::1 - - [10/Apr/2018:10:14:14 -0500] "PUT /up2 HTTP/2.0"<PHONE_NUMBER>62509 104857629 4880
::1 - - [10/Apr/2018:10:14:15 -0500] "PUT /up3 HTTP/2.0"<PHONE_NUMBER>60751 104857629 3122

Thank you!

Fixed in v1.10.17.


pip install certbot-dns-aliyun timeout

When restart NPM, will always recall pip install certbot-dns-aliyun~=0.38.1, but this command always timeout fail for several times.
After 5 or more times retry, this will be success.
I think the reason for this phenomenon is that the current network speed is too slow and the pip timeout time is too short （15seconds）.
So we need to add an environment variable to change the pip timeout time and add a proxy for pip.
raceback (most recent call last):
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
    status = run_func(*args)
             ^^^^^^^^^^^^^^^
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
    return func(self, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 377, in run
    requirement_set = resolver.resolve(
                      ^^^^^^^^^^^^^^^^^
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 179, in resolve
    self.factory.preparer.prepare_linked_requirements_more(reqs)
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 552, in prepare_linked_requirements_more
    self._complete_partial_requirements(
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 467, in _complete_partial_requirements
    for link, (filepath, _) in batch_download:
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/network/download.py", line 183, in __call__
    for chunk in chunks:
  File "/opt/certbot/lib/python3.11/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
    for chunk in response.raw.stream(
  File "/opt/certbot/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
    data = self.read(amt=amt, decode_content=decode_content)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/certbot/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
    with self._error_catcher():
  File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/opt/certbot/lib/python3.11/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

[8/22/2024] [5:45:35 PM] [Global   ] › ✖  error     Some plugins failed to install. Please check the logs above

[8/22/2024] [5:45:36 PM] [Certbot  ] › ▶  start     Installing aliyun...
[8/22/2024] [5:45:36 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-aliyun~=0.38.1  && deactivate
[8/22/2024] [5:47:32 PM] [Certbot  ] › ☒  complete  Installed aliyun

I got this error too. Here is my resolve:
Enter to docker container, change python pi repository to thirdparty mirror.

enter docker container

docker exec -it  YOUR_CONTAINER_ID /bin/bash

create pip config file

mkdir ~/.pip/
touch ~/.pip/pip.conf

add mirror to pip config file

cat > ~/.pip/pip.conf <<EOF
> [global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

[install]
trusted-host=mirrors.aliyun.com
> EOF

Finally, I got one solution:
add entrypoint and command in your compose
version: '3.8'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    container_name: nginx-proxy-manager
    restart: always
    extra_hosts:
      - 'host.docker.internal:host-gateway'
    ports:
      - '80:80'
      - '81:81'
      - '443:443'

    entrypoint: /bin/sh
    command: >
      -c "
      pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ &&
      pip config set install.trusted-host mirrors.aliyun.com &&
      exec /init
      "


Fix input semantic colors

Codecov Report

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

@@          Coverage Diff          @@
##           master   #617   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          63     63
  Lines         670    670
=====================================
  Hits          670    670

Impacted Files
Coverage Δ

packages/core/src/Input.js
100% <ø> (ø)
:arrow_up:

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 39beb57...0685664. Read the comment docs.


Cannot seem to get auto play to work in ionic

I have a slider on my page and cannot get autoplay to work even though I have added it to my slider. Is there anything more required to get it working?
<ks-swiper-container speed="2000" autoplay="1000" initial-slide="0" style="border-bottom: 1px solid #ccc!important;" loop="true" show-nav-buttons="true" class="swiper-button-white" slides-per-view="1" space-between="1" pagination-clickable="true"  on-ready="onReadySwiper(swiper)">

    <ks-swiper-slide class="swiper-slide" ng-repeat="topstory in topstories">

    </ks-swiper-slide>

</ks-swiper-container>

I have the same problem, it works only for one slider , on the other hand for second and third it doesn't works.

check at this.. http://idangero.us/swiper/api/#.V3BgI5N96YV
do your own search first then ask. this guy already put some effort to provide the code for us. At least what we can do is do some search before asking

add ng-if, My code follow:
<ks-swiper-container ng-if="home.bannerContent[0] && home.bannerContent[0].content.length>0" autoplay="3000" loop="true" on-ready="onReadySwiper(swiper)" pagination-is-active="true" >             <ks-swiper-slide class="swiper-slide" ng-repeat="item in home.bannerContent[0].content">                                                                    </ks-swiper-slide>         </ks-swiper-container>


Controller Extensions

Providing a standard entry point to provide custom controllers would be lovely.
Something on a GUI class instance would work. like:
const gui = new GUI();
gui.add_custom_controller( 'addDate', DateController );
...
const folder = gui.addFolder( 'Folder' );
folder.addDate( folderParams, 'date' );
Where DateController extends Controllers. Though perhaps you could come up with something you find more elegant.
However it's done, a method to provide custom controllers could harness community creativity. DateTime, RealTimeGraph, Point, 3DPoint, etc..
Edit: While keeping the core minimal

Ha, yes—while keeping the core minimal ;)
I'm planning on writing an example that shows what it's like to extend the Controller class. I'm imagining something like this right now for "registering" it with the GUI:
GUI.prototype.addDate = function() {
  new MyDateController(this, ...arguments);
};

I like that because it's terse and wouldn't require anything be added to core.

I like it.
PS: thanks for this project. Ive long loved datgui but it's been in desperate need of a reboot. It's legacy seems in good hands here. Carry on Good sir.

I wanted to do a simple proof of concept and ended up doing this: https://github.com/awelles/lil-gui-inputcontroller
It's a generic InputController class with passable 'type' attribute using your suggested method. Creates out of the box vanilla input elements. Rough draft. Use at your own risk. Browser results may vary.
Mostly functional types: color, date, datetime-local, email, file, month, number, password, range, search, tel, text, time, url, week
Live-demo: https://robotbreakfast.com/inputcontroller/example.html

Neat -- you've got the idea.
The main reason I've held off on an example like this is just to be sure the API for the "internals" of Controller are stable. For example, 0.13 is going to re-enable onFinishChange, so Controller has to make another call to invoke that. There are also some special considerations to make for Controllers that target object types (look at ColorController). Since lil-gui handles all the relevant primitives, I imagine these would be the focus of custom controller creation.
I know it's a proof of concept, but just be careful with that number controller: typeof input.value === 'string' ;)

Yeah, what I made does zero type logic and comes with all the quirks of html inputs. It will murder any attached objects. Numbers to strings, dates and colors to it's preferred format, etc.
Maybe I'll make it something useful with onFinishChange later
Thanks for the feedback!

It is a bit stale—I actually wrote a custom controller API and set of guides last year, but the requests sort of died out, so I put it down. A color picker with alpha would be a perfect test case though—would you be willing to implement it with this experimental API?
Those custom controller guides live here, and the source is in this repo under a branch named 'custom-controller'. The API isn't far off from what you've written above (extending the controller class) but it makes it easier to write controllers that support library features like saving, loading, change events, etc.
Let me know if that's something you're interested in. Would be great to get feedback on if the guides and API make sense in general.

@georgealways I ran across this looking for a way to make multiline text inputs, but I can't find the 'custom-controller' branch. Would love support for either of those things (custom controllers or just a multiline option).
Thanks for the great work on this!

Hi! No plans for custom controller support at the moment. I had plans for a custom controller API / boilerplate at one point, but ultimately I decided it would expose me to more support requests than I could field.
That said, a multiline controller is actually a great starting place for custom controllers. I put together an example for those brave enough to extend the Controller class without the helper API I had in mind.
To future readers: consider this "unsupported" i.e. EXTEND AT YOUR OWN RISK. I don't have the bandwidth to help debug custom controllers :)
Custom Multiline Controller example

It does not fire onChange / finishChange events
It does not respect .disable()
It does not support screen readers
It does not incorporate the library's CSS vars
Extending this pattern beyond primitive object types will break gui.save/load() and controller.listen()

The built-in string controller is a more complete example for reference:
https://github.com/georgealways/lil-gui/blob/master/src/StringController.js
In general, if you need more complex custom controllers, I would recommend Tweakpane: https://cocopon.github.io/tweakpane/plugins/
Hope that helps!