JSoup randomly throws "java.io.IOException: stream is closed" when running from browser

I'm having some weird JSoup problem when running my JavaFX application from the browser (or as web-start).
When I run from inside the IDE (Eclipse or Netbeans) or as a standalone app, it runs normally. When I try to run as a web-start or from the browser (Chrome), JSoup randomly throws a "java.io.IOException: stream is closed".
The site I'm trying to parse is thepiratebay.sx. When I first run the application (from browser), I get this error. With the application running, if I try to parse again, than it works... sometimes.
The JSoup code:
try {
    //TODO: Change to HttpFetcher. This method is reporting "stream is closed" when running on browser
    Connection con = Jsoup.connect(url)
            .timeout(HTTP_TIMEOUT)
            .userAgent(UserAgentGenerator.getUserAgent())
            .followRedirects(false);
    doc = con.get();
    System.out.println("Fetching... " + url);
} catch (IOException e) {
    e.printStackTrace();
    System.out.println("Parser connect must have timed out, no results. " + url);
    fetchFailed[i] = true;
    continue;
}
finally {
    i++;
    if (CommonTFUtils.isAllTrue(fetchFailed)) {
        throw new HttpException("Fetcher failed on every URL of " + response.getSite_name());
    }
}

And the exception thrown:
java.io.IOException: stream is closed
at sun.net.www.http.ChunkedInputStream.ensureOpen(Unknown Source)
at sun.net.www.http.ChunkedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:468)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:410)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:164)
at org.jsoup.helper.HttpConnection.get(HttpConnection.java:153)
at com.package.torrent.parser.GenericParser.search(GenericParser.java:147)
at com.package.torrent.parser.GenericParser.browse(GenericParser.java:82)
at com.package.search.TrackerSearch.searchTracker(TrackerSearch.java:69)
at com.package.search.TrackerSearch.searchAllTrackers(TrackerSearch.java:40)
at com.package.search.TrackerSearch.searchAllTrackers(TrackerSearch.java:23)
at com.package.search.MovieBrowser.browseTrackers(MovieBrowser.java:49)
at com.package.ui.browse.BrowseController$MovieBrowserTask.call(BrowseController.java:237)
at com.package.ui.browse.BrowseController$MovieBrowserTask.call(BrowseController.java:213)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1259)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Does anyone have an idea of what might be causing this?
Thanks in advance.

(Closing out old, dormant bugs. If you are still impacted by this, please reopen & vote.)


lighten vdom object syntax

Allow for array instead of object for non textNodes.
Allow for class and id definition in tagName (ex. div#wrapper.yellow)

simple string for text nodes

technically closed, but example in docs have a typo where children is written unnecessarily

also add more type checking and make current ones more strict

also make builder wrapper within gooey to avoid code duplocation


Crash on first launch - stable release build alpha71

Run launcher, downloaded latest Release, ran game, clicked Single Player.  As world was loading, crash.  never got to world.
log:
https://pastebin.com/TNdJ4WFa

Hi @Germs2004 and thank you for the report(s). For the one above, something went wrong with our reflection handling (which should not happen).
Pinging @Josharias since it occurred in JS game mode.
@Germs2004 could you try to download older versions of the stable game (through the launcher) and see if the same problem occurs?

Yesterday, I got the error on the latest stable, which was alpha 71.  Today, I tried alpha 70, and it worked.  I was able to load the map and see my surroundings, though it was super slow to load the textures (I gave up after 15 seconds of mostly gray screen).  The slow loading in v70 might be my weird software RAID setup.  I then exited and tried to load Alpha 71 again, and got the same error as yesterday.  So it seems like a regression from v70 to v71.
I noticed that the PasteBin button in the Crash Reporter tool only uploads the first file, "Terasology-Game_2.log".  I also see Terasology-menu.log and Terasology-init.log.  I would think that it's best for the Crash Reporter to include all 3 logs when uploading the paste to PasteBin.
Here are my latest crash logs from v71:
game log file:
https://pastebin.com/wGzjrh3b
menu log file:
22:57:49.705 [main] WARN  o.t.engine.internal.TimeBase - Delta too great (14389), capping to 1000
init log file:
https://pastebin.com/Xmgnp7yt

I put some more details in #2978 so lets use that one for the more complicated issue you face :-)
The bit where stable 71 failed but 70 worked is because we broke JoshariasSurvival, which is what you were trying to play, I believe. That's since been fixed and should be good again next stable build.
It is odd though that you could run the game at all with the JNA issue I describe a bit in #2978, but we can talk about that there. The unique crash here has been taken care of so I'm going to close this :-)
You should be able to confirm by simply running Core instead of JoshariasSurvival with a stable release.


[Task] Add manifest.json and link to it

The deployment as the console error of Manifest: Line: 1, column: 1, Syntax error. on deployment.
Need to add an manifest.json and <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

Have a commit for this that's on the beta site, I'll put this up.


First item unknown.

However i implement it, i always get first item empty.

Basically i get first cardview empty, and then it populate rest of the cards with acutal data.

With layoutManagerFixed.setReverseLayout(true); it is now floating someware behind at the bottom.

Show me your current code.

https://github.com/marko-lazic/Goropadnica/blob/master/app/src/main/java/net/markoslab/goropadnica/activities/ClientDetailActivity.java
https://github.com/marko-lazic/Goropadnica/blob/master/app/src/main/res/layout/activity_client_detail.xml

https://goo.gl/photos/mWWSg1BS98hN7XCN8

Forgot to mention, that i am running everything on latest version in build.gradle. Could that be it?

there is no implementation of the parallax header in this code


How to modify nerf_dataset.py to fit my data?

This is perfect work! If I want to use my data(eg, some images) as input, how to modify nerf_dataset.py. Can you give me some advice? Thank you very much!

HI,
Did you find a way to do this?


Restructure personal notes

The current personal note service works for the peronal note component. But every ViewMotion must save the personal note inside it, to sort and access it everywhere.
Add the personalnote to the motion repo, which cares about setting these information right. Use the personal note service for updating the notes.
Fixes performance issues in https://github.com/OpenSlides/OpenSlides/blob/master/client/src/app/site/motions/services/motion-repository.service.ts#L115 and in https://github.com/OpenSlides/OpenSlides/blob/master/client/src/app/site/motions/components/motion-detail/motion-detail.component.ts#L489

More: With #4229 the personal notes need a repository serice. The personal note service should make usage of the personal note repository.

done in #4992


keep pagination displayed forever?

Hi
This is a good tool but can you keep pagination displayed forever?
Currently driving data to less than 1 page will automatically hide.

Hi @HsienW
I dug through the source code a bit and found this on line 99 - 101
if (!pager.pages || pager.pages.length <= 1) {             // don't display pager if there is only 1 page             return null;         }
If you comment it out it will still display the pager even if there is less than 2 pages.


column "rp_desc" does not exist

Fresh install, dotnet run fails witht he following error:

at budoco.Program.Main(String[] args) in /home/plompt/budoco-master/Program.cs:line 56
Exception data:
Severity: ERROR
SqlState: 42703
MessageText: column "rp_desc" does not exist
File: tablecmds.c
Line: 3138
Routine: renameatt_internal

Fixed by running the following SQL:

BEGIN; update db_version set db_version = 4; COMMIT;

Thanks, fixed


UE2 wont connect properly

Hello,
I am having problems connecting the 2nd UE. In my opinion I have transferred the subcriber info correctly in the webui and the UE is also shown as connected, but according to the logs this does not seem to be the case.
For example, the AMF has the following errors:
2024-02-11T09:33:27Z [INFO][AMF][Producer] [OAM] Handle Registered UE Context
2024-02-11T09:33:27Z [INFO][AMF][GIN] | 200 |     <IP_ADDRESS> | GET     | /namf-oam/v1/registered-ue-context |
2024-02-11T09:33:39Z [INFO][AMF][NGAP][<IP_ADDRESS>:45029][AMF_UE_NGAP_ID:2] Uplink NAS Transport (RAN UE NGAP ID: 2)
2024-02-11T09:33:39Z [INFO][LIB][FSM] Handle event[Gmm Message], transition from [Registered] to [Registered]
2024-02-11T09:33:39Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:2][SUPI:imsi-001010000000002] Handle UL NAS Transport
2024-02-11T09:33:39Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:2][SUPI:imsi-001010000000002] Transport 5GSM Message to SMF
2024-02-11T09:33:39Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:2][SUPI:imsi-001010000000002] Select SMF [snssai: {Sst:1 Sd:000002}, dnn: streaming]
2024-02-11T09:33:39Z [WARN][AMF][GMM][AMF_UE_NGAP_ID:2][SUPI:imsi-001010000000002] nsiInformation is still nil, use default NRF[http://nrf-nnrf:8000]
2024-02-11T09:33:39Z [ERRO][AMF][GMM][AMF_UE_NGAP_ID:2][SUPI:imsi-001010000000002] CreateSmContextRequest Error: undefined response type

The UE itself shows the following:
[2024-02-11 09:33:22.719] [nas] [info] UE switches to state [MM-DEREGISTERED/PLMN-SEARCH]
[2024-02-11 09:33:22.720] [rrc] [debug] New signal detected for cell[1], total [1] cells in coverage
[2024-02-11 09:33:22.720] [nas] [info] Selected plmn[001/01]
[2024-02-11 09:33:22.720] [rrc] [info] Selected cell plmn[001/01] tac[1] category[SUITABLE]
[2024-02-11 09:33:22.720] [nas] [info] UE switches to state [MM-DEREGISTERED/PS]
[2024-02-11 09:33:22.720] [nas] [info] UE switches to state [MM-DEREGISTERED/NORMAL-SERVICE]
[2024-02-11 09:33:22.720] [nas] [debug] Initial registration required due to [MM-DEREG-NORMAL-SERVICE]
[2024-02-11 09:33:22.720] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-02-11 09:33:22.720] [nas] [debug] Sending Initial Registration
[2024-02-11 09:33:22.720] [nas] [info] UE switches to state [MM-REGISTER-INITIATED]
[2024-02-11 09:33:22.720] [rrc] [debug] Sending RRC Setup Request
[2024-02-11 09:33:22.720] [rrc] [info] RRC connection established
[2024-02-11 09:33:22.720] [rrc] [info] UE switches to state [RRC-CONNECTED]
[2024-02-11 09:33:22.720] [nas] [info] UE switches to state [CM-CONNECTED]
[2024-02-11 09:33:22.731] [nas] [debug] Authentication Request received
[2024-02-11 09:33:22.735] [nas] [debug] Security Mode Command received
[2024-02-11 09:33:22.735] [nas] [debug] Selected integrity[2] ciphering[0]
[2024-02-11 09:33:22.757] [nas] [debug] Registration accept received
[2024-02-11 09:33:22.757] [nas] [info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE]
[2024-02-11 09:33:22.757] [nas] [debug] Sending Registration Complete
[2024-02-11 09:33:22.757] [nas] [info] Initial Registration is successful
[2024-02-11 09:33:22.757] [nas] [debug] Sending PDU Session Establishment Request
[2024-02-11 09:33:22.757] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-02-11 09:33:22.978] [nas] [error] PDU Session Establishment Reject received [REQUEST_REJECTED_UNSPECIFIED]
[2024-02-11 09:33:22.978] [nas] [error] Received PTI [0] value is invalid
[2024-02-11 09:33:22.978] [nas] [warning] Sending SM Cause[INVALID_PTI_VALUE] for PSI[1]
[2024-02-11 09:33:22.979] [nas] [error] MM Cause with invalid SM message type in DL NAS Transport, ignoring received message
[2024-02-11 09:33:39.743] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-02-11 09:33:39.743] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-02-11 09:33:55.760] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-02-11 09:33:55.760] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-02-11 09:34:11.779] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry

As I said, the UE is shown as connected in the webui, but when you click on "Show info" the page enters a loading state because the amf cannot load the UE correctly.
Do you have any idea how this could be fixed?
Thanks in advance
Best regards
Justin

In the default configuration, UE2 is connected to slice2 (SST: 1, SD: 2), which uses SMF2 and UPF2. Please check the logs of these two NFs.

SMF2 shows the following:
2024-02-12T15:30:32Z [INFO][SMF][CTX] Selected UPF: UPF2
2024-02-12T15:30:32Z [INFO][SMF][PduSess] UE[imsi-001010000000002] PDUSessionID[1] IP[<IP_ADDRESS>]
2024-02-12T15:30:32Z [INFO][SMF][GSM] In HandlePDUSessionEstablishmentRequest
2024-02-12T15:30:32Z [ERRO][SMF][CTX] this SMContext[urn:uuid:446d977b-3fb4-4d0d-b43f-ed3e69a52cd7] has no subscription pdu session type info
2024-02-12T15:30:32Z [INFO][SMF][PduSess] PCF Selection for SMContext SUPI[imsi-001010000000002] PDUSessionID[1]
2024-02-12T15:30:32Z [ERRO][SMF][PduSess] setup sm policy association failed: 400 Bad Request {  400 Can't find UE SM Policy Data in UDR  USER_UNKNOWN []}
2024-02-12T15:30:32Z [INFO][SMF][GIN] | 403 |    <IP_ADDRESS> | POST    | /nsmf-pdusession/v1/sm-contexts |
2024-02-12T15:30:48Z [INFO][SMF][PduSess] Receive Create SM Context Request
2024-02-12T15:30:48Z [INFO][SMF][PduSess] In HandlePDUSessionSMContextCreate
2024-02-12T15:30:48Z [ERRO][SMF][GIN] panic: runtime error: invalid memory address or nil pointer dereference
goroutine 76 [running]:
runtime/debug.Stack(0xc00037c7b0, 0xc7d480, 0x150b7b0)
        /usr/local/go/src/runtime/debug/stack.go:24 +0x9d
github.com/free5gc/util/logger.ginRecover.func1.1(0xc0003de690, 0xc00016a200)
        /go/pkg/mod/github.com/free5gc/util@v1.0.3/logger/logger.go:212 +0x27a
panic(0xc7d480, 0x150b7b0)
        /usr/local/go/src/runtime/panic.go:969 +0x166
github.com/free5gc/smf/internal/sbi/producer.ReleaseTunnel(0xc000020c00, 0xc39f20, 0x1, 0xc0000b0960)
        /go/src/free5gc/NFs/smf/internal/sbi/producer/datapath.go:287 +0xc9
github.com/free5gc/smf/internal/sbi/producer.releaseSession(0xc000020c00, 0x6)
        /go/src/free5gc/NFs/smf/internal/sbi/producer/pdu_session.go:1045 +0x36
github.com/free5gc/smf/internal/sbi/producer.HandlePDUSessionSMContextLocalRelease(0xc000020c00, 0xc00058ed80)
        /go/src/free5gc/NFs/smf/internal/sbi/producer/pdu_session.go:1006 +0x151
github.com/free5gc/smf/internal/sbi/producer.HandlePDUSessionSMContextCreate(0xc00058ed80, 0xc0005a6800, 0x15, 0x3e8, 0x0)
        /go/src/free5gc/NFs/smf/internal/sbi/producer/pdu_session.go:52 +0x3163
github.com/free5gc/smf/internal/sbi/pdusession.HTTPPostSmContexts(0xc00016a200)
        /go/src/free5gc/NFs/smf/internal/sbi/pdusession/api_sm_contexts_collection.go:54 +0x295
github.com/gin-gonic/gin.(*Context).Next(0xc00016a200)
        /go/pkg/mod/github.com/gin-gonic/gin@v1.7.3/context.go:165 +0x3b
github.com/free5gc/util/logger.ginRecover.func1(0xc00016a200)
        /go/pkg/mod/github.com/free5gc/util@v1.0.3/logger/logger.go:244 +0x60
github.com/gin-gonic/gin.(*Context).Next(0xc00016a200)
        /go/pkg/mod/github.com/gin-gonic/gin@v1.7.3/context.go:165 +0x3b
github.com/free5gc/util/logger.ginToLogrus.func1(0xc00016a200)
        /go/pkg/mod/github.com/free5gc/util@v1.0.3/logger/logger.go:179 +0x7e
github.com/gin-gonic/gin.(*Context).Next(0xc00016a200)
        /go/pkg/mod/github.com/gin-gonic/gin@v1.7.3/context.go:165 +0x3b
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0000d4000, 0xc00016a200)
        /go/pkg/mod/github.com/gin-gonic/gin@v1.7.3/gin.go:489 +0x60d
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0000d4000, 0xefa7c0, 0xc00000e0b8, 0xc00026a900)
        /go/pkg/mod/github.com/gin-gonic/gin@v1.7.3/gin.go:445 +0x15c
golang.org/x/net/http2.(*serverConn).runHandler(0xc000239200, 0xc00000e0b8, 0xc00026a900, 0xc000408120)
        /go/pkg/mod/golang.org/x/net@v0.0.0-20210805182204-aaa1db679c0d/http2/server.go:2158 +0x8b
created by golang.org/x/net/http2.(*serverConn).processHeaders
        /go/pkg/mod/golang.org/x/net@v0.0.0-20210805182204-aaa1db679c0d/http2/server.go:1888 +0x4db
2024-02-12T15:30:48Z [INFO][SMF][GIN] | 500 |    <IP_ADDRESS> | POST    | /nsmf-pdusession/v1/sm-contexts

And UPF2 shows the following:
2024-02-12T15:29:08Z [INFO][UPF][Main] UPF version:
        free5GC version: v3.2.0
        build time:      2022-09-24T15:06:48Z
        commit hash:     4972fffb
        commit time:     2022-06-29T05:46:33Z
        go version:      go1.14.4 linux/amd64
2024-02-12T15:29:08Z [INFO][UPF][Cfg] Read config from [/free5gc/config/upfcfg.yaml]
2024-02-12T15:29:08Z [INFO][UPF][Cfg] ==================================================
2024-02-12T15:29:08Z [INFO][UPF][Cfg] (*factory.Config)(0xc0003174f0)({
        Version: (string) (len=5) "1.0.3",
        Description: (string) (len=31) "UPF initial local configuration",
        Pfcp: (*factory.Pfcp)(0xc0004571a0)({
                Addr: (string) (len=9) "<IP_ADDRESS>",
                NodeID: (string) (len=9) "<IP_ADDRESS>",
                RetransTimeout: (time.Duration) 1s,
                MaxRetrans: (uint8) 3
        }),
        Gtpu: (*factory.Gtpu)(0xc000457350)({
                Forwarder: (string) (len=5) "gtp5g",
                IfList: ([]factory.IfInfo) (len=1 cap=1) {
                        (factory.IfInfo) {
                                Addr: (string) (len=9) "<IP_ADDRESS>",
                                Type: (string) (len=2) "N3",
                                Name: (string) "",
                                IfName: (string) (len=7) "upf2gtp"
                        }
                }
        }),
        DnnList: ([]factory.DnnList) (len=1 cap=1) {
                (factory.DnnList) {
                        Dnn: (string) (len=9) "streaming",
                        Cidr: (string) (len=11) "<IP_ADDRESS>/16",
                        NatIfName: (string) ""
                }
        },
        Logger: (*factory.Logger)(0xc000448b60)({
                Enable: (bool) true,
                Level: (string) (len=4) "info",
                ReportCaller: (bool) false
        })
})
2024-02-12T15:29:08Z [INFO][UPF][Cfg] ==================================================
2024-02-12T15:29:08Z [INFO][UPF][Main] Log level is set to [info] level
2024-02-12T15:29:08Z [INFO][UPF][Main] starting Gtpu Forwarder [gtp5g]
2024-02-12T15:29:08Z [INFO][UPF][Main] GTP Address: "<IP_ADDRESS>:2152"
2024-02-12T15:29:08Z [INFO][UPF][Buff] buff server started
2024-02-12T15:29:08Z [INFO][UPF][Pfcp][<IP_ADDRESS>:8805] starting pfcp server
2024-02-12T15:29:08Z [INFO][UPF][Pfcp][<IP_ADDRESS>:8805] pfcp server started
2024-02-12T15:29:08Z [INFO][UPF][Main] UPF started
2024-02-12T15:29:12Z [INFO][UPF][Pfcp][<IP_ADDRESS>:8805] handleAssociationSetupRequest
2024-02-12T15:29:12Z [INFO][UPF][Pfcp][<IP_ADDRESS>:8805][rNodeID:<IP_ADDRESS>] New node

I think at this point I lack the understanding to find out what could lead to this.

The issue appears to be related to NSI. However, I cannot recreate the issue on my end.
Try clearing MongoDB information related to NSI and start fresh.


Add action to publish operator images

Signed-off-by: Shyamsundar Ranganathan<EMAIL_ADDRESS>

Note: Only when PRs are pushed (merged) to main branch will images be published.
@Madhu-1 could you take a first look?

Intention is not to handle branches yet, just main branch pushes

Naming scheme would be (eventually):

main: (any push to main branch)

Image updated: main-canary (only this is supported with this PR)

vX.Y.Z: (tag created on branch vX.Y)

Image updated: vX.Y.Z

vX.Y: (any push to branch (non-main))

Image updated: vX.Y-canary


Verify your bundle identifier 'io.flutter.flutter' is correct.

Question:
I'm trying to achieve my first flutter app, I have changed the bundle identifier in my Xcode, and had already registered an app in app store, but Xcode fired the error that my bundle identifier 'io.flutter.flutter'...again and again.
Error:
No suitable application records were found. Verify your bundle identifier 'io.flutter.flutter' is correct.

Addition:
I can not even search out the 'io.flutter.flutter' in Xcode...

The cause is weird, in the Info tag, as I changed the Executable File from $(EXECUTABLE_NAME) into another value, the error occurs.
So, I have to achieve my first flutter app, with $(EXECUTABLE_NAME) in Executable File ...XD


Move scenePromise stuff to Node

Only Nodes have a scene promise (not Scenes) so move that logic from ImperativeBase to Node.

Done in d88897e1115bdc4905e29d2b32a1da64f00ac7b2


Newbie question: How to use importProc avoiding "ERROR: [ No location available ]:".

I write following code:
https://github.com/fpiot/arduino-ivory/blob/531329db24cc67f423c211d0fdfa1b52ee6eb000/demo/01_blink/MainIvory.hsb
And I believe it create following C code:
int main () {
    init();
    delay(500);
    return 0;
}

How ever it causes following error:
$ runhaskell MainIvory.hs

*** Procedure MainIvory
    ERROR: [ No location available ]:
             Unbound value: 'init'
    ERROR: [ No location available ]:
             Unbound value: 'delay'
MainIvory.hs: Sanity-check failed!

How to fix it?

I'm getting a 404 on that URL. Did https://github.com/fpiot/arduino-ivory/commit/531329db24cc67f423c211d0fdfa1b52ee6eb000 fix it or is this still an issue?

Sorry. The issue is not yet fixed.
The code is following:
https://github.com/fpiot/arduino-ivory/blob/531329db24cc67f423c211d0fdfa1b52ee6eb000/demo/01_blink/MainIvory.hs
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}

import Ivory.Language
import qualified Ivory.Compile.C.CmdlineFrontend as C (compile)

arduino_header :: String
arduino_header = "Arduino.h"

c_init :: Def ('[] :-> ())
c_init = importProc "init" arduino_header

c_delay :: Def ('[Uint32] :-> ())
c_delay = importProc "delay" arduino_header

ivory_main :: Def ('[] :-> Sint16)
ivory_main = proc "main" $ body $ do
  call_ c_init
  call_ c_delay 500
  ret 0

main_ivory_module :: Module
main_ivory_module = package "MainIvory" $ do
  incl ivory_main

main :: IO ()
main = C.compile [ main_ivory_module ] []

I don't know how to properly solve the issue, but you can work around it by turning off sanity checks with scErrors = False in compiler options - something like:
main :: IO ()
main = C.runCompiler [ main_ivory_module ] [] opts
   where opts = C.initialOpts { C.scErrors = False }

I had reported something similar in https://github.com/GaloisInc/ivory/issues/29 and Lee says he fixed it. Are you using the Hackage release of Ivory, or the latest git version?

I believe your main_ivory_module just needs two more incl declarations, for c_init and c_delay, right?

 My mistake is thinking that imported function doesn't need to be included.
I applied following patch:
diff --git a/demo/01_blink/MainIvory.hs b/demo/01_blink/MainIvory.hs
index 0c26ff0..48072ea 100644
--- a/demo/01_blink/MainIvory.hs
+++ b/demo/01_blink/MainIvory.hs
@@ -21,6 +21,8 @@ ivory_main = proc "main" $ body $ do

 main_ivory_module :: Module
 main_ivory_module = package "MainIvory" $ do
+  incl c_init
+  incl c_delay
   incl ivory_main

 main :: IO ()

I got  following C code:
#include "MainIvory.h"

int16_t main(void)
{
    init();
    delay((uint32_t) 500U);
    return (int16_t) 0;
}

Thanks a lot!


how to generate valid_images.txt.

Hello, please can anyone help me to know how you made the file {valid_images.txt.}
I am trying to add my own dataset.
Thank you in advance

@DukeZacharia Hello, how did you decide that?

@SofiV11 What do you mean exactly?
if it's about the dataset I managed to solve the issue I had and recorded the video dataset using https://github.com/felixchenfy/record_images_from_usbcam


/lp Editor Not working correctly

When I generate an editor link the webpage spits out the the code was copied wrong or expired. This happens over and over again. I have found that in some instances, you must wait several minutes for the link to generate server side on your webpage. The was never an issue with your old webhost, and has only come about now that you have the new host.

Nothing has changed recently with the hosting of the site, I've been using the same setup for around 1 year.
If you open the developer tools console in your browser after opening the page, the actual error encountered when loading will be displayed there. :)


Does it work in Peertube 5.1?

Hi,
I am not able to use the plugin in Peertube 5.1. Although it says that it is installed correctly, then there is no "Plugin settings" tab when editing a sample video. ¿Is it because of the version or I am doing something wrong?

Thank you!
Mikel

It appeared after a restart of the dockers.


feat: add MapValidator

Codecov Report

Merging #21 (cc0bb7c) into main (ce04dc0) will increase coverage by 1.39%.
The diff coverage is 92.59%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   58.75%   60.15%   +1.39%
==========================================
  Files          30       31       +1
  Lines         628      655      +27
  Branches      140      147       +7
==========================================
+ Hits          369      394      +25
- Misses        245      247       +2
  Partials       14       14

Impacted Files
Coverage Δ

src/validators/MapValidator.ts
91.66% <91.66%> (ø)

src/lib/Shapes.ts
24.39% <100.00%> (+3.87%)
:arrow_up:

src/validators/imports.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


SF-853: Pin url-parse to 1.4.4

Codecov Report

Merging #105 into master will decrease coverage by 0.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
- Coverage   93.96%   93.28%   -0.69%
==========================================
  Files         215      204      -11
  Lines        5964     5628     -336
  Branches      747      704      -43
==========================================
- Hits         5604     5250     -354
- Misses        266      291      +25
+ Partials       94       87       -7

Impacted Files
Coverage Δ

...ront/core/src/core/url-beautifier/search/parser.ts
98.57% <ø> (ø)
:arrow_up:

<EMAIL_ADDRESS>0% <0%> (-92.86%)
:arrow_down:

...ux-capacitor/src/core/reducers/data/collections.ts
20% <0%> (-80%)
:arrow_down:

...ont/flux-capacitor/src/core/reducers/data/query.ts
0% <0%> (-75%)
:arrow_down:

<EMAIL_ADDRESS>0% <0%> (-75%)
:arrow_down:

...apacitor/src/core/reducers/data/infinite-scroll.ts
33.33% <0%> (-54.17%)
:arrow_down:

...efront/flux-capacitor/src/core/reducers/session.ts
50% <0%> (-50%)
:arrow_down:

...ront/flux-capacitor/src/core/reducers/data/page.ts
50% <0%> (-35.19%)
:arrow_down:

...t/flux-capacitor/src/core/reducers/data/history.ts
25% <0%> (-33.83%)
:arrow_down:

...nt/flux-capacitor/src/core/reducers/is-fetching.ts
56.25% <0%> (-32.64%)
:arrow_down:

... and 33 more

Continue to review full report at Codecov.

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


Log a warning or return an error from Unmarshal() if a non-bindable environment variable is present.

Probably is only useful when the prefix is set.
type config struct {
    Bar string
}

func main() {
    var c config
    e := enviper.New(viper.New())
    e.SetEnvPrefix("MYAPP")
	os.Setenv("MYAPP_BAZ", "1")
	e.Unmarshal(&c) // warning: MYAPP_BAZ is non-bindable
}

Hi, I'm not quite sure about this feature, because there could be another apps that use another env variables, and that's not expected to fail configuration or log all env variables that not used by CURRENT app, btw it could have sensitive info
But if you need this feature feel free to fork this repo and add this feature 🙂


Cannot convert Object of type long long to long

"long long" declaration: https://github.com/pothosware/PothosCore/blob/master/lib/Object/Builtin/ConvertIntegers.cpp#L9
Macro: https://github.com/pothosware/PothosCore/blob/master/lib/Object/Builtin/ConvertCommonImpl.hpp#L152
"long" typedef: https://github.com/pothosware/PothosCore/blob/master/lib/Object/Builtin/ConvertCommonImpl.hpp#L26
In theory, with this, conversion should be supported between "long long" and "long", but it errors out.

Closing issue. Taking another look at the error message, it's from Object::extract(), where the type has to be exact.


Allow cross-referencing in nav

Sometimes we want to add a page under different subsites (or main site) in a subsite's nav. While linking with ../ may work, but mkdocs can't properly process as it can't find the page.
It shows error like
WARNING  -  A relative path to 'test/../cross.md' is included in the 'nav' configuration, which is not found in the documentation files
And the navigation title will be None.
This PR fixes it by having normpath for nav link.

okay updated

Seems like a test needs updated.

@haneul Can you go ahead and update the test? I can go ahead and merge this once that's resolved :)


Update Readme.md file

Print all in-scope targets from all your private Bugcrowd programs that offer rewards
bbscope bc -t <YOUR_TOKEN> -b

@sw33tLie


Add translation extraction

Summary
We need to be able to extract all the translations in an easy way, to determine what has translations, and what does not.
An easy to use CLI will work well for now.

Run npm run script:extract-translations


Examples have incorrect syntax

"$({ ~/.ssh/id_rsa.pub)"  should have { replaced with <
"$(< ~/.ssh/id_rsa.pub)"
Alternatively use the @ form to source the file.
@~/.ssh/id_rsa.pu

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0474c5a5-4231-0e39-f63f-f7bc05cb7797
Version Independent ID: 22ea94c8-cc6f-97aa-77b1-4ffca845807e
Content: az vm user
Content Source: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py
Service: virtual-machines
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@haroldrandom  planned after Ignite.


Port Atom's editor:auto-indent to VSCode

I really want to switch to VSCode but it's missing an essential editor action. Many editors have an "auto-indent" action which automatically indents the current line—or a selection of lines if multiple lines are selected—to the appropriate indentation when used.
This is not the same as a normal indent: Auto-indent should indent the line immediately to the correct indentation (to the best of the editor's ability, of course) upon use, rather than requiring multiple uses to reach the expected level. If the current line is indented too far, auto-indent should deindent the line appropriately.
This is not the same as Format Selection: Auto-indent only indents/deindents, it does not preform any other formats. Additionally, auto-indent can be activated without a selection; the target line is inferred from the cursor's position. Auto-indent should work without a formatter, as indentation can be computed the same way as a new line's indentation.
I find it much more efficient to bind tab to the auto-indent action, and use ⌘[/⌘] to manually adjust indentation.
Auto-indent in Sublime Text:
https://coderwall.com/p/7yxpdw/auto-indenting-on-sublime-text-3
Auto-indent in Atom:
http://stackoverflow.com/questions/22611377/auto-indent-code-in-atom-editor
This behavior is default in Spacemacs (and maybe Emacs?).

For this particular feature request, I think it can be done in an extension. Feel free to contribute!

@rebornix I've looked into making this as an extension, and it seems to me that VSCode does not expose the needed APIs for this to work. We need a method to get the proper indentation level of a given line.
Should I create a new issue?

@net good to know you are looking into this issue. Actually it's easy to get an indentation level of a line, you can get the tab size by activeTextEditor.options.tabSize and calculate the view column width of the leading white spaces.
For example, you have a line    \t and the tab size is 4, you can do the calculation and figure out that the indentation level is 1. We have similar code in our core but as it's not complex and not generally important so we may not want to expose it through extension host. Make sense?

@rebornix I think you're describing a method to get the current indentation of a line. What I need to do is get the ideal indentation of a line as defined by the language syntax configuration, using OnEnter rules, bracket character pairs, etc.

@net I see. In this case, I think this issue actually can be marked as feature request :)


Add ignite-cli binary command to allow running with NPX

We need to add a new binary in ./bin called ./bin/ignite-cli to allow Ignite to be run with NPX.
It can just require the other ./ignite, which should work to trigger the CLI.
#!/usr/bin/env node

require('./ignite')

Make sure to chmod +x ./bin/ignite-cli, and test it with ./bin/ignite-cli doctor to ensure parameters are passed.
The files property in package.json shouldn't need to change, as it already includes ./bin in full.

@jamonholmgren : I would like to give it a try

@jamonholmgren : PR: https://github.com/infinitered/ignite/pull/1492. Is this what is required?

:tada: This issue has been resolved in version 3.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Write README

It's empty at the moment but it should have information on what the project is and how to use it.

please assign me this issue i would like to work on this.


Fix Smart Counts in Store, Discover

Fixes an issue with the smart count in the store, and one with the search page.

Attn: @rhcastilhos

In translation file:

Line 1255 is working.
Lines 128, 318, 1462, 1476, 1484 are still not considering plural for word "found".
Line 1256 is not considering singular for word "listings"

Example:
Line 318 currently is:
"countListingsFound": "%{countListings} found", (en_US.json)
"countListingsFound": "%{countListings} encontrado", (pt_BR.json)
I had no success changing it to:
"countListingsFound": "%{countListings} found |||| %{countListings} found", (en_US.json)
"countListingsFound": "%{countListings} encontrado |||| %{countListings} encontrados", (pt_BR.json)

Thank you for trying that, @rhcastilhos I will figure out why it isn't working.


Clarify README

clarifed introductory paragraph and knative developer install paragraph
moved "community releases" to separate page
added section at the end for riff-distro

Preview here

These are on CI and will always be updated. When you changed your github release formats I fixed my CI. Happy to keep doing it.

From: Glyn Normington<EMAIL_ADDRESS>Sent: Wednesday, October 17, 2018 11:18 pm
To: projectriff/riff
Cc: Dr Nic Williams; Mention
Subject: Re: [projectriff/riff] Clarify README (#883)
@glyn commented on this pull request.

In README.adochttps://github.com/projectriff/riff/pull/883#discussion_r225923539:

-[source, bash]
-brew install starkandwayne/cf/riff

-To install the CLI for Debian/Ubuntu Linux:
-[source, bash]
-wget -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
-echo "deb http://apt.starkandwayne.com stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
-apt-get update
-apt-get install riff
+See link:Community-Releases.adoc[Community releases] for Mac Homebrew and Debian Apt packages.
I'm not convinced these will continue to be supported.
@drnichttps://github.com/drnic care to comment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/projectriff/riff/pull/883#pullrequestreview-165624030, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAAAbPzLaFVBn1x845Ij5x14plbn3Ojeks5uly4rgaJpZM4XjtOG.

If you’d like to setup your own homebrew repo and own apt s3 thing, feel free to borrow concourse ideas from our project.

From: Dr Nic Williams<EMAIL_ADDRESS>Sent: Thursday, October 18, 2018 10:47 am
To: projectriff/riff; projectriff/riff
Cc: Mention
Subject: Re: [projectriff/riff] Clarify README (#883)
These are on CI and will always be updated. When you changed your github release formats I fixed my CI. Happy to keep doing it.

From: Glyn Normington<EMAIL_ADDRESS>Sent: Wednesday, October 17, 2018 11:18 pm
To: projectriff/riff
Cc: Dr Nic Williams; Mention
Subject: Re: [projectriff/riff] Clarify README (#883)
@glyn commented on this pull request.

In README.adochttps://github.com/projectriff/riff/pull/883#discussion_r225923539:

-[source, bash]
-brew install starkandwayne/cf/riff

-To install the CLI for Debian/Ubuntu Linux:
-[source, bash]
-wget -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
-echo "deb http://apt.starkandwayne.com stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
-apt-get update
-apt-get install riff
+See link:Community-Releases.adoc[Community releases] for Mac Homebrew and Debian Apt packages.
I'm not convinced these will continue to be supported.
@drnichttps://github.com/drnic care to comment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/projectriff/riff/pull/883#pullrequestreview-165624030, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAAAbPzLaFVBn1x845Ij5x14plbn3Ojeks5uly4rgaJpZM4XjtOG.


Long line in message overflow out of box

I would like to work on this . But can you please guide me how to set up test env please?

check the installation guide https://github.com/iluminar/goodwork/wiki/Installation#setup-using-single-file-installer

okay, thanks

I've submitted a PR as a solution to this issue


No Animation When Index Is Controlled By Parent

Animation works
<Modal visible={true} transparent={true}>
  <ImageViewer imageUrls={images} />
</Modal>

Animation doesn't work
<Modal visible={true} transparent={true}>
  <ImageViewer imageUrls={images} index={index} onChange={onChange} />
</Modal>

Workaround
  public componentDidUpdate(prevProps: Props, prevState: State) {
    if (prevProps.index !== this.props.index) {
      this.loadImage(this.props.index || 0);

      this.jumpToCurrentImage({ animated: true });
    }
  }

  public jumpToCurrentImage(params?: IJumpParams) {
    const _params = {
      animated: false,
      ...params,
    };

    this.positionXNumber =
      this.width *
      (this.state.currentShowIndex || 0) *
      (I18nManager.isRTL ? 1 : -1);
    this.standardPositionX = this.positionXNumber;
    if (!_params.animated) {
      this.positionX.setValue(this.positionXNumber);
      return;
    }
    Animated.timing(this.positionX, {
      toValue: this.positionXNumber,
      easing: Easing.linear,
      duration: this.props.pageAnimateTime,
      useNativeDriver: !!this.props.useNativeDriver,
    }).start();
  }

If this workaround is acceptable, I will pull a request in this weekend.

Any update on this issue ?

hi,
I had the same issue too.
But when I change my onChange not to modify the index then it solved the issue.

looking forward to this PR!

This repo is not active for some time.
How to fix it?

Copy all source codes into your project with my workaround(must be a project using typescript)
Fork this repo and republish your own version

This repo is not active for some time.
How to fix it?

Copy all source codes into your project with my workaround(must be a project using typescript)
Fork this repo and republish your own version


Fix POD links

Just minor changes to fix broken links.

I don't think it makes sense for a module to have links to itself.


can we do better than tag_all_children() when good_sibling not available?

i.e., tagging some children, knowing which one(s) to tag will produce the desired result?

or even "speculatively tag" all of them, run one of them, and in a sleep-set-like analysis, see if we can bring the desired reordering of threads -- if we can, we untag all the other siblings; otherwise, we go on


227 modal style updates

Robert,
I'm adding you to this because I have questions about the Modal as a Stateless component.
We would prefer to animate the opening and closing of the modal with CSS. Because the Modal is being added dynamically, there is no state of being open or closed.
Should this component be StateFul? If so, who should I pair with to make this happen?

What we probably need to do is change it from being dynamically added to always present in the DOM, but sometimes hidden. We did something similar in the past for .rev-Calendar.
I can help, but also it is something that basically any of the engs could figure out. Could even be a good open source first issue for an outside contributor.

Ok, added the hook for animating this and made sure there was a little stub animation in there. Passing it back for yall to look at and make sure the animation is good.

consolidated close button styles
updated modal styles
updated modal transition

![screen shot 2018-06-27 at 2 21 57 pm](https://user-images.githubusercontent.com/3287583/42008990-ff6ccc10-7a4d-11e8-9a8a-a267ead6cc56.png)

IE11 modal is not contained to the fake-viewport-area. Do we care about this? Since the use case for this modal will not be within a fake viewport?

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enable Filtering of Push Replication

What
Make it possible to filter push replications.
Why
This feature was requested by a user and brings sync-android closer to feature parity with CDTDatastore.
How

Added a new option to ReplicatorBuilder, to add filters to push replications.
Added a new interface to be the integration point for user filter functions.

The replicator will write a checkpoint in the case where the changes feed had at least 1 change (even if that change was filtered out and therefore not pushed). This means that replications will not rewind in the event that a batch of changes are completely filtered out. If there were no changes at all then no checkpoint will be written.
The replication will complete when there are no more unfiltered changes.
Reviewers
reviewer @ricellis
reviewer @tomblench
reviewer @rhyshort - can you look over my modifications to your original
Issues

#214

@rhyshort I was having a think about the checkpoint and the limitations you described above.
I'd like to propose these changes:

Revert the getNextBatch() method to its previous content, such that it always gets the next batch of changes
Move the filtering and checkpointing code into the replicate() method
Although using the last_sequence instead of the size of changes is a possibility as we discussed yesterday, it might be easiest to use a second Changes object for the changes to process (i.e. filtered if necessary) as well as the original Changes object then the size check can still be valid. I did an example in 05aca56885061ff3e0a6b896dfc66ee4693e40d6

Probably will need a test for that last case.

+1

+1


Updated meta tag

Resolves #349

Coverage decreased (-0.02%) to 45.567% when pulling 4aa0762fabc780ae6607d67f2c2af5edda998159 on 249-webapp-meta-description into a901a1c54f7c4f7bd8d288c75a0a08daeaf5b4ae on April_DAME_Staging.


Add 'ignoreUnofficialBots'

With the introduction of Unofficial Bot charms, retrieve subscriber charm summary to see if they are an unofficial bot
Charm IDs: 813, 814

Added in 0.11.0


[Bug] Multiple (3+) Waypoints + tangents gives MethodError

If the tangents are not given as Point's, but as Tuples instead, a MethodError is thrown because normalize can't be called on a Tuple.
Bug occurs when more than two waypoints are provided.

Issue occurs because conversion to Pointf is not called on:
https://github.com/MakieOrg/GraphMakie.jl/blob/c74d3f93e5d072ee960f11c56a43e92e6fef6caf/src/beziercurves.jl#L200
For the 2 waypoint Path case, Pointf is applied before normalizing the tangent. PR above replaces normalize(tangents[1]) with normalize(Pointf(tangents[1])). Same is done for the second tangent direction


Arcane Sanctuary demo for tweaks

plus working act 2 town manager

Cool. Just browsing over it I am having a good first impression of the implementation : ) Will test more once I get the time!

This works well! I cherry picked this change and added the ability to TP back to town and take WP so we can check all 4 directions. But I'm not sure if it's better to use TP or backtrack in arcane?
Please note that the summoner drops Key of Hate. The template here is for Key of Terror.

seems way more stable now and working with top right and top left arms
improvement in function traverse_nodes_fixed
improvement in function select_by_template

Closed in favour of #348


HTML Comments not having the right language

I'm submitting a ...
[x] language request
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Please remove HTML comments in Cantonese: When exported to HTML, the language is not being picked up.

give a PR ?


Add UnsharedRemoteCache (copied from eycap gem)

It's identical to RemoteCache, except the :repository_cache config variable is the full cache path, rather than just the fragment appended to shared_path.

Is there anything stopping this from being merged that I can help with?


Unable to enable XDG

$ gmrun -v
1.4w

$ gmrun --enable-xdg
option parsing failed: Unknown option --enable-xdg

Related: b6f1b5a431dbcbdb4c6858ac1063d0bb0f5d1be4

Oh, is it a compile-time flag? Sorry, I opened this issue too hastily.


TextField: Add on dark-background

could you update the story as well? if you add the types you can use the preview (its in one of the previous comments) to see if your changes worked

I updated the stories but as I mentioned the dependency is missing something.
There are some unmentioned global dependencies like tubo and tsup. And I'm not sure I got the version right.
And there is something missing when resolving the dependencies.

You can reproduce by pulling the rope to a new folder and starting as new.


Catch variable is []

Make F632 catch the following trap:
variable = []
if variable is []:
  print("never runs")

Tested in Arch Linux:
$ pacman -Q ruff
ruff 0.1.5-1

It seems reasonable to me.

Although maybe it should be a different rule if we want to also test for variable is [0, 1, 2].

Seems ok to fold it into the same rule for me, since that will also always be false, right?

Could this be expanded to cover any of the mutable initialisers? E.g set, dict, etc?

I believe this was closed by #8607 :) Thanks @jesse1412!


[#40] sort import specifiers

Closes #40

When formatting jsx or tsx, the default import is moved inside{ } (became named export).
Original:
import React, { FC } from 'react';

Became:
import { FC, React } from 'react'

When formatting jsx or tsx, the default import is moved inside { } (became named export).
Original:
import React, { FC } from 'react';

Became:
import { FC, React } from 'react';

Thanks for taking a look @avxit 🙂   You are right. There are 3 types of import specifiers and this PR is not considering 2 of them (Defaults, and name space specifiers), which is a mistake. I'll try to adapt those too.

why not merge this pr ， it's useful!


Example of how do i add a png to every gif frame ?

Have you got an example of how to add a png file for each frame? Merging a png with a gif file on background?

Same here.


 Still couldn’t find a way to solve this problem. Won’t fix in short term.

Gotcha.  Good to know!
Ian
On Sat, May 6, 2023, 2:39 PM Paulo Monteiro @.***>
wrote:

This is an engine limitation. Still couldn’t find a way to solve this
problem. Won’t fix in short term.
—
Reply to this email directly, view it on GitHub
https://github.com/SolastaMods/SolastaUnfinishedBusiness/issues/3148#issuecomment-1537199381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBKCZDRMGGDYGC7VQJDYQ3XE2LGJANCNFSM6AAAAAAXYIVRAQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Do you have a save I could use for test?

I attached one to the bug report
On Sat, May 6, 2023, 8:05 PM Paulo Monteiro @.***>
wrote:

Do you have a save I could use for test?
—
Reply to this email directly, view it on GitHub
https://github.com/SolastaMods/SolastaUnfinishedBusiness/issues/3148#issuecomment-1537248554,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBKCZDQK624WMTD7OSEKTDXE3RMNANCNFSM6AAAAAAXYIVRAQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ops. I’m trying to find a resolution on this one again

Cool!  Good luck!
On Sat, May 6, 2023, 8:13 PM Paulo Monteiro @.***>
wrote:

Ops. I’m trying to find a resolution on this one again
—
Reply to this email directly, view it on GitHub
https://github.com/SolastaMods/SolastaUnfinishedBusiness/issues/3148#issuecomment-1537249940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBKCZBBSQYRFUAKWEPRBDTXE3SJHANCNFSM6AAAAAAXYIVRAQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

fixed

Released. Pls confirm on your end

Hey there,
Still not fixed.  My Action Surge should grant two extra attacks, but
Momentum still eats up one of them.
[image: image.png]
On Sat, May 6, 2023 at 9:42 PM Paulo Monteiro @.***>
wrote:

Released. Pls confirm on your end
—
Reply to this email directly, view it on GitHub
https://github.com/SolastaMods/SolastaUnfinishedBusiness/issues/3148#issuecomment-1537264387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBKCZG6ZRCGQML72R4R75TXE34YBANCNFSM6AAAAAAXYIVRAQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Attached the proper save file this time :)
On Sat, May 6, 2023 at 10:01 PM Ian Milligan @.***>
wrote:

Hey there,
Still not fixed.  My Action Surge should grant two extra attacks, but
Momentum still eats up one of them.
[image: image.png]
On Sat, May 6, 2023 at 9:42 PM Paulo Monteiro @.***>
wrote:

Released. Pls confirm on your end
—
Reply to this email directly, view it on GitHub
https://github.com/SolastaMods/SolastaUnfinishedBusiness/issues/3148#issuecomment-1537264387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBKCZG6ZRCGQML72R4R75TXE34YBANCNFSM6AAAAAAXYIVRAQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

AutoSave_2.zip

Will test on yours but you can see from my screenshot that I attacked 3 times and after action surge had 2 attacks available. Strange


Update cribl-single-x86.entrypoint.template.yaml

Fixed the TargetURL to have the updated version of Cribl Stream deployed.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests


The images aren't upload to my Imgur account

flagrow/upload extension version: 0.4.9
flarum version: 0.1.0-beta.6
Upload adapter causing issues: Imgur

When I upload an image using the extension the image is not upload to my imgur account. The upload is 'anonymous' (without associated user).
Disclaimer: Is the first time that I use Imgur, maybe I'm doing something wrong. My settings: http://imgur.com/a/EAMfd

That should work. Just had imgur configured in my dev environment without issue. Please add more information if possible. Errors?


Fix page not scrolling

I am currently using a HardwareUiControl class to manage the checklist, all is working except the scrolling on the page. My basic implementation is in TbmChecklistUiControl.tsx and it is used in TbmChecklistDisplay.tsx.

Fixed here


opencv_python-<IP_ADDRESS>-cp37-cp37m-linux_armv7l.whl cannot open shared object file

Expected behaviour

Respberrypi arm7
python3.7

Use command to install
pip install opencv_python-<IP_ADDRESS>-cp37-cp37m-linux_armv7l.whl

Check if all shared libraries exist
# ldd cv2.cpython-37m-arm-linux-gnueabihf.so |grep "not found"
./cv2.cpython-37m-arm-linux-gnueabihf.so: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by ./cv2.cpython-37m-arm-linux-gnueabihf.so)
./cv2.cpython-37m-arm-linux-gnueabihf.so: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by ./cv2.cpython-37m-arm-linux-gnueabihf.so)
        libIlmImf-2_2.so.23 => not found
        libIex-2_2.so.23 => not found
        libHalf.so.23 => not found
        libIlmThread-2_2.so.23 => not found
        libavcodec.so.58 => not found
        libavformat.so.58 => not found
        libavutil.so.56 => not found
        libswscale.so.5 => not found

Find the package corresponding to the shared object file
ldd cv2.cpython-37m-arm-linux-gnueabihf.so |grep "not found"|grep -v "cv2" |awk '{print " apt-file search " $1}' |sh -x
+ apt-file search libIlmImf-2_2.so.23
+ apt-file search libIex-2_2.so.23
+ apt-file search libHalf.so.23
+ apt-file search libIlmThread-2_2.so.23
+ apt-file search libavcodec.so.58
+ apt-file search libavformat.so.58
+ apt-file search libavutil.so.56
+ apt-file search libswscale.so.5

Actual behaviour
The installation package corresponding to the shared object file cannot be found. The loss of these shared libraries causes an error when using cv2. How can I solve this?
Steps to reproduce

example code
respbian
architecture (e.g. arm7)
opencv-python <IP_ADDRESS>

Issue submission checklist

[ ] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[ ] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[ ] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[ ] I'm using the latest version of opencv-python

Please report the issue to https://github.com/piwheels/packages, this repository does not provide ARM wheels or wheels for Raspberry Pi.

Please report the issue to https://github.com/piwheels/packages, this repository does not provide ARM wheels or wheels for Raspberry Pi.

Thank you very much for your time to solve my problem,  and if I build opencv https://github.com/opencv/opencv on Raspberry Pi, so this problem can be solved? I'm sorry I don't know much about this.

Yes, but you should check the dedicated PiWheels pages for help (it has the install guide on top): https://www.piwheels.org/project/opencv-python/
You can also use the guide in the README of this repository to do manual build: https://github.com/skvark/opencv-python#manual-builds (NOTE: it will take 2+ hours on Raspberry Pi).

Yes, but you should check the dedicated PiWheels pages for help (it has the install guide on top): https://www.piwheels.org/project/opencv-python/
You can also use the guide in the README of this repository to do manual build: https://github.com/skvark/opencv-python#manual-builds (NOTE: it will take 2+ hours on Raspberry Pi).

Thank you very much for your answer. I will try it now


Should the client announce the schema it supports in URI's

Server are allowed to send URI back which might not have a file or other well known schema. These URI's might not be handled correctly by the client.
Should the client announce it's handled schemas to the server and inform the server about any schema handler changes?

I was just thinking about the same thing and made an initial proposal at #336, however it still needs the proposal implementation.

@david-driscoll thanks for #336.
The issue is about whether the client should announce which schemas it supports. They maust not necessarily be surfaced by the server but with our proposal could.

Related issue: https://github.com/atom/ide-java/issues/42
Some other language servers (e.g. ENSIME and Scalameta) use this workaround too: create a temporary file with the content of that URI and redirect to it.
It would be nice if the client could declare that it can handle given URI schema, so that the server can decide whether to use a workaround or send the true URI.

Assuming that the client would announce support for the zip: scheme, for example, how could there be a guaranteed that all editors handle that schema in the same way? I don't think there is any specific on how to handle a zip: scheme specifically.


Spike Interface container

@alejoe91 I cleaned up and updated the repository. Tested on Windows.
I pushed the image to our hub: https://hub.docker.com/repository/docker/wanglabneuro/spikeinterface.
Let me know if you have any comment.
Thanks!


metroctl: hangs if CA doesn't match

Since we now verify the cluster CA (with the TOFU work) metroctl operations hang silently if the CA doesn't match the cluster being connected to.
2024/05/27 23:59:29 INFO: [core] [Channel #3 SubChannel #4]Subchannel created
2024/05/27 23:59:29 INFO: [core] [Channel #3]Channel Connectivity change to CONNECTING
2024/05/27 23:59:29 INFO: [core] [Channel #3]Channel exiting idle mode
2024/05/27 23:59:29 INFO: [core] [Channel #3 SubChannel #4]Subchannel Connectivity change to CONNECTING
2024/05/27 23:59:29 INFO: [core] [Channel #3 SubChannel #4]Subchannel picks a new address "<IP_ADDRESS>:7835" to connect
2024/05/27 23:59:29 INFO: [core] [pick-first-lb 0xc000191260] Received SubConn state update: 0xc0001912f0, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/05/27 23:59:29 INFO: [core] Creating new client transport to "{Addr: \"<IP_ADDRESS>:7835\", ServerName: \"<IP_ADDRESS>:7835\", }": connection error: desc = "transport: authentication handshake failed: node certificate verification failed: signature veritifcation failed: x509: Ed25519 verification failure"
2024/05/27 23:59:29 WARNING: [core] [Channel #3 SubChannel #4]grpc: addrConn.createTransport failed to connect to {Addr: "<IP_ADDRESS>:7835", ServerName: "<IP_ADDRESS>:7835", }. Err: connection error: desc = "transport: authentication handshake failed: node certificate verification failed: signature veritifcation failed: x509: Ed25519 verification failure"
2024/05/27 23:59:29 INFO: [core] [Channel #3 SubChannel #4]Subchannel Connectivity change to TRANSIENT_FAILURE, last error: connection error: desc = "transport: authentication handshake failed: node certificate verification failed: signature veritifcation failed: x509: Ed25519 verification failure"
2024/05/27 23:59:29 INFO: [core] [pick-first-lb 0xc000191260] Received SubConn state update: 0xc0001912f0, {ConnectivityState:TRANSIENT_FAILURE ConnectionError:connection error: desc = "transport: authentication handshake failed: node certificate verification failed: signature veritifcation failed: x509: Ed25519 verification failure"}
2024/05/27 23:59:29 INFO: [core] [Channel #3]Channel Connectivity change to TRANSIENT_FAILURE
2024/05/27 23:59:29 INFO: [core] [Channel #3]Channel Connectivity change to SHUTDOWN
2024/05/27 23:59:29 INFO: [core] [Channel #3]Closing the name resolver
2024/05/27 23:59:29 INFO: [core] [Channel #3]ccBalancerWrapper: closing
2024/05/27 23:59:29 INFO: [core] [Channel #3 SubChannel #4]Subchannel Connectivity change to SHUTDOWN
2024/05/27 23:59:29 INFO: [core] [Channel #3 SubChannel #4]Subchannel deleted
2024/05/27 23:59:29 INFO: [core] [Channel #3]Channel deleted

I think this is a larger problem than just this particular scenario.
Generally it's a problem of detecting and bubbling up persistent errors in the RPC resolver library. Currently we treat every error as transient and just fall back to our retry loop. This is generally the preferred behavior for when the RPC resolver library is used by machines to talk to other machines, and where we assume there are no client misconfigurations that should result in permanent errors. But obviously this doesn't work the same way when dealing with metroctl that has been possibly misconfigured.
I think the immediately solution would be to bubble up resolver errors to the user (slightly cleaned up) so that they at least have the ability to judge that something's going wrong.
Alternatively there could be a way to configure the resolver (or even the client channel?) in a fail-early mode which interactive tools would use - similar to some of the (deprecated) options in gRPC dialing/calling.


Fix deprecation warning 'pkg_resources is deprecated as an API'

/Users/alex/workspace/rupurt/llm-http-api/.venv/lib/python3.11/site-packages/llm/plugins.py:3: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Datasette has the same warning. About time I figured this one out.
Started by getting some clues from ChatGPT: https://chat.openai.com/share/44f23178-9ba0-4f32-bbc3-ea16d39ea7ff
After some hacking got to this point:
$ LLM_LOAD_PLUGINS=llm-cluster llm plugins
[
  {
    "name": "llm-cluster",
    "hooks": [
      "register_commands"
    ],
    "version": "0.2"
  }
]
$ LLM_LOAD_PLUGINS=llm-cluster,llm-clip llm plugins
[
  {
    "name": "llm-cluster",
    "hooks": [
      "register_commands"
    ],
    "version": "0.2"
  },
  {
    "name": "llm-clip",
    "hooks": [
      "register_commands",
      "register_embedding_models"
    ],
    "version": "0.1"
  }
]

Note that importlib.metadata - which replaces pkg_resources - is new in Python 3.8 https://docs.python.org/3/library/importlib.metadata.html

I need to run tests that exercise LLM_LOAD_PLUGINS. It looks like I have a local test for that which I never checked in, in a file called tests/test-llm-load-plugins.sh:
#!/bin/bash
# This should only run in environemnts where both
# llm-cluster and llm-sentence-transformers are installed

PLUGINS=$(llm plugins)
echo "$PLUGINS" | jq 'any(.[]; .name == "llm-sentence-transformers")' | \
  grep -q true || ( \
    echo "Test failed: llm-sentence-transformers not found" && \
    exit 1 \
  )
# With the LLM_LOAD_PLUGINS we should not see that
PLUGINS2=$(LLM_LOAD_PLUGINS=llm-cluster llm plugins)
echo "$PLUGINS2" | jq 'any(.[]; .name == "llm-sentence-transformers")' | \
  grep -q false || ( \
    echo "Test failed: llm-sentence-transformers should not have been loaded" && \
    exit 1 \
  )
echo "$PLUGINS2" | jq 'any(.[]; .name == "llm-cluster")' | \
  grep -q true || ( \
    echo "Test llm-cluster should have been loaded" && \
    exit 1 \
  )
# With LLM_LOAD_PLUGINS='' we should see no plugins
PLUGINS3=$(LLM_LOAD_PLUGINS='' llm plugins)
echo "$PLUGINS3"| \
  grep -q '\[\]' || ( \
    echo "Test failed: plugins should have returned []" && \
    exit 1 \
  )

I want to run that in CI.


Charts dataset loosing data when datalabels plugin is being used

I've setup a horizontal bar chart to draw a bar based on data pushed to the graph. When I add the data labels plugin into my chart the line is animated and then disappears with the length of the dataset always being erased. If I remove the data labels plugin from the graph the values will chart correctly, but only until the second data_value is pushed onto the dataset, it skips the first one for some reason (maybe a separate bug).
Library versions:
"chart.js": "^2.7.2",
"chartjs-plugin-datalabels": "^0.4.0",
"chartjs-plugin-streaming": "^1.7.0",
Below is my react component:
<HorizontalBar
          ref='chart'
          data={{
            datasets: [{
              label: 'Depth',
              backgroundColor: '#305c8a',
              borderColor: '#305c8a',
              data: []
            }]
          }}
          height={700}
          options={{
            title: {
              display: false
            },
            maintainAspectRation: false,
            tooltips: {
              enabled: false
            },
            legend: {
              display: false
            },
            plugins: {
              datalabels: {
                display: (ctx) =>{
                  var val = ctx.dataset.data[ctx.dataIndex];
                  return val.depth % 5 == 0;
                },
                anchor: 'end',
                align: 'right',
                clip: true,
                formatter: (value, ctx) => {
                  return `${Formatter.formatNumber(value.depth)}'`;
                }
              }
            },
            scales: {
              xAxes: [{
                ticks: {
                  display: false,
                  min: 0,
                  max: 2
                },
                gridLines: {
                  display: false
                }
              }],
              yAxes: [{
                type: 'realtime',
                maxBarThickness: 3,
                gridLines: {
                  display: true
                },
                realtime: {
                  duration: 300000/*14400000*/,
                  delay: 1000,
                  onRefresh: (chart) => {
                    chart.data.datasets[0].data.push({x: 1, y: Date.now(), depth: 1200});
                  }
                }
              }]
            }
          }}
        />

Nevermind, figured it out.... it was the react-chartjs-2 wrapper that was causing the issues.


Fix pool timeout test

I was using this test to check what the full {:error, _} tuple is when the pool times out & found that the assert in the catch wasn't being called.
This doesn't affect functionality at all, just fixing this test so it does get an exit there. I based the changes off of this nimble_pool test

Great catch, thank you!


Remove "node" requirement to ~6.7.0

Yarn will fail if version 6.9.1 is installed. You could either use ^ (don't forget to adapt for 7.x.x) or remove the requirement.

Yeah, I've heard yarn is going to make us all respect the engine config. :)
I need to make some time to review yarn and then figure out what would be the most appropriate configuration.

I'd suggest just setting node version engine support following semver scheme ^6.7.0 as @bkniffler pointed out.


display the RC channel input value on the screen.

I want to display the RC channel input value on the screen.
I couldn't find it in the API reference.
Any help would be greatly appreciated.

Yes, it's currently not implemented looking at http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/telemetry.html.
Which MAVLink message information would the information be in that you need?

HIL_RC_INPUTS_RAW(#92).

But this message is not implemented or used for PX4. It is specfically for HIL (hardware in the loop) simulation. Are you sure?

But this message is not implemented or used for PX4. It is specfically for HIL (hardware in the loop) simulation. Are you sure?

I couldn't explain it properly.
I am wondering if there is a function similar to HIL_RC_INPUTS_RAW(#92) in MAVSDK-API.

Do you want to send RC channels using MAVSDK or do you want to have telemetry about what is being sent by some other RC?

I want to know the Hz value of the RC channel remotely.
like PyMAVLink
`import time
from pymavlink import mavutil
Drone = mavutil.mavlink_connection('udpin:<IP_ADDRESS>:14550')
while True:
try:
print(Drone.recv_match(type='RC_CHANNELS', blocking=True))
except:
pass
time.sleep(0.1)`

Do you want to send RC channels using MAVSDK or do you want to have telemetry about what is being sent by some other RC?

I used the Insert code function, but it doesn't work..

Ok, you need telemetry for RC_CHANNELS, now I understand it.

Hi @julianoes,
How is going this feature? I am developing a safe landing system with computer vision and I need to detect the RC switches values to be able to abort the landing if the pilot wants.
Do you know any available method to do this with mavsdk or do I have to wait for this improvement?
Thank you in advance,
Sergi.

Hey @julianoes,
I would also like to know the status of this feature request. I am trying to get the status of the RC switches as well. Thanks!

Hi, same question/request.
I have a Cube connected to a linux companion computer via the Telemetry uart and I would like to read the RC channel values that are sent from the transmitter on the ground on the companion computer. What is the status of this feature, is it possible? If not, what is the least painfull work-around?

I guess we need somebody to contribute RC_CHANNELS to the telemetry plugin. Happy to help if someone is willing to do that :+1:


🐞 Move to top button missing

Description
I want to add move to top button in the website. Please assign it to me under gssoc'23
Current behaviour

Expected behaviour

Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

Logs
No response
Browsers
No response
OS
No response
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

@anmode  please check it https://github.com/anmode/grabtern-frontend/pull/539

left you comment

hey @anmode can you assign this to me, i can add this quickly

@anshulsoni4 I have already created it, Just the pr needs to be merged

hey @anmode can you assign this to me, i can add this quickly

there are more issues.. please look


StartlListeningAsync minimumTime and minimumDistance question

Just having a little trouble understanding what exactly minimumTime and minimumDistance control? I've had a look through the FAQ and examples etc, but I can't find any documentation on what exactly this should do.
How are they different to the deferral settings, when they are in use? (DeferralDistanceMeters and DeferralTime)
Do all 4 of these parameters have different meanings?
If so, what are they?
I'm trying to troubleshoot a part of our app that required detecting if the user is inside a particular Geo Fence or not.
The code itself works, when we forcibly check the users location (via button) rather than relying on it to be called in the background.
I'd like to better understand how to control these values, and apply them to our usecase.
Our requirements are to check the users location every 15 minutes. If their location has changed, and they are no longer within a particular area, some further action is executed.
Currently,  the PositionChangedEvent() is called seemingly at random. It happens across all devices we test on (range of iOS and Android tablets and phones). Often the event will trigger with the device having been stationary for hours.
I'm hoping to solve that issue on my own, but I need a greater understanding of how to use the minimumTime and minimumDistance properties, so I can troubleshoot what's going wrong for us.
async Task BackgroundLocationCheck()
        {
            //https://jamesmontemagno.github.io/GeolocatorPlugin/BackgroundUpdates.html

            if (CrossGeolocator.Current.IsListening)
                return;

            var listnerSettings = new ListenerSettings
            {
                AllowBackgroundUpdates = true,
                PauseLocationUpdatesAutomatically = true,
            };
            await CrossGeolocator.Current.StartListeningAsync(TimeSpan.FromMinutes(5),100, true, listnerSettings);

            CrossGeolocator.Current.PositionChanged += PositionChangedEvent;
        }

        private void PositionChangedEvent(object sender, Plugin.Geolocator.Abstractions.PositionEventArgs e)
        {
            GeoLocation.UpdateUserLocation(e.Position);
        }

You have the heading as "true". That's why it listens all the time! Do
StartListeningAsync(TimeSpan.FromMinutes(5),100, false, listnerSettings);
Also the ListenerSettings affect only iOS.


WebRTC does not work on WebView

class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: WebView(
            initialUrl: 'https://webrtc.github.io/samples/src/content/getusermedia/gum/',
            javascriptMode: JavascriptMode.unrestricted,
        ),
      );
    }
}

flutter doctor -v
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Linux, locale ca_ES.UTF-8)
• Flutter version 1.7.8+hotfix.4 at /home/nadal/Development/flutter
• Framework revision 20e59316b8 (fa 9 setmanes), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/nadal/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /home/nadal/Development/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Android Studio (version 3.5)
• Android Studio at /home/nadal/Development/android-studio
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.38.1)
• VS Code at /usr/share/code
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 5.1.1 (API 22) (emulator)
• No issues found!

Hello @nadalet !
Thank you for posting an issue.
Can you please attach an output of the flutter doctor -v command as well?
Thank you.

@janmoppel  I have edited the first comment and I have added the flutter doctor.

+1

flutter_inappwebview can be used for webRTC. Add proper permissions in code and it will work.
But this has some issues Keyboard doesn't pops up on textFields in some phones like Oneplus 7

Issue reproducible on latest dev channel (1.20.0-0.0.pre) and with latest version of webview_flutter plugin.

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.20.0-0.0.pre at /Users/deeptibelsare/Documents/Fluttersdk/flutter
    • Framework revision d9653445f4 (8 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/deeptibelsare/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/deeptibelsare/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/deeptibelsare/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.3

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 1 category.

"[object DOMException]", source: https://webrtc.github.io/samples/src/content/getusermedia/gum/js/main.js (41)

anyone found a workaround for this
As an API that may involve significant privacy concerns, getUserMedia() is held by the specification to very specific requirements for user notification and permission management. First, getUserMedia() must always get user permission before opening any media gathering input such as a webcam or microphone. Browsers may offer a once-per-domain permission feature, but they must ask at least the first time, and the user must specifically grant ongoing permission if they choose to do so.
so how to handle user permission without a browser bar?

anyone found a workaround for this
As an API that may involve significant privacy concerns, getUserMedia() is held by the specification to very specific requirements for user notification and permission management. First, getUserMedia() must always get user permission before opening any media gathering input such as a webcam or microphone. Browsers may offer a once-per-domain permission feature, but they must ask at least the first time, and the user must specifically grant ongoing permission if they choose to do so.
so how to handle user permission without a browser bar?

Is this still an issue? with the IOS 14 wkwebview supports webrtc.

Is this still an issue? with the IOS 14 wkwebview supports webrtc.

Anyone have solution for this one? Thanks.

The issue is reproducible on the latest master 2.5.0-2.0.pre.181 and stable 2.2.3 with webview_flutter: ^2.0.10.

flutter doctor -v
[✓] Flutter (Channel master, 2.5.0-2.0.pre.181, on macOS 11.5.1 20G80 darwin-arm, locale en-GH)
    • Flutter version 2.5.0-2.0.pre.181 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e40d7e6ef4 (2 hours ago), 2021-08-05 14:15:04 +0800
    • Engine revision c3739afe0a
    • Dart version 2.14.0 (build 2.14.0-377.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile)    • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 14.6 18F72
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 92.0.4515.131

• No issues found!

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-arm, locale en-GH)
    • Flutter version 2.2.3 at /Users/nexus/dev/sdks/flutter
    • Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile)    • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 14.6
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 92.0.4515.131

• No issues found!

Error
[INFO:CONSOLE(41)] "[object DOMException]", source: https://webrtc.github.io/samples/src/content/getusermedia/gum/js/main.js (41)

@stuartmorgan Any plan on this?


Special Hours for split labels?

It's possible to add different special hours for labels in one day?

I don't think so.
As a work around you can use a background event to represent the special hours.

indeed, that's correct.
It might be an option in the future.


Introduction.

Ahh fuck, sorry for the messy PR. Think I must've synced with the main repo and shouldn't have.


AttributeError: module 'matplotlib.cbook' has no attribute 'mplDeprecation'

conda create -n cellrank python=3.11
conda activate cellrank
conda install -c conda-forge cellrank
I meet a problem when i enter python type import cellrank

import cellrank as cr
Traceback (most recent call last):
File "", line 1, in
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/init.py", line 2, in
import cellrank.pl
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/pl/init.py", line 1, in
from cellrank.pl._graph import graph
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/pl/_graph.py", line 11, in
from cellrank.ul._docs import d
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/ul/init.py", line 1, in
import cellrank.ul.models
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/ul/models/init.py", line 1, in
from cellrank.ul.models._base_model import BaseModel, FailedModel, FittedModel
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/ul/models/_base_model.py", line 14, in
from cellrank.tl._enum import ModeEnum
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/tl/init.py", line 1, in
import cellrank.tl.kernels
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/tl/kernels/init.py", line 1, in
from cellrank.tl.kernels._base_kernel import Kernel
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/cellrank/tl/kernels/_base_kernel.py", line 21, in
import scvelo as scv
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/init.py", line 5, in
from scvelo import datasets, logging
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/datasets/init.py", line 1, in
from ._datasets import (
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/datasets/_datasets.py", line 10, in
from scvelo.core import cleanup
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/core/init.py", line 1, in
from ._anndata import (
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/core/_anndata.py", line 15, in
from scvelo import logging as logg
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/logging.py", line 12, in
from scvelo import settings
File "/home/wangz/miniconda3/envs/cellrank/lib/python3.11/site-packages/scvelo/settings.py", line 91, in
warnings.filterwarnings("ignore", category=cbook.mplDeprecation)
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'matplotlib.cbook' has no attribute 'mplDeprecation'

Package           Version

anndata           0.10.9
array_api_compat  1.9.1
asttokens         2.0.5
cached-property   1.5.2
cellrank          1.5.1
certifi           2024.8.30
click             8.1.7
colorama          0.4.6
comm              0.2.1
contourpy         1.3.0
cycler            0.12.1
debugpy           1.6.7
decorator         5.1.1
docrep            0.3.2
exceptiongroup    1.2.2
executing         0.8.3
fonttools         4.54.1
future            1.0.0
get-annotations   0.1.2
h5py              3.12.1
ipykernel         6.29.5
ipython           8.27.0
jedi              0.19.1
joblib            1.4.2
jupyter_client    8.6.0
jupyter_core      5.7.2
kiwisolver        1.4.7
legacy-api-wrap   1.4
llvmlite          0.43.0
loompy            3.0.6
matplotlib        3.9.2
matplotlib-inline 0.1.6
mpi4py            4.0.1
munkres           1.1.4
natsort           8.4.0
nest-asyncio      1.6.0
networkx          3.4.2
numba             0.60.0
numpy             2.0.2
numpy-groupies    0.11.2
packaging         24.1
pandas            2.2.3
parso             0.8.3
patsy             0.5.6
petsc4py          3.22.0
pexpect           4.8.0
pillow            11.0.0
pip               24.2
platformdirs      3.10.0
progressbar2      4.5.0
prompt-toolkit    3.0.43
psutil            5.9.0
ptyprocess        0.7.0
pure-eval         0.2.2
pygam             0.9.1
Pygments          2.15.1
pygpcca           1.0.4
pynndescent       0.5.13
pyparsing         3.2.0
python-dateutil   2.9.0.post0
python-utils      3.8.2
pytz              2024.1
pyzmq             25.1.2
scanpy            1.10.3
scikit-learn      1.5.2
scipy             1.14.1
scvelo            0.2.5
seaborn           0.13.2
session-info      1.0.0
setuptools        75.1.0
six               1.16.0
slepc4py          3.22.0
stack-data        0.2.0
statsmodels       0.14.4
stdlib-list       0.11.0
threadpoolctl     3.5.0
tornado           6.4.1
tqdm              4.66.6
traitlets         5.14.3
typing_extensions 4.11.0
tzdata            2024.2
umap-learn        0.5.7
unicodedata2      15.1.0
wcwidth           0.2.5
wheel             0.44.0
wrapt             1.16.0

@wzyfudan, I cannot reproduce the error. I just installed CellRank in a new environment like you did on different systems, and everything works as expected. The underlying issue is with scVelo, but the issue was resolved some time ago.

Thank you for your help. I already install cellrank in my Local computer without issue. Maybe there are some bugs in my servers.


[WIP] removed cartodb.com references and added on premise version

(waiting to merge with master after @xavijam updates)

removes cartodb.com references
removes "upgrade" stuff
adds onpremise version to the footer

cc @santisaez @xavijam (review it please)

Frontend tests were OK :+1: (details)

Just those comments, but looks ok :+1:

:+1:

Frontend tests were OK :+1: (details)


Inconclusive parse error message, if datatype declaration is used after source declaration

Example:
@source a[3]: load-csv("something.csv").
@declare a(integer, string, any).

gives error
Parse error on line 2, column 1: Syntax error: End of file

Expected behaviour:
Either accept the above, or something like
Parse error on line 2, column 1: Syntax error: @declare used after @source

Ok, I just noticed the "problem" is more general than this, because the program is expected to be structured into parts that have a fixed order which is

base prefix
prefix declarations
datatype declarations
data source declarations
the actual program

I don't know if we want to stick with this strict requirement. In any case the error messages should be more helpful here.

No, we should relax the restrictions somewhat (we already concluded that we want to allow @output at places other than the exact end of the program), and have better error messages for the cases where, e.g., a base declaration is found after a relative IRI appeared in some fact or rule.


Individual baseline

Connects with https://github.com/LLNL/serac/pull/747

Connects with https://github.com/LLNL/serac/pull/747


Misc: start to decompose validate indentation logic

We stopped developing indentation logic, since bus factor of it is very low it is hard to understand and maintain, we need to decompose that logic.
WIP

/cc @mikesherov

I'll review. I had a certain vision for how this should work, so I'll add more thoughts here about it as well.

I guess we can close this since it was rewritten in 3.0 anyway?


Fix ptr for Dapr to compile

Working to finish up the last bits to get Sam's PR here running successfully in CI, but we need to fix the ptr here: opts.ContinuationToken = &q.token which requires the version bumped for azcosmos. In the linter step for the PR you will see this:
  Error: ../../../go/pkg/mod/github.com/dapr/components-contrib@v1.13.2/state/azure/cosmosdb/cosmosdb_query.go:264:[28](https://github.com/dapr/dapr/actions/runs/9702087968/job/26777134911?pr=7847#step:6:30): cannot use q.token (variable of type string) as *string value in assignment
  Error: ../../../go/pkg/mod/github.com/dapr/components-contrib@v1.13.2/state/azure/cosmosdb/cosmosdb_query.go:288:11: cannot use queryResponse.ContinuationToken (variable of type *string) as string value in assignment) (typecheck)

This PR fixes the above issue

1.13 is using Go 1.21

1.13 is using Go 1.21

I'll fix this. One sec

1.13 is using Go 1.21

I'll fix this. One sec

Actually I can't.  Since
go<EMAIL_ADDRESS>requires go >= 1.22.0; switching to go1.22.4

But to fix the ptr issue in dapr I need that version of azcosmos

Dependencies have been updated in #3463. In a release branch, please don't change the Go compiler version or any dependency such as cloud provider SDKs unless there are critical bugs or security issues.

closing since the indirect dependency needed to be lowered in the dapr PR to resolve this issue. Artur beat me to committing the fix on Sams branch, but it should be resolved now


Allow setting of a global class to the svg-icon element

I was thinking it could probably be useful to receive class as a prop and add it to the svg-icon component so we can style it globally.
Currently, the first solution I see is to wrap svg-icon into another component (ie <foo-icon>) and use it in every template. However, I believe this could be solved trivially.
I'd like to propose some API that allows this to be set on initialisation:
svgSprite: {
    input: '~/assets/sprite/svg',
    output: '~/assets/sprite/gen',
    defaultSprite: 'icons',
    elementClass: 'icon'
  }

This will allow the icons to share a global style and we already have the generated id for individual style.
I came across this problem when (naively) styling the svg element globally which led to weird behaviours when scaling
Do you consider this is worth it? Maybe I'm missing some obvious solution.

I was thinking it could probably be useful to receive class as a prop and add it to the svg-icon component so we can style it globally.

Right now you can do this, just add class="foo", DEMO
<svg-icon name="tets" class="icon" />

I believe default class will help, I'll consider it in future, but for now you can use class attr


set address color to AddressColor for import and export tree in triage view

Tried to solve #3456

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Am I need to do this painting trough delegate? If so, I can change the code.

Merged into 6afd790abeccc98e4319e392ed1f8d8dd78baa8f


🐛 [firebase_messaging] App crashes when receiving message under certain circumstances

Bug report
Describe the bug
App crashes when trying to receive a FCM message after the app has been killed using Android's task manager.
The message reaches the device but the app seems unable to restart. Sending a message to the app in the "killed" state generates the following lines in logcat:
Steps to reproduce
Check notifications are properly working while the app is running
Kill the app using the swipe up gesture in the task list
Send a FCM to the app
Expected behavior
This should not appear in logcat:

Additional context
When I sent notification from Firebase Console app close and this type of error was shown

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.0.1 20B29 darwin-arm, locale en-IN)
    • Flutter version 1.22.6 at /Users/htpapp1/tools/flutter
    • Framework revision 9b2d32b605 (10 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/htpapp1/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9317
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[✓] Connected device (1 available)
    • SM A505F (mobile) • RZ8M71JQ7PM • android-arm64 • Android 10 (API 29)

Flutter dependencies

Hi @tusharnikam-htp
First off please refrain from posting screenshots, we can't copy the text and it makes finding the issue impossible for anyone facing the same problem.
Secondly please consider upgrading to the latest version firebase_messaging: ^8.0.0-dev.14. There have been major stability improvements and the native code workarounds are no longer necessary. The version you are using will be replaced soon and it is likely the cause of the issue.
Upgrading to the latest version of firebase messaging will also mean you will need to upgrade all of your firebase plugins, as the new versions are incompatible with the old ones (see https://firebase.flutter.dev/docs/migration). Beware that the nullsafety versions aren't fully supported yet so I don't recommend you use them.
If you are still facing this issue on the latest version you can provide your
flutter pub deps -- --style=compact and error logs.
Thank you

@markusaksli-nc  I update the all package and follow FlutterFire and the issue will be resolved :)
As of now I am closing this issue


chore: implement phony targets correctly

Issue #, if available:
Description of changes:
From the manual of make

A phony target is one that is not really the name of a file; rather it is just a name for a recipe to be executed when you make an explicit request. There are two reasons to use a phony target: to avoid a conflict with a file of the same name, and to improve performance.

See: https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
Checklist

[ ] Meet tenets criteria
[ ] Update tests
[ ] Update docs
[x] PR title follows conventional commit semantics

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I need to have a read on the Phony targets more carefully, then merge this as it seems like a no brainier - But first I need to make sure I understand how this improves performance OR if this is to avoid filename conflicts (do we have any?)

The main reason why I always use it because I had conflicts where I accidentally created a file that had the same name as a target and then you get a "Nothing to do" message from Make as the file is already there. .PHONY will prevent that by always executing the target.
So after hitting that one and a good amount of troubleshooting I am always adding those phony definitions to prevent it from happening again.

Understood, thanks a lot @Nr18 !!