text:
Helidon does not send json Stream

I am currently trying to send a json stream with Helidon. I use the exact same code with quarkus and it works, but not with Helidon. Is there something special to pay attention?
my code to write the response is:
class StreamResponseOutput : StreamingOutput {

  override fun write(os: OutputStream?) {
    val writer = BufferedWriter(OutputStreamWriter(os))
    val countDownLatch = CountDownLatch(1)
    DataService.getDataStream(0).subscribe({
        writer.write(Klaxon().toJsonString(it))
        writer.write("\n")
        writer.flush()
    }, ::println, {
        os?.close()
        countDownLatch.countDown()
    })
    countDownLatch.await()
    writer.flush()
  }
}

my response in quarkus is a json object every time, I get one from the datastreamservice. Helidon waits till everything is there and writes the json after the last one is received.
what did I missed?

@auryn31 Could you provide more details about your resource method? Looks like there may be an issue with flushing partial data all the way to the network. We'd need to create a test for this use case.

@spericas i am currently working on a framework comparison
https://github.com/auryn31/spring-async-rest-example/tree/master/reactive-backend/reactive-helidon
here are more details about the code

@spericas i am currently working on a framework comparison
https://github.com/auryn31/spring-async-rest-example/tree/master/reactive-backend/reactive-helidon
here are more details about the code

Ok, I see the method loadCarsAsOctetStream().

These two are basically doing the same:
`@GET
@Produces(MediaType.APPLICATION_OCTET_STREAM)
fun loadCarsAsOctetStream(): StreamingOutput {
return CarStreamResponseOutput()
}
@GET
@Produces("application/stream+json")
fun loadCarsAsJsonStream(): Response {
    val responseStream = CarStreamResponseOutput()
    return Response.ok().header("Access-Control-Allow-Origin", "*").entity(responseStream).build()
}`

@auryn31 I can confirm that the flush is ignored. I have a fix for the issue that needs a new test to be provided. Should be available in the next release.

thanks (Y)

Issue has been fixed and should be available in next release.

repo: oracle/helidon


text:
Reimplement the Multi.map() operator + TCK test

It uses a straight Publisher -> Publisher transformation thus there is no need for all those Processor bells and whistles.
The original trusted the Mapper to not crash, this doesn't and cancels the sequence properly.

This looks unrelated to this PR, perhaps a flaky test?
testSupplierSubscribeOnLeafNode  Time elapsed: 0.148 sec  <<< FAILURE!
java.lang.AssertionError:

Expected: is "new value"
     but: was "string value"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:956)
	at org.junit.Assert.assertThat(Assert.java:923)
	at io.helidon.config.ConfigTest.waitForAssert(ConfigTest.java:857)
	at io.helidon.config.ConfigTest.waitForAssert(ConfigTest.java:842)
	at io.helidon.config.ConfigSupplierTest.testSupplierSubscribeOnLeafNode(ConfigSupplierTest.java:108)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:436)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:170)
	at org.junit.jupiter.engine.execution.ThrowableCollector.execute(ThrowableCollector.java:40)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:166)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:113)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:58)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$3(HierarchicalTestExecutor.java:112)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.executeRecursively(HierarchicalTestExecutor.java:108)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.execute(HierarchicalTestExecutor.java:79)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$2(HierarchicalTestExecutor.java:120)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$3(HierarchicalTestExecutor.java:120)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.executeRecursively(HierarchicalTestExecutor.java:108)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.execute(HierarchicalTestExecutor.java:79)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$2(HierarchicalTestExecutor.java:120)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$3(HierarchicalTestExecutor.java:120)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.executeRecursively(HierarchicalTestExecutor.java:108)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.execute(HierarchicalTestExecutor.java:79)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:55)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:43)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:170)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:154)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:90)
	at org.junit.platform.surefire.provider.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:132)
	at org.junit.platform.surefire.provider.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:111)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Yes, test is flaky, retrying.
Have signed the OCA please? We unfortunately cannot merge any PR without it.
see https://github.com/oracle/helidon/blob/master/CONTRIBUTING.md
Thanks a lot for your contribution!

@akarnokd I am a manager responsible for project Helidon. I appreciate your contributions. I would like to talk about future cooperation. If you are interested please email me at dmitry dot kornilov at oracle dot com.

source: gharchive/pull-request

authors: akarnokd m0mus tomas-langer

license_type: permissive

license_source: github-api


text:
Issue createDomain.sh RCU SCAN URL

Hello,
I am trying to create a SOA 12.2.1.4 domain by using the below model, which has a SCAN URL for our database as you can see in the field rcu_db_conn_string
domainInfo:
  AdminUserName: weblogic
  AdminPassword: weblogic
# The following group targeting is key to deploy applications on right targets
# https://github.com/oracle/weblogic-deploy-tooling/blob/e42cec7d56649b774e2c7bdb7d96dc2f2fd72137/site/use_cases.md#targeting-server-groups
  ServerGroupTargetingLimits:
    'WSMPM-MAN-SVR': WsmCluster     # Right group for WSM as we use WSM servers and WSM services outside SOA servers
    'OSB-MGD-SVRS-ONLY': OsbCluster # Using this as in this POC WSM are implemented on other cluster
  RCUDbInfo:
    rcu_prefix: "HWORLD"
    rcu_schema_password: "CLAVE"
    rcu_db_conn_string: '(DESCRIPTION=(LOAD_BALANCE=OFF)(FAILOVER=ON)(CONNECT_TIMEOUT=5)(TRANSPORT_CONNECT_TIMEOUT=3000)(RETRY_COUNT=3)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hello01.domain.com)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=hello02.domain.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dbservice)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))))'

However, it is failing with the below error
####<Sep 15, 2021 1:26:01 PM> <FINER> <DomainCreator> <__apply_base_domain_config> <> <RETURN>
####<Sep 15, 2021 1:26:01 PM> <INFO> <DomainCreator> <__extend_domain_with_select_template> <WLSDPLY-12205> <Writing base domain osbcust-osb-poc01 to directory /u01/weblogic/domains/osb_domain>
####<Sep 15, 2021 1:26:01 PM> <FINER> <WlstHelper> <write_domain> <> <ENTRY /u01/weblogic/domains/osb_domain>
####<Sep 15, 2021 1:26:05 PM> <WARNING> <JpsDataManagerUtil> <getDBConnection> <> +<Can not connect DB with URL jdbc:oracle:thin:@hello01.domain.com:1521:DBSERVICE
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

I think the problem is caused because WDT generates this URL, which is suitable for SID.
jdbc:oracle:thin:@hello01.domain.com:1521:DBSERVICE
In our case we need a URL like this, which is suitable for service name
jdbc:oracle:thin:@hello01.domain.com:1521/DBSERVICE
If this is an issue, I think the potential cause could be around this source code https://github.com/oracle/weblogic-deploy-tooling/blob/18d05d99a04fbdf97350cd2ab27c6a696418d05f/core/src/main/python/wlsdeploy/tool/create/domain_creator.py#L1083-L1088
Nevertheless, if I am missing a configuration property to use SERVICE rather than SID, kindly let me know.
Best regards,
TAM

The issue is not in the WDT, we do not generate the URL.   When you first create RCU schema,  the connection string you used is broken down (by rcu) and stored in the shadow table.   During domain creation,  we used a wlst function to populate the datasource url (the function pick up the pieces in the shadow table and reconstruct the jdbc connection info).  At the end writeDomain() is executed the template will use the url populated the schema table.
The rcu_db_conn_string you specified is just used to reach the database shadow's table.   If it is not working then it will fail much earlier, write_domain is the last step.
What connect string you use when running the rcu?  Can you simply use the service url
jdbc:oracle:thin:@hello01.domain.com:1521/DBSERVICE

Hello,
Actually I was using your recommendation and then I decided to test what would happen if I use the SCAN URL there.
I am going to test it tomorrow.
Best regards,
Raúl

Hello,
Actually I was using your recommendation and then I decided to test what would happen if I use the SCAN URL there.
I am going to test it tomorrow.
Best regards,
TAM

Note: The issue is not in WDT and we have no control on how rcu works.
We are just passing the connect string to the rcu utility and it do all the work behind.  There seems to be a bug in rcu when using this format and the results in the shadow table reconstruct the final jdbc url for the datasource, but I think you should be use the format //scan-hostname:port/servicename    that should help if the rac node is down.
Alternatively,  I think you should be able to override the jdbc url in the model yaml, downside is you have to know the name for each one.

I am closing this issue after getting a detailed explanation about RCU internals.
Thanks a lot @jshum2479

source: gharchive/issue

repo: oracle/weblogic-deploy-tooling


text:
DomainProcessingFailed  domain/sample-domain1 .. DOMAIN_HOME directory not found '/u01/...

Hello All!
We are doing a POC on the customer to put some applications in a container, and we are installing Kubernetes Operator, but at the stage of creating the domain it is giving an error:
command:
./create-domain.sh -i my-inputs.yaml -o /opt/oracle -u weblogic -p ******** -e
Warning   DomainProcessingFailed     domain/sample-domain1   Failed to complete processing domain resource sample-domain1 due to: DOMAIN_HOME directory not found '/u01/oracle/user_projects/domains/domain1'., the processing will be retried if needed
Has anyone been through something like that?
We are using the 3.2.3 image of the operator, on Linux x86_64.
Attached the my-inputs file.
Thank you!
Bruno Zanon

Discussion about this is ongoing in slack.

In conversation with Tom, I will continue the investigation on the slack "wls-operator-support".

repo: oracle/weblogic-kubernetes-operator


text:
Start decoupling of make-right from DomainProcessorImpl

The next set of changes need to verify that we abort processing on a failure. Currently, the make-right and domain-processing code is fairly tightly coupled, making that difficult. This change starts decoupling them, moving the relevant steps into the MakeRight class and moving the status scheduling logic out. At the same time, I am attempting to rationalize access to the DPI. In some steps, we are getting it from the Packet, and in others we pass it to the constructor. I am now changing them to consistently using the Packet. An argument could be made for the opposite, but consistency is what should really matter.

@russgold, heads-up that there is a failing test, ItDiagnosticsFailedCondition.testImageDoesnotExist. I've restarted the test run, but it looks like the test failure is consistent.

Looking into the test failure now.

authors: rjeberhard russgold


text:
Wookiee 2.4: Discovery, De-Akkafication, Helidon Webservice

Support for an Akka-less Future

Created a new Mediator trait that's used for static object management

Global access to ActorSystem

Added a WookieeSupervisor to manage new non-akka executives, and to eventually replace HarnessActor
Added a new akka-less WookieeMonitor trait with health checks and other common functions
Created WookieeCommandExecutive (with tests) which is the new holder for V2 commands
Created new ComponentV2 that loads up without Akka and has the same functionality

Support in ComponentManager for message/request to V2 Components
Support for propagation of start, shutdown, and health check to a Component V2 and its children

Created WookieeService parent and new ServiceV2 extensible

Support for Services that aren't akka-powered
Full monitoring (health and more) for ServiceV2
Removal of support for multiple Services on one Wookiee (not used)

Wookiee Actor Trait

Support for all common Actor operations
Queued execution and overrideable mailboxes
Support for state changes via 'become'
Support for stash() and unstashAll()
100% code coverage

WookieeActorRouter trait and instantiation methods for making WookieeActor routers

RoundRobinRouter for simple routing
Support in V2 command structure for routers

New V2 command structure with typing and no akka dependency
TestHarness upgrades to handle V2 Services and Components
New WookieeOperations class which will have tools to emulate actors
Removed ActorLoggingAdapter and all references
Moved non-akka code out to a safe wookiee-libs module
Wookiee Metrics to ComponentV2
Wookiee Zookeeper to ComponentV2
Wookiee gRPC to Component V2
Wookiee Cache to Component V2
Wookiee Memcache to Component V2

Creation of new module wookiee-discovery for akka-less gRPC clustering and messaging

New trait for DiscoverableCommand which supports gRPC messaging
Exec and Helper classes/traits to register/execute discoverable commands
More graceful catching of errors on discoverable gRPC executions
Detailed README
100% test coverage

Creation of new Component wookiee-helidon for interactions with that framework

Created WookieeRouter to handle wildcards and endpoint routing using an efficient tree
Helidon Manager for endpoint registration and management of internal and external services
Support for HTTP query parameters, headers, and path segments
Error handling at each phase of processing
New WookieeHttpHandler which replaces AkkaHttpBase for OOP model of endpoint creation
Complete support of CORS specs for allowed Origins (config), Headers (per-endpoint), and Methods (dynamically populated)
OPTIONS call able to give details on any endpoint
WookieeHttpService trait for easy command adding
Full websocket support in wookiee-helidon

Compression support
OOP registration endpoint
Websocket CORS support
Websocket query/params support
Added functional endpoint for registration
WookieeWebsocket trait for OOP support

Added a WookieeWebClient powered by Helidon WebClient

Support for proxy hosts

Default endpoints (metrics/healthcheck)
Content type support
SSL support
Detailed README
100% test coverage

Example project 'advanced-communication' that has two interconnected Services showing the use of wookiee-helidon and wookiee-discovery

Examples of functional and OOP usages of both HTTP and WS endpoints
Example of communication across services using Discoverable Commands

Refactor of deeply deprecated patterns in wookiee-grpc-dev

@malibuworkcrew What about migrate to pekko, which is Apache V2 licensed and free.

@He-Pin We have had some consideration of the Pekko project (which I’m glad people have taken on). However, we’re unsure of when it might leave incubation and what its long term support would be (which we’re especially reticent about due to the akka experience). As a result we have begun to hedge our bets and move towards less reliance on akka, with the potential goal of removing it from Wookiee altogether in a future version. This 2.4 release enables Wookiee implementations to optionally abstain from the use of akka patterns if they so choose.

@He-Pin We have had some consideration of the Pekko project (which I’m glad people have taken on). However, we’re unsure of when it might leave incubation and what its long term support would be (which we’re especially reticent about due to the akka experience)

While I think the decision has already been made I just wanted to clarify that Pekko leaving the incubator is the wrong metric to use to gauge "success" or "support". The more accurate metric is the actual release of Pekko modules itself and this is because to creating a release while within the Incubator has a very high bar (this is one of the main points of the incubator). This should be clear given that the requirement for promotion from an Incubator project to TLP (Top Level Project) is creating a few release + having a healthy community.
As you might already be aware, Pekko core has already been released with Pekko Http/Pekko Connectors Kafka on the horizon. If you have any more questions I would recommend reading/commenting on the mailing lists at https://lists.apache.org/list.html?dev@pekko.apache.org

@malibuworkcrew Understood, as a Oracle project, yes , move to another Oracle project is better for internal cooperation, and Yes, move to pekko will be much simpler at this now.
But, whatever the decision is, it came out with some reason, best wishes and looking  forward for all the goodies to come.

authors: He-Pin malibuworkcrew mdedetrich

repo: oracle/wookiee


text:
(Suggestion) Use cross-env to avoid duplicating NPM scripts

Right now there are several duplicated NPM scripts with the suffix Win and using windows-style environment variables.
An alternative way to handle this is to add cross-env as a devDependency and replace
scriptName: node $someVar main.js,
scriptNameWin: node %someVar% main.js

with
scriptName: cross-env node $someVar main.js

Closing, see https://github.com/oraclesorg/ico-wizard/pull/382#issuecomment-349938657

repo: oraclesorg/ico-wizard

license: mit

license_source: bigquery


text:
Founder appears as separate user

Seems like I'm showing up twice, once as michael and once as ~michael when that's actually just me as the founder. The channel reports that the nicks are different when I checked. I triggered this by registering the channel and then rejoining the channel. Did I do something wrong or is this behavior unexpected?

Hmm, this sounds quite strange. Just curious, what client are you using? I'll take a look and see if I can reproduce this issue, thanks for the report!

I'm using weechat, let me know if you need my configs or anything else.
On Thu, Nov 1, 2018, 05:44 Daniel Oaks notifications@github.com wrote:

Hmm, this sounds quite strange. Just curious, what client are you using?
I'll take a look and see if I can reproduce this issue, thanks for the
report!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oragono/oragono/issues/298#issuecomment-435002572,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnx-vQ54yFSEL7DPKIRyzt5C-HNBhndks5uqtB9gaJpZM4YFzP3
.

If you have time, the raw protocol input and output might help: https://weechat.org/blog/post/2015/08/24/Hex-dump-in-IRC-raw-buffer

Looks like this is a weechat problem, I'll close this for now

I don't think this is a weechat-only problem as Textual suffers from the same issue.

@iptq here's where we're at with this: I can't find any incorrect responses sent by oragono at the wire level, but the behavior (duplicated nicknames in the channel membership list, one with a ~ prefix) has been seen with weechat, Textual, and irssi.
Were you able to clarify that this is not an oragono issue? Did this get filed as a weechat bug?

@slingamn just curious, have we either captured the raw traffic from the server-side or sat something in the middle of Ora and weechat/textual/irssi/etc and seen exactly what those clients do upon joining the channel? from my looks there's nothing wrong with how we're sending out the on-join responses, but maybe those clients do e.g. a NAMES or some other command that we're returning incorrect responses to. that many broken clients signals that it's likely something weird on our end, maybe mixed with a bit of clients being less than 1000% safe with how they process incoming numerics.

Yeah, we've looked at the raw traffic and it looks correct. This is redacted:
:server.name 353 joiner = #chname :~joiner ~OtherFounder
:server.name 366 joiner #chname :End of NAMES list

The one thing I can think of is that these clients are expecting their own nick to be unprefixed in the 353 RPL_NAMREPLY line, and only recognize their owner/founder status when they receive a subsequent MODE +q line. So when they get their name with the ~ prefix in the 353 line, they get confused?

I tried to reproduce this with irssi trunk (1c6f2560989f4), weechat trunk (d6e4bbf24447), and the latest binary release of Textual (7.1.0). I couldn't reproduce it in any of these clients via the following procedure: connect, authenticate to an account with NickServ, then join a channel of which that account is the registered founder.
If this can still be reproduced, it would help to have a complete dump of the i/o from the oragono side, e.g., with this logging config:
logging:
    -
        method: stderr
        type: "*"
        level: debug

I'm going to close this because we couldn't reproduce it and in any case it may have been fixed by #353

authors: DanielOaks cyruslopez iptq slingamn

repo: oragono/oragono

license: MIT


text:
Draft: DONE: Refactor to not use async Promise executor

Refactored createStore to be an async function and without callbacks. This was requested by a TODO in the file.
If this is refactoring is correctly done, I would also like to refactor the destroy function in the same file.

Should we even call store.open?
According to the levelup README, this is only supposed to be used when a store has been closed before.
https://www.npmjs.com/package/levelup

repo: orbitdb/orbit-db-storage-adapter


text:
Cannot read property set of undefined

Cannot read property 'set' of undefined","stack":"TypeError: Cannot read property 'set' of undefined\n    at OrbitDB._addManifestToCache (/home/james/test/node_modules/orbit-db/src/OrbitDB.js:373:17

Hey @voxsoftware are you using a custom cache? Can you provide the code which throws the above error?

Ping @voxsoftware

Closing for now as more info needed. Pleas do reopen if this is still an issue :)

authors: RichardLitt shamb0t voxsoftware

repo: orbitdb/orbit-db


text:
Error: Could not append entry, key "xxx" is not allowed to write to the log

I followed the basic example to get a test app running. But running into the following error
Error: Could not append entry, key "028a86f815eb53ae14cc65937f36b03be664a5cb7cf02702e03a21075418e7fa71" is not allowed to write to the log

Versions

Node.js - v10.13.0
ipfs- ^0.47.0
orbit-db- ^0.24.2

Code
const IPFS = require('ipfs')
const OrbitDB = require('orbit-db')

async function main() {
    try {
        const ipfsOptions = {
            EXPERIMENTAL: {
                pubsub: true
            }
        }
        const ipfs = await IPFS.create(ipfsOptions)
        const orbitdb = await OrbitDB.createInstance(ipfs, {
            directory: "./db01"
        })
        console.log(`orbitdb.identity.id :: ${orbitdb.identity.id}`)
        const db = await orbitdb.kvstore("firstDB", {
            overwrite: true,
            create: true
        })
        await db.load()
        await db.put("name", "asd")
        data = await db.get("name")
        console.log(data)
    } catch (err) {
        console.log(err)
        process.exit()
    }
}

main()

It's the same error for all kinds of database types.
Complete log
Swarm listening on /ip4/127.0.0.1/tcp/4002/p2p/QmdrZzodr2WYb8WRHqKdhTUNyDBEGqLCcxEvYDrRh985a1
Swarm listening on /ip4/192.168.29.74/tcp/4002/p2p/QmdrZzodr2WYb8WRHqKdhTUNyDBEGqLCcxEvYDrRh985a1
Swarm listening on /ip4/127.0.0.1/tcp/4003/ws/p2p/QmdrZzodr2WYb8WRHqKdhTUNyDBEGqLCcxEvYDrRh985a1
orbitdb.identity.id :: 028a86f815eb53ae14cc65937f36b03be664a5cb7cf02702e03a21075418e7fa71
(node:34074) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
Error: Could not append entry, key "028a86f815eb53ae14cc65937f36b03be664a5cb7cf02702e03a21075418e7fa71" is not allowed to write to the log
    at Log.append (/Users/jerry/workspace/orbitDB/node_modules/ipfs-log/src/log.js:308:13)

hi @jerrymannel, can you see if this is your issue: https://github.com/orbitdb/orbit-db-keystore/issues/45

Adding secp256k1 v3.6.2 to the dependencies helped.
npm i secp256k1@3.6.2

Thanks @tabcat

authors: jerrymannel tabcat


text:
start at login, auto hidden the app window

start at login, auto hidden the app window

Added for the next version.

Released in v0.15.0.

repo: orbstack/orbstack


text:
#5 Add the MIT license to this project

Resolves #5

Please rebase your chagnes upon the updated main branch, as some of your changes relied on changes made & merged within another branch/PR.

repo: orca-services/cakephp-feature-flags


text:
Bulk annotation or "repeat" button

As a moderator working alone (thereby avoiding back-end conflicts with other authenticated moderators?!)
facing a long backlog of repetitive false positives (currently there are 1750 unmoderated candidates)
I want to be able to annotate many candidates simultaneously/efficiently with the same tag and comment field values
This could be much faster than my current workflow, after listening to the candidate, usually using the "Detailed" view:

Hit "no" radio button
Type in tags
Type in comments
Hit submit

There are at least 3 ways that I can imagine accelerating the moderation process:
A:

Moderate first candidate
Listen to 2nd candidate
Toggle a "Repeat previous annotation" button
Watch the yes/no/unknown, tag(s), and comment automatically toggle/fill to match the previous values entered by this moderator
Hit Submit

B:

Listen to all 5 candidates on the current page
For the first listed candidate, fill in tags and a comment that apply to all of the candidates
Hit a select all button near the top of the list
Then "Apply annotations" to all the candidates on the page (e.g. default 5)

C:

Select a start and end datetime
Specify a status (yes, no, unknown, or maybe a new one "archive"?)
Specify any tag(s) and/or comment
Bulk process all candidates within the datetime range

I'm sure the UX/design team could get more/better feedback from other moderators, and then devise other/better solutions! Also, I  think Akash may have "cleared" some older back-logs, but I'm not sure how he accomplished it...

Hey Scott. In the Project Kanban board, should we have a separate column for Moderator API/UI items? Otherwise they might be spread across multiple columns.

authors: micowan scottveirs

repo: orcasound/aifororcas-livesystem


text:
Let all error alerts be in front of creation modal

Description

Resolves: #557
To test it out:

Create a pipeline with the prefilled name and path
Create another pipeline without changing the name and path
Press "create pipeline"

@iannbing will probably need to review this after we merge MUI. Hold for now

Addressed in #609

authors: ricklamers yannickperrenet

repo: orchest/orchest


text:
SwiftUI preview error when I include the MIDIKIT package

Please Confirm

[X] I have reviewed the MIDIKit Documentation which contains descriptive guides and extensive API reference
[X] I have searched Issues and Discussions to see if the same question has already been asked

macOS Version(s) Used to Build
macOS 12 Monterey
Xcode Version(s)
Xcode 14
Description
I tried finding a solution to this but couldn't. I hope it is not a silly one !
Once I include the swift package, SwiftUI Preview stops working. I attached a screenshot and the diagnostic error message below.
Thanks
XCode Version 14.0.1 (14A400)
SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x0000600013c4c0f0):'MIDIKit'>)```

It’s an Xcode bug that affects many libraries.

authors: amrmarzouk orchetect

repo: orchetect/MIDIKit


text:
Why range always return 0 when I try to index inscriptions

Command
: RUST_LOG=info ./target/debug/ord --bitcoin-rpc-user xxxxxx --bitcoin-rpc-pass xxxxxx  --bitcoin-data-dir "path-to-bitcoin-dir" --first-inscription-height 779832 index update # start from ordi deployment block

https://github.com/ordinals/ord/blob/3d969a600f88a5890504bd11d7e166c4de726348/src/index.rs#L2164
range always returns 0 and no inscription found.
Ideally, ordi should be indexed at this block

Hi chenzongxiong - I believe this is because you need to have created your ord index with the --index-sats flag.  I believe the satpoint_to_sequence_number requires it.
ord --bitcoin-rpc-user xxxxxx --bitcoin-rpc-pass xxxxxx  --bitcoin-data-dir "path-to-bitcoin-dir" --first-inscription-height 779832 --index-sats index update
If you need help creating the new index, please reach out to the #tech-support channel on our official Discord server, The Ordicord

repo: ordinals/ord


text:
[Bug / Suggestion] Better auto-detection of document language

Hi,
Currently, the langage value retrieved from the body lang attribute is not truncated if no other is available.
Example : if there is "fr" translated fields in CookieConsent configuration, and the body lang attribute is "fr-FR", default language will be used.
Is it possible to truncate the value of body lang attribute if no related translation is available in CookieConsent configuration ? Then check if a configuration exists for this truncated value.

Mhm, the value is always truncated though.
https://github.com/orestbida/cookieconsent/blob/d33d2c1cd6668ec8c67f22c699183202af12c8f8/src/cookieconsent.js#L1291
https://github.com/orestbida/cookieconsent/blob/2db756f11fdddb19b0b75847a4f084564055362a/src/utils/language.js#L43

its truncating the language attribute when autodetect: 'browser', is used,  but not for detection of the documents language via autodetect: 'document', at least not in v3.
https://github.com/orestbida/cookieconsent/blob/4d0e62cf3d590737c35c53955966136501ade213/src/utils/language.js#L53

authors: Striffly fbatschi orestbida

repo: orestbida/cookieconsent


text:
🛑 TTS (Oribi Speak) is down

In 5ba5d72, TTS (Oribi Speak) (https://tts.oribi.se/v2/speakb64) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TTS (Oribi Speak) is back up in 354559c after 6 minutes.

repo: oribisoftware/upptime


text:
Fixes : #479 Right Margin In Toggle Switch

Fixes : #479 Right Margin In Toggle Switch

@siddharth9300 Thanks for the fix, great job!


text:
duplicate or replace copy task with grunt-sync task

I've used it in one project and it looks pretty fine, even with remove option

Done https://github.com/orlovmax/front-end-scaffold/commit/e90fd8d04307dc7d29d818698fb5ef8871c634e2

repo: orlovmax/front-end-scaffold


text:
Восстанавливает 2% варда каждый ход

Укрытие и Износ
Плюсы

Восстанавливает 2% варда каждый ход

Минусы

Продлевает действие негативных эффектов на 10%

Ошибка

authors: Voskreshatel WacesRedky

repo: orna-memory-hunting/storage

license: Unlicense


text:
Mark package as Safe

Remove obstacles to marking package as Safe:

[x] Eliminate dependency on MissingH (#29)
[x] Deal with annotation issue

Closed by 2900a7a5f35442dbe2ef680a4b61502169261ab3.

repo: orome/crypto-enigma-hs


text:
microservice: add sql queries to flask app - ortelius-ms-dep-pkg-r

API EndPoint
URL to access the API endpoint should be /msapi/deppkg
An http GET will be used from the client side to make the API call.
Table Definition
CREATE TABLE IF NOT EXISTS dm_componentdeps
(
    compid integer primary key,
    packagename varchar(1024),
    packageversion varchar(256),
    cve varchar(80),
    cve_url varchar(1024),
    license varchar(256),
    license_url varchar(1024)
);

COMMENT ON TABLE dm_componentdeps IS 'Component Dependencies';

COMMENT ON COLUMN dm_componentdeps.compid IS 'Component Id';
COMMENT ON COLUMN dm_componentdeps.packagename IS 'Name of the package';
COMMENT ON COLUMN dm_componentdeps.packageversion IS 'Version of the package';
COMMENT ON COLUMN dm_componentdeps.cve IS 'Name of the CVE';
COMMENT ON COLUMN dm_componentdeps.cve_url IS 'Url to the CVE details in the CVE website';
COMMENT ON COLUMN dm_componentdeps.license IS 'Name of the License for the package';
COMMENT ON COLUMN dm_componentdeps.license_url IS 'Url to the License File';

Rework of this repo
Needs to mirror - ortelius/ortelius-ms-rpt-env2app
bubble-sort.py renamed to main.py
Additional working sample
ortelius/ortelius-ms-compitem-crud
Queries
Select query based on compid
Return
JSON string with array of dictionary for each row.

@Avikam123 please add pybreaker to this flask application.  See ortelius/ortelius-ms-dep-pkg-cud/main.py Lines 7 and 21-26.  See https://github.com/gjorgjinac/recommender_server for additional sample code.

repo: ortelius/ortelius


text:
change method to protected for subclass

Signed-off-by: Steve Taylor steve@deployhub.com

For issue #58


text:
Embed not working on firefox

When I try to write the url for the embed in firefox the keyup event is firing but the placeholder is not going away. If I wrap the br tag with a p then it seems to work.

I forgot to mention that this is on the 1.0.0 branch.

Thanks for the report. I will look at it today.

You were right. The problem was with br tag not being wrapped in p. In Chrome it is done automatically, but Firefox doesn't do that. I've made sure that it is wrapped correctly in all browsers. Now it should work correctly.

Awesome! Thanks for fixing this so quickly. Also congratulations on the 1.0 launch. I've found this version to be way easier to work with than the previous one.

repo: orthes/medium-editor-insert-plugin


text:
How to add static text into form?

I want to add a row that contains only static text. any plans on making it as an additional feature?

Can't textview achieve  that? rowType should be .MultilineText

repo: ortuman/SwiftForms


text:
Drag scroll only works in the first slide

Overview of the problem
Oruga version: [0.5.5]
Nuxtjs version: [2.15.8]
OS/Browser: Google Chrome Iphone Xs Max
Description
the drag only works in the first item (check www.optigura.fr for example)

What do you mean? I am able to drag all sliders in the homepage (android + Chrome)

@fahdaddi yep, I can reproduce it on iPhoneXR + Chrome (same problem using Safari). Carousel from docs works though.. need to investigate further..

@astagi is there a way to debug the component in Xcode emulator? (something like the react-native debugger)

I don't know @fahdaddi :/ I use real devices, it could be real interesting to figure out how to debug components on mobile devices

@fahdaddi yep, I can reproduce it on iPhoneXR + Chrome (same problem using Safari). Carousel from docs works though.. need to investigate further..

Were you ever able to figure out a solution? Dealing with the same problem on physical iPhone 12 Pro using Safari (using v0.5.5 of Oruga), where dragging works on the first carousel slide, but then dragging becomes completely disabled.

authors: astagi fahdaddi jtommy tonybebber

repo: oruga-ui/oruga


text:
Update Tabs.vue

Fixes #119

Thanks!

authors: jtommy mmorainville


text:
Adding a feature to "edit/delete" a message

The chat app can have a feature to edit or delete an already sent message, in case the user notices a mistake after sending the message. I am interested to contribute here.

Hey! I would like to work on this.

@shivprime94 Yeah sure! I have already taken the tag feature issue so you can take this up.

@PrimalPimmy please assign this issue to @shivprime94 instead of me, I have been assigned another issue already. Thank you!

@shivprime94 can I have an update on this?

repo: osBins/chatApp


text:
Release workflow missing pnpm install

The updated release workflow isn't installing pnpm, causing it to fail.

Wrong repo... sorry.

repo: osbuild/bootc-image-builder


text:
test: add container installer test

Add a new integration test that checks that the container installer
is working. The contaner installer just does an unattended install
of a disk. The test will run qemu with the installer.iso and an
empty disk. Once a reboot from the ISO is detected (via QMP) qemu
exists and boots the test disk and checks that it boots and the
test user can login.

The testing farm tests fail with "no space left on device" :/

It looks like SUPPORTED_IMAGE_TYPES is no longer the list that drives all the test loops. I was a bit confused by the artifact test change until I realized that you have a separate test for iso that isn't in the list. Maybe it needs a new name, or a comment?

It looks like SUPPORTED_IMAGE_TYPES is no longer the list that drives all the test loops. I was a bit confused by the artifact test change until I realized that you have a separate test for iso that isn't in the list. Maybe it needs a new name, or a comment?

Thanks, that is a nice catch and a good point. I renamed the vars a bit to (hopefully) make it more clear. Ideas/comments welcome!

It looks like the test is currently failing because of an anaconda error?


text:
cloudapi: add support for S3-compatible targets

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

Can you please rebase?

@ondrejbudai took the liberty of rebasing

Looks good, two thoughts:

a new entry in docs/news/unreleased would be nice
can we test this somehow? At least a unit test with local https://github.com/minio/minio ?

This is really cool. I wonder how we could get it integrated with the docker-compose setup in the demo so that local testing doesn't need S3 credentials

To expand on that: wouldn't it be cool if we could have the full setup running locally, and when we build something like a qcow2 (not supported yet), or an edge image (not supported in the UI, so some imagination is needed ;) ), we would get a link to download the artefacts and in production it points to amazon S3, but for testing it points to localhost? Similar things should be possible with local container storage if and when we support pushing to quay.io.

So on the question of where to put this test. I'd add cmd/aws-upload/main_test.go, in the spec file compile that test with test -c, add it to the tests pkg; and then call the test in base_tests. We already start a postgres container in that test, just start a minio one as well.

I like this! Can you please run tools/prepare-source.sh, and fix the shellcheck error?

Done in https://github.com/osbuild/osbuild-composer/pull/2686

authors: Gundersanne chloenayon ondrejbudai teg

repo: osbuild/osbuild-composer


text:
Added Phroute middleware

Middleware for Phroute dispatcher

See https://github.com/oscarotero/psr7-middlewares/pull/75#issuecomment-291562475

authors: oscarotero webdevlabs


text:
28 nov dana

@dhanus Request to merge:
-Since I wrote over process_notebook when I merged, I copied over process_notebook

@dtomc makes sense. Good to merge!

authors: dhanus dtomc

repo: oscarpredictor/oscar-predictor


text:
Bottom sheet header not always visible on android after upgrade to RN 0.61.1

Hello!
Since I upgraded react native from 0.60.5 to 0.61.1, the bottom sheet sometimes appear without header on android. Sometimes I launch the app and it is not visible then after restarting the app I can see it again.
without header:

with header:

I don't know if it is related but since I did the upgrade, I also have sometimes white icon background (react-native-elements) rendered transparent instead of white:
Icons with white background appearing transparent:

Icons with white background working:

System:
    OS: macOS Mojave 10.14.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 12.98 GB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 11.14.0 - /usr/local/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.2 AI-181.5540.7.32.5056338
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: ^0.61.1 => 0.61.1
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native: 0.59.4

It seems to be a react-native issue facebook/react-native#26544. Upgrading to 0.61.2 fixed the issue


text:
Sheet defaults to open when TabNavigation comes into view

I have the action sheet located on one tab of a tab navigation.
The initial snap point is set to 0. When I bring this page into view, the Bottomsheet appears as the page slides into view, then once the animation has finished it disappears. This makes the page flip animation jerky. However, once the page flip animation is finished the BottomSheet behaves as expected, opening and closing on a button press.
export class ComplaintPage extends Component {
  constructor(props) {
    super(props)
    this.route = props.route;
    this.navigation = props.navigation;
    this.ActionSheet = React.createRef()

    this.showDialog = () => this.setState({openSheet: true});
    this.hideDialog = () => this.setState({openSheet: false});

    this.state = {
      complaint: this.route.params,
      dialog: "",
      openSheet: false
    };
  }

  render() {
    const navigation = this.navigation;
    const complaint = this.state.complaint;

    return (
      <Tabs.Navigator
        <Tabs.Screen name="Details">
          {props => this.DetailTab({navigation, complaint, props})}
        </Tabs.Screen>
        <Tabs.Screen name="Photos">
          {props => this.PhotosTab({complaint, props})}
        </Tabs.Screen>
      </Tabs.Navigator>
    )
  }

DetailTab = ({navigation, ...props}) => {
    return (
      <View>
        <Surface>
          <SectionList
            sections={listdata}
            renderItem={({ item }) => this.DetailItem({item})}
            renderSectionHeader={({ section: { title } }) => (this.HeaderItem({title}))}
            keyExtractor={(item, index) => index.toString()}
            ItemSeparatorComponent={Divider}
          />
          {/* <ScrollView>
            <Text>
              {"Test"}
            </Text>
          </ScrollView> */}
        </Surface>
        <BottomSheet
          ref={ref => this.ActionSheet = ref}
          initialSnap={1}
          snapPoints={[450, 0]}
          borderRadius={10}
          renderContent={this.ActionSheetItem}
        />
      </View>
    );
  }

did you resolve it?

Hello,
Yes I have, believe the behavior is a product of how the bottom sheet is rendered.
I was rendering it to pop over a flatlist, if the flatlist had a length of 0 it would have no height and the BottomSheet would show on screen.
By setting the Flatlist height to "100%" I was able to fix this.
I don't know if this is intended behavior for the BottomSheet but it has been working consistently if I am careful with my css.

thanks for the answer! That was not the solution but i solved it by replacing snapTo("80%") to snapTo(1). "1" is the index of the snapPoints list which i declared as const snapPoints = ['70%', '80%', 0]

authors: MaximoSucari mikeymop


text:
Frank/oauth

Added an additional route in the oauth router. The previous route was unable to read cookies because they were being created in the same middleware chain. Fixed this issue by moving the middleware that dealt with the SQL database to its own middleware.

😎

authors: frankknguyen markcharlessmith

repo: oslabs-beta/SQuriL


text:
When pinch zooming out, sometimes the map pans

I think what's happening is that the gesture detector is a bit too sensitive and when pinching to zoom out, any trailing touch can be interpreted as a pan the map movement. A quiet period after a zoom in/out gesture is executed may be needed to help suppress this

Possibly related to #85?

perhaps. i'm not really sure what the root cause is, but it's annoying as hell

resolved with #130

repo: osmdroid/osmdroid


text:
Satellite map is not working

I have used satellite map with the following code
OnlineTileSourceBase mapBoxSatellite = new MapBoxTileSource("MapBoxSatelliteLabelled", 1, MAX_ZOOM_LEVEL, 256, ".png");
                ((MapBoxTileSource) mapBoxSatellite).retrieveAccessToken(getContext());
                ((MapBoxTileSource) mapBoxSatellite).setMapboxMapid("mapbox.streets-satellite");
                TileSourceFactory.addTileSource(mapBoxSatellite);

Now this is not working.
As I understand "mapbox.streets-satellite" is deprecated.  How should I change code above for using Satellite  map?
p.s.
I read about "satellite-v9". But how I can use it?
Simply changing to:
((MapBoxTileSource) mapBoxSatellite).setMapboxMapid("mapbox.satellite-v9");
is not working too
Issue Type
[x] Question
[ ] Bug
[ ] Improvement
[ ] Build system related
[ ] Performance
[ ] Documentation
Version of osmdroid the issue relates to:
implementation 'org.osmdroid:osmdroid-android:6.1.8'

Did you provide your own api key for mapbox? It's not a free product IIRC

Did you provide your own api key for mapbox? It's not a free product IIRC

Did you provide your own api key for mapbox? It's not a free product IIRC

Yes I provided my own MAP_BOX key.

Did you provide your own api key for mapbox? It's not a free product IIRC

Yes I provided my own MAP_BOX key.

It's possible they changed the URLs or something like that. I'd suggest you review the source of the mapbox tile source we have, then consult the API guides that mapbox provides and go from there

It's possible they changed the URLs or something like that. I'd suggest you review the source of the mapbox tile source we have, then consult the API guides that mapbox provides and go from there

@panovvitalik I set the id on the manifest.xml and it's ok.

Java code:

      `private void setGpsMap() {
    OnlineTileSourceBase MAPBOXSATELLITELABELLED = new MapBoxTileSource("MapBoxSatelliteLabelled", 1, 19, 256, ".png");
    ((MapBoxTileSource) MAPBOXSATELLITELABELLED).retrieveAccessToken(this);
    ((MapBoxTileSource) MAPBOXSATELLITELABELLED).retrieveMapBoxMapId(this);
    TileSourceFactory.addTileSource(MAPBOXSATELLITELABELLED);
    MapTileProviderBasic bitmapProvider = new MapTileProviderBasic(this);
    map.setTileProvider(bitmapProvider);
    map.setTileSource(MAPBOXSATELLITELABELLED);
}
`

MAPBOXSATELLITELABELLED

I use following code. It worked until November.
Now it doesn't work.
OnlineTileSourceBase mapBoxSatellite = new MapBoxTileSource("MapBoxSatelliteLabelled", 1, MAX_ZOOM_LEVEL, 256, ".png");
                ((MapBoxTileSource) mapBoxSatellite).retrieveAccessToken(getContext());
                ((MapBoxTileSource) mapBoxSatellite).setMapboxMapid("mapbox.streets-satellite");
                TileSourceFactory.addTileSource(mapBoxSatellite);
                return mapBoxSatellite;

you can use arcgis online server map which is free to use but you may have restrictions on zoom levels
https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/

authors: ManojRoyalll panovvitalik spyhunter99 tvaknin


text:
Additional http request properties get padded when restored from preferences

Issue Type
[x] Bug
Description and/or steps/code to reproduce the problem
Setting Configuration.getInstance().additionalHttpRequestProperties works for the first initial run.
@Override
public void onCreate(Bundle savedInstance) {
    ...
    Configuration.getInstance().additionalHttpRequestProperties["Authorization"] = "Basic $TOKEN"
    Configuration.getInstance().load(getApplicationContext(),
            PreferenceManager.getDefaultSharedPreferences(getApplicationContext()));
    Configuration.getInstance().additionalHttpRequestProperties["Authorization"] // prints `Basic $TOKEN`
    ...
}

Reopening the app, this no longer works as
@Override
public void onCreate(Bundle savedInstance) {
    ...
    Configuration.getInstance().additionalHttpRequestProperties["Authorization"] = "Basic $TOKEN"
    Configuration.getInstance().load(getApplicationContext(),
            PreferenceManager.getDefaultSharedPreferences(getApplicationContext()));
    Configuration.getInstance().additionalHttpRequestProperties["Authorization"] // prints `Basic $TOKEN    `
    ...
}

Note the additional padding at the end of string.
Possible workaround for now
to always reset the request properties after loading
@Override
public void onCreate(Bundle savedInstance) {
    ...
    Configuration.getInstance().load(getApplicationContext(),
            PreferenceManager.getDefaultSharedPreferences(getApplicationContext()));
    Configuration.getInstance().additionalHttpRequestProperties["Authorization"] = "Basic $TOKEN"
    Configuration.getInstance().additionalHttpRequestProperties["Authorization"] // prints `Basic $TOKEN`
    ...
}

Environment
Android 10
Version of osmdroid the issue relates to:
6.1.2

@xxfast Interesting...
If needed, I suggest that you copy DefaultConfigurationProvider into your own custom class and debug on it by setting it as the class to use with Configuration.setConfigurationProvider(myOwnConfigurationProvider).
That being said, I don't understand your code: it makes no sense to set a field AND THEN to load the preferences (which may crash your field value).
I would:

load the preferences
set my field
save the preferences

Where in the app lifecycle should these additional headers be set? 🤔

I think onCreate is appropriate, isn't it?

onResume might better but it probably depends on your use case. feel free to open a pr if you feel the rest of the community can make use of your changes. reopen this issue if needed

authors: monsieurtanuki spyhunter99 xxfast


text:
chore(e2e): upgrade e2e Hermes to v1.2.0

Closes: #4323
What is the purpose of the change

Update Hermes version to v1.2.0
Use this Hermes public image on DockerHub: https://hub.docker.com/layers/informalsystems/hermes/1.2.0/images/sha256-cb5248ffe217d4287468b63f571bd4c940f59f8ce1c5888cfa65884512e0c7e6?context=explore

hi @anhductn2001 . Thanks for the PR. Could you please rebase it against main?

hi @anhductn2001 . Thanks for the PR. Could you please rebase it against main?

Sure! @p0mvn . I fixed gas_mul = 1.1, let's review it again. Thankss

repo: osmosis-labs/osmosis


text:
Some minor test cleanup

As I was reading this code, I noticed we have a lot of test cleanup to do, and better testing to be adding here. I'll start writing it into issues, but wanted to add this quick PR

Codecov Report

Merging #475 (a6795a2) into main (f0a92f2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #475   +/-   ##
=======================================
  Coverage   20.05%   20.05%
=======================================
  Files         163      163
  Lines       23269    23269
=======================================
  Hits         4666     4666
  Misses      17846    17846
  Partials      757      757

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 f0a92f2...a6795a2. Read the comment docs.

Yep! Think everythings lgtm!

authors: ValarDragon codecov-commenter mattverse


text:
Make staking keeper passing more idiomatic

The whole point of the keepers.go refactor was to make the keeper on the app a pointer =)
See line 142, app.StakingKeeper = &stakingKeeper. This just makes this section cleaner

For contributor use:

[x] Targeted PR against correct branch (see CONTRIBUTING.md)
[x] Updated relevant documentation (docs/) or specification (x/<module>/spec/) - N/A
[x] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md - N/A
[x] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #742 (36e702f) into main (bc65a83) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #742   +/-   ##
=======================================
  Coverage   18.73%   18.73%
=======================================
  Files         172      172
  Lines       23908    23908
=======================================
  Hits         4478     4478
  Misses      18655    18655
  Partials      775      775

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 bc65a83...36e702f. Read the comment docs.

authors: ValarDragon codecov-commenter


text:
Change of visibility in macro

The macro fn_execute change the visibility of the created function when pub is not specified.
($name:ident: $req:ty[$type_url:expr] => $res:ty) => {
    pub fn $name(
        &self,
        msg: $req,
        signer: &$crate::SigningAccount,
    ) -> $crate::RunnerExecuteResult<$res> {
        self.runner.execute(msg, $type_url, signer)
    }
};
($name:ident: $req:ty => $res:ty) => {
    pub fn $name(
        &self,
        msg: $req,
        signer: &$crate::SigningAccount,
    ) -> $crate::RunnerExecuteResult<$res> {
        self.runner.execute(msg, <$req>::TYPE_URL, signer)
    }
};

I saw that in fn_query the visibility is maintained. Is this intentional? Thanks!

Nice catch! will work on it!

@iboss-ptk here the fix https://github.com/osmosis-labs/test-tube/pull/55

repo: osmosis-labs/test-tube


text:
Inkoopbeleid/inkoopvoorwaarden

Aanbevelingen

BZK: wat in te mogen kopen
via Nico: SBOM uitvragen

PIANOO zegt hier ook iets over
en in de toolbox/inkoop natuurlijk

Misschien goed om te refereren aan welke mogelijkheden er al zijn bij de standaard inkoopvoorwaarden van de overheid. Dit is wat ik daarover schrijf in mijn plan.

Wanneer overheden software inkopen bij marktpartijen dan doen ze dat meestal onder standaard inkoopvoorwaarden. Voor gemeentelijke IT aanbestedingen zijn deze vastgelegd in de GIBIT (Gemeentelijke Inkoop bij IT Toolbox), voor de rijks-overheid is dit de ARBIT (Algemene Rijksinkoopvoorwaarden bij IT overeenkomsten). Beide stellen dat intellectuele eigendomsrechten (IE-rechten) zoveel als mogelijk aan de opdrachtgever dienen te worden overgedragen in het geval van maatwerk. Wie de IE-rechten van broncode in bezit heeft, kan zelfstandig besluiten om er een open source licentie aan te verbinden en de betreffende broncode openbaar te publiceren. Natuurlijk rekening houdende met de Woo-weigerings-gronden. Wanneer om redenen open source publiceren geen optie is, dan kan er eventueel ook gekozen worden voor publicatie zonder open source licentie.

Artikel 20 van de GIBIT 2023, Artikel 17 van de GIBIT 2020, Artikel 8 van de ARBIT 2022

authors: MauriceHendriks marcvanandel nicorikken

repo: ospo-nl/kennisbank


text:
React-component to represent states of components that are unknown

Right now, components with unknown states are represented with a simple message in a Typography. Ideally we would want a re-usable component that can be used across the accordions of all components with more bling to it :sparkles:, or we could also notify operators in other ways, eg: (sms, an ivr?)
Feel free to give suggestions!
Related comment:
https://github.com/osrf/rmf-web/pull/169#discussion_r538964840
Related PRs:
#169
#179

Avoid posting asana links here as that is private.

Updated

authors: ChawinTan koonpeng

repo: osrf/rmf-web


text:
updated Dockerfile to solve postgresql SCRAM authentication problem

What's changed?
updated Dockerfile to solve postgresql SCRAM authentication problem on macs
What's your motivation?
Closes #75
Anything in particular you'd like reviewers to focus on?
Is there any other way to solve this without changing Dockerfile?

Yes, I updated requirement instead!

repo: ossf/omega-triage-portal


text:
Added opentelemetry, other small fixes

Replaced OpenTracing with OpenTelemetry
Other small fixes

Deleted files:
rm src/tracing/gqlTracer.js
rm src/tracing/knexTracer.js
rm src/tracing/openTracingRestDataSource.js
rm src/tracing
rm src/messaging/middleware/tracing/tests
rm plugins/tracing/tracingPlugin.js
rm plugins/tracing/spanContext.js
rm plugins/tracing
rm mocks\opentracing.js

repo: osstotalsoft/generator-graphql-rocket


text:
not a bug. How to use regularization images in training?

not a bug. How to use regularization images in training?

The dataset section allow multiple datasets. Just add is_reg: true to the regularization dataset. It will not inject triggerword and will alternate back and forth from the regularization dataset and the normal one every other step.

repo: ostris/ai-toolkit


text:
scExamples

Hi @osumray,
Fantastic work; I would like to know if there are plans to include the code for the results shown in your paper. Or, a code showing how the single-cell data can be handled by your approach.
IMHO, this could help you to have more people trying out your method.
Best,

Hi @jsnagai,
Thanks! Yes we should be able to give some example code, is there one of the three methods (eigenscores, MLS, PRQ) that you are particularly interested in? There is already a notebook for the eigenscores, available here.

Hi @osumray
Thank you for the quick reply.
I'd love to have the code related to the PRQ model. It would be nice to test it in my single cell dataset.
Best

authors: jsnagai osumray


text:
New users are not added to leaderboard

And php spams errors on userpages too

They should be when they submit a score on a map
On 09/03/16 22:57, Nyo wrote:

And php spams errors on userpages too
—
Reply to this email directly or view it on GitHub
https://github.com/osuripple/ripple/issues/54.

authors: thehowl xNyo

repo: osuripple/ripple


text:
Documentation: more detailed explanation or an example for auto-config

plugin:jsonc/auto-config ... Automatically apply jsonc rules similar to your configured ESLint core rules to JSON.

I find it difficult to understand what stand behind this description. And it's not easy to figure out from the code.
Some example might be helpful.
Update:
I now see that it is about the rules borrowed from ESlint. But this raises another question:
How do I combine JSONC own rules recommended for *.jsonc with auto-configured borrowed rules?
Will this work?:
{
  "extends": [
    ...,
    "plugin:jsonc/auto-config",
    "plugin:jsonc/recommended-with-jsonc",
    ...
  ]
}

It does seem to work. Although I'm not sure whether it is a good way to use it.

Hi! @KillyMXI.
Your usage is correct and is what I expected.
Is the document confusing? If so, could you send me a pull request to rewrite the document for clarity?

authors: KillyMXI ota-meshi

repo: ota-meshi/eslint-plugin-jsonc


text:
Update no-dupe-characters-character-class#charSetToReadableString() to be shared by rules.

This change includes no-invisible-character rule message and output source change.

Thank you for your review! I renamed the function and merged the two functions.

repo: ota-meshi/eslint-plugin-regexp


text:
Add a basic test for the echo server

Fixes https://github.com/otrego/clamshell/issues/43
This adds a simple gRPC test for the echo server.

This looks good.
I think that at some point we'll want to use this as a basis for creating a test-setup for integration style api-tests.

authors: Kashomon mhoak

repo: otrego/clamshell


text:
Closed streams correctly wherever possible

Addition to main issue solved here:
https://github.com/otros-systems/otrosvfsbrowser/pull/14

Project is using Java 1.8. Please use Try with resources.

Will change everything to try-with-resources here too.

I'm using default Intellij formatter.

After further inspection your style is more likely: Tab size:2 , Indent: 2 , Continuous indent: 2, Spaces within array initializer braces. I think default is 4,4,8, no spaces within braces as I recall. Not a big deal you can just export your style from intellij event if it is default and push it somewhere on github so no questions from developers like me in future. Thx

Please review latest commit. Thx

Added code style config to latest commit - 97bb7efe9cbd9f5b3a9927c83d72f1dc64cac6fa

Please check new feature added with following commit - 94454e88a41f56488a6b682318b958d5520696ca

Please check another feature added with following commit - 0fdbba93d8bed735455344b494f4bc8626434a8e . Adds option to set monospaced font for message chunk of the "message detail". Needed for ASCII art or tables to be presented correctly. Thx

Sorry, I should have moved 2 features into own branches to have multiple pull requests instead of one. My bad. Though as commits are independent from one another code review shouldn't be a problem. Thx

codacy argues about code formatting style mostly. Can you improve an entrypoint for new developers to join this project as I currently find it too hard to merge to you master branch? As I mentioned earlier you code styling profile would be nice so at least codacy/pr will pass green... plus maybe list of anti-patterns and things you don't want to see in you project. Thx

authors: Zacorich otrebski

repo: otros-systems/otroslogviewer


text:
圆角

圆角能更圆点吗，希望加入圆角及位置自定义功能。

新版本已经可以调节圆角

authors: chenxifj ouhoukyo

repo: ouhoukyo/MIUIDock


text:
Improve news scraper

Stores rss item guid's instead of url's (when available).
This means when the url changes of the item, no newsitem is (wrongly) created
Also improves performance by reducing amount of db calls
Closes #1003

I don't see the point in adding transactions to any of this, this will only get executed once every hour so there will never be contention on these entities

repo: our-city-app/oca-backend


text:
B 站热榜一直加载不出来（

如图

网络问题，可能 vercel 那边不行，cloudflare 可以。

fixed by #8

repo: ourongxing/newsnow


text:
Some colors are wrong on neovim 0.10

With the release of neovim 0.10 the default colorscheme in neovim was changed. It seems that NeoSolarized picks up some of the default colors as some colors do not match the solarized theme when using neovim v0.10.
with neovim 0.10:

with neovim 0.9.5:

Same problem here

I switched to https://github.com/maxmx03/solarized.nvim
Then I had to adjust some settings to make it look the same:
vim.o.background = 'dark'

require('solarized').setup({
    transparent = false,
    palette = 'solarized',
    styles = {
      keywords = { bold = false },
    },
    highlights = {
      KeyWord = { fg = '#859900' },
      Delimiter = { fg = '#dc322f' },
      Number = { fg = '#2aa198' }
    },
})

vim.cmd.colorscheme 'solarized'

neovim 0.10 changelog:

Default color scheme has been updated to be "Nvim branded" and accessible. [...] This also might result into some color schemes looking differently due to them relying on implicit assumptions about how highlight groups are defined by default. To account for this, define all attributes of highlight groups explicitly. Alternatively, use :colorscheme vim or :source $VIMRUNTIME/colors/vim.lua to restore previous definitions.

This sufficed for me:
@@ -134,6 +134,11 @@
 if exists("syntax_on")
   syntax reset
 endif
+if has('nvim-0.10')
+  " Pending explicit highlight-group definitions:
+  " https://github.com/overcache/NeoSolarized/issues/34
+  colorscheme vim
+endif
 let colors_name = "NeoSolarized"

 "}}}

I don't know enough about highlight groups—namely, which ones NeoSolarized left implicit—to pursue the correct fix.

authors: Goorzhel hasufell lucc xanderdunn

repo: overcache/NeoSolarized


text:
easywechat官网的视频教程什么时候能更新啊？

easywechat官网的视频教程什么时候能更新啊？

4.x 不更新了，等 5 出来再更新

一定要更新呀~~~我还是个学生花了188

4.x 不更新了，等 5 出来再更新

authors: overtrue vavo-cake zhangzheng7856

repo: overtrue/wechat


text:
feat(telecom.sms.sender): add label to not use test account

Ref: UXCT-190

CDS Report telecom-task#5262.0 ✘
*

Build CA ✘
Build EU ✔
Build US ✔

repo: ovh-ux/manager


text:
Update sbt to 1.10.3

About this PR
📦 Updates org.scala-sbt:sbt from 1.5.8 to 1.10.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #95.


text:
:sparkles: add .copy methods to Variable and VariableMeta

Add Variable.copy(deep=True) method. This fixes https://github.com/owid/etl/issues/1454. The method can be reused for other dataclasses (we could even add it to all by default with a decator, similarly to @pruned_json).
@pabloarosado I've noticed you implemented Table.copy_metadata method. There's already Table.copy_metadata_from that I believe does the same (and doesn't use copy.deepcopy which is quite slow). Do you think it'd be possible to unify them?

Thanks a lot @Marigold! Regarding copy_metadata, there is already an issue for that: https://github.com/owid/etl/issues/1269

authors: Marigold pabloarosado

repo: owid/etl


text:
✨ wizard: data step, fasttrack ux, streamlit version

Continues work from https://github.com/owid/etl/pull/3718 (CI/CD stopped working)

New data stepI: am trying to simplify the ergonomics of creating a new data step.

Currently, we present the user with three different options at the top level:, Meadow, Garden, Grapher. I think it should be simpler at the high level, and just label these as "data step". Then, the user can choose how many steps they want to create (all of them, as in 'express mode', just a subset, etc.).

Maintenance:

I'm also re-viewing some bits in Wizard, to keep things updated.
Bumping streamlit version to 1.41

Integrating harmonizer into the data step creation.
Support customization of dependencies in data step creation.
Aesthetic tweaks to Fast-track.

https://github.com/owid/etl/pull/3718 ended up working ー closing


text:
[oCIS] Uploading folder containing multiple files/folders can fail sometimes

Steps to reproduce
Run any multi-sharing acceptance test multiple times: webUIUpload/upload.feature:22
Folder structure:
CUSTOM\
CUSTOM\lorem.txt
CUSTOM\sub1\
CUSTOM\sub1\lorem.txt
CUSTOM\sub1\new-lorem.txt
CUSTOM\sub2\
CUSTOM\sub2\sub3
CUSTOM\sub2\sub3\new-lorem.txt

Expected behavior
expected all files are deleted
Actual behavior
some requests failed

HTTP log
POST /remote.php/dav/files/Alice/CUSTOM HTTP/1.1
Host: host.docker.internal:9200
Connection: keep-alive
Content-Length: 0
sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"
Upload-Length: 699
Tus-Resumable: 1.0.0
sec-ch-ua-mobile: ?0
Authorization: Bearer eyJhbGciOiJQUzI1NiIsImtpZCI6IiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ3ZWIiLCJleHAiOjE2NTExNDA1ODEsImp0aSI6Ii1KU2lRLVgxWXppQmRsSElaVlhKV05xOHdGeEdnNzczIiwiaWF0IjoxNjUxMTM5OTgxLCJpc3MiOiJodHRwczovL2hvc3QuZG9ja2VyLmludGVybmFsOjkyMDAiLCJzdWIiOiJxWm55UmRpeURqVnZ2eEp5QDktbHZ2b0M0ZS1KRC00UTNyWTRCTk1mazVUZTQ5T3BTNVZkN0J3VzlnaDdqNkM2S1ZUbHE5WWlhV0ZLMWtPUTMxZjB6U2ciLCJsZy50IjoiMSIsInNjcCI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIiwibGcuaSI6eyJkbiI6IkFsaWNlIEhhbnNlbiIsImlkIjoiY249QWxpY2Usb3U9dXNlcnMsZGM9b2NpcyxkYz10ZXN0IiwidW4iOiJBbGljZSJ9LCJsZy5wIjoiaWRlbnRpZmllci1sZGFwIn0.gCdDbaypfhyeBSvCYwdYUCCmhO42jgYoX2WHXXIx29MtwtijJvBgsnXbdm24dw5hALPwNUM69dh9Y2oo2_aXPiJG5ZCe6Ubng5NtkZPyt0npe9ZKQs7a9ZQe8HKZBhUDN4OReVvTr7bHoQSjF-X94tqHKBVMUd2cc4a2etnDDupATuUmhsBVl3b2_I2nLD8957MMjcREDDBtFJNphUW3HHv1H2Xp47osnDAyKq2VbB4Fx-5UkFMF9fa6gr9-0roDrPOmbwMy11jUW4tmhpRILMmN5TwYs2OwVq3qXFw_oix6O5YqZlsMeWKPW33jeqxtge1sQNuVariemMixCXwLgQ
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
Upload-Metadata: currentFolder Lw==,relativeFolder Q1VTVE9N,relativePath Q1VTVE9NL2xvcmVtLnR4dA==,route W29iamVjdCBPYmplY3Rd,tusEndpoint aHR0cHM6Ly9ob3N0LmRvY2tlci5pbnRlcm5hbDo5MjAwL3JlbW90ZS5waHAvZGF2L2ZpbGVzL0FsaWNlL0NVU1RPTQ==,webDavBasePath L2ZpbGVzL0FsaWNl,name bG9yZW0udHh0,type dGV4dC9wbGFpbg==,filetype dGV4dC9wbGFpbg==,filename bG9yZW0udHh0
sec-ch-ua-platform: "Linux"
Accept: */*
Origin: https://host.docker.internal:9200
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://host.docker.internal:9200/files/spaces/personal/home?items-per-page=100
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9

HTTP/1.1 412 Precondition Failed
Access-Control-Allow-Headers: Tus-Resumable, Upload-Length, Upload-Metadata, If-Match
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Tus-Resumable, Location
Content-Length: 0
Content-Security-Policy: default-src 'none';
Date: Thu, 28 Apr 2022 09:59:42 GMT
Tus-Extension: creation,creation-with-upload,checksum,expiration
Tus-Resumable: 1.0.0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: none
X-Xss-Protection: 1; mode=block

oCIS log
The server yields the following log on request failure
{
  "level":"error",
  "service":"storage",
  "pkg":"rgrpc",
  "traceid":"00000000000000000000000000000000",
  "error":"remove /var/lib/ocis/storage/users/spacetypes/personal/fdf22c79-1993-44a3-b573-6e96552bdf53.flock: no such file or directory",
  "node":"marshaling error: json: unsupported value: encountered a cycle via *node.Node",
  "time":"2022-04-28T09:43:26Z",
  "message":"could not convert to storage space"
}

[QA] TODO:

[ ] unskip the tests related to this issue (skipped in https://github.com/owncloud/web/pull/6828)

Reason is the flock issue. Closing this in favor of https://github.com/owncloud/ocis/issues/3757

authors: kobergj saw-jan

repo: owncloud/ocis


text:
Link creation not posible in spaces

Describe the bug
Create a link over an item using the direct link button is not posible inside an space. My guess: something related with mandatory password
Steps to reproduce

In oCIS account, open any space that is not Personal
Click on

of any item to create a link.
Actual behavior
Nothing happens. But, opening the 3-dot-button and clicking over Share and then Create Link, it works
Expected behavior
Any user action must be replied with another action. In this case, creating the link or showing the password dialog if that option is mandatory
Additional context
Tested over ocis.owncloud.works:
ownCloud Web UI 8.0.0-alpha.10
index.html-LqZ16May.mjs:1  Infinite Scale 5.0.0-alpha.3+5d00b45b9 Community

@jesmrec thanks for reporting. I could reproduce it.
it's web issue so I move it to web
web send GET https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2Ff1&include_tags=false&share_types=3 request instead of POST sharing request
https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/shares
https://github.com/owncloud/ocis/assets/84779829/3f2de41c-19e0-4a45-86e9-a159f14cae65
it's a gap in test coverage. We have test to quick link in personal space. TODO need to add for project space

authors: ScharfViktor jesmrec


text:
[docs-only] Update the PROXY_TLS envvar description

This PR clarifies that the setting PROXY_TLS needs to be set to true when using the embedded IDP service. Also adds a note in the proxy readme.
The envvar description should be backported to docs-stable-2.0

@micbar I am just working on changing this. Will ping you soon.

@micbar ping, changes made, pls review


text:
[tests-only] added antivirus test for overwriting a file with virus content in pro…

Description
This PR adds the API test scenario for overwrite file with virus content in group share

Scenario: try to overwrite a file with virus content in project space share

Related Issue

Part of: https://github.com/owncloud/ocis/issues/6255

Motivation and Context

How Has This Been Tested?

test environment:

locally

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[X] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[X] Acceptance tests added
[ ] Documentation ticket raised:

:boom: Acceptance test Core-API-Tests-ocis-storage-6 failed. Further test are cancelled...


text:
[full-ci] Bump reva

Bump reva to pull in the received share concurrency fix.

please add a changelog in the bump-reva.md

authors: aduffeck micbar


text:
[full-ci] chore: bump web to v9.1.0-alpha.1

bumping web to pre-release v9.1.0-alpha.1

License check is failing.

License check is failing.

Tried different web commit ids now... either the license check is failing or a whole lot of e2e tests are failing. All that despite all CI runs in web were successful. I don't get it...

Running a [full-ci] without bumping web here: https://github.com/owncloud/ocis/pull/9502

@kulmann  that seems to be problem.
RuntimeError: cannot load application, web-app-markdown-editor, RuntimeError: cannot load application as only a name (and no path) is given and that name is not known to the application import map

and the place where it failed: https://github.com/owncloud/web/pull/11103/files#diff-6e1c7ab5d6495d865bb158ce549fef1c2cd6e63516c7509b4dafd49990c94bc3

and the place where it failed: https://github.com/owncloud/web/pull/11103/files#diff-6e1c7ab5d6495d865bb158ce549fef1c2cd6e63516c7509b4dafd49990c94bc3

May be @ScharfViktor finding can be useful for you @grgprarup since you are looking over it.

Aaaaaah thank you! The app name is the deprecated app name. It was removed meanwhile. So that's a config issue. It needs to be text-editor, not markdown-editor.

authors: SagarGi ScharfViktor kulmann micbar


text:
Uploaded files or created folders to show owner's username

I think there should be a label to show the original owner's file/folder when it is created or uploaded.
Intuitively it should be where the current "Share" label is.

@m-izaak I don't think this is website, related, is it? If not, please file a bug in the appropriate place - I think http://github.com/owncloud/core/issues is what you're looking for ;-)
On the subject of your request, I think - when you upload files, aren't you by definition the original owner? How can there be files (not shared with you) on your ownCloud instance which aren't owned by you?
I don't understand the need for this... As all files are owned by the person logged in unless shared by somebody else (and then you see who shared them).

authors: jospoortvliet m-izaak


text:
putting 13 providers live.

quick, before I have to add a 14th and we lose the lucky number ;-)

tested on staging, looks good.
Also added faq and 81release prep work!


text:
Java String Reverse problem solution added

Closing Issue/Referencing Issue
issue reference (#)
Changes Made In Pull Request
added solution of the HackerRank problem.

Ok and Thank you sir.
Have a nice Day.

repo: ows-ali/Hacktoberfest


text:
fix(semantic): allow root_node to be empty for empty trees.

related to #3082, #3030 and #3069

@Boshen is this a false positive? I can't see how it would change the performance by this much unless it is because of memory layout. I'll mark it as draft until I find out.

CodSpeed Performance Report
Merging #3084 will degrade performances by 3.17%
Comparing 04-24-fix_semantic_allow_root_node_to_be_empty_for_empty_trees (38d4013) with main (8de7399)
Summary
❌ 1 regressions ✅ 29 untouched benchmarks

⚠ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown
Benchmark 	main 04-24-fix_semantic_allow_root_node_to_be_empty_for_empty_trees 	Change
❌ 	semantic[pdf.mjs] 	138.2 ms 	142.7 ms 	-3.17%

@Boshen is this a false positive? I can't see how it would change the performance by this much unless it is because of memory layout. I'll mark it as draft until I find out.

CodSpeed Performance Report
Merging #3084 will degrade performances by 3.17%
Comparing 04-24-fix_semantic_allow_root_node_to_be_empty_for_empty_trees (38d4013) with main (8de7399)
Summary
❌ 1 regressions ✅ 29 untouched benchmarks

⚠ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown
Benchmark 	main 04-24-fix_semantic_allow_root_node_to_be_empty_for_empty_trees 	Change
❌ 	semantic[pdf.mjs] 	138.2 ms 	142.7 ms 	-3.17%

flaky test, just ignore.

authors: Boshen rzvxa

repo: oxc-project/oxc


text:
feat(vscode): provide config's schema to oxlint config files

Updates the VSCode plugin client to automatically provide our auto-generated
JSON schema to \.?oxlint(rc)?(\.json)? files.

#4826  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @DonIsaac and the rest of your teammates on  Graphite


text:
feat(linter/node): implement no-exports-assign

Related to #493

Need some help. @DonIsaac
thread 'linter::rules::test::test_doc_pages' panicked at tasks\website\src\linter\rules\test.rs:89:21:
Rule 'no-exports-assign' has an empty code snippet

Fill in the example code snippets in the docs.

Fill in the example code snippets in the docs.

Oh! My negligence!

authors: DonIsaac shulaoda


text:
Ideas for improvement

First, let me say I'm a big fan and also love how you've open sourced the show notes. I have a couple suggestions for the community here to consider. If we agree these are good, I'm happy to do the work and raise a PR...

Would it make sense to add a Creative Commons license? Maybe CC-BY?
Some of the "cover art" images are really fun. For example, my favorite is this one here. What do you think about including these images on the respective show notes pages?

Would it make sense to add a Creative Commons license? Maybe CC-BY?

Sounds good. Would you be interested in a PR?

Some of the "cover art" images are really fun. For example, my favorite is this one here. What do you think about including these images on the respective show notes pages?

I'm loath to add more labor, minimal as it is. The images are available by downloading the YouTube video... does that suffice?

Sounds good. Would you be interested in a PR?

Yes, I'll open a PR.

I'm loath to add more labor, minimal as it is. The images are available by downloading the YouTube video... does that suffice?

That's fine.

authors: ahl swapdisk

repo: oxidecomputer/oxide-and-friends


text:
Providers do not register on macOS 12.6 Monterey

I've run the probe-test-build example as in the repo's README:
console output

% gh repo clone oxidecomputer/usdt
Cloning into 'usdt'...
remote: Enumerating objects: 1859, done.
remote: Counting objects: 100% (386/386), done.
remote: Compressing objects: 100% (161/161), done.
remote: Total 1859 (delta 291), reused 247 (delta 223), pack-reused 1473
Receiving objects: 100% (1859/1859), 412.90 KiB | 2.56 MiB/s, done.
Resolving deltas: 100% (949/949), done.
% cd usdt/probe-test-build
% cargo +nightly run --features asm
   Compiling proc-macro2 v1.0.47
   Compiling unicode-ident v1.0.5
   Compiling quote v1.0.21
   Compiling syn v1.0.105
   Compiling thiserror v1.0.37
   Compiling serde_derive v1.0.148
   Compiling ucd-trie v0.1.5
   Compiling once_cell v1.16.0
   Compiling serde v1.0.148
   Compiling libc v0.2.137
   Compiling version_check v0.9.4
   Compiling serde_json v1.0.89
   Compiling usdt-impl v0.3.4 (/Users/anm/coding/usdt/usdt-impl)
   Compiling itoa v1.0.4
   Compiling ryu v1.0.11
   Compiling byteorder v1.4.3
   Compiling thread-id v4.0.0
   Compiling thiserror-impl v1.0.37
   Compiling pest v2.5.0
   Compiling pest_meta v2.5.0
   Compiling pest_generator v2.5.0
   Compiling pest_derive v2.5.0
   Compiling dtrace-parser v0.1.14 (/Users/anm/coding/usdt/dtrace-parser)
   Compiling serde_tokenstream v0.1.5
   Compiling usdt-attr-macro v0.3.4 (/Users/anm/coding/usdt/usdt-attr-macro)
   Compiling usdt-macro v0.3.4 (/Users/anm/coding/usdt/usdt-macro)
   Compiling usdt v0.3.4 (/Users/anm/coding/usdt/usdt)
   Compiling probe-test-build v0.1.0 (/Users/anm/coding/usdt/probe-test-build)
    Finished dev [unoptimized + debuginfo] target(s) in 36.50s
     Running `/Users/anm/coding/usdt/target/debug/probe-test-build

But the providers do not appear to be registered with dtrace:
% sudo dtrace -l -n 'my_provider*:::'
   ID   PROVIDER            MODULE                          FUNCTION NAME
dtrace: failed to match my_provider*:::: No probe matches description

I have tried SIP enabled both with and without dtrace.  For the avoidance of doubt, had this issue with my own providers before I attempted to verify with the example too.
Does one need to do anything further to register/use USDT providers on Monterey?

Is the process still running when you run dtrace -l?
You might have better luck by running the following dtrace first, and then run your program while dtrace is still executing.
dtrace -Z -n 'my_provider*:::'

Unfortunately, no progress yet:
Results of above suggestions

Is the process still running when you run dtrace -l?

Yes, it was.

You might have better luck by running the following dtrace first, and then run your program while dtrace is still executing.
dtrace -Z -n 'my_provider*:::'

Output below (probe-test-build was run after "matched 0 probes" and killed some time later, before the ^C):
% sudo dtrace -Z -n 'my_provider*:::'
dtrace: description 'my_provider*:::' matched 0 probes
^C

Another option would be to run the test directly with DTrace:
$ sudo dtrace -n 'my_provider*:::' -c './target/debug/probe-test-build'

Output below:
% sudo dtrace -n 'my_provider*:::' -c './target/debug/probe-test-build'
dtrace: invalid probe specifier my_provider*:::: probe description my_provider*::: does not match any probes

I checked the build script output in target/debug/build/usdt-impl-2f0bd06f84bbd7bb/output:

cargo:rerun-if-changed=build.rs
cargo:rustc-cfg=usdt_need_feat_asm_sym
cargo:rustc-cfg=usdt_stable_asm
cargo:rustc-cfg=usdt_backend_linker

Which looks reasonable to me?
Then I ran cargo expand on probe-test-build, which gave:
Expanded crate

#![feature(prelude_import)]
//! An example using the `usdt` crate, generating the probes via a build script.
#![feature(asm_sym)]
#[prelude_import]
use std::prelude::rust_2018::*;
#[macro_use]
extern crate std;
use std::thread::sleep;
use std::time::Duration;
use usdt::register_probes;
pub(crate) mod test {
    #[allow(unused_imports)]
    pub(crate) use start_work;
    #[allow(unused_imports)]
    pub(crate) use stop_work;
}
fn main() {
    let duration = Duration::from_secs(1);
    let mut counter: u8 = 0;
    register_probes().unwrap();
    loop {
        {
            let __usdt_private_args_lambda = || (counter);
            #[allow(unused_imports)]
            #[allow(non_snake_case)]
            fn __usdt_private_test_start_work_type_check(_: impl ::std::borrow::Borrow) {}
            let _ = || {
                let args = (__usdt_private_args_lambda.clone()(),);
                __usdt_private_test_start_work_type_check(args.0);
            };
            extern "C" {
                #[allow(unused)]
                #[link_name = "__dtrace_stability$test$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_0"]
                fn stability();
                #[allow(unused)]
                #[link_name = "__dtrace_typedefs$test$v2"]
                fn typedefs();
                #[allow(unused)]
                #[link_name = "__dtrace_isenabled$test$start_work$v1"]
                fn test_start_work_enabled() -> i32;
                #[allow(unused)]
                #[link_name = "__dtrace_probe$test$start_work$v1$75696e74385f74"]
                fn __start_work(_: ::std::os::raw::c_uchar);
            }
            unsafe {
                if test_start_work_enabled() != 0 {
                    let args = (__usdt_private_args_lambda(),);
                    let arg_0 = (*<_ as ::std::borrow::Borrow>::borrow(&args.0) as i64);
                    asm ! (".reference {0}\ncall {1}\n.reference {2}" , sym typedefs , sym __start_work , sym stability , in ("rdi") (arg_0) , options (nomem , preserves_flags , nostack));
                }
            }
        };
        sleep(duration);
        {
            let __usdt_private_args_lambda = || {
                (
                    {
                        let res = ::alloc::fmt::format(::core::fmt::Arguments::new_v1(
                            &["the probe has fired "],
                            &[::core::fmt::ArgumentV1::new_display(&counter)],
                        ));
                        res
                    },
                    counter,
                    {
                        let res = ::alloc::fmt::format(::core::fmt::Arguments::new_v1(
                            &[""],
                            &[::core::fmt::ArgumentV1::new_lower_hex(&counter)],
                        ));
                        res
                    },
                )
            };
            #[allow(unused_imports)]
            #[allow(non_snake_case)]
            fn __usdt_private_test_stop_work_type_check(
                _: impl AsRef,
                _: impl ::std::borrow::Borrow,
                _: impl AsRef,
            ) {
            }
            let _ = || {
                let args = __usdt_private_args_lambda.clone()();
                __usdt_private_test_stop_work_type_check(args.0, args.1, args.2);
            };
            extern "C" {
                #[allow(unused)]
                #[link_name = "__dtrace_stability$test$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_0"]
                fn stability();
                #[allow(unused)]
                #[link_name = "__dtrace_typedefs$test$v2"]
                fn typedefs();
                #[allow(unused)]
                #[link_name = "__dtrace_isenabled$test$stop_work$v1"]
                fn test_stop_work_enabled() -> i32;
                #[allow(unused)]
                #[link_name = "__dtrace_probe$test$stop_work$v1$63686172202a$75696e74385f74$63686172202a"]
                fn __stop_work(
                    _: *const ::std::os::raw::c_char,
                    _: ::std::os::raw::c_uchar,
                    _: *const ::std::os::raw::c_char,
                );
            }
            unsafe {
                if test_stop_work_enabled() != 0 {
                    let args = __usdt_private_args_lambda();
                    let arg_0 = [(args.0.as_ref() as &str).as_bytes(), &[0_u8]].concat();
                    let arg_1 = (*<_ as ::std::borrow::Borrow>::borrow(&args.1) as i64);
                    let arg_2 = [(args.2.as_ref() as &str).as_bytes(), &[0_u8]].concat();
                    asm ! (".reference {0}\ncall {1}\n.reference {2}" , sym typedefs , sym __stop_work , sym stability , in ("rdi") (arg_0 . as_ptr () as i64) , in ("rsi") (arg_1) , in ("rdx") (arg_2 . as_ptr () as i64) , options (nomem , preserves_flags , nostack));
                }
            }
        };
        counter = counter.wrapping_add(1);
    }
}

I can't say whether this is reasonable or not, but certainly nothing jumps out as an obvious failure in constructing the to-be-compiled source.
Grateful for any further thoughts or suggestions!

Welp, think I found the problem! The provider isn't name my_provider it's test. I'm not sure where that came from, but I just ran with what you'd written. I believe there are other examples or tests that use that, but the probe-test-build crate does not. On my (older) macOS system:
bnaecker@sandstone : ~/file-cabinet/oxide/usdt $ sudo dtrace -n 'test*:::' -c ./target/debug/probe-test-build
Password:
dtrace: system integrity protection is on, some features will not be available

dtrace: description 'test*:::' matched 2 probes
CPU     ID                    FUNCTION:NAME
  2  35486 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:start_work
  2  35487 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:stop_work
  2  35486 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:start_work
  0  35487 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:stop_work
  0  35486 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:start_work
^C
  2  35487 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:stop_work
  2  35486 _ZN16probe_test_build4main17hcb8b657ee6d5a9eaE:start_work

Does that work for you?

Also as an aside, the dusty binary that comes with the crate is a quick way to see the probes an object file exports. That shows the below on that binary:
Section {
    ident: Ident {
        magic: [
            127,
            68,
            79,
            70,
        ],
        model: LP64,
        encoding: LittleEndian,
        version: 3,
        dif_vers: 2,
        dif_ireg: 8,
        dif_treg: 8,
    },
    providers: {
        "test": Provider {
            name: "test",
            probes: {
                "start_work": Probe {
                    name: "start_work",
                    function: "_ZN16probe_test_build4main17hcb8b657ee6d5a9eaE",
                    address: 0,
                    offsets: [
                        4294664454,
                    ],
                    enabled_offsets: [
                        4294664347,
                    ],
                    arguments: [
                        "uint8_t",
                    ],
                },
                "stop_work": Probe {
                    name: "stop_work",
                    function: "_ZN16probe_test_build4main17hcb8b657ee6d5a9eaE",
                    address: 0,
                    offsets: [
                        4294665069,
                    ],
                    enabled_offsets: [
                        4294664475,
                    ],
                    arguments: [
                        "char *",
                        "uint8_t",
                        "char *",
                    ],
                },
            },
        },
    },
}

In the interim, I noticed I was still on a rather old version of nightly.  I've since upgraded, and now (using the correct provider name!) it is indeed working.  That said, I'm still having problems with my own crate, but dusty (thanks for that pointer!) shows that my binary doesn't contain any probe information so I'll dig deeper into that.
Thank you for all the time and input—apologies that it was such a minor oversight one war or the other!  Closing.

Regarding my crate, the binary wasn't invoking any probes in the library so they weren't getting linked.  All sorted now.  Thanks again!

authors: bnaecker eggyal rzezeski

repo: oxidecomputer/usdt


text:
Add GH Action to test cross-compilation

Strictly speaking, cross-compiling with rb-sys isn't foolproof; no software is. In Commonmarker, I poached a lot of ideas from Nokogiri on how cross-platform gems should be tested. I created three main tests:

The compilation output is tested; that is, the gem configured rb-sys correctly to generate a valid {so, bundle} file
The gem can be installed on another platform; this tests that the cross compilation itself works by downloading a previously compiled artifact, unpacking it, and attempting to execute the tests
A generic version of the gem can be installed on a platform with sufficient Ruby/Rust tooling; this tests that, for a platform where a gem version was not uploaded to RubyGems, the gem can still be built and installed (think, Compiling native extensions... on like solaris or something)

Of these, only the first is the most relevant to every gem. 2 suggests an error in the build-pipeline (ie., rb-sys), because if a gem can't install on a target system it might mean it was not compiled correctly. (Here's what that test looks like.)
3 opens the door to supporting platforms that are uncommon, or at the very least, untested on GitHub Action runners, and so it too can go.
In that light, I've decided to port over 1 into this project and you can see it working here. This should help downstream users also validate that they've configured their project to use rb-sys correctly.

Oh this is an incredible idea. Will dive into this PR this week ❤

Friendly bump! 👋

authors: gjtorikian ianks

repo: oxidize-rb/actions


text:
⚠ Ox Street has degraded performance

In 9cd72ad, Ox Street (https://oxstreet.com) experienced degraded performance:

HTTP code: 504
Response time: 10458 ms

Resolved: Ox Street performance has improved in 1db15a0.

repo: oxstreet/oxstreet-status-page


text:
NPE when user clicks on date outside current month

http://imgur.com/a/d6uKs
When clicking on the bottom "5" before clicking on a date within the current month, the following NPE occurs.
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.p_v.flexiblecalendar.entity.SelectedDateItem.equals(java.lang.Object)' on a null object reference                                                                                at com.p_v.flexiblecalendar.MonthViewPagerAdapter.refreshUserSelectedItem(MonthViewPagerAdapter.java:210)                                                                                at com.p_v.flexiblecalendar.FlexibleCalendarView$MonthChangeListener.onPageSelected(FlexibleCalendarView.java:326)                                                                                at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1939)                                                                                at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:687)                                                                                at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:671)                                                                                at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:632)                                                                                at android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:624)                                                                                at com.antonyt.infiniteviewpager.InfiniteViewPager.setCurrentItem(InfiniteViewPager.java:48)

Try to select some date after you initialized calendar view. Something like this:
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(new Date().getTime());

flexibleCalendarView.selectDate(calendar.get(Calendar.YEAR),
    calendar.get(Calendar.MONTH),
    calendar.get(Calendar.DAY_OF_MONTH));

Feel free to reopen if there is any confusion.

authors: badadin ebabel p-v

repo: p-v/FlexibleCalendar