text:
Private server URL for os-acme-client

Of course the primary use for the os-acme-client is to work with letsencrypt. But the protocol is open and can also be used to communicate with other servers.
Since we have our own company CA and refreshing certificates is quite a bit of work and forgetting to upgrade could lead to disaster I'd like to use acme to update the certificates.
The only thing that — as far as I can tell — is missing is the possibility to configure a custom acme server URL.
If anyone can implement that, that would be magnificent.

If someone provides a PR, then I'll gladly review it. But I'm not going to work on this feature.

If someone provides a PR, then I'll gladly review it. But I'm not going to work on this feature.

authors: fraenki hboetes

repo: opnsense/plugins


text:
For compatibility with mysql_chef_gem 1.0

In mysql_chef_gem the default recipe is removed  so the install action need to be specified now.
https://github.com/opscode-cookbooks/mysql-chef_gem/commit/40d7f00f17e1ff55d7e0d453927e08b0e15e9a69

These providers have been updated to use mysql2 gem. Closing.

source: gharchive/pull-request

authors: someara vroedski

repo: opscode-cookbooks/database

license_type: permissive

license_source: bigquery


text:
org.openid4java.message.MessageException: 0x100: Required parameter missing: openid.mode

this is my jenkins.model.JenkinsLocationConfiguration.xml
<?xml version='1.0' encoding='UTF-8'?>
<jenkins.model.JenkinsLocationConfiguration>
  <adminAddress>jenkins daemon <foo@acme.org></adminAddress>
  <jenkinsUrl>https://localhost:5555/jenkins/</jenkinsUrl>
</jenkins.model.JenkinsLocationConfiguration>

My jenkins is configured to authenticate using openid using LDAP as the user database.
I have been facing the same error as mentioned in issue #266 .
the complete stack trace is as below. Anyone here can help please
javax.servlet.ServletException: org.openid4java.message.MessageException: 0x100: Required parameter missing: openid.mode
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:211)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.openid4java.message.MessageException: 0x100: Required parameter missing: openid.mode
	at org.openid4java.message.Message.validate(Message.java:187)
	at org.openid4java.message.AuthSuccess.validate(AuthSuccess.java:405)
	at org.openid4java.message.AuthSuccess.createAuthSuccess(AuthSuccess.java:118)
	at org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1142)
	at hudson.plugins.openid.OpenIdSession.doFinishLogin(OpenIdSession.java:111)
	at hudson.plugins.openid.OpenIdSsoSecurityRealm.doFinishLogin(OpenIdSsoSecurityRealm.java:210)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	... 65 more

You stack trace mentioned openid.mode, do you by chance some sort of OpenID auth already enabled?

Closing this for now. Feel free to re-open if there is anything else I can do to help.

source: gharchive/issue

repo: opscode-cookbooks/jenkins


text:
bug: Inconsistent attribute value when using number pool

Component
Python SDK
Infrahub SDK version
0.14
Current Behavior
When I populate a number using a pool the object then contains a dict { "value": 1000 }
Expected Behavior
I expect the value field to contain the actual value (e.g. 1000) instead of a dict with again value key ({ "value": 1000 })
Steps to Reproduce

invoke demo.build demo.start demo.load-infra-schema demo.load-infra-data
Open a Python interpreter with SDK installed
Run the following code

from infrahub_sdk import InfrahubClient, Config
from infrahub_sdk.protocols import CoreNumberPool

class MyClassSoICanDoAsyncStuff:
    def __init__(self) -> None:
        self.client: InfrahubClient =  InfrahubClient(config=Config(api_token="06438eb2-8019-4776-878c-0941b1f1d1ec"), address="http://localhost:8000")

    async def create_number_pool(self) -> None:
        # Create number pool
        number_pool: CoreNumberPool = await self.client.create(
            kind="CoreNumberPool",
            name="My Number Pool",
            node="InfraVLAN",
            node_attribute="vlan_id",
            start_range=1000,
            end_range=1999
        )

        # Save it
        await number_pool.save()
        self.number_pool = number_pool

    async def create_vlans(self) -> None:
        # Create VLAN without pool
        vlan = await self.client.create(
            kind="InfraVLAN",
            name="my-vlan-without-pool",
            vlan_id=2000,
            description="My vlan production",
            status="active",
            role="server"
        )

        await vlan.save()

        print(f"VLAN ID = {vlan.vlan_id.value} (without pool)")

        # Create VLAN with pool
        vlan = await self.client.create(
            kind="InfraVLAN",
            name="my-vlan-with-pool",
            vlan_id=self.number_pool,
            description="My vlan production",
            status="active",
            role="server"
        )

        await vlan.save()

        print(f"VLAN ID = {vlan.vlan_id.value} (with pool)")

myclass = MyClassSoICanDoAsyncStuff()
await myclass.create_number_pool()
await myclass.create_vlans()

This yield the following results

VLAN ID = 2000 (without pool)
VLAN ID = {'value': 1000} (with pool)

Additional Information
No response

I'm unable to reproduce this issue with the SDK v1.0.1. I wonder if this has been fixed alongside another issue somehow. Can you confirm if you still observe this issue?

@gmazoyer I faced that one with SDK in v1.1.0
> pip show infrahub-sdk
Name: infrahub-sdk
Version: 1.1.0
Summary: Python Client to interact with Infrahub

So it turns out it's a difference of behaviour between the sync and async code. I was testing with the sync one, hence not seeing the same results. I'll have a deeper look into the async code to fix it.

authors: BaptisteGi gmazoyer

repo: opsmill/infrahub-sdk-python

license_source: github-api


text:
Feature Request - Container Class

Hi,
First of all, thanks for the contribution. I think this should come out of the box with Nova :).
Also would be nice to have ability to have some customization on css, atleast for the container.
Defaults to empty.
Sets in a chain:
->containerClass(['w-1/3', 'bg-red-500'])

I merged it and played around with it for a bit, but I didn't really see it working as expected. It was impossible to overwrite the background colour due to duplicate classes. Unable to overwrite the font family, because the font family was defined on the child elements. So I didn't really find this feature in its current form really useful.
I instead made it possible to create your own component for the detail field value. You can still call ->withMeta(['classes' => ['bleh']]) on the field and access them through this.field.classes in the custom component.
See https://github.com/optimistdigital/nova-multiselect-field#overwriting-the-detail-field

@Tarpsvo Yes this is the better solution for sure and as I see it's already tagged as 1.6.0 :)
Thanks for your time and fast response. Best of luck !

authors: Tarpsvo kropcik

repo: optimistdigital/nova-multiselect-field

license: MIT


text:
Oracle GoldenGate

Initial files to support containerized execution of Oracle GoldenGate 23

Thanks for your time, @Djelibeybi !

Thanks for your time, @Djelibeybi !

You're welcome. :)

Hi @Djelibeybi - I am having trouble finding the error in the super linter check. Any pointers would be appreciated.

Hi @Djelibeybi - I am having trouble finding the error in the super linter check. Any pointers would be appreciated.

The linting issues are being found by SHELL_SHFMT and can be seen by expanding that section or by clicking here: https://github.com/oracle/docker-images/actions/runs/8926398614/job/24517335048?pr=2780#step:5:233

Though, now that I'm looking at it closely, I'm not sure I agree with the linter on a few things (like its suggested indentation or lack thereof). I'll take a closer look tomorrow or over the weekend and tweak the linter as necessary. If you feel the linter is being overly pedantic, let me know and I'll merge after I do a final manual check.

I simply do not see the error. The shfmt tool is too aggressive with regard to whitespace, marking style differences as errors. I made the suggested corrections, which are still failing for no apparent reason. When I run shfmt locally, the return code is 0 for all files using shfmt -w -i 4.
As far as I can tell, this PR failed because shfmt expects TAB indentation, which I don't agree with. Other than that, I see no errors.
shfmt did, however, find an issue that ShellCheck did not.

These changes - which are critical to the GoldenGate 23ai release - passed lint checks a few weeks ago. If there is anything you can do before next week, I would really appreciate it.

I thought about this more and realized TAB characters are the current requirement (per shfmt), so I reformatted and tested the scripts.

Thanks a bunch, Avi. Have a fantastic weekend!

Thanks a bunch, Avi. Have a fantastic weekend!

You're welcome and likewise.

authors: Djelibeybi sbalousek

repo: oracle/docker-images


text:
ERROR: object of type 'NoneType' has no len()

Not able to generate terraform code while having autonomous data warehouse services exists in the layout.
okit    | ERROR: object of type 'NoneType' has no len()
okit    | Traceback (most recent call last):
okit    |   File "/okit/okitweb/okitWebDesigner.py", line 227, in generate
okit    |     generator.generate()
okit    |   File "/okit/visualiser/generators/okitGenerator.py", line 188, in generate
okit    |     self.renderAutonomousDatabase(autonomous_database)
okit    |   File "/okit/visualiser/generators/okitGenerator.py", line 236, in renderAutonomousDatabase
okit    |     if len(autonomous_database['whitelisted_ips']):
okit    | TypeError: object of type 'NoneType' has no len()

@devopyes which version are you using because the whitelisted_ips should never be None.

Version 0.11.0

Fixed in next release

authors: devopyes toxophilist

repo: oracle/oci-designer-toolkit


text:
QA infra change to support new secret

Updated QA infra to include the new field runtimeEncryptionSecret

@anpanigr please post external jenkins results - full test suite

Got clean run for ItModelInImage on multi node cluster - https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-integration-test-cluster-6/48/

authors: anpanigr vanajamukkara

repo: oracle/weblogic-kubernetes-operator


text:
Adding liveness probe test and refactoring ItDomainInPV

Adding liveness probe test
Refactoring ItDomainInPV to have separate test methods for creating a domain, verifying t3 channel port, LB port, default node port.
Jenkins - https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/346/
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-model-in-image-tests/924/
Kind cluster entire suite - https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/361/ - failure unrelated to the changes in PR, docker pull failing with net/http: request canceled
non-kind cluster Jenkins - https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-model-in-image-tests-10/349/
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-model-in-image-tests/935/ - some intermittent failures not related to the changes in the PR
develop branch also has some intermittent failures -
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-model-in-image-tests-10/344/

If I move the Nginx installation to the test method testAccessAppUsingLBPort, on mii-10 Jenkins the test is failing in the utils call to webapp even though the checks are done for Nginx ready and ingress creation before making call to the webapp using LB. So, I moved back the Nginx installation to @beforeall method for now which is working, will check with Xian to see if any more checks need to be done for Nginx. This PR doesn't have to wait for that.
<oracle.weblogic.kubernetes.utils.TestUtils callWebAppAndCheckForServerNameInResponse> <Calling webapp at most 20 times using command: curl --silent --show-error --noproxy '*' -H 'host: wdtdomain-inpv.cluster-wdtdomain-inpv.test' http://130.61.49.225:30305/testwebapp/index.jsp>
<06-14-2020 13:42:51> <INFO> <oracle.weblogic.kubernetes.utils.TestUtils callWebAppAndCheckForServerNameInResponse> <Response for iteration 0: exitValue 7, stdout , stderr curl: (7) Failed connect to 130.61.49.225:30305; Connection refused>

Since you are modifying some common code, can you please run the entire suite, not just the DomainOnPv class.

updated Jenkins results for entire suite


text:
The cursor does not appear

The cursor does not appear，Because update function are not performed， so i code like this, "this.game.time.events.loop(Phaser.Timer.SECOND/3, this.update, this);", it is right?

Agree, no cursor for me.  need docs on this.

Without any code example on how you add the input to the game I'm gonna asume here you are using a custom object, and the addChild method to add the InputField to the game, because in a situation like this, it is indeed possible that update is not called.
This is, however, default Phaser behaviour as stated in the Phaser docs

@AleBles
i see phaser docs about this:
Remember if this Game Object has any children you should call update on those too.
my code:
this._password = game.make.inputField(395, 1190, { 		    font: '50px Arial',             fill: '#FFFFFF',             cursorColor : '#FFFFFF',             fillAlpha: 0,             width: 600, 		    height : 80,             placeHolder: '请输入登录密码',             placeHolderColor: '#999999',             textAlign: 'left',             focusOutOnEnter:true, 		    type: Fabrique.InputType.password 		});		 		c.addChild(this._password);
so, i must call this._password.update() ?
or use game.add.existing(this._password);

Ideally, in the update function of your custom Phaser object, you call this._password.update()

@AleBles thanks, it's work;

authors: AdamAdept AleBles as573991874

repo: orange-games/phaser-input

license: mit


text:
Make pyright happy

I tried to use this library and to be honest the user experience was not the best. For me it was hard to understand with all the missing and invalid type annotations. My editor was also complaining a lot, especially about the decorated methods that did not pass trough information about the methods.
So as an exercise to better understand the inner workings of the library I started to fix those type annotations. I also found some dead code and missing variables while doing that. Here are the results if you are interested in including them in the trunk.
This should not change the API at all though I have had no time to test it in actual use yet.

@poksiala apologies this fell off my radar - if you want to rebase I can give another review and (I think) it should be ready for merge.

authors: poksiala vsoch

repo: oras-project/oras-py


text:
fix: s390x architecture is not handled

The project releases s390x binaries (64bit), but not s390 (31bit). Node reports a s390x runner correctly as "s390x", so instllations will fail on this platform.
https://nodejs.org/api/os.html#osarch
Hence the s390 arch case has been changed to the s390x.

@mkulke Many thanks for the fix! Could you also update the dist folder? /cc @qweeah

Thanks @mkulke for the contribution. Currently you may use s390 and it will be resolve to s390x when fetching the image.
/lgtm

authors: mkulke qweeah shizhMSFT

repo: oras-project/setup-oras


text:
Export the graphs and the reports to JPEG

Ruben need to find how to export the reports to JPEG file.

Done

authors: orbardugo sabagsapir

repo: orbardugo/Hahot-Hameshulash


text:
Add content to Playbooks

https://github.com/orbit-love/orbit-model/blob/master/playbooks.md

We'll need to create that page again, I think it disappeared in the refactoring that was #18.
Any ideas for specific playbooks to put in here?

Closing as stale 🚪

authors: dzello patrickjwoods

repo: orbit-love/orbit-model


text:
Error serializing message Object already installed

Exception popped up in production.
2017-01-24 19:53:14,066 ERROR [ForkJoinPool-1-worker-23] (cloud.orbit.actors.runtime.SerializationHandler) Error serializing message
java.lang.IllegalArgumentException: Object already installed: com.sulake.h4k.common.actors.observers.SessionObserver:jUP6WdiZRUFC4FoXdlVWpC
	at cloud.orbit.actors.runtime.LocalObjects.registerLocalObject(LocalObjects.java:235) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.LocalObjects.registerLocalObject(LocalObjects.java:216) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.LocalObjects.getOrAddLocalObjectReference(LocalObjects.java:188) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.Stage.registerObserver(Stage.java:1126) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.BasicRuntime.registerObserver(BasicRuntime.java:82) ~[orbit-core-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.JavaMessageSerializer$1.replaceObject(JavaMessageSerializer.java:125) ~[orbit-runtime-0.9.12.jar:?]
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1144) ~[?:1.8.0_102]
	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378) ~[?:1.8.0_102]
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) ~[?:1.8.0_102]
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[?:1.8.0_102]
	at cloud.orbit.actors.runtime.JavaMessageSerializer.serializeMessage(JavaMessageSerializer.java:91) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.SerializationHandler.write(SerializationHandler.java:69) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.net.DefaultHandlerContext.write(DefaultHandlerContext.java:171) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.MessageLoopback.write(MessageLoopback.java:94) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.net.DefaultHandlerContext.write(DefaultHandlerContext.java:171) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.Messaging.writeMessage(Messaging.java:396) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.Messaging.writeInvocation(Messaging.java:358) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.Messaging.write(Messaging.java:318) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.net.DefaultHandlerContext.write(DefaultHandlerContext.java:171) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.actors.runtime.Hosting.async$writeInvocation(Hosting.java:741) ~[orbit-runtime-0.9.12.jar:?]
	at cloud.orbit.concurrent.TaskContext.lambda$wrap$3(TaskContext.java:256) ~[orbit-commons-0.9.12.jar:?]
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952) ~[?:1.8.0_102]
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926) ~[?:1.8.0_102]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_102]
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) ~[?:1.8.0_102]
	at cloud.orbit.concurrent.Task.internalComplete(Task.java:122) ~[orbit-commons-0.9.12.jar:?]
	at cloud.orbit.concurrent.Task.lambda$from$1(Task.java:173) ~[orbit-commons-0.9.12.jar:?]
	at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[?:1.8.0_102]
	at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[?:1.8.0_102]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_102]
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) ~[?:1.8.0_102]
	at cloud.orbit.concurrent.Task.internalComplete(Task.java:122) ~[orbit-commons-0.9.12.jar:?]
	at cloud.orbit.concurrent.Task.lambda$from$1(Task.java:173) ~[orbit-commons-0.9.12.jar:?]
	at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) [?:1.8.0_102]
	at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) [?:1.8.0_102]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) [?:1.8.0_102]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1595) [?:1.8.0_102]
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582) [?:1.8.0_102]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_102]
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_102]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_102]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_102]

That's a new one to me. Any idea on the circumstances?

Not yet, could just be high load.

I suspect it arises when using the same new observer with two actors concurrently.

authors: JoeHegarty johnou

repo: orbit/orbit


text:
close keystore after signing

Closes store after signing to avoid leveldb 'lock held' error

I believe this can be closed as well

repo: orbitdb/orbit-db-identity-provider


text:
Update to level@8. Use storage-adapter for all other orbit-db-* packages.

All of these packages directly depend on level in orbitdb (add more, if known):

orbit-db-keystore
orbit-db-cache
orbit-db-storage-adapter

All of them use an old version of level (<8.0.0).  Because v8.0.0 changes the API for interacting with level, all of these packages must be refactored to be upgraded any further.
But this work that should not actually be necessary, because all orbit-db-* packages should only interact with level through orbit-db-storage-adapter.
There are two TODOs:

Refactor all other orbit-db-* packages to use orbit-db-storage-adapter instead of level directly.
Refactor orbit-db-storage-adapter  to use the newest version of level (v8.0.0)

Link to the UPGRADING Guide by level

I would recommend removing orbit-db-storage-adapter and passing the leveldb directly into the modules that require it.
Previous Level Implementation
When implemented,orbit-db-storage-adapter was designed to abstract away the "up/down" design of level. Originally,  level was designed to be completely modular; underlying database bindings, encapsulated in "down" modules, were passed to levelup, a high level wrapper which provided a common API no matter what underlying data storage mechanism was used.
New Level Implementation
As the platform matured, the modular nature of levelup + leveldown produced potential pitfalls and resulted in a move to a bundled approach where a single database implementation was bundled with all of necessary pieces. Instead of a modular design, the latest version of level uses a bundled design whereby everything works out of the box for a targeted database type.
What was once levelup/leveldown is now bundled into a single module. For example, classic-level provides a full stack for node-based leveldb. browser-level for browser support. memory-level for memory-based dbs and so on. All db stacks inherit from abstract-level, which provides a common api for implementing a full stack targeted for a particular database binding. There is even a default "Level" module which provides both classic-level and browser-level implementations in a single package, removing the need to manage databases for either node or browser.
Because each database binding is encapsulated in a full stack inheriting from abstract-level, there is no longer a need (or the ability to pass any database binding (I.e. *down) to a single levelup. Instead, a developer should use the database stack.
What once was:
import leveldown from 'leveldown'
import leveljs from 'level-js'
import levelup from 'levelup'

var down = leveldown('mydb')
var js = leveljs('mydb')
var nodeDb = levelup(down)
var browserDb = levelup(js)

is now:
import { ClassicLevel } from 'classic-level'
import { BrowserLevel } from 'browser-level'

var nodeDb = new ClassicLevel('mydb')
var browserDb = new BrowserLevel('mydb')

Additionally, the former is now deprecated meaning it will be removed from newer versions.
Removing Storage Adapter and implementing level directly
When levelup was used to implement an underlying "down" binding, it made sense to provide an additional layer of abstraction. For example,
import leveldown from 'leveldown'
import Storage from 'orbit-db-storage-adapter'

var storage = Storage(down)
var storage = storage.createStore('mydb')

However, now that an entire stack handles all of the levelup/leveldown interaction, orbit-db-storage-adapter now serves no purpose. In fact, it accomplishes the same outcome as any abstract-level based package does, resulting in a duplication of the work done by the abstract-level packages and making its role redundant.
Instead, orbit-db-storage-adapter should be retired and any module implementing orbit-db-storage-adapter should instantiate the database directly using the necessary stack; classic-level, browser-level, memory-level, etc. This would also remove a lot of the conditionals which are required to address the various idiosyncrasies between database implementations (for example, checking if a db path is necessary, as it would be required for ClassicLevel but not for MemoryLevel).
Migrating away from orbit-db-storage-adapter

Most customizable level implementations are required for testing. The various db implementations are currently stored as an array in orbit-db-storage-adapter. These should be moved to orbit-db-test-utils,
The only packages implementing orbit-db-storage-adapter are orbit-db-keystore, ipfs-log and orbit-db-cache and most of these are for testing. These should be refactored to implement Level directly.

authors: CSDUMMI haydenyoung

repo: orbitdb/orbit-db-storage-adapter


text:
Setting inflation destination shows 'Signer updated' effect

When you set the inflation destination, the effect that is shown in the list of operations is 'Signer updated'.

Fixed in 0.8.2. New version of Horizon returns correct effect.

authors: lenondupe orbitlens

repo: orbitlens/stellar-expert-explorer


text:
"Project not found" warning after rename

Hello,
I found a bug in orchest v2022.10.7 version. I renamed a project name and clicked to this name at the project page and I got this warning. Project and session are here, No problem but warning is shown every time. Watch out this point. Pipeline pages is flawless, I don't see any warning while changing between different projects but the project page have a bug after renaming any project name. All projects are accessible.

Thanks for reporting this @nuhyurduseven! We'll investigate

The problem actually happens every time you open a project:
https://user-images.githubusercontent.com/26223174/197493852-faa3c541-8993-4168-9f79-5f2a1be321f0.mp4

Fix will be included in v2022.10.9

repo: orchest/orchest


text:
[Bug]: Caret position is slightly off, compared to Bootstrap 4 custom-select

Bug description
For some reason, it is 5px additional to the left:
.ts-wrapper.single .ts-control:not(.rtl):after {
    right: calc(.75rem + 5px);
}

Expected behavior
When I add the following overrides, it gets fixed:
/* Align better with custom-select styles */
.ts-wrapper.single .ts-control:not(.rtl)::after {
  right: 0.75rem;
}

Steps to reproduce
Add a Tom Select single-value element and compare the caret position with a Bootstrap 4 select that has the "custom-select" class.
Additional context

OS: All
Browser: All
Version: latest (Bootstrap 4)

I believe I can't remove the stale label.

repo: orchidjs/tom-select


text:
Terminology change for Areas Surrounded

Change the term for "area surrounded by SLR Planning Area". Instead, could be called isolated areas, islands, isolated high points, cutoff areas / locations. Let's think about terminology.

Our conversations are leading us to:

"impacted by"

1 hazard, 2 hazards, 3 hazards

"surrounded by"

for the new legend of terms

Explanation for Pink Areas - specify that they will be islands

We've changed the cartography to striped, for these areas, and we are now using "surrounded by", so closing this issue


text:
Stock wallet payee

https://cash.app/launch/bitcoin/$nanmw77/CHGiV71CXT

https://cash.app/launch/bitcoin/$nanmw77/CHGiV71CXT

Which wallet type are you connected with ?

Ian connected to cash app and to green wallet and Coinbase this one I paid
in to a stock address .with coins I had I. Purchased as well
On Tue, Oct 17, 2023, 12:24 AM EVMOS02 @.***> wrote:

https://cash.app/launch/bitcoin/$nanmw77/CHGiV71CXT
Which wallet type are you connected with ?
—
Reply to this email directly, view it on GitHub
https://github.com/ordinals/ord/issues/2554#issuecomment-1765690538, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BDH4UE2SY55SBNMWV64NFTLX7YJB3AVCNFSM6AAAAAA6DHFGMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVGY4TANJTHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Is it stick in your cashapp or your green wallet ?

repo: ordinals/ord


text:
check-absolute-path path checks needs to be more robust for non-existent paths + when shell sanitisation substitution should be done

If the path you pass to --check-absolute-path doesn't exist, the check command will show Baseline 'Current_run' is EQUAL to the defined absolute baseline thresholds. (--check-absolute) instead of failing

My benchmark names had spaces at first, but when generating the threshold files, spaces would be replaced with underscores.
That's all good, but when checking against those thresholds (using --check-absolute-path), they would also say the current run matched the defined thresholds, even when they didn't. I think it just couldn't find the right files, so it was basically the same bug from the previous bullet point manifesting itself. To get it to work, I had to replace spaces with underscores in the benchmark names for the thresholds to be picked up when running check.

Fixed with 1.14.0

repo: ordo-one/package-benchmark


text:
🛑 Dictionary API is down

In 6bf6c03, Dictionary API ($DICTIONARY_ENDPOINT/?language=swe&word=test) was down:

HTTP code: 200
Response time: 7774 ms

Resolved: Dictionary API is back up in bb8ad5e after 5 minutes.

repo: oribisoftware/upptime


text:
Duplication Constrain on Edges

Hi, I have noticed that it is possible to create the same edge multiple times. Although this might be an option, for example I can imagine a case where we want to monitor a navigation path  and measure how frequently we cross a certain edge, this is certainly NOT the standard way to model relational data.
To achieve referential integrity on a standard Many-to-Many relationship, duplicate instances of a JOIN table record ARE NOT allowed. In other words, it is most desirable, to provide a mechanism for referential integrity, something which is trivial to do in Microsoft Access, right click and check "Enforce Referential Integrity". I can imagine a similar check button with the description, "DUPLICATE INSTANCES" of the edge ARE NOT allowed.
This way, you save the user from the burden to write code for preventing ACCIDENTAL duplication on edges. Let us take the classic Supplier-Part-Catalog case, a duplicate entry in the catalog means that
you are COUNTING WRONG how many parts are supplied by a specific Supplier or how many Suppliers manufacture a certain part. Somehow you have to exclude duplicate instances. Yes, I know you can do that with code, and commands, etc, etc, but it is causing an extra headache !!!
In fact every single data instance that is duplicated in the system is asking for trouble, and if that is possible, it must be prevented. It is like disease, prevent it, rather than cure it ;-)

Hi @healiseu
this can be implemented with a unique index on out and in properties of the edge class. Probably this could be made more user friendly, adding some metadata to the edge class, I'll leave it open and mark it as an enhancement
Thanks
Luigi

Have a look at this part of the documentation.
http://orientdb.com/docs/last/Tutorial-Using-schema-with-graphs.html#using-in-and-out-constraints-on-edges
It describes how you can create certain constraints, so you can avoid duplicate edges - mainly the unique edge index.
There is also these discussions about edge control and better abstraction.
https://github.com/orientechnologies/orientdb/issues/3820#issuecomment-151162243
https://groups.google.com/forum/#!topic/orient-database/sZ4GjSvEKtI
Scott

:+1: Thank you

Hi @healiseu
I saw you opened a more general issue about this here https://github.com/orientechnologies/orientdb/issues/5439
I suppose I can close this, right?
Thanks
Luigi

authors: healiseu luigidellaquila smolinari

repo: orientechnologies/orientdb


text:
Data loss after JVM crash

OrientDB Version: 3.0.21
Java Version: 1.8-212
OS: Windows 10
Expected behavior
Insert / Update statements under a commit block are persisted even during JVM crash
Actual behavior
Data is lost.
Our application behavior is as follows.

On initial boot, we run some update commands to a table.
During normal operation
-- Write heavy. Insert upwards of 500,000 to 1M+ records in a single "session". Can have up to 5 sessions running concurrently
-- Read load - variable, but limited to under 100,000 records at any one time generally.

In order to support this, based on the performance tuning recommendations, we have the following settings

OGlobalConfiguration.USE_WAL.setValue(false);
insert writes are groped into batches (50,000) inserts each
ODocument.reset() called instead of new Instance.

The issue we are running into is that with WAL set to FALSE, the orientdb does not seem to commit data to disk, even when under a transaction block.
Steps to reproduce
Here is a simple version of the program that illustrates the issue.
To recreate, put a breakpoint at line number 101 and force terminate the JVM.
connect to the db with console and observe that a select * from info table yields no results.
Please advice on the optimal settings to choose to have the best insert performance while maintaining some level of data protection.

Hi @jayaramcs
this is an expected behaviour. OrientDB does not write directly on disks when updating inserting values by disabling the WAL, there is no journal anymore, and OrientDB is not able to recover from crashes.
The WAL disabled is advised only in massive insertion, where you have control of the ingestion process.
https://orientdb.org/docs/3.1.x/tuning/Performance-Tuning.html#massive-insertion
For production usage the WAL should be on.


text:
New algorithm to find face-cell adjacencies

Function X.V_FV_P_CP_2_CF_FC(Vf, FV, P, CP) is replaced with a new function X.EF_FV_SP_SE_CP_SC_2_CF_FC(EF, FV, SP, SE, CP, SC).
Function M.convex_contains_point(P, q), now unused, is removed.
This addresses Issue #10 but with a different algorithm.
The new function finds the face-cell adjacencies using the following algorithm:
• We use an SC_map that lists all Segments of the overlap graph, along with the one or two Cells they delimit
• We use an SF_map that lists all Segments of the overlap graph, along with all the Faces they delimit. We obtain this by using SE, which gives the correspondence between the Segments in the overlap graph and the Edges in the CP
• We pick a Segment that has only one Cell associated in SC_map, i.e., that is on the border of the overlap graph
• We start in that Cell and find all Faces that overlap it by using SF_map for the chosen Segment
• BFS:
o Pick another interior Segment of the current Cell that hasn't been visited yet
o When we cross that Segment, we know which Cell we enter by SC_map
o We also know all the Faces that end on this Segment by SF_map. Depending on whether we were inside or outside these faces, we know if we enter or exit them. So, we can build CF for all the Faces we enter
o When all interior Segments of the current Cell have been visited, we continue with one of the Cells adjacent to it
o We continue until we visit all the Cells
• We sort CF
• We build FC from CF

Looks great! This is an excellent implementation! The use of SF_map is particularly elegant, I agree! :)
I have no notes on the algorithm, but I have a few comments on code style:

Request: I would prefer we avoid the use of spread syntax, e.g. line 810. In many browsers Array.push(...A) is implemented recursively, so for A with large length, it can grow the call stack past the allowable limit, which I'd like to avoid. It's not a problem here, since EF[ei].length can be at most 2, but if you don't mind, I'd prefer to avoid spread syntax completely in this code base (i.e., replace this instance with a for loop over the elements of EF[ei]).
Comment: The construction of SC_map is essentially identical to EF_map in V_VF_EV_EA_2_Vf_Ff (though I will note that your implementation is actually more consistent with the rest of the code base). We may want to refactor this into a separate method we can call twice, but we don't have to do that with this change.
Request: const CF = CP.map((c) => undefined); when arguments are not used, this code base leaves them off, so const CF = CP.map(() => undefined);. Same for line 856 in the declaration of FC.
Request: Line 846 is getting pretty long. Consider const k = M.encode_order_pair([v1, v2]) and for (const f of SF_map.get(k)) {
Request: if (!Fs.delete(f)) { in line 846 is a little hard to parse. Usually this codebase would do the more verbose:if (Fs.has(f)) {
    Fs.delete(f);
} else {
    Fs.add(f);
}

I know this is technically slower because it may lookup f twice, but it is much more readable.

If you agree with these changes, I will proceed with the merge. You can either implement the changes in your pull request, or I can make them after the merge.

OK, I understand these requests. Please go ahead; I am not sure how to modify the pull request.

Done!

Thanks. What is your maximum line length?

80 characters, which seems to be at least one standard width. I can't remember why I adopted this standard, but now I'm used to it...  ¯_(ツ)_/¯

authors: OrigamiDraw origamimagiro

repo: origamimagiro/flat-folder


text:
About the query transformation

Hello, thanks for opening the amazing code!!
I'm actually trying to use this unsupervised pretraining method to passage-level WMT dataset,  (https://data.statmt.org/news-crawl/README) but it seems like there are some bugs (or maybe I did some mistake)
I have run the preprocess_corpus.py  with the --compute_recurring_spans option.
It seems like the code uses spacy to tokenize passages and find recurring spans, and then saves the passage id along with then index of the recurring spans based on the tokenizer(bert-base-uncased in my case) in recurring_*.pkl. (see the pic below) So, (20967, 164, 196) means (passage_id, span_start_idx, span_end_idx).

full code looks something like this:
CUDA_VISIBLE_DEVICES=7 python preprocess_corpus.py \
--corpus_path path_to_passages.tsv \
--output_dir path_to_output_dir \
--tokenizer_name bert-base-uncased \
--num_processes 32  \
--compute_recurring_spans \
--min_span_length 2 \
--max_span_length 10

tsv file looks like this:
id      text    title
1       Wednesday, January 22, 2020. Boeing Pushes Back 737 Max Return Again The return of Boeing's 737 Max has been delayed again. On Tuesday, the company said it did not expect regulators to approve the jet to fly again until the middle of the year. American Airlines, United and Southwest had already taken Max flights off their schedules until June, and if this new timeline holds, it would further push back when the plane will be available for commercial flights. The announcement reflects Boeing's new appreciation for the challenges facing the company in its effort to persuade regulators that the Max is ready to fly. Boeing and the Federal Aviation Administration have continued to find new flaws with the Max that go beyond an automated software system known as MCAS. The software contributed to two accidents, in late 2018 and early 2019, that killed 346 people and led to the worldwide grounding of the Max in March. tsv_title_code_1
...

However, when running pre-training, about less than 1% of the data has incorrect matches of spans corresponding to the passages,
so the original assertion sometimes doesn't work. Especially, there are some cases where span_start_index and span_end_index are bigger than the passage length. Please refer to the print output and the code I used to print it.
(I've also modified parts of the code to overcome edge cases. (for example, the original code didn't properly make queries for passage length that is smaller than min_window_size.))

In summary, I think there is something missing (or wrong) in assigning the index for preprocess_corpus.py. Do you have any idea on how to fix this..?
Thanks again for open-sourcing this code!!! It's helping me a lot on my work!

Hey @soyoung97,
Sorry for missing this issue :(
And, thanks for reaching out!
I guess it's not relevant anymore, but if so - did you set the maximal size for recurring spans? Also, are your passages of a constant length?

Hi, the passage length varies a bit, so we had to add some exception handling codes, but it seems to work fine now. Thanks for the reply!

repo: oriram/spider


text:
Small update to the ImportCommand

Do not fool the user if he didn't put the email option to the command :)
(and fix that indentation)

Great !!

Hi @Djamy
Your PR has been merged. Changes from PR will be synced to the public repository in a few days. Thank you.

authors: Djamy mkudelya sadortun

repo: orocrm/platform


text:
Javascript error - _wdt route does not exist

Summary
Hello,
before starting, I would like to point out that I have already successfully performed installations of ORO platform before. On this new installation, everything is going well on the production environment. The problem occurs on the Dev environment. I manage to connect well but when I want to change page, I have a Javascript error (attachment) which tells me that the _wdt route does not exist. Cannot find an answer to this problem. I can't find anything on the logs side. So I can't change the page, I have to refresh the page to be able to see it
Steps to reproduce
New ORO platform installation
Actual Result
I have a Javascript error (attachment) which tells me that the _wdt route does not exist
Expected Result
No javascript error
Details about your environment

OroPlatform version: oro/platform : 4.1.10
PHP version: PHP 7.3.22
Database (MySQL, PostgreSQL) 10.1.47-MariaDB

Additional information

For those interested, after many hours to search the problem, just after the installation, i launch tis command :
php bin/console oro:platform:update for recompiled js
and there are no more problems....
Strange...

repo: oroinc/platform


text:
Test An Image

How to test an image and visulize the results. Could you provide a py file like OWOD?
Best,

Hi @JiahuaDong,
Please see https://github.com/orrzohar/PROB/issues/21 and https://github.com/orrzohar/PROB/issues/11
Best,
Orr

authors: JiahuaDong orrzohar

repo: orrzohar/PROB


text:
Adding documentation page for Istio

Adding in documentation covering the installation and general use of Istio

@sbtaylor15 Please have a look and let me know if you see anything that needs changing or updating.

repo: ortelius/ortelius-docs


text:
Icons are not displayed in Oruga-next version with custom Iconpack [0.3.3]

Overview of the problem
Oruga version: [0.3.3]
Vuejs version: [3.0.0]
OS/Browser:
Description
Oruga uses default instead of custom Iconpack (working in Oruga version : 0.3.2)
A Custom Iconpack (mdi-Icons) is used.
The Icons are registered like that:
app.use(Oruga, {
	iconComponent: 'icon-mdi',
	iconPack: 'mdijs',
	customIconPacks: {
		mdijs: {
			iconPrefix: 'mdi-',
		},
	},
});
app.component('icon-mdi', iconMdi);

in the Vue component the icons are used like this:
<o-icon icon="map-marker"></o-icon>
Steps to reproduce

use Oruga Version 0.3.2
create a "o-icon" Tag
Icons are working
upgrade to Oruga Version: 0.3.3
Icons are not working anymore

Expected behavior
Icons from default are being loaded and not from the custom Iconpack.
Actual behavior
Icons from Iconpack are being laoded.

Thanks for the feedback, we'll investigate about it.
In the meanwhile can you share a codesandbox in order to reproduce it

Close https://github.com/oruga-ui/oruga/commit/dd5f8838db0551acec3779b439199145319cb5ee

authors: NilsBWinter jtommy

repo: oruga-ui/oruga


text:
关于登陆页面的问题

我现在把登陆页面换成了html的，post到哪个页面处理合适呢？ 还是把login.php底部的js代码移动到新的页面然后post到这个页面去？

post到user/_login.php

post  登录之后 显示{"code":"1","ok":"1","msg":"\u6b22\u8fce\u56de\u6765"}

嗯 这样应该没错

但是没有跳转到登录之后的页面。。

@kozora ss-panel本身的登录页面使用了Ajax. 根据源码判断，你需要自己写一段js post一组json到_login.php才行。另外，_login.php返回的数据也只能用js读取的。

@frjalex 3Q

authors: frjalex kozora orvice

repo: orvice/ss-panel


text:
Add map colorbar and fix transient bug

Added a colorbar to the map; colorbar info stored as json but coded within the library for now: this will be exposed via an API call in a future version.
useMemo for updating maps was also causing a transient bug (basically a race condition), so rewrote this.

Do you have a screenshot handy of this change in effect?

Here's a screenshot

Shown with the box merged from the change of @deepanshu44...

authors: joemoorhouse negillett

repo: os-climate/physrisk-ui


text:
internal/v1: ISO8601 datetime

Return an ISO8601 compliant datetime to facilitate easier parsing and comparison in the frontend.
Addresses #457

I used the time package's RFC339 constant. Fore reference, here are the differences with ISO 8601.
The result is the following format:
"2022-10-28T13:37:38Z"
But this can be parsed and compared with the JavaScript Date object

@croissanne This breaks backward compatibility a bit. On the other hand, we've never specified the format of the string before, so this is not that bad, actually. WDYT?

@croissanne This breaks backward compatibility a bit. On the other hand, we've never specified the format of the string before, so this is not that bad, actually. WDYT?

I think that's fine yea, I don't think anyone relies on it and the frontend was adapted to deal with both formats.

With respect to image-builder-frontend this will be fine, we only use only the date which we obtain by slicing the first 10 characters of the date string we receive from image-builder. The first 10 characters are YYYY-MM-DD before and after this PR.

authors: croissanne kingsleyzissou lucasgarfield ondrejbudai

repo: osbuild/image-builder


text:
Generate, download and run your VM simply

From Christian's https://github.com/gicmo/dot-devel/tree/master/vm-helper.
This PR brings it in our maintainer tool repo and adds a new step to request image builder to build the VM before downloading it.
Check the Readme for more details.
Here's a screenshot of the usage:

I'd be glad to have some feedback on this if you try to use it :smile:!

Couple of things to note:

It might be useful to preserve the history of the existing repo when importing the tools.  There's always useful knowledge in the history of these kinds of things.
I don't see a LICENSE in the existing repo.  Maybe we should ask @gicmo to add one or at least for permission before copying his code.

Couple of things to note:
* It might be useful to preserve the history of the existing repo when importing the tools.  There's always useful knowledge in the history of these kinds of things.

Thanks for noting this, I imported all the relevant commits from his repo.

* I don't see a LICENSE in the existing repo.  Maybe we should ask @gicmo to add one or at least ask for permission before copying his code.

Oh my.. Silly me! I hope I wasn't rude or anything, I've asked him on signal and let's wait for his opinion on the mater. Thanks!

License added.

authors: achilleas-k lavocatt

repo: osbuild/maintainer-tools


text:
tests: move the epel dependencies to provisioning

koji and ansible are not in RHEL repositories. Depending on them breaks RHEL gating (see OSCI-1541): It tries to build a custom image with -tests package in it but in the build environment there's no EPEL.
This commit makes the RPM independent from EPEL. However, we still need koji and ansible, so the provision script now enables EPEL and installs the packages from there. This is not nice but we have to live with that until OSCI-1541 is solved.

I needed to come up with a method for installing EPEL before koji-osbuild-tests in the rev dep test. See the first commit, it's a tiny bit ugly but it gets us there.

OpenStack upload failed, otherwise we're green!

repo: osbuild/osbuild-composer


text:
Add tests for systemd.unit.create stage

Thanks for this PR! This looks very nice now. I added some small questions/suggestions inline. I would love to see a test as well, I attached a small commit with what I have in mind, feel free to use or modify as you see fit!
0001-stages-org.osbuild.systemd.unit.create-add-small-uni.patch.txt
Originally posted by @mvo5 in https://github.com/osbuild/osbuild/pull/1578#pullrequestreview-1880667659

opened https://github.com/osbuild/osbuild/pull/1596

The test got merged, I close the issue :)

repo: osbuild/osbuild


text:
Synonyms for target words

Return synonyms for target words in a lexicon response.

@jcchuang can you give an example of what you want?

We decided today to put synonyms to rest for a while.

repo: oscii-lab/lex


text:
Update base.loadbalancer.staticip.template.json

Azure does not allow to mix basic and standard SKU for LB and public IP. Needs to adjust for scripts to run
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-ip-addresses-overview-arm

Hi currently we are not accepting Pull Requests from outside of OSIsoft Engineering to this repository  I have forwarded on your PR to our Product and Engineering team.
Thanks!

repo: osisoft/OSI-Samples-PI-System


text:
Adam branch

Types of changes

[ ] Bugfix (change which fixes an issue)
[ ] New feature (change which adds functionality)
[ ] Refactor (change which changes the codebase without affecting its external behavior)
[ ] Non-breaking change (fix or feature that would causes existing functionality to work as expected)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Purpose

Approach

Resources

Screenshot(s)

Updated styling and Code Mirror 2 options and basic error handling.

repo: oslabs-beta/Recoilize


text:
Incompatible with 1.56.2

Describe the bug
Incompatibility with VS Code version 1.56.2.
To Reproduce
Install
Expected behavior
Gets Installed
Screenshots

Desktop (please complete the following information):

OS: iOS

Hi @adi518 ,
Sapling was developed in October 2021 under VS Code version 1.62. Since new features are added to the VS Code extension API as VS Code is updated, the best fix for this problem is to update your version of VS Code to at least version 1.62.
Cheers!

At the time I opened this issue, v1.56.2 was the latest VS Code version and it didn't work. I'll retry the extension and I'm guessing it will work this time, thanks.

repo: oslabs-beta/sapling


text:
Add Mecklenburg-Vorpommern

This adds mailinglist and twitter for DE:Mecklenburg-Western Pomerania

Thanks @Matthias84 & welcome :wave:
There are some syntax issues with your JSON, but I'll fix them with a followup commit.

repo: osmlab/osm-community-index

license: ISC


text:
mention npm install for node newbies

include it in tldr as it is not obvious for everybody (hello me)
and node error generated without it is not very clear

Yeah this is a good suggestion - I often forget to mention it but maybe I should add it to the docs on all my projects, maybe a short section on how to keep a fork updated.  (regular git pull and npm install to get the freshest stuff).

Yeah this is a good suggestion - I often forget to mention it but maybe I should add it to the docs on all my projects, maybe a short section on how to keep a fork updated.  (regular git pull and npm install to get the freshest stuff).

npm install is something that I keep forgetting as I have no big experience with Node projects.
Every time I end scratching my head and looking at this big red "everything failed" error for minute or two (and the first time it took me far longer).
BTW, thanks for this detailed contributing info, on some projects it is missing - and for most it is not at all obvious.

npm install is something that I keep forgetting as I have no big experience with Node projects.
Every time I end scratching my head and looking at this big red "everything failed" error for minute or two (and the first time it took me far longer).
BTW, thanks for this detailed contributing info, on some projects it is missing - and for most it is not at all obvious.

authors: bhousel matkoniecz


text:
fix: hide volume column on error on pools page v2

What is the purpose of the change
Currently, our pools page bricks if volume data is unavailable.
This PR fixes the issue by avoiding to format the volume column in such a case.
It calculates the number of pools that have volume formatted. If greater than half, volume column is displayed and the missing pools show "N/A"
If less than half, then we do not show the volume column
This is related to the /fees/v1/pools query
ClickUp Task
ClickUp Task URL
Brief Changelog

Testing and Verifying
Tested this by force throwing an error from the endpoint.
See:

I added the error mock here: https://github.com/osmosis-labs/osmosis-frontend/blob/a1660e2e3244adb0653f370a3ff6a9f7983d2d10/packages/web/server/queries/imperator/pools-fees.ts#L17-L20
Documentation and Release Note

Thank you for the PR! Left some comments

Thanks, addressed!

repo: osmosis-labs/osmosis-frontend


text:
test(stableswap): deriveUpperLowerXFinalReserveBounds function and spec

Background
Test this and add a godoc explaining logic in detail:
https://github.com/osmosis-labs/osmosis/blob/6398733549c124cb973eaa20d7aaba0fe6915ab9/x/gamm/pool-models/stableswap/amm.go#L288
Acceptance Criteria

test coverage is maximized
godoc added

Someone with a solid understanding of stableswap should work on this to add a decent godoc
Based on the README, I thought that the lower bound is always 0 but we seem to only set in under a certain condition:
https://github.com/osmosis-labs/osmosis/blob/6398733549c124cb973eaa20d7aaba0fe6915ab9/x/gamm/pool-models/stableswap/amm.go#L304-L305
CC: @ValarDragon @AlpinYukseloglu

If the initial y guess is too small, that implies that it acts as the lower bound.
If the initial y guess is too large, then we keep the lowerbound as 0

repo: osmosis-labs/osmosis


text:
Tiny PR to rename slipage variable to Slippage

What is the purpose of the change

rename slipage variable to Slippage in swaprouter and crosschain-swaps contracts

Brief Changelog

renaming all instances of variable slipage to slippage

Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? (not applicable)

@nicolaslara requesting review !


text:
feat: POC for pushing only changed data via state streaming

Closes: #XXX
What is the purpose of the change
UPDATE: More up-to-date version is here: https://github.com/osmosis-labs/osmosis/pull/7822

Closing in favor of https://github.com/osmosis-labs/osmosis/pull/7822


text:
Statistics for Pings

Currently when the ping is done it tells me to total duration, but that's mostly just 1000ms * number of pings.
It would be nice to get min, avg, max ping, at least, like the ping command gives:

We use a underlying library dart_ping and it only provides a total time. I can open a issue in underlying library to build this use case and tag you there. If library owner agrees to provide this data then we can show easily in our app.

I opened an issue in dart_ping to provide/expose these values so that I can consume it.

repo: osociety/vernet


text:
A way to not throw an error if there's no URL in the text

Is your feature request related to a problem? Please describe.
So, I'm working on a forum/social media type platform where people will enter all sorts of text in their posts, with and without URLs -  and, basically, I'd like a way for this not to throw an error - I've tried multiple workarounds, with no luck.
Describe the solution you'd like
For users to be able to enter text with or without URLs in the same field and for the app not to throw an error if there is no URL
Describe alternatives you've considered
Multiple if/try catch combos to  no avail
Additional context
This is the error which breaks the app:
error - unhandledRejection: Error: link-preview-js did not receive a valid a url or text
If you have any ideas of any workarounds or if I'm missing something blatantly obvious I'd love some advice (not exactly a noob but far from senior level)
Many thanks for your great work on this!

you just need to .catch or try..catch the call to getting the link preview

authors: eltel ospfranco

repo: ospfranco/link-preview-js


text:
How to export the XML file that ghidra2stubs expects from Ghidra?

I managed to import the function names from stubs.S into Ghidra, as well as disassemble and name some extra functions.
I'd like to export and generate a new stubs file, but I have no idea how to generate the stm32.bin.xml file containing the symbols.

Also just like last time, pinging @osresearch, @wormyrocks, @colinoflynn :P

repo: osresearch/airbreak


text:
Timeout on HTTP request

Possibly related: #224
When I run npm start, I don't receive errors until after 60 seconds I get the following timeout. I'm not familiar with front-end so I'm not sure how to debug.
I'm running inside a docker container and manually did export DOCKER_HOST=127.0.0.1:50002 as it wouldn't be able to connect to the host otherwise.
When navigating to localhost:3000, it simply shows a white screen.
Trace
[start:react] Compiled successfully!load Completed in 12ms
[start:react]
[start:react] You can now view romi-dashboard in the browser.
[start:react]
[start:react]   Local:            http://localhost:3000
[start:react]   On Your Network:  http://192.168.1.22:3000
[start:react]
[start:react] Note that the development build is not optimized.
[start:react] To create a production build, use npm run build.
[start:react]
[..................] \ : timing npm:load Completed in 12ms
[start:auth] An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
[start:auth] If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
[start:auth] npm timing command:run-script Completed in 60413ms
[start:auth] npm verb stack Error: command failed
[start:auth] npm verb stack     at ChildProcess.<anonymous> (/root/.nvm/versions/node/v15.8.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
[start:auth] npm verb stack     at ChildProcess.emit (node:events:378:20)
[start:auth] npm verb stack     at maybeClose (node:internal/child_process:1067:16)
[start:auth] npm verb stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
[start:auth] npm verb pkgid romi-dashboard@0.0.1-alpha.0
[start:auth] npm verb cwd /rmf-web/packages/dashboard
[start:auth] npm verb Linux 5.8.0-41-generic
[start:auth] npm verb argv "/root/.nvm/versions/node/v15.8.0/bin/node" "/root/.nvm/versions/node/v15.8.0/bin/npm" "run" "start:auth"
[start:auth] npm verb node v15.8.0
[start:auth] npm verb npm  v7.5.1
[start:auth] npm ERR! code 1
[start:auth] npm ERR! path /rmf-web/packages/dashboard
[start:auth] npm ERR! command failed
[start:auth] npm ERR! command sh -c . e2e/env.sh && scripts/dockert docker-compose -f docker/docker-compose.yml up auth
npm verb exit 1
[start:auth] npm timing npm Completed in 60519msed in 12ms
[start:auth]
[start:auth] npm ERR! A complete log of this run can be found in:
[start:auth] npm ERR!     /root/.npm/_logs/2021-02-10T00_13_11_803Z-debug.log

Said log file:
0 verbose cli [
0 verbose cli   '/root/.nvm/versions/node/v15.8.0/bin/node',
0 verbose cli   '/root/.nvm/versions/node/v15.8.0/bin/npm',
0 verbose cli   'run',
0 verbose cli   'start:auth'
0 verbose cli ]
1 info using npm@7.5.1
2 info using node@v15.8.0
3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:/root/.nvm/versions/node/v15.8.0/lib/node_modules/npm/npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 1ms
7 timing config:load:env Completed in 0ms
8 timing config:load:file:/rmf-web/packages/dashboard/.npmrc Completed in 0ms
9 timing config:load:project Completed in 0ms
10 timing config:load:file:/root/.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/root/.nvm/versions/node/v15.8.0/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:setUserAgent Completed in 0ms
17 timing config:load:setEnvs Completed in 0ms
18 timing config:load Completed in 5ms
19 verbose npm-session 5dac68e641a2d11c
20 timing npm:load Completed in 9ms
21 timing command:run-script Completed in 60413ms
22 verbose stack Error: command failed
22 verbose stack     at ChildProcess.<anonymous> (/root/.nvm/versions/node/v15.8.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
22 verbose stack     at ChildProcess.emit (node:events:378:20)
22 verbose stack     at maybeClose (node:internal/child_process:1067:16)
22 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
23 verbose pkgid romi-dashboard@0.0.1-alpha.0
24 verbose cwd /rmf-web/packages/dashboard
25 verbose Linux 5.8.0-41-generic
26 verbose argv "/root/.nvm/versions/node/v15.8.0/bin/node" "/root/.nvm/versions/node/v15.8.0/bin/npm" "run" "start:auth"
27 verbose node v15.8.0
28 verbose npm  v7.5.1
29 error code 1
30 error path /rmf-web/packages/dashboard
31 error command failed
32 error command sh -c . e2e/env.sh && scripts/dockert docker-compose -f docker/docker-compose.yml up auth
33 verbose exit 1

I tried setting COMPOSE_HTTP_TIMEOUT to 180 seconds but got the same error.
Possibly separate issue
I had to pip install flask flask-socketio flask-cors for it to compile.

A white screen is usually because it can't connect to the auth server. The auth we use is keycloak, which is launched in a docker container. If you are using running the whole thing in docker, you need to properly set it up for docker-in-docker. I see you are trying to connect to the daemon at 127.0.0.1:50002, are you sure that it is where your daemon is? iirc that port is also used by ros2-bridge so you will probably get port conflicts.
Also, I see that you are using node v15, only node >= 12.20, <13 is supported due to rclnodejs.

Appreciate your help with this. You're right that's not where the daemon was, in fact it wasn't running. Went back to docker-in-docker instructions and set it up properly (hopefully). Also reverted back to node v12 (I'm new to node). Now it runs without those initial errors.
Still a white screen:
[start:rmf] [schedule_visualizer-1] [INFO] [1612981794.772621105] [viz]: Connected with a client
[start:auth] Digest: sha256:5615984873a36b23852d867703ccb4b07bd907a2cdf991d1d7352872340739eb
[start:auth] Status: Downloaded newer image for quay.io/keycloak/keycloak:11.0.0
[start:auth]  ---> 8cb8b79c66a2
[start:auth] Step 2/2 : ADD --chown=jboss:jboss keycloak.mv.db /opt/jboss/keycloak/standalone/data/
[start:auth] Service 'auth' failed to build: error creating aufs mount to /var/lib/docker/aufs/mnt/24074c946b7b70590f18a3b4c12855005631e61c63c8ca92f720eb56582baf6d: mount target=/var/lib/docker/aufs/mnt/24074c946b7b70590f18a3b4c12855005631e61c63c8ca92f720eb56582baf6d data=br:/var/lib/docker/aufs/diff/24074c946b7b70590f18a3b4c12855005631e61c63c8ca92f720eb56582baf6d=rw:/var/lib/docker/aufs/diff/b7eecb5b086fbe8f507c542f287cf22abc2dfbad8cd8b8a6fcf7d98405873037=ro+wh:/var/lib/docker/aufs/diff/d0992a2ed6c46de1f8fe929b7d16a16aac6a05a9c7b97d31ab8332cf8b714f7b=ro+wh:/var/lib/docker/aufs/diff/bae4eabfbb25b2a0464249756fd56521475ae40e5030a490d3bc5db39180618d=ro+wh:/var/lib/docker/aufs/diff/a0837a71e706fdf73fbcabe26f1f37bf24557e5ba5c16a3b63f71445c11036b4=ro+wh:/var/lib/docker/aufs/diff/ddf8ec2fb97c0220abca3d8d8fa6582054e0b9056837f88feb286be32a9752bc=ro+wh,dio,xino=/dev/shm/aufs.xino: invalid argument
[start:auth] npm ERR! code ELIFECYCLE
[start:auth] npm ERR! errno 1
[start:auth] npm ERR! romi-dashboard@0.0.1-alpha.0 start:auth: `. e2e/env.sh && scripts/dockert docker-compose -f docker/docker-compose.yml up auth`
[start:auth] npm ERR! Exit status 1
[start:auth] npm ERR!
[start:auth] npm ERR! Failed at the romi-dashboard@0.0.1-alpha.0 start:auth script.
[start:auth] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[start:auth]
[start:auth] npm ERR! A complete log of this run can be found in:
[start:auth] npm ERR!     /root/.npm/_logs/2021-02-10T18_30_56_699Z-debug.log

said log file:
2 info using npm@6.14.10
3 info using node@v12.20.1
4 verbose run-script [ 'prestart:auth', 'start:auth', 'poststart:auth' ]
5 info lifecycle romi-dashboard@0.0.1-alpha.0~prestart:auth: romi-dashboard@0.0.1-alpha.0
6 info lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: romi-dashboard@0.0.1-alpha.0
7 verbose lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: unsafe-perm in lifecycle true
8 verbose lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: PATH: /root/.nvm/versions/node/v12.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/rmf-web/packages/dashboard/node_modules/.bin:/root/.nvm/versions/node/v12.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/rmf-web/packages/dashboard/node_modules/.bin:/root/.nvm/versions/node/v12.20.1/bin:/rmf_demos_ws/install/traffic_editor/bin:/opt/ros/foxy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: CWD: /rmf-web/packages/dashboard
10 silly lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: Args: [
10 silly lifecycle   '-c',
10 silly lifecycle   '. e2e/env.sh && scripts/dockert docker-compose -f docker/docker-compose.yml up auth'
10 silly lifecycle ]
11 silly lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: Returned: code: 1  signal: null
12 info lifecycle romi-dashboard@0.0.1-alpha.0~start:auth: Failed to exec start:auth script
13 verbose stack Error: romi-dashboard@0.0.1-alpha.0 start:auth: `. e2e/env.sh && scripts/dockert docker-compose -f docker/docker-compose.yml up auth`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/root/.nvm/versions/node/v12.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:314:20)
13 verbose stack     at ChildProcess.<anonymous> (/root/.nvm/versions/node/v12.20.1/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:314:20)
13 verbose stack     at maybeClose (internal/child_process.js:1022:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid romi-dashboard@0.0.1-alpha.0
15 verbose cwd /rmf-web/packages/dashboard
16 verbose Linux 5.8.0-41-generic
17 verbose argv "/root/.nvm/versions/node/v12.20.1/bin/node" "/root/.nvm/versions/node/v12.20.1/bin/npm" "run" "start:auth"
18 verbose node v12.20.1
19 verbose npm  v6.14.10
20 error code ELIFECYCLE
21 error errno 1
22 error romi-dashboard@0.0.1-alpha.0 start:auth: `. e2e/env.sh && scripts/dockert docker-compose -f docker/docker-compose.yml up auth`
22 error Exit status 1
23 error Failed at the romi-dashboard@0.0.1-alpha.0 start:auth script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Any idea?

Service 'auth' failed to build: error creating aufs mount

Thats a problem with your docker installation. Make sure your dind is working correctly.

Are there other ways that don't involve installing natively? Is it possible to remove the use of docker with this repo? I imagine I won't be the only one who wants to run this in a containerized environment.

You can try using a VM.
To be clear, we do run this in containerized environment for testing/staging/demo purposes. However, there is a difference between "running in containers" and "developing in containers", the instructions and scripts are meant for development purposes and there is no plans to provide a "development container". It is assumed that users that would like to develop in docker will need to know how to set up their own environment.

It is assumed that users that would like to develop in docker will need to know how to set up their own environment.

I'm not sure if you realize if these words can be interpreted as quite rude. There's a learning curve to any new repo and telling people to 'go figure it out' means that they'll most likely avoid it altogether. I'm assuming a young project like this would welcome contributors, especially from robotics engineers working on large-scale fleet control, but I might be wrong.
There are a lot of dependencies and so I strongly prefer to test out and develop on this software out in a container to keep my native OS clean. I could go down the VM route but would rather containerize.  I'd definitely appreciate some help with this or further instructions. I'd be more than happy to contribute back what I've learned in the form of documentation. Much appreciated!

@Achllle I'm sorry that my comment is interpreted as being rude, that it is not my intention. We do make efforts to make this repo more friendly to contributors, for example we have been making efforts to move frontend components to the react-components package, you should be able to run it on any OS with nodejs available, you can use npm run bootstrap -- packages/react-components to just bootstrap that package.
Technical challenges aside, running keycloak in docker is specifically because we do not want to "pollute" the host OS, if we run keycloak natively, it may help users like you who prefers to develop in docker, but it hurts other user's who like to develop on the host.
The problem with developing the full dashboard in docker is simply because I don't have a solution for it. I have tried doing it before briefly with varying levels of success and I wasn't able to find a way to support it without comprosing an user's preferred workflow. For example, I like to use vscode, you can run it "in docker" with the remote container extension, or you can run it "natively" in docker by setting up x11, user remapping, gpu etc in your container. For someone that prefers vim, it will involve a different set of challenges, which probably involve setting up a ssh server and connecting to it. As such, the problem of running a development environment in docker encompasses a much larger scale than this repo and it is not something anyone in the team have a solution for atm, the best bet is to dig into docker itself and learn about how it isolate containers, manage networks, how docker daemon works etc.
Echoing @codebot, I very much appreciate if you have suggestions on how we can make it easier to develop in docker.

I see, that's helpful. I don't yet fully understand this particular repo and how it works (I'm not a frontend dev) and likely for that reason found it odd that there is a strong dependency on an RMF installation, even launching one of the demos (?). I would think that the app can be launched independently and simply fails to connect to RMF when it's not available.

you can use npm run bootstrap -- packages/react-components to just bootstrap that package.
Does this mean it's possible to run the app without this RMF dependency? That would mean that I can keep the RMF installation snugly inside the container, run the app natively (with keycloak in a separate container) and open the right ports to connect the parts. Or am I understanding this wrong?

Regarding keycloak - I'd be curious if it's easy to run the app without it for development/testing purposes. If it's likely that it will remain a barrier to entry, this might be worth investigating. Imagine if you required RMF (demos) to work exclusively with SROS as opposed to the optional add-on that it is now, then some people might not get RMF to work because of that additional requirement.

I don't yet fully understand this particular repo and how it works (I'm not a frontend dev) and likely for that reason found it odd that there is a strong dependency on an RMF installation, even launching one of the demos (?).

Yes, this is one of the challenges we have to overcome. This started off as a frontend for rmf but we realized that this will not be enough with the requirements and goals we have in mind. Without a connection to rmf, we won't be able to display any information, we used to work around it by making use of mocks, but that quickly outgrow its usefulness as the scope of rmf-web grows. As it is now, rmf-web does not just aim to provide a frontend for rmf, it also aims to handle task commands, logging, health monitoring, alerts, analytics, authentication etc.

Does this mean it's possible to run the app without this RMF dependency?

The instruction to connect to an external rmf is here, https://github.com/osrf/rmf-web/tree/main/packages/dashboard#external-server. You need to follow the instructions at https://github.com/osrf/rmf_demos to start your own instance of rmf, then, you can configure the dashboard to connect to the server by following the instructions above. You need to start keycloak as well with npm run start:auth.

Regarding keycloak - I'd be curious if it's easy to run the app without it for development/testing purposes. If it's likely that it will remain a barrier to entry, this might be worth investigating.

Actually, running keycloak in docker is meant as a way to reduce the barrier of entry. The image we used is set up with the correct realms, keys, users etc so that you wouldn't have to worry about the steps to install and configure keycloak yourself, which would normally require multiple pages of instructions.
Keycloak is the only authentication provider we support right now, but it is possible to easily add support for new providers, https://github.com/osrf/rmf-web/blob/main/packages/dashboard/src/components/auth/authenticator.ts. You can implement a new authenticator and set it up in https://github.com/osrf/rmf-web/blob/main/packages/dashboard/src/app-config.ts to use it.

@codebot That is certainly possible and should be quite easy to implement as well, actually we don't need to handle jwt if we just disable authentication in ros2-bridge as well. The downside is that you won't see authentication but this is probably less of a problem now that we have a dp3 deployment and we can use that for demos instead of doing it directly from this repo.

authors: Achllle koonpeng

repo: osrf/rmf-web


text:
Regarding using ZeroMQ as one of the endpoint (SOSS based ZeroMQ plugin)

Hi
I was exploring the SOSS & ROSIS github, it is a very promising idea to implement for connecting the ROS2 with rest of the world.
I was mostly interested to see if there is proof of concept level  implementation or design discussion around using ROS2 and ZEROMQ as two endpoint using SOSS infrastructure ? Any pointers would be highly appreciable. Or any obvious issue/bottlenecks we foresee for connecting SOSS-ROS2 and SOSS-ZMQ (if any)

ZeroMQ is definitely a middleware that we imagine would be a great candidate for SOSS integration.
We haven't done any work on it, and it's not on our roadmap, but that's only because our resources are limited and we haven't had any need to interoperate with a ZeroMQ platform yet.
If it's something you're interested in contributing to the community, I can think of two ways to go about it:

You could make your own repo to host soss-zeromq similar to soss-ros1.
You could make a PR that adds it to this repo, and we can run it through our code review process.

I think I would strongly recommend option (1) because I'd be reluctant to add more dependencies to this repo (and in fact I think the soss-ros2 package in this repo really belongs in its own). We might be able to offer some code review effort, even if you choose option (1). Just follow up with us if/when you think you have something ready for review.

authors: lalat-das mxgrey

repo: osrf/soss


text:
Add Sonatype OSS Index as advisor

Hello!
I have added another advisor, and probably done a couple things wrong in the meantime but:

SonatypeOssIndex is available as a new advisor option
Added a User-Agent to both the NexusIQ and OSSIndex client, so that it's easier to tell if this tool is being used (helps us know if we can go support it better!)

I imagine there might be a couple more things to do, like docs, etc... but I figured I'd push code up so people can take a gander.

Hi @DarthHater, thanks for the contribution! It's a bit unfortunate timing as I just came to the conclusion that it does not make sense for us to integrate OSS Index support due to its severe ToS limitations. Could you maybe provide some arguments why integration into ORT could still make sense (for us, not for you 😉 )?
On the technical side, please take a look at the failing static analysis check (run ./gradlew detekt locally), and I'll do an initial code review.

Hi @DarthHater, thanks for the contribution! It's a bit unfortunate timing as I just came to the conclusion that it does not make sense for us to integrate OSS Index support due to its severe ToS limitations. Could you maybe provide some arguments why integration into ORT could still make sense (for us, not for you 😉 )?
On the technical side, please take a look at the failing static analysis check (run ./gradlew detekt locally), and I'll do an initial code review.

Hi @DarthHater, thanks for the contribution! It's a bit unfortunate timing as I just came to the conclusion that it does not make sense for us to integrate OSS Index support due to its severe ToS limitations. Could you maybe provide some arguments why integration into ORT could still make sense (for us, not for you 😉 )?

Hi there, we should perhaps have a follow up conversation about the TOS to understand the concerns.

Hi @DarthHater, thanks for the contribution! It's a bit unfortunate timing as I just came to the conclusion that it does not make sense for us to integrate OSS Index support due to its severe ToS limitations. Could you maybe provide some arguments why integration into ORT could still make sense (for us, not for you 😉 )?

Hi there, we should perhaps have a follow up conversation about the TOS to understand the concerns.

@brianf is the one to talk to about TOS, and I see he has popped in!

@brianf is the one to talk to about TOS, and I see he has popped in!

Hi there, we should perhaps have a follow up conversation about the TOS to understand the concerns.

Gladly, let's gather at this issue!

Hi there, we should perhaps have a follow up conversation about the TOS to understand the concerns.

Gladly, let's gather at this issue!

@DarthHater, would you have some time to continue working on this? Maybe in a pair-programming session with myself?

Superseded by https://github.com/oss-review-toolkit/ort/pull/4494.

authors: DarthHater brianf sschuberth

repo: oss-review-toolkit/ort


text:
Discussion: remove output_format from action input

The action takes an output_format as input, which may be sarif or json.
The action also takes an output_file. I'm wondering if we should simplify and remove the output_format?
We could use the extension of the output_file (results.sarif or results.json) to infer the format the use wants.
I think keeping the output_format is OK, but wanted to touch base and have everyone's opinion.
wdut?
cc @oliverchang @azeemshaikh38 @naveensrinivasan

Remind me again what output_format: json is needed for? Also, do we need output_format and output_file at all? Can this not be hidden under the hood?

re: output format -> users may want to get the output as SARIF or JSON depending on their needs/use cases.
re: output_file: -> users can use the result any way they want. We just happen to ask them to submit the SARIF output to GitHub in their workflow, but they are free to do other things and explore other use cases.

I see. In that case, I vote to not rely on the output file's name to infer the format.

I see. In that case, I vote to not rely on the output file's name to infer the format.

+1 to being more explicit.

Thanks all for the confirmation. Closing!

authors: azeemshaikh38 laurentsimon oliverchang

repo: ossf/scorecard-action


text:
Feature: make all should handle file generation

Is your feature request related to a problem? Please describe.
Proto pb generation and checks/README.md generation happens manually today.
Describe the solution you'd like
We should update Makefile to handle this when we run make all.

Took care of the doc generation #455

repo: ossf/scorecard


text:
Move improved compiling compilers section to end of document

Fixes #335

Will propose to merge this in the C/C++ Compiler BP Guide Call on 2024-02-28.

repo: ossf/wg-best-practices-os-developers


text:
实现DNS协议，避免系统解析block的问题

srs_tcp_connect这是我一个改法，作者大大觉得怎么样？
#include "res.c"
srs_error_t srs_tcp_connect(string server, int port, srs_utime_t tm, srs_netfd_t* pstfd)
{
    st_utime_t timeout = ST_UTIME_NO_TIMEOUT;
    if (tm != SRS_UTIME_NO_TIMEOUT) {
        timeout = tm;
    }

    *pstfd = NULL;
    srs_netfd_t stfd = NULL;
/*
    char sport[8];
    snprintf(sport, sizeof(sport), "%d", port);

    addrinfo hints;
    memset(&hints, 0, sizeof(hints));
    hints.ai_family   = AF_UNSPEC;
    hints.ai_socktype = SOCK_STREAM;

    addrinfo* r  = NULL;
    SrsAutoFree(addrinfo, r);
    if(getaddrinfo(server.c_str(), sport, (const addrinfo*)&hints, &r)) {
        return srs_error_new(ERROR_SYSTEM_IP_INVALID, "get address info");
    }
    int sock = socket(r->ai_family, r->ai_socktype, r->ai_protocol);
    if(sock == -1){
        return srs_error_new(ERROR_SOCKET_CREATE, "create socket");
    }
*/
    struct in_addr addr;
    if (dns_getaddr(server.c_str(), &addr, timeout) < 0) {
        return srs_error_new(ERROR_SYSTEM_IP_INVALID, "get address info");
    }
    uint32_t uiIP;
    memcpy(&uiIP, &addr, 4);
    int sock = socket(AF_INET, SOCK_STREAM, 0);
    if(sock == -1) {
        return srs_error_new(ERROR_SOCKET_CREATE, "create socket");
    }
    stfd = st_netfd_open_socket(sock);
    if(stfd == NULL){
        ::close(sock);
        return srs_error_new(ERROR_ST_OPEN_SOCKET, "open socket");
    }
    struct sockaddr_in address;
    memset(&address, 0, sizeof(address));
    address.sin_family      = AF_INET;
    address.sin_addr.s_addr = uiIP;
    address.sin_port        = htons(port);
    if (st_connect((st_netfd_t)stfd, (struct sockaddr*)&address, sizeof(address), timeout) == -1){
        srs_close_stfd(stfd);
        return srs_error_new(ERROR_ST_CONNECT, "connect to %s:%d", server.c_str(), port);
    }

    *pstfd = stfd;
    return srs_success;
}

嗯是的，你说的很对，欢迎提个Patch？

嗯是的，你说的很对，欢迎提个Patch？

最好是能等价替换系统的getaddrinfo函数，这样用起来比较方便，有较多地方用到了。

最好是能等价替换系统的getaddrinfo函数，这样用起来比较方便，有较多地方用到了。

authors: JalySN winlinvip

repo: ossrs/srs


text:
Replace deprecated String.prototype.substr()

String.prototype.substr() is deprecated so we replace it with String.prototype.slice() or String.prototype.substring() which work similarily but aren't deprecated.
.substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

Codecov Report

Merging #2948 (6466938) into develop (75cf9b3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2948   +/-   ##
========================================
  Coverage    60.16%   60.16%
========================================
  Files          121      121
  Lines        51610    51610
========================================
  Hits         31052    31052
  Misses       20558    20558

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 75cf9b3...6466938. Read the comment docs.

@CommanderRoot Thanks a lot. I have merged this PR, please test the demo of develop branch, and ensure that it works. 👍


text:
Facebook link is dead

Facebook link is not working from my iPhone. The facebook page is still available when I search by name.

The facebook page has been deprecated. See: https://github.com/ossu/computer-science/pull/479

authors: incyi waciumawanjohi

repo: ossu/computer-science


text:
Ajustement de l'icône des liens externes dans les textes

Type

[ ] Nouvelle fonctionnalité
[ ] Bug
[X] Ajustement
[ ] Rangement

Description
Avec les nouvelles icônes, moins délicates que les précédentes, on a un rendu sur les liens externe un peu brouillon et chargé :

J'ai ajouté un display: inline-block à l'icône pour qu'elle compte dans le lien sans être soulignée.
Niveau d'incidence

[X] Incidence faible 😌
[ ] Incidence moyenne 😲
[ ] Incidence forte 😱

URL de test sur example.osuny.org
http://localhost:1313/fr/blocks/blocs-de-mise-en-page/
Screenshots

Dans un crédit :

Effets de bords à vérifier avant de merge : https://github.com/search?q=org%3Aosunyorg+highlight+language%3ASass&type=code&l=Sass

[ ] CoDé
[ ] EPV
[ ] IUT Montaigne
[ ] Horo Hiro

Bon le seul hic c'est que du coup le picto peut chasser à la ligne... À ce jour on a pas trouvé de recette magique pour éviter le soulignement et empêcher le picto de chasser tout en restant dans le flux inline.

Bon le seul hic c'est que du coup le picto peut chasser à la ligne... À ce jour on a pas trouvé de recette magique pour éviter le soulignement et empêcher le picto de chasser tout en restant dans le flux inline.

Ah oui mince 😞
J'ai fait le teste avec un lien contenant un span, et seul le span a le souligné (en ignorant ma PR, juste avec le style initial), tu en penses quoi ?

Bon le seul hic c'est que du coup le picto peut chasser à la ligne... À ce jour on a pas trouvé de recette magique pour éviter le soulignement et empêcher le picto de chasser tout en restant dans le flux inline.

Ah oui mince 😞
J'ai fait le test avec un lien contenant un span, et seul le span a le souligné (en ignorant ma PR, juste avec le style initial), tu en penses quoi ?

J'ai pas bien compris ?

repo: osunyorg/theme


text:
Tale插件加载方式存在问题

我现在写了一个插件，这个插件会依赖于某个第三方的jar包，在打包的时候我没有将这个第三方jar包打包进插件里，我希望保持插件的干净。然后我将依赖的第三方jar包放在lib路径下面，结果在加载插件的时候报错了：java.lang.NoClassDefFoundError
所以针对这种问题有什么好的解决方案？在加载插件的时候可不可以再去lib目录查找依赖jar呢？还是说必须把额外的依赖jar打包到插件中来？
抱大腿

https://github.com/otale/plugin_qiniu/commit/95191f1e21bcc453b44be97d540f1029691795cd 你可以类似这样干

otale/plugin_qiniu@95191f1 你可以类似这样干

嗯，这个我知道，但是这样打包的话实在是太不优雅
我先要实现的效果是：
插件单独打成一个jar包，插件依赖的jar单独处理，将额外依赖的jar放在tale项目的lib目录下面，加载插件的时候也能将插件的依赖从lib目录中读取出来
但是我这样做之后，实际项目的运行情况是：
tale运行的时候会加载lib下面的jar包，但是没有依赖的jar不会加载，当加载插件的时候，因为插件的依赖也是放在lib目录下面，但是这些jar没有加载进去，而插件的classloader也不会再去lib目录下面寻找依赖jar，只会读取plugin目录下面的jar
目前的解决方法是将插件依赖的jar一起放在plugin文件夹下面
但是这样做太丑了
所以tale有没有可能在内部解决这个问题？

目前还没有，插件的目的是即插即用，如果装载插件还需要编译拉取插件所需的包是对本地项目的破坏，而且生产环境中没有mvn去拉取和管理依赖包

目前还没有，插件的目的是即插即用，如果装载插件还需要编译拉取插件所需的包是对本地项目的破坏，而且生产环境中没有mvn去拉取和管理依赖包

我并不是说编译还要拉取插件所需要的包，我是说运行时加载插件的包

好吧，是我的理解出现了偏差。
但是我还是不明白为什么要把他们分开，因为你的包依赖的第三方包从模块来说也许只是和你的插件有关系，应该和插件是一个整体而且是不可分割的一部分，缺少它插件就无法运行。
那么把他们分开的原因是什么，而且这样还会增加安装和卸载难度。

好吧，是我的理解出现了偏差。
但是我还是不明白为什么要把他们分开，因为你的包依赖的第三方包从模块来说也许只是和你的插件有关系，应该和插件是一个整体而且是不可分割的一部分，缺少它插件就无法运行。
那么把他们分开的原因是什么，而且这样还会增加安装和卸载难度。

应该是强迫症吧，我觉得这样项目结构看起来干净些，而且发布也更方便轻量
我曾经也试过你说的方法，但是这种方法有些问题
1：打包后，依赖的第三方jar的class会和插件里面的class混合到一起
2:  jar-with-dependencies那难看的后缀名，暂时还不知道怎么自定义这个后缀

repo: otale/tale


text:
ES6/ES2015 syntax

Hi.
Is this supported?

yes

authors: Industrial othree

license: Vim


text:
kubernetes-controllers

Выполнено ДЗ №

[x] Основное ДЗ
[x] Задание со *

В процессе сделано:

Развернут кластер kind
Изучен контроллер ReplicaSet с использованием манифеста на основе image frontend
Изучен контроллер Deployment с использованием манифеста на основе image paymentservice. Механизм Rollback.
С помощью параметров maxSurge и maxUnavailable созданы два манифеста для двух сценариев развертывания: blue-green и Reverse Rolling Update.
Изучен readinessProbe в контроллере Deployment для разворачивания  image frontend
Изучен контроллер DaemonSet на примере Node Exporter

Как запустить проект:

kubectl apply -f frontend-replicaset.yaml
kubectl apply -f paymentservice-replicaset.yaml
kubectl apply -f paymentservice-deployment.yaml
kubectl apply -f paymentservice-deployment-bg.yaml
kubectl apply -f paymentservice-deployment-reverse.yaml
kubectl apply -f frontend-deployment.yaml
kubectl apply -f node-exporter-daemonset.yaml
kubectl port-forward -n monitoring node-exporter-b6hqd 9100:9100

Как проверить работоспособность:

http://localhost:9100/metrics

PR checklist:

[x] Выставлен label с темой домашнего задания

Не могу понять почему не прошел один из тестов. У меня локально манифест paymentservice-deployment.yaml применяется успушно.


text:
为什么我注册的时候会提示这段消息？用的是mysql8

需要手动先创建好数据库并分配好用户权限，系统不会帮忙创建数据库

authors: bolin-p fanqang

repo: ouqiang/gocron


text:
Error in webapp "Shop & The City"

To be decided what we do with this.
Phone model: ANE-LX1 (MotoG3)
Android API: 28
ScreenBrandingException:
- Exception logged by screenBranding of service-6490e2f3-4451-46da-aa66-7cca8dfbc76e@rogerth.at
- Service menu item name: Shop & The City
- Service menu item coords: [3, 1, 0]
Uncaught javascript exception in HTML-app:
isTrusted: true
message: Uncaught TypeError: carousel.itemslide is not a function
filename: file:///data/user/0/com.mobicage.rogerthat.be.sint.truiden/cache/branding/EE8F7A461A02593023DD8C9433F3D26597C7AC1E7BF6B5C6C8F351A9C443E47E/main.js
lineno: 14
colno: 14
error: TypeError: carousel.itemslide is not a function
NONE: 0
CAPTURING_PHASE: 1
AT_TARGET: 2
BUBBLING_PHASE: 3
type: error
target: [object Window]
currentTarget: [object Window]
eventPhase: 2
bubbles: false
cancelable: true
defaultPrevented: false
composed: false
timeStamp: 2044.2000000039116
srcElement: [object Window]
returnValue: true
cancelBubble: false
path: [object Window]
composedPath: function composedPath() { [native code] }
stopPropagation: function stopPropagation() { [native code] }
stopImmediatePropagation: function stopImmediatePropagation() { [native code] }
preventDefault: function preventDefault() { [native code] }
initEvent: function initEvent() { [native code] }

Fixed. Apparently there were scripts loaded over http. When changing to https it works again.

repo: our-city-app/oca-backend


text:
typo in your docs

http://beauter.outboxcraft.com/docs/lists
You open with a <ul> but later down the list you close a </ol> that is never opened
Sorry, I'm blind, the lacking indentation made it impossioble to see!

Thank you very much to point that out. :) The documents will be updated soon with proper indentation and more details.

authors: AlexNodex ramdeoshubham

repo: outboxcraft/beauter


text:
Support regexs in vLLM

Discussed in https://github.com/outlines-dev/outlines/discussions/474

Originally posted by mjsteele12 December 22, 2023
The JSON implementation for vllm API is fantastic! I am opening this discussion to suggest adding regex support since I believe it will be equally useful. IMO one place where local llms really shine is running data ETL/NLP tasks around the clock. This requires guaranteed output structure provided by regex/outlines. For example, something I am working on right now in my RAG pipeline is to add structured/curated metadata derived from text which can be used to drastically reduce the search space. Regex support is crucial for extraction tasks like dates, emails, phone numbers etc.

We can separate the different cases so outlines.serve.serve is replaced by outlines.serve.json and outlines.serve.regex

I can pick this one up. I'm touching this stuff anyway right now

That would be amazing

I updated #481 to also add a regex_string field to the request. So I didn’t quite do what you suggested, @rlouf, i.e.

We can separate the different cases so outlines.serve.serve is replaced by outlines.serve.json and outlines.serve.regex

Instead, the server handles both, but not at the same time.

authors: brandonwillard rlouf tscholak

repo: outlines-dev/outlines