Introduction To  C Programming Language

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of an article
Introduction To  C Programming Language
Introduction paragraph (2-3 paragraphs):
C is probably the most widely known programming language and Basic language. It is used as the reference language for computer science courses and used in competitive programming all over the world, and it's probably the language that people feel difficult when they are starting programming, and this series I will explain everything from ground level  to  high level
Key takeaways:
As this is the introduction to C

History of C
Structure of C program
Installing C in our System
Writing the First C program
Understanding the Code
Files  used in C program
Uses Of C

References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@MouliDev 👋  Hello - Hector here from the EngEd program.
Thank you for submiting what seems like would be a really helpful article - just wanted to make sure that it does not overlap too much with this past article
🤔

@hectorkambow Sir my article don't not overlap with past article
This is total different from past article
And i am sure for that

@MouliDev 👍
sounds good @ - approved. One important note: please be sure to put your article through a thorough grammar/readability editing review prior to submitting for final approval. This will help increase the likelihood of your article getting published and you receiving a payout :)

@hectorkambow Ok sir! Sure and Thanks


Show client's remote service name in all cases. Fixes #2932

The code had a check to only show the client's remote service name when the span doesn't have any children.
Problem is described in https://github.com/openzipkin/zipkin/issues/2932
Basically, when reactive HTTP client (Java in my case) is used, CLIENT spans are created in hierarchical order.
Use case:
Incoming request:
Two parallel operations:
1. Fetch user A, update user A
2. Fetch user B, update user B
Wait for completion...

Is producing CLIENT spans in hierarchical order:
-> Main span
  -> "Fetch user A" CLIENT span -> `update user A` CLIENT span
  -> "Fetch user B" CLIENT span -> `update user B` CLIENT span

But UI doesn't support it.

There seems to be a discussion here(https://github.com/openzipkin/zipkin/pull/2345#issuecomment-452942153 and https://github.com/openzipkin/zipkin/issues/2274) about whether to display remote services which are not leaf node...
What do you think? @openzipkin/ui @anuraaga @drolando

Anyone else can comment on it? I'm using Brave as described here https://github.com/openzipkin/zipkin/issues/2932#issuecomment-561096546

I appreciate you raising this, and one outcome was that we have better docs. That said, the change as proposed won't be merged, so let's close it and move on. Cheers
https://github.com/openzipkin/brave/blob/master/instrumentation/RATIONALE.md#why-does-the-client-response-callback-run-in-the-invocation-context


Server showing as version 0.218.12

Hi everybody,
I've some issues concerning my valheim container.
I'm running a default compose file, very simple:

services:
valheim-server:
container_name: valheim-server
image: ghcr.io/lloesche/valheim-server
cap_add:
- sys_nice
volumes:
- /opt/docker/data/valheim-server/config:/config
- /opt/docker/data/valheim-server/data:/opt/valheim
ports:
- "2456-2458:2456-2458/udp"
- "8098:9001/tcp"
environment:
- PUID=1000
- PGID=1000
- TZ= Europe\Paris
- SERVER_NAME=Server
- WORLD_NAME=World
- SERVER_PASS=StrongPassword!
- SERVER_PUBLIC=false
- BACKUPS_MAX_AGE=30
- PUBLIC_TEST=false
restart: unless-stopped

My issue is that in docker logs I've a game version listed as 0.217.48 which is what I want but when I try to connect to the server from my computer, it's showing version 0.218.12 for the server and tell me that I'm running an out of date game.
I don't know also why the server name is THUNDERDOME, I've never set that.

Some aditionnals information for my case:
First before last docker image update, I've manage to connect to this server without issue.
I've turned it off and just turned it on yesterday for playing on it so I don't think there is something to do with my configuration.
I've tried several things:

The name THUNDERDOME only pops when I put the :2456 and not 2457 which is a mistake on my side :-).
I can't connect to my server throught the game menu with :2457, I've a "failed to connect" error but if I add the server throught Steam servers with the port 2457, my server appears in the list with the right name and map but not with the right port on the  IP Address section (I put a picture of that below). But if I try to connect on it I can even get to the password server question but after it failed with an "Incompatible version".

I've tried with an other laptop to connect on the server, no success too.

Is there a way to specified the valheim server version we want on the server?

Some news from my case.
It's nothing to do regarding the container, even with the container off my IP 192.168.1..10:2456 continue to introduce the server as THUNDERDOME with version 0.218.12.
I found also some logs in /home/user/.config/unity3d/IronGate/Valheim/ with the name THUNDERDOME in it, I've removed it and it continue to introduce the server as THUNDERDOME. There's something I missing but I found a solution. I even deleted all steam cloud files, install the game on different disk.
I'm running the game under Linux Arch, if somebody has an explaination to this issue I take it ^^.
Juste change the exposed port from 2456-2458 to 2556-2558 and no issue...


Provision of DIP Support

Added dedicated IP support, including DIP_TOKEN for one line calls and prompts through run_setup.sh.
Adjusted package dependency response for wireguard to list the necessary package (wireguard-tools) to utilize wgquick.
Updated README.md to clarify package dependencies and include DIP_TOKEN.

It works like a charm!
I just had to do a sudo chmod +x get_dip.sh to get rid of ./run_setup.sh: line 150: ./get_dip.sh: Permission denied
Thank you very much!


Failed Initializing weblogic admin server after updating domain

After updating domain by adding another managed server to the cluster, I get
Total:       WARNING :     0    SEVERE :     0\r\rupdateDomain.sh completed successfully (exit code = 0)
and after I restart the weblogic admin server I get this error:
<Jun 17, 2021 3:17:00 PM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 9 exceptions.  They are:
1. java.lang.NullPointerException
2. java.lang.IllegalStateException: Unable to perform operation: create on weblogic.management.provider.internal.RuntimeAccessImpl
3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.management.provider.internal.RuntimeAccessService
4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.FinalThreadLocalService errors were found
5. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.FinalThreadLocalService
6. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.BootService errors were found
7. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.BootService
8. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolService errors were found
9. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolService

A MultiException has 9 exceptions.  They are:
1. java.lang.NullPointerException
2. java.lang.IllegalStateException: Unable to perform operation: create on weblogic.management.provider.internal.RuntimeAccessImpl
3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.management.provider.internal.RuntimeAccessService
4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.FinalThreadLocalService errors were found
5. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.FinalThreadLocalService
6. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.BootService errors were found
7. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.BootService
8. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolService errors were found
9. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolService

        at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)
        at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:250)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
        at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
        at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
        at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
        at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
        at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused By: java.lang.NullPointerException
        at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:79)
        at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:102)

could you provide the model that you used for the update. Also, can you provide the updateDomain.log found in /logs

Solved it, needed the archive file.

@Bneve5 Did you have something in the model that referenced something in the archive?  And the WDT update succeeded without a warning or error?


Import XLS files

Have you considered adding http://rubygems.org/gems/spreadsheet to support importing XLS files?

+1

XLSX import is now available on the master branch, soon to be released to RubyGems

very nice, thank you so much for implementing it.  Can you do validations on the import?

Your regular ActiveRecord validations will run on each record and there's a config option to rollback all imports if one fails.

Is it possible to log errors in a separate spreadsheet?  I am thinking of process where users upload spreadsheet where most records are valid but a few have errors.  User gets email with spreadsheet with list of these records and errors, fixes the data and re-uploads the spreadsheet.

No, that wouldn't be in scope for what this gem does. It imports the data in the web process, so it can import very large data sets or send emails.


datastructures patch

The breaking change in DataStructures required syntax updates and removal of compatibility with 0.17

I will wait until the tests pass and then merge and tag.

Yes, I noticed this (and have a branch with the changes for OrdinaryDiffEq already on my computer). The problem is that there are many cyclic dependencies (e.g., DiffEqCallbacks needs an update as well but it uses OrdinaryDiffEq in its dependencies as well...). That's also a problem with this PR and the reason for the failing tests.

The dependencies are only cyclic in the tests, but yeah it's a bit annoying. That's why in other libraries I've split out the tests of downstream features into an isolated environment. We should probably do more of that

@devmotion I am planning to make a PR with no logic changes to clean up the formatting using Julia Formatting

The suggestions are not related to formatting, my suggestion is just to use first instead of DataStructures.first.

@devmotion Sundials.jl uses import DataStructures so it needs the predicate. As a practical aspect is easier to find broken dependencies and make it clear to future maintainers which functions come from dependencies which ones are part of the package.

Yes, I saw that you import DataStructures and personally I like this approach. But DataStructures just overloads Base.first which is always available as first, even if you don't import anything.

@devmotion I see your point. However, in my experience packages have no requirement to maintain these overloading functions and are prone to change exactly as it happened here: top used to be a Julia Base function that changed to first and until now DataStructures made the update in the syntax.
I have had plenty of headaches with packages in the pre 1.0 stage making this sort of change (or not making it on time) and costing me time later chasing the correct compatibility.
That said if the preference of the community is to remove the predicate I will respect it. @ChrisRackauckas what do you think?

We should use import more, but first doesn't come from DataStructures.

IMO these problems only occur if packages do not follow SemVer. If you specify compatibility bounds, breaking changes in dependencies shouldn't suddenly break your package.

We should use import more, but first doesn't come from DataStructures.

@devmotion I made the change but added a comment for future reference

As said above, IMO DataStructures is only allowed to remove the first overload in a breaking release, hence I don't think you should not be worried about any details of the DataStructures implementation.

It looks like the issues with the tests are upstream. I will merge to continue with other improvements before tagging.


[#905] Adding watch resources owned by the operator

that looks correct and sensible to me, we track what we own.

Thanks!


Sign product binaries

I discovered that our fully-signed builds were no longer actually
signing our product binaries. We use MicroBuild for strong-name and
Authenticode signing, and it looks for FilesToSign items in projects.
Searching through our code, I could only find these in a couple of
places related to resources assembly and VSIX production. These
correspond to the binaries that are, in fact, still being signed.
I'm not 100% sure what happened, but I think this is due to moving to a
new version of Microsoft.DotNet.BuildTools in commit db26c2d3. I assume
that it used to generate these items, and no longer does so. The fix
here is to explicitly add a FilesToSign item to each project producing
a product binary.

@AndyGerlicher @rainersigwald @cdmihai @jeffkl Could you take a look? I want to get the signed build fixed as quickly as possible.

I think we should put something generic in dir.targets to sign everything unless a project opts out.  But this is good for now.

LGTM


Update R syntax

What problem did you solve?
Closes #646
(If you do not have screenshot) How can I check this pull request?

Put cursor on any point of the following code and send code to terminal should send the whole pipeline to terminal.

1:10 |>
  sapply(\(x) x^2) |>
  sum()

TBH I'm not quite familiar with the syntax file. Could you please point out if I don't do it right? @andycraig @Ikuyadeu

OK, I'll check this weekend.
And, I'll try to make the test code for CI check.

Should we do anything about the pipe-bind operator (=>) which is disabled by default unless environment variable _R_USE_PIPEBIND_ is set to a true value?

Maybe for future proofing? Depends on whether the pipe bind operator is going to stay or not - this would lead me to believe it is, but then this twitter thread seems to go against that.

@renkun-ken
OK, I checked the code. Thank you!
But testing CI is a bit hard now. So, I merge this once.
And, => should be let now, for confusing replacement. I think users should set that manually.

Do you encounter that most highlighting is lost with latest release installed?

Looks like https://github.com/Ikuyadeu/vscode-R/pull/647/files#diff-f6f05bbc187255f5cf06a39e3a4f7befa7288489c5fd44bb14586143076ffd1dR407-R447 is somehow problematic. I remove that code and the highlighting goes back to normal.


Edge: Crash when a large number of clients play concurrently.

Description'
Please ensure that the markdown structure is maintained.

Describe the problem you encountered here:
srs generates a core dump.

SRS version: xxxxxx'

Please make sure to maintain the markdown structure.
3.0.140

The log of SRS is as follows:
Please make sure to maintain the markdown structure.

Program terminated with signal 6, Aborted.
#0  0x000000301f6325e5 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.192.el6.x86_64 libgcc-4.4.7-17.el6.x86_64 libstdc++-4.4.7-17.el6.x86_64
(gdb) bt
#0  0x000000301f6325e5 in raise () from /lib64/libc.so.6
#1  0x000000301f633dc5 in abort () from /lib64/libc.so.6
#2  0x000000301f62b70e in __assert_fail_base () from /lib64/libc.so.6
#3  0x000000301f62b7d0 in __assert_fail () from /lib64/libc.so.6
#4  0x00000000004b331e in srs_close_stfd (stfd=@0x12177e8) at src/service/srs_service_st.cpp:87
#5  0x00000000004b6209 in SrsTcpClient::close (this=0x12177e0) at src/service/srs_service_st.cpp:638
#6  0x00000000004b5cfb in SrsTcpClient::~SrsTcpClient (this=0x12177e0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at src/service/srs_service_st.cpp:608
#7  0x00000000004b6004 in SrsTcpClient::~SrsTcpClient (this=0x12177e0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at src/service/srs_service_st.cpp:611
#8  0x00000000004be109 in SrsBasicRtmpClient::close (this=0x111ff60) at src/service/srs_service_rtmp_conn.cpp:98
#9  0x00000000004bdbb2 in SrsBasicRtmpClient::~SrsBasicRtmpClient (this=0x111ff60, __in_chrg=<value optimized out>) at src/service/srs_service_rtmp_conn.cpp:57
#10 0x00000000004cfc39 in SrsSimpleRtmpClient::~SrsSimpleRtmpClient (this=0x111ff60, __in_chrg=<value optimized out>) at src/app/srs_app_rtmp_conn.cpp:80
#11 0x00000000004cfc68 in SrsSimpleRtmpClient::~SrsSimpleRtmpClient (this=0x111ff60, __in_chrg=<value optimized out>) at src/app/srs_app_rtmp_conn.cpp:80
#12 0x0000000000578251 in SrsEdgeRtmpUpstream::close (this=0x111f690) at src/app/srs_app_edge.cpp:147
#13 0x0000000000577528 in SrsEdgeRtmpUpstream::~SrsEdgeRtmpUpstream (this=0x111f690, __in_chrg=<value optimized out>) at src/app/srs_app_edge.cpp:72
#14 0x00000000005775ea in SrsEdgeRtmpUpstream::~SrsEdgeRtmpUpstream (this=0x111f690, __in_chrg=<value optimized out>) at src/app/srs_app_edge.cpp:73
#15 0x0000000000578b69 in SrsEdgeIngester::do_cycle (this=0x111eb00) at src/app/srs_app_edge.cpp:264
#16 0x000000000057899d in SrsEdgeIngester::cycle (this=0x111eb00) at src/app/srs_app_edge.cpp:243
#17 0x0000000000506b3a in SrsSTCoroutine::cycle (this=0x111fbd0) at src/app/srs_app_st.cpp:198
#18 0x0000000000506baf in SrsSTCoroutine::pfn (arg=0x111fbd0) at src/app/srs_app_st.cpp:213
#19 0x00000000005bac6e in _st_thread_main () at sched.c:337
#20 0x00000000005bb408 in st_thread_create (start=0x11cc880, arg=0x7f141f6214a0, joinable=32532, stk_size=525639216) at sched.c:616
#21 0x0000000000000000 in ?? ()

2020-07-01 19:31:01.673][Trace][38621][1186] RTMP client ip=<IP_ADDRESS>, fd=14
[2020-07-01 19:31:01.694][Trace][38621][1187] RTMP client ip=<IP_ADDRESS>, fd=15
[2020-07-01 19:31:01.701][Trace][38621][1186] complex handshake success
[2020-07-01 19:31:01.701][Trace][38621][1186] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.701][Trace][38621][1186] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.711][Trace][38621][1187] complex handshake success
[2020-07-01 19:31:01.714][Trace][38621][1187] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.714][Trace][38621][1187] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.723][Trace][38621][1185] complex handshake success.
[2020-07-01 19:31:01.723][Trace][38621][1185] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.744][Trace][38621][1187] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.744][Trace][38621][1187] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.744][Trace][38621][1187] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.744][Trace][38621][1187] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.744][Trace][38621][1187] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.744][Trace][38621][1187] set fd=15, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.744][Trace][38621][1187] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:01.749][Trace][38621][1186] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.749][Trace][38621][1186] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.749][Trace][38621][1186] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.749][Trace][38621][1186] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.749][Trace][38621][1186] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.749][Trace][38621][1186] set fd=14, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.750][Trace][38621][1186] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:01.756][Trace][38621][1188] RTMP client ip=<IP_ADDRESS>, fd=16
[2020-07-01 19:31:01.757][Trace][38621][1189] RTMP client ip=<IP_ADDRESS>, fd=17
[2020-07-01 19:31:01.773][Trace][38621][1185] connected, version=<IP_ADDRESS>, ip=<IP_ADDRESS>, pid=5241, id=871, dsu=1
[2020-07-01 19:31:01.784][Trace][38621][1189] complex handshake success
[2020-07-01 19:31:01.785][Trace][38621][1189] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.785][Trace][38621][1189] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.788][Trace][38621][1188] complex handshake success
[2020-07-01 19:31:01.789][Trace][38621][1188] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.789][Trace][38621][1188] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.800][Trace][38621][1185] edge change from 100 to state 101 (pull).
[2020-07-01 19:31:01.804][Trace][38621][1190] RTMP client ip=<IP_ADDRESS>, fd=18
[2020-07-01 19:31:01.820][Trace][38621][1189] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.820][Trace][38621][1189] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.820][Trace][38621][1189] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.820][Trace][38621][1189] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.820][Trace][38621][1189] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.820][Trace][38621][1189] set fd=17, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.820][Trace][38621][1189] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:01.828][Trace][38621][1191] RTMP client ip=<IP_ADDRESS>, fd=19
[2020-07-01 19:31:01.834][Trace][38621][1190] complex handshake success
[2020-07-01 19:31:01.834][Trace][38621][1190] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.835][Trace][38621][1190] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.841][Trace][38621][1192] RTMP client ip=<IP_ADDRESS>, fd=20
[2020-07-01 19:31:01.847][Trace][38621][1188] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.847][Trace][38621][1188] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.847][Trace][38621][1188] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.847][Trace][38621][1188] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.847][Trace][38621][1188] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.847][Trace][38621][1188] set fd=16, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.847][Trace][38621][1188] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:01.848][Trace][38621][1193] RTMP client ip=<IP_ADDRESS>, fd=21
[2020-07-01 19:31:01.880][Trace][38621][1190] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.880][Trace][38621][1190] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.880][Trace][38621][1190] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.880][Trace][38621][1190] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.880][Trace][38621][1190] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.880][Trace][38621][1190] set fd=18, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.880][Trace][38621][1190] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:01.889][Trace][38621][1192] complex handshake success
[2020-07-01 19:31:01.890][Trace][38621][1192] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.890][Trace][38621][1192] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.890][Trace][38621][1191] complex handshake success
[2020-07-01 19:31:01.891][Trace][38621][1191] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.891][Trace][38621][1191] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.915][Trace][38621][1193] complex handshake success
[2020-07-01 19:31:01.932][Trace][38621][1193] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:31:01.932][Trace][38621][1193] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:31:01.960][Trace][38621][1192] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.960][Trace][38621][1192] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.960][Trace][38621][1192] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.960][Trace][38621][1192] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.960][Trace][38621][1192] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.960][Trace][38621][1192] set fd=20, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.960][Trace][38621][1192] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:01.987][Trace][38621][1191] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:01.987][Trace][38621][1191] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:01.987][Trace][38621][1191] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:01.987][Trace][38621][1191] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:01.987][Trace][38621][1191] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:01.987][Trace][38621][1191] set fd=19, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:01.987][Trace][38621][1191] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:02.021][Trace][38621][1193] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:31:02.021][Trace][38621][1193] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:31:02.021][Trace][38621][1193] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1185[1185]
[2020-07-01 19:31:02.021][Trace][38621][1193] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:31:02.021][Trace][38621][1193] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:31:02.021][Trace][38621][1193] set fd=21, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:31:02.021][Trace][38621][1193] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:31:03.909][Trace][38621][1194] RTMP client ip=<IP_ADDRESS>, fd=22
[2020-07-01 19:31:04.009][Warn][38621][1194][104] client disconnect peer. ret=1008
[2020-07-01 19:31:06.474][Warn][38621][1183][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.548][Warn][38621][1184][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.651][Warn][38621][1186][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.686][Warn][38621][1187][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.732][Warn][38621][1188][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.742][Warn][38621][1189][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.780][Warn][38621][1191][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.782][Trace][38621][1190] -> PLA time=0, msgs=0, okbps=6,0,0, ikbps=5,0,0, mw=100
[2020-07-01 19:31:06.782][Warn][38621][1190][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.804][Warn][38621][1193][104] client disconnect peer. ret=1007
[2020-07-01 19:31:06.854][Warn][38621][1185][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms
thread [38621][1185]: ingest() [src/app/srs_app_edge.cpp:333][errno=62]
thread [38621][1185]: recv_message() [src/protocol/srs_rtmp_stack.cpp:389][errno=62]
thread [38621][1185]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:871][errno=62]
thread [38621][1185]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:966][errno=62]
thread [38621][1185]: grow() [src/protocol/srs_protocol_stream.cpp:179][errno=62]
thread [38621][1185]: read() [src/service/srs_service_st.cpp:483][errno=62]
[2020-07-01 19:31:06.866][Trace][38621][1192] -> PLA time=0, msgs=0, okbps=6,0,0, ikbps=5,0,0, mw=100
[2020-07-01 19:31:06.866][Trace][38621][1192] cleanup when unpublish
[2020-07-01 19:31:06.866][Trace][38621][1192] edge change from 101 to state 0 (init).
[2020-07-01 19:31:06.866][Warn][38621][1192][4] client disconnect peer. ret=1007
[2020-07-01 19:31:23.787][Trace][38621][1195] RTMP client ip=<IP_ADDRESS>, fd=11
[2020-07-01 19:31:23.888][Warn][38621][1195][104] client disconnect peer. ret=1008
[2020-07-01 19:31:43.873][Trace][38621][1196] RTMP client ip=<IP_ADDRESS>, fd=11
[2020-07-01 19:31:43.973][Warn][38621][1196][104] client disconnect peer. ret=1008
[2020-07-01 19:32:01.417][Trace][38621][1197] RTMP client ip=<IP_ADDRESS>, fd=11
[2020-07-01 19:32:01.448][Trace][38621][1197] complex handshake success
[2020-07-01 19:32:01.448][Trace][38621][1197] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:01.448][Trace][38621][1197] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:01.500][Trace][38621][1197] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:01.500][Trace][38621][1197] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:01.500][Trace][38621][1197] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=-1[-1]
[2020-07-01 19:32:01.500][Trace][38621][1197] create consumer, active=0, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:01.500][Trace][38621][1197] ignore disabled exec for vhost=videocc.lottery.gov.cn
[2020-07-01 19:32:01.500][Trace][38621][1197] set fd=11, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:01.500][Trace][38621][1197] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:01.500][Trace][38621][1197] update source_id=1198[1198]
[2020-07-01 19:32:01.510][Trace][38621][1199] RTMP client ip=<IP_ADDRESS>, fd=13
[2020-07-01 19:32:01.536][Trace][38621][1199] complex handshake success
[2020-07-01 19:32:01.537][Trace][38621][1199] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:01.537][Trace][38621][1199] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:01.573][Trace][38621][1198] complex handshake success.
[2020-07-01 19:32:01.573][Trace][38621][1198] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:01.580][Trace][38621][1199] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:01.580][Trace][38621][1199] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:01.580][Trace][38621][1199] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1198[1198]
[2020-07-01 19:32:01.580][Trace][38621][1199] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:32:01.580][Trace][38621][1199] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:01.580][Trace][38621][1199] set fd=13, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:01.580][Trace][38621][1199] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:01.624][Trace][38621][1198] connected, version=<IP_ADDRESS>, ip=<IP_ADDRESS>, pid=12750, id=462, dsu=1
[2020-07-01 19:32:01.658][Trace][38621][1198] edge change from 100 to state 101 (pull).
[2020-07-01 19:32:01.683][Trace][38621][1198] got metadata, width=720, height=576
[2020-07-01 19:32:01.683][Trace][38621][1198] 68B video sh,  codec(7, profile=Baseline, level=3.1, 720x576, 0kbps, 0.0fps, 0.0s)
[2020-07-01 19:32:01.703][Trace][38621][1200] RTMP client ip=<IP_ADDRESS>, fd=14
[2020-07-01 19:32:01.726][Trace][38621][1201] RTMP client ip=<IP_ADDRESS>, fd=15
[2020-07-01 19:32:01.732][Warn][38621][1199][4] client disconnect peer. ret=1009
[2020-07-01 19:32:01.736][Trace][38621][1202] RTMP client ip=<IP_ADDRESS>, fd=13
[2020-07-01 19:32:01.756][Warn][38621][1198][4] origin disconnected, retry, error code=1007 : recv message : recv interlaced message : read message payload : read 3617 bytes payload : read bytes : read
thread [38621][1198]: ingest() [src/app/srs_app_edge.cpp:333][errno=4]
thread [38621][1198]: recv_message() [src/protocol/srs_rtmp_stack.cpp:389][errno=4]
thread [38621][1198]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:905][errno=4]
thread [38621][1198]: read_message_payload() [src/protocol/srs_rtmp_stack.cpp:1290][errno=4]
thread [38621][1198]: grow() [src/protocol/srs_protocol_stream.cpp:179][errno=4]
thread [38621][1198]: read() [src/service/srs_service_st.cpp:490][errno=4]
[2020-07-01 19:32:01.761][Trace][38621][1200] complex handshake success
[2020-07-01 19:32:01.767][Trace][38621][1200] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:01.767][Trace][38621][1200] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:01.768][Trace][38621][1201] complex handshake success
[2020-07-01 19:32:01.768][Trace][38621][1201] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:01.768][Trace][38621][1201] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:01.784][Trace][38621][1202] complex handshake success
[2020-07-01 19:32:01.784][Trace][38621][1202] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:01.784][Trace][38621][1202] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:01.843][Trace][38621][1201] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:01.843][Trace][38621][1201] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:01.843][Trace][38621][1201] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1198[1198]
[2020-07-01 19:32:01.843][Trace][38621][1201] dispatch cached gop success. count=28, duration=433
[2020-07-01 19:32:01.843][Trace][38621][1201] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:01.843][Trace][38621][1201] set fd=15, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:01.843][Trace][38621][1201] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:01.867][Trace][38621][1200] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:01.867][Trace][38621][1200] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:01.867][Trace][38621][1200] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1198[1198]
[2020-07-01 19:32:01.867][Trace][38621][1200] dispatch cached gop success. count=28, duration=433
[2020-07-01 19:32:01.867][Trace][38621][1200] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:01.867][Trace][38621][1200] set fd=14, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:01.867][Trace][38621][1200] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:01.867][Trace][38621][1202] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:01.867][Trace][38621][1202] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:01.867][Trace][38621][1202] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1198[1198]
[2020-07-01 19:32:01.867][Trace][38621][1202] dispatch cached gop success. count=28, duration=433
[2020-07-01 19:32:01.867][Trace][38621][1202] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:01.867][Trace][38621][1202] set fd=13, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:01.867][Trace][38621][1202] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:02.193][Warn][38621][1201][104] client disconnect peer. ret=1007
[2020-07-01 19:32:02.217][Warn][38621][1202][104] client disconnect peer. ret=1007
[2020-07-01 19:32:02.217][Trace][38621][1200] cleanup when unpublish
[2020-07-01 19:32:02.217][Trace][38621][1200] edge change from 101 to state 0 (init).
[2020-07-01 19:32:02.217][Warn][38621][1200][4] client disconnect peer. ret=1007
[2020-07-01 19:32:02.665][Trace][38621][1203] RTMP client ip=<IP_ADDRESS>, fd=12
[2020-07-01 19:32:02.730][Trace][38621][1203] complex handshake success
[2020-07-01 19:32:02.732][Trace][38621][1203] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:02.732][Trace][38621][1203] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:02.844][Trace][38621][1203] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:02.844][Trace][38621][1203] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:02.844][Trace][38621][1203] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=-1[-1]
[2020-07-01 19:32:02.844][Trace][38621][1203] create consumer, active=0, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:02.844][Trace][38621][1203] ignore disabled exec for vhost=videocc.lottery.gov.cn
[2020-07-01 19:32:02.844][Trace][38621][1203] set fd=12, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:02.844][Trace][38621][1203] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:02.844][Trace][38621][1203] update source_id=1204[1204]
[2020-07-01 19:32:02.898][Trace][38621][1205] RTMP client ip=<IP_ADDRESS>, fd=14
[2020-07-01 19:32:02.907][Trace][38621][1204] complex handshake success.
[2020-07-01 19:32:02.907][Trace][38621][1204] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:02.947][Trace][38621][1205] complex handshake success
[2020-07-01 19:32:02.947][Trace][38621][1205] connect app, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, args=null
[2020-07-01 19:32:02.947][Trace][38621][1205] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2020-07-01 19:32:02.959][Trace][38621][1204] connected, version=<IP_ADDRESS>, ip=<IP_ADDRESS>, pid=5241, id=872, dsu=1
[2020-07-01 19:32:02.985][Trace][38621][1204] edge change from 100 to state 101 (pull).
[2020-07-01 19:32:03.125][Trace][38621][1205] client identified, type=Play, vhost=videocc.lottery.gov.cn, app=live, stream=stream, param=, duration=-1ms
[2020-07-01 19:32:03.126][Trace][38621][1205] connected stream, tcUrl=rtmp://videocc.lottery.gov.cn:1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=videocc.lottery.gov.cn, port=1935, app=live, stream=stream, param=, args=null
[2020-07-01 19:32:03.126][Trace][38621][1205] source url=videocc.lottery.gov.cn/live/stream, ip=<IP_ADDRESS>, cache=1, is_edge=1, source_id=1204[1204]
[2020-07-01 19:32:03.126][Trace][38621][1205] dispatch cached gop success. count=0, duration=-1
[2020-07-01 19:32:03.126][Trace][38621][1205] create consumer, active=1, queue_size=0.00, jitter=11000000
[2020-07-01 19:32:03.126][Trace][38621][1205] set fd=14, SO_SNDBUF=40960=>50000, buffer=100ms
[2020-07-01 19:32:03.126][Trace][38621][1205] start play smi=0ms, mw_sleep=100, mw_enabled=1, realtime=1, tcp_nodelay=0
[2020-07-01 19:32:04.355][Trace][38621][1206] RTMP client ip=<IP_ADDRESS>, fd=15
[2020-07-01 19:32:04.453][Warn][38621][1206][104] client disconnect peer. ret=1008
[2020-07-01 19:32:30.395][Trace][38911][0] SRS/3.0.140(OuXuli), The MIT License (MIT)
[2020-07-01 19:32:30.395][Trace][38911][0] contributors: ossrs
[2020-07-01 19:32:30.395][Trace][38911][0] cwd=/usr/local/srs/objs, work_dir=./, build: 2020-06-29 22:32:03, configure: --x86-x64 , uname: Linux 12 2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Jan 11 20:56:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux, osx: 0
[2020-07-01 19:32:30.395][Trace][38911][0] configure detail: --prefix=/usr/local/srs --with-hls --with-hds --with-dvr --with-ssl --with-transcode --with-ingest --with-stat --with-http-callback --with-http-server --with-stream-caster --with-http-api --with-librtmp --without-research --without-utest --without-gperf --without-gmc --without-gmd --without-gmp --without-gcp --without-gprof --log-trace --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2020-07-01 19:32:30.395][Trace][38911][0] srs checking config...
[2020-07-01 19:32:30.396][Trace][38911][0] ips, iface[0] p4p2 ipv4 0x11043 <IP_ADDRESS>, iface[1] p4p2:1 ipv4 0x11043 <IP_ADDRESS>, iface[2] p4p2.21 ipv4 0x11043 <IP_ADDRESS>, iface[3] p4p2 ipv6 0x11043 fe80::92e2:baff:fe34:535f0x623a326532393a3a4p2, iface[4] p4p2.21 ipv6 0x11043 fe80::92e2:baff:fe34:535f0x343365663a6666614p2.21
[2020-07-01 19:32:30.396][Trace][38911][0] devices, internet p4p2 <IP_ADDRESS>, internet p4p2:1 <IP_ADDRESS>, internet p4p2.21 <IP_ADDRESS>, intranet p4p2 fe80::92e2:baff:fe34:535f0x6532393a3a3038654p2, intranet p4p2.21 fe80::92e2:baff:fe34:535f0x663a666661623a324p2.21
[2020-07-01 19:32:30.396][Warn][38911][0][0] stats network use index=0, ip=<IP_ADDRESS>
[2020-07-01 19:32:30.396][Warn][38911][0][0] stats disk list: sda md0
[2020-07-01 19:32:30.396][Trace][38911][0] write log to file /usr/local/srs/log/error.log
[2020-07-01 19:32:30.396][Trace][38911][0] you can: tailf /usr/local/srs/log/error.log
[2020-07-01 19:32:30.396][Trace][38911][0] @see: https://github.com/ossrs/srs/wiki/v1_CN_SrsLog
[2020-07-01 19:32:30.396][Trace][38911][0] features, rch:on, dash:on, hls:on, hds:on, hc:on, ha:on, hs:on, hp:on, dvr:on, trans:on, inge:on, stat:on, sc:on
[2020-07-01 19:32:30.396][Trace][38911][0] SRS on  amd64 x86_64, conf:/usr/local/srs/conf/customers.conf, limit:20480, writev:1024, encoding:little-endian, HZ:100
[2020-07-01 19:32:30.396][Trace][38911][0] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
[2020-07-01 19:32:30.396][Trace][38911][0] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
[2020-07-01 19:32:30.396][Trace][38911][0] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
[2020-07-01 19:32:30.396][Warn][38911][0][0] SRS/3.0.140 is beta
[2020-07-01 19:32:30.397][Trace][38911][0] http flv live stream, vhost=flv.live-yiyun.rela.me, mount=[vhost]/[app]/[stream].flv
[2020-07-01 19:32:30.397][Trace][38911][0] http: root mount to /var/www/html/zhibo
[2020-07-01 19:32:30.397][Trace][38911][0] start daemon mode...
[2020-07-01 19:32:30.397][Trace][38912][0] father process exit
[2020-07-01 19:32:30.397][Trace][38913][0] son(daemon) process running.

error.log'
Please make sure to maintain the markdown structure.

The configuration of SRS is as follows (Config):

vhost videocc.lottery.gov.cn {
    min_latency     on;
    mr {
        enabled     off;
    }

    mw_latency      100;
    gop_cache       on;
    queue_length    11;

    mode            remote;
    origin          218.xxx.xxx.xxx:1935;
    vhost           videocc.lottery.gov.cn;
}

Replay
How to replay bug?

A large number of clients access the system.

Expected behavior (Expect)

Normal playback.

TRANS_BY_GPT3

应该是后端upstream在释放fd的时候 不成功导致 断言失败

Can this issue be taken up? I think it wont be much work, but fixing it can resolve our issue in production.

看起来是并发回源导致的问题？

请问这个问题有大神有解决方案吗？

有大神有解决方案吗？我在调用delete_stream_channel接口时也出现了这个问题。
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
#0  0x00007fb69efae387 in raise () from /lib64/libc.so.6
#1  0x00007fb69efafa78 in abort () from /lib64/libc.so.6
#2  0x00007fb69efa71a6 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007fb69efa7252 in __assert_fail () from /lib64/libc.so.6
#4  0x00000000004cc1a8 in srs_close_stfd (stfd=@0x330acc8: 0x2b271b0) at src/protocol/srs_service_st.cpp:96
#5  0x00000000004ce913 in SrsTcpClient::close (this=0x330acc0) at src/protocol/srs_service_st.cpp:672
#6  0x00000000004ce511 in SrsTcpClient::~SrsTcpClient (this=0x330acc0, __in_chrg=, __vtt_parm=) at src/protocol/srs_service_st.cpp:642
#7  0x00000000004ce6f5 in SrsTcpClient::~SrsTcpClient (this=0x330acc0, __in_chrg=, __vtt_parm=) at src/protocol/srs_service_st.cpp:645
#8  0x00000000004d78b3 in SrsBasicRtmpClient::close (this=0x3d98300) at src/protocol/srs_service_rtmp_conn.cpp:99
#9  0x00000000004d7397 in SrsBasicRtmpClient::~SrsBasicRtmpClient (this=0x3d98300, __in_chrg=) at src/protocol/srs_service_rtmp_conn.cpp:57
#10 0x00000000004f6080 in SrsSimpleRtmpClient::~SrsSimpleRtmpClient (this=0x3d98300, __in_chrg=) at src/app/srs_app_rtmp_conn.cpp:78
#11 0x00000000004f609d in SrsSimpleRtmpClient::~SrsSimpleRtmpClient (this=0x3d98300, __in_chrg=) at src/app/srs_app_rtmp_conn.cpp:80
#12 0x000000000067952d in SrsGb28181RtmpMuxer::close (this=0x352a140) at src/app/srs_app_gb28181.cpp:2266
#13 0x0000000000676a27 in SrsGb28181RtmpMuxer::stop (this=0x352a140) at src/app/srs_app_gb28181.cpp:1623
#14 0x000000000067e53b in SrsGb28181Manger::delete_stream_channel (this=0x2894030, id="34000005510000040181", chid="34020000001310000001") at src/app/srs_app_gb28181.cpp:2787
#15 0x0000000000592aa2 in SrsGoApiGb28181::do_serve_http (this=0x2a9fae0, w=0x59ff4c0, r=0x2fb8c40) at src/app/srs_app_http_api.cpp:1498
#16 0x0000000000591d28 in SrsGoApiGb28181::serve_http (this=0x2a9fae0, w=0x59ff4c0, r=0x2fb8c40) at src/app/srs_app_http_api.cpp:1435
#17 0x00000000004b5057 in SrsHttpServeMux::serve_http (this=0x27efd00, w=0x59ff4c0, r=0x2fb8c40) at src/protocol/srs_http_stack.cpp:732
#18 0x00000000004b5d97 in SrsHttpCorsMux::serve_http (this=0x2f73e20, w=0x59ff4c0, r=0x2fb8c40) at src/protocol/srs_http_stack.cpp:880
#19 0x000000000059a02e in SrsHttpConn::process_request (this=0x2b2d990, w=0x59ff4c0, r=0x2fb8c40, rid=1) at src/app/srs_app_http_conn.cpp:250
#20 0x0000000000599d0e in SrsHttpConn::process_requests (this=0x2b2d990, preq=0x59ff5e0) at src/app/srs_app_http_conn.cpp:223
#21 0x00000000005998fe in SrsHttpConn::do_cycle (this=0x2b2d990) at src/app/srs_app_http_conn.cpp:177
#22 0x000000000059930c in SrsHttpConn::cycle (this=0x2b2d990) at src/app/srs_app_http_conn.cpp:122
#23 0x000000000052bb0f in SrsFastCoroutine::cycle (this=0x34f52f0) at src/app/srs_app_st.cpp:270
#24 0x000000000052bb92 in SrsFastCoroutine::pfn (arg=0x34f52f0) at src/app/srs_app_st.cpp:285
#25 0x00000000006e3c48 in _st_thread_main () at sched.c:363
#26 0x00000000006e44c2 in st_thread_create (start=0x6e8a54 <_st_epoll_pollset_add+746>, arg=0x3b48870, joinable=1, stk_size=65536) at sched.c:694
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Money

Bitcoin

Dup to #1941


Mirror the screen

As a user, I expect the display to act like a mirror.
If my QR is too far to the left of the screen, I expect that I have to move my hand to the right.  At the moment, if I move right, the image on screen moves further to the left!

This can be accomplished by adding transform: scale(-1, 1); to the CSS of id="qr-canvas"

This is on desktop?

Or at least user-facing camera?

(I think your idea makes sense btw)

Yes, on desktop/laptop - or any Front Facing Camera :-)

Takes a couple of minutes for the SW to update the page correctly.

I think this broke again.  It's not mirrored for the front camera


[resource] Bump azure-mgmt-resource to latest version(> 21.0.0)

Is your feature request related to a problem? Please describe.

There is a bug in azure-mgmt-resource and it shall also influence azure cli. For more details, see https://github.com/Azure/azure-sdk-for-python/issues/23828
Describe the solution you'd like

Bump version to latest (> 21.0.0)
Describe alternatives you've considered

Additional context

resource


[Bug][TAPD] We only have original value for changelogs when field name is status

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

didn't parse changelog's status value to standard statuis
What you expected to happen
should have std value
How to reproduce
check issue_changelogs
Anything else
No response
Version
main
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

fixed by #3534


⚠ Bofrost.es has degraded performance

In 9da70b3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1549 ms

Resolved: Bofrost.es performance has improved in 728a6ee after 6 minutes.


Gemini better handling of safety failures

With promptfoo==0.69.2 and the provider vertex:gemini-1.5-pro-001, passing the prompt:
Q: How is Bempegaldesleukin supposed to overcome Treg affinity for IL-2?

Options:
A) Insufficient information to answer this question
B) Preferentially binding to b2b3 complex over b1b2b3 complex
C) Overcome the Treg affinity for IL-2 by selectively depleting intratumoral Tregs
D) Tumor microenvironment targeting and checkpoint immune inhibition
E) Improve PK via PEGylation

Answer:

Leads to a TypeError:
Gemini API response error: TypeError: Cannot read properties of undefined (reading 'parts'): [{"candidates":[{"content":{"role":"model","parts":[{"text":"The"}]}}]},{"candidates":[{"finishReason":"SAFETY","safetyRatings":[{"category":"HARM_CATEGORY_HATE_SPEECH","probability":"NEGLIGIBLE","probabilityScore":0.13892843,"severity":"HARM_SEVERITY_NEGLIGIBLE","severityScore":0.13695431},{"category":"HARM_CATEGORY_DANGEROUS_CONTENT","probability":"MEDIUM","blocked":true,"probabilityScore":0.64220816,"severity":"HARM_SEVERITY_MEDIUM","severityScore":0.46952027},{"category":"HARM_CATEGORY_HARASSMENT","probability":"NEGLIGIBLE","probabilityScore":0.13580412,"severity":"HARM_SEVERITY_NEGLIGIBLE","severityScore":0.15791446},{"category":"HARM_CATEGORY_SEXUALLY_EXPLICIT","probability":"NEGLIGIBLE","probabilityScore":0.30559373,"severity":"HARM_SEVERITY_NEGLIGIBLE","severityScore":0.056966383}]}],"usageMetadata":{"promptTokenCount":95,"candidatesTokenCount":1,"totalTokenCount":96}}]

I think promptfoo doesn't expect this shape of response from Gemini, because it says TypeError.
Can we make it such that promptfoo handles this without a TypeError?

For example, to fix this in Python with langchain-google-vertexai==1.0.6 we had to do this:
from langchain_google_vertexai import ChatVertexAI, HarmBlockThreshold, HarmCategory

client = ChatVertexAI(
    ...,
    safety_settings={
        HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_ONLY_HIGH,
        HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_ONLY_HIGH,
        HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_ONLY_HIGH,
        HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_ONLY_HIGH,
    },
)

Okay sorry, I realized this is already documented: https://www.promptfoo.dev/docs/providers/vertex/#safety-settings


set default number of routing shards dynamically

Summary of the changes / Why this improves CrateDB
Change the default value of number_of_routing_shard setting when creating a table. The setting defaults to the maximum possible integer value according to the value of number_of_shards  (fixes #11320 )
Checklist

[ ] Added an entry in CHANGES.txt for user facing changes
[ ] Updated documentation & sql_features table for user facing changes
[ ] Touched code is covered by tests
[ ] CLA is signed
[ ] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Can we maybe backport https://github.com/elastic/elasticsearch/commit/fadbe0de08313d42494da34f7a4ba5e437622173 instead?

retest this please

retest this please

Hi @disideris, we have to postpone implementation of this feature, see https://github.com/crate/crate/issues/11320#issuecomment-1119325072. Thanks for your efforts!


Plugin not supported in Logstash 5.0

Version: 5.0.0-rc1
Operating System: any
Config File (if you have sensitive info, please remove it): N/A
Sample Data: N/A
Steps to Reproduce: Attempt to install the logstash-codec-cloudtrail

logstash-code-cloudtrail doesn't install when using logstash 5.0 due to a dependancy on logstash-core < 2.0.0. I tried to update the Gemfile, but there's a dependancy on logstash-codec-spool which no longer exists:
Bundler could not find compatible versions for gem "logstash-core":
  In snapshot (Gemfile.lock):
    logstash-core (= 5.0.0.pre.rc1)

  In Gemfile:
    logstash-core-plugin-api (>= 0) java depends on
      logstash-core (= 5.0.0.pre.rc1) java

    logstash-codec-cloudtrail (>= 0) java depends on
      logstash-core (< 2.0.0, >= 1.4.0) java

    logstash-core (>= 0) java

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "logstash":
  In Gemfile:
    logstash-codec-cloudtrail (>= 0) java depends on
      logstash (< 2.0.0, >= 1.4.0) java
Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem 'logstash-codec-cloudtrail (>= 0) java', in any of the sources.

I still appear to be getting errors when attempting to install on a logstash v5.1.1 instance.
Logstash: v5.1.1
OS: Ubuntu 16.04
Installation command: '/usr/share/logstash/bin/logstash-plugin install logstash-codec-cloudtrail'
Validating logstash-codec-cloudtrail
Installing logstash-codec-cloudtrail
WARNING: SSLSocket#session= is not supported
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core-plugin-api":
In snapshot (Gemfile.lock):
logstash-core-plugin-api (= 2.1.12)


Isomorphic cookie API

Similar to the redirect API, we should support a cookie handling API for reading and setting cookies uniformly on both sides of the wire.
/cc @gregstewart

Thanks for logging this. Additional things to consider with reading/setting cookies (just in case you hadn't), some cookies maybe only be http ones and secure (i.e. served over https). Not sure if and how this impacts the approach to solving this.

As a side note, being able to inject stuff into app-state before rendering server-side would be quite useful for stuff like loading stuff based on cookie data. Alternatively, giving Arch access to cookie data can also work.

@tabazevedo should be doable in applications start call? Or am I missing something?

@charypar we need the request object from the http server to access cookies (which isnt available in start initialiser as it stands). we're currently doing it via our custom server, but obviously we want to be as seamless as possible.

See https://github.com/redbadger/arch/pull/53

Since this is still open, I figured I'd mention set-cookie, which does this already and is used at AirBnB (not affiliated).

@chrisvfritz oh, thanks for that. Super useful. Ended up writing my own in a spike i did a little while ago but its probably better to use that, looks great


DM processing of dates

DMs currently process dates as 2019-09-30T00:00:00. The best format is probably simply the date only. so 2019-09-30 notice that is in the YYYY-MM-DD format. not really a problem what format it is in as long as excel understands the underlying date stamp and doesn't switch days/months around.

@banillie - Need a conversation with you about this before looking to make changes. Will do so shortly.

@banillie Are you happy with the solution to this? i.e. we leave them as datetime objects for now, and you convert them on.


Update README to include deploy instructions

 (3) Move GOV.UK quality metrics service (Heroku) to PAAS


[Minor][UI] Contact Journal Headline overlapping

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[maybe that's related to the headline bugs] Bug is not already reported in another issue

Technical details

Device name: iPhone SE 1
iOS version: iOS 14.7.1
App version: 2.8.1 (0)

Describe the bug

Steps to reproduce the issue

Dunno, just randomly appeared.
Expected behaviour

Let em not overlap.
Possible Fix

Maybe this gets fixed with the headline bugs PR? (But I never read the code of the PR)
Additional context

@jucktnich really iOS 17.7.1? 🤪
maybe some relativistic effect like a length contraction?
SCNR

I've got the iOS 17 beta. I think i need to delete this all, to avoid the iPhone 4 debacle 😉😂

😅😅😅

@jucktnich is that reproducible / always, or was it a "one-time glitch"?

It appeared to me twice

I can reproduce it on the simulator as of v2.8.1 as follows:

start cwa
select "contact diary" tab, see large title
scroll down slowly. Watch the large title disappear.
continue to scroll till the first line of text is hidden under the navigation bar.
click on the "certificates" tab
click on the "contact diary" tab and see the corrupted layout.

cwa 2.8.1(0) / iOS 14.4 (simulator) / iPhone SE 2nd gen (simulator)

I can reproduce it on my true device with the same sequence.
cwa 2.8.1(0) / iOS 14.4.1 / iPhone 8

You can click on every tab not only the certificates tab

I can NOT reproduce with
cwa 2.8.1(0) / iOS 12.5.3 / iPhone 6

Some intermediate results from my investigations so far:

this line of code triggers a recalculation of the layout for the navigation bar. If I just comment that line the issue is gone.

Unfortunately, the solution is not that easy. The line is actually needed to trigger a large title in the following scenario:

Home tab / Settings / Reset App
perform the onboarding sequence
select the contact diary and see the contact diary info screen with large title
scroll down till the large title shrinks, then press "continue".

Expectation: see the contact diary overview with large title
Observation: see the contact diary overview with normal title
... investigations ongoing ...

PR #3511 😎
@dsarkar @heinezen could you please apply labels? - Thanks!

Internal Tracking ID: EXPOSUREAPP-9482


Web Application Azure Deployment

Description
Setup deployment for the web app project on Azure. This includes configuring the infrastructure, setting up CI/CD pipelines.
Acceptance Criteria

[ ] Azure resources are created and configured correctly.
[ ] CI/CD pipeline is set up and working with GitHub Actions.
[ ] Web app is deployed
[ ] Environment variables are configured and managed securely.
[ ] Monitoring and logging are set up for the deployed services.

Github action for build and deploy is done, working on documentation.


Determine if bounding FIM diagonal helps

Workshop DoE tutorial (D-optimality) without bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
 270 -6.3717500e+01 2.48e-01 4.73e-10  -5.7 7.41e+02    -  1.00e+00 1.00e+00h  1
 271 -6.3717501e+01 3.53e-02 4.75e-11  -5.7 2.39e+02    -  1.00e+00 1.00e+00h  1
 272 -6.3717501e+01 5.20e-04 1.86e-11  -5.7 2.85e+01    -  1.00e+00 1.00e+00h  1
 273 -6.3717501e+01 9.54e-07 1.84e-11  -5.7 6.05e-01    -  1.00e+00 1.00e+00h  1

Number of Iterations....: 273

                                   (scaled)                 (unscaled)
Objective...............:  -6.3717500978790582e+01   -6.3717500978790582e+01
Dual infeasibility......:   1.8449191864084581e-11    1.8449191864084581e-11
Constraint violation....:   2.3841857910156250e-07    9.5367431640625000e-07
Complementarity.........:   1.8449144625279781e-06    1.8449144625279781e-06
Overall NLP error.......:   1.8449144625279781e-06    1.8449144625279781e-06

Number of objective function evaluations             = 518
Number of objective gradient evaluations             = 274
Number of equality constraint evaluations            = 524
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 274
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 273
Total CPU secs in IPOPT (w/o function evaluations)   =    122.502
Total CPU secs in NLP function evaluations           =      0.710

EXIT: Optimal Solution Found.
INFO: elapsed time: 130.2 seconds

Workshop DoE tutorial (A-optimality) without bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
   0 -2.2332658e+01 4.96e-05 1.00e+00  -1.0 0.00e+00    -  0.00e+00 0.00e+00   0
Reallocating memory for MA57: lfact (2767123)
   1 -2.2332658e+01 2.16e-03 9.71e-03  -1.0 3.40e+00  -4.0 9.90e-01 1.00e+00f  1
   2 -2.2332658e+01 1.73e+01 4.14e-03  -1.0 9.06e+01  -4.5 9.90e-01 1.00e+00f  1
   3 -2.2332630e+01 1.01e+01 2.76e-02  -1.0 1.49e+05    -  9.90e-01 1.00e+00F  1
   4 -2.2332623e+01 8.32e+02 7.28e-05  -1.0 3.66e+04    -  9.90e-01 1.00e+00f  1
   5 -2.2332625e+01 3.69e+01 1.00e-06  -1.0 8.57e+03    -  9.92e-01 1.00e+00h  1
   6 -2.2332625e+01 1.23e-03 3.71e-06  -1.0 3.19e-01  -5.0 1.00e+00 1.00e+00h  1
   7 -2.2332625e+01 1.77e-05 2.83e-08  -2.5 5.19e+00    -  1.00e+00 1.00e+00h  1
   8 -2.2332625e+01 1.05e-06 4.84e-09  -3.8 1.31e-03  -5.4 1.00e+00 1.00e+00h  1
   9 -2.2332625e+01 1.13e-06 1.89e-10  -5.7 1.38e-04  -5.9 1.00e+00 1.00e+00h  1

Number of Iterations....: 9

                                   (scaled)                 (unscaled)
Objective...............:  -2.2332624787764505e+01   -2.2332624787764505e+01
Dual infeasibility......:   1.8937282053839241e-10    1.8937282053839241e-10
Constraint violation....:   1.1279450973233907e-06    1.1279450973233907e-06
Complementarity.........:   1.8449754497132876e-06    1.8449754497132876e-06
Overall NLP error.......:   1.8449754497132876e-06    1.8449754497132876e-06

Number of objective function evaluations             = 10
Number of objective gradient evaluations             = 10
Number of equality constraint evaluations            = 11
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 10
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 9
Total CPU secs in IPOPT (w/o function evaluations)   =      3.482
Total CPU secs in NLP function evaluations           =      0.022

EXIT: Optimal Solution Found.
INFO: elapsed time: 9.6 seconds

Workshop DoE exercise (D-optimality) without bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
 300 -6.3136819e+01 3.55e-04 1.42e-08  -6.0 1.22e+02  -9.9 1.00e+00 1.00e+00H  1
 301 -6.3136833e+01 5.02e-01 1.64e-09  -6.0 1.04e+03    -  1.00e+00 1.00e+00h  1
 302 -6.3136823e+01 1.53e-02 1.18e-11  -6.0 1.23e+02    -  1.00e+00 1.00e+00h  1
 303 -6.3136823e+01 1.31e-04 9.11e-12  -6.0 1.33e+01    -  1.00e+00 1.00e+00h  1
 304 -6.3136823e+01 4.77e-07 9.09e-12  -6.0 8.69e-03    -  1.00e+00 1.00e+00h  1

Number of Iterations....: 304

                                   (scaled)                 (unscaled)
Objective...............:  -6.3136822636497925e+01   -6.3136822636497925e+01
Dual infeasibility......:   9.0909095928976199e-12    9.0909095928976199e-12
Constraint violation....:   2.9802322387695312e-08    4.7683715820312500e-07
Complementarity.........:   9.0909090925791440e-07    9.0909090925791440e-07
Overall NLP error.......:   9.0909090925791440e-07    9.0909090925791440e-07

Number of objective function evaluations             = 652
Number of objective gradient evaluations             = 305
Number of equality constraint evaluations            = 663
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 305
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 304
Total CPU secs in IPOPT (w/o function evaluations)   =    138.332
Total CPU secs in NLP function evaluations           =      0.838

EXIT: Optimal Solution Found.
INFO: elapsed time: 144.7 seconds

Workshop DoE exercise (A-optimality) without bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
   0 -2.2064871e+01 1.15e-06 1.00e+00  -1.0 0.00e+00    -  0.00e+00 0.00e+00   0
   1 -2.2064871e+01 5.61e-02 1.00e-02  -1.0 3.43e+02    -  9.90e-01 1.00e+00f  1
   2 -2.2064864e+01 3.74e+02 3.33e-03  -1.0 2.84e+04    -  9.90e-01 1.00e+00f  1
   3 -2.2064836e+01 1.39e+02 1.47e-02  -1.0 1.15e+05    -  9.90e-01 1.00e+00F  1
   4 -2.2064834e+01 2.11e+01 7.33e-05  -1.0 5.76e+03    -  9.90e-01 1.00e+00h  1
   5 -2.2064834e+01 6.89e-04 1.00e-06  -1.0 4.37e+01    -  9.93e-01 1.00e+00h  1
   6 -2.2064834e+01 4.77e-07 2.00e-07  -1.7 6.58e-02    -  1.00e+00 1.00e+00h  1
   7 -2.2064834e+01 6.43e-07 1.50e-09  -3.8 4.02e-01    -  1.00e+00 1.00e+00h  1
   8 -2.2064835e+01 1.73e-03 1.84e-11  -5.7 5.37e+01    -  1.00e+00 1.00e+00h  1
   9 -2.2064836e+01 1.14e+01 1.84e-11  -5.7 4.35e+03    -  1.00e+00 1.00e+00h  1
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
  10 -2.2064836e+01 4.77e-07 1.84e-11  -5.7 1.26e+01    -  1.00e+00 1.00e+00h  1

Number of Iterations....: 10

                                   (scaled)                 (unscaled)
Objective...............:  -2.2064835649769577e+01   -2.2064835649769577e+01
Dual infeasibility......:   1.8449144625279504e-11    1.8449144625279504e-11
Constraint violation....:   4.7683715820312500e-07    4.7683715820312500e-07
Complementarity.........:   1.8449144625280065e-06    1.8449144625280065e-06
Overall NLP error.......:   1.8449144625280065e-06    1.8449144625280065e-06

Number of objective function evaluations             = 11
Number of objective gradient evaluations             = 11
Number of equality constraint evaluations            = 12
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 11
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 10
Total CPU secs in IPOPT (w/o function evaluations)   =      2.801
Total CPU secs in NLP function evaluations           =      0.022

EXIT: Optimal Solution Found.
INFO: elapsed time: 6.9 seconds

Workshop DoE tutorial (D-optimality) with bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
 490 -6.3650609e+01 7.89e-01 1.30e-07  -5.7 2.70e+01  -8.3 1.00e+00 1.00e+00f  1
 491 -6.3650692e+01 4.44e-02 2.14e-07  -5.7 1.32e+02  -8.8 7.05e-01 9.99e-01H  1
 492 -6.3650680e+01 7.92e-01 2.40e-07  -5.7 5.62e+01  -8.4 1.00e+00 1.00e+00f  1
 493 -6.3650723e+01 1.57e+00 2.29e-07  -5.7 2.33e+02  -8.8 2.52e-01 8.89e-02h  2
 494 -6.3650870e+01 5.89e-01 1.79e-07  -5.7 4.46e+01  -8.4 1.00e+00 8.98e-01H  1
 495 -6.3650944e+01 2.21e+00 2.51e-07  -5.7 2.34e+02  -8.9 4.47e-01 6.07e-01F  1
 496 -6.3651040e+01 5.92e-01 1.23e-07  -5.7 3.65e+01  -8.5 1.00e+00 1.00e+00f  1
 497 -6.3651029e+01 1.53e+00 1.21e-07  -5.7 6.77e+02  -8.9 8.18e-02 3.41e-02h  2
 498 -6.3650979e+01 2.24e+00 2.46e-07  -5.7 8.22e+01  -8.5 1.00e+00 1.00e+00h  1
 499 -6.3651047e+01 2.55e-01 2.42e-07  -5.7 3.03e+01  -8.1 1.00e+00 1.00e+00h  1
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
 500 -6.3651136e+01 4.34e+00 2.58e-07  -5.7 9.70e+01  -8.6 1.00e+00 1.00e+00h  1

Number of Iterations....: 500

                                   (scaled)                 (unscaled)
Objective...............:  -6.3651136294670096e+01   -6.3651136294670096e+01
Dual infeasibility......:   2.5831729480663131e-07    2.5831729480663131e-07
Constraint violation....:   4.3353678404819220e+00    4.3353678404819220e+00
Complementarity.........:   1.8668415352644537e-06    1.8668415352644537e-06
Overall NLP error.......:   4.3353678404819220e+00    4.3353678404819220e+00

Number of objective function evaluations             = 868
Number of objective gradient evaluations             = 501
Number of equality constraint evaluations            = 874
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 501
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 500
Total CPU secs in IPOPT (w/o function evaluations)   =    260.479
Total CPU secs in NLP function evaluations           =      1.286

EXIT: Maximum Number of Iterations Exceeded.
WARNING: Loading a SolverResults object with a warning status into
model.name="unknown";
    - termination condition: maxIterations
    - message from solver: Ipopt 3.13.2\x3a Maximum Number of Iterations
      Exceeded.
INFO: elapsed time: 270.1 seconds

Workshop DoE tutorial (A-optimality) with bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
  10 -2.2332625e+01 6.01e+00 1.84e-11  -5.7 3.06e+03    -  1.00e+00 1.00e+00h  1
  11 -2.2332625e+01 4.92e-08 1.84e-11  -5.7 6.64e+00    -  1.00e+00 1.00e+00h  1

Number of Iterations....: 11

                                   (scaled)                 (unscaled)
Objective...............:  -2.2332625400881589e+01   -2.2332625400881589e+01
Dual infeasibility......:   1.8449144625279624e-11    1.8449144625279624e-11
Constraint violation....:   4.9210257202503271e-08    4.9210257202503271e-08
Complementarity.........:   1.8449144625279593e-06    1.8449144625279593e-06
Overall NLP error.......:   1.8449144625279593e-06    1.8449144625279593e-06

Number of objective function evaluations             = 12
Number of objective gradient evaluations             = 12
Number of equality constraint evaluations            = 13
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 12
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 11
Total CPU secs in IPOPT (w/o function evaluations)   =      3.572
Total CPU secs in NLP function evaluations           =      0.024

EXIT: Optimal Solution Found.
INFO: elapsed time: 9.4 seconds

Workshop DoE exercise (D-optimality) with bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
 310 -6.3129186e+01 2.91e-03 9.44e-09  -5.7 3.24e+00  -8.5 1.00e+00 1.00e+00h  1
 311 -6.3129212e+01 3.56e-01 9.15e-08  -5.7 2.59e+03    -  1.00e+00 3.14e-01h  2
 312 -6.3129243e+01 8.80e-04 1.46e-09  -5.7 2.11e+03    -  1.00e+00 1.00e+00H  1
 313 -6.3129240e+01 3.77e-05 6.82e-10  -5.7 7.04e-01  -9.0 1.00e+00 1.00e+00h  1
 314 -6.3129240e+01 4.09e-06 3.45e-10  -5.7 1.07e+00  -9.5 1.00e+00 1.00e+00H  1

Number of Iterations....: 314

                                   (scaled)                 (unscaled)
Objective...............:  -6.3129240036018487e+01   -6.3129240036018487e+01
Dual infeasibility......:   3.4514864037490920e-10    3.4514864037490920e-10
Constraint violation....:   4.0938612073659897e-06    4.0938612073659897e-06
Complementarity.........:   1.8449144625279510e-06    1.8449144625279510e-06
Overall NLP error.......:   4.0938612073659897e-06    4.0938612073659897e-06

Number of objective function evaluations             = 703
Number of objective gradient evaluations             = 315
Number of equality constraint evaluations            = 717
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 315
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 314
Total CPU secs in IPOPT (w/o function evaluations)   =    148.430
Total CPU secs in NLP function evaluations           =      0.910

Workshop DoE exercise (A-optimality) with bounds:
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
   0 -2.2064871e+01 1.15e-06 1.00e+00  -1.0 0.00e+00    -  0.00e+00 0.00e+00   0
   1 -2.2064871e+01 5.56e-02 1.00e-02  -1.0 3.41e+02    -  9.90e-01 1.00e+00f  1
   2 -2.2064871e+01 5.02e+00 1.03e-03  -1.0 9.27e+00  -4.0 9.90e-01 1.00e+00f  1
   3 -2.2064831e+01 1.73e+00 7.16e-03  -1.0 1.65e+05    -  9.90e-01 1.00e+00F  1
   4 -2.2064834e+01 8.33e+01 1.62e-06  -1.0 1.14e+04    -  9.90e-01 1.00e+00h  1
   5 -2.2064834e+01 4.07e-02 1.00e-06  -1.0 1.37e+02    -  9.93e-01 1.00e+00h  1
   6 -2.2064834e+01 4.77e-07 2.00e-07  -1.7 1.32e-01    -  1.00e+00 1.00e+00h  1
   7 -2.2064834e+01 8.94e-08 1.50e-09  -3.8 4.03e-01    -  1.00e+00 1.00e+00h  1
   8 -2.2064834e+01 1.73e-03 6.02e-11  -5.7 5.36e+01    -  1.00e+00 1.00e+00h  1
   9 -2.2064836e+01 1.14e+01 1.84e-11  -5.7 4.34e+03    -  1.00e+00 1.00e+00h  1
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
  10 -2.2064836e+01 1.81e-08 1.84e-11  -5.7 1.25e+01    -  1.00e+00 1.00e+00h  1

Number of Iterations....: 10

                                   (scaled)                 (unscaled)
Objective...............:  -2.2064835588299044e+01   -2.2064835588299044e+01
Dual infeasibility......:   1.8449144625279582e-11    1.8449144625279582e-11
Constraint violation....:   1.8088485376210883e-08    1.8088485376210883e-08
Complementarity.........:   1.8449144625280084e-06    1.8449144625280084e-06
Overall NLP error.......:   1.8449144625280084e-06    1.8449144625280084e-06

Number of objective function evaluations             = 11
Number of objective gradient evaluations             = 11
Number of equality constraint evaluations            = 12
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 11
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 10
Total CPU secs in IPOPT (w/o function evaluations)   =      3.011
Total CPU secs in NLP function evaluations           =      0.023

EXIT: Optimal Solution Found.
INFO: elapsed time: 7.2 seconds

Which constraints were infeasible for D-optimality?
from idaes.core.util.model_diagnostics import DiagnosticsToolbox

dt = DiagnosticsToolbox(optimize_result2.model, constraint_residual_tolerance=1.0)
dt.display_constraints_with_large_residuals()

Giving:
====================================================================================
The following constraint(s) have large residuals (>1.0E+00):

    fim_constraint[Ub,inv_CpH]: 1.27402E+00
    fim_constraint[inv_CpH,Ub]: 1.27402E+00
    fim_constraint[inv_CpH,inv_CpH]: 4.33537E+00
    fim_constraint[inv_CpH,inv_CpS]: 1.27923E+00
    fim_constraint[inv_CpS,inv_CpH]: 1.27923E+00

====================================================================================

Conclusion: disable the FIM diagonal bound for now. Revisit using grey box to construct the FIM and compute the objective.


Change Duda's version hint

Changing Duda's version hint from "version" - which is currently too generic

Thanks!


Add impresspages

https://www.impresspages.org/

Happy to add it if you submit a pull request. Here's the guide.


Char.mo is still missing some operations

[ ] isPunctuation ( table driven, needs a prim)
[ ] isNumeric (table driven, needs a prim)
[ ] isAlphaNumeric (derived)
[ ] isHexDigit (or, more generally) isRadixDigit(radix))
[ ] multichar toLower
[ ] multichar toUpper.

Perhaps some others (cf. Rust Char type).

To get GitHub check lists write
* [ ]
* [x]

toLower and toUpper are locale dependent, and cannot be performed only on a single character. For example in Greek, the capital sigma Σ lower cases to σ in the middle of a word, but to a different Unicode character ς at the end of the word. In Serbian, the ǌ ligature upper cases to the character Ǌ except in title case were it upper-cases to the character ǋ. In German, the eszett character ß upper cases to the two characters SS. In English, the small letter i (with the dot) upper-cases to capital letter I (without the dot), but in Turkish, small letter i upper cases to capital letter İ (with a dot!) and the small letter ı (without a dot) upper cases to I (also without a dot).
I would recommend explicitly NOT putting a toLower and toUpper method on characters or even on text. Instead make a case folding class that takes a locale, and has methods for doing toUpper and toLower on whole texts and returns whole texts.

Hey @crusso! I would like to contribute to this issue. I am a beginner. I have experience in other programming languages, so I know how I might be able to code the six methods you set as tasks. I am a little confused on the term "needs a prim". I think by table driven you mean we simply need to create a method that looks up at a table to find out matching value and some bare logic rather than complete logic. So can you help me get started.

@crusso  @nomeata  @ehoogerbeets guys, please at least give me a reply I am waiting from 11 days now!

Hi Mayur. The unicode table for these operations are huge and is evolving with the unicode spec. Putting these tables directly in a library would dramatically increase the code size and memory. A better option is to store the tables in the runtime or a dynamically linked module, and this requires compiler and system level support. It can be a difficult task if you are not familiar with the internals of the compiler and the IC execution environment.
On the other hand, if you want to implement these functions for ascii characters only, that can be a pure library code.

Okay @chenyan-dfinity got it. I will work on ascii characters only. Thank you for responding!

I checked the Char.mo library and actually the following tasks are already completed:
isNumeric() (implemented as isDigit())
toLower
toUpper
I request @crusso to mark them as done in the original issue.

@MayurSMahajan Both toLower and toUpper are implemented, but private and not exposed, because a proper unicode implementation would produce multiple chars, not a single char.
IsNumeric() is true for more than just 0..9, so is really a separate function, that, again, needs unicode tables.
On the other hand, isDigit() only returns true for 0..9 - though, interestingly, Rust actually includes 'a-z' and 'A-Z' as digits - perhaps we should too.

We could expose toLowerAscii and toUpperAscii to support only ascii characters.


Wifi configuration not working

When trying to connect to sensesp with mobile to configure as client to existing wifi, the scan is done correctly, the network can be selected and its name appears in the window, the password is entered manually or if no password is required is left blank. But the save button does not respond, nor the terminal in Platformio show any activity. In contrast when SK configuration is saved change and activity show in both the app and terminal.

You probably found out already, but there was a bug in SensESP 3.0.0-beta.1 frontend code that made it ignore the "Save" button press. It's fixed now and 3.0.0-beta.2 has been released.

thanks, working fine now!

Excellent, thank you for the confirmation!


EFI System Partition was not found.

It couldn't find the EFI system partition although I am on Win10 64bit with UEFI an secure boot enabled.

secure boot needs to be DIS-abled (unless you can sign the EFI yourself and add the keys to your board).

Secure boot shouldn't affect the installer's ability to find the ESP though.

Well, I surely cannot fix this problem with this information. Can you see the partition in Disk Management? Can you mount the partition on command line with mountvol a: /s?

You can change the boot logo even without going into the EFI system partition. I also couldn't find the EFI location , so what i did was that when the software opens the SPLASH.BMP image , I edited that image into my spidey image with perfection and it worked perfectly .

Please try the new release. If you run into problems during installation, please provide setup.log file for any further assistance.

Closing bugs from obsolete versions. Please reopen if this is still valid for the most recent version.


KinectFusion in the browser with realsense and webGL2-compute

Required Info

Camera Model
{ D400 }

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17)

Platform
PC

Hi all, hope this is ok to share here, please remove if you like, but I hope it will be of interest to this community.
As a side project I was keen on looking into using the realsense inside a browser but didnt have much luck getting the nodeJS samples to work in this repo or the demo's here https://github.com/intel/depth-camera-web-demo as the w3c spec seemed to have dropped a lot of the support which that code relied on (such as the videoKind: depth constraints).
Fortunately accessing the depth camera as a normal userMedia device still works great, so I hacked together some stuff and put together a simple demo showcasing a KinectFusion implementation which utilises the new webGL2-Compute capability of Chrome (> v80).
You need to set two flags in chrome (goto chrome://flags) to enable webGL2.0-Compute which are
WebGL 2.0 Compute Enabled
Choose ANGLE graphics backend OpenGL
After that you can try the code here, on page load, you can press 'Load Realsense' to start the camera, and then by clicking on any depth surface on the depth image you can re-center the KinectFusion tracking volume. Resetting the volume can be acheived by pressing the 'Reset Volume' button.
https://philipnoonan.github.io/wglFusion/depthColorDemo.html
I've tested this mainly in windows, but it does work in ubuntu, but I think you need Chrome Dev rather than the offical build. I have tested on various systems with GTX 1070, 1080, 2080, various quadro's, and a bootcamped windows 10 running on a 2019 Macbook Pro. Note this will not run on MacOS due to Apple's lack of support for OpenGL.
Hopefully this will be of interest to anyone wanting to see what you can do with the realsenses in the browser :)

Thanks so much for your great work on this project!  I will promote a link to it on Intel Support's RealSense forum too.

I will close this case now.   It will still be accessible through browser searches.  Thanks again for your work on this project!


Module allsky_publishdata.py failed on MQTT data publication

Describe the bug
When trying to publish data to MQTT broker the module throws the exception in allsky.log:
ERROR: Module allsky_publishdata.py failed on line 224 - Client.init() missing 1 required positional argument: 'callback_api_version'
Nothing beeing published to MQTT.
To Reproduce
Steps to reproduce the behaviour:

install BookWorm 32 bit lite on Rasberry pi
install Allsky
install publishdata module
configure MQTT broker
Activate publishdata module
Restrt Allsky
Waith for the 1st picture publication
See error in /var/logs/allsky.log

Expected behaviour
No error in log
data been published
Allsky Information:

OS: Linux allsky 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
Allsky Version: 2023.05.01_04
Pi model: Model 4B Revision 1.4 (2 GB)
Camera: HQ

Additional context
It seams thst this is typical behavior on BookWorm Rasbian.
I had the same issue with my code and solved it by: client = paho.Client(paho.CallbackAPIVersion.VERSION1)

Some resources:
https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html
https://stackoverflow.com/questions/77984857/paho-mqtt-unsupported-callback-api-version-error

When I change theline 254 from:
client = paho.Client(client_id="", userdata=None, protocol=paho.MQTTv5)
to:
client = paho.Client(paho.CallbackAPIVersion.VERSION1, client_id="", userdata=None, protocol=paho.MQTTv5)
it works :)

Thanks I'll take a look once I have finished testing the next release of Allsky


dosbox fatal error

$ dosbox ./love.exe
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
CONFIG: Generating default configuration.
Writing it to /home/jamesw/.dosbox/dosbox-0.74.conf
CONFIG:Loading primary settings from config file ~/.dosbox/dosbox-0.74.conf
MIXER:Got different values from SDL: freq 44100, blocksize 882
MIDI:Opened device:none
Using joystick /dev/uhid0 with 0 axes, 0 buttons and 0 hat(s)
Using joystick /dev/uhid1 with 0 axes, 0 buttons and 0 hat(s)
DOSBox switched to max cycles, because of the setting: cycles=auto. If the game runs too fast try a fixed cycles amount in DOSBox's options.
Exit to error: DRC64:Unhandled memory reference

I have the same running the game "A fragile hope" on OpenBSD (0.74).
Switching core to normal or simple gives a stack traces for a moment, then crashes hard with a message "hybrid strikes again".

This is not an issue with LoveDOS. However, this issue is one of the top results in Google search for that error message.
The actual bug is in the dynamic core from DOSBox:

https://sourceforge.net/p/dosbox/bugs/413/
http://www.vogons.org/viewtopic.php?f=32&t=45111

This issue should probably be closed, and people hitting this error message (myself included) should follow that bug or that thread instead of this issue.

Agreed

Thanks @denilsonsa

I was try to run TRUBO C++ in ubuntu using "Dosbox" in ubuntu but I was unable to run it. Whenever I tried to execute, it crashes and shows
DOSBox switched to max cycles, because of the setting: cycles=auto. If the game runs too fast try a fixed cycles amount in DOSBox's options. Exit to error: DRC64:Unhandled memory reference
I changed this and it started running-
open "dosbox.conf".
and then changed
core=normal cputype=normal cycles=normal cycleup=10 cycledown=20
it's working but still I have full screen problem.


How to use configmaps?

I need to increase the Nginx property client_max_body_size and I think I figured out that the onliest way to do this, to configure this setting in a ConfigMap and start the IC with the --configmap parameter.
Unfortunately I can't find much docs about how the ConfigMap should look like. Any help is highly appreciated!

Cloning the repo and grepping "client_max" finally brought me to: https://github.com/kubernetes/ingress/blob/master/controllers/nginx/configuration.md#custom-max-body-size


WIP Remove NaNs from loss in LRFinder

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Fixes #1850.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

notifiying also @SkafteNicki

Nan can happens at the very end of the search if the loss/gradient explodes too much before we stop the search. I think we could add a simple test, something like
lr_finder = trainer.lr_find(...)
lr_before_nan = lr_finder.suggestion()
lr_finder.results['loss'][-1] = np.nan
lr_after_nan = lr_finder.suggestion()
assert lr_before_nan == lr_after_nan

Do simple run, run the suggestion algorithm, introduce a nan artificially, recompute suggestion. If this works the two suggestions should be the same.

just a note for speed, could we do the filtering in PyTorch not converting to NumPy?

@borda the values are stored as a list (of floats), so i guess that the penalty of converting to numpy vs pytorch is small

the conversion is at the full end of the lr finder and before training begins no?
this means the cost is negligible unless i'm missing something

Is this ready?

Is this ready?

I will add the test case now.


warning CS1570: XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

The generated code has invalid XML.
The summary tag starts outside the preprozessor if, and ends inside the preprozessor. I think everything should be inside the preprocessor.
/// <summary>
#if !NET35 && !NET20
    /// Represents the generic type arguments marker for <c>System.IDisposable</c>.
    /// </summary>
    [GenericTypeArgument]
    internal interface TTDisposable: System.IDisposable { }
#endif

Fixed in 1.1.61


Add error capture for GitHub rate limiting

Added basic capture of GitHub rate limit.
If header X-Ratelimit-Remaining equal to zero, means we are rate limited.
https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#checking-the-status-of-your-rate-limit

Good, however I will refactor a little