REACT ROUTER 4 CHANGING COMPONENTS DYNAMICALLY

I have asked a lot of questions in Preact learning, I apologize, if I have asked obvious questions or even typos, I believe that learning is this way. Again if anyone can help me thanks, I configured the react-router-4, I would like to dynamically load the components see below my code:
function App () {
const cpt = ({match}) => (

 ID: {match.params.id}

)
return
<Router>

 <Link to = '/ Home'> Home </ Link>

 <Link to = '/ Porcoes'> Portions </ Link>

 <Link to = '/ Dishes> Dishes </ Link>

 <Link to = '/ Sanduiches'> Sandwiches </ Link>

<Route exact path = '/' component = {Home} />
 <Path path = '/: id' component = {cpt} />

</ Router>
)
};

render (<App />, document.body);

When I click the links the constant {cpt} displayed in the component names correctly, but nothing loads.
If I directly type the component name in this location {cpt} for {Porcoes} the component loads, how could I then solve this question?

Remove the spaces in your URLs.
For these questions it's better to ask on StackOverflow - there are quite a few people who answer questions there, many more than here.

What do you mean by: StackOverflow
2017-09-01 21:08 GMT-03:00 Jason Miller<EMAIL_ADDRESS>
Remove the spaces in your URLs.
For these questions it's better to ask on StackOverflow - there are quite
a few people who answer questions there, many more than here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact/issues/849#issuecomment-326707803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJoEByYRysSdXNPZoec90q_4Fq868z6ks5seJyMgaJpZM4PKAAT
.

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES

No, I did not get the issue to remove space! in this example:
https://reacttraining.com/react-router/web/example/url-params
of the react-router, there is no such space issue!
2017-09-01 21:20 GMT-03:00 Alexon da Silva Moreira<EMAIL_ADDRESS>
What do you mean by: StackOverflow
2017-09-01 21:08 GMT-03:00 Jason Miller<EMAIL_ADDRESS>
Remove the spaces in your URLs.
For these questions it's better to ask on StackOverflow - there are quite
a few people who answer questions there, many more than here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact/issues/849#issuecomment-326707803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJoEByYRysSdXNPZoec90q_4Fq868z6ks5seJyMgaJpZM4PKAAT
.

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES

não resolve?
funcionar BifaoApp () {
deixe CPT = ({ match }) => (

 { jogo . params . id . aparar ()}

);
//trim completo
Corda . protótipo . aparar = função () {
    voltar este . substituir ( / ^ \ s + | \ s + $ / g , "" );
}
// guarnição esquerda
Corda . protótipo . ltrim = função () {
    voltar este . substituir ( / ^ \ s + / , "" );
}
// guarnição direita
Corda . protótipo . rtrim = função () {
    voltar este . substituir ( / \ s + $ / , "" );
};

retornar (
    < Router >
        < App >
            < MenuCardapio >
                < RouterLink para = "/ Home" > Início </ RouterLink >
                <RouterLink to="/Porcoes">Porções</RouterLink>
                <RouterLink to="/Pratos">Pratos</RouterLink>
                <RouterLink to="/Sanduiches">Sanduiches</RouterLink>
            </ MenuCardapio >
            < Route exato caminho = '/' componente = { Início } />
        < Route caminho = '/: id' componente = { CPT } />
        </ App >
    </ Router >
);

};
2017-09-01 21:46 GMT-03:00 Alexon da Silva Moreira<EMAIL_ADDRESS>
No, I did not get the issue to remove space! in this example:
https://reacttraining.com/react-router/web/example/url-params
of the react-router, there is no such space issue!
2017-09-01 21:20 GMT-03:00 Alexon da Silva Moreira<EMAIL_ADDRESS>
What do you mean by: StackOverflow
2017-09-01 21:08 GMT-03:00 Jason Miller<EMAIL_ADDRESS>
Remove the spaces in your URLs.
For these questions it's better to ask on StackOverflow - there are
quite a few people who answer questions there, many more than here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact/issues/849#issuecomment-326707803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJoEByYRysSdXNPZoec90q_4Fq868z6ks5seJyMgaJpZM4PKAAT
.

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES

It does not have to be with space, see in image 1, that the return with console.log (cpt) will bring the printed function.
Now the code:  Displays the component name without space!
It has to do with the return, I can not understand? If you can help it!
See figure 2 how things are returned, it's funny that it correctly displays the name of the component without spaces, not to render the same!

@allexon Fala, Alexon, blz? Eu não consegui entender direito seu problema. Pelo visto o router está funcionando como deveria.
Como foi dito, aqui não é o melhor lugar pra esse tipo de problema. Faça sua pergunta no https://stackoverflow.com/, pq lá tem mais pessoas pra ajudar.
Faça a pergunta em português mesmo e me manda o link.

Fabiano, tudo blz, obrigado pela disponibilidade de responder! veja o link
com o meu problema, se você conseguir ajudar
https://pt.stackoverflow.com/questions/234534/rotas-dinÂmicas-com-preact-react-router
Em 3 de setembro de 2017 10:19, Fabiano Nunes<EMAIL_ADDRESS>escreveu:

@allexon https://github.com/allexon Fala, Alexon, blz? Eu não consegui
entender direito seu problema. Pelo visto o router está funcionando como
deveria.
Como foi dito, aqui não é o melhor lugar pra esse tipo de problema. Faça
sua pergunta no https://stackoverflow.com/, pq lá tem mais pessoas pra
ajudar.
Faça a pergunta em português mesmo e me manda o link.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact/issues/849#issuecomment-326804518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJoEKXcoYbICo1_T8X1gQvp9Y4-XIJTks5seqd1gaJpZM4PKAAT
.

--
Desde já Grato,
Alexon da Silva Moreira
Serra - ES


Feature request: Be able to set the images per page in the settings

Is your feature request related to a problem? Please describe
When you click 'get all' all the sources now set the images per page to the max limit. Which is by gelbooru for example by default 1000. It would be nice if this can be by default set lower without having to change it each time (you do 'get all') by the download page.
Describe the solution you'd like
Currently there is nowhere in the settings for a source a image per page limit. It seems now to be hardcoded in the model class. But since you are now able to restore previous batch downloads when it goes over this limit it would be nice if this could be set by default lower.

But since you are now able to restore previous batch downloads when it goes over this limit it would be nice if this could be set by default lower.

Are you making this suggestion only because of this?
With this you'd lower the setting to let's say 100, which means you'll be able to "restore" the downloads with a better granularity, but that also means that you'll have to download 5 more pages, which is more costly than the duplicate checks of a bunch of images.
As said in #1529 however, this limit is currently only technical, and soon it will disappear, which means that if you have 500 images per page and only downloaded 100, it will soon be able to re-start the download at the 100th image. Would this suggestion still be relevant then?

Ah then not. Thought the way it was implemented now would be the finnal result and then I thought that this may be a good idea. (Otherwise the restore function would only work for large image results).


Fixes for building on centos 7

Current version of tooling on centos 7 complains about missing AM_PROG_CC_C_O

I have PR #61 out which might conflict with this, but this LGTM and I'll update my diff.
Do you know what version of autotools is installed on Centos 7?

here's the versions from a freshly installed centos 7 box:
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
yum list installed | egrep "^auto|^libtool"
autoconf.noarch                   2.69-11.el7                @base
automake.noarch                   1.13.4-3.el7               @base
libtool.x86_64                    2.4.2-20.el7               @base
Thanks!

Great, it looks like the change I merged in my other configure.ac script should be compatible with this.


Submission for GCST007687 needs removing

Another submission with only 10 SNPs in the file. Files need removing from ftp and submission needs removing, same as  . I have already removed the "full p value set" tick in the curation app. This needs doing before the next data release (2020-08-24)

@ljwh2 - what is the submission ID?

Just added it above, you're too fast for me @tudorgroza!

This is done on my side.

cleared from FTP


#14136: duplicate column issue in pipeline execution and date picker clear action

Describe your changes:
Fixes #14136

fix duplicate column issue in pipeline execution
fix date picker clear action
fix icon alignment issue

https://github.com/open-metadata/OpenMetadata/assets/66266464/599458b1-1498-4e0c-9036-e2f0a05cd696

Type of change:

[x] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@chirag-madlani  changes made as per comments!


no-unused-props: not ignoring components with no used props

This is tackling one of the many issues with the rule (issue #1162).
The problem was that the rule simply ignored the components that had no used properties. Once this condition was removed I had to fix some tests and remove some other (that were never actually worked correctly but were passing because of the component had no used props and thus was excluded from validation).
This change might fix few more false positives that users reported. I am planning to go through the list of open issues for the rule and close/fix some more after I get some feedback on my change.

ok, it will take some more time. Neither babel nor es6 parser gives any indication that {...props} is being used. And it has nothing to do with component being a thing (thanks for catching that issue with invalid spread for babel ).
So this
 return <SomeComponent {...props} />;

is parsed into:

note 0 children in arguments. If I use props without spread, I see children there.
What dependency do you think this problem starts from? Would it be an eslint/espree issue?

@ljharb sorry for so many updates. I squashed my change into 1 commit and it is ready for re-review. Thanks!

@lencioni, when would you be able to take a look at this PR?  This is my first PR for the repo so I am not sure what is the normal turn around here.
Thank you,
Diana

I'll give it another day, then I'll merge it if there's no objections by then.

Sorry for the inconvenience; I've just merged a refactor to start using arrow functions. Would you mind rebasing latest master? I'll merge ASAP after that's done.

@ljharb, no problem. Should be all set.


Release v. 0.4.4

This looks like a job for @Joe-Merten (repo invite in https://github.com/dblock/jenkins-ansicolor-plugin/invitations). I would bump the version to 0.5.0 since Jansi and major changes. Instructions here.

Hmm, reading:

You must have r/w permissions to github.com/dblock/jenkins-ansicolor-plugin under the same username.

But I'm Joe-Merten on github and joe_merten on https://accounts.jenkins.io (because the latter disallow hypen in username).

I am not sure how to deal with that, it's possible that somewhere we have this assumption baked in, you can fix it ;)

Ensure that the version in pom.xml is correct and ends with -SNAPSHOT.

But for the release, the -SNAPSHOT postfix should be released, right (seeing this in your last commits)?

AFAIK, maybe RELEASING needs an update re: that

Might review the updated RELEASING.md?

No need to implement hacks, JANSI 1.15 was release so just update version, compile and release.

@ssbarnea jenkins ships with its own version of Jansi so YMMV unless you have the latest jenkins, we have a ton of users having this problem

@Joe-Merten LGTM

I do not see this as critical error, it would a good reason for them to keep their jenkins updated.
-- sorin

On 17 Mar 2017, at 22:44, Daniel Doubrovkine (dB.) @dblockdotorg<EMAIL_ADDRESS>wrote:
@ssbarnea jenkins ships with its own version of Jansi so YMMV unless you have the latest jenkins, we have a ton of users having this problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

… just changed my github username from Joe-Merten to JoeMerten as recommeded by ssbarnea …

Tried to make release (my first time), but running into issues.
Following the instructions from RELEASING.md, a.o. executing mvn release:prepare release:perform. After interactively answering the questions about release version, SCM release tag and new development version (finding out, that my recent changes in RELEASING.md are completely wrong ;-), I got an error in the deployment stage:
[INFO] [INFO] --- maven-deploy-plugin:2.6:deploy (default-deploy) @ ansicolor ---
[INFO] Uploading: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ansicolor/0.5.0/ansicolor-0.5.0.hpi
[INFO] …
[INFO] Uploading: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ansicolor/0.5.0/ansicolor-0.5.0.pom
[INFO] …
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 36.622 s
[INFO] [INFO] Finished at: 2017-03-18T14:18:23+01:00
[INFO] [INFO] Final Memory: 80M/833M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project ansicolor: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:ansicolor:hpi:0.5.0 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Access denied to: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ansicolor/0.5.0/ansicolor-0.5.0.hpi, ReasonPhrase: Forbidden. -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:26 min
[INFO] Finished at: 2017-03-18T14:18:23+01:00
[INFO] Final Memory: 18M/306M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.1:perform (default-cli) on project ansicolor: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Full buildlog: ansicolor-0.5.0-release-buildlog.txt; also checked https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ansicolor/, seeing that 0.5.0 has not been arrived.
Double checked my ~/.m2/settings.xml but dont see the problem.
However, the mvn release:prepare release:perform has done 2 git commits:

87c0ce5ee0e11806000339cb341e05041e2d5c7e [maven-release-plugin] prepare release ansicolor-0.5.0

Releasetag has been created (https://github.com/dblock/jenkins-ansicolor-plugin/releases)

8c5bc359c52828a144d70b0548ba136a19897c2c  [maven-release-plugin] prepare for next development iteration

0.5.0 → 0.5.1-SNAPSHOT

Can you actually login to https://repo.jenkins-ci.org?

You should rewind git with a git reset --hard probably back to the state where it was before and force push it, then attempt a re-release after checking that you can actually push to  https://repo.jenkins-ci.org/

Login to https://repo.jenkins-ci.org works (had created a new account with my changed username JoeMerten. https://repo.jenkins-ci.org acceppts both JoeMerten and joemerten.

Checking https://repo.jenkins-ci.org/webapp/#/home, then Set Me Up → releases, it shows me: "You do not have deploy permissions to this repository"

Checked the above mentioned screenshot against ansicolor pom.xml:
  <distributionManagement>
    <repository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/releases/</url>
    </repository>
  </distributionManagement>

differs in some points:

Location
<id>
<name>
<url>

https://repo.jenkins-ci.org
central
jenkinsci-releases
https://repo.jenkins-ci.org/releases

ansicolor pom.xml
repo.jenkins-ci.org

https://repo.jenkins-ci.org/releases/

<id>repo.jenkins-ci.org</id> versus repo.jenkins-ci.org

@JoeMerten I am not sure how to fix this, every time we had someone do this it was yet another new process since they change everything - if you tell me what to do I'll grant you whatever permissions are required?

Unfortunately, I have completely now idea about the root cause for the permission issue.
I'd now contated jfrog support via email and will see if they can help.

If you need help I could try to help, my account name is the same on all systems (ssbarnea).

@ssbarnea I can make a release, that's not the problem, I'd like @JoeMerten to be setup and running here end-to-end because he has contributed boat loads of code.

I re-read https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Requestuploadpermissions, that has changed. Looks like we need to request r/w access for you now via a PR.
@JoeMerten make sure you've logged into https://repo.jenkins-ci.org/webapp/#/login once at least, it's apparently required.
I've done that here: https://github.com/jenkins-infra/repository-permissions-updater/pull/258
Will you please add the instructions ^ to RELEASING if that works?

I'll update RELEASING.md when I'd completed the release; even for the interactive versioning step during mvn release:prepare.
Regarding jenkins-infra/repository-permissions-updater#258: Seeing, that at jenkins / jfrog registering my JoeMerten has been impicitely converted to lowercase registered username joemerten. I'll see if it works however.
If permission issue has been solved, I need to find out how to perform upload retry via mvn release:perform (without reexecution of mvn release:prepare). Found some instructions here and here, but have not succeeded until now. Did you have experience about this?
Seems that
mvn release:perform -DconnectionUrl=scm:git:git@github.com:dblock/jenkins-ansicolor-plugin.git -Dtag=ansicolor-0.5.0

is still buggee (see SO) and I have to workaround it. I think I'll try it with:
git checkout ansicolor-0.5.0 && mvn clean deploy

I've done a release from a tag, but feel free to rewind master forcefully.

@JoeMerten looks like https://github.com/jenkins-infra/repository-permissions-updater/pull/258 is resolved, party on.

mvn deploy has now succeeded and ansicolor-0.5.0 has been arrived at https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ansicolor :-)

You should close this issue @JoeMerten if it's all done.

Yep, I'll close it it's all done. But for the definition of done, I also want to see 0.5.0 in production.
Checked yesterday in a fresh installed jenkins 1.653, still provides me 0.4.3. Checked now again, seeing the new 0.5.0:-)
Manage Jenkins → Manage Plugins → Available
→ AnsiColor is displayed with 0.5.0
But when clicking AnsiColor which is a link to https://plugins.jenkins.io/ansicolor, it displays old information:

Need to change this manually?!
Clicking on

directs me to https://wiki.jenkins-ci.org/display/JENKINS/AnsiColor+Plugin which shows correct 0.5.0

However, after installing the ansicolor plugin, it works as expected.
Also testet with a fresh installed jenkins 2.32.2 and 2.50 results in the same behaviour as with 1.653.
Hmm, seeing curios exceptions on jenkins console and not sure if I saw em before → #101.

Will close if the old version info display is solved, but have no idea.

I think that just takes some time.

Created Jenkins Issue: https://issues.jenkins-ci.org/browse/JENKINS-43007

Seeing, that https://plugins.jenkins.io/ansicolor have been synced now:

They even have changed the style / layout minimal but also took the pipeline example snippets which I'd recently added to https://wiki.jenkins-ci.org/display/JENKINS/AnsiColor+Plugin.
See also https://github.com/jenkins-infra/jenkins-infra/pull/706
So I think it's done now.
@dblock: I'll now turn back to my payed work for a while. See you next time.

Thanks for all your help @JoeMerten! You were far and wide into the whole ANSI coloring ;)


[SP Заяви] Lack of "Статус заявок" descriptions

Environment: macOS Big Sur 11.5.1; Chrome version 99.0.4844.51.
Reproducible: always.
Build found:
gcp-0.0.116
gcp-0.0.55
Preconditions

Follow link https://oos.dmytrominochkin.cloud/#/
Log in as SP Email<EMAIL_ADDRESS>Password: Qwerty1!

Steps to reproduce

Go to "Мої заяви" page by clicking on the top right corner drop-down list.
Click on info hint button ("i" near "Усі гуртки" drop down list on the right)
Take a look to present Статус заявок descriptions

Actual result
Not all possible statuses are shown

Expected result
"Статуси заявок" according to design

User story and test case links
US https://github.com/ita-social-projects/OoS-Backend/issues/173
TC https://jira.softserve.academy/browse/OS-474
Labels to be added
"Bug", Priority ("pri: medium"), Severity ("severity:minor"), Type "Functional"

@litvinets "Заблоковано" status is missing.
https://github.com/ita-social-projects/OoS-Frontend/issues/346


images: Don't enable an obsolete copr repo

This repo is no longer needed as the base UBI-8 repos have even newer
openscap image (1.3.6) than what the repo has.

Setting all the approved labels as this is just a cleanup of upstram images. The repo was unused and even if it was, the images were just used for upstream.

/lgtm

/test all


Feature/setup player/#86c07fj6j

Player with new animations and prefab

Task linked: CU-86c07fj6j SetUp New Player


A Most Excellent README.md Update

Expanded "configs" to "configurations" to be more formal.

Sorry about that Andy...


update cert manager image versions

Signed-off-by: Ben Luzarraga<EMAIL_ADDRESS>

Merge in these changes after community code sync changes merged in operand repo


Field Codes as a domain model

At the moment, field codes take parameters only as a list of strings. Though this approach is quite flexible, it would be nice to provide a typed-based abstraction of the different field codes.
The complete list is available here: https://support.microsoft.com/en-us/office/list-of-field-codes-in-word-1ad6d91a-55a7-4a8d-b535-cf7888659a51
The current WordFieldType enum needs to be refactored so that each value of the Enum becomes a class, which encapsulates possible instructions and switches of a field code. As an example, an ASK field code class might look like this:

I think you can already start preparing 😂🤣


Update run docs for influxd v2

we now have the abililty to provide a config file in addition to env vars/ flags.
the usage changes in the PR may be helpful
Relevant URLs

https://github.com/influxdata/influxdb/pull/18606

Related to #1113


raft blog post

following the blog post https://docs.keydb.dev/blog/2021/07/06/blog-post
could you summarize the advantage of using RAFT for a redis ( keydb ) cluster against the current cluster redis protocol ?
thanks

RAFT provides stricter consistency as it requires a majority of the cluster to acknowledge a change before committing it whereas the current cluster protocol will commit the change immediately then notify the rest of the cluster afterwards.

Thanks


After updating to next 14.0.2 with uploadthing 6.0, UploadThing seems to be broken

packages-json.txt

Gonna need some more info than that, do you have a repro?

I have, but currently it is private show forgive me for not sharing that, some more information:  When I do update packages, the newer version of my package send UploadThing to error. (currently I keeping at the old version left side and its working very well)

I am also experiencing the same issue. When I click the upload button, it does upload to uploadthing Files but it returns an error as the author of this issue shows.

Ok was able to repro in our minimal example, will have a fix up momentarily

if you wanna fix in the interim make sure to just return null or {} from the onUploadComplete callback in your file router


:bug: Fix loop variable pointer bug in assessment logic

This bug was causing the slice of application/archetype assessments to be populated with copies of the last assessment, breaking the assessment status check and likely other things as well.

Tested & LGTM

@aufi Is this e2e test failure a known one?


support attribute change detection introduced in rails 5.1

This PR is intended to solve deprecation warning generated in Rails 5.1.
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead.
DEPRECATION WARNING: The behavior of `attribute_was` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `attribute_before_last_save` instead.

Thanks for the contribution!

I saw your Rails 5.2 test was failed.
It's because the update_counter_cache in test_helper.rb still using old attribute_changed? for callback condition.
Since Rails 5.2, saving the record will reset the result you get from that method.

Thanks. I don't have time to look at that right now, so I'll have to circle back on this later. :)


Multi-words filter

Bug Report
Current Behavior
In a translation file, multi-part words are not taken into account.
e.g.: "abend vor allerheiligen" will not be detected
Possible Solution
Change the operating principle of the filter. For the moment, the message is split after each space. Then the different words are compared against the words in the translation file.

I created a pull request for this here. I need to test it locally, but I'm not sure how to do that. Could I get some help with that?


m365 file add doesn't handle zero byte file

Fixes 'm365 file add' command. Closes #2433

Thank you for such a quick turnaround! We'll get it reviewed ASAP

Merged manually. Thank you! 👏


Merge 1.3.2

Failures:

  1) Utils#self.svn_available? returns svn version if svn available
     Failure/Error: expect(described_class.svn_available?).to be_truthy

       expected: truthy value
            got: false
     # ./test/utils/svn_spec.rb:10:in `block (3 levels) in <top (required)>'
     # ./test/spec_helper.rb:96:in `block (2 levels) in <top (required)>'
     # ./vendor/bundle/ruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'

I added a commit to this PR to fix test/utils/analytics_spec.rb:13.

I've added commit ff128904a5ffe05c91585d4917acdaa909b1155c to this PR to hopefully fix test/utils/svn_spec.rb:10.

PR #484 was merged in the mean time. So we'll need to redo this merge. That being the case, I'm going to merge PR #489 now.

I've fixed the two brew tests failures on CircleCI. There's another 18 failures on TravisCI. Yipes.
https://travis-ci.org/Linuxbrew/brew/jobs/279792369#L1226

Strange brew tests failure on TravisCI but not CircleCI.
  1) brew home opens the homepage for a given Formula
     Failure/Error:
       expect { brew "home", "testball", "HOMEBREW_BROWSER" => "echo" }
         .to output("#{Formula["testball"].homepage}\n").to_stdout
         .and not_to_output.to_stderr
         .and be_a_success
       expected block to output "\n" to stdout, but output "https://example.com/testball\n"
     # ./test/cmd/home_spec.rb:12:in `block (2 levels) in <top (required)>'
     # ./test/support/helper/spec/shared_context/integration_test.rb:44:in `block (2 levels) in <top (required)>'
     # ./test/spec_helper.rb:96:in `block (2 levels) in <top (required)>'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'

https://travis-ci.org/Linuxbrew/brew/jobs/279792369#L1284

Maybe https://github.com/Homebrew/brew/pull/3127 or https://github.com/Homebrew/brew/issues/3113 ? But not sure how these may be related.

Superseded by https://github.com/Linuxbrew/brew/pull/497


generic proxy refactoring part 3: merge decoder and encoder to same interface (#30381)

generic proxy refactoring part 3: merge decoder and encoder to same interface

fix test

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

I did a big refactoring to this contrib extension. And two previous PRs have entered v1.28. This is the last one. I backport this to v1.28 to ensure the v1.28 version contains the complete refactoring.

PS: All changes I did to this contrib extension have no change logs (my bad). So, this backport has no change log also. If community cannot accept this point, we can try to add one for it.

PS: All changes I did to this contrib extension have no change logs

if you add the changelog on main we can backport that also


Making  Unit Tests Faster by Using Simulated Data

Right now in several unit tests we load the BCI Competition  IV 2a Dataset to then test windowing serialization etc.
In my view, this is an overkill and uses a lot of memory and runtime unnecessarily. We can just create smaller entirely fake data in those tests and this will speed up the unit tests quite a lot. Also makes it more appropriate for unit tests, like will not break in case anything changes about the MOABBDataset.
Affected files under test/unit_tests:

datautil/test_serialization.py
datasets/test_dataset.py
`preprocessing/test_mne_preprocessor.py
preprocessing/test_preprocess.py
preprocessing/test_windowers.py
samplers/test_samplers.py
training/test_scoring.py

We have a util function called: https://github.com/braindecode/braindecode/blob/ab87bbba71719b122e8b764259854c80974d9d73/braindecode/util.py#L268
maybe a easy solution


Use protected variables

If inner and total variables are protected by a lock, then you should acquire the same lock before using these variables.
https://github.com/canbula/ParallelProgramming.2022.2023.Fall/blob/8a7ae01e4597aaa44ac58a03d4fa1fca2f82d058/Week08/midterm/daemon_pi.py#L21

Issue closed with this final commit: https://github.com/canbula/ParallelProgramming.2022.2023.Fall/commit/63c47f9071cf171fd8dd31619cb1a59e9ef0e872


Unresponsive TV accessories in HomeKit after disabling How / TV setup

I had enabled the TV service for my 2 Sonos speakers before, but found no use for them.  So, I disabled them today.
However, even after disabling, my HomeKit app on my iPhone still shows them in "No Response" state.
What do I have to do to get them removed?  Shouldn't disabling the service remove them from HomeKit already?

No.  TV accessories are standalone accessories which need to paired to and removed from HomeKit individually.

Ah! That helps explain it ... thanks for the clarification.  I am going to remove them manually.


Feature Request: Add shell function to scrape websites

Thanks for the amazing functions feature! It would be great to in addition to searching the web, to be able to query actual web pages or sites for data. Maybe this is possible in some way with the duckduckgo function, although I would think either BeautifulSoup or a combination of curl and pandoc to convert the HTML might be needed?
EDIT:
My first attempt fails with:
Call get_webpage '{}'
Call get_webpage '{}':
    error: the following required arguments were not provided:
      --query <QUERY>

#!/usr/bin/env bash
set -e

# @describe Takes in a URL for a webpage and returns the HTML as markdown.
# Use it to answer user questions that require access to web pages such as creating a summary.
# @meta require-tools curl pandoc
# @option --query! The URL to scrape.

main() {
  curl "$argc_query" | pandoc -f html-native_divs-native_spans -t gfm-raw_html | sed -E 's/!\[.*?\]\((data:image\/svg\+xml[^)]+)\)//g'
}

eval "$(argc --argc-eval "$0" "$@")"

It seems the LLM doesn't understand the function parameters. Did you generate the functions.json file according to the readme instructions?

Thanks, I forgot to build with the last update, after removing # @meta require-tools curl pandoc it works!
I am unsure if what I made is correct and worth making a pull request out of? If you could suggest any improvements it would be great :) Why does # @meta require-tools curl pandoc not work when I have them installed?

The @meta require-tools has syntax error.
-- # @meta require-tools curl pandoc
++ # @meta require-tools curl,pandoc

See https://github.com/sigoden/argc/blob/main/docs/specification.md#meta
You should submit a PR.
Two Tips:

change --query to --url
curl add '-fsSL' options

https://github.com/sigoden/llm-functions/pull/11


Mobile / touch related issues

Hi,
Thank you for providing this nice looking react carousel slider 😊
I would like to continue to use your package as it looks really awesome.
I ran into an issue with the infinite prop:
when setting
infinite={true} the expected behavior works for non mobile/touch by hiding the appropriate arrows
but when using on mobile device, infinite slide is not prevented.
I have been mostly using functional React (noticed that your source is class component based), and if this might be a quick fix, and you would like point me to where you prefer code to be added, I could try to make a Pull Request.
Thank you again!

List of issues

[ ] infinite={true} prop only works as expected for non mobile/touch (by hiding the corresponding directional arrows)
[ ] the value of the selected prop is binding in desktop mode, and not in touch/mobile

Another issue I noticed is the use of the selected prop.
When a value is passed to selected, while in desktop mode the corresponding image is binded (the image according to the value of selected is shown), but, when in touch/mobile mode, the value of selected as a prop is not honored.
As you might have noticed, I am heavily using your awesome slider in mobile web development.
If you don't mind I will keep a list of mobile web related issues (again, issues that I would love to help out with) and change the title of the issue from infinite prop does not prevent slide when using touch / mobile to 'Mobile / touch related issues.

Hello,
I would like to join this conversation as I have also noticed an issue on the infinite prop that is ignored on mobile devices.
In fact, when I set infinite={false}, on mobile I can scroll on both sides when I reach the edge of the items.
And, thank you for providing this nice module!
Mino

Hi,
Perhaps some improvements to the touch sliding could help the UX. When you scroll down but slightly move in the x direction, the page will transition.
https://github.com/rcaferati/react-awesome-slider/blob/master/src/core/index.js#L863
Increasing the diff helps, but if you detect movement in y, it shouldn't transition the page.

This issue has been here since 2020. Any updates on this?


drag and drop borders only on folder

This pull request fixes the following issues:

if drag and drop a file to filer, only show highlighted borders on folders
removes not necessary shadow

👍


fit-and-finish: remove empty and unneeded files

This file is empty. Remove it if it is unneeded.

Also this file

Also this file


custom query support

add custom query support
add file naming convention

Hi! I'd be happy to review and merge this, just need to know if you closed it for any particular reason :-)

Hi Ricardo,
I made the PR by mistake, I was trying to make it against my fork.
It was a Proof-Of-Concept about passing the tool a custom query and a
custom output filename, for an internal project in my company.
I don't think it's in the scope of the tool, but if you think otherwise
I'll make the PR again from a public repository.
Cheers
--
Martín Gomez
Developer | PatagonianTech
Skype: m.m.gomez
Mobile: (+549) 11-6804-9927
https://patagonian.it
On Mon, Jul 22, 2019 at 7:59 AM Ricardo Lafuente<EMAIL_ADDRESS>wrote:

Hi! I'd be happy to review and merge this, just need to know if you closed
it for any particular reason :-)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/rlafuente/mysql2csv/pull/1?email_source=notifications&email_token=ALMU733PRC3PNVNGR5RYUFLQAWHKJA5CNFSM4H6NZJG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2PR7JQ#issuecomment-513744806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALMU73Z7UVFIIT2PHASOXRTQAWHKJANCNFSM4H6NZJGQ
.


fix summary writer thread leak

#4820
I assume there is only one daemon thread consumes event_queue.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.


Mailer refactoring

What needs to be done on this? Can i help in any way?

Hi @AzureusNation, the idea was to drop the current code in mail.py, since is a port of really-old code; it should work on python3 but I never wrote accurate tests.
This is my idea of what should be done:

rewrite the module from scratch, maybe looking at flask-mail
write tests (the mailer should support also a contextmanager to don't really send messages)
write the documentation

If you want to help with anything you're welcome :)

@gi0baro Doesn't the auth hook into the mail.py at the moment? Would it be the case where the Auth would also be a module?

@AzureusNation nope, the auth module just use an instance of the mailer right now. And this will be the case even after the module refactoring, so no worries about the auth :)

So this is what i have come up with so far. Nothing is set in stone but essentially i've taken my knowlage from Java and Kotlin and mad Message a builder to make it as simple as possible.
Essentially you would do the following:
mail = Mail
message = mail.new_message.set_to('anyone@theworld.com').set_subject('test').set_body('hello world!')
mail.send_mail(message)

So in 3 lines your sending an email. You could make it 2 lines:
mail = Mail
mail.send_mail(mail.new_message.set_to('anyone@theworld.com').set_subject('test').set_body('hello world!'))

Another addition i want to add is alternates so one for html and one for plain text. I also want to add attachments but what for you think? Any changes that are needed?

from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText

from weppy.extensions import Extension

class Mail(Extension):
    default_config = dict(
        mail_server='<IP_ADDRESS>',
        mail_port=25,
        mail_from_addr='',
        mail_username='',
        mail_password='',
        mail_use_tls=False,
        mail_use_ssl=False,
    )

    def on_load(self):
        self._load_config()

    def _load_config(self):
        self.config.mail_server = self.config.get('mail_server', self.default_config['mail_server'])
        self.config.mail_port = self.config.get('mail_port', self.default_config['mail_port'])
        self.config.mail_from_addr = self.config.get('mail_from_addr', self.default_config['mail_from_addr'])
        self.config.mail_username = self.config.get('mail_username', self.default_config['mail_username'])
        self.config.mail_password = self.config.get('mail_password', self.default_config['mail_password'])
        self.config.mail_use_tls = self.config.get('mail_use_tls', self.default_config['mail_use_tls'])
        self.config.mail_use_ssl = self.config.get('mail_use_ssl', self.default_config['mail_use_ssl'])

    def _connection(self):
        if self.config.mail_use_ssl:
            server = smtplib.SMTP_SSL(self.config.mail_server, self.config.mail_port,
                                      source_address=self.config.mail_from_addr)
        else:
            server = smtplib.SMTP(self.config.mail_server, self.config.mail_port,
                                  source_address=self.config.mail_from_addr)
        if self.config.mail_use_tls:
            server.starttls()
        return server

    def new_message(self):
        return Message(self.config.mail_from_addr)

    def send_mail(self, message):
        server = self._connection()
        if self.config.mail_username and self.config.mail_password:
            server.login(self.config.mail_username, self.config.mail_password)
        server.send_message(message)
        server.close()

class Message:

    def __init__(self, from_address):
        self.message = MIMEMultipart()
        self.message['From'] = from_address

    def set_to(self, to):
        self.message['To'] = to
        return self

    def set_cc(self, cc):
        self.message['Cc'] = cc
        return self

    def set_bcc(self, bcc):
        self.message['Bcc'] = bcc
        return self

    def set_subject(self, subject):
        self.message['Subject'] = subject
        return self

    def set_body(self, body):
        self.message.attach(MIMEText(body))
        return self

@AzureusNation thank you. Here are my considerations:

it looks quite java-ish, in fact would be more pythonic using the mailer like this<EMAIL_ADDRESS>subject='test', body='hello world!')
yes we need attachments since the actual system supports them

You want drop all code or refactor them ?

@Marlysson the idea is to refactor all the code, I don't know yet if this will mean to drop everything and restart from scratch. I'm actually working on #134, will update this when I'll start.

Great , OK then :+1:


Shipping broken, doesn't work

After installing with Go, it opens this screen.

None of the options are selectable
I guessed the keybindings would be N for New, C for connect, D for delete, Q for quit but none of them do anything
Passing in a db as an argument does nothing lazysql sqlite:///data.db doesn't do anything
Nothing is really said in the readme other than to type "lazysql" which leads me to screen mentioned above

Hello,
what is your OS?

Hello,
what is your OS?

Debian 12
From /etc/os-release  :
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I am experiencing the same issue on Fedora 40

Same issue on Archlinux Hyprland


transaction appears as "not confirmed" but in mwc713 it shows as confirmed

See screenshot.

And mwc713 output command:

Second transaction doesn't confirm:

Looks like from the mwc713 instance that's in the qt instance they are showing as "not confirmed" or false. Not sure why that's the case because when I do

So, looks like an issue with "txs". Those transactions are never showing as confirmed. confirmed is always = false.

Looks like they eventually confirm, but it takes longer. Even longer than 10 confirmations in some cases. I think the logic changed because before 1 confirmation was enough.

Will check. I tested with 1-2 confirmations. If they change the rule for number of confirmations, I will change it back.

Should be fixed at mwc-wallet now.


Development enable lint

👏 解決掉的 issue / Resolved Issues

close #90

⛏ 變更內容 / Details of Changes
二合一

Codecov Report

:exclamation: No coverage uploaded for pull request base (development@01436cf). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development     #140   +/-   ##
==============================================
  Coverage               ?   36.06%
==============================================
  Files                  ?       21
  Lines                  ?      804
  Branches               ?        0
==============================================
  Hits                   ?      290
  Misses                 ?      467
  Partials               ?       47

Continue to review full report at Codecov.

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


268 to master

See detailed description in the commit message.

new one https://github.com/hortonworks/cloudbreak/pull/14254


when delete pod, the "mount path" is  Residue

when delete pod，there is no action to remove the "mount point" ；when create pod，make a "mount point"

Stale issue, reopen if this is still a problem, with logs and any other data that can be provided.


JFoenix 9.0.x not on Maven Central

I was hoping to use Gradle for my new project running on Java 9, and discovered that the Java 9 version of JFoenix is not available in Maven Central. I can refer to a local jar, but would rather use Maven Central.

will close this issue as it's similar to #470

pushed JFoenix 9.0.0 to maven central it will be available in a couple of hours.


[MM-49986] Only show enabled apps for /apps debug bindings

Summary
/apps debug bindings will fail for any disabled app. So disabled apps should not be listed in the auto-completion.
Ticket Link
https://mattermost.atlassian.net/browse/MM-49986

Codecov Report
Base: 20.73% // Head: 20.73% // No change to project coverage :thumbsup:

Coverage data is based on head (df3439e) compared to base (461e9e6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #435   +/-   ##
=======================================
  Coverage   20.73%   20.73%
=======================================
  Files          80       80
  Lines        5310     5310
=======================================
  Hits         1101     1101
  Misses       4080     4080
  Partials      129      129

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update node defaults

Here are the changes I needed to make to get the sample up and running

static path was one level too deep
figure out where to get my WEBHOOK_SECRET
.env path in server.js was one level too deep

r? @adreyfus-stripe

Closing because I fixed on a different branch


New package: GEBT v0.1.0

Registering package: GEBT
Repository: https://github.com/byuflowlab/GEBT.jl
Created by: @taylormcd
Version: v0.1.0
Commit: 83d48d0093354acd312af69d4bb421b292bb429f
Reviewed by: @taylormcd
Reference: https://github.com/byuflowlab/GEBT.jl/issues/8

Looking at renaming this package, so hold off on merging [noblock]

Renamed and opened a new pull request with Registrator.  This pull request can be closed.


Drug Index: Add canonical SMILES data from ChEMBL's /molecule endpoint

In order to allow the front-end application to render molecule structures without requiring a third-party API dependency, can we please include the canonical SMILES data available from ChEMBL's /molecule endpoint?
The data is available from the /molecule endpoint in molecule_structures.canonical_smiles and was previously identified in the preliminary drug index work but it was not included in the version 1 of the drug index as it was not certain that it would be used by the front-end application.

Ticket closed as work completed. The canonical SMILES data is now available from /private/drug endpoint - see below for an example:


Rancher logging cannot match Outputs in the same namespace

Setup

Rancher version: v2.6.4
Browser type & version: Chrom 101.0.4951.54

Describe the bug

Cannot select Outputs in the same namespace
To Reproduce

Enable logging in the downstream cluster
Create Outputs
Create Flows and select the Outputs created in the previous step

Result
Could not match Outputs in the same namespace, prompt: Sorry, no matching options
Expected Result

Outputs in the same namespace can be selected in Flows
Screenshots

Additional context
This issue is only reproduced in Rancher v2.6.4, works fine in v2.6.3

I can reproduce this with a fresh Rancher installation done minutes ago. My output is in the 'default' namespace but I don't see it when configuring the flow.

Verified that this is resolved in v2.6.5-rc8.
ENVIRONMENT DETAILS

Ubuntu 18.04: Rancher HA
Ubuntu 20.04: RKE2 Cluster (3 etcd, 2cp, 3 workers)
Rancher version: v2.6.5-rc8
Browser: Chrome

TEST RESULT
PASS
VERIFICATION STEPS

Setup Rancher and navigated to Rancher UI.
Created a standard user and logged in to Rancher as that user.
Created a downstream RKE2 cluster with following configuration: 3 etcd, 2 cp, 3 workers.
Navigated to that freshly-created cluster > Apps > Charts and enabled Logging in the cluster.
Once successful, navigated to Logging > Outputs and create an output.
Created a flow and select the previously-created output.
Verified the resulting Outputs matches in the same namespace created in Flows:

Additionally, verified that I can create the resulting output and the namespace appears as well:

Repeated steps 6-7 with different providers multiple times and verified that all of the different namespaces appear:

Is there any workaround without updating to 2.6.5?


Regression in broccoli-asset-rewrite breaks asset URLs

See https://github.com/rickharrison/broccoli-asset-rewrite/issues/36
Perhaps you could revlock the broccoli-asset-rewrite dependency to v1.0.11?

Going to close this as the issue is in rewrite. A failing test case would greatly help!

👍


[CERTIFICATE]

Ask us to find free certificates in a specific field that you couldn't find here and we will add it.

What kind of certificate are you looking for?

Closing this you can re-open if you need to again.


chore(master): release 1.1.189

:robot: I have created a release beep boop
1.1.189 (2023-10-01)
Miscellaneous

deps: update dependency @commitlint/cli to v17.7.2 (67f842d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.189 :sunflower:


Getting blank screen

hello ,I am getting blank screen when I run the data generation script,what wrong I am doing pls help me to sort out this,I have also attached  a screenshot.

I have the same problem, have you solved the problem yet?


Ditch ts-jest

Not really needed because tests currently already get compiled by babel.

ts-jest has been replaced by babel? so I guess this is not relevant anymore.


bracesSpacing is not working for the JSX - Html part.

Hello,
I saw an interesting pattern. I am working on react and have the JSX code. I have configured prettier-now to this config :
{
	"window.zoomLevel": 1,
	"emmet.syntaxProfiles": {
		"javascript": "jsx"
	},
	"emmet.includeLanguages": {
		"javascript": "html"
	},
	"editor.formatOnSave": true,
	"editor.detectIndentation": true,
	"prettier.tabWidth": 4,
	"[html]": {
		"editor.defaultFormatter": "remimarsal.prettier-now"
	},
	"prettier.useTabs": true,
	"prettier.printWidth": 1000,
	"prettier.singleQuote": true,
	"prettier.javascriptEnable": [
		"javascript",
		"javascriptreact"
	],
	"prettier.spaceBeforeFunctionParen": true,
	"prettier.bracesSpacing": true,
	"[javascript]": {
              "editor.defaultFormatter": "remimarsal.prettier-now"
        },
}

as we can see that I have bracesSpacing=true true in the properties. this does not put the spaces in the HTML part of code for ex : on running the format it yields -
<input type="email" className={input-field ${this.state.isEmailInvalid ? ' error' : ''} ${this.state.isEmailFocused ? 'input-focused' : ''}} name="username" id="email" onKeyDown={(e) => this.handleUsernameChange(e)} onFocus={(e) => this.handleInputFocus(e)} onBlur={(e) => this.handleInputBlur(e)} />
I am not sure if this is the intended behavior or if is a bug.

I have the same problem in JSX, i'm going to uninstall the extension


Domain Model

Proposed changes
Documentation of the thin-edge domain-model.
That PR is a replacement for discontinued PR #1195.

Scope of discontinued PR #1195 was too vague / wide
That PR contains all latest domain-model contents from discontinued PR #1195,
but exclusively focuses on domain-model

Last unresolved domain-model comments from discontinued PR #1195 are listed below as TODOs. All those TODOs shall be considered/resolved in that PR; for each an individual comment shall be opened.

Synopsis: "This syntax is used in several places in this document, but sounds really weird."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1005611881

Synopsis: "simplify this by removing "sensors, actuators or domain applications."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998265394

Synopsis: "Why do we use 'external' here? (external child-device)"
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998308012

Synopsis: "I am a bit irretated by introducing "metric" here."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998273415

Synopsis: "This device model is focused on OT devices, while thin-edge will run elsewhere. I find this confusing."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r987947609

Synopsis: "The source of a metric it not necessarily a device - it can be a process."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r992207078

Synopsis: "Having "Command" under "telemetry" heading feels a bit strange to me."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998281293

Synopsis: "we should explain somewhere in more details our approach (device-twin) here,
e.g. that commands do a device state change and then update the device twin afterwards]"
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998263266

Synopsis: "this section (data concept) is not domain-model related."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998314997

Synopsis: "better term for plugin"
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r988017026

Synopsis: "It would be good to explain that DM is conceptually based on the doamin model terms above."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998294555

Synopsis: "I think we are missing a section for the "Inventory data" which is neither measurement nor metrics."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1010487888

Synopsis: Improvement for definition of 'device twin'
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1010510110

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[x] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
https://github.com/thin-edge/thin-edge.io/issues/1260
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Further comments

For TODO item (5):
Synopsis: "This device model is focused on OT devices, while thin-edge will run elsewhere. I find this confusing."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r987947609

With the latest structure changes focused on OT devices is gone.

[...] connecting to other devices which may or may not have thin-edge running but need device managment e.g. Sony use case

Also that "gateway case" is covered now.

TODO (1)

Synopsis: "This syntax is used in several places in this document, but sounds really weird."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1005611881

Entire document was changed according to the suggestion (see https://github.com/cstoidner/thin-edge.io/commit/0a9449d1f76ff94e2131937fe4584cff218b3fc4).

TODO (2)

Synopsis: "simplify this by removing "sensors, actuators or domain applications."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998265394

Suggestion applied, see https://github.com/cstoidner/thin-edge.io/commit/cfe5163bc6a396d6643412ee6dff39050fb67955

TODO (3)

Synopsis: "Why do we use 'external' here? (external child-device)"
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998308012

The term "external child-device" is used, since beside those also processes or containers on the main-device can be handled as "logical child-devices". I added now an according hint, see https://github.com/cstoidner/thin-edge.io/commit/da26172f73e0f8109f3c53e09bc2d406ca550463

TODO (6)

Synopsis: "The source of a metric it not necessarily a device - it can be a process."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r992207078

[...] collectd is a source of measurement that is not represented as a child device.

I see. I adopted the definition of metric now, see https://github.com/cstoidner/thin-edge.io/commit/e5e47a334d2db1aa939cbd02c2fcb9ddf5d8087f
More details about that shall be later considered in the data model.

TODO (7)

Synopsis: "Having "Command" under "telemetry" heading feels a bit strange to me."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998281293

New response in old PR:

"I see the term command is really missleading here.
[...]
Instead I prefer to name it setpoint."

See https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1014371185

TODO(12)

Synopsis: "I think we are missing a section for the "Inventory data" which is neither measurement nor metrics."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1010487888

I added the inventory, see https://github.com/thin-edge/thin-edge.io/pull/1554/commits/e9c186a07f389d50545639efe08dd798c41a3a73
@reubenmiller , please have a look.

TODO (13)

Synopsis: Improvement for definition of 'device twin'
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1010510110

Also insprired by your suggestion I decoupled the concept 'telemtry data' from state now.
See https://github.com/cstoidner/thin-edge.io/commit/e4c57206351183fc906717cae3ba2a3fea0dcb93

TODO (4)

Synopsis: "I am a bit irretated by introducing "metric" here."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998273415

[...] The more I investigate about metrics and measurements I came now also to the clue, that metric is not the right thing here. [...]
[...] So I am about to remove "metrics" from the model and adapt the definition of measurements. [...]

I removed now the concept "metric", but added "sample" underneath the measurements. See https://github.com/thin-edge/thin-edge.io/pull/1554/commits/c6bbf0ca567e0a7f7990739e5568800dff880b07

TODO (11)

Synopsis: "It would be good to explain that DM is conceptually based on the doamin model terms above."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998294555

[...] This include software, configuration and log management. The management uses above terms (commands, measurements) to interact with the IoT Cloud.

Software, configuration and log management do not really base on commands or measurements.
I assume your comment is a result of that missleading term of command. Fortunately that is already about to be removed (see https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998281293). Sorry for that.

TODO (9)

Synopsis: "this section (data concept) is not domain-model related."
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998314997

Document was restructured and that entire section "thin-edge data concept" was removed now.

TODO (10)

Synopsis: "better term for plugin"
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r988017026

New suggestion in old PR:

"[...] what do you think about the term add-on, using for components like c8y-config-plugin, or similar 3rd party or customer specific components?
[...]"

See https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r1016821134

TODO (8)

Synopsis: "we should explain somewhere in more details our approach (device-twin) here,
e.g. that commands do a device state change and then update the device twin afterwards]"
Link: https://github.com/thin-edge/thin-edge.io/pull/1195#discussion_r998263266

[...]
That's why it must be introduced, and even better explained.
Proposal:
thin-edge has been designed with the assumption [...]

Suggested explanation for "device twin" is adopted now.

[...] we should explain somewhere in more details our approach [...]

More details can be added into a specific document.


C-Sharp call Python

This pyLSV2 program works for me very well.  Thanks all.
However, when I call this python program in c-sharp, I get an exception.
IronPython version is 3.4.0-alpha1 released on 2021-04-19
The message from “Microsoft.Dynamic.dll” is "'NoneType' object has no attribute 'close'".
The code as below:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Scripting.Hosting;
using IronPython.Hosting;
namespace ConsoleApplication1
{
class Program
{
private static string address = null;
private ScriptRuntime pyRuntime = null;
private ScriptEngine pyEngine = null;
private ScriptSource source = null;
private ICollection paths = null;
    static void Main(string[] args)
    {
        Program p = new Program();
        p.UsePython();
    }

    public void UsePython()
    {
        address = "<IP_ADDRESS>";
        System.Console.WriteLine("Connecting to {0}", address);

        pyRuntime = Python.CreateRuntime();
        pyEngine = pyRuntime.GetEngine("python");
        source = pyEngine.CreateScriptSourceFromFile(@"E:\JC\JCTest.py");

        ScriptScope scope = pyEngine.CreateScope();

        paths = pyEngine.GetSearchPaths();
        paths.Add(@"D:\Python\Python38\Lib");
        paths.Add(@"D:\Python\Python38\Lib\site-packages");
        paths.Add(@"E:\JC");
        pyEngine.SetSearchPaths(paths);

        source.Execute(scope); //  “System.MissingMemberException” in Microsoft.Dynamic.dll
        System.Console.ReadLine();
    }
}

}
Can anybody help me? Thanks very much!

Hello @NecoMai,
thanks for the positiv feedback!
I have no experience on how to call a python library from C# so I can#t give you any feedback on this directly.
The only place in pyLSV2 where a .close() function is called is inside the disconnect function to close the tcp socket. If the socket is None I would think that something went wrong while establishing the connections. This can be because of a multitude of ways. pyLSV2 dosen't really handle exceptions very well at the moment, everything gets dumped to stdout in the end. Do you have a way to look at the output that is created bevor the MissingMemberException occurs?

Hi drunsinn
  I'm glad to receive your email.  Thanks.

  I have found any of "*.close" in the package of pyLSV2 and commented it, but it doesn't seem to work at all.

  I found that the problem occurs whenever importing the pyLSV2 package.

  c-sharp call Python

  Install IronPython in VS "Nuget package management" . It has two version on Python 2.7 and Python 3.4 .

This is a sample Python script.
Press Shift+F10 to execute it or replace it with your code.
Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
import pyLSV2.client
Press the green button in the gutter to run the script.
if name == 'main':
address = '<IP_ADDRESS>'
print('Connecting to {}'.format(address))

# con = pyLSV2.LSV2(address, port=19000, timeout=5, safe_mode=False)
# con.connect()
# print(con.get_versions())
# print('PLC Word: {}'.format(con.read_plc_memory(address=368, mem_type=pyLSV2.MemoryType.WORD, count=1)))
# con.disconnect()

I am currently not set up to do testing on windows so I can only make some wild guesses.
First I would recommend using import pyLSV2 instead of import pyLSV2.client. Importing the whole package implicitly loads the module init.py which makes sure everything in the library is accessible from your application/script.
Second your example should not run any 'active' code from pyLSV2. The close function call responsible for your problem might therefore be somewhere else...
It might sound stupid but have you checked if python script works on its own? Maybe there is a side effect to using IronPython that I am not aware of which breaks something in pyLSV2. I have not tested pyLSV2 with Python3.4 which IronPython3.4 is based on but I am not aware of any language features which might be incompatible.
What happens if you also comment the line it the import statement? Only leave and try running it again.
if __name__ == '__main__':
    address = '<IP_ADDRESS>'
    print('Connecting to {}'.format(address))

BTW:
I also just ran vermin to check if there might be any problems, its output looks like this:
vermin -v .
Detecting python files..
Analyzing 26 files using 10 processes..
~2, ~3       <path>/pyLSV2/docs/conf.py
~2, ~3       <path>/pyLSV2/pyLSV2/__init__.py
!2, 3.4      <path>/pyLSV2/pyLSV2/client.py
!2, 3.4      <path>/pyLSV2/pyLSV2/const.py
2.6, 3.0     <path>/pyLSV2/pyLSV2/low_level_com.py
2.7, 3.0     <path>/pyLSV2/pyLSV2/misc.py
!2, 3.4      <path>/pyLSV2/pyLSV2/tab_test.py
!2, 3.6      <path>/pyLSV2/pyLSV2/table_reader.py
~2, ~3       <path>/pyLSV2/pyLSV2/translate_messages.py
2.7, 3.0     <path>/pyLSV2/scripts/check_for_LSV2_commands.py
!2, 3.4      <path>/pyLSV2/scripts/lsv2_demo.py
!2, 3.4      <path>/pyLSV2/scripts/lsv2cmd.py
2.7, 3.0     <path>/pyLSV2/scripts/ssh_tunnel_demo.py
!2, 3.6      <path>/pyLSV2/scripts/table_reader_demo.py
!2, 3.6      <path>/pyLSV2/scripts/test.py
~2, ~3       <path>/pyLSV2/setup.py
~2, ~3       <path>/pyLSV2/tests/__init__.py
2.4, 3.0     <path>/pyLSV2/tests/conftest.py
~2, ~3       <path>/pyLSV2/tests/test_connection.py
~2, ~3       <path>/pyLSV2/tests/test_file_functions.py
~2, ~3       <path>/pyLSV2/tests/test_keys.py
~2, ~3       <path>/pyLSV2/tests/test_machine_parameters.py
~2, ~3       <path>/pyLSV2/tests/test_plc_read.py
~2, ~3       <path>/pyLSV2/tests/test_read_info.py
!2, 3.4      <path>/pyLSV2/tests/test_transfer.py
~2, ~3       <path>/pyLSV2/tests/test_translation.py

The only part that requires anything higher than python3.4 is the table reader functionality which you are not using so you should be fine on that front. All the other stuff that require 3.6 is not part of the library itself but are part of the accompanying example scripts.

Thanks very much. Using python 3.4 and IronPython 3.4.0 can fit that issue.
I am sure that it may be something wrong in the library on the other version of python.

@NecoMai
So, I looked a bit deeper into ipython3.4.0a1 . I did not use it from inside a C# program but I ran the interpreter from the command line. There where indeed two problems in the code that prohibited it from running. After fixing both (see branch #25) I was able to run lsv2_demo.py whit 'regular' python and python and get the same output.
I wasn't able to reproduce the error you reported with the missing close command. I added a if statement to check for None so at least I should not raise the error.
It would be grate if you could check again with the new changes from #25 and give me some feedback.

backport is part of release v0.7.4


feat: tree view for project submission structure

Added an interactive project structure builder for automatic checks
Improved the way in which forms worked: a single form component using a model
Better form error displayment

div moves when hovering "nieuwe map"

When pressing add new map, when the previous one is still named as "new" nothing happens, this is very unclear for a user. I suggest you change this to a placeholder which tells the user to fill in a name for a map so this almost never occurs.


[Refactor Repositories] FileSystemRepository base class

So the objective was to keep the class as simple as possible, just having the responsability of writing and reading data from the database backend, in this case the File System. I've kept most of the version system logic that we have on the current version, but that can be also revisitated on future tasks. Some things I've removed maybe need to be kept, like the retry parameter that was on the old __to_entity method, which has been changed in this PR. Let me know if retry is still needed, I don't think we do in the other repositories.
_to_entity and _from_entity have been moved to the respective model class, I think it makes sense to use the model as the bridge between the taipy objects and the data in the database. Of course this can be changed. You can treat this PR as a proposal, and we can and should continue to propose better changes as we go futher into the repository refactoring.

I've just realized that PRs to the dev/3.0 branch don't trigger GH Actions. I will add the branch to the GH actions while we work on this milestone if everyone agrees.

Im not sure I understood the point about the version number, maybe we can talk about it on the daily tomorrow

I noticed some of the function that was available in the old FSrepository class that is not implemented here. I had a look and they are not used anywhere which is weird cause if I remember correctly, they are used for optimizing the performance of entity creation in FS repos. Some of the function names are: _get_by_config_and_owner_id, _get_by_configs_and_owner_ids and __match_file_and_get_entity.
Other than that, everything looks good to me! Just have some minor remarks smiley

This is by design. I think we should be able to have a similar behavior with the current base methods, the new _load with the filters parameters for instance. This would be an use case to test when we move to the managers implementation, which is the place the calls this methods today.

[x]  In the AbstractRepository, the class name and the module name should be aligned
[x]  In the AbstractRepository, load method should start with an '_'.
[x]  In the AbstractRepository, _Encoder and _Decoder don't need to be prefixed by custom and should be in dedicated modules.
[x]  In the AbstractRepository, the version_number should be replaced by a generic field/value parameter.
[x]  FSRepository should inherit from the _AbstractRepository v2 class
[x]  In FSRepository, The version_number should be replaced by a generic field/value pair. It should remain the responsibility of the EntityFSRepository and not the FSrepository.
[x]  In FSRepository, the retry pattern must be re-implemented. Since the FS repo is not transactional, it aims to avoid conflicts in accessing the file.

This should be ok now. I've added the retry logic back with a decorator and removed all version references from the base class. Im thinking of implementing a VersionMixin to handle the version number and passing the version using the new filters parameter on the _load_all method.


Add a show / hide all functionality in the Routes list

Please describe the feature that you want to propose
We can toggle the visibility of individual routes using the routes list, it would be nice to have a show all / hide all functionality as well.

Duplicated of: https://github.com/KaotoIO/kaoto/issues/1655


Fix support for multiple hostnames

prepend-waiter-url is the only function that uses hostname now. Maybe we can do with just a single config entry?

I agree, reverted back to the old config


RO-4209: Update polymer instance features with ligand interaction enumerations

RO-4209

Hi @valasatava, now that I'm back from vacation, wanted to ask if you have a chance to look at this?

Thanks @valasatava! Is it OK to merge now, or should I wait until after the current weekly update completes tomorrow?


Suggestion: Add x86-32

I can't see an option for 32-bit x86. Would it be possible to add it?

You can do a -m32 build to ask the compiler for 32bit with gcc or clang.

Aha, so I can. Thanks.


Add PATCH deviceprofile basicinfo tests for the Profile Change ADR

🚀 Feature Request
This feature request is for Metadata
Description [REQUIRED]
According to https://docs.edgexfoundry.org/2.2/design/adr/core/0021-Device-Profile-Changes/ & https://github.com/edgexfoundry/edgex-go/issues/3925
The PATCH device profile basic info test would be added to metadata.
Describe the solution you'd like
 If you have a solution in mind, please describe it.
Describe alternatives you've considered
 Have you considered any alternative solutions or workarounds?

PR merged so close the issue.


Error trying to run cloudspeech_demo.py in AIY Voice Kit

Hello,
My voice kit was working perfectly and I had written custom scripts based on the cloudspeech_demo.py example and everything was working perfectly until two weeks ago that suddenly nothing was running and I kept getting errors without any changes.
I am now trying to run the basic cloudspeech_demo.py script from here: https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/src/examples/voice/cloudspeech_demo.py and I keep getting this error:
Traceback (most recent call last):
File "./cloudspeech_demo.py", line 71, in
main()
File "./cloudspeech_demo.py", line 41, in main
parser.add_argument('--language', default=locale_language())
File "./cloudspeech_demo.py", line 34, in locale_language
language, _ = locale.getdefaultlocale()
File "/usr/lib/python3.5/locale.py", line 558, in getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python3.5/locale.py", line 486, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8
Any suggestions?

Solved by opening: nano ~/.bash_profile
Adding:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Saving it and then running the script seems to have made the trick.


the problem is the zookeeper pod has been running, tha data cannot be written in.

if you restart zookeeper, *ReplicatedMergeTree table switch to read-only mode until zookeeper back to online, cause we need save new replicated parts name to Zookeeper for each INSERT INTO *ReplicatedMergeTree, tables with not replicated engines still work
Originally posted by @Slach in https://github.com/Altinity/clickhouse-operator/issues/410#issuecomment-636737319

could you run?
kubectl --all-namespaces get pods | grep zookeeper

i am sure the all zookeeper pods are running，all zookeeper pods has been restarted， but tha data cannot be written in.

could you provide zookeeper manifest which you use for install zookeeper?

docker.io/zookeeper 3.5.6
| |
ThanosWei
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 06/01/2020 20:43, Eugene Klimov wrote:
could you provide zookeeper manifest which you use for install zookeeper?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

could you provide whole YAML which you use for install zookeeper instead of just say zookeeper image version ?

i restart clickhouse error

look like you lost your zookeeper data
could you provide what exactly happens with Zookeeper on your side?
which actions you apply for your Zookeeper installation?

the new operator is ok


Meshery Blog sub-tags

Description
Currently the meshery blog website have heading and some sub-tags. But when use clicks to the tag such as (smi-conformance, specification, multimesh) it redirects to a page where it says page doesn't exist.
Expected Behavior
For the time being if the data is not available for the subtags anchor links should be disabled.
Screenshots

Enviroment:

OS: [e.g. Ubuntu]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]
Device: [e.g. laptop, iPhone 8]

[Optional] To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

[Optional] Additional Context
Add any other context about the problem here.
Contributor Resources
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
See Meshery site designs in this Figma designfile. Fill-in the Layer5 Community Member Form and join the Layer5 Community Slack for access.

Can I work on this @warunicorn19 @vinayaksh42 @leecalcote

@AnshumanDhiman there's already an open issue on this #509

You could probably help the contributor in fixing this, you could take a look at his open PR

sorry I didn't noticed I'll just close this issue😅😅

No problem 😄


Postpone button (extend folder expiration date by one month)

Enhancement
I can postpone the expiration date of a folder by one month

https://biblio-backend-ugent-prototype.vercel.app/deliver/spaces/folders/folder-name.html
Scenario & success criteria
I create a folder. A little before the deadline, I see no downloads have happened yet...

[x] In the folder, I can ask to postpone the expiration date of that folder for a month

[ ] The current expiration date is the creation date + 30 days
[ ] The new expiration date is the expiration date + 30 days
[ ] You can repeat this process if needed
This case is needed for holidays and anticipated issues

[x] I am asked to confirm whether I want to do this
[x] The expiration date is adapted (up with one month), and toaster confirms that it happened, and disappears after 3000ms
[x] This is also reflected in the table and sorting of the table #73

Implementation
Add a button to the header inside a folder

<button class="btn btn-link btn-link-muted">

    Postpone expiration
</button>

https://biblio-backend-ugent-prototype.vercel.app/deliver/spaces/folders/folder-name.html
Open a modal to confirm

Postpone the expiration date of

Folder name by one month

Current expiration date: 2023-12-21

Expiration date after postponing: 2024-01-21

                            <button class="btn btn-link" data-bs-dismiss="modal">Cancel</button>

                            <button class="btn btn-primary">Postpone</button>

Confirm with toaster (disappears after 300ms)

New expiration date for Folder Name: 2024-01-21

    <button class="btn-close"></button>

https://biblio-backend-ugent-prototype.vercel.app/deliver/spaces/folders/folder-name--postponed.html
Context
Sometimes, especially during holidays or during busy periods, people don't pick up their files in time. We can see this by the download count. Librarians have asked to keep it alive for a little longer (BKT + PPW – Amber).

Got some feedback and refined together with @verheyenkoen, reopening for a small adjustment.


Update asset-management.md

Adds missing comma.

So the user enters the trailing comma. On second thought this is just too trivial to recommend. I'm just closing this out instead.


passing multiple input vectors / audio frames in VanillaRNN

I am not able to understand how I can use VanillaRNN to input a series of vectors ( say I want to pass 5 vectors as a single input to all hidden layer ) , I read the documentation , I only  found following parameters
sequence size ( to unroll )
Input dimension ( D )
Batch size
Hidden Size

To do so, you could write your own preprocessing script to concatenate all the vectors into a single vector, then place them all into a unicode file. That is the only way this is supported.


fix: return dialect not interface

Codecov Report

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

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   79.91%   79.91%
=======================================
  Files           7        7
  Lines         463      463
=======================================
  Hits          370      370
  Misses         69       69
  Partials       24       24

Continue to review full report at Codecov.

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


feat(docs):[TRI-1604] Add concept for EDR caching and reuse

I would like to discuss the dependencies to policies.


Replacing routes doesn't work with non-default URL strategy

Using https://pub.dev/packages/url_strategy will break replacing URLs as we assume they have hashes.

Fixed as preview with warning


lexers/rest.lua:23: attempt to concatenate a table value

https://github.com/orbitalquark/scintillua/blob/0a8c23d5229eaa4942facaefa5e48e017d0d4636/lexers/rest.lua#L23
@rnpnr This is another blocker (at least for me) for rebase to scintillua_6.2.

Should I understand https://orbitalquark.github.io/scintillua/api.html#migrating-legacy-lexers

Lexers no longer specify styling information. Remove any calls to lex:add_style(). You may need to add styling information for custom tags to your editor’s theme.

that all calls to lex:add_style() should be removed? I see at these files to have them:

[ ] antlr.lua
[ ] clojure.lua
[ ] crystal.lua
[ ] gleam.lua
[ ] icon.lua
[ ] jq.lua
[ ] julia.lua
[ ] mediawiki.lua
[ ] meson.lua
[ ] moonscript.lua
[ ] rest.lua
[ ] txt2tags.lua

And truly when adding this patch to rest.lua I really get rid of the error reports:
diff --git a/vis/lexers/rest.lua b/vis/lexers/rest.lua
index 7080003..df94656 100644
--- a/vis/lexers/rest.lua
+++ b/vis/lexers/rest.lua
@@ -20,7 +20,7 @@ local block = '::' * (lexer.newline + -1) * function(input, index)
   return #input + 1
 end
 lex:add_rule('literal_block', token('literal_block', block))
-lex:add_style('literal_block', lexer.styles.embedded .. {eolfilled = true})
+-- MC lex:add_style('literal_block', lexer.styles.embedded .. {eolfilled = true})

 -- Lists.
 local option_word = lexer.alnum * (lexer.alnum + '-')^0
@@ -62,7 +62,7 @@ end
 local code_block =
   prefix * 'code-block::' * S(' \t')^1 * lexer.nonnewline^0 * (lexer.newline + -1) * indented_block
 lex:add_rule('code_block', #prefix * token('code_block', starts_line(code_block)))
-lex:add_style('code_block', lexer.styles.embedded .. {eolfilled = true})
+-- MC lex:add_style('code_block', lexer.styles.embedded .. {eolfilled = true})

 -- Directives.
 local known_directive = token('directive', prefix * word_match{
@@ -102,8 +102,8 @@ local unknown_directive = token('unknown_directive', prefix * word * '::' * lexe
 lex:add_rule('directive',
   #prefix * starts_line(known_directive + sphinx_directive + unknown_directive))
 lex:add_style('directive', lexer.styles.keyword)
-lex:add_style('sphinx_directive', lexer.styles.keyword .. {bold = true})
-lex:add_style('unknown_directive', lexer.styles.keyword .. {italics = true})
+-- MC lex:add_style('sphinx_directive', lexer.styles.keyword .. {bold = true})
+-- MC lex:add_style('unknown_directive', lexer.styles.keyword .. {italics = true})

 -- Substitution definitions.
 lex:add_rule('substitution', #prefix * token('substitution', starts_line(prefix * lexer.range('|') *

Except of course, it also eliminates the desired functionality (grep -c 'lex:add_style' rest.lua gives me 12 hits). What is the correct way how to deal with these styling issues? Do I have to create custom styles in all our themes/ files? E.g., how to make for example diff.lua work (with tags like addition, deletion, change)?

I don't think lex:add_style() is the issue. The problem is that the
highlighted code is not valid lua. I'm not sure what the intention was
but it is probably something like:
lexer.styles.embedded.eolfilled = true
lex:add_style('literal_block', lexer.styles.embedded)
lexer.styles.embedded.eolfilled = false

@orbitalquark will have to confirm since they introduced the code in 0649455.
Matěj is credited but those lines were not in the original patch (#71).

BTW, is it correct that we could eliminate all those lines, because it is now default? Why they are still in this repository?
-- Whitespace.
lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.space^1))

I don't think lex:add_style() is the issue. The problem is that the highlighted code is not valid lua. I'm not sure what the intention was but it is probably something like:
lexer.styles.embedded.eolfilled = true
lex:add_style('literal_block', lexer.styles.embedded)
lexer.styles.embedded.eolfilled = false

@orbitalquark will have to confirm since they introduced the code in 0649455. Matěj is credited but those lines were not in the original patch (#71).

@rnpnr lex:add_style('literal_block', lexer.styles.embedded .. {eolfilled = true}) is valid Lua code. Styles have a metatable that allows table concatenation to update fields: https://github.com/orbitalquark/scintillua/blob/028953206432b8572b309224134ccebfdec61e31/lexers/lexer.lua#L1926-L1928.

BTW, is it correct that we could eliminate all those lines, because it is now default? Why they are still in this repository?

There is an open issue to migrate legacy lexers: https://github.com/orbitalquark/scintillua/issues/76. Legacy lexers are still valid (though legacy features like style settings may not have an effect).

Styles have a metatable that allows table concatenation to update fields:

Ahhh, my bad. But that doesn't really explain this issue then. Perhaps
you still have some legacy lexer.lua hanging around @mcepl?

I'm also getting that same error when opening a .rst file. So that
metatable isn't really getting applied to the .embedded member. Since
the __concat method is just supposed to return nil can that argument
just be directly replaced with nil (or the line removed altogether
since it doesn't seem to do anything in that case).

Are you redefining lexer.styles by accident? As written in
lexer.lua, lexer.styles.embedded will trigger the __index
metamethod, which should return an empty table with a __concat
metamethod that should get triggered with the following .. operator.

You know what we were adding members to styles. Since thats no longer
useful I can fix our code. While this is definitely our fault something
like this would avoid the issue:
--- a/lexers/lexer.lua
+++ b/lexers/lexer.lua
@@ -1918,7 +1918,8 @@ end

 M.colors = {} -- legacy
 M.styles = setmetatable({}, { -- legacy
-  __index = function() return setmetatable({}, {__concat = function() return nil end}) end
+  __index = function() return setmetatable({}, {__concat = function() return nil end}) end,
+  __newindex = function() return end
 })
 M.property_expanded = setmetatable({}, {__index = function() return '' end}) -- legacy

Styles have a metatable that allows table concatenation to update fields:

Ahhh, my bad. But that doesn't really explain this issue then. Perhaps you still have some legacy lexer.lua hanging around @mcepl?

I am almost certain that I have not: I have even run find / -name lexer.lua to make sure.

You know what we were adding members to styles. Since thats no longer useful I can fix our code. While this is definitely our fault something like this would avoid the issue:
--- a/lexers/lexer.lua
+++ b/lexers/lexer.lua
@@ -1918,7 +1918,8 @@ end

 M.colors = {} -- legacy
 M.styles = setmetatable({}, { -- legacy
-  __index = function() return setmetatable({}, {__concat = function() return nil end}) end
+  __index = function() return setmetatable({}, {__concat = function() return nil end}) end,
+  __newindex = function() return end
 })
 M.property_expanded = setmetatable({}, {__index = function() return '' end}) -- legacy

That's a good idea. Committed via https://github.com/orbitalquark/scintillua/commit/e88bbcfecae46b48b79d8156ea7129411b5c847d

One more question:
tumbleweed-pkg/u/s/v/lexers$ grep 'add_style' rest.lua
lex:add_style('literal_block', lexer.styles.embedded .. {eolfilled = true})
lex:add_style('footnote_block', lexer.styles.label)
lex:add_style('citation_block', lexer.styles.label)
lex:add_style('link_block', lexer.styles.label)
lex:add_style('code_block', lexer.styles.embedded .. {eolfilled = true})
lex:add_style('directive', lexer.styles.keyword)
lex:add_style('sphinx_directive', lexer.styles.keyword .. {bold = true})
lex:add_style('unknown_directive', lexer.styles.keyword .. {italics = true})
lex:add_style('substitution', lexer.styles.variable)
lex:add_style('inline_literal', lexer.styles.embedded)
lex:add_style('role', lexer.styles.class)
lex:add_style('interpreted', lexer.styles.string)
tumbleweed-pkg/u/s/v/lexers$

Ignoring those {eolfilled = true} and {bold = true} I have just another question … would it be possible to have some kind of alias (in lexer file), so that I don’t have to rename all those role, interpreted etc. to completely non-sensical (in the context of ReST file) class and string ones?

I'm not familiar with ReST so take this with a grain of salt but the goal with the new lexers is to be more agnostic about theming. When migrating a legacy lexer the goal is to try and minimize the amount of lexer specific tags. So if an existing tag is good enough that is preferred. For places where it absolutely must be different than existing tags you can do something like in the diff lexer:
https://github.com/orbitalquark/scintillua/blob/0730c5ebd9261dfc4273b4501acfbab730999322/lexers/diff.lua#L19-L21
But this is not ideal since anyone who wants to use this lexer to (for example) add styling to an editor will need to specifically style the non standard tags. This is what I understand from migrating a couple lexers and also updating the default themes in vis. Its a bit more annoying for people using scintillua to provide source code highlighting but it makes more sense for scintillua to simply be a general purpose lexer.

Is it possible to call add_rule multiple times with the result that these different patterns would be connected with OR operator? I.e., is this correct https://paste.opensuse.org/pastes/7894264590df (search for commented out line calls to lex:add_style())?

Rules are matched in the order they are added. While you can technically use the same rule ID, it will not "OR" it with an ID of the previous name, and any lexers derived from yours that calls modify_rule() with your duplicate ID will not work as expected. It's highly recommended to use unique rule IDs.

On Tue Sep 26, 2023 at 5:33 PM CEST, orbitalquark wrote:

Rules are matched in the order they are added. While you can
technically use the same rule ID, it will not "OR" it with an
ID of the previous name, and any lexers derived from yours that
calls modify_rule() with your duplicate ID will not work as
expected. It's highly recommended to use unique rule IDs.

OK, then I am completely confused. Using the unique IDs is
exactly what got us into this mess. Unique IDs begat many more
unique styles and quadratic growth of the number of changes
needed in all styles.
What am I missing?

I do not follow vis and its development, so I don't know what "mess" you are referring to. Scintillua has always relied on unique rule names. https://orbitalquark.github.io/scintillua/api.html#rules provides a pretty simple (IMO) overview of rules and how they are matched.

I do not follow vis and its development, so I don't know what "mess" you are referring to. Scintillua has always relied on unique rule names. https://orbitalquark.github.io/scintillua/api.html#rules provides a pretty simple (IMO) overview of rules and how they are matched.

How well your editor (whatever it is as long as it based on scintillua) works with rST files? Do you have all those styles (e.g., footnote_block) in each stylesheet of it?

Talking about rST files, this is a wrong highlighting of a “commented out” paragraph.


Disable syncing to disk for everything but running on device

Should save about three minutes of worker time on the CI PR runs.

:+1:

Needs a rebase and to also change Swift 2

This should be good to go now, \c @jpsim

Only test failure was due to no devices plugged in to the CI machine.

In practice, this change surprisingly seemed to be slowing down some performance tests on device. It'd be good to re-enable device tests on CI so we can look further into that.


Where is the Side Navigation component?

I saw most adobe document using Side Navigation https://spectrum.adobe.com/page/side-navigation/ . But react-spectrum didn't provide a Side Navigation component. 🤔

Hi @djyde, our team is continuously working on releasing new components to achieve 1 to 1 parity with the components listed in https://spectrum.adobe.com/ (like Side Navigation). If you are interested, you can help us out by picking up one of the good first issues!


Captcha

It's solving captchas but download the png any solution that he can solve without download png?

And how i solve this cooldown problem?

After catching some pokemons this happen everytime

ive got the same problem

@SANKETOP  i can do the captcha for u but not the cooldown

It's solving captchas but download the png any solution that he can solve without download png?

from typing import Dict

from fastapi import FastAPI
from ultralytics import YOLO

model = YOLO('Solver1850.pt')
app = FastAPI()

@app.get("/")
async def read_root():
    return {"Status": 200}

@app.get("/solve/{url:path}")
async def read_item(url: str) -> dict[str, str]:
    result = model.predict(
        url.split("?")[0],
        imgsz=320,
        save=False,
        agnostic_nms=True
    )[0]

    classes, boxes = list(map(int, result.boxes.cls)), list(result.boxes.xyxy)
    detections = [(name, float(boxes[index][0])) for index, name in enumerate(classes)]
    detections.sort(key=lambda v: v[1])

    answer = "".join([str(detection[0]) for detection in detections])
    imagename = url.split("?")[0].split("/")[-1]
    os.remove(f"{imagename}")
    return {"answer": answer}

It's solving captchas but download the png any solution that he can solve without download png?

from typing import Dict

from fastapi import FastAPI
from ultralytics import YOLO

model = YOLO('Solver1850.pt')
app = FastAPI()

@app.get("/")
async def read_root():
    return {"Status": 200}

@app.get("/solve/{url:path}")
async def read_item(url: str) -> dict[str, str]:
    result = model.predict(
        url.split("?")[0],
        imgsz=320,
        save=False,
        agnostic_nms=True
    )[0]

    classes, boxes = list(map(int, result.boxes.cls)), list(result.boxes.xyxy)
    detections = [(name, float(boxes[index][0])) for index, name in enumerate(classes)]
    detections.sort(key=lambda v: v[1])

    answer = "".join([str(detection[0]) for detection in detections])
    imagename = url.split("?")[0].split("/")[-1]
    os.remove(f"{imagename}")
    return {"answer": answer}

im just woke up sr if not work

Where to paste this?

Replace CaptchaSlove.py bro :V

It's solving captchas but download the png any solution that he can solve
without download png?
from typing import Dict
from fastapi import FastAPIfrom ultralytics import YOLO
model = YOLO('Solver1850.pt')app = FastAPI()
@app.get("/")async def read_root():
return {"Status": 200}
@app.get("/solve/{url:path}")async def read_item(url: str) -> dict[str, str]:
result = model.predict(
url.split("?")[0],
imgsz=320,
save=False,
agnostic_nms=True
)[0]
classes, boxes = list(map(int, result.boxes.cls)), list(result.boxes.xyxy)
detections = [(name, float(boxes[index][0])) for index, name in enumerate(classes)]
detections.sort(key=lambda v: v[1])

answer = "".join([str(detection[0]) for detection in detections])
imagename = url.split("?")[0].split("/")[-1]
os.remove(f"{imagename}")
return {"answer": answer}

im just woke up sr if not work
Where to paste this?
—
Reply to this email directly, view it on GitHub
https://github.com/MehulKhanna/PokeGrinder/issues/29#issuecomment-1868429689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCRN65UIUVGDMVZOPBAC7DLYK6U4NAVCNFSM6AAAAABBA2EL5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGQZDSNRYHE
.
You are receiving this because you commented.Message ID:
@.***>

Replace CaptchaSlove.py bro :V
…
It's solving captchas but download the png any solution that he can solve without download png? from typing import Dict from fastapi import FastAPIfrom ultralytics import YOLO model = YOLO('Solver1850.pt')app = FastAPI() @app.get("/")async def read_root(): return {"Status": 200} @app.get("/solve/{url:path}")async def read_item(url: str) -> dict[str, str]: result = model.predict( url.split("?")[0], imgsz=320, save=False, agnostic_nms=True )[0] classes, boxes = list(map(int, result.boxes.cls)), list(result.boxes.xyxy) detections = [(name, float(boxes[index][0])) for index, name in enumerate(classes)] detections.sort(key=lambda v: v[1]) answer = "".join([str(detection[0]) for detection in detections]) imagename = url.split("?")[0].split("/")[-1] os.remove(f"{imagename}") return {"answer": answer} im just woke up sr if not work Where to paste this? — Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCRN65UIUVGDMVZOPBAC7DLYK6U4NAVCNFSM6AAAAABBA2EL5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGQZDSNRYHE . You are receiving this because you commented.Message ID: @.***>

heyy i got installation problem i mean i installed it but it isnt running can u help its #33