text:
License issue

While the license.txt file states that the code is released under the MIT license, the Help Content tab that opens up when JDev restarts after installing the accelerator states that it's released under the GPL.
To add more to the confusion, there's a readme.txt file in Runtime/Application Sources which states that the accelerator is provided as-is, but does not state the users' rights and obligations.
It would be nice to dismiss the confusion and use the same license text in all places, and the use of a permissive license like MIT is crucial for its use by companies since the GPL scares most of them away.

UPDATE: This project is no longer maintained. AMPA is now part of Oracle MAF 2.3.1 http://www.ateam-oracle.com/migrating-ampa-apps-to-oracle-maf-2-3-1-client-data-model/

source: gharchive/issue

authors: brunoborges leiradel

repo: oracle/mobile-persistence

license: mit

license_type: permissive

license_source: bigquery


text:
Upgrade protobuf-java version

Ask the question
I see tribuo is using 3.19.4 for protobuf-java https://github.com/oracle/tribuo/blob/main/pom.xml#LL61, which has CVE https://nvd.nist.gov/vuln/detail/CVE-2022-3171
Will you upgrade protobuf-java version ?
Is your question about a specific ML algorithm or approach?
No
Is your question about a specific Tribuo class?
NO
System details

Tribuo version: 4.2.1
Java version (if appropriate)
OS/Architecture (if appropriate)

Additional context
Add any other context or screenshots about the question

Tribuo 4.2.2 is tagged which bumps the protobuf version to 3.19.6 which I believe has the fix in. However I think that version hasn't been pushed to Maven Central yet, which I'll start the process for tomorrow.

Tribuo 4.3.0 is already available on Maven Central which has the updated version.

We are suggested to use 3.21.9, I published a PR to force protobuf-java version https://github.com/opensearch-project/ml-commons/pull/585, testing result looks good,  any suggestion?

I've been avoiding 3.21+ because on the Python side v21 completely broke compatibility with earlier versions and was a whole mess in the Python ecosystem (it broke tensorflow, onnx and multiple other projects for a few weeks). I've not been able to test if using 3.21 causes problems writing ONNX models when reading them back in Python (or in the native code ONNX Runtime uses to parse the protobufs). If you don't care about emitting ONNX models from the stored Tribuo models then I don't think it matters too much.

Thanks for the detailed explanation. We are not emitting ONNX models from tribuo models now. I think we should be good to use 3.21

authors: Craigacp ylwu-amzn

repo: oracle/tribuo

license_source: github-api


text:
Scaling/Rescaling needed for regression outputs

Is your feature request related to a problem? Please describe.
Currently scaling of training data (via transformations such as MeanStdDevTransformation) only applies to the features but not to the outputs; however regression outputs need to be scaled as well for some models to train properly. Specifically, this causes the RBF SVM to perform much more poorly comparing to scikit-learn, where it's easy to scale the entire dataset.
Describe the solution you'd like
Adding the option to scale the output of a training dataset in addition to the features when training a regressor. This also means that the output of the regressor will be inverse-scaled when performing predictions.
Describe alternatives you've considered
'Manually' scaling and inverse-scaling outside Tribuo's training/prediction flow. This is cumbersome, and in addition will not be included in the provenance.
Additional context

Thanks for the report, there are a few ways we could integrate this support. Wrapping it via a StandardisingTrainer similar to the TransformTrainer would induce another dataset copy, whereas integrating it directly into the affected regression trainers would be a bunch more code. We'll have a look at figure out which way seems most efficient.

There's a prototype for LibSVM models here - https://github.com/oracle/tribuo/tree/regression-rescaling. We're currently trying to figure out if there is a way to build that into all regression models without too much repeated code (and even if it's necessary for things like XGBoost).

After some checking it didn't seem necessary in models other than LibSVM regressors, so we just added an option to that trainer.

authors: Craigacp EyalWirsansky


text:
[Solution] Your ~/.rainbow_config.json is messed up

If you see this error when you execute rainbowstream:
Your ~/.rainbow_config.json is messed up:
>>> [Errno 2] No such file or directory: '/Users/YOUR_NAME/.rainbow_config.json'

execute this:
echo '{}' >> '/Users/YOUR_NAME/.rainbow_config.json'

Thank you! You are right!

authors: hehellooedas roeniss

repo: orakaro/rainbowstream

license: MIT


text:
Acquire IPv4 features that align with the Ubuntu desktop distribution in the Orbstack Ubuntu distro.

Is your feature request related to a problem? Please describe.
Ubuntu22.04 the application provied is build with CONFIG_IP_ROUTE_MULTIPATH disabled, this can be demonstrated by the absence of the flag  fib_multipath_use_neigh in /proc/sys/net/ipv4/. However, in Ubuntu22.04 desktop distribution, multipath ip route is enabled.
Describe the solution you'd like
Can I obtain a kernel network feature configuration consistent with the Ubuntu desktop distribution?

https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
fib_multipath_use_neigh - BOOLEAN 	Use status of existing neighbor entry when determining nexthop for 	multipath routes. If disabled, neighbor information is not used and 	packets could be directed to a failed nexthop. Only valid for kernels 	built with CONFIG_IP_ROUTE_MULTIPATH enabled. 	Default: 0 (disabled) 	Possible values: 	0 - disabled 	1 - enabled

Added for the next version.

Released in v0.17.0.

repo: orbstack/orbstack


text:
Add pipeline setting to enable eviction for the memory-server

After opening a pipeline you can go to its settings, here you will see things like "Pipeline name" and a section called "Memory server". We want to add an additional option to this setting that enables eviction.
This is done by adding the auto-eviction option to the top-level settings section in the pipeline.json file of that specific pipeline.
{
  "name": "pipeline-name",
  ...
  "settings": {
      "auto-eviction": true
  }
  ...
}

In https://github.com/orchest/orchest/commit/96a6da58ed20c4611f7ceaf0b00fe5daa4a57652 I actually changed the "Memory server" section to be named "Data passing". Nevertheless, the eviction option should still be added here.

Added in https://github.com/orchest/orchest/commit/95bc2aad4ff0ec21c3bb3ca20fc6d851fe7a43b3

repo: orchest/orchest


text:
[Bug]: modal is not displayed when translation for default language is not present

Expected Behavior
I would expect some kind of error message in console when translation cannot be found.
Current Behavior
Currently there is no message in console and modal is not displayed. I spent a lot of time debugging until I realized that I did not changed identifier of translation to match default language setting.
Steps to reproduce

Use config downloaded from playground.
Change language default to something else:

  language: {
    default: "de",
    autoDetect: "browser",
    translations: {
      en: { ... }
    }
  },

Visit page/reload.

Proposed fix or additional info.
What was confusing for me was the fact that on my personal computer it did worked correctly (MacOs Sonoma 14.2.1; Firefox 128.0.3 (64-bit) ) and I was seeing changes which I introduced. But when someone else tried opening this page, browser would not show modal. Other people tried it from many different locations on Windows with different browsers (Chrome, Firefox, Opera). I used some old laptop with Windows and was able to confirm problem reported by others. I was not able to find out why it was working on my machine (tried incognito mode, clearing cache, different browsers - still worked for me).
Finally after using old laptop as test device I pinpointed above issue to be the cause.
Version
3.0.1
On which browser do you see the issue?
Firefox, Chrome, Other

Yea, we should throw an error.

authors: orestbida veyu

repo: orestbida/cookieconsent


text:
Provide multi threaded TXs support

Current implementation provides support for serialized transactions, we should move to multithreaded TXs to support modern multicore processors.

Any updates?

This is for v3.0.

Moved to 3.1 version, in 3.0 we will implement https://github.com/orientechnologies/orientdb/issues/6013 instead.

authors: StarpTech laa lvca

repo: orientechnologies/orientdb


text:
OObjectDatabaseTx browseAll() method returns inconsistant object versions

OrientDb 2.0.10 (with community database)
Scenario :
I save a bunch of new Departments objects in database. I fetch them with browseAll() and all is fine.
But if I update an object multiple times, when I fetch all of them with browseAll(), the edited one I receive is not the last version of it.
I add these two objects successively:
{
"id": "#14:22",
"version": "1",
"name": "myName",
"description": "myDescription",
"active": true
},
{
"id": "#14:23",
"version": "1",
"name": "myOtherObjectName",
"description": "myOtherObjectDescription",
"active": true
}
I fetch them all is fine. Then I edit #14.22 three times in a row:
{
"id": "#14:22",
"version": "4",
"name": "myName4",
"description": "myDescription that I edited 3 times now",
"active": true
}
All is fine when I fetch it with
    OSQLSynchQuery<Department> query = new OSQLSynchQuery<>("select * from Department where name=myName4");
	List<Department> list = db().query(query);

But if I fetch all Departments objects with
    List<Department> allDepartments = new ArrayList<>();
    Iterator<Department> it = new  OObjectDatabaseTx("myBase").browseClass(Department.class).iterator();
    while (it.hasNext()) {
			allDepartments.add(db().detachAll(it.next(), detached));
		}
		return allDepartments;

Then the object version is all messed up : I get version 1 to 4 at random. For example I can have this:
{
"id": "#14:22",
"version": "3",
"name": "myName3",
"description": "myDescription that I edited 2 times",
"active": true
},
{
"id": "#14:23",
"version": "1",
"name": "myOtherObjectName",
"description": "myOtherObjectDescription",
"active": true
}

We just found the issue : it was because of bad handling of the connection pool threads. It seems that every connection in the connection pool handle its own cache, and this cache is not refreshed when an other connection edit the same object in database. Still investigating

If you work with multiple clients concurrently, then you could have a old object: in case of concurrent modification exception, please reload the records.

authors: lvca mael-morel


text:
Lucene Spatial Index

OrientDB Version, operating system, or hardware.

v2.0 SNAPSHOT[ ] - .18[ ] .17[ ] .16[ ] .15[ ] .14[ ] .13[ ] .12[ ] .11[ ] .10[ ] .9[ ] .8[ ] .7[ ] .6[ ] .5[ ] .4[ ] .3[ ] .2[ ] .1[ ] .0[ ]
v2.1 SNAPSHOT[ ] - .16[ ] .15[ ] .14[ ] .13[ ] .12[ ] .11[ ] .10[ ] .9[ ] .8[ ] .7[ ] .6[ ] .5[ ] .4[ ] .3[ ] .2[ ] .1[ ] .0[ ]
v2.2 SNAPSHOT[Yes ] - .rc1[ ] .beta2[ ] .beta1[ ]

Operating System

[ ] Linux
[ ] MacOSX
[ ] Windows -Yes
[ ] Other Unix
[ ] Other, name?

Expected behavior and actual behavior

Expected- Should be able to create Lucene Spatial Index. Actual- Error
Expected- In UI, Spatial Index should be an option, Actual - No Such option Avaliable
spatial_index.docx

Steps to reproduce the problem

@rishi3195
you have some problem with classpath. Please check your ODB dependencies

Can you please list the third party lib required?
I am using plug-in orientdb-spatial-2.2.0-dist.jar

Which version of ODB?

2.2.0 snapshot

Why do you use 2.2.0 snapshot?
Please try with OrientDB 2.2.13
and the 2.2.13 Spatial plugin.
https://oss.sonatype.org/content/repositories/releases/com/orientechnologies/orientdb-spatial/2.2.13

is something is missing in 2.2.0 snapshot?

@rishi3195
i cannot say since the 2.2.0 snapshot has been in develop for quite a while
could be that some api are missing and are required for the Spatial Plugin

still option in UI is missing

@maggiolo00
any updates?

@rishi3195
yes the option in the UI is missing because, the spatial index is optional and it's not released with OrientDB Distribution. I will mark this as enhancement
and add the option if the module is installed.
Thanks


text:
Deadlock at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.(OrientBaseGraph.java:143)

OrientDB Version: <2.2.13>
Java Version: <1.8>
OS:
Expected behavior
OrientGraphFactory.getTx shoud return the graph
Actual behavior
OrientGraphFactory.getTx shoud return the graph but it's BLOCKED in this function
Steps to reproduce
"http-nio-9090-exec-133" - Thread t@70898
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <42831a72> (a java.util.concurrent.Semaphore$NonfairSync)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source)
at java.util.concurrent.Semaphore.acquire(Unknown Source)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.acquire(OPartitionedDatabasePool.java:196)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.(OrientBaseGraph.java:143)
at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.(OrientTransactionalGraph.java:77)
at com.tinkerpop.blueprints.impls.orient.OrientGraph.(OrientGraph.java:135)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory$1.getGraph(OrientGraphFactory.java:84)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getTx(OrientGraphFactory.java:221)
at

yes, it may be a pool problem, but threads in my application are blocked by this thread; the symtom looks a deadlock

@hp1975 threads will be locked if connections are exhausted and not returned to the pool. Could you send a full thread dump as a gist?

I can only send the full dump into your email address, and cc my boss.

@hp1975 I understand a.lomakin@orientdb.com


text:
Changing the declaration of inject $dropdown in ODropdownItem

Tested on in oruga-next-demo (vue3) en oruga-tailwindss (vue2)
Fixes #46

Thanks

source: gharchive/pull-request

repo: oruga-ui/oruga


text:
Fix typo in fade animation

This fixes the fade animation (used by the loading component)

@Youniteus thanks!

authors: Youniteus jtommy


text:
Error extracting protoc for version 3.21.4 windows-x86_32

Getting the below error in the JMeter GRPC Request when trying to listing the protos.
Caused by: java.io.FileNotFoundException: Unsupported platform: protoc-3.21.4-windows-x86_32.exe
at com.github.os72.protocjar.Protoc.extractProtoc(Protoc.java:223) ~[jmeter-grpc-request.jar:?]
at com.github.os72.protocjar.Protoc.extractProtoc(Protoc.java:184) ~[jmeter-grpc-request.jar:?]
at com.github.os72.protocjar.Protoc.runProtoc(Protoc.java:68) ~[jmeter-grpc-request.jar:?]
at com.github.os72.protocjar.Protoc.runProtoc(Protoc.java:55) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.protobuf.ProtocInvoker.invokeBinary(ProtocInvoker.java:223) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.protobuf.ProtocInvoker.invoke(ProtocInvoker.java:117) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.ClientList.getServiceResolver(ClientList.java:47) ~[jmeter-grpc-request.jar:?]
... 38 more
Here is the full stack trace
2023-02-22 23:19:46,869 ERROR v.z.b.GRPCSamplerGui: Proto folder path is empty. Please select your proto folder
java.lang.RuntimeException: Unable to resolve service by invoking protoc
at vn.zalopay.benchmark.core.ClientList.getServiceResolver(ClientList.java:55) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.GRPCSamplerGui.getProtoMethods(GRPCSamplerGui.java:353) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.GRPCSamplerGui.reloadProtoMethods(GRPCSamplerGui.java:343) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.GRPCSamplerGui.lambda$registerListGRPCMethods$0(GRPCSamplerGui.java:498) ~[jmeter-grpc-request.jar:?]
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) ~[?:?]
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) ~[?:?]
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ~[?:?]
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) ~[?:?]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) ~[?:?]
at java.awt.Component.processMouseEvent(Component.java:6635) ~[?:?]
at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) ~[?:?]
at java.awt.Component.processEvent(Component.java:6400) ~[?:?]
at java.awt.Container.processEvent(Container.java:2263) ~[?:?]
at java.awt.Component.dispatchEventImpl(Component.java:5011) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2321) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4843) ~[?:?]
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) ~[?:?]
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) ~[?:?]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2307) ~[?:?]
at java.awt.Window.dispatchEventImpl(Window.java:2772) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4843) ~[?:?]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:721) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:715) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) ~[?:?]
at java.awt.EventQueue$5.run(EventQueue.java:745) ~[?:?]
at java.awt.EventQueue$5.run(EventQueue.java:743) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) ~[?:?]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) ~[?:?]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) ~[?:?]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) ~[?:?]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) ~[?:?]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) ~[?:?]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) ~[?:?]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) ~[?:?]
Caused by: vn.zalopay.benchmark.exception.ProtocInvocationException: Unable to execute protoc binary
at vn.zalopay.benchmark.core.protobuf.ProtocInvoker.invokeBinary(ProtocInvoker.java:227) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.protobuf.ProtocInvoker.invoke(ProtocInvoker.java:117) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.ClientList.getServiceResolver(ClientList.java:47) ~[jmeter-grpc-request.jar:?]
... 38 more
Caused by: java.io.FileNotFoundException: Unsupported platform: protoc-3.21.4-windows-x86_32.exe
at com.github.os72.protocjar.Protoc.extractProtoc(Protoc.java:223) ~[jmeter-grpc-request.jar:?]
at com.github.os72.protocjar.Protoc.extractProtoc(Protoc.java:184) ~[jmeter-grpc-request.jar:?]
at com.github.os72.protocjar.Protoc.runProtoc(Protoc.java:68) ~[jmeter-grpc-request.jar:?]
at com.github.os72.protocjar.Protoc.runProtoc(Protoc.java:55) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.protobuf.ProtocInvoker.invokeBinary(ProtocInvoker.java:223) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.protobuf.ProtocInvoker.invoke(ProtocInvoker.java:117) ~[jmeter-grpc-request.jar:?]
at vn.zalopay.benchmark.core.ClientList.getServiceResolver(ClientList.java:47) ~[jmeter-grpc-request.jar:?]
... 38 more

I had the same problem,Did you solve the problem yet

Hi Yes, I started using the openJDK 1.7 and the issue disappeared.

I solved it by dismissing the protocVersion property in the plugin and start using the protocArtifact property.
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact>
<!-- <protocVersion>${protobuf.version}</protocVersion> -->

That seems to be a common issue. See:
https://github.com/os72/protoc-jar-maven-plugin/issues/124
https://github.com/os72/protoc-jar-maven-plugin/issues/131

authors: RajaPatnala sdoeringNew wisew


text:
1주차 진행 현황 공유

이번주 멘토님과의 회의 및 보고서 작성을 위해 1주차 진행 현황을 공유해주시기 바랍니다.
양식은 따로 없고 자유롭게 리스트형식이나 글로 작성해주시면 됩니다.

해커톤 기간 주차별 개인 목표 설정

Create Board
Create Post
Board View
Post View
Manage

기획
O
O
-
-
-

기능 구현
O
-
-
-
-

스타일링
-
-
-
-
-

API
-
-
-
-
-

주차
목표

~ 9.24. (1주차)
개인 목표 설정 / Create Board, Create Post 기획 및 기능 구현

9.25 ~ 10. 1. (2주차)
Board View, Post View, Manage 기획 및 기능 구현 / redux-saga 공부

10. 2 ~ 10. 8. (3주차)
스타일링 & API 작업 (스타일링 - 평일 2일, 휴일 1일 당 1파트 / API - 평일 1파트, 휴일 2파트 예상)

10. 9 ~ 10.15. (4주차)
스타일링 & API 작업 완료 / Mock API 이용해서 통합, 1대1, 위키 게시판 중 1

10.16 ~ 10.20. (5주차)
문서화 작업, 시연 영상 제작, PPT

Create Board 기획 및 기능 구현

#43
#48

Create Post 기획

#49

웹, 앱 초기 페이지 구상 및 디자인
Figma 공부
서비스 플로우 공유를 통해 프론트 엔드와 원활한 소통

DB schema 설계 문서 작업

대략적인 기능 관련
진행 중인 기능들 중심으로 conceptual schema 작성
physical schema 작성 중
권한 기능 관련 db 설계 진행 중

React, Redux, Redux-saga 공부 및 연동
(공부를 위한) SignIn, SignUp Page 템플릿 적용
DM page 작성 시작, websocket 연동
배포 서버 세팅, domain 및 SSL 적용, DB Server 적용

Redux, Redux-saga 공부
풀 캘린더 오픈소스 공부

프로젝트에서 만족하는 기능을 사용하도록 개발
캘린더를 어느 페이지든 사용할수 있도록 캘린더 wrapper 제작
서버와 원할한 데이터 교환을 위한 데이터 타입 정리


text:
Worker status heartbeat

This pull request includes:

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

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

@croissanne Test got error Nov 15 13:06:15 runner-rhos-0x-rhel-8-9-large-7619 osbuild-worker[23989]: time="2023-11-15T13:06:15-05:00" level=error msg="Requesting job failed: error requesting job: 500 — Error is not an instance of HTTPError (IMAGE-BUILDER-WORKER-10001)" when build ostree upgrade image.

@croissanne Test got error Nov 15 13:06:15 runner-rhos-0x-rhel-8-9-large-7619 osbuild-worker[23989]: time="2023-11-15T13:06:15-05:00" level=error msg="Requesting job failed: error requesting job: 500 — Error is not an instance of HTTPError (IMAGE-BUILDER-WORKER-10001)" when build ostree upgrade image.

Hm is the full worker log in the workflow?

@croissanne All Edge tests have been moved to RHEL 9.4 and 8.10 with PR https://github.com/osbuild/osbuild-composer/pull/3808. Could you please a rebase to make test green? Thanks.

authors: croissanne henrywang

repo: osbuild/osbuild-composer


text:
Environment Variable Support for JWT Keys

Thanks for creating this library - it's pretty useful!
The support for customizing JWT key storage through storage implementations works well for cloud storage scenarios like S3. However, I'm wondering if there are any drawbacks to also supporting direct reading of JWT keys from environment variables.
This would simplify setup for:

Containerized deployments
Integration with secret management systems
Development environments

Are there specific reasons this approach wasn't included?

it's on my todo

authors: oscarychen positiveblue

repo: oscarychen/django-ninja-simple-jwt


text:
How can you make the BottomSheet the size of the content?

Hi!
I have a list as the content and I want to make the bottom sheet only as much bigger as the size of the whole list.
I'm a bit lost in how to do this. Is there a way to do this?

I've been struggling with this too. Any insight from the devs or experienced users? :)

I'ld try to get the view's size (or if you have specified heights, you can calculate it by array.length*heightOfOneItem), and refresh the bottom sheet's size using dynamic snapTo points with keys (to force refreshing the bottom sheet).
constructor(props) {
 super(props);
 this.state = {
  snapTo: [0], // default snap here
 };
}

componentDidMount() {
  this.calculateHeight();
}

calculateHeight() {
  this.setState({ snapTo: [ yourArrayofItems.length * heightOfOneItem, 0 ] });
}

render() {
 <View style={{ flex: 1 }}>
    <BottomSheet
        snapPoints={this.state.snapTo} initialSnap={0}
        renderHeader={this.renderHeader} renderContent={this.renderContent}
        key={this.state.snapTo}
      />
    <blabla />
  </View>
}

Finally!!! I am able to make it work

updateSnapPoints() {
if (computedHeaderHeight !== 0 && computedContentHeight !== 0) {
this.setState({
snapTo: [
computedHeaderHeight + computedContentHeight,
computedHeaderHeight,
],
});
}
}
getWidgetHeaderDimensions(layout) {
const {height} = layout;
if (computedHeaderHeight === 0) {
computedHeaderHeight = height;
}
this.updateSnapPoints();
}
getWidgetContentDimensions(layout) {
const {height} = layout;
if (computedContentHeight === 0) {
computedContentHeight = height;
}
this.updateSnapPoints();
}
renderHeader = () => {
return (
<View
style={styles.container}
onLayout={event => {
this.getWidgetHeaderDimensions(event.nativeEvent.layout);
}}>

);
}
renderContent = () => {
return (
<KeyboardAvoidingView
style={styles.contentContainer}
onLayout={event => {
this.getWidgetContentDimensions(event.nativeEvent.layout);
}}>

);
}

Has anyone able to find the solution ?

I managed to make it work by setting the first snap point to the height of the content retrieved with onLayout.
Every time the content changes, the snap point will be updated.
Here is what it looks like:
import React, { useCallback, useContext, useEffect, useState, createRef } from 'react';
import { View, StyleSheet } from 'react-native';
import ReanimatedBottomSheet from 'reanimated-bottom-sheet';

const styles = StyleSheet.create({
    dragBar: {
        backgroundColor: 'lightgray',
        borderRadius: 100,
        height: 4,
        marginTop: 15,
        width: '35%'
    },
    header: {
        alignItems: 'center',
        backgroundColor: 'white',
        borderTopLeftRadius: 25,
        borderTopRightRadius: 25,
        height: 35
    }
});

const bottomSheetRef = createRef();

const BottomSheet = ({ content, clearContent }: Props) => {
    const [height, setHeight] = useState(-300);

    const onLayout = useCallback(
        (event) => {
            if (content) {
                setHeight(event.nativeEvent.layout.height);
            }
        },
        [content]
    );

    const renderContent = useCallback(
        () => (
            <View onLayout={onLayout} style={{ paddingBottom: 50, backgroundColor: 'white' }}>
                {content}
            </View>
        ),
        [content, onLayout]
    );

    const renderHeader = useCallback(
        () => (
            <View style={styles.header}>
                <View style={styles.dragBar}/>
            </View>
        ),
        []
    );

    useEffect(
        function onContentChange() {
            bottomSheetRef.current.snapTo(content ? 0 : 1);
        },
        [content, height]
    );

    return (
            <ReanimatedBottomSheet
                renderContent={renderContent}
                renderHeader={renderHeader}
                onCloseEnd={clearContent}
                snapPoints={[height, 0]}
                initialSnap={1}
                ref={bottomSheetRef}
            />
    );
};

...
const [content, setContent] = useState(null);
const clearContent = useCallback(() => setContent(null), []);

return <BottomSheet content={content} clearContent={clearContent} />
...

An expo snack you can tinker with: https://snack.expo.io/@vincentquillien/bottomsheet-dynamic-size
Use your own device, it doesn't work on the embedded simulators for me.

I am facing the same issue, however onLayout re-renders the bottom sheet many times and which cause performance issues. Any other solutions?

@VincentQuillien Not working on device too

This is what I do:
interface Props {
  withDismissOverlay?: boolean
  innerRef?: RefObject<BottomSheet>
  children: ReactElement | ReactElement[]
  onClose?: () => void
  onOverlayPress?: () => void
}

export default function CustomModal(props: Props) {
  const {withDismissOverlay, innerRef, children, onClose, onOverlayPress} = props
  const [height, setHeight] = useState("100%")
  const onLayout = useCallback(e => setHeight(e.nativeEvent.layout.height), [])
  const renderContent = useCallback(
    () => <View onLayout={onLayout}>{children}</View>, //
    [children, onLayout]
  )
  const onCloseModal = useCallback(() => innerRef?.current?.snapTo(1), [innerRef])
  return (
    <>
      {!!withDismissOverlay && (
        <TouchableWithoutFeedback onPress={onOverlayPress || onCloseModal}>
          <View style={styles.overlay} />
        </TouchableWithoutFeedback>
      )}
      <BottomSheet
        ref={innerRef}
        snapPoints={[height, 0]}
        initialSnap={0}
        onCloseEnd={onClose}
        renderContent={renderContent}
      />
    </>
  )
}

Then you can use it like this:
const ref = useRef<BottomSheet>(null)
<CustomModal innerRef={ref}>
    <View style={styles.container}>
        <Text>Hello World!</Text>
    </View>
</CustomModal>

Be careful tho, this displays the bottom sheet as fully open initially because of that initialSnap={0} while the height state is 100% at first render. I use it inside a react-navigation modal screen so it slides up from the bottom of the screen like it would normally do so it doesn't matter to my case. Then for the onClose prop I pass navigation.goBack() so that when the user slides the bottom sheet downwards to dismiss it, the modal screen is also dismissed.
Works perfectly. This is based on this article I've written back in the day here. I'm planning to do another blog post about the same thing but with the way I use it now with all the new stuff (hooks, react-navigation v5+, etc).
Prompts and modals are a breeze now. Exciting times 🙂
PS: If you don't want to use it inside a react-navigation modal screen, then you can just set the initialSnap to 1 and either:

use the ref object from the parent component to snapTo(0) or snapTo(1) in order to open or close it whenever you want
use a useEffect hook inside the CustomModal that will snapTo(0) once the height has been calculated

authors: Guuz VincentQuillien jakallergis mariasyedd ragucr speter9701 tradebulls vishgoel007


text:
Needs a video or screenshot in the readme

Would probably get a lot more traction if you could get a glimpse of how it actually works without having to run it.

Thanks for letting us know! We will soon update a more detailed readme once we finish the debugging process to the Chrome Extension!

repo: oslabs-beta/Solid-Structure


text:
Map locate component

We can create a component which allows user, when clicked, to see on the Map component where he/she is. It can be based for example on https://github.com/domoritz/leaflet-locatecontrol

As I just saw in the react-leaflet repository, it's got several plugins:
https://github.com/PaulLeCam/react-leaflet/blob/master/docs/Plugins.md
But none to handle the geolocation thing... So a development is required. Though I think we'd better create a plugin on its own, rather than coding it in osm-ui-react. That way, the new plugin will be available to people already using react-leaflet.
What do you think about it?
P.S.: Sorry for the delay of my input... ;)

Well it would be the best option. But it's more work than just integrating an existing plugin (well for Leaflet and not react-leaflet).

Yes indeed... May we keep that in mind as a future improvement?
About your commit, it seems to do the job :) Thanks!

What is the actual current status of this issue ?
Is it still "Doing" ? If not, please update the project accordingly.

@PanierAvide began the work, you can see it in the storybook, but I remember some issues about the (un)mount scenario...

authors: GuillaumeAmat PanierAvide iOiurson

repo: osm-ui/react


text:
CMake error about GEOS_LIBRARY and PROJ_LIBRARY set to NOTFOUND

After installing only important dependencies listed in https://github.com/osmcode/libosmium/wiki/Libosmium-dependencies I get a fatal error from cmake:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GEOS_LIBRARY
    linked by target "geom_test_geos" in directory /home/daniele/libosmium/test
    linked by target "geom_test_geos_wkb" in directory /home/daniele/libosmium/test
PROJ_LIBRARY
    linked by target "geom_test_projection" in directory /home/daniele/libosmium/test

-- Configuring incomplete, errors occurred!

Those libraries are needed for the tests and/or examples. That's why they are required if you run cmake, because the cmake script is there to compile the tests and examples. If you only want to use libosmium, you don't have to run anything, just use the include files in your own program.

You are right that extra libraries are needed for tests and examples, but I can't even issue "make install" if cmake fails to do the configuration and make install also builds tests and examples.
With the attached patch to treat undefined variables as boolean FALSE the configuration phase succeeds, but then I see this link-time failure which seems unrelated to me:

Linking CXX executable osmium_convert
CMakeFiles/osmium_convert.dir/osmium_convert.cpp.o: In function `std::string::begin()':
/usr/include//c++/4.8/bits/stl_iterator.h:787: undefined reference to `protozero::pbf_writer::reserve_bytes'
/usr/include//c++/4.8/bits/stl_iterator.h:779: undefined reference to `protozero::pbf_writer::reserve_bytes'

Hm. Good point. I have to think about that.
Protozero isn't installed by default. Details here: https://github.com/osmcode/libosmium/wiki/Libosmium-dependencies#protozero-since-version-230

I can't install the copy of protozero provided with libosmium if I get the fatal error as in my first comment, but since I was compiling the examples, the compiler should use the internal copy anyway. However that error seems to be about the visibility of protozero::pbf_writer::reserve_bytes not about the availabilty of the includes, so it's a different issue.

@dforsi Can you verify that you can install now without all the dependencies?
Your protozero problems are unrelated, but should also be fixed now with newest protozero (not in libosmium included yet, please get it from https://github.com/mapbox/protozero). If the problem is still there, please open a new issue for that, so we don't get the two problems confused.

Yes, I verified that I can install libosmium without all the dependencies (I only installed the "important dependencies" plus libboost-dev on a clean Debian 8.5)

authors: dforsi joto

repo: osmcode/libosmium


text:
Replace "property" methods by "tag" methods.

Since property methods are deprecated.

Coverage remained the same at 67.342% when pulling 45c3dc98beeed396290830389e889a999dd10e12 on Binnette:patch-1 into d27d50b288dfa92d7719e258996fb3edeb1d5dcc on osmlab:develop.

Thanks :+1:

authors: Binnette PanierAvide coveralls

repo: osmlab/osm-request


text:
Missing U turn validator

From https://github.com/osmlab/osmlint/issues/264
Result: https://gist.github.com/anonymous/9f96466f3c79ec039f63dccc04389103
It may take 5 min processing for USA in a 8 core computer.
execute.
osmlint missinguturn  usa.mbtiles > output.json
osmlinth -t output.json --type Point > output-point.js
osmlinth -g output-point.js > output-point.geojson

cc. @karenzshea

repo: osmlab/osmlint

license: isc


text:
Problems on the "What is TaxBrain?" page

When users scroll to the bottom of the "What is TaxBrain?" page they see this:

There are two problem here:

The asterisk does not "point" anywhere.  (Should there be an * character in front of the "These members have ..." section?)

Clicking on the " T.J. Alumbaugh, Continuum Analytics" link produces this page:

Pull request #818 resolved the second problem reported in this issue, but not the first.  Are there any plans to either drop the * (which seems like the better option to me) or add a * at the start of the "These members ..." phrase?

I'm happy with dropping the *. (sorry I missed the question to me in January).

Pull request #944 resolves issue #815

authors: MattHJensen martinholmer


text:
Generating Lightmaps?

Hi
Thank you very much for the great effort.
I have a question. I request you to help. Sorry for asking my question as a "issue". I could not find any option in github to post a message to you.
I have been looking for a library which generates shadow map images (Image Based Lighting) for each mesh of my scene. (2nd UV channel). I mean, when we bake lighting of a scene in 3D editors like Blender/Maya/3ds max, it generates lightmap images which contain shadow information. I want to generate the same images programatically without using any such 3d editors. I have attached a a sample image to this post.

Is it possible to achieve the same with OSPRay or Embree? If not possible, do you know any such library which is free/opensource?
I have seen many Path-Tracing/Ray-Tracing libraries but they all are rendering the complete scene without giving a clue how to generate those images. I have been struggling for more than 2 months.
Awaiting your reply.
Thanks in advance.

Hi,
generating lightmaps is not supported yet with OSPRay, at least not out-of-the-box. It would be a new feature (we though about that before), however, not with high priority.
Maybe have a look at Unity, it is free for non-professional use, and supports the generation of lightmaps.
Cheers,
Johannes

I am actually working on a prototype lightmapper using OSPRay, but this is currently strictly exploratory and not expected to be publicly released anytime soon if at all.  Johannes suggestion is a good one, as I know with Unity you can view and should be able to export generated lightmaps in the editor, if you can import your scene data into Unity.  Unreal may have similar functionality.

Thank you for your response. I cannot use unity for my requirement. I want to develop a service which does baking. So, when a 3d model is pushed to this service, it should bake it and export it and publish it to CDN. That is why I have been searching for such a library for more than 3 months. Not getting any clue.

that sounds great and I'd love to hear how it progresses.  I'll try to remember to post to this issue if and when anything is released on our end.  It's pretty niche and generally built into game engines so I'm not too surprised you're not seeing many hits for a third party middleware.  you might try enlighten:  https://www.siliconstudio.co.jp/middleware/enlighten/en/ .  This is actually what Unity uses in its legacy lightmapper.

Thank you. But enlighten is not a free/open source solution. 😣On 30-Apr-2019 1:38 AM, carsonbrownlee notifications@github.com wrote:that sounds great and I'd love to hear how it progresses.  I'll try to remember to post to this issue if and when anything is released on our end.  It's pretty niche and generally built into game engines so I'm not too surprised you're not seeing many hits for a third party middleware.  you might try enlighten:  https://www.siliconstudio.co.jp/middleware/enlighten/en/ .  This is actually what Unity uses in its legacy lightmapper.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
Any news on this subject? thanks

No, computing light maps is not planned anytime soon.

See idea at https://github.com/ospray/ospray/issues/553#issuecomment-1432867926: would it be ok if the app/user needs to provide the geometry image (of the mesh to compute the light map for?

authors: LumiereDeLOmbre carsonbrownlee johguenther oschakravarthi

repo: ospray/ospray


text:
After the new "component-based" Dockerfile we have python3/virtualenv/pip not found errors

After your changes from https://github.com/oss-review-toolkit/ort/commit/10b38cb65955e18bac471f06ec2c25a1d19e544a we get errors like:
Exception in thread "main" java.io.IOException: Running '/builds/foo/compliance/license-scanning/.ort/tools/ScanCode/30.1.0/scancode-toolkit-30.1.0/scancode --version' in '/builds/foo/compliance/license-scanning/.ort/tools/ScanCode/30.1.0/scancode-toolkit-30.1.0' failed with exit code 127:
/builds/foo/compliance/license-scanning/.ort/tools/ScanCode/30.1.0/scancode-toolkit-30.1.0/configure: line 157: python3: command not found

or
Exception in thread "main" java.io.IOException: Cannot run program "virtualenv": error=2, No such file or directory
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
	at org.ossreviewtoolkit.utils.common.ProcessCapture.<init>(ProcessCapture.kt:89)
	at org.ossreviewtoolkit.utils.common.ProcessCapture.<init>(ProcessCapture.kt:33)
	at org.ossreviewtoolkit.utils.common.ProcessCapture.<init>(ProcessCapture.kt:37)
	at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.run(CommandLineTool.kt:80)
	at org.ossreviewtoolkit.analyzer.managers.VirtualEnv.run(Pip.kt:74)
	at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.getVersion(CommandLineTool.kt:86)
	at org.ossreviewtoolkit.analyzer.managers.VirtualEnv.getVersion(Pip.kt:74)
	at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.checkVersion(CommandLineTool.kt:102)
	at org.ossreviewtoolkit.analyzer.managers.VirtualEnv.checkVersion(Pip.kt:74)
	at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.checkVersion$default(CommandLineTool.kt:101)
	at org.ossreviewtoolkit.analyzer.managers.Pip.beforeResolution(Pip.kt:234)
	at org.ossreviewtoolkit.analyzer.PackageManager.resolveDependencies(PackageManager.kt:255)
	at org.ossreviewtoolkit.analyzer.PackageManagerRunner$run$3.invokeSuspend(Analyzer.kt:322)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:[95](https://git.foo.de/foo/compliance/license-scanning/-/jobs/11344717#L95))
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1[107](https://git.foo.de/foo/compliance/license-scanning/-/jobs/11344717#L107))
	... 22 more

Or
#6 7.069 /bin/sh: 1: pip: not found

We have build your Dockerfile from scratch - docker inline caching or anything else is deactivated.
Thanks for your help.
Regards, Marco

Could it be that you set a custom entrypoint? ORT now needs to be executed in a login shell to find the installed tools, that's why the default entrypoint is set to: https://github.com/oss-review-toolkit/ort/blob/main/docker/ort-wrapper.sh

@mnonnenmacher: We were using /opt/ort/bin/ort, which is now /usr/bin/ort (this is where the ort-wrapper.sh gets copied to). Thank you for your fast reply. Now it works again.

authors: mawl mnonnenmacher

repo: oss-review-toolkit/ort


text:
fix(Gradle): Avoid a JVM >= 17 warning when running tests

This is a fixup for c903fbf to allow more packages to be accessible at runtime via reflection. While at it, slightly align the argument syntax to other similar code.

Merging despite the unrelated failure.


text:
What about H.265? #2155

SRS是否应该支持H.265？应该，也不应该，我说说我的看法。
应该支持H.265的理由：

264之后就是265、266等等，这个系列的编码器肯定会继续发展，现在TS和MP4系列的封装已经支持了265，比如HLS、DASH等，其实FLV和RTMP也有私有的方案搞，从编解码的发展上来看是应该要支持265的。
由于国内对于专利的特殊的情况，特别是在监控行业265的发展速度比较快，GB28181到同学反馈有些摄像头只支持265，虽然很让人费解为什么不支持264（当然可能两个都支持但是总不能同时输出两路码流的吧）。

不应该支持H.265的理由：

265的份额没有上升而且在下滑，实际上还是264为主，何况还有AV1和266，同样AV1在TS和MP4中支持也很好呀，为何一定要选择一个非主流编码方式呢。
要全链路支持265非常困难，必须协议上必须要RTMP、FLV、TS、HLS、MP4、SRT、GB28181、WebRTC全部都要支持，否则只支持了RTMP又在其他场景下支持不好，还是一顿抱怨用不起来，要做就做完善点，不然就不要做了。

相关讨论和Issue：

#465 关于HLS和HTTP-TS中支持265。
#1070 关于是否支持AV1编码格式。
Commit 81e36410f和2867affd2，RTMP、SRT、HLS中支持H.265。
Commit 5e9a827f0，GB28181支持H.265。

相关链接：
https://github.com/ossrs/srs/issues/465
https://github.com/ossrs/srs/issues/2155
https://github.com/ossrs/srs/issues/2562


text:
API: The server_id not changed even when restarted. 服务重启 server ID 标识没有改变

Note: Please read FAQ before file an issue, see #2716

Description
Please description your issue here

SRS Version: srs5.0.100

SRS Log:

Start to run service
[2023-01-11 15:51:51.448][INFO][21][1i3bs59v] XCORE-SRS/5.0.100(Bee)
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] config parse complete
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] write log to console
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] SRS/5.0.100(Bee), MIT
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] authors: Winlin<winlin@vip.126.com> ZhaoWenjie<zhaowenjie@tal.com> ShiWei<shiwei05@kuaishou.com> XiaoZhihong<hondaxiao@tencent.com> WuPengqiang<pengqiang.wpq@alibaba-inc.com> XiaLixin<xialixin@kanzhun.com> LiPeng<mozhan.lp@alibaba-inc.com> ChenGuanghua<jinxue.cgh@alibaba-inc.com> ChenHaibo<nmgchenhaibo@foxmail.com> Johzzy<hellojinqiang@gmail.com> Zhouxiaojun2008<279686030@qq.com> Pengfei.ma<pengfei.ma.chn@outlook.com> ZhangJunqin<zhangjunqin@jd.com> and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] cwd=/usr/local/srs, work_dir=./, build: 2022-12-01 15:19:56, configure: --gb28181=on --sanitizer-static=on, uname: Linux buildkitsandbox 5.15.0-1023-azure #29~20.04.1-Ubuntu SMP Wed Oct 26 19:18:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, env: 0, pkg: dcis
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] configure detail: --prefix=/usr/local/srs --config=conf/srs.conf --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-converter=on --http-api=on --utest=off --cherrypy=off --srt=on --rtc=on --gb28181=on --simulator=off --cxx11=on --cxx14=off --backtrace=on --ffmpeg-fit=on --nasm=on --srtp-nasm=on --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=off --shared-ffmpeg=off --log-verbose=off --log-info=off --log-trace=on --log-level_v2=on --gcov=off --debug=off --debug-stats=off --cross-build=off --sanitizer=on --cygwin64=off --single-thread=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2023-01-11 15:51:51.449][INFO][21][1i3bs59v] srs checking config...
[2023-01-11 15:51:51.450][INFO][21][1i3bs59v] ips, iface[0] eth0 ipv4 0x11043 172.17.0.2
[2023-01-11 15:51:51.450][INFO][21][1i3bs59v] devices, intranet eth0 172.17.0.2
[2023-01-11 15:51:51.450][WARN][21][1i3bs59v][22] stats network use index=0, ip=172.17.0.2, ifname=eth0
[2023-01-11 15:51:51.450][WARN][21][1i3bs59v][22] stats disk not configed, disk iops disabled.
[2023-01-11 15:51:51.450][INFO][21][1i3bs59v] write log to console
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] features, rch:on, dash:on, hls:on, hds:off, srt:on, hc:on, ha:on, hs:on, hp:on, dvr:on, trans:on, inge:on, stat:on, sc:on
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] SRS on amd64 x86_64, conf:conf/docker.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
[2023-01-11 15:51:51.451][WARN][21][1i3bs59v][22] SRS/5.0.100 is not stable
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] write pid=21 to ./objs/srs.pid success!
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] Thread #1(primordial): init name=srs-master-1, interval=5000ms
[2023-01-11 15:51:51.451][INFO][21][1i3bs59v] Pool: Start threads primordial=1, hybrids=1 ok
[2023-01-11 15:51:51.452][INFO][21][g862ifw7] Thread #2: run with tid=22, entry=0x60c000000400, label=hybrid, name=srs-hybrid-2
[2023-01-11 15:51:51.467][INFO][21][g862ifw7] TencentCloud CLS is disabled
[2023-01-11 15:51:51.467][INFO][21][g862ifw7] TencentCloud APM is disabled
[2023-01-11 15:51:51.473][INFO][21][g862ifw7] fingerprint=D0:63:46:D7:58:01:CE:ED:7D:04:7F:F3:BF:68:EA:2B:68:39:29:3A:7F:64:18:BC:19:29:C8:CF:92:13:06:62
[2023-01-11 15:51:51.473][INFO][21][g862ifw7] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99
[2023-01-11 15:51:51.474][INFO][21][g862ifw7] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv
[2023-01-11 15:51:51.474][INFO][21][g862ifw7] http: root mount to ./objs/nginx/html
[2023-01-11 15:51:51.474][INFO][21][g862ifw7] server main cid=g862ifw7, pid=21, ppid=1, asprocess=0
[2023-01-11 15:51:51.475][INFO][21][g862ifw7] RTMP listen at tcp://0.0.0.0:1935, fd=9
[2023-01-11 15:51:51.475][INFO][21][g862ifw7] HTTP-API listen at tcp://0.0.0.0:1985, fd=10
[2023-01-11 15:51:51.475][INFO][21][g862ifw7] HTTP-Server listen at tcp://0.0.0.0:8080, fd=11
[2023-01-11 15:51:51.475][INFO][21][g862ifw7] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3
[2023-01-11 15:51:51.476][INFO][21][g862ifw7] http: api mount /console to ./objs/nginx/html/console
[2023-01-11 15:51:51.477][INFO][21][g862ifw7] rtc listen at udp://0.0.0.0:8000, fd=12
[2023-01-11 15:51:51.477][INFO][21][599u6508] Hybrid cpu=0.00%,38MB
[2023-01-11 15:51:51.477][WARN][21][29404uj8][22] use private address as ip: 172.17.0.2, ifname=eth0
[2023-01-11 15:51:51.477][INFO][21][29404uj8] Startup query id=vid-gv865k1, session=vid-200j0qy, eip=172.17.0.2, wait=300s
[2023-01-11 15:51:51.477][INFO][21][o9ox3e2w] TCP: connection manager run, conns=0
[2023-01-11 15:51:51.478][WARN][21][g862ifw7][11] enable auto reload for docker
[2023-01-11 15:51:51.478][INFO][21][g862ifw7] auto reload watching fd=13, watch=1, file=conf
[2023-01-11 15:51:51.478][INFO][21][6u0408e3] GB: connection manager run, conns=0
[2023-01-11 15:51:51.478][INFO][21][o45my81t] SRT: connection manager run, conns=0
[2023-01-11 15:51:51.478][INFO][21][kc4j60h1] UDP #12 LISTEN at 0.0.0.0:8000, SO_SNDBUF(default=212992, expect=10485760, actual=425984, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=425984, r0=0)
[2023-01-11 15:51:51.478][INFO][21][gl439156] RTC: connection manager run, conns=0
[2023-01-11 15:51:51.488][INFO][21][hx039xv0] HTTP #0 10.67.4.32:59777 GET http://10.67.65.17:1985/api/v1/vhosts/?callback=angular.callbacks._2c, content-length=-1
[2023-01-11 15:51:51.545][INFO][21][hx039xv0] TCP: before dispose resource(HttpConn)(0x607000004f50), conns=1, zombies=0, ign=0, inz=0, ind=0
[2023-01-11 15:51:51.545][WARN][21][hx039xv0][104] client disconnect peer. ret=1007
[2023-01-11 15:51:51.545][INFO][21][o9ox3e2w] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2023-01-11 15:51:51.545][INFO][21][hx039xv0] TCP: disposing #0 resource(HttpConn)(0x607000004f50), conns=1, disposing=1, zombies=0
[2023-01-11 15:51:51.690][INFO][21][49w770rp] HTTP #0 10.67.4.32:59778 GET http://10.67.65.17:1985/api/v1/summaries, content-length=-1
[2023-01-11 15:51:51.734][INFO][21][49w770rp] TCP: before dispose resource(HttpConn)(0x6070000067d0), conns=1, zombies=0, ign=0, inz=0, ind=0
[2023-01-11 15:51:51.734][WARN][21][49w770rp][104] client disconnect peer. ret=1007
[2023-01-11 15:51:51.734][INFO][21][o9ox3e2w] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2023-01-11 15:51:51.734][INFO][21][49w770rp] TCP: disposing #0 resource(HttpConn)(0x6070000067d0), conns=1, disposing=1, zombies=0
[2023-01-11 15:51:52.518][INFO][21][1k7q1en9] HTTP #0 10.67.4.32:59780 GET http://10.67.65.17:1985/api/v1/summaries, content-length=-1
[2023-01-11 15:51:52.562][INFO][21][1k7q1en9] TCP: before dispose resource(HttpConn)(0x607000006d10), conns=2, zombies=0, ign=0, inz=0, ind=0

SRS Config:

# docker config for srs.
# @see full.conf for detail config.

listen              1935;
max_connections     1000;
# For docker, please use docker logs to manage the logs of SRS.
# See https://docs.docker.com/config/containers/logging/
srs_log_tank        console;
daemon              off;
http_api {
    enabled         on;
    listen          1985;
    raw_api {
        enabled             on;
        allow_reload        on;
    }
}
http_server {
    enabled         on;
    listen          8080;
    dir             ./objs/nginx/html;
}
rtc_server {
    enabled on;
    listen 8000;
    # @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
    candidate 10.67.65.17;
}
vhost __defaultVhost__ {
    http_hooks {
        enabled         on;
        on_close        http://xxxxx:3001/api/v1/clients;
        on_play         http://xxxxxx:3001/api/v1/sessions;
        on_stop         http://xxxxxx:3001/api/v1/sessions;
    }
    http_remux {
        enabled     on;
        mount       [vhost]/[app]/[stream].flv;
    }
    rtc {
        enabled     on;
        # @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
        rtmp_to_rtc on;
        # @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
        rtc_to_rtmp off;
        stun_timeout 5;
        stun_strict_check on;
    }
}

Replay
Please describe how to replay the bug?
Step 1: 启动srs服务
调用接口：http://10.67.65.17:1985/api/v1/server
返回：{
    "code": 0,
    "server": "vid-gv865k1",
    "urls": {
        "versions": "the version of SRS",
        "summaries": "the summary(pid, argv, pwd, cpu, mem) of SRS",
        "rusages": "the rusage of SRS",
        "self_proc_stats": "the self process stats",
        "system_proc_stats": "the system process stats",
        "meminfos": "the meminfo of system",
        "authors": "the license, copyright, authors and contributors",
        "features": "the supported features of SRS",
        "requests": "the request itself, for http debug",
        "vhosts": "manage all vhosts or specified vhost",
        "streams": "manage all streams or specified stream",
        "clients": "manage all clients or specified client, default query top 10 clients",
        "raw": "raw api for srs, support CUID srs for instance the config",
        "clusters": "origin cluster server API",
        "perf": "System performance stat",
        "tcmalloc": "tcmalloc api with params ?page=summary|api"
    },
    "tests": {
        "requests": "show the request info",
        "errors": "always return an error 100",
        "redirects": "always redirect to /api/v1/test/errors",
        "[vhost]": "http vhost for http://error.srs.com:1985/api/v1/tests/errors"
    }
}

Step 2: 重启srs服务
srs 容器重启

Step 3: 再次调用查询server接口
调用接口：http://10.67.65.17:1985/api/v1/server
返回：{
    "code": 0,
    "server": "vid-gv865k1",
    "urls": {
        "versions": "the version of SRS",
        "summaries": "the summary(pid, argv, pwd, cpu, mem) of SRS",
        "rusages": "the rusage of SRS",
        "self_proc_stats": "the self process stats",
        "system_proc_stats": "the system process stats",
        "meminfos": "the meminfo of system",
        "authors": "the license, copyright, authors and contributors",
        "features": "the supported features of SRS",
        "requests": "the request itself, for http debug",
        "vhosts": "manage all vhosts or specified vhost",
        "streams": "manage all streams or specified stream",
        "clients": "manage all clients or specified client, default query top 10 clients",
        "raw": "raw api for srs, support CUID srs for instance the config",
        "clusters": "origin cluster server API",
        "perf": "System performance stat",
        "tcmalloc": "tcmalloc api with params ?page=summary|api"
    },
    "tests": {
        "requests": "show the request info",
        "errors": "always return an error 100",
        "redirects": "always redirect to /api/v1/test/errors",
        "[vhost]": "http vhost for http://error.srs.com:1985/api/v1/tests/errors"
    }
}

Expect
服务重启后，服务serverID改变
Please describe your expectation.

试了一下最新的srs容器服务，重启之后srs serverID 依旧没有变化，启动docker容器命令：docker run --restart=always  -itd -p 1935:1935 -p 1985:1985 -p 8081:8080  --name srs5.128  srs:v5.0.128

The server_id is used to identify the machine, so it should not change when restart.
To identify the restart of service, we need another one named service_id:

Use Prometheus Exporter, a pid and service_id label will be added to srs_build_info, for example:

# HELP srs_build_info A metric with a constant '1' value labeled by build_date, version from which SRS was built.
# TYPE srs_build_info gauge
srs_build_info{build_date="2023-01-14 12:16:43",major="6",version="6.0.14",code="Bee",pid="2846",service_id="ud72id23d"} 1

Each API response, should return pid and service_id, for example, http://localhost:1985/api/v1/versions:

{
  "code": 0,
  "server": "vid-2566t9t",
  "pid": 2846,
  "service_id": "ud72id23d",
  "data": {
    "major": 6,
    "minor": 0,
    "revision": 14,
    "version": "6.0.14"
  }
}

repo: ossrs/srs


text:
SRS控制台最多只返回显示10个视频流，超过10个视频流不会显示在视频流列表

Note: Please read FAQ before file an issue, see #2716

Description
SRS6.0.26控制台最多只返回显示10个视频流，超过10个视频流不会显示在视频流列表，在控制台虚拟主机(Vhosts)菜单可以看到在线流13个，但是在控制台视频流菜单，只能看到10个视频流列表，其他三个视频流没显示在视频流列表中，但是其他三个视频流也确实是正常能收看到视频的。

SRS Version: 6.0.26

SRS 控制台截图:

虚拟主机菜单显示在线流13个，截图（复制下边链接在新窗口打开查看）：
https://mclz.fjxf-119.cn:7443/uploads/20221113/13.png
控制台视频流菜单只列出10个视频流，超过10个部分没显示（复制下边链接在新窗口打开查看）：
https://mclz.fjxf-119.cn:7443/uploads/20221113/10.png
在源码 srs_app_http_api.cpp中第796行左右，是不是在线流的数量统计错误而造成最大为10？

     int count = srs_max(10, atoi(rcount.c_str()));

       std::string rstart = r->query_get("start");
        std::string rcount = r->query_get("count");
        int start = srs_max(0, atoi(rstart.c_str()));
        int count = srs_max(10, atoi(rcount.c_str()));
        if ((err = stat->dumps_streams(data, start, count)) != srs_success) {
            int code = srs_error_code(err);
            srs_error_reset(err);
            return srs_api_response_code(w, r, code);
        }

Expect
希望能显示所有在线的视频流

修改objs/nginx/html/console/js/srs.console.js如下：
streams_get: function(success) {
// var url = $sc_server.jsonp("/api/v1/streams/");
var url = $sc_server.jsonp_query("/api/v1/streams", "count=100");
$http.jsonp(url).success(success);
},

See https://ossrs.net/lts/zh-cn/docs/v5/doc/http-api#streams

authors: saturndeng winlinvip yangaphero


text:
Don't override the default port if a value of 0 is sent explicitly

Some encoders like the Cerevo LiveShell 2 will send explicitly port 0 if you don't set any port. While it should default to not send any actual port or default the protocol's default (1935 for RTMP etc), it doesn't do that unfortunately.
[2020-05-11 13:28:40.286][Error][1][5645][11] serve error code=2006 : service cycle : rtmp: stream service : discovery tcUrl failed, tcUrl=rtmp://localhost:0/live, schema=rtmp, vhost=__defaultVhost__, port=0, app=live
thread [1][5645]: do_cycle() [src/app/srs_app_rtmp_conn.cpp:210][errno=11]
thread [1][5645]: service_cycle() [src/app/srs_app_rtmp_conn.cpp:399][errno=11]
thread [1][5645]: stream_service_cycle() [src/app/srs_app_rtmp_conn.cpp:457][errno=11](Resource temporarily unavailable)

This small patch makes it so that if a port 0 is sent, the default value of port will not be overridden.

Codecov Report

Merging #1754 into develop will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1754      +/-   ##
===========================================
+ Coverage    58.13%   58.16%   +0.03%
===========================================
  Files          116      116
  Lines        48306    48286      -20
===========================================
+ Hits         28082    28086       +4
+ Misses       20224    20200      -24

Impacted Files
Coverage Δ

trunk/src/kernel/srs_kernel_utility.cpp
93.38% <100.00%> (ø)

trunk/src/utest/srs_utest_kernel.cpp
98.43% <100.00%> (+<0.01%)
:arrow_up:

trunk/src/core/srs_core_autofree.hpp
88.88% <0.00%> (-11.12%)
:arrow_down:

trunk/src/app/srs_app_gb28181.hpp
0.00% <0.00%> (ø)

trunk/src/app/srs_app_rtc_sdp.hpp
0.00% <0.00%> (ø)

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 0b9887b...5633af0. Read the comment docs.

authors: codecov-commenter macabu


text:
always return 404 error

A little about connection:
Host -> SSH tunnel -> VPS -> Domain.
In general, I always get 404 when accessing bancho.py. In osu! the server is displayed as unavailable.

iirc, this is ucased by the domain in .env not matching the domain in nginx
it should be DOMAIN=sho20.ru by the looks of it

forgot to replace


text:
Refactoring defineRegexpVisitor(context,{createVisitor})

Change the argument of createVisitor to context only.
See https://github.com/ota-meshi/eslint-plugin-regexp/pull/148#issuecomment-821915380
We also need to consider whether we can add other helper functions. e.g. getRegexpLocation()

We also need to consider whether we can add other helper functions. e.g. getRegexpLocation()

I like that. We could also supply functions to create fixes. This will make them more convenient to use.

authors: RunDevelopment ota-meshi

repo: ota-meshi/eslint-plugin-regexp


text:
Rename rule order-in-character-class -> sort-character-class-elements ?

I was wondering whether we should rename the rule to be consistent with sort-flags and sort-alternatives. What do you think @ota-meshi?

I think it's good to change the name as you say :+1:

Thank you @ota-meshi!


text:
Is property_path sound?

property_path, indexed_property_path, (and extended_property_path) are participants in a hierarchy. Why?
Also, we pass property_path by value (as a copy) in a lot of different places in the API, coercing indexed_property_path eventually.
Finally, property_path::field_uri is used in different places, with <FieldURI="" /> hand-coded. Other types in the API provide a to_xml member-function. Consider adding to_xml to property_path. You could circumvent the type coercion problem by using a closure (std::function) internally.

This is addressed in PR #38

repo: otris/ews-cpp


text:
Implement manual triggers for production deployment

Description: Set up manual triggers for deploying changes to the production environment after thorough testing and approval in the test environment.
Tasks:
Create a separate workflow for production deployment.
Implement manual approval steps.
Ensure rollback capabilities in case of deployment failures.

Great issue! Also needs a "definition of done".

authors: TorrentialFire UdayBhumireddy


text:
feature: allow exporting vault token from auth methods

Feature
Add a configuration option to auth {} blocks like JWT or AppRole which enables exporting the fetched token as a VAULT_TOKEN environment variable.
Add a documentation call out that CI should mask VAULT_TOKEN as a protected variable and NOT display it in CI/CD jobs or other logs.
Example
auth "gitlab" {
    method = "jwt"
    path = "gitlab"
    priority = 100

+  export_vault_token = true

<snip>
}

added in v0.5.0

repo: oulman/tfvaultenv


text:
Add debug logs from LL boards

Add the possibility for LL boards to send log strings to HL master through CAN (isotp+pb)
Log those to files on the HL board (separate files for each board? same file for all boards, but separated from other kinds of logs? Merge with other logs? idk)

Closed with 579b09f

repo: outech-robotic/code


text:
[FEATURE] Now you can add dependOn property on field

Hello,
I add new interested feature in your module. Property "dependOn",

@mlopezsti Hey 👋🏻
Thanks for the pull request.
Added some of my own commits as well, of things that I noticed weren't working with dependsOn.
Will be available in release 2.1.0 🚀

authors: KasparRosin mlopezsti


text:
Cannot Seed Database correctly: This package overrides the "sort order" database field when seeding the database

Thanks for this package, because I really need a way to sort resource rows in Nova using drag-and-drop. However, here is an issue that I can't seem to fix.
Problem
This package overrides the "sort order" database field (specified by order_column_name) when seeding the database. As a result, I cannot seed the database table correctly.
My goal is simple:
To allow CourseSections to be sortable using drag-and-drop on the Course Detail page in Nova.
My Model relationships:

CourseSection BelongsTo Course
Course HasMany CourseSection

Here is my code for the models and Nova resources:
+++ b/app/Models/CourseContent/CourseSection.php
@@ -8,10 +8,19 @@
 use Illuminate\Database\Eloquent\Model;
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
 use Illuminate\Database\Eloquent\Relations\HasMany;
+use Spatie\EloquentSortable\Sortable;
+use Spatie\EloquentSortable\SortableTrait;

-class CourseSection extends Model
+class CourseSection extends Model implements Sortable
 {
-    use HasFactory;
+    use HasFactory, SortableTrait;
+
+    public array $sortable = [
+        'order_column_name' => 'section_order',
+        'sort_when_creating' => true,
+        'sort_on_has_many' => true,
+        'nova_order_by' => 'ASC',
+    ];

     public function course(): BelongsTo
     {

diff --git a/app/Nova/CourseSection.php b/app/Nova/CourseSection.php
index cc2c8fa..c5cace3 100644
--- a/app/Nova/CourseSection.php
+++ b/app/Nova/CourseSection.php
@@ -11,9 +11,21 @@
 use Laravel\Nova\Fields\Slug;
 use Laravel\Nova\Fields\Text;
 use Laravel\Nova\Http\Requests\NovaRequest;
+use Outl1ne\NovaSortable\Traits\HasSortableRows;

 class CourseSection extends Resource
 {
+    use HasSortableRows;
+
+    // You can disable sorting on a per-request or per-resource basis by overriding the canSort() on the Resource method
+    public static function canSort(NovaRequest $request, $resource)
+    {
+        return true;
+    }
+
     /**
      * The model the resource corresponds to.
      *
@@ -66,10 +78,11 @@ public function fields(NovaRequest $request)
                 ->hideFromIndex()
             ,

-            Number::make('Order')
+            Number::make('Order', 'section_order')
                 ->min(1)
                 ->max(20)
                 ->step(1)
+                ->sortable()
                 ->showWhenPeeking()
                 ->rules('required')

diff --git a/composer.json b/composer.json
index e49599e..0345389 100644
--- a/composer.json
+++ b/composer.json
@@ -18,6 +18,7 @@
         "laravel/tinker": "^2.8",
         "manogi/nova-tiptap": "^3.2",
         "meilisearch/meilisearch-php": "^1.1",
+        "outl1ne/nova-sortable": "^3.4",
         "spatie/laravel-markdown": "^2.3",
         "spatie/shiki-php": "^1.3",
         "stripe/stripe-php": "^10.16",

Database Table, Factory, Seeder etc:
diff --git a/database/factories/CourseContent/CourseSectionFactory.php b/database/factories/CourseContent/CourseSectionFactory.php
index d358f7d..fee1af4 100644
--- a/database/factories/CourseContent/CourseSectionFactory.php
+++ b/database/factories/CourseContent/CourseSectionFactory.php
@@ -22,6 +22,7 @@ public function definition(): array
         return [
             'course_id' => Course::factory(),
+            'section_order' => $faker->numberBetween(1,20),
             'title' => Str::title(fake()->words(4, true)),
             'is_visible' => true,
         ];
diff --git a/database/migrations/13_content_topics_articles_courses_tags/0013_01_01_000003_create_course_sections_table.php b/database/migrations/13_content_topics_articles_courses_tags/0013_01_01_000003_create_course_sections_table.php
index 91d1190..3e12f68 100644
--- a/database/migrations/13_content_topics_articles_courses_tags/0013_01_01_000003_create_course_sections_table.php
+++ b/database/migrations/13_content_topics_articles_courses_tags/0013_01_01_000003_create_course_sections_table.php
@@ -16,6 +16,7 @@ public function up(): void
             $table->id();
             $table->foreignIdFor(Course::class)->constrained()->cascadeOnDelete();
+            $table->unsignedInteger('section_order');
             $table->string('title');
             $table->string('slug')->unique();
             $table->boolean('is_visible');

diff --git a/database/seeders/CourseContentSeeder.php b/database/seeders/CourseContentSeeder.php
index 4bef395..fbd85ae 100644
--- a/database/seeders/CourseContentSeeder.php
+++ b/database/seeders/CourseContentSeeder.php
@@ -18,25 +18,31 @@ class CourseContentSeeder extends Seeder
     public function run(): void
     {
         $courses = Course::factory()
             ->count(2)
             ->create();

         // Create CourseSections
         $courses->each(function ($course) {
             for ($sectionNum=1; $sectionNum <= 4; $sectionNum++) {
+                $section_title = "course_" . $course->id . "_section_" . $sectionNum;
+                echo "creating section for course ID: $course->id with section number: $sectionNum , section name: $section_title\n";
                 CourseSection::factory()
                     ->withSlug()
                     ->create([
+                        'title' => $section_title,
                         'course_id' => $course->id,
+                        'section_order' => $sectionNum,
                     ]);
             }
         });

Output when I run CourseContentSeeder:
  Database\Seeders\CourseContentSeeder ..................................................................................................... RUNNING
creating section for course ID: 1 with section number: 1 , section name: course_1_section_1
creating section for course ID: 1 with section number: 2 , section name: course_1_section_2
creating section for course ID: 1 with section number: 3 , section name: course_1_section_3
creating section for course ID: 1 with section number: 4 , section name: course_1_section_4
creating section for course ID: 2 with section number: 1 , section name: course_2_section_1
creating section for course ID: 2 with section number: 2 , section name: course_2_section_2
creating section for course ID: 2 with section number: 3 , section name: course_2_section_3
creating section for course ID: 2 with section number: 4 , section name: course_2_section_4
  Database\Seeders\CourseContentSeeder ............................................................................................... 10.83 ms DONE

As you can see, the seeder tries to create the section with the correct section_order (in the $sectionNum variable), and what I want is for the section_order database field to be 1, 2, 3, 4 for course 1, and then 1, 2, 3 4 again for course 2, and so on.
However, what I see in reality is that this package is overriding the section_order database field when the course_sections table is being seeded. The section orders do not reset from course 1 to course 2, and go from 1....8, as you can see below.

Root cause??
I was able to isolate this to the order_column_name column in the model. If I change order_column_name to any other value, say order, then the seeding works fine (section_order is 1, 2, 3, 4 for course 1; and section order is 1, 2, 3, 4 for course 2).
public array $sortable = [
        'order_column_name' => 'section_order',
        'sort_when_creating' => true,
        'sort_on_has_many' => true,
        'nova_order_by' => 'ASC',
    ];

How do I fix this? Without resolving this, I cannot seed the database correctly.

Found a temporary fix for this. sort_when_creating should be set to false. If set to true, the seeding gets affected.
In CourseSection model:
class CourseSection extends Model implements Sortable
{
    use HasFactory, SortableTrait;

    public array $sortable = [
        'order_column_name' => 'section_order',

        // sort_when_creating should be false (at least during seeding), otherwise the order_column_name field gets messed up in the database during seeding
        'sort_when_creating' => false,

        'sort_on_has_many' => true,
        'nova_order_by' => 'ASC',
    ];

However, if we need sort_when_creating to be set to true, then the following approach could work during seeding. We have to reset the section_order for each section within a course:
In CourseContentSeeder:
        // Create CourseSections with default sorting
        $courses->each(function ($course) {
            CourseSection::factory()
                ->count(4)
                ->withSlug()
                ->create([
                    'course_id' => $course->id,
                ]);

            // If sort_when_creating (under the model's sortable property) is not false during seeding, the order_column_name field (mapped to section_order) gets messed up in the database during seeding
            // We have to reset the section_order for each section within a course
            $course->courseSections->each(function ($section, $index) {
                $section->update([
                    'section_order' => $index + 1,
                ]);
            });
        });


text:
Rework Logs content and Format

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Rework logs and improve logs format
Close #207
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #207
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squashed commits
[ ] includes documentation
[ ] adds unit tests

https://github.com/outscale/cluster-api-provider-outscale/pull/221 will be merge first to handle cve.
and change on trivyignore will be removed for this PR.

@outscale-mdr Are you ok with this PR ?

repo: outscale/cluster-api-provider-outscale


text:
安装好报错

安装时使用淘宝镜像，在Windows 10 上安装。
安装命令：
C:\Users\jyeri>npm install -g fake-luogu-paintboard-server
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
C:\nodejs\fake-luogu-paintboard-server -> C:\nodejs\node_modules\fake-luogu-paintboard-server\cmd.js
npm WARN ws@7.4.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.

+ fake-luogu-paintboard-server@3.0.2
added 214 packages from 136 contributors in 14.14s

执行命令：
C:\Users\jyeri>fake-luogu-paintboard-server --help

C:\nodejs\node_modules\fake-luogu-paintboard-server\lib.js:115
    const uid = ctx.cookies?._uid;
                            ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:1067:16)
    at Module._compile (internal/modules/cjs/loader.js:1115:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (C:\nodejs\node_modules\fake-luogu-paintboard-server\cmd.js:22:26)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)

请使用最新版本的 Node.js

authors: jyeric ouuan

repo: ouuan/fake-luogu-paintboard-server


text:
Feat/collapsible loading v2.x

Add loading attribute
Add group attribute
Update documentation
Update unit tests

ref: UK-122

CDS Report deploy_uxci#1754.0 ✘
*

deploy_uxci ✘

authors: AxelPeter ovh-cds

repo: ovh-ux/ovh-ui-kit


text:
Update elastic4s-client-esjava, ... to 7.17.1

Updates

com.sksamuel.elastic4s:elastic4s-client-esjava
com.sksamuel.elastic4s:elastic4s-effect-cats
com.sksamuel.elastic4s:elastic4s-json-circe

from 7.8.1 to 7.17.1.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.sksamuel.elastic4s" } ]

labels: library-update, semver-minor

Superseded by #208.

repo: ovotech/shipit


text:
Is it possible to render bundles on the server?

Would it be feasible to use a package such as react-render, made to render ReactJS components, to render complete bundles and allow the import of the bundle in a template?

I don't know if we can integrate react-render and django-webpack-loader, but you should be able to use them independently as the actual code base would be the same.

authors: aleccunningham owais

repo: owais/django-webpack-loader


text:
機能名称の統一

現状、「ストック」という言葉が2つの意味で使われている。

お気に入り的な意味
フロー情報に対するストック情報という意味

混乱を招くので、

お気に入り的な意味 → 「お気に入り」「Favorite」
フロー情報に対するストック情報という意味 → 「フロー」「Flow」

に統一する（ただし、データベースのテーブル名がstocksな点は変えられないのでつらい）。

外側のみ変更完了。

DBのテーブル
内部処理の変数名等

は(stocks | stock)のまま。今のところ「ストック情報」の処理は薄いのでこのままで行く。

done.

repo: owl/owl


text:
エラーハンドリングを修正

Issue #123
以下の様に修正しています。

NotFoundExceptionかつ、アイテムページの場合返すviewを変更
Handlerに処理が渡り、APP_ENVがproductionの場合、errors.500.blade.phpを返却
記事データ取得時の処理の修正(https://github.com/owl/owl/issues/123#issuecomment-195710478)

最初はExceptionかつアイテムページの場合全部404にしちゃおうかなと思ったんですが内部的に500の状態を404で返すのって普通に握りつぶしでしかないので都度バグ修正してハンドリングしてabort(404)が正解かなと思いました。
マージのご検討を :hocho:
(ちなみに500ページのキャプチャはこちら)

マージしたいけどmaster向いてる？？


text:
Query the activity endpoint without an itemid filter doesn't return any results

Describe the bug
As per title, it should be possible to query the activities endpoint without any itemid filter.

What would be the expected outcome? All events from all spaces? This can get quite a lot.

User facing outcome, or what is your question? If you have performance concerns: Later we will have server site pagination on top of that

No. The question is what do you expect to get when you query the activity endpoint without an item- or spaceid?

To get activities on all locations (spaces)

authors: AlexAndBear kobergj

repo: owncloud/ocis


text:
Phoenix does not refresh the auth token

With the example/separate configuration for phoenix we use the auth code flow.
Over night my auth token expired and I can see the notification requests with a 401 Unauthorized.
curl 'http://localhost:20080/ocs/v2.php/apps/notifications/api/v1/notifications?format=json' -H 'Sec-Fetch-Mode: cors' -H 'Referer: http://localhost:8300/' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36' -H 'authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM' -H 'OCS-APIREQUEST: true' --compressed -v
*   Trying ::1:20080...
* TCP_NODELAY set
* Connected to localhost (::1) port 20080 (#0)
> GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1
> Host: localhost:20080
> Accept: */*
> Accept-Encoding: deflate, gzip
> Sec-Fetch-Mode: cors
> Referer: http://localhost:8300/
> X-Requested-With: XMLHttpRequest
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
> authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM
> OCS-APIREQUEST: true
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Date: Tue, 12 Nov 2019 09:08:13 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact

Hmmm no in the browser the OPTIONS request fails
curl -X OPTIONS 'http://localhost:20080/ocs/v2.php/apps/notifications/api/v1/notifications?format=json' -H 'Sec-Fetch-Mode: cors' -H 'Referer: http://localhost:8300/' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36' -H 'authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM' -H 'OCS-APIREQUEST: true' --compressed -v
*   Trying ::1:20080...
* TCP_NODELAY set
* Connected to localhost (::1) port 20080 (#0)
> OPTIONS /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1
> Host: localhost:20080
> Accept: */*
> Accept-Encoding: deflate, gzip
> Sec-Fetch-Mode: cors
> Referer: http://localhost:8300/
> X-Requested-With: XMLHttpRequest
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
> authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM
> OCS-APIREQUEST: true
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: application/json
< Vary: Origin
< Date: Tue, 12 Nov 2019 09:44:53 GMT
< Content-Length: 74
<
* Connection #0 to host localhost left intact
{"ocs":{"meta":{"status":"error","statuscode":998,"message":"Not found"}}}%

but that is a 404 ... and contains a body ... so it is not really an OPTIONS response, but just not handled ... urgh.
I'll fix that first and then see if phoenix tries to get a new auth token when the old one expires.

OPTIONS request require an Access-Control-Request-Method header:
curl -X OPTIONS 'http://localhost:20080/ocs/v2.php/apps/notifications/api/v1/notifications?format=json' -H 'Sec-Fetch-Mode: cors' -H 'Referer: http://localhost:8300/' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36' -H 'authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM' -H 'OCS-APIREQUEST: true' -H 'Access-Control-Request-Method: *' --compressed -v
*   Trying ::1:20080...
* TCP_NODELAY set
* Connected to localhost (::1) port 20080 (#0)
> OPTIONS /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1
> Host: localhost:20080
> Accept: */*
> Accept-Encoding: deflate, gzip
> Sec-Fetch-Mode: cors
> Referer: http://localhost:8300/
> X-Requested-With: XMLHttpRequest
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
> authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM
> OCS-APIREQUEST: true
> Access-Control-Request-Method: *
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Vary: Origin
< Vary: Access-Control-Request-Method
< Vary: Access-Control-Request-Headers
< Date: Tue, 12 Nov 2019 10:06:09 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact

I hate it that chrome no longer shows the options requests ...
In any case the options requests returns fine.

@butonic what does the phoenix config look like?
Please make sure that it contains this option with the openIdConnect section:
"automaticSilentRenew": true

ohhhh nice! will check later!

if you grab a more recent version of phoenix it should work out of the box ....

If not: network and console logs - THX


text:
[tests-only][full-ci]Bump web commit id

This PR is  to test if we can bring the changes from https://github.com/owncloud/web/pull/8905 in ocis

@kulmann @ScharfViktor I've bumped the commit id of the web here to get the fixes from web. The tests are passing I hope it's okay.


text:
"Sync your data" - Text Design Improvements

Make the text under "Sync your data" longer, so that the text has 2 columns like "Download ownCloud Server" and "Extend your Cloud" and the buttons are on the same level.

Nice one! Thanks ;-)

authors: aspdye jospoortvliet


text:
linter: use simdutf8 for validating files

See https://github.com/rolldown/rolldown/pull/2040
Our code to change is:
https://github.com/oxc-project/oxc/blob/666282a13b172de849e251eb3b8417bfb19a79cb/crates/oxc_linter/src/service.rs#L179-L183

Is it just changing this one place? I see that many places have used read_to_string.

Is it just changing this one place? I see that many places have used read_to_string.

Feel free to change it if it's in a hotspot for the linter.

authors: Boshen shulaoda

repo: oxc-project/oxc


text:
refactor(allocator): add impl GetAddress for Address

This allows passing an Address to methods like StatementInjectorStore::insert_before if you want to.

#6891  👈
main

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

Join @overlookmotel and the rest of your teammates on  Graphite

Merge activity

Oct 25, 11:19 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.

authors: Dunqing overlookmotel


text:
Make tznft work

It may be a temporary change but that what makes it work correctly with the new setup of 3 packages. It does not have to be merged.

These changes were incorporated into nft-20 branch

repo: oxheadalpha/nft-tutorial


text:
DefaultProfile not found

use src/aliyun/core
...
$iClientProfile = DefaultProfile::getProfile ("cn-hangzhou", "ACCESSKEY", "ACCESS_SECRET");
...

运行代码报错
Class 'DefaultProfile' not found"

额  aliyun-core这个库移植过来时没有做任何处理, 原sdk库( 可能考虑到兼容性问题 ) 并没有使用命名空间和遵循Psr-4中的自动加载 , 所以aliyun-core这个库依赖于composer中的 classmap属性引入进来 .
所以如果将core从这个封装类中剥离 需要手动引入文件 , 否则只需要引入composer中的autoload文件, 即可使用

@oygza  我这样直接用 \ 就可以使用. 就不会报错误.
\ $iClientProfile = DefaultProfile::getProfile ("cn-hangzhou", "ACCESSKEY", "ACCESS_SECRET");

@oygza
写错了, 应该是这样.   是的 我想在Laravel中使用这个库.
$iClientProfile = \ DefaultProfile::getProfile ("cn-hangzhou", "ACCESSKEY", "ACCESS_SECRET");

@oygza
写错了, 应该是这样.   是的 我想在Laravel中使用这个库.
$iClientProfile = \ DefaultProfile::getProfile ("cn-hangzhou", "ACCESSKEY", "ACCESS_SECRET");

我刚才在这个laravel 5.5 版本中试了一下 , 使用起来没有问题 . 在我引入composer中 , IDE已经可以自动补全该库了 ( 使用phpstorm ) , 当然也有可能无法补全 ,可以先尝试一下 composer update 后再试, 也可以尝试在改类名前加上 ** 让php自己全局查找这个类 , 使用起来没什么区别

上条少写了 应该是 :

在改类名前加上 / 让php自己全局查找这个类

上条被markdown和谐了 应该是:

在改类名前加上 \ 让php自己全局查找这个类

@oygza
写错了, 应该是这样. 是的 我想在Laravel中使用这个库.
$iClientProfile = \ DefaultProfile::getProfile ("cn-hangzhou", "ACCESSKEY", "ACCESS_SECRET");

那就是我这种写法了, 就是这个包是不需要使用use引用的, 而是直接使用全局方式\ 这个符号.

authors: helloMJW oygza

repo: oygza/aliyun-php-sdk-afs


text:
Prix flat rate x2 lors de la création de commande côté boutique

ETQM je configure flat rate à 3 euros:

Je synchronise ce mode de livraison avec le 1-click.
Sur la pop-in le montant est bien de 3 euros.
Quand la commande se créé, le montant est de 6 euros et non de 3 euros.

Le problème vient du flate rate par item ou par commande.
Je vois comment faire les calculs en fonction de...

authors: mehdichaouch quentinjunior


text:
Fix fall through behaviour

The "fall-through when a record doesn't exist" should not be a default/implicit behavior. See how this kind of behavior is implemented in other plugins (e.g. hosts plugin).

It seems this works, see example file added. It's easy to test.
Leaving this open as a reminder to follow this up  in the code for the next version.

Hello,
I'm been stuck by this yesterday as my wanted behavior is : answer with record if it exists in netbox then fallback to the forward plugin to resolve more generally.
First, as netbox plugin was at the end of plugin.cfg, if the forward plugin is declared in Corefile, the netbox plugin is never used. I had to move the 'netbox:github.com/oz123/coredns-netbox-plugin' BEFORE forward in plugin.cfg.
Then, for an existent record, the netbox plugin is always answering SERVFAIL and resolution stops. So I couldn't resolve any public record.
Reading coredns documentation, I found the alternate plugin (github.com/coredns/alternate). Adding it to plugin.cfg BEFORE netbox like this :
alternate:github.com/coredns/alternate
netbox:github.com/oz123/coredns-netbox-plugin
forward:forward

And setting Corefile like this :
. {
   debug
   netbox {
      token <token>
      url <api url>
      localCacheDuration 300s
   }
   alternate SERVFAIL . 1.1.1.1
   log
   cache
}

It SEEMS I've been able to achieve my expected behavior : coredns can be used as internal resolver to serve netbox's records and forward to public resolver if record doesn't exists in netbox.
It still lacks lot of testing in real-life but from a PoC point of view, it's working.


text:
Undefined array key "action"

Hi there, thanks for this great package. When used, we very often get this error: Undefined array key "action" from /vendor/oza75/laravel-ses-complaints/src/Requests/BounceRequest.php line 53. More details here.
Do you think this could be a mis-configuration issue on my side? Or do you have any guideline on how to resolve this?
Thanks!

Hi there, thanks for this great package. When used, we very often get this error: Undefined array key "action" from /vendor/oza75/laravel-ses-complaints/src/Requests/BounceRequest.php line 53. More details here.
Do you think this could be a mis-configuration issue on my side? Or do you have any guideline on how to resolve this?
Thanks!

That error message appears due to a bug in this package.
Per Amazon's documentation, the "action" field is optional for a bounced recipient. However, the current implementation of the BounceRequest in this package does not properly test if the "action" field exists before trying to access it nor does it provide a fallback if the data isn't there.

Fixes in v0.0.5

authors: JhumanJ bjshirey oza75


text:
GIA as a interpretation pipeline/package for pytorch?

Hi! I really love the idea of GIA compared to attribution methods. Any consideration for compacting GIA as an interpretation pipeline/package for pytorch?

Hi! Thanks for your interest. Yes, we can extend this to PyTorch. I’m thinking of redoing this as a framework agnostic tool. Due to other constraints, I’m hoping to have this by June. Will let you know if completed sooner. In the mean time, I’m happy to assist you if you have specific questions.

Thanks for the reply! I am interested in the motif-motif interaction in genomic models and want to first use the GIA as a motif finder and compare it with attribution-based methods. I also love your idea on GLIFAC (Ghotra et al.), any coding sample available for it?

If interested in GLIFAC, please reach out to Chandana (rajesh@cshl.edu, cc koo@cshl.edu), she has taken over the project and extended it, including user-friendly code. We are working towards a full paper with more tricks involved, but would be happy to share preliminary code if you find it useful.

authors: lejecrs p-koo

repo: p-koo/residualbind


text:
Correction

<script src="//code.jquery.com/jquery-1.7.2.min.js"></script>
after correct:
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
Now will work.

// will use the parent pages protocol.

repo: p-m-p/jquery-box-slider


text:
[BUG] Reset door and fog bug with token attacher

Module Version: Last
Describe the bug
Hi, Reset door and fog feature doesn't work
Error thrown in console :

The error seems to appear after moving  a token to see if a door is open or close
Foundry Version:
Last v9
Game System:
Pf2e 3.3.1

and when trying to use the "close all door" button in the wall tab :

probably fixed with version 2.1.14 , not sure about the token attacher issue


text:
CI should build latest commit, not latest release.

We want bazel/example to accomplish two things:

It should serve as a template for people who want to use p4runtime in their own Bazel project.
It should ensure that the current master commit of p4runtime builds when included in third-party Bazel projects.

This PR fixes the second point. Before this PR, we would build a fixed commit rather than the latest commit.

Sounds good!


text:
chore: go-demo-6 to 2.0.2

chore: Promote go-demo-6 to version 2.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
mysql_stat huge amount bug ?

As you can see, "Queries per second average" is displaying a ridiculous amount, which isn't even possible, and that amount is always increasing with something like 0.02 or more. The "Questions" increase with that amount almost everytime, as I can see. If that would be true, the "Unprocessed queries" for sure wouldn't be 0 always, because you can't execute ~1431 queries per second and have them processed instantly, the server would even hang. I really think this is a bug, there's no chance this could happen while the server is running smoothly.
Or my definition of "query" is wrong ? A query is the thing you send with mysql_pquery, mysql_tquery, mysql_query. "Questions" are the number of queries sent since the server was started, right ?

You're retrieving the status of the MySQL server here. I guess you're using a hosted MySQL database by some bigger provider, so these readings actually can be plausible.

Yes, I do. It's weird that the MySQL server reports this to all clients. I thought that this is per-connection, I thought it was weird why on my localhost it was working fine and on the host not, I also thought of what you said, but I wasn't sure about that.
Can you make something like per-connection ?

I could, but that wouldn't really be a useful feature (more likely a complicated one) and I'm already way behind schedule to release R40.
mysql_stat was made simply because there is exactly that same function in the MySQL C API, thus making it pretty easy to just wrap it around with some code and make it available as a PAWN native.

If it is complicated, then don't add it, it isn't really needed, it was just nice to see the statistics. And yes, I know that you are way behind the schedule to release it. :c
I already thought that it might be offered by MySQL.
Well, I close this.

repo: pBlueG/SA-MP-MySQL


text:
Migrate deprecated LWRP to Newer Custom Resource Style

The current style of resources are deployed in the older LWRP manner or closely reflect that design. I am going to work on migrating these to the newer style for chef-client >=12.5, see this blog post and this gist for reference.

Per conversations in the Docker cookbook, "recommended is relative" so we are changing course on migrating to this "style" of custom resources for THIS cookbook. The LWRP style for this cookbook will serve users better down the road due to better flexibility. It would work well though to utilize the LWRP resources in this cookbook with the more standard "12.5-style custom resources" in, say, a wrapper cookbook down the road. Closing this request.

repo: pacifica/pacifica-cookbook


text:
Smoke-test wheel creation from sdist

When python -m build is invoked with --sdist and/or --wheel args, both artifacts get created from source. This is bad because it differs from what pip does when it needs to build a package from the source distribution before installation.
Without said args, the build tool will first create an sdist from your Git checkout and then, it'll create a wheel out of that tarball, just like pip does. This helps catch cases when the contents of sdist is not enough to produce a working binary distribution, or when the resulting artifact differs a lot from the result of a build derived from a Git checkout.
This patch addresses the above issue per the best practices.

@TomasTomecek do you know there's a button in the repo settings for always showing the "update branch" button? If you enable it, it's possible to select rebase mode now.

Oh, I see. It didn't show up in the mobile app.

ah, I can see, never used that button
since you gpg-signed your commit, I wonder what would happen with your signature when github rebases your PR

regate

Merging manually - gate pipeline succeeded.

I wonder what would happen with your signature when github rebases your PR

It's re-signed with the GH web UI signature.

authors: TomasTomecek webknjaz

repo: packit/packit


text:
feat: allow overwriting props

There are many cases where it makes sense to override the props of the components.
Examples:

aria-label of e.g. CommandLoading and CommandList to support multi language
aria-expanded of CommandInput, which is always true currently, but should only be true, when the input has focus or after typing, when the list is shown
type of CommandInput to let users only insert numbers  for instance

There is already a PR for it  #117, but I created a new one #202
Here is a code sandbox, where we can see the problem
Maybe we can realize it?

Would be very useful.

Glad to see @gylxan that someone also pick up the topic with overwriting props. For me the most important part is with type of command input. Topic also arise in #175 and for me the crucial part with changing type is that on mobile I can force browser to use specific type of keyboard :)

authors: MatchuPitchu albertAS61 gylxan

repo: pacocoursey/cmdk


text:
chore(linter): enable musttag

Description
I enabeld musttag linter
Related issue(s)

Fixes #647

@b00f can you have a review?

@kehiy Thanks

repo: pactus-project/pactus


text:
Full path for glob when running with chdir

When humbug is running with chdir we need to add this dir to every node value of phpunit.xml since they have relative paths. Otherwise we have
[Humbug\Exception\RuntimeException]
Unable to locate file specified in testsuites: Events/Test

Oh, sorry. Happens sometimes when using online github editor )
Fixed.

Thanks @ksimka !

authors: ksimka padraic

repo: padraic/humbug


text:
Release 0.14.0

Placeholder to discuss releasing 0.14.0

This is a duplicate :(

repo: padrino/padrino-framework


text:
无法获得最终结果

    PageInfo<Project> projects = PageHelper.startPage(pageNum, pageSize).doSelectPageInfo(
        () -> projectService.findAllProjects(userId, appId));

如果projectService.findAllProjects调用了两个mapper，那么只会把第一次调用mapper返回的数据塞入pageinfo。

doSelectPageInfo里面的方法应该是dao调用，而不是service，并且只对第一个查询方法进行分页和转换值。

repo: pagehelper/Mybatis-PageHelper