change language input to dropdown list

Change new system's source and target language input field into dropdown list
This PR aims to fix issue #303

Use package ISO-639-1 to load language names in English. Add another option called Others to the list.
After selecting the language in the dropdown list, its language code is shown in the language field for user's reference. Others is mapped to code unk.

Test:
Create two new text-classification systems (SST2 and a custom dataset) and load their analysis successfully.

Thanks for the PR!
The ISO-639-1 package looks handy, but it doesn't seem to support some minute differences such as en-US vs en-UK, and traditional Chinese vs simplified Chinese.
I found another package is slightly more comprehensive, but perhaps instead of importing it, we could write and maintain our own one since it's essentially a mapping?

Thanks @OscarWang114 for the suggestion. I think this may depend on the usage of language tag? I remember it is used for deciding the tokenizer. Is there any other case to use language tag and what level of granularity of language code ('en' or 'en-US') is required for tokenizers?

I agree with @OscarWang114 that we should definitely support ISO-639-3 for language codes. ISO-639-1 is outdated and doesn't have the capacity to cover all the languages in the world.
In addition, there are difficult cases:

What about dialects like en_US and en_GB?
What about programming languages like python?
What about code-mixed text like English+Hindi?

Because this is complicated, I would suggest supporting ISO-639-3 in the dropdown (perhaps with the corresponding ISO-639-1 in parentheses), but also allow selection of "other" where the user is allowed to enter their own choice to allow for coverage of complicated cases. While we're at it, we should also allow for non-linguistic input (e.g. images or feature vectors), which may be "None"?

I agree with @OscarWang114 that we should definitely support ISO-639-3 for language codes. ISO-639-1 is outdated and doesn't have the capacity to cover all the languages in the world.
In addition, there are difficult cases:

What about dialects like en_US and en_GB?
What about programming languages like python?
What about code-mixed text like English+Hindi?

Because this is complicated, I would suggest supporting ISO-639-3 in the dropdown (perhaps with the corresponding ISO-639-1 in parentheses), but also allow selection of "other" where the user is allowed to enter their own choice to allow for coverage of complicated cases. While we're at it, we should also allow for non-linguistic input (e.g. images or feature vectors), which may be "None"?

Thanks, Graham. So, @qjiang002 we then go with ISO-639-3 if it's available and also have the other two options: other and None.

Thanks @neubig and @pfliu-nlp . Before changing it, I still have some questions about would like to know your ideas.

How do we use the language tags in ExplainaBoard and what’s the granularity of language tags required for the functions?

It is used to decide the tokenizer. If we use open-source tokenizer like nltk, it doesn’t support very detailed tags, like it doesn’t distinguish english dialects. If we use ISO693-3, do we need to map that to simpler language code when choosing tokenizers?

It is used for users' own reference and it’s simple tagging. We can provide more fine-grained language codes for tagging.

ISO693-3 uses 3-char code, like ‘eng’, while current systems use ISO693-1 which uses 2-char code like ‘en’. Will changing the language code bring some errors to existing systems?
When users choose ‘Other’ or ’None’, should we provide an input text box to ask them enter the tag? If so, will it make the language tag pool messy again?

(a less important note 😂) I think it might make sense to store the mapping in the backend (or even in the SDK if it's mainly used to choose the tokenizer) and provide an endpoint for the client to retrieve it (like the task categories list). If this mapping is implemented in the frontend, those users who use the openAPI interface won't be able to know the available options. This would also allow us to add validation for these fields in the backend.

Great questions @qjiang002 !

How do we use the language tags in ExplainaBoard and what’s the granularity of language tags required for the functions?

Here's an example: https://github.com/neulab/ExplainaBoard/blob/98d79c976884eee3fbd2a2b1cf76dae4789d9ae3/explainaboard/utils/tokenizer.py#L34
We might want to make the logic in this function more complex to handle different kinds of tokenizers for different languages.

ISO693-3 uses 3-char code, like ‘eng’, while current systems use ISO693-1 which uses 2-char code like ‘en’. Will changing the language code bring some errors to existing systems?

If you look at the logic in the code above, yes, it will need to be fixed. But I think it's OK to go ahead with this change and we can fix the logic for tokenizers in parallel.

When users choose ‘Other’ or ’None’, should we provide an input text box to ask them enter the tag? If so, will it make the language tag pool messy again?

Yes, and I think it's OK for "other" to be messy. One option is that we can aggregate all of the tags from "other" periodically and then normalize them and add them to the language pool if we notice that people are using particular languages a lot.

Use iso639-3 language codes and allow custom language tags
Backend

The backend uses iso-639 to generate the language code list which has 7981 languages. Some languages don't have iso369-3 codes, so filter out these languages.
Add two more tags in the dropdown list: Other(other) for languages not included, and None(none) for other modalities
Change openapi.yaml to expose get_language_codes function which returns the language code list

Frontend

Dropdown items show label language_name(code), but the source_language and target_language parameters passed to the backend are ISO639-3 code values only
If users choose Other(other), another input field is shown below for users to enter custom languages. In the frontend, the custom languages are stored in other_source_language and other_target_language in the FormData interface. The values passed to the backend are other-xxx where xxx is other_source_language and other_target_language'. This is for making it easier to filter out other` tags from the tag pool in the future.
If the chosen dataset specify languages which are now in iso639-1 format, find the corresponding iso639-3 format for display and assigning values to source_language and target_language.

Example of choosing Other(other)

Example of final system tags

@qjiang002 Thanks for your hard work! I just ran this PR locally, which looks nice. Some minor suggestions:

(1) I think we can revise Input Lang -> Input Language, Output Lang -> Output Language
(2) We could also add a tooltip to explain "input language" and "output language".

For example,
Input Language: the language of input. Choose "Other(other)" for languages not included, and "None(none)" for other modalities, e.g., image

@qjiang002 Thanks for your hard work! I just ran this PR locally, which looks nice. Some minor suggestions:

(1) I think we can revise Input Lang -> Input Language, Output Lang -> Output Language
(2) We could also add a tooltip to explain "input language" and "output language".

For example, Input Language: the language of input. Choose "Other(other)" for languages not included, and "None(none)" for other modalities, e.g., image

Hi, @qjiang002  it would be nice if these comments could be reflected.

Sorry for the delay. In the new commit:

The iso-639 package is moved to requirements.mustache
Change language tag input names
Add tooltip for language tag input


Enable support for toggling bold and italics.

Hi
Thank you for this theme.I want LspSignatureActiveParameter highlight group to be bold like vscode.
Another issue but closed
I saw this issue. But the said feature not implemented yet.  Please implement it or tell a workaround if possible.

@shljsl75891
I am quite busy for a while now that's why not able to add features. I am willing to merge if anyone makes PR. As a workaround you see group_overrides in README.

No issues @Mofiqul. I totally understand. I also don't know how to enable that. Otherwise, I would love to raise PR. Please let me know about needed changes. I will try to do those.


added job updates resources

a quick way to explore new job postings on Social Media handles.

Sorry but we cannot promote Instagram accounts through this repository. If you wish to add some other credible resource you can comment here or request to reopen this. I am closing this for now
Thank you


Bug:Build issues with jekyll 3.1.6

I am using ubunbu 18.04 with Jekyll version 3.1.6. Facing issues with initial serve.
Is this version not supported yet?

Did this problem solved?
I recently add Docker Support for TeXt Theme, I think it is a way to solves these problems. : )


Propose dropping WCT in favor of a Karma-based test solution

I've been working on getting karma working with lit-element without pre-processors, using a proxy and some middleware.
There's a work-in-progress/poc solution running in the switch-to-karma branch of this repo.

Please note:
This branch is missing a little bit of parity with master right now, as it doesn't do matrix testing of the polyfills that currently the WCT suites are doing in test/runner.html.  When this is solved for, I'll make a PR.

Note the magic of running karma proxy comes from the koa-karma-proxy package and the CLI line here:
$ karma-proxy run -r source-map-support/register --single-run

Which loads a karma.proxy.js file that contains the following fairly teensy config:
const Koa = require('koa');
const mount = require('koa-mount');
const staticFiles = require('koa-static');
const {nodeResolve} = require('koa-node-resolve');
const {esmTransform} = require('koa-esm-transform');

module.exports = (karma) =>
    new Koa()
        .use(esmTransform())
        .use(mount('/base', new Koa().use(nodeResolve()).use(staticFiles('.'))))
        .use(karma);

The advantage to this solution is that the middleware koa-esm-transform which is currently bundled as a .tgz file in the branch (will have a pre-release of it available on npm soon) actually modifies the context.html to support AMD versions of the ESM script tags encountered for browsers that don't support modules natively.  It also downgrades JavaScript based on whatever the browser can support automatically using babel + the browser-capabilities package that knows what features different user agent strings relate to.

cc @justinfagnani

If we can whittle this down to an near-zero-boilerplate solution it can solve for #652 and eventually could dovetail with the work of @daKmoR and open-wc to provide a solid dev + karma testing experience.
One nice thing here is that the static file server for the /base route means that karma doesn't have to watch any files in node_modules etc, unless of course that's desired.  The karma.conf.js in the switch-to-karma branch only defines:
    files: [
<EMAIL_ADDRESS>      {pattern: 'test/lit-element_test.js', type: 'module'},
      {pattern: 'test/lit-element_styling_test.js', type: 'module'},
      {pattern: 'test/lib/decorators_test.js', type: 'module'},
      {pattern: 'test/lib/updating-element_test.js', type: 'module'}
    ],

You can track release of the koa-esm-transform package at this PR which contains the WIP code and a TODO list https://github.com/Polymer/koa-esm-transform/pull/1

Progress update:

koa-esm-transform was released and works well.  It has zero performance optimizations or caching at present, so its performing at maximum slowness until/unless these are addressed.
koa-node-resolve uses babel parsing and may be slower than other techniques, such as picking a simplified lexer optimized for targeting module specifiers only.
mocha-sub library is currently in development that will enable expressing "child" runs of other html documents containing mocha suites will enable continuance of the polyfill permutation testing strategy.

Once mocha-sub is in and the polyfill test invocations can be parallelized or at least run within the same karma invocation the overall execution time of the karma run should come back down to something reasonable/closer-to-what-it-is-right-now ~4 mins.  (On Travis right now, the karma branch runs about 12 minutes because it runs karma 4 times, one for each polyfill flag combination.)


IME with wayland chromium apps on GNOME isn't working - 2024-10-15~

Often occurred, but especially appeared since #688 :thinking:
https://github.com/electron/electron/issues/33662
https://gitlab.gnome.org/GNOME/mutter/-/issues/3200
https://github.com/microsoft/vscode/issues/167757

https://github.com/electron/electron/issues/33662#issuecomment-2299180561
Require Chrome 130 and Electron 33.0.0. So I plan to address this issue after 2024-10-15

This problem also blocks to use obsidian in https://github.com/kachick/dotfiles/issues/729 https://github.com/kachick/times_kachick/issues/305#issuecomment-2395943341


Add dotglob for globbing in hack/gen-content.sh

We are using hack/gen-content.sh for https://fluxcd.io as well and recently added dotglob for globbing to allow us pulling in https://github.com/fluxcd/.github/ as you can see in https://github.com/fluxcd/website/blob/main/external-sources/fluxcd/.github.

/assign @mrbobbytables

/approve
Thanks!


[17.1.5] as a user I expect the category filter to stick even when changing tabs

As a user I expect the category filter to stick even when changing tabs.
I open the Floating tab and limit my view to rules in the NTP category, I then click on the LAN interface tab. I now see all rules for the interface instead of only those of the NTP category as I would expect.

Hey Add, can this be applied on top of 17.1.8?
I ran opnsense-patch d5ceec2 but the selected categories are still not remembered when changing between the interface tabs.

also need 	e660269

Yep, that was it, I was missing  e660269. Working fine with both applied 👍


Isolate type rules for conjunction types

Is your feature request related to a problem? Please describe.
It would be nice to share a minimal implementation of conjunction types that could be applied to a generic functional language.

Introduction
Inference
Subtyping
Projection

Introduction
$$\frac{\Gamma,x:A,x:B}{x:A+B}$$

PunC


[BUG] React SDK suspends after useEffect rather than during a component's first render, causing components to flicker

Observed behavior
The current implementation of Suspense in the React SDK seems kind of buggy.
A component is meant to suspend during rendering, but the React SDK makes the component suspend after the inital render, after running useEffect.
This not only breaks React APIs like startTransition, but it leads to a noticeable "blinking" effect.

So, the current behavior seems to be:

Component renders once, very quickly, with invalid values, while the Provider is not NOT_READY.
useEffect runs, sets the state to a function that throws a promise.
Component rerenders and suspend (because it suspends in the second render, it's too late for startTransition to work now ❌)
Component renders again, once the Provider is READY.

Expected Behavior
A component should suspend immediatly during its first render, not in a second render after the effects have fired.
Steps to reproduce
CodeSandbox: https://codesandbox.io/embed/openfeature-suspense-bug-5j7yll?fontsize=14&hidenavigation=1&theme=dark
The test in /packages/react/test/provider.spec.tsx show a false positive, because React Testing Library only shows the state of the DOM after the effects have run.
To make sure that the '👎' truly never appears, we can add a mutable variable that tracks wether or not the component suspend properly. If the component suspends properly, isReady will never be false, because useWhenProviderReady should suspend before the function completes.
Here is a modified version of the 'should suspend until ready and then return provider status' test that catches the component not suspending properly:
it('should suspend until ready and then return provider status', async () => {
  OpenFeature.setProvider(SUSPENSE_ON, suspendingProvider());

  let renderedWhileNotReady = false;

  function Component() {
    const isReady = useWhenProviderReady();

    if (!isReady) {
      renderedWhileNotReady = true;
    }

    return (
      <>

{isReady ? '👍' : '👎'}

      </>
    );
  }

  render(
    <OpenFeatureProvider domain={SUSPENSE_ON}>
      <React.Suspense fallback={
{FALLBACK}
}>
        <Component></Component>
      </React.Suspense>
    </OpenFeatureProvider>,
  );

  // should see fallback initially
  expect(renderedWhileNotReady).toBe(false);
  expect(screen.queryByText('👎')).not.toBeVisible();
  expect(screen.queryByText(FALLBACK)).toBeInTheDocument();
  // eventually we should the value
  await waitFor(() => expect(screen.queryByText('👍')).toBeVisible(), { timeout: DELAY * 2 });
});

One question I have:

Is there a reason why Suspense was implemented by throwing a promise in a set function, rather than throwing the promise during the rendering phase of the component?

I was not aware of this method of triggering suspense.
Should we consider reimplementing suspense in a way that aligns with the upcoming use() hook?

Hey @tjosepo . Thanks for the report and reproduction. You're right about this. I have a fix locally, but I want to check a few other things out to be sure it's working as expected.

Is there a reason why Suspense was implemented by throwing a promise in an updater function, rather than throwing the promise during the rendering phase of the component?
I was not aware of this method of triggering suspense, so I might be missing some context here.

Well, in our case there is no component, only hooks, but we can throw a promise from the hook body immediately (not in the updater function useEffect), which is the approach I've taken in my fix... maybe that's what you meant?
Stay tuned, I'll have a fix soon I think and add you to the PR.

Great!
I opened a draft PR with a potential fix, that also supports startTransition().
Feel free to dismiss the PR if you already have a fix.

Great!
I opened a draft PR with a potential fix, that also supports startTransition().
Feel free to dismiss the PR if you already have a fix.

No, no, no, you've done a great job. We've basically done the same thing but so far your code looks clearer. Please continue, I will happily accept your PR.

I'm assigning you for now, if you can't finish, let me know and I will take over.


conf: disable user-ns for several allwinner DTs

Disable user namespacing for Orange Pi One, NanoPi Neo Air, Orange Pi
Zero, Orange Pi Plus 2, and Banana Pi M1+ to match upstream behavior.
Change-type: patch
Signed-off-by: Joseph Kogut<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Leaving user-ns disabled by default for all platforms: https://github.com/balena-os/meta-balena/pull/2328


test/utils/*: use described_class or named subject

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

This PR changes some tests in test/utils to use described_class or a named subject in order to fix the RSpec/NamedSubject style error
I also updated test/.rubocop_todo.yml by running brew rubocop --auto-gen-config --exclude-limit 100 in the test directory

Review period will end on 2021-01-12 at 20:36:13 UTC.

Review period will end on 2021-01-12 at 20:36:13 UTC.

Review period ended.

Review period ended.


Failed to load entry from component (IE)

I get this error running on IE, works fine on Chrome et al.
[SPLoaderError.loadComponentError]:
***Failed to load component "3aac0bde-0ef1-46a1-a7f4-216112d395d5" (CompactCustomListWebPart). Original error: ***Failed to load entry point from component "3aac0bde-0ef1-46a1-a7f4-216112d395d5" (CompactCustomListWebPart). Original error: Error loading https://component-id.invalid/3aac0bde-0ef1-46a1-a7f4-216112d395d5_0.0.1
 https://component-id.invalid/3aac0bde-0ef1-46a1-a7f4-216112d395d5_0.0.1 did not call System.register or AMD define. If loading a global module configure the global name via the meta exports property for script injection support.

***INNERERROR:
***Failed to load entry point from component "3aac0bde-0ef1-46a1-a7f4-216112d395d5" (CompactCustomListWebPart). Original error: Error loading https://component-id.invalid/3aac0bde-0ef1-46a1-a7f4-216112d395d5_0.0.1
 https://component-id.invalid/3aac0bde-0ef1-46a1-a7f4-216112d395d5_0.0.1 did not call System.register or AMD define. If loading a global module configure the global name via the meta exports property for script injection support.
***CALLSTACK:
Error
   at t._generateErrorStackForIE (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:4:53963)
   at t (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:4:53499)
   at t (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:20:118832)
   at e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:20:128525)
   at e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:20:124550)
   at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:20:115044)
   at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:1:16156)
   at F (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:1:16132)
   at C (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:1:15977)
   at B (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_en-us_6c1243ef07241a9f41fe54d8c7adbc98.js:1:15565)

I have incorporated gulp clean into the build script so it always cleans before builds.
Someone suggested that the external CDN reference to Fabric was causing this issue? How would I bundle it myself?
Perhaps it is the sp web pnp js import that uses newer stuff - do I need to add poly fill to every tsx file that uses sp, or only the mainwebpart.ts?  import '@pnp/polyfill-ie11';
(https://pnp.github.io/pnpjs/documentation/polyfill/)

Go to IE11 console, you should find correct error message there. Mine was caused by using RegExp syntax not supported by IE11 and interestingly the topmost error sawn by the users was that confusing HTTPS error.

@robiharid did @jpalo 's answer help you with your issues?
I'll mark this as closed, but feel free to re-open it if you need more help.
Thanks @jpalo  for your help with this.


Passcore API

Hi, passcore solves an important problem by providing a web interface to change users password.
It also does some effort integrating into 3th party applications by allowing to set the user inside the URL.
My question may be out of scope (but still serves the same goal).
I would like to request to be able to change the password of the user using a single HTTP(s) POST call to the service. One could integrate the application directly into a 3th party application using a standard JSON to provide the username/previous password/new password.

Yes, you can. You can check the HTTP Post here. You only need serialize with JSON a ChangePasswordModel to use it.
The only downside is that you have to disable Recaptcha.
Usually, you will send the following HTTP Post request to /api/password:
{
	"username": "",
	"currentPassword": "",
	"newPassword": "",
	"newPasswordVerify": ""
}


Fix functions listing all theme resources

Fix functions get_<resource>_list in Theme currently returning vector
of double-the-necessary size with the first half completely empty.
Fix #33424
Thanks for the heads-up @Xrayez 🙂

Not quite sure what is this clang-format error supposed to mean 🤔
*** The following differences were found between the code to commit and the clang-format rules:
--- a/scene/resources/theme.cpp	2019-11-08 23:33:02.831637313 +0000
+++ b/scene/resources/theme.cpp	2019-11-08 23:33:11.234705889 +0000
@@ -45,7 +45,7 @@
 	get_icon_list(p_type, &il);
 	ilret.resize(il.size());

-	int i = 0;
+	int i = 0;
 	PoolVector<String>::Write w = ilret.write();
 	for (List<StringName>::Element *E = il.front(); E; E = E->next(), i++) {
 		w[i] = E->get();
*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i <hash>'

Trailing space in that line. (Select text to see it.)

Thanks @akien-mga, you're a lifesaver as always! 😀 Should be good now.

Thanks!


How to fetch data from Mysql DB to Chartist chart

Hey, i am beginner i need help, plz let me know how i can fetch data from database table to show data in graph like line or bar or pie graphs. I need a small tutorial which shows to fetch data from db and generate graphs using Chartist.js thanks

Hello @brohisoft 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the question is still relevant to you so we can look into it further!


Added redact method to agora.py

Support redact of methods/configurations from Methods Repository
Converted required option arguments in 'pull' to positional arguments to save user some typing.
Also implemented support for onlyPayload query parameter in 'pull'
Only Agora methods missing now are those related to namespace and entity permissions

added a trivial comment. everything else :+1:


Clarify concurrency topic

Please clarify the concurrency topic; it's not so clear for someone who hasn't a dev background like me.
From what I understood, one function app instance can execute only one function at a time, due to PS worker limits. To increase this value, I should change the PSWorkerInProcConcurrencyUpperBound parameter, which opens multiple PS runspaces in parallel.
In a scenario where a storage queue triggers a function, is there any advice on how to scale out the execution on different instances, instead of executing more PS workers on a single one? I usually work with tens of messages, and with these volumes, I found horizontal scalability doesn't work well with default parameters on a consumption plan. Also, I had trouble with PSWorkerInProcConcurrencyUpperBound and consumption plan, so I had to switch to a dedicated one.
What about using Start-ThreadJob instead of using PSWorkerInProcConcurrencyUpperBound to parallelize executions inside a single instance? Is it a viable solution?
Thanks,
Marco

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

ID: efae763f-03a9-b3b0-e7ad-52f9b1559438
Version Independent ID: 2afd9c78-e5b0-5d34-b809-47d9576399d0
Content: PowerShell developer reference for Azure Functions
Content Source: articles/azure-functions/functions-reference-powershell.md
Service: azure-functions
GitHub Login: @eamonoreilly
Microsoft Alias: glenga

For consumption, you can set this PSWorkerInProcConcurrencyUpperBound  app setting to perhaps around 10 (depending on the load of the PS script), and then let horizontal scaling kick in to process any additional items that might be queued (storage queues or http). I think this would start to give you the best of both worlds where you gain more efficiency on the worker but also take advantage of the scaling platform.
You can use start-thread but it is only recommended if you are doing other tasks in the function that are not part of the trigger. It will not enable additional throughput of triggers unless you kick off the thread and return from the function but then there is no guarantee on that thread continuing to run. This may be ok in some situations.
If you need to do some additional processing or the tasks takes more than 10 minutes, I would recommend the premium plan for functions but the approach would be the same.
Thanks,
Eamon

Hi all, does it work as described (under consumption plan): one call = one instance. It means no problem with concurrency. If there are 5 calls it'd create 5 instances.  I have some PS functions and never found any problems. it just works. Now I'm a bit freak out what is the problem here?


use one data path

Right now we have this in config
networkPath = .../genotet_data/network/
bindingPath = .../genotet_data/binding/
expressionPath = .../genotet_data/expression/
bigWigToWigPath = .../genotet_data/bigWigToWig
uploadPath = .../genotet_data/upload/
bedPath = .../genotet_data/bed/
mappingPath = .../genotet_data/mapping/

But it seems to me that this is getting over complicated. I suggest we just do
dataPath = .../genotet_data/

and then we control all the stuffs under this folder, put them in respective folders.

Done.


Selecting python interpreter in PyCharm is slow

Issue description
The dialog box in PyCharm to select a python interpreter is a DoS attack on my computer. Presumably because it tries to display a very large Nix store.
I had to wait around 20 minutes for the listing to complete using a HDD.
This problem doesn't exist on e.g. Debian/Ubuntu.
Steps to reproduce
Open a new Python project and try to select an interpreter.
Technical details

System: 17.03.1858.3d04a557b7 (Gorilla)
Nixpkgs version: 8a1fb4b504d644e8a97394be74a3d3a6298fcbe7

Let's see whether I understand what your issue is.
When you create a project with PyCharm and you want to select an interpreter, you browse to one, e.g. through the Nix store for which loading all entries may take a long time. Is this the issue you're facing? If so, how is that a Nixpkgs issue? You may consider creating an out-link to your Python environment, e.g. nix-build -A python -o ~/myEnvs/mypython. I suggest doing that in any case.

I ran which python and copy pasted the result in the file selection widget in PyCharm while using KDE5. This action took around 20 minutes.

Regarding whether or not this is a NixOS issue or not, fact is that NixOS uses the filesystem in a way that not many applications can cope with.
As another example: dolphin /nix/store doesn't display a single file within 30 seconds.
One could say that HDDs are not supported on NixOS. I.e., you are required to buy a high IOPS device in order to use NixOS, but otherwise this is undesirable.

So, if which python refers to a store path (e.g. because you're in a Nix shell with Python), then yes, it takes very long. This is, however, a PyCharm issue. In any case, don't refer to store paths directly. Instead, create an out-link like I wrote in my previous post. That link you can put anywhere you want on your filesystem, and it won't be garbage-collected.

@FRidh I am using nix-shell (and don't use nix-build at all), which doesn't have a -o option. What should I do in that case?

Use nix-build to build whatever expression you use to create an environment. E.g., if you have a env.nix with
with import <nixpkgs> {};

python3.withPackages(ps: with ps; [
  numpy
  notebook
])

then you could run nix-build env.nix -o myenv and then it will create a link at myenv. This link you can then use in PyCharm.


Can I use Azure Data Factory to copy data from On Premise FTP Server to a VNet Isolated blob Storage Service?

If I limit my storage service's network to only be accessible from the VNet, I'm having an issue that Azure DataFactory is not able to create a connection to the file storage service ? Isn't DataFactory a trusted azure service?

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

ID: abf7e612-a8a4-ff95-2dd1-2c0eef051634
Version Independent ID: edd2ffa9-0b4b-42f6-a3fb-24ef25c9cdec
Content: Copy on-premises data by using the Azure Copy Data tool
Content Source: articles/data-factory/tutorial-hybrid-copy-data-tool.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@Nikhil-Srinidhi
Thanks for the feedback! We are currently investigating and will update you shortly.

@Nikhil-Srinidhi ADF is not on the trusted service list for Azure Storage firewall:
https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security#trusted-microsoft-services


Can not execute the operation on ended Span  opentelemetry-instrumentation-http

What version of OpenTelemetry are you using?
0.18.0
What version of Node are you using?
tested 12 and 14
Please provide the code you used to setup the OpenTelemetry SDK
export class SDK {
    static setup(): void {
        diag.setLogger(new DiagConsoleLogger(), logLevel[config.loggerLevel] || DEFAULT_LOG_LEVEL);

        const provider: NodeTracerProvider = new NodeTracerProvider();
        provider.register();

        registerInstrumentations({
            instrumentations: [
                new HttpInstrumentation(),
                new GrpcInstrumentation()
            ],
            tracerProvider: provider
        });
    }
}

What did you do?
http request call
What did you expect to see?
Span created and closed with all data set
What did you see instead?
Can not execute the operation on ended Span
Additional context
That happens because request close event fired before the response end event.
socketCloseListener might emits close event before readable steam ended.

Due to it, http instrumentation going to close Span
https://github.com/open-telemetry/opentelemetry-js/blob/357ec92e95e03b4d2309c65ffb17d06105985628/experimental/packages/opentelemetry-instrumentation-http/src/http.ts#L344
Response end event will set Span status, that will lead to ended span issue.
https://github.com/open-telemetry/opentelemetry-js/blob/357ec92e95e03b4d2309c65ffb17d06105985628/experimental/packages/opentelemetry-instrumentation-http/src/http.ts#L317
It might be tricky to reproduce, as I see it relay on response content size. In most cases, request close event is fired after response end. I was lucky to reproduce it.
There is some logic in a stream implementation.

Possible solution
Request end event might be changed with a close event.
https://github.com/open-telemetry/opentelemetry-js/blob/357ec92e95e03b4d2309c65ffb17d06105985628/experimental/packages/opentelemetry-instrumentation-http/src/http.ts#L307
Response close event will be fired after request close by socketCloseListener implementation.
Lines: 389 and 393

Related items
https://github.com/open-telemetry/opentelemetry-js/pull/2126

Hi guys, is there any news ?
@dyladan @vmarchaud @bogdandrutu

@vmarchaud pinged the wrong bogdan. I think he meant to ask if you @bogdanoliinyk want to make a PR

I think he meant to ask if you @bogdanoliinyk want to make a PR

Yep, github username suggestions sometimes betray me :)

I'm hitting this (I think), but I'm unable to consistently reproduce. In our case it happens with the https instrumentation when fetching data from GCS

By adding some logging, I can see it's the same response.on('end', () => { call identified in the OP. Using 18.14.1, so still an issue in the latest LTS (at the time of writing)

I did rewrite the old plugin to the new instrumentation system but i didn't write the original code which i'm pretty sure was ported from opencensus. From what i read here (https://nodejs.org/api/net.html#event-end), the end event indeed is fired when we can't read anymore from it but it can still be written to. Updating it to close looks fine to me.
EDIT: @bogdandrutu Do you want/have the time to make a PR to fix this ?
PS: thanks for the detailed bug report, really appreciated

The docs listed here are for the net socket. Are these events emitted on the request/response from http? They're not listed in https://nodejs.org/api/http.html#httprequesturl-options-callback


agent: mount blockdevices in the guest VM

This mount blockdevices in the guest VM instead of passing them through
Fixes: #406
Signed-off-by: l00413982<EMAIL_ADDRESS>

/test

@zklei I don't think the issue you raised is valid. If you run docker with runc, and if you use a block device, here is the expected behavior:
$ docker run -it --rm --runtime runc -v /dev/sdb:/mnt/data busybox
/ # ls -la /mnt/
total 0
drwxr-xr-x    2 root     root            18 Nov  5 15:29 .
drwxr-xr-x   13 root     root           148 Nov  5 15:29 ..
brw-rw----    1 root     disk      253,   2 Nov  5 15:27 data

Now here is the result you can get with Kata:
$ docker run -it --rm --runtime kata-runtime -v /dev/sdb:/mnt/data busybox
/ # ls -la /mnt/
total 0
drwxr-xr-x    2 root     root            18 Nov  5 15:30 .
drwxr-xr-x   13 root     root           148 Nov  5 15:30 ..
brw-rw----    1 root     disk        8,  16 Nov  5 15:30 data

Kata Containers behavior has been implemented to fit what's expected with runc.

/test

@sboeuf
First of all, It's a very useful case in production env~
And considering user's feeling, it's just comfortable for them to using the block device context immediately without mount device in container for another time.
Talking about fit with runc, it's completelyright~
Why don‘t we add a config flag in toml,(default is disable this feature) and let users to decide to use this
feature?
/cc @bergwolf @grahamwhaley  @WeiZhang555 @lifupan

@sboeuf
We discussed this before in https://github.com/kata-containers/runtime/issues/571#issuecomment-418575708 but didn't reach a conclusion, in that comment, I described the scenario in detail.
This is kind of breakage of runc compatibility as @bergwolf said (another ref: https://github.com/kata-containers/runtime/pull/882#issuecomment-435880738) but it's useful, I think we can treat this as a special extention from kata.

@sboeuf
First of all, It's a very useful case in production env~
And considering user's feeling, it's just comfortable for them to using the block device context immediately without mount device in container for another time.
Talking about fit with runc, it's completely right~ And I agree with you on that point.
Why not we add a config flag in toml,(default is disable this feature) and let users to decide to use this
feature?
/cc @bergwolf @grahamwhaley @WeiZhang555 @lifupan

@jshachm Really a good idea, i have updated my PR.

/test

I'm happy with the idea of a config option that is off by default :-)
I suspect we should also add some documentation to this PR somewhere - if we are adding a feature or config option, we need that detailed somewhere. But, I admit, we may not have an appropriate place for that right now in the docs. Let's debate...

@grahamwhaley
Great that you like this idea. Talking about docs, I walked across the documentation repo,  can't find an appropriate place  to place this -_- sign......
Considering the fact that as  oci-runtime-spec Implementations shows, kata-runtime has been one part of Runtime (Virtual Machine), so it's great to have some unique features not the same as runc which make users easier to play with container.And the great news is that we have a nice config toml.
So I suggest to add a total new doc about the usage of config toml which lays in the  section more-user-guides, and talk about the config options.
Notice that , we should point out the options that will make runtime not compact with what runc did,such as here we get disable_new_netns  and we can't support CNM network. Also here we get enable_blk_mount_in_vm, we no longer support runc's action.
What do you think about this~~ ^_^

@zklei ping (from your weekly Kata herder)

This is still marked as dnm - is that still correct?
Regarding docs, @grahamwhaley recently created https://github.com/kata-containers/documentation/wiki/UserGuide which we're planning to update, then land on https://github.com/kata-containers/documentation/pull/312.

Any update on this @zklei?

@zklei Any progress here?? (from your weekly kata herder.)

@zklei what's the status of this PR? Did you add the equivalent PR on the runtime repo side?

Ping @zklei - are you still planning on working on this?

Final ping to @zklei. If we don't hear back this week, we'll close this PR (but feel free to re-open if you wish).

@zklei @caoruidong @jshachm - is this a feature you are still interested in having/landing in Kata btw? Let us know, or eventually we will have to close this PR as stagnant. Thanks!

/cc @WeiZhang555 as well...

@zklei any updates? Thx!

I think we can close it for now.


Release V06x into master

Detailed changelog to accompany the release.
Mostly testing and test generator enhancements

For v0.6.2 changelog:
- `ssz_static` test-case format is changed to facilitate more efficient parsing. The SSZ type is specified in the key now.


AutoML throws TypeError: 'int' object does not support item assignment

My code (nothing fancy):
    automl = AutoML()
    model = automl.fit(
        X_train,
        y_train,
        task="classification",
        metric="roc_auc",
        time_budget=600,
        n_jobs=16,
        n_concurrent_trials=12,
    )

Stack trace:
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/automl.py", line 2308, in fit
    self._search()
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/automl.py", line 2854, in _search
    self._search_parallel()
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/automl.py", line 2448, in _search_parallel
    **self._use_ray if isinstance(self._use_ray, dict) else {},
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/tune.py", line 672, in run
    runner.step()
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 765, in step
    next_trial = self._update_trial_queue_and_get_next_trial()
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 698, in _update_trial_queue_and_get_next_trial
    next_trial = self._get_next_trial()  # blocking
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 953, in _get_next_trial
    self._update_trial_queue(blocking=wait_for_trial)
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 1309, in _update_trial_queue
    trial = self._search_alg.next_trial()
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/suggest/search_generator.py", line 99, in next_trial
    self._experiment.spec, self._experiment.dir_name
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/suggest/search_generator.py", line 108, in create_trial_if_possible
    suggested_config = self.searcher.suggest(trial_id)
  File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/tune/suggest/suggestion.py", line 529, in suggest
    suggestion = self.searcher.suggest(trial_id)
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/searcher/blendsearch.py", line 663, in suggest
    init_config, self._ls_bound_min, self._ls_bound_max
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/searcher/flow2.py", line 244, in complete_config
    partial_config, self.space, self, disturb, lower, upper
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/tune/space.py", line 514, in complete_config
    config = denormalize(normalized, space, config, normalized, flow2._random)
  File "/home/ray/anaconda3/lib/python3.7/site-packages/flaml/tune/space.py", line 374, in denormalize
    point["_choice_"] = choice
TypeError: 'int' object does not support item assignment

Relevant culprit code:
https://github.com/microsoft/FLAML/blob/main/flaml/tune/space.py#L373-L374
It looks like point is set to an integer and on the very next line is treated differently.

Thanks for finding this bug. I'm trying to reproduce it.

A couple of observations that may help with reproducing on your end:

It happens specifically in the distributed setting with Ray.
It's happening with smaller sized datasets that have a mix of number and binary features.
It seems to be non-deterministic -- rerunning without changing anything sometimes works, and the trial that it causes the failure also varies.

                        config_denorm[key] = point = value[choice]
                        point["_choice_"] = choice

value[choice] is supposed to be a dict here. If it's not, the next line will fail. I haven't been able to reproduce that bug. Could you add print(key, value, choice) between these two lines and share the output with me? That would help me identify the cause. Thanks!

print(key, value, choice)

I'm able to reproduce that bug now.


Display hourly updated daily changed via contract-metrics sum

What do you think of this persistent, revalidated state strategy? I took setState out of the return because I'm ignoring undefined states because when savedValue was read with a non-null saved value, the useEffect would overwrite it with undefined. In usePersistentState this wouldn't happen but I'm not sure why.
I'm going to merge this now for the improvement to the daily changed status but still curious to absorb your knowledge on this code.

Maybe a better solution would be to only render the component once (e.g. on top of all the cards, fixed to the top right corner) and then you could switch to the strategy of fetching new data once for each instance of the component.

I didn't like this just bc it would still mean we're getting essentially the same data over and over as the user moves around the site - in this case to their profile and back to swipe, (and to where ever we add the component in the future). This hook could be useful elsewhere, too: we can add a data-hungry component wherever we want without worrying about re-fetching data on every re-load.


Cactus blocks are marked as "treechop:choppables"

Structurize adds the "minecraft:logs" tag, ignore this. Fixed through KubeJS code:
onEvent('block.tags', event => {   event.remove('minecraft:logs', 'minecraft:cactus') })

Structurize adds the "minecraft:logs" tag, ignore this. Fixed through KubeJS code:
onEvent('block.tags', event => {   event.remove('minecraft:logs', 'minecraft:cactus') })

Sweet! Thanks for figuring out the cause of this and finding a fix. Structurize might have a good reason for adding the tag to cactus blocks, so maybe it would be better to remove 'minecraft:cactus' from 'treechop:choppables'? Assuming KubeJS (I haven't used it before) removes 'minecraft:cactus' after 'treechop:choppables' has been baked into the block tags.

Sweet! Thanks for figuring out the cause of this and finding a fix. Structurize might have a good reason for adding the tag to cactus blocks, so maybe it would be better to remove 'minecraft:cactus' from 'treechop:choppables'? Assuming KubeJS (I haven't used it before) removes 'minecraft:cactus' after 'treechop:choppables' has been baked into the block tags.

I tried this and troubleshooted with the dev of KubeJS for like 30 minutes before realizing that this mod requires a block to be tagged with 'minecraft:logs' in order for it to be tagged with 'treechop:choppables'. I then learned that, like you said, KubeJS can't remove a tag if said tag depends on another tag. Cheers man, this is easily the best implementation of a tree chopping mod

I tried this and troubleshooted with the dev of KubeJS for like 30 minutes before realizing that this mod requires a block to be tagged with 'minecraft:logs' in order for it to be tagged with 'treechop:choppables'. I then learned that, like you said, KubeJS can't remove a tag if said tag depends on another tag. Cheers man, this is easily the best implementation of a tree chopping mod


Add optional tags to resource

Updates to variables.tf and main.tf to accept tags if provided to the module and apply the tag to public gateways created.
Signed-off-by: Tim Robinson<EMAIL_ADDRESS>

The verify jobs are running with success in my org:
https://github.com/timroster/terraform-ibm-vpc-gateways/pull/1#partial-pull-merging

These changes were merged in #22


invalid link to cli-install in the guide

Following section PDF has an error on link:
Installing Zowe CLI
As a systems programmer or application developer, you install Zowe CLI on your PC.
Methods to install Zowe CLI
You can use either of the following me

Hello @likepunk -  Thank you for alerting us about the issue. It appears that many links on the aforementioned page are also broken.  We're researching the issue as we speak. Stay tuned...

Hi @nannanli - We're finding other links in the PDF that function properly in the docs-site that dont function in the PDF.  Perhaps you might want to review the article that you authored and verify the links in the PDF.  Example: https://github.com/zowe/docs-site/blob/master/docs/user-guide/install-zos.md. See the second sentence.
thx,
jb

I think that this is related to markdown anchors not converting properly into PDF. Although the example that @JamesBauman referenced above does not use an #anchor, so I'm not sure why that link doesn't work.
When I click on some of the links in the PDF, it seems that the link is trying to access an .html file on my own local file system, like a relative link within my folders. It seems that the PDF is not being fully build correctly.

Hi Ashley @nannanli ... We (actually, @BrandonJenkins14) experimented with different methods of creating markdown links that function properly in the PDF. The docs-site still publishes with working links, but sadly, our (@BrandonJenkins14 ) efforts have proved to be fruitless.  Is there anything that you can do to investigate this issue from your end? You most likely have more knowledge of the underlying mechanics in the MD > PDF conversion process than Brandon and I.
Thanks!!!!
jb

There are three types of linking within PDF. The links we use are standard MD syntax and all the links work correctly in HTML format on the doc site. However, when converted to PDF, its found that:
For cross-document reference:

When linking to another MD file, it works. For example, [Obtain the Zowe installation files](gettingstarted.md)
When linking to a certain section in another MD file, it does not work. For example:  [Install Zowe CLI from local packag](cli-installcli.html#installing-zowe-cli-from-local-package) or [Install Zowe CLI from local packag](cli-installcli.md#installing-zowe-cli-from-local-package)

For intra-document links (Link to sections within the same MD file)
3. When linking to the section within the same MD file, it does not work. For example, [Display Zowe CLI Help](#displaying-zowe-cli-help)
The reported links use intra-document links which the PDF generator cannot correctly parse the part after #.
@JamesBauman @BrandonJenkins14  I think the tag  should work (this is what I see AWS doc is using on their site) but as shown in our PDF output, it's not working as expected. Perhaps some configurations are needed on the DCS build. Will let @chentingcathy to take a look to confirm.

An update on this issue: We changed the way to generate the PDF file which nw resolves the broken link issue. In 0.9.5, the PDF will be published using this new method and a test PDF is now available for view here: https://github.com/zowe/docs-site/blob/gh-pages/.pdf/out/Zowe_Documentation.pdf. For older releases, we'll try to regenerate the PDFs.
Closing this issue now. Please reopen as needed. Thanks!


Parameterless method retrieveSync() does not exist in RequestSpec

This leads to a compiler error:
Project project = graphQlClient.documentName("projectReleases")
		.variable("slug", "spring-framework")
		.retrieveSync()
		.toEntity(Project.class);

https://github.com/spring-projects/spring-graphql/blob/137d12ef70890fed790b2683606852778c0a3c31/spring-graphql-docs/modules/ROOT/pages/client.adoc?plain=1#L473

Thanks for letting us know @ullenboom - I've moved both "client" and "testing" sections to compiled code snippets to avoid this situation in the future. Changes should be reflected shorty here: https://docs.spring.io/spring-graphql/reference/1.3-SNAPSHOT/client.html


NIFI-4802 Added character configuration to PutSQS

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Build failure seems to be unrelated to the actual change.

Reviewing...

@jvwing Thanks for the feedback. I will soon publish an update.

Is it possible to also add the endpoint override property descriptor issue?
https://issues.apache.org/jira/browse/NIFI-5450


Enhancement: show "reserve" setting in main graph

Enhancement: show "reserve" setting in main graph
I modify the reserve setting a lot depending on weather to support being self-powered as much as possible (but still having safety buffer in case of an outage that I know I can recover the next day based on Solar).
It would be useful to know what the setting is/was when doing some analysis and looking at the graph.
I know the main graph is pretty busy, so not sure how best to incorporate this.

Thats a good request @mp09 !  I have a script that I use to monitor my system and adjust the reserve to ensure I don't use any grid power during our peak TOU. 😁  It would be nice to see what settings it is using and how it trends throughout the day, etc.
Thankfully, we have telegraf polling for that data already via http://pypowerwall:8675/pod:
{ "backup_reserve_percent": 20.0 }

I used that set it up on the main (busy) display:

The query:

With these overrides:

But there is a problem. Currently backup_reserve_percent is only set for a 3 day retention.  If we want to keep it around longer than that, we will need to create a continuous query (CQ) to downsample the data and store it in one of the infinite retention policy buckets.
Let me know what you think or would want to see.

Great idea.
I have a script (OK, I'll admit it, it's a windows service written in VB.Net) that manages my SoC for me.  For about 8 months of the year, it sits there twiddling its virtual thumbs, but in winter it gets a workout when I don't have enough sun to charge the Powerwall to see me through peak.
That's when the service charges from the grid, based on Solcast insolation forecasts, Peak consumption load forecast, and current SoC.
Right now it outputs its plans to a PowerBI (that's where it is also streaming live data - a bit of a legacy which I haven't shut down) page formatted to display on my phone, which includes the charge plan:

What should be happening as charging is required is that the Backup Reserve should be increasing to the Required SOC to force the Powerwall to charge from the grid, ahead of the commencement of Peak at 3pm.
So showing SOC on the chart will be really helpful.
The other thing that the service does is if tomorrow's insolation is unlikely to be enough to meet both peak and off-peak consumption, it puts the Powerwall into standby - by setting the backup reserve to the current SoC.  That avoids wasting the roughly 10% of energy lost in round trip losses that would otherwise be lost discharging the battery, only to re-charge it later.
So, for me, I can solve my immediate need immediately, by adding the Reserve Setting to the graph.
But, as with all things, it would be nice, in hindsight, to know what the setting was back in time, so a CQ would sort of be nice, but really of minimal interest.  I know, after five year, that my algorithm gets it pretty right.  It rarely charges when it doesn't have to, it rarely charges too much (and exports at a far lower rate than the cost of grid supplied power), and rarely charges too little (and needs to import expensive peak power).
In time, I'll probably replace PowerBI entirely, and also work out how to have the charge intent and load forecasts show up on the Powerwall Dashboard.

Awesome @BJReplay !   Are you willing to share your algorithm? 😁
I'll put in a TODO to add the CQ's for the Reserve setting.
*SOC = State of Charge and is represented on the "Energy Usage" graph as "Charge".

Are you willing to share your algorithm?

Ha, sort of.  It's been open source for about five years 😉 https://github.com/BJReplay/PowerwallService
I'm running that version, but with some tweaks:

I've pulled in a local copy of https://github.com/BJReplay/TeslaAuth forked from the excellent work that @tomhollander did with https://github.com/tomhollander/TeslaAuth to work around a library version clash.
I'm running a version (not yet open source) that using heating degree days and cooling degree days (HDDs / CDDs) and weather forecast to adjust the forecast consumption.  The main reason that's not open source is that it requires a decent regression model of your house's response to temperature to be usable, and that, in turn, needs a steady state or corrected consumption history.
That has the effect of adding around 0.5kWh per 1°C above (in summer) or below (in winter) the maximum or minimum temperature on hot or cold days to the forecast peak load.
That said, the load forecast is pretty good - it's the simplest same time last year adjusted by recent experience, and that turns out to be much better than anything more complex.
What can throw it out is changing occupation (e.g. working from home - COVID19 for example), but the learning from recent experience factor relatively quickly corrects that.

Just noticed this for the first time as we had a multiple hour power outage last night and saw this today.

Nice!


(FACT-1341) Ensure facter handles unicode in search

Prior to this commit, there was no test to make sure that facter
will not throw and unhandled exception when a path contains
unicode characters in Windows. The fix for this bug was actually
merged into leatherman, but we want to ensure that the issue does
not occur in facter by adding a test.

Closing this to reopen against stable


query results within a table?

I'd like to be able to display 3 query results side by side, within a table, but the market restrictions seems to conflict.  Is there a way to accomplish that?  each of the queries are a flat list with a single column.

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

ID: 29f1e43f-a069-dd88-7fc7-9cc497fb94f0
Version Independent ID: c261afa7-6eb7-b3f0-9f92-6d2f3c5ac336
Content: Markdown syntax for wikis in Azure DevOps - Azure DevOps
Content Source: docs/project/wiki/wiki-markdown-guidance.md
Product: devops
Technology: devops-collab
GitHub Login: @chcomley
Microsoft Alias: chcomley

unable to add labels after the fact, so don't want it to get lost in the shuffle.


Update meshlab.rb

After making all changes to the cask:

[X] brew cask audit --download {{cask_file}} is error-free.
[X] brew cask style --fix {{cask_file}} reports no offenses.
[X] The commit message includes the cask’s name and version.

Closes https://github.com/caskroom/homebrew-cask/issues/30783.

Closing in favour of https://github.com/caskroom/homebrew-cask/pull/30785.


KAFKA-4878: Improved Invalid Connect Config Error Message

Addresses for https://issues.apache.org/jira/browse/KAFKA-4878

Adjusted the error message to explicitly state errors and their number
Dried up the logic for generating the message between standalone and distributed

Example
messed up two config keys in the file source config:
namse=local-file-source
connector.class=FileStreamSource
tasks.max=1
fisle=test.txt
topic=connect-test
```

Produces:

```
[2017-03-22 08:57:11,896] ERROR Stopping after connector error (org.apache.kafka.connect.cli.ConnectStandalone:99)
java.util.concurrent.ExecutionException: org.apache.kafka.connect.runtime.rest.errors.BadRequestException: Connector configuration is invalid and contains the following 2 error(s):
Missing required configuration "file" which has no default value.
Missing required configuration "name" which has no default value.
You can also find the above list of errors at the endpoint `/{connectorType}/config/validate`
```

@gwenshap FYI, let me know if this is what you were looking for :)

@gwenshap ping :)

@gwenshap sure no problem, will do in a few hours :)

Thanks! waiting for the build failures to get cleared before retesting.

@gwenshap alright, found a valid test for this at last :) See if you're ok with that one. Judging by the other tests around that class, it looks like there isn't really an easier way to do this right?

@gwenshap looks like the added test introduced an instability from the looks of the 2.11 run. Don't waste your time on this yet. Will look into this now, this shouldn't be hard to track down and fix with the shared state between tests in that code being pretty straight forward :) => on it :)

@gwenshap stable at last :)

@gwenshap ping, I think the test illustrates the issue properly now :)

Thank you! I'm not super fluent with EasyMock, so I can't really review the test. Perhaps @kkonstantine or @ewencp can check when they have time...

@ewencp @kkonstantine thanks for the review ! :) On it fixing the points you found :)

@ewencp @kkonstantine alright I think I got all comments addressed now :)

Merged to trunk and 0.10.2. This will be included in <IP_ADDRESS>. Thank you for contributing!

@kkonstantine @gwenshap np :)


CPU LOAD IS VERY HIGH

hello, thank you for your excellent work.
when I run your code on my server, it takes so much CPU memory. it is strange. do you have any idea about this question?
hope for your reply!

Hi,
I do manage to run this code 8 times in parallel with a single CPU, so I don't suffer from too much CPU memory.
But, I did notice that Pytorch loaders by default create many threads that might make it hard for the CPU. So in this case I would try to force a limit on the created threads or set pin_memory=False, you can check https://github.com/pytorch/pytorch/issues/24809 .


Add Vibration

Such a sweet little module 🐤

I hid the external for now. But we should probably make it consistent in the rest of the repo. I think modules from me have externals exposed and yours not :)


🐛 Content width has been define.

Define a content width under after_setup_theme hook that is required. Found many more issues in theme, love to contribute more.

Hi, thanks for your contribution. What would be the benefit of defining the content width in pixels?

Hi, thanks for responding. This post will help you in understanding content width.

@abdulwahab610 thanks for bringing this up, I didn't know about the $content_width theme feature.
After reviewing the codex page, I'm a bit against including this feature after reading this article linked from the codex: Why the content width wordpress global kinda sucks.
It seems it adds some unneeded behavior that at best can be ignored in a well designed theme and at worst could accidentally create conflicts and require workarounds for intended theme behavior, such as creating full-width elements for large screens that 'break' maximum content width.


code for installation on docker added

Signed-off-by: yahyakhn<EMAIL_ADDRESS>Description
This PR fixes #580
Notes for Reviewers
please check the logo which has been added for docker and if the code is right .
Signed commits

[x]  Yes, I signed my commits.

@yahyakhn fix the DCO sign-off error

Done

@yahyakhn there seems an error in Netlify CI/CD test such that we could not able to preview the website
Refer the logs https://app.netlify.com/sites/mesheryio-preview/deploys/616a9e665385ba000816006a

@yahyakhn there seems an error in Netlify CI/CD test such that we could not able to preview the website
Refer the logs https://app.netlify.com/sites/mesheryio-preview/deploys/616a9e665385ba000816006a

issue solved


CSUB-413: Test against testnet

Description of proposed changes:
Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #937 (7b3bb6c) into testnet (54e9f6c) will decrease coverage by 2.27%.
The diff coverage is 80.01%.

@@             Coverage Diff             @@
##           testnet     #937      +/-   ##
===========================================
- Coverage    79.97%   77.70%   -2.27%
===========================================
  Files           50       69      +19
  Lines        10056    10958     +902
===========================================
+ Hits          8042     8515     +473
- Misses        2014     2443     +429

Impacted Files
Coverage Δ

node/src/benchmarking.rs
0.00% <0.00%> (ø)

node/src/chain_spec.rs
0.00% <0.00%> (ø)

node/src/cli.rs
35.71% <0.00%> (+1.16%)
:arrow_up:

node/src/command.rs
0.00% <0.00%> (ø)

node/src/main.rs
16.66% <ø> (ø)

node/src/rpc.rs
0.00% <0.00%> (ø)

node/src/service.rs
0.00% <0.00%> (ø)

node/src/service/nonce_monitor.rs
0.00% <0.00%> (ø)

pallets/creditcoin/src/migrations/mod.rs
0.00% <0.00%> (ø)

pallets/creditcoin/src/migrations/v8.rs
0.00% <0.00%> (ø)

... and 90 more

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


bootstrap: checkout submodules if they are missing

Maybe we should simply use subtrees instead of tying code to deprecated and fragile Git specifics.

OK, then please see #593


Added export to EDL option

Now you can set "--edl true" and program will export file as EDL format. Then you can import .edl file to any video editor to automatically adjust the cuts.
This is much faster then rendering as video, becuase you don't have to work with frames at all.

Could you tell me about any video editor that supports this kind of EDL?
I tried it with Premiere and After Effects but none of those accepted it or were somewhat capable of using the file format properly

I used Davinchi Resolve and it worked excellent. I’m honestly surprised that AE and Pr does not support it.


Ability to depend on puppetlabs-create_resources

By adding a dummy class, we can require / include the puppetlabs-create_resources class to make sure the function will be available to abuse.
Some documentation/example that could be added:
case $::puppetversion {
    /^2.7/:   {}
    default:  {
        require puppetlabs-create_resources
    }
}

It doesn't quite work this way.

Pluginsync isn't discriminate whether you have this class included or not.
Functions only run on the puppet master, this provides no real value on the agent, unless you apply manifests on the agent rather than catalogs.
You would only install this module for Puppet master below 2.7.0.

Hm, I'll try to investigate a little further then on why it failed for me before. Thx for the feedback. Closing request for now.


CSS permalink generated by compiling SCSS with Hugo Pipes is missing a BaseURL subdirectory

Originally posted on Discourse; another user suggested this might be a bug.
I have canonifyurls: true in my site config, but it doesn’t seem to be affecting the output of {{ $style.Permalink }}; not sure if that's pertinent.
My CSS partial
{{ $options := (dict "targetPath" "/css/main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := resources.Get "sass/styles.scss" | toCSS $options | postCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">

Environments
My two environments have different BaseURLs:

Production: https://www.fws.gov/southeast/
Staging: https://intranet.fws.gov/region4/demo/

Output
The link to the generated CSS is broken in both environments; they're missing a subdirectory.
<link rel="stylesheet" href="https://intranet.fws.gov/region4/css/main.min.80b1bb2f29d8811c1f83e5164d0bd2314717d173a14186aa208c5abe546461ca.css">
<link rel="stylesheet" href="https://www.fws.gov/css/main.min.80b1bb2f29d8811c1f83e5164d0bd2314717d173a14186aa208c5abe546461ca.css">
Am I doing something wrong with my targetPath? I tried dropping the leading / without any luck.

I have canonifyurls: true in my site config, but it doesn’t seem to be affecting the output of {{ $style.Permalink }}; not sure if that's pertinent.

They're not connected, but what happens if you turn canonifyurls off?
This pipe thing with subfolders in BaseURL certainly works, most of my test sites have that setup.

Removing canonifyurls seems to have done the trick, actually.
ouput:
<link rel="stylesheet" href="https://www.fws.gov/southeast/css/main.min.80b1bb2f29d8811c1f83e5164d0bd2314717d173a14186aa208c5abe546461ca.css">
This is my current work-around
{{ $baseurl := printf "%s" .Site.BaseURL}}
{{ if in $baseurl "fws.gov/southeast" }}
  {{ $.Scratch.Set "path" "/southeast/css/main.css" }}
{{ else }}
  {{ $.Scratch.Set "path" "/region4/demo/css/main.css" }}
{{ end }}
{{ $options := (dict "targetPath" ($.Scratch.Get "path") "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := resources.Get "sass/styles.scss" | toCSS $options | postCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">

I have another issue talking about removing canonifyurls -- but I suspect I cannot do that until I get some kind of "URL rewriter" support in MD. But that setting must be the most expensive flag in the history of computing.

hugoThemes is also using canonifyURLs = true currently, so the same bug occurs for themes on https://themes.gohugo.io/.

@onedrawingperday The buildThemeSite.sh calls _script/generateThemeSite.sh which sets  HUGO_CANONIFYURLS=true.  absURL does not fix this resource permalink issue....

It appears that this might be a duplicate of #5226. Suppose #5226 is fixed, then this issue might be closed as well.


Fix collapsible comments causing infinite loop

I believe I've sorted out the issue with the collapsible comments causing an infinite loop with the mutation observer, give this patch a try and let me know if it works

Upon further inspection the mutation observer loop doesn't seem to have completely stopped, but it's no longer going crazy whenever you collapse a comment. Maybe something else is causing it to loop too?

Hmm, I don't see any recursive issues with it at the moment, seems responsive over here, but haven't looked at the debug output too closely. When are you seeing a loop?
The mutation observer itself doesn't disconnect until page reload; it's technically "live" for the duration we are on the page, since we need to catch ad-hoc events, but the buffer (should be) cleared after each invocation so that we aren't spamming old events from the stack.

I couldn't get it to loop, but every once in a while it seems like the mutation observer gets triggered for no good reason. I think it's happening every 30 seconds or so, but it's pretty inconsistent

I noticed this as well, but with or without any KES logic. I think kBin itself tries to periodically update its resources (some keepalive type action?), but I may be wrong. This could easily be investigated by running an observer without KES and seeing what the mutations contain.


empty SFS with smoothed bam  file

Thank you very much for developing such an excellent software.
I am doing rice pan-genome related work and I am using SVDSS to detect structural variation in rice for the past two days. I encountered a very strange thing: when I extract SFS with bam file after smooth, I can't extract SFS successfully, but when I extract SFS with fastq file directly, I can get a lot of SFS. is this step of smooth necessary? Or can be omitted?
The version of SVDSS is v1.0.5 (from Conda), the comparison software is minimap2 (version 2.26-r1175), and samtools version is version 1.17.
Thanks!

Hi,
that's quite strange indeed. I don't see anything wrong in the log you sent, and I'd assume that it worked correctly and you should have a single .sfs file since it exported 1 batch (with 1092666 SFSs). This is the line:

[I] Processed batch 189. Reads so far 1849646. Reads per second: 17126. SFS extracted so far: 1092666. Batches exported: 1. Time: 108

The issue I see is: a lot of alignments have been tagged as "ignored" by the smoother and not used for SFS extraction

Loaded 1847747 ignored read ids.

This may happen for two reasons:

alignments are very dirty (e.g., ONT reads) - What kind of data (sequencing technology) are you using?
alignments do not exhibit any SV - how many SVs do you expect?

Honestly, I don't know if this may be an issue or not - it mainly depends on what you expect in your settings.
Anyway, since it's quite fast, I'd ask you to rerun the search step on the smoothed bam setting the work directory and then check again the .sfs file created in that folder - just to see if I'm correct in saying that you should have at least few SFS:
~/software/svdss/SVDSS_linux_x86-64 search --assemble --threads 70 --index refer.genome.fmd --bam smoothed.selective.bam --workdir GIT-TEST
# ...
ll -h GIT-TEST/*.sfs
wc -l GIT-TEST/*.sfs

On a side note, if you have a BAM, searching SFS from it is the way to go since smoothing will remove a lot of "useless" SFS and will increase precision and make everything faster.
Let me know,

I tested with both PacBio Hi-Fi data and ONT data, neither of which successfully extracted SFS and SV.
If I use fastq file to extract SFS directly, I can get about 300 SFS, and I can get about 2,000 SVs. However, the SVs in the article I referenced are negotiated at about 15,000 (Ref: Qin P, Lu H, Du H, et al. Pan-genome analysis of 33 genetically diverse rice accessions reveals hidden genomic variations[J]. Cell, 2021, 184(13): 3542-3558. e16.)
I also ran the code as you suggested and got a batch file, but the file is empty and has no information.
I'm not sure if it's a problem with my data, I'll try again next week when I get my own sequencing data (PacBio Revio) and let you know the results.
Thank you and your team very much.

this is the output log for 1 threads:
SVDSS search --threads 1 --index refer.genome.fmd --bam smoothed.selective.bam
SVDSS, Structural Variant Discovery from Sample-specific Strings.
Mode: search
[I] .
[I] Restoring index..
[I] Done.
[I] BAM input: smoothed.selective.bam
[I] Putative SFS extraction enabled.
[I] Loading smoothed read ids..
[I] Loaded 1847747 ignored read ids.
[I] Loaded 1899 smoothed read ids.
[I] Loading first batch..
[I] Extracting SFS strings on 1 threads..
[I] Processed batch 187. Reads so far 1849646. Reads per second: 20782. SFS extracted so far: 1091680. Batches exported: 1. Time: 89
[I] Done.
0 processed.
[I] Complete. Runtime: 92 seconds.
and the  solution_batch_0.sfs file is not empty, about 15M.

And I have used the alpha version to all steps. At the call step, 3 SVs were callled. the log is:
[2023-10-06 10:08:56.792] [stderr] [info] Loading reference genome from nip.t2t.fa..
[2023-10-06 10:08:58.524] [stderr] [info] Loading SFSs from specifics.txt..
[2023-10-06 10:08:58.528] [stderr] [info] Loaded 4067 SFSs from 1837 reads.
[2023-10-06 10:08:58.539] [stderr] [info] Placing SFSs on reference genome
[2023-10-06 10:09:15.425] [stderr] [info] 12/1834/1741 unplaced SFSs. 0 erroneus SFSs. 0 clipped SFSs.
[2023-10-06 10:09:15.425] [stderr] [info] Clustering 407 SFSs..
[2023-10-06 10:09:15.425] [stderr] [info] Maximum extended SFS length: 151bp. Using separation distance: 166bp.
[2023-10-06 10:09:15.426] [stderr] [info] Extending 405 clusters..
[2023-10-06 10:09:16.146] [stderr] [info] Filtered 0 SFSs. Filtered 287 clusters. Filtered 0 global clusters.
[2023-10-06 10:09:16.146] [stderr] [info] Calling SVs from 405 clusters..
[2023-10-06 10:09:16.147] [stderr] [info] 3 SVs before chain filtering.
[2023-10-06 10:09:16.147] [stderr] [info] Writing 3 SVs.
[2023-10-06 10:09:16.452] [stderr] [info] All done! Runtime: 20 seconds
And a lot of warning messages like:
[2023-10-06 10:20:31.767] [stderr] [warning] Alignment filtered due to l_qseq. Why are we here? Please check
[2023-10-06 10:20:32.246] [stderr] [warning] Alignment filtered due to l_qseq. Why are we here? Please check
[2023-10-06 10:20:34.114] [stderr] [warning] Alignment filtered due to l_qseq. Why are we here? Please check
[2023-10-06 10:20:34.550] [stderr] [warning] Alignment filtered due to l_qseq. Why are we here? Please check
[2023-10-06 10:20:37.154] [stderr] [warning] Alignment filtered due to l_qseq. Why are we here? Please check
[2023-10-06 10:20:37.408] [stderr] [warning] Alignment filtered due to l_qseq. Why are we here? Please check
Does this mean there is something wrong with my bam file? The raw fastq file is produced by PacBio Hi-Fi.

By the way, I did a test with human genome data and all steps work fine.
The rice genome I used is http://www.ricesuperpir.com/uploads/common/gene_annotation/NIP-T2T.gff3.gz, and the example is ftp://download.big.ac.cn/gsa/CRA004087/CRR279366/CRR279366.fastq.gz.
Please try it if you have the time. Thanks.

I will try more data of plant genome and PacBio file, and let you konw.

I remember I added that if with that print but I never encountered it.. Thanks for the data, I'll definitely check them out

Just to be sure, is this the reference genome you are using: http://www.ricesuperpir.com/uploads/common/genome_sequence/NIP-T2T.fa.gz ?

Hi, I had some time to check the sample you were using (CRR279366). I noticed that the sample comes from a Sequel system and error rate is much higher than HiFi reads we tested SVDSS on (e.g. Sequel II).
Here some numbers:
33/1364850      with min_acc=0.02
123647/1241296  with min_acc=0.05
1145688/219255  with min_acc=0.075
1360109/4834    with min_acc=0.1

This means that only 33 alignments have less than 2% of errors (computed in the smoothing step as number of mismatches over number of matches and mismatches). There is a parameter (--min-acc) to tweak this threshold and retain more alignments for SVs calling, but I would not trust these calls since SVDSS was tested on more accurate reads. If you manage to get some PacBio Revio data and test SVDSS on those, it would be great.
Moreover, I noticed that a lot of alignments have low MAPQ (most of them have MAPQ=0, I used minimap2 to align the sample). Is this somehow expected?

Hey,
I had the PacBio Revio data last week, and I have tried the SVDSS pipeline.
Firstly, pnmm2 was used to align the bam file produced by the Revio system to the reference genome and then sort the bam file. Then, I tried the SVDSS v1.0.5 fix, but it did not work. There were no SFS files produced. But the V2 version is OK. I have finally gotten the SVs from my samples.
Great software and pipeline, thanks!


PTX-15466:add drive more than permissible limit per pool

What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:
https://jenkins.pwx.dev.purestorage.com/job/Users/job/Somashekar/job/Torpedo/job/fa-fc-13/81

https://jenkins.pwx.dev.purestorage.com/job/Users/job/Somashekar/job/Torpedo/job/tp-vsphere-cd-test1/23/console

Please check the changes, it has so many file changes which are reverting others changes and also resolve the conflict


Is there any way to use this in canada?

Title says it all :)

Hello @Central596
The WeatherStar 4000+ uses data from NOAA which only includes data from the United States. This isn't something that the site can support.


Handle the case when BundleData#getTargetLanguages returns null

Fixed NPE issue caused by null target languages in GP CLI and maven.
Also fixed a problem in GP CLI copy command, failing to upload empty
resource entries. This problem may occur when source bundle contains a
target language without MT.

I think we may update java SDK not to return null for getTargetLanguages. Distinction between null and empty set does not make sense for this case. Java SDK method - BundleData#getTargetLanguages() may return non-null Set always, so consumer of the API does not need to do null check every time.


Expose prometheus metrics for BotKube

Is your feature request related to a problem? Please describe.
We should expose different  metrics from BotKube.
Eg. No of resources scanned, no of events sent to communication channels. etc.
Describe the solution you'd like

These metrics can be displayed using @BotKube metrics
Expose these metrics to prometheus so that user can  build his dashboards in Grafana based on BotKube metrics.

Ref: https://prometheus.io/docs/guides/go-application/

Fixed with https://github.com/infracloudio/botkube/pull/219


Use ; as separator for groups

When using memberof as the group attribute, the value contains a DN
which has comma in it.
Note: this possibly breaks compatibility with existing configs

We have a wordpress app for the Cloudron that uses this plugin. In https://github.com/cloudron-io/wordpress-app/blob/master/start.sh#L88, you can see that we use the DN which has a comma in it. So, we cannot use comma as a separator and must use something else. I opted for semicolon.
If you think this breaks compat, I can create a new Group2 property which uses semicolon as the separator and fallsback to the existing comma as separator. I am open to other ideas as well :-)

Great idea! (and thanks for using this plugin in Cloudron).
But it breaks BC and I can't add it - as it is.
What would you think of adding a further config-parameter "groupseparator" that by default is "," and you can then overwrite it with whatever you want. Like "::" or (for your usecase) ";"? I'd think it's a bit more effort that will solve the issue without the need of a different hard coded separator.
What do you think?

@heiglandreas Good idea, I will submit a PR (I am no php developer, but I will give it a shot :-) )

@heiglandreas What do you think? There is no UI to configure the option but I guess that can be added if someone asks for it. (We use wp-cli to update the db directly, so don't need a UI)

haven't had the time to look into this yet, but I will try to get to it this week.

Don't worry! You've got all the time you need for this. You've fixed your issue already and everything else is goodie ;)

@heiglandreas I have added the UI as well

@heiglandreas Did you get a chance to look into this :-) ? Thanks!

I have it on my list for today :)

This looks awesome! Thanks for your work on this @gramakri!

This has been integrated into Version 1.4.17. Thanks for implementing!


Clear outputs

It looks like you merged a previous PR to main? Please just open the PRs. I'll merge them in myself after review. Thanks.

Sorry. I think I made a mistake. I will make sure to do PRs.


Add example showing how to use the HEC raw event parsing endpoint

@atoulme Hi, Antoine. I suggested a few changes. Thanks!


code cleanup using JetBrains Rider

Fixes
Issue #
Description
Minor refactoring to make code more readable. Current tests still pass. No new code was added.

[ ] I have included unit tests validating this fix.
[ ] I have updated markdown documentation where required.

I see no value in reformatting all the code in default Rider styles. @ahives you can just turn off Rider's style checks if it shows too many warnings, the default style is not an ultimate standard, especially for this project.

Well, I was using Rider and made several refactoring by hand. Personally, I see a lot of value in cleaning up code so that it is clearer to people who want to contribute. For example, removing useless private accessors on methods and using new style syntax shorthand like ?: and get => blah I find is very useful.

@ahives thank you, I appreciate it. However not everyone is using Rider or Resharper and using newest syntax or pleasing jetbrains tools is not this project's goal.

I am not affiliated with JetBrains by no means, I was just trying to state what I did. In addition to that you don't need to use Rider to do these refactoring, you can you use plain old Visual Studio. I am not suggesting that the goal of your project is to use the latest tools or anything but I just thought you would want to use more succinct syntax so that more features can get completed faster. By doing this refactoring exercise I actually noticed several algorithm changes that can be made to make the API more performant and potentially reduce errors. Is the expectation to contribute is that everyone write code to a specific coding standard? If so, what is that standard?

@ahives just wanted to make this slightly clear, apologies for short responses:

Tabs/spaces rules and coding style is set by .editorconfig in this solution which is supported by all major IDEs/editors, including VS 2017, Rider, IntelliJ IDEA, VS Code etc. It's quite limited in terms of rules and nothing compared to Resharper/Rider, however it's distraction-free and gives people a wider choice of tools.
A lot of the code is formatted in a specific way to improve it's understanding which becomes more apparent when you actually start working on it.
I'm a big supporter of product quality, tested code and extensible architecture. Rider's way of structuring code (or any other product's) is somewhere at the very bottom of my priorities.
I strongly believe that contributing to open source repositories is a culture of adding useful functionality to original codebase, following it's ideas, existing standards and improving functionality. I expect people to follow this approach in current repository and actively doing it myself when changing other's code. I call it "ninja coding" i.e. try to fit in as much as you can, so that your additions are indistinguishable from the original codebase and therefore welcomed and adopted.
I find changing code formatting almost rude, as this project is developed 100% in spare time and it's just not nice when people get the latest update with their code reformatted.

Other than that, we always welcome algorithmic and speed  improvements, or contributions of any kind.


Fixing of reverting the mac address and IP address

I see conflicts, need to fix them.

Closing it.

Please submit separate PR for your changes


Describe the bug
https://github.com/ton-connect/sdk/blob/71f287c7328b4892ff80647638dfe0386cd43d2d/packages/sdk/src/provider/injected/injected-provider.ts#L56
in this piece code,
Object.keys(window).filter(([_, value]) => {})
the value is always the 2nd letter of the key isn't it? For example the key is document, the value is o, how can it be an object as {tonconnect: xxx}. So the getCurrentlyInjectedWallets method would always return empty array
However...some wallets works good with it, I don't know what the magic behind it
Expected behavior
Object.entries(window).filter(([_, value]) => {})
Current behavior
Object.keys(window).filter(([_, value]) => {})
Steps to Reproduce
read code, and run code
Environment
node js
Additional context
No response

@thekiba Hope fix this bug,This bug makes it impossible to detect injected wallets.


Carthage and Xcode Guanaco Failures

Currently it seems that carthage update and carthage build is failing for Guanaco.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A shell task (/usr/bin/xcrun xcodebuild -workspace /src/drkibitz/SwiftGit2/Carthage/Checkouts/Guanaco/Guanaco.xcworkspace -scheme Guanaco-iOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	Ld DerivedData/Guanaco/Build/Intermediates/Guanaco.build/Release-iphoneos/Guanaco-iOS.build/Objects-normal/arm64/Guanaco normal arm64
	Ld DerivedData/Guanaco/Build/Intermediates/Guanaco.build/Release-iphoneos/Guanaco-iOS.build/Objects-normal/armv7/Guanaco normal armv7
(2 failures)

Xcode testing for SwiftGit2-iOS target is also failing to link Guanaco.
ld: '/src/drkibitz/SwiftGit2/DerivedData/SwiftGit2/Build/Products/Debug-iphoneos/Nimble.framework/Nimble' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

❯ carthage version
0.18.1
Xcode
Version 8.2.1 (8C1002)

Seems the problem was with Nimble, just enabled BITCODE.

This project is set up to use submodules—so you don't need to run carthage build. git submodule update --init --recursive will do the trick.
If you want to update the dependencies, you can run carthage update --use-submodules --no-build.

I think script/bootstrap is sufficient for getting the dependencies checked out properly. Perhaps an explanation of setting up the project for development could be added to the README.
@mdiep: I recall a while back there was talk of adding the ability to codify Carthage options like --use-submodules and --no-build into the Cartfile. Do you know if anything ever came of that?

I recall a while back there was talk of adding the ability to codify Carthage options like --use-submodules and --no-build into the Cartfile. Do you know if anything ever came of that?

Nothing has come of it yet, and it's probably a ways off if it ever will.


infoj_order mode

The infoj method has a second infoj_order argument. This argument can be an array of keys and entry objects.
layer.infoj entries will be filtered in the order of keys. It is checked whether the key matches the entry's key, field, query, or group key value.
The key key value is specifically used as an identifier for entries and serves no other purpose.
The infoj_order argument can be a mix of entry objects and keys. Entry object are directly spliced into the infoj array and don't require to be in the layer.infoj array.
The infoj_order can be defined as an array in the layer json. The infoj_order plugin will be retired in favour of this.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207275671216623

when including a dataview object in the order I see the following error:
infoj.mjs:130 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'layer')
at line 130 in infoj.mjs: entry.location.layer.queryparams || {}
Entry in the order array doesn't inherit properties when they are referenced.

@KieronFerrey group won't work since the values are not unique. tyoe won't work neither for the same reason. we need to remove the group key since sorting requires a unique identifier.

I just pushed a commit to this PR after chatting to @RobAndrewHurst.
This PR simply console warns the developer if a value provided in infoj_order array does not exist in the location.infoj.
This is required to ensure that the developer added a unique identifier to plugin entries or other entries that may not be unique.

I have removed group from the infoj_order lookup since this is by definition not unique.

I just pushed a check on the mapview and locale - as is custom views called entries may not have a locale
// Assign queryparams from layer, and locale.
  entry.queryparams = Object.assign(
    entry.queryparams || {},
    entry.location.layer.queryparams || {},
    entry.location.layer?.mapview?.locale?.queryparams || {})

@simon-leech Can you test whether this works using the spread operator?

Aren't the locale queryparams already assigned to the layer somewhere else?

@dbauszus-glx  Yeah all seems to be working for me :)

https://github.com/GEOLYTIX/xyz/wiki/Workspace-Configuration#infoj_order


fails when gpg-agent is enabled

sorry, hit Enter in the title line and it created this empty issue


Adds CI, specs, refactor implementation to meet spec

There is a lot going on here:

adds specs for behaviour
uses logstash-plugins/.ci to handle the bulk of ci bootstrapping running specs
refactor to adhere to specs and isolate functionality
touches up docs
adds Apache-2.0 /LICENSE (formerly only by reference in *.gemspec)
bumps version to 1.0.0 pending release

Specs output (* marked specs are omitted when native Loggable#deprecation_logger is present):
logstash_1  | LogStash::PluginMixins::DeprecationLoggerSupport
logstash_1  |   included into a class
logstash_1  |     that already includes Loggable
logstash_1  |       when instantiated
logstash_1  |         #deprecation_logger
logstash_1  |           behaves like memoized method
logstash_1  |             returns the same object from successive calls
logstash_1  |           the returned object
logstash_1  |             behaves like DeprecationLogger
logstash_1  |               is expected to respond to #deprecated
logstash_1  |               #deprecated
logstash_1  |                 when sent a single argument
logstash_1  |                   accepts a single string argument
logstash_1  |                   passes through to logger.warn *
logstash_1  |                 when sent two arguments
logstash_1  |                   accepts two arguments
logstash_1  |                   passes both arguments to logger.warn *
logstash_1  |         and class is a LogStash::Plugin
logstash_1  |           @deprecation_logger
logstash_1  |             behaves like DeprecationLogger
logstash_1  |               is expected to respond to #deprecated
logstash_1  |               #deprecated
logstash_1  |                 when sent a single argument
logstash_1  |                   accepts a single string argument
logstash_1  |                   passes through to logger.warn *
logstash_1  |                 when sent two arguments
logstash_1  |                   accepts two arguments
logstash_1  |                   passes both arguments to logger.warn *
logstash_1  |     that does not include Loggable
logstash_1  |       errors helpfully
logstash_1  |   extended into an object
logstash_1  |     that is Loggable
logstash_1  |       #deprecation_logger
logstash_1  |         behaves like memoized method
logstash_1  |           returns the same object from successive calls
logstash_1  |         the returned object
logstash_1  |           behaves like DeprecationLogger
logstash_1  |             is expected to respond to #deprecated
logstash_1  |             #deprecated
logstash_1  |               when sent a single argument
logstash_1  |                 accepts a single string argument
logstash_1  |                 passes through to logger.warn *
logstash_1  |               when sent two arguments
logstash_1  |                 accepts two arguments
logstash_1  |                 passes both arguments to logger.warn *
logstash_1  |     that is not Loggable
logstash_1  |       errors helpfully
logstash_1  |
logstash_1  | Finished in 1.01 seconds (files took 5.07 seconds to load)
logstash_1  | 19 examples, 0 failures

Nice peer I like the splitting of adapter operation and its initialization. Just typo fix, then
LGTM


E2E validates Windows HostProcess Pods

For K8s v1.26+
https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/

Fixed by #182


ModuleNotFoundError: No module named 'gi'

Python 3.11.4 (main, Nov 10 2023, 22:43:44) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import gatt

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".pyenv/versions/3.11.4/lib/python3.11/site-packages/gatt/__init__.py", line 1, in <module>
    from .gatt import DeviceManager, Device, Service, Characteristic
  File ".pyenv/versions/3.11.4/lib/python3.11/site-packages/gatt/gatt.py", line 6, in <module>
    from .gatt_linux import *
  File ".pyenv/versions/3.11.4/lib/python3.11/site-packages/gatt/gatt_linux.py", line 13, in <module>
    from gi.repository import GObject
ModuleNotFoundError: No module named 'gi'

This seems like a relevant solution
https://stackoverflow.com/a/51709431


Add Delete button

Regression:

Before the most recent update, I could select some rows and then there was a menu to delete all selected. I've looked around and do not see that menu or a delete button now. What am I missing?
Thank you for the help!

https://supabase.slack.com/archives/CSMGA08FP/p1622407764082500

Why can't we delete table rows anymore? This action was available in the previous version.

https://supabase.slack.com/archives/CSMGA08FP/p1622412256082800
We need to make the delete button a bit clearer

I also can't find the delete button

I think this one quite urgent

there are 2 options to delete row:

dropdown box from the arrow button like column editing

right click to delete a row