last window of space isn't removed from yabai's list when closed

behavior I'm experiencing:
when I close the only window in a space, the window still shows up in yabai -m query --spaces --space [the space I was in]
this results in the icon continuing to show up in my list of spaces, on my sketchybar
behavior I'm expecting:
window is removed from yabai's json when window is closed
what other information should I provide?
Thank you so much! so glad that this software exists.

I cannot reproduce this issue in latest version.

I think it was an issue with my config. sorry for the false alarm!

On Mar 28, 2024, at 11:16 AM, Åsmund Vikane @.***> wrote:
I cannot reproduce this issue in latest version.
—
Reply to this email directly, view it on GitHub https://github.com/koekeishiya/yabai/issues/2174#issuecomment-2025473390, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMLI76F2A2KJDU7PVWTCR23Y2QQ3NAVCNFSM6AAAAABE6TDB3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVGQ3TGMZZGA.
You are receiving this because you authored the thread.


Consider consolidating naming for Hugo menu and pager link variables

Currently .Page.URL is deprecated and marked for removal. Users are advised to use .Permalink and/or .RelPermalink in templates
However the .URL name is still used in the contexts of Hugo menus and pagination link variables.
Please consider dropping the use of .URL from these contexts also.
It's always better to have one set of terms used across the board instead of two.
So that we can have: {{ $paginator.Prev.Permalink }} or {{ $paginator.Prev.RelPermalink }} depending on the situation etc.
and
{{ range .Site.Menus.main }}{{ if .HasChildren }}{{ range .Children }}{{ end }}{{ end }}{{ end }} etc.

You don't always have a .Page associated with a menu item. More often than not they're just entered via config.yaml. Without a page  .URL is just a string containing a user entered value which can be anything, an external URL, a relative URL, or even a word.
True but in the wild I am seeing such errors in themes ref

execute of template failed: template: partials/menu.html:16:20: executing "partials/menu.html" at <.Permalink>: can't evaluate field Permalink in type *navigation.MenuEntry

Regarding external links like the Twitter one you mention, I guess that we could come up with something for these like ExternalLink or something.
Anyway of course these are proposed breaking changes but terminology is king. As is consistency.

Regarding pagination as I said in #6272 the .URL variable always points to the host root.
In the wild I have made note of issues like this one: https://github.com/Lednerb/bilberry-hugo-theme/issues/172
ERROR 2019/04/24 13:42:49 render of "home" failed: execute of template failed: template:
index.html:19:7: executing "main" at <partial "paginator" .>: error calling partial: "/Users/XX/Git/XX/themes/bilberry-hugo-theme/layouts/partials/paginator.html:8:34": execute of template failed: template: partials/paginator.html:8:34: executing "partials/paginator.html" at <.Paginator.Prev.Permalink>: can't evaluate field Permalink in type *page.Pager

People are getting confused currently and rightly so.
Also pagination in Hugo Themes demos currently has broken links (at least on my end).


how to close audio record when video recording

when the app want to video record, can let dev choose if use record audio pls?
I don't want record audio now, and don't want request record audio permission too.
But if I don't request record audio permission , the app will crash.

The sample app does not implement video record. Can you please file a bug in the appropriate component of the Android Issue Tracker? It should be https://issuetracker.google.com/components/618491
Alternatively, feel free to ask your question at the CameraX developer community forums: g.co/camerax/developers


HC1 missing in QR Code stored in the ios Wallet

Upon Scanning the QR Code in the iOS Wallet, the HC1 prefix is removed.
The resultant QR Code that is saved in the Wallet is invalid, as it's missing the HC1 prefix.
in HCert.swift:
  static func parsePrefix(_ payloadString: String, errors: ParseErrors?) -> String {
    var payloadString = payloadString
    var foundPrefix = false
    for prefix in Self.supportedPrefixes {
      if payloadString.starts(with: prefix) {
        payloadString = String(payloadString.dropFirst(prefix.count))
        foundPrefix = true
        break
      }
    }
    if !foundPrefix {
      errors?.errors.append(.prefix)
    }
    return payloadString
  }

The above line removes the HC1 prefix (which is correct at this point)
payloadString = String(payloadString.dropFirst(prefix.count))
However, later in HCERT+UIKit.swift, this HC1 is never returned to the payLoad when saving the new QR Code that is saved in the wallet.
  func makeQrCode() -> UIImage? {
    let data = payloadString.data(using: String.Encoding.ascii)

    if let filter = CIFilter(name: "CIQRCodeGenerator") {
      filter.setValue(data, forKey: "inputMessage")
      let transform = CGAffineTransform(scaleX: 3, y: 3)

      if let output = filter.outputImage?.transformed(by: transform) {
        return UIImage(ciImage: output)
      }
    }

    return nil
  }

Either we need to either prepend the HC1 back when making the QRCode (which for me is not a correct solution,
or maintain the Original QR Code string (version without trimming), and utalize this to save the QRCode in the makeQrCode function.

@SchulzeStTSI Please can you review this, as it may be painful for many countries.
It's probably going to require that Verifiers will need to test against this specific issue, and "accept" this as a valid QR Code.
I know that Belgium, Greece will currently fail using the current bug in place.

So this is indeed a very serious issue / bug. I suggest:

TSI priorities investigtion + which countries are affected
A small implementation note is written
@psavva or TSI tries to get some example cases in the main body of test sets

And then we do 3 things (in order urgency):

We sent out an urgent communication to the 24x7 contacts that they will see this at the border
We sent out an urgent comms to the implementors to test & introduce a workaround in their verifiers (for those countries)
TSI fixes this bug in their code and pushes this out to those that use their code for the citizen app.

The change was made 3 months ago! Are we sure that this bug is manifesting? This should never have passed even the most rudimentary QA.
Here's the offending commit: https://github.com/eu-digital-green-certificates/dgca-app-core-ios/commit/a8a2b2f51d33dd9c25c5f2eeb373cee43683e895

@psavva and I have reproduced this bug in the Cyprus app, in production!

May I suggest a routine that checks for the invalid QR code and prepends the HC1: to the exciting QR codes on first startup after the fix.
This would act as a datafix for the exciting QR Codes without the HC1 prefix.
This would also avoid a mass replacement of QR codes on the wallets by citizens, and only required this extra logic during startup...

Couple of months ago I suggested to the TSYS devs to simply check for HC1 at the start; and remove it if present; and just take it from there. As back then as a transition.

I would have hoped for at least the 4 permutation test cases too ! As to prevent this from sneaking in again!

As this issue is now "closed", do we need to adapt verifiers app as well to manage this case? Or can we consider that all QRCodes are now corrected ?

Our Verifier-Apps can read codes with and without the HC1-Prefix.
Anyway, all codes stored in our Wallet-Apps will be correct and include the HC1-Prefix.

Our Verifier-Apps can read codes with and without the HC1-Prefix.
Anyway, all codes stored in our Wallet-Apps will be correct and include the HC1-Prefix.

Do you have a list of which countries use yours/these verifier apps ? And a list of which countries use yours/the affected wallet apps ?


Notification layout

Hi, amazing library you got here. How do i show the large icon/image to the left of the body and not to the right that it currently defaults to.

Maybe the new Messaging layouts in 0.6.14 is what you are looking for. Please, take a look.


Variable Buffer Size

Hi, great project!
I sometimes have many datapoints, exceeding the internal Buffer. Would it be possible to add a configurable sized buffer?
Also, a Checkmark with "endless" would be nice so that the software will just keep going as long as you want. Could be done with chunks of allocated heap, when exceeding just add a new chunk.

With buffer i mean the plot in the scrollable viewport

Hi @timoxd7, it would definitely be possible to change the buffer size to be configurable. As I am adding more features, I am trying to think of the best way to do this. Because it is related to the serial data coming in, I would likely add it on the top line next to other serial information. I am thinking a button to press which pops open a text box to fill, with a checkmark next to it that says endless. Does that sound like what you are looking for?

@nathandunk Yes that sounds perfect. If you are on writing things depending on the data input, i also have another small idea maybe worth thinking about. I sometimes do not have the UART interface working, but a file which contains all the potential UART output.
To read the serial in from file, combined with an endless buffer would make it possible to discover recorded data with your great tool with all the serial parsing features and plot navigation.

@nathandunk that would be perfect.
Another idea with this implemented would be to read serial from file. I have a device not connected to a PC directly but with console to file. Combinet with an endless buffer would make it possible to parse the file with your great tool and use the plot navigations to view all captured data.


data: HoldUpFjord

Changes proposed
Added profile

Check List (Check all the applicable boxes)

[x ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x ] This PR does not contain plagiarized content.
[x ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Thank you so much! You maintainers ROCK.

Closing pull request as it seems to be superseded by a newer pull request https://github.com/EddieHubCommunity/LinkFree/pull/2908


Force gem user to explicitly insert hook in view

Many of the issues with the gem are people saying that the hook is inserted in responses where it doesn't belong. For example, when generating text #59, generating JSON #37, sending a file #62, sending a live response #47, doing AJAX #31. I had an issue with the hook being inserted in generated Excel files.
I think this is because Paloma tries to automatically decide when to include the hook by looking at the response type and by hooking into the render call. It's obviously difficult to anticipate all the cases where this doesn't work, but the examples above show that the current solution gets it wrong for a lot of cases.
Wouldn't it be better to require gem users to explicitly include the Paloma hook where they want it in their views?
I renamed append_paloma_hook to insert_paloma_hook
This new helper should be called once in the views (in the layout is a good place), just before the closing body tag.
This gets rid of the most "magical" thing in the gem and avoids having to search the response body for the closing body tag to insert the hook. It solves any potential "mis-insertions" for unexpected responses. It fixes inserting the hook into the output of Rails engines that don't expect it.
The only big issue is that this is a breaking change since people that use the gem today would have to add one line to their layout.
Any thoughts? And once again, thanks for spending some time keeping up this cool gem :+1:

Ping @kbparagua

@monkbroc @pusewicz
I have two options in mind right now.
This one and setting js false by default (so no Paloma hook will be executed by default).
However, I don't have time to investigate both options yet. But I'm planning to work on this before the month ends.
Anyway, thanks for using Paloma.

Another variant would be to make the auto-insertion of the hook configurable. So users that want to insert the hook manually could opt in. Otherwise the gem would continue working as before.

@monkbroc
Sorry, I just noticed that this will be merged into branch 4.0. Can we close this one and submit a PR again but for the master branch?
Thanks.
Anyway, I'm testing your approach locally now, and so far I'm not encountering any issues. For now, I'm leaning towards this approach and might merge this before the month ends.

I will close this now. Please refer to PR https://github.com/kbparagua/paloma/pull/75


oversecured 1.0.1 (fix)

Updating wrongly made changed in https://github.com/bitrise-io/bitrise-steplib/pull/3013
What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[+] I will not move an already shared step version's tag to another commit
[+] I read the Step Development Guideline
[+] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[+] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[+] I read and accept the Abandoned Step policy

 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.


Fundinginfo improvements

Opening a PR so we can continue the conversation here. @timmolter You can leave this for me to merge when it's ready (it's not ready yet).

Tested: https://github.com/timmolter/XChange/pull/1406#issuecomment-292894580

@mmazi Ready to merge this? I can do a release today or perhaps this weekend. Any important rescu updates?

Not yet ready. I think it's still necessary to change FundingRecord.status to an enum to make the API is not sufficiently generic.
I can do the coding, but I'd need help with testing. I can test Kraken and Poloniex, but not easily Bitfinex, BTCChina, and OkCoin. @kisapmata , can you help here? I'd also like some input about what status enum values are appropriate for these three exchanges.
@timmolter I don't think there is anything important in rescu beyond 1.9.0.

I've pushed the code with enum Status, and also contacted some exchanges about the possible values of what they return as as deposit/withdrawal status.
@kisapmata The code for Bitfinex, BTCChina, and OkCoin needs to be updated (and tested): map the values returned from the exchanges to appropriate enum values. Do you think you can find the time? (Replace all usages of the deprecated FundingRecord constructor with the new constructor.)
Also, if there are other values of the Status enum you'd like included, please let me know. I'd like to keep these at a minimum though, but I might have missed some.

@kisapmata Here's the OkCoin status mapping from their docs:
status: recharge status (-1:Failure;0:Wait Confirmation;1:Complete), withdrawal status (-3:Revoked;-2:Cancelled;-1:Failure;0:Pending;1:Pending;2:Complete;3:Email Confirmation;4:Verifying5:Wait Confirmation)

Here's the response from BitFinex support regarding the statuses they return:

The possible return values of the status field are:

PENDING
PROCESSING
PENDING APPROVAL
PROCESSING
COMPLETED

Hi All, sorry its been super busy at work. Can you let me know what and how
exactly you want me to do. What has been done and whats pending and which
branch to checkout etc.? I understand you want to convert the status to
enum. Just want to be clear before I start on anything.
Regards,
On Wed, Apr 19, 2017 at 8:48 PM, Matija Mazi<EMAIL_ADDRESS>wrote:

Here's the response from BitFinex support regarding the statuses they
return:
The possible return values of the status field are:

PENDING
PROCESSING
PENDING APPROVAL
PROCESSING
COMPLETED

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timmolter/XChange/pull/1432#issuecomment-295257858,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWJ9rnbDR92OapBTlz4O8buvsFOczEPPks5rxgKbgaJpZM4M4hlZ
.

Hi @kisapmata , great to have you here :)
Check out this branch (fundinginfo-improvements). It already contains enum Status. Then what needs to be done is this:
The code for Bitfinex, BTCChina, and OkCoin needs to be updated (and tested): the values returned from the exchanges need to be mapped to appropriate enum Status values. (Replace all usages of the deprecated FundingRecord constructor with the new constructor.)

Hi, I noticed that in Poloniex below we are equating the PENDING with
PROCESSING? I need help to finalized the list of status.
if ("PENDING".equals(statusStr) && status == null) {
status = FundingRecord.Status.PROCESSING;
}
I was initially thinking of adding below statuses for OKCOIN and BITFINEX.
But looking at poloniex, seems I can map all below (except for REVOKED) to
PROCESSING.? I assume revoke can be added as new status?
WAIT_CONFIFMATION
REVOKED,
EMAIL_CONFIRMATION,
VERIFYING,
PENDING_APPROVAL,
PENDING
On Fri, Apr 21, 2017 at 12:22 PM, Matija Mazi<EMAIL_ADDRESS>wrote:

Hi @kisapmata https://github.com/kisapmata , great to have you here :)
Check out this branch (fundinginfo-improvements). It already contains
enum Status. Then what needs to be done is this:
The code for Bitfinex, BTCChina, and OkCoin needs to be updated (and
tested): the values returned from the exchanges need to be mapped to
appropriate enum Status values. (Replace all usages of the deprecated
FundingRecord constructor with the new constructor.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timmolter/XChange/pull/1432#issuecomment-296055601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWJ9rrrP0K0GF3_sjZitXXhNAXD0FxFwks5ryC8WgaJpZM4M4hlZ
.

seems I can map all below (except for REVOKED) to
PROCESSING.?

I agree.

I assume revoke can be added as new status?

Shouldn't REVOKED be mapped to CANCELLED?

the java comment in FundingRecord on CANCELLED is that it is
user-cancelled. i think revoked is cancelled by the exchange?  or shall we
change the java comment?
On 21 Apr 2017 19:47, "Matija Mazi"<EMAIL_ADDRESS>wrote:

seems I can map all below (except for REVOKED) to
PROCESSING.?
I agree.
I assume revoke can be added as new status?
Shouldn't REVOKED be mapped to CANCELLED?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timmolter/XChange/pull/1432#issuecomment-296170064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWJ9rsRePctSDkrVRMQo3LkqfOd6lfAcks5ryJdTgaJpZM4M4hlZ
.

Ah, I see they have both Cancelled and Revoked. I've asked the OkCoin support.
It seems probable to me that all negative statuses mean that the transaction didn't go through, and never will, so they are final statuses. So I suggest REVOKED is mapped either to CANCELLED or FAILED -- your choice. We may fix it later if necessary. I would not add a new status.

Hi all, i have created the pull request for my commits.
https://github.com/timmolter/XChange/pull/1446

Hi guys,
thanks all for your awesome work here.
Short question: When will these changes (I'm mainly interested in funding info for bitfinex) be available over maven central? The most recent version (4.2.1) does not seem to have those changes.

@dave0688 https://github.com/timmolter/XChange/wiki/Frequently-Asked-Questions

No release notes, sorry. I'm not sure about the Bitfinex funding. Unfortunately you'll just have to watch the code, or code it yourself and submit a PR for it.

i thought we included bitfinex for funding history, and also, you can check
the demo classes for usage.
On 22 Aug 2017 02:33, "Tim Molter"<EMAIL_ADDRESS>wrote:
No release notes, sorry. I'm not sure about the Bitfinex funding.
Unfortunately you'll just have to watch the code, or code it yourself and
submit a PR for it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timmolter/XChange/pull/1432#issuecomment-323818748,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWJ9rstBSWTS6x3cyjT2crUbD1mHvynFks5sac2WgaJpZM4M4hlZ
.


docs: update the apisix image version and ingress image version

Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[x] Update docs

What this PR does / why we need it:

where is no apisix 2.15-alpine image in docker hub, with 2.15 and base image on alpine, there is 2.15.0-alpine in the hub, so if someone follow the doc will get imagePullErr.
I just test apisix-ingress-controller the original version 1.4.0 works, but the newest version is to 1.6.0, so maybe update the ingress controller image version is also needed.

[CMCC.DESKTOP-FL84U1K] ➤ kubectl get po -n apisix -owide
NAME                                         READY   STATUS    RESTARTS       AGE     IP           NODE             NOMINATED NODE   READINESS GATES
apisix-58cb57b4b4-ztpn7                      1/1     Running   0              42m     <IP_ADDRESS>   docker-desktop   <none>           <none>
apisix-ingress-controller-77899f968b-ksvlq   1/1     Running   0              25m     <IP_ADDRESS>   docker-desktop   <none>           <none>
etcd-0                                       1/1     Running   2 (110m ago)   5h58m   <IP_ADDRESS>   docker-desktop   <none>           <none>

[CMCC.DESKTOP-FL84U1K] ➤ kubectl describe pod apisix-ingress-controller-77899f968b-ksvlq -n apisix
Name:             apisix-ingress-controller-77899f968b-ksvlq
Namespace:        apisix
Priority:         0
Service Account:  apisix-ingress-controller
Node:             docker-desktop/<IP_ADDRESS>
Start Time:       Tue, 31 Jan 2023 16:58:16 +0800
Labels:           app.kubernetes.io/name=ingress-controller
                  pod-template-hash=77899f968b
Annotations:      <none>
Status:           Running
IP:               <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/apisix-ingress-controller-77899f968b
Init Containers:
  wait-apisix-admin:
    Container ID:  docker://5a7d559abf381d69f05e1a0410b135a292d0ff7c282d729816ecd01dc1b4342f
    Image:         busybox:1.28
    Image ID:      docker-pullable://busybox@sha256:141c253bc4c3fd0a201d32dc1f493bcf3fff003b6df416dea4f41046e0f37d47
    Port:          <none>
    Host Port:     <none>
    Command:
      sh
      -c
      until nc -z apisix-admin.apisix.svc.cluster.local 9180 ; do echo waiting for apisix-admin; sleep 2; done;
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 31 Jan 2023 16:58:17 +0800
      Finished:     Tue, 31 Jan 2023 16:58:17 +0800
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-q9bd7 (ro)
Containers:
  ingress-controller:
    Container ID:  docker://9fa1ba60ce20d22763e79c9dc3fc4cfc42eaae30b196edcb639ef626937c9193
    Image:         apache/apisix-ingress-controller:1.4.0
    Image ID:      docker-pullable://apache/apisix-ingress-controller@sha256:eb8c38ab72a96b8953f135b91208fced232d335a63d031e6c468bade50d73c93
    Port:          8080/TCP
    Host Port:     0/TCP
    Command:
      /ingress-apisix/apisix-ingress-controller
      ingress
      --config-path
      /ingress-apisix/conf/config.yaml
    State:          Running
      Started:      Tue, 31 Jan 2023 16:58:47 +0800
    Ready:          True
    Restart Count:  0
    Liveness:       http-get http://:8080/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
    Readiness:      http-get http://:8080/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
    Environment:    <none>
    Mounts:
      /ingress-apisix/conf from configuration (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-q9bd7 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  configuration:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      apisix-configmap
    Optional:  false
  kube-api-access-q9bd7:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  26m   default-scheduler  Successfully assigned apisix/apisix-ingress-controller-77899f968b-ksvlq to docker-desktop
  Normal  Pulled     26m   kubelet            Container image "busybox:1.28" already present on machine
  Normal  Created    26m   kubelet            Created container wait-apisix-admin
  Normal  Started    26m   kubelet            Started container wait-apisix-admin
  Normal  Pulling    25m   kubelet            Pulling image "apache/apisix-ingress-controller:1.4.0"
  Normal  Pulled     25m   kubelet            Successfully pulled image "apache/apisix-ingress-controller:1.4.0" in 28.5811805s
  Normal  Created    25m   kubelet            Created container ingress-controller
  Normal  Started    25m   kubelet            Started container ingress-controller

[CMCC.DESKTOP-FL84U1K] ➤ kubectl describe pod apisix-58cb57b4b4-ztpn7 -n apisix
Name:             apisix-58cb57b4b4-ztpn7
Namespace:        apisix
Priority:         0
Service Account:  default
Node:             docker-desktop/<IP_ADDRESS>
Start Time:       Tue, 31 Jan 2023 16:40:52 +0800
Labels:           app.kubernetes.io/name=apisix
                  pod-template-hash=58cb57b4b4
Annotations:      <none>
Status:           Running
IP:               <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/apisix-58cb57b4b4
Containers:
  apisix:
    Container ID:   docker://803de66bf544b16cecf8f9b16cbe903978bf391b30f9b601ae9edb176e0d10f6
    Image:          apache/apisix:2.15.0-alpine
    Image ID:       docker-pullable://artifactory.dep.devops.cmit.cloud:20101/panji_middleware/apisix@sha256:c56359999040af69a34b2d91f24c94e513f8a0eb06eaa
6d3063fb0e9bc9b0678
    Ports:          9080/TCP, 9443/TCP, 9180/TCP
    Host Ports:     0/TCP, 0/TCP, 0/TCP
    State:          Running
      Started:      Tue, 31 Jan 2023 16:40:55 +0800
    Ready:          True
    Restart Count:  0
    Readiness:      tcp-socket :9080 delay=10s timeout=1s period=10s #success=1 #failure=6
    Environment:    <none>
    Mounts:
      /usr/local/apisix/conf/config.yaml from apisix-config (rw,path="config.yaml")
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-6cqfp (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  apisix-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      apisix-conf
    Optional:  false
  kube-api-access-6cqfp:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  44m   default-scheduler  Successfully assigned apisix/apisix-58cb57b4b4-ztpn7 to docker-desktop
  Normal  Pulled     44m   kubelet            Container image "apache/apisix:2.15.0-alpine" already present on machine
  Normal  Created    44m   kubelet            Created container apisix
  Normal  Started    44m   kubelet            Started container apisix

@tao12345666333


Fix Zero Lenght Check

Contributing to the Azure SDK
Fixes #45151

Hi @MikeAlhayek -
Thanks for your contribution.
I'm looking at this fix, and I'm not clear what the change does to fix any zero length issues. Could you describe the specific scenario addressed by this fix? The new logic seems equivalent to the old.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Maps.Rendering


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/667 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit c7e9da6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-12-15-03-22-10 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-12-15-03-22-10

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


My Coco files contain no segmentations - only bounding boxes. Why is this incompatible?

Hi, I got the same issue, and I figured it out by replacing https://github.com/dbolya/tide/blob/master/tidecv/datasets.py#L102 with
mask   = 'nhR35U=1O2N8H7I001E[OoCe0R<_OiCa0Y<71O2N1O00B>G02D\D^O`;2UENS<1O3N1N2NB`C5^<IlC1ikm4'

It will work :)


feat: Support Try, Throw tags and some build-in functions in Java (box/box-codegen#579)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 41.766%

Totals

Change from base Build<PHONE_NUMBER>4:
0.02%

Covered Lines:
13344

Relevant Lines:
24876

💛  - Coveralls


Finish taking notes in the Git Commit Template directory and set up a commit template

Finish taking notes in the Git Commit Template directory and set up a commit template
These are two tasks in one issue.
Maybe set up one issue for each one?
See the https://github.com/JamieBort/LearningDirectory/tree/master/Git/commit_message/commit_message_templates directory.
Use this for the Learning Directory:
#

## Todo

- [ ]

## Status

## Associated

### Repo README

[none yet]

### Associated Trello card

[none yet]

### Issues

[none yet]

Status

Status:
Worked on it some more today.


Dependent nested name specifier 'Command::'

I am getting the following errors when building on Mac OSX El Capitan 10.11 from master:
.../redox/include/redox/client.hpp:390:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::free();
                                      ~~~~~~~~~~~~~~~~~^
.../redox/include/redox/client.hpp:393:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::processReply(redisReply *r);
                                      ~~~~~~~~~~~~~~~~~^
In file included from .../redox/src/subscriber.cpp:22:
In file included from .../redox/include/redox/subscriber.hpp:23:
.../redox/include/redox/client.hpp:390:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::free();
                                      ~~~~~~~~~~~~~~~~~^
.../redox/include/redox/client.hpp:393:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::processReply(redisReply *r);

Hi Webbrandon,
I have the same warnings. I don't know if it's a big issue or not.
I just hide warnings with the flag -Wunsupported-friend.


[Improve] flink_bin variable in inlong-daemon script can be obtained values from FLINK_HOME

Description
when start or stop sort flink job，the find command can take a long time，if the flink_bin can be obtained values from FLINK_HOME，will save some time。
InLong Component
Other for not specified component
Are you willing to submit PR?

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

Code of Conduct

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

@crancchen PTAL


Update MBB.toc

Bump to latest release version

Thank you. https://github.com/pereira-a/MBB/releases/tag/4.0.17-release


chttp2 doesn't respect maximum window size for flow control

I ran into this while debugging https://github.com/grpc/grpc/pull/22575.
By changing the max_recv_size hint to the max possible size, chttp2 ends up clamping the flow control window to UINT32_MAX instead of (2^31 - 1). This difference means that we end up advertising the total available flow control window to a size larger than (2^31 - 1) which is illegal.
Note that we still clamp the individual window updates to (2^31 - 1).
This causes our interop tests such as -
cloud_to_cloud:aspnetcore:c++_server:client_compressed_streaming:tls
and
cloud_to_cloud:javaokhttp:c++_server:client_compressed_streaming:tls
to fail.
Failure link -
https://source.cloud.google.com/results/invocations/6da1a3c5-8ac1-4a2e-ba9f-c59565381935/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_interop_tocloud/log

To recreate this, we simply need to provide a max_size hint of ~static_cast<size_t>(0) in the Next call of the message_decompress filter


Iss244v2 Implements issue #244. Version 2

Changed the PR to include regular expression literals. Issue #244

Thanks, @basaundi. Generally this looks good. I will merge, test a bit, and release later this week.

Thanks. As you can see, I've been busy lately but I still have interest on this feature.


Onboarding furmark

Have we tested this with Juno? We might need access to graphics but session 0 doesn't have it

As discussed offline, please try it in session 0 and let me know if you need help integrating that into vc


SyntaxError: invalid syntax after successfully installing velocyto

Hi,
I have velocyto successfully installed, however I am getting an error testing it:
Collecting velocyto
Installing collected packages: velocyto
Found existing installation: velocyto 0.17.16
Uninstalling velocyto-0.17.16:
Successfully uninstalled velocyto-0.17.16
Successfully installed velocyto-0.17.17
Successfully installed velocyto-0.17.17
velocyto --help
Traceback (most recent call last):
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/bin/velocyto", line 6, in
from velocyto.commands.velocyto import cli
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/velocyto/init.py", line 12, in
from .neighbors import BalancedKNN, convolve_by_sparse_weights
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/velocyto/neighbors.py", line 3, in
from sklearn.neighbors import kneighbors_graph, NearestNeighbors
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/init.py", line 64, in
from .base import clone
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/base.py", line 13, in
from .utils.fixes import signature
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/utils/init.py", line 14, in
from . import _joblib
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/utils/_joblib.py", line 22, in
from ..externals import joblib
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/init.py", line 119, in
from .parallel import Parallel
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/parallel.py", line 28, in
from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/_parallel_backends.py", line 22, in
from .executor import get_memmapping_executor
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/executor.py", line 14, in
from .externals.loky.reusable_executor import get_reusable_executor
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/externals/loky/init.py", line 6, in
from ._base import Executor, Future
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/externals/loky/_base.py", line 22, in
from concurrent.futures import wait, as_completed
File "/boston_bioinfo/bifx/app/dx-toolkit/share/dnanexus/lib/python2.7/site-packages/concurrent/futures/init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "/boston_bioinfo/bifx/app/dx-toolkit/share/dnanexus/lib/python2.7/site-packages/concurrent/futures/_base.py", line 357
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
Can you please help.
Thanks
Sharvari

I've installed in a conda environment, and following the issue in the link below:
https://github.com/velocyto-team/velocyto.py/issues/53
(python3.6.env): velocyto --help
ImportError: /home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/numba/typeconv/../../../../libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/numba/typeconv/_typeconv.cpython-36m-x86_64-linux-gnu.so)

You were looking at the right solved issue for your problem. conda install libgcc cythonshould have been the solution... I guess you tried it already, isn't it? Sent from my mobile - excuse the typos

Thank you so much for the reply.
Yes, I've tried running the command below:
conda install libgcc cython
And, used the source installation (tried both C_COMPLIE = True and False) in my conda env, however I still get the same error:
velocyto --help
Traceback (most recent call last):
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/bin/velocyto", line 11, in
load_entry_point('velocyto', 'console_scripts', 'velocyto')()
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/pkg_resources/init.py", line 487, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/pkg_resources/init.py", line 2728, in load_entry_point
return ep.load()
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/pkg_resources/init.py", line 2346, in load
return self.resolve()
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/pkg_resources/init.py", line 2352, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/velocyto/init.py", line 12, in
from .neighbors import BalancedKNN, convolve_by_sparse_weights
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/velocyto/neighbors.py", line 3, in
from sklearn.neighbors import kneighbors_graph, NearestNeighbors
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/init.py", line 64, in
from .base import clone
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/base.py", line 13, in
from .utils.fixes import signature
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/utils/init.py", line 14, in
from . import _joblib
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/utils/_joblib.py", line 22, in
from ..externals import joblib
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/init.py", line 119, in
from .parallel import Parallel
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/parallel.py", line 28, in
from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/_parallel_backends.py", line 22, in
from .executor import get_memmapping_executor
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/executor.py", line 14, in
from .externals.loky.reusable_executor import get_reusable_executor
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/externals/loky/init.py", line 6, in
from ._base import Executor, Future
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/sklearn/externals/joblib/externals/loky/_base.py", line 22, in
from concurrent.futures import wait, as_completed
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/concurrent/futures/init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "/home/NextCODE.local/sgujja/.conda/envs/python3.6.env/lib/python3.6/site-packages/concurrent/futures/_base.py", line 357
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
Can you please let me know if I missed anything.
Thanks for helping.

The error shows without a doubt that there is some problem in your environment.
The line:
raise type(self._exception), self._exception, self._traceback

contains a python 2.7 syntax incompatible with python 3.6.  Meaning somehow that your environment is mixing python 2.7 source code with python 3.6 source code.
I am not sure where the problem is but you should easily solve it by using a clean install of anaconda.
Best

I did a clean installation of anaconda3 and created a virtual environment to install the required packages/modules, however, I get this error
velocyto
Traceback (most recent call last):
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/bin/velocyto", line 6, in <module>
    from velocyto.commands.velocyto import cli
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/velocyto/__init__.py", line 12, in <module>
    from .neighbors import BalancedKNN, convolve_by_sparse_weights
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/velocyto/neighbors.py", line 2, in <module>
    from numba import jit
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/__init__.py", line 14, in <module>
    from .special import typeof, prange, pndindex, gdb, gdb_breakpoint, gdb_init
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/special.py", line 3, in <module>
    from .typing.typeof import typeof
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/typing/__init__.py", line 2, in <module>
    from .context import BaseContext, Context
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/typing/context.py", line 11, in <module>
    from numba.typeconv import Conversion, rules
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/typeconv/rules.py", line 3, in <module>
    from .typeconv import TypeManager, TypeCastingRules
  File "/home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/typeconv/typeconv.py", line 3, in <module>
    from . import _typeconv, castgraph, Conversion

ImportError: /home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/typeconv/../../../../libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env/lib/python3.7/site-packages/numba/typeconv/_typeconv.cpython-37m-x86_64-linux-gnu.so)

 $ strings ~/anaconda3/envs/velocyto_env/lib/libstdc++.so.6 | grep CXXABI
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_TM_1

conda info

     active environment : velocyto_env
    active env location : /home/NextCODE.local/sgujja/anaconda3/envs/velocyto_env
            shell level : 1
       user config file : /home/NextCODE.local/sgujja/.condarc
 populated config files :
          conda version : 4.5.12
    conda-build version : 3.17.6
         python version : 3.7.1.final.0
       base environment : /home/NextCODE.local/sgujja/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /home/NextCODE.local/sgujja/anaconda3/pkgs
                          /home/NextCODE.local/sgujja/.conda/pkgs
       envs directories : /home/NextCODE.local/sgujja/anaconda3/envs
                          /home/NextCODE.local/sgujja/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.12 requests/2.21.0 CPython/3.7.1 Linux/3.10.0-862.11.6.el7.x86_64 rhel/7.5 glibc/2.17
                UID:GID : 223601536:223601536
             netrc file : None
           offline mode : False

Can you please let me know if I am missing something.
Thanks

Hi Gioele,
Can you please let me know if there's anything else to install or load to
make velocyto run?
It's not clear to me how to fix this error. Can you please help.
Thanks
Sharvari
On Sun, Feb 10, 2019 at 8:08 AM Gioele La Manno<EMAIL_ADDRESS>wrote:

The error shows without a doubt that there is some problem in your
environment.
The line:
raise type(self._exception), self._exception, self._traceback
contains a python 2.7 syntax incompatible with python 3.6. Meaning somehow
that your environment is mixing python 2.7 source code with python 3.6
source code.
I am not sure where the problem is but you should easily solve it by using
a clean install of anaconda.
Best
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/velocyto-team/velocyto.py/issues/176#issuecomment-462131484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG57g9THmhrRCqgP7zakNfq-sQcbrKWMks5vMBnqgaJpZM4ay1ki
.

What I was suggesting is to wipe out the current anaconda installation and install a fresh one from scratch and follow the installation instructions in the tutorial. Sent from my mobile - excuse the typos


Support for addresses

I skipped unit tests for now as I'm busy on a project using this which was blowing up because of the lack of support for addresses :)

Nice! Thanks


Unexpected prompt for $az

Running scripts/run.sh cli /Users/thfalgou/git/azure/acs-demos/incubator/aci demo
It appears to be a bug with demo.get_current_command() returning an invalid list of variables.  I would offer a PR, but I'm unsure what this would break.
$ IP_NUMBER=$(az container show --resource-group $SIMDEM_RESOURCE_GROUP --name $SIMDEM_ACI_INSTANCE_NAME --output tsv --query ipAddress.ip)

Enter a value for $az:

$ echo $IP_NUMBER

I've reproduced this (it's a regression). I don't have time to fix it right now. Should you or someone else have the time the offending code is in https://github.com/Azure/simdem/blob/master/demo.py#L29
Honestly, I thought I'd fixed this, but clearly not.

Oh wait... the problem is obvious. Fixing now,


Unable to dlopen extracted images.

Describe the bug
DyldExtractor 1.0.8
Binary path: /System/Library/VideoDecoders/AVD.videodecoder
When dlopen()-ing it, this happens:
[Common.x:81] AVD handle 0 (dlopen(/System/Library/VideoDecoders/AVD.videodecoder, 2): no suitable image found.  Did find:
	/System/Library/VideoDecoders/AVD.videodecoder: malformed mach-o image: dyld weak bind info overlaps bind info
	/System/Library/VideoDecoders/AVD.videodecoder: malformed mach-o image: dyld weak bind info overlaps bind info)

To Reproduce

iOS version 14.6
DYLD target device and identifier https://ipsw.me/download/iPhone10,6/18F72

Additional context
Add any other context about the problem here.

So, the main scope of the project is to help with reverse engineering. Generating a runnable image is a very hard goal.
For the error above, I found that the loader validates the dyld info in a specific order, which can be found here. I changed the order of the dyld info command with d5023c3 and was able to get pass the error.
Though the problems do not end here, DyldExtractor does not generate rebase info, which breaks PIE. And for newer caches and especially arm64e, critical information might be stripped from the cache (though I haven't confirmed this).
And a while ago, when I tried creating runnable images, I ran into a weird issue where the loader would incorrectly read the LINKEDIT segment at a 0x1000 offset. I think this is because each segment is so far apart from each other, which I can't reverse correctly because the cache does not contain the info to do so.
And despite my best efforts, there is a high chance that there are mistakes and errors when extracting images. Which would make it unreliable for tweaks.
I'll keep this issue open as I really want this to work, but it's unlikely that anything would be out soon.

@arandomdev That commit gets passed the error. Great work. Now the problem is signing. I dlopen-ed this on iPhone SE 1st gen and got can't map segments into 16KB pages.
Signed the binary with codesign -f -s - AVD.videodecoder.
A great step forward still!

Output from otool:
thatchaponunp@Thatchapons-MacBook-Pro ~ % otool -l /Users/thatchaponunp/Documents/Tweaks/ytuhd/layout/System/Library/VideoDecoders/AVD.videodecoder
/Users/thatchaponunp/Documents/Tweaks/ytuhd/layout/System/Library/VideoDecoders/AVD.videodecoder:
Load command 0
      cmd LC_SEGMENT_64
  cmdsize 792
  segname __TEXT
   vmaddr 0x00000001cab90000
   vmsize 0x000000000002d000
  fileoff 0
 filesize 184320
  maxprot 0x00000005
 initprot 0x00000005
   nsects 9
    flags 0x0
Section
  sectname __text
   segname __TEXT
      addr 0x00000001cab91354
      size 0x000000000002404c
    offset 4948
     align 2^2 (4)
    reloff 0
    nreloc 0
     flags 0x80000400
 reserved1 0
 reserved2 0
Section
  sectname __stubs
   segname __TEXT
      addr 0x00000001cabb53a0
      size 0x0000000000000924
    offset 152480
     align 2^2 (4)
    reloff 0
    nreloc 0
     flags 0x80000408
 reserved1 0 (index into indirect symbol table)
 reserved2 12 (size of stubs)
Section
  sectname __stub_helper
   segname __TEXT
      addr 0x00000001cabb5cc4
      size 0x000000000000090c
    offset 154820
     align 2^2 (4)
    reloff 0
    nreloc 0
     flags 0x80000400
 reserved1 0
 reserved2 0
Section
  sectname __const
   segname __TEXT
      addr 0x00000001cabb65d0
      size 0x0000000000000542
    offset 157136
     align 2^4 (16)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Section
  sectname __cstring
   segname __TEXT
      addr 0x00000001cabb6b12
      size 0x0000000000005f85
    offset 158482
     align 2^0 (1)
    reloff 0
    nreloc 0
     flags 0x00000002
 reserved1 0
 reserved2 0
Section
  sectname __gcc_except_tab
   segname __TEXT
      addr 0x00000001cabbca98
      size 0x00000000000000cc
    offset 182936
     align 2^2 (4)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Section
  sectname __oslogstring
   segname __TEXT
      addr 0x00000001cabbcb64
      size 0x0000000000000003
    offset 183140
     align 2^0 (1)
    reloff 0
    nreloc 0
     flags 0x00000002
 reserved1 0
 reserved2 0
Section
  sectname __unwind_info
   segname __TEXT
      addr 0x00000001cabbcb68
      size 0x00000000000003e4
    offset 183144
     align 2^2 (4)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Section
  sectname __eh_frame
   segname __TEXT
      addr 0x00000001cabbcf50
      size 0x00000000000000b0
    offset 184144
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Load command 1
      cmd LC_SEGMENT_64
  cmdsize 392
  segname __DATA_CONST
   vmaddr 0x00000001e16e9f00
   vmsize 0x0000000000000f28
  fileoff 196608
 filesize 3880
  maxprot 0x00000003
 initprot 0x00000003
   nsects 4
    flags 0x0
Section
  sectname __got
   segname __DATA_CONST
      addr 0x00000001e16e9f00
      size 0x0000000000000290
    offset 196608
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000006
 reserved1 195 (index into indirect symbol table)
 reserved2 0
Section
  sectname __la_symbol_ptr
   segname __DATA_CONST
      addr 0x00000001e16ea190
      size 0x00000000000005f8
    offset 197264
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000007
 reserved1 277 (index into indirect symbol table)
 reserved2 0
Section
  sectname __const
   segname __DATA_CONST
      addr 0x00000001e16ea788
      size 0x00000000000002a0
    offset 198792
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Section
  sectname __cfstring
   segname __DATA_CONST
      addr 0x00000001e16eaa28
      size 0x0000000000000400
    offset 199464
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Load command 2
      cmd LC_SEGMENT_64
  cmdsize 392
  segname __DATA
   vmaddr 0x00000001da05d0f8
   vmsize 0x00000000000000a8
  fileoff 212992
 filesize 168
  maxprot 0x00000003
 initprot 0x00000003
   nsects 4
    flags 0x0
Section
  sectname __la_weak_ptr
   segname __DATA
      addr 0x00000001da05d0f8
      size 0x0000000000000020
    offset 212992
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000007
 reserved1 468 (index into indirect symbol table)
 reserved2 0
Section
  sectname __data
   segname __DATA
      addr 0x00000001da05d118
      size 0x0000000000000028
    offset 213024
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Section
  sectname __bss
   segname __DATA
      addr 0x00000001da05d140
      size 0x0000000000000031
    offset 0
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000001
 reserved1 0
 reserved2 0
Section
  sectname __common
   segname __DATA
      addr 0x00000001da05d178
      size 0x0000000000000028
    offset 0
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000001
 reserved1 0
 reserved2 0
Load command 3
      cmd LC_SEGMENT_64
  cmdsize 232
  segname __DATA_DIRTY
   vmaddr 0x00000001d2e945b0
   vmsize 0x0000000000000038
  fileoff 229376
 filesize 56
  maxprot 0x00000003
 initprot 0x00000003
   nsects 2
    flags 0x0
Section
  sectname __data
   segname __DATA_DIRTY
      addr 0x00000001d2e945b0
      size 0x0000000000000030
    offset 229376
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000000
 reserved1 0
 reserved2 0
Section
  sectname __bss
   segname __DATA_DIRTY
      addr 0x00000001d2e945e0
      size 0x0000000000000008
    offset 0
     align 2^3 (8)
    reloff 0
    nreloc 0
     flags 0x00000001
 reserved1 0
 reserved2 0
Load command 4
      cmd LC_SEGMENT_64
  cmdsize 72
  segname __LINKEDIT
   vmaddr 0x00000001e5cec000
   vmsize 0x0000000000010000
  fileoff 245760
 filesize 61872
  maxprot 0x00000001
 initprot 0x00000001
   nsects 0
    flags 0x0
Load command 5
          cmd LC_ID_DYLIB
      cmdsize 72
         name /System/Library/VideoDecoders/AVD.videodecoder (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 0.0.0
compatibility version 0.0.0
Load command 6
            cmd LC_DYLD_INFO_ONLY
        cmdsize 48
     rebase_off 0
    rebase_size 0
       bind_off 245760
      bind_size 3488
  weak_bind_off 249248
 weak_bind_size 88
  lazy_bind_off 249336
 lazy_bind_size 5792
     export_off 255128
    export_size 24
Load command 7
     cmd LC_SYMTAB
 cmdsize 24
  symoff 255152
   nsyms 610
  stroff 267248
 strsize 19847
Load command 8
            cmd LC_DYSYMTAB
        cmdsize 80
      ilocalsym 0
      nlocalsym 330
     iextdefsym 330
     nextdefsym 1
      iundefsym 331
      nundefsym 279
         tocoff 0
           ntoc 0
      modtaboff 0
        nmodtab 0
   extrefsymoff 0
    nextrefsyms 0
 indirectsymoff 265360
  nindirectsyms 472
      extreloff 0
        nextrel 0
      locreloff 0
        nlocrel 0
Load command 9
     cmd LC_UUID
 cmdsize 24
    uuid CDF594AA-B2BC-3B9E-AF88-9C2FBCF291D8
Load command 10
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 2
    minos 14.6
      sdk 14.6
   ntools 1
     tool 3
  version 650.6
Load command 11
      cmd LC_SOURCE_VERSION
  cmdsize 16
  version 382.0
Load command 12
          cmd LC_LOAD_DYLIB
      cmdsize 88
         name /System/Library/Frameworks/Foundation.framework/Foundation (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1776.103.0
compatibility version 300.0.0
Load command 13
          cmd LC_LOAD_DYLIB
      cmdsize 88
         name /System/Library/Frameworks/CoreVideo.framework/CoreVideo (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1.5.0
compatibility version 1.2.0
Load command 14
          cmd LC_LOAD_DYLIB
      cmdsize 88
         name /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1.0.0
compatibility version 1.0.0
Load command 15
          cmd LC_LOAD_DYLIB
      cmdsize 88
         name /System/Library/Frameworks/CoreMedia.framework/CoreMedia (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1.0.0
compatibility version 1.0.0
Load command 16
          cmd LC_LOAD_DYLIB
      cmdsize 96
         name /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1776.103.0
compatibility version 150.0.0
Load command 17
          cmd LC_LOAD_DYLIB
      cmdsize 88
         name /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 275.0.0
compatibility version 1.0.0
Load command 18
          cmd LC_LOAD_DYLIB
      cmdsize 88
         name /System/Library/Frameworks/IOSurface.framework/IOSurface (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1.0.0
compatibility version 1.0.0
Load command 19
          cmd LC_LOAD_DYLIB
      cmdsize 56
         name /usr/lib/libMobileGestalt.dylib (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1.0.0
compatibility version 1.0.0
Load command 20
          cmd LC_LOAD_DYLIB
      cmdsize 48
         name /usr/lib/libc++.1.dylib (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 905.6.0
compatibility version 1.0.0
Load command 21
          cmd LC_LOAD_DYLIB
      cmdsize 56
         name /usr/lib/libSystem.B.dylib (offset 24)
   time stamp 2 Thu Jan  1 07:00:02 1970
      current version 1292.120.1
compatibility version 1.0.0
Load command 22
      cmd LC_FUNCTION_STARTS
  cmdsize 16
  dataoff 264912
 datasize 448
Load command 23
      cmd LC_DATA_IN_CODE
  cmdsize 16
  dataoff 265360
 datasize 0
Load command 24
      cmd LC_CODE_SIGNATURE
  cmdsize 16
  dataoff 287104
 datasize 20528

So great news! I was able to extract AVD.videodecoder and successfully call AVDRegister. The changes are available on the beta branch.
I tried to look at your code so I could test more than one function, but I didn't make it very far.
though, in order to make it work, I had to set the environment variable DYLD_BIND_AT_LAUNCH=1, RTLD_LAZY and RTLD_NOW doesn't seem to effect it.

@arandomdev On what device did you test it on?

iPhone X, 14.3, 10,3

@arandomdev My target are devices older than iPhone X, such as iPhone SE 1st gen which only complains about can't map segments into 16KB pages.

Are you running in the beta branch? Also, try to change the page size constant in extraction_context.py to 0x1000

@arandomdev I'm already on the beta branch and changing page size constant to 0x1000 results in the same error above.

@arandomdev Alright, I got a new error now:
[Settings.x:35] AVD dlopen(/System/Library/VideoDecoders/AVD.videodecoder, 2): no suitable image found.  Did find:
	/System/Library/VideoDecoders/AVD.videodecoder: mmap() errno=22 at address=0x2A8304000, size=0x000005E8 segment=__DATA_DIRTY in Segment::map() mapping /System/Library/VideoDecoders/AVD.videodecoder
	/System/Library/VideoDecoders/AVD.videodecoder: stat() failed with errno=34

What device and iOS are you using, I might be able to try it on my 5s.

Unfortunately, I am having a hard time getting my 5s jailbroken. But this is what I am using for my test script.
#include <dlfcn.h>
#include <stdio.h>

typedef void (AVDRegister_t)(void);

int main(int argc, char *argv[], char *envp[]) {
	void *handle = dlopen("/Applications/TestEnv/AVD.videodecoder", RTLD_LAZY);
	printf("\n\x1b[36mHello!\x1b[0m\n");

	AVDRegister_t *AVDRegister = (AVDRegister_t *)dlsym(handle, "AVDRegister");
	AVDRegister();

	printf("\n\x1b[36mGood Bye!\x1b[0m\n");
	return 0;
}

I finally got my 5s jailbroken, but it complained about a missing symbol. So, I think that iOS 12.5.5 is too old for the 14.6 AVD.videodecoder. Luckly, I just got access to Corellium, and will try it on there.

I tried the test program on the simulated device, and dlopen-ing seemed to work for me.
Are you using the same cache as stated above? I also pushed 63a93d9 that should fix an issue with ldid.
If you would like, we can swap binaries as well.

@arandomdev I got the same error even with that latest commit.
Here's my binary (signed with ldid):
AVD.videodecoder.zip

So now that images are technically dlopen-able, I'm going to close this issue.
Though there are still a lot of work that needs to be done.


add Aug 25 2016 weekly

Hi @drphilmarshall Here is a tardy weekly summary for last week's meeting.  Once this is merged, I'll be caught up for tomorrow! :)
Here is what it looks like:
https://heather999.github.io/Twinkles/weekly/2016/08/weekly_20160825.html

Thanks Heather!


[Request] Conda recipe

Would it be possible for you to release a conda-forge recipe of flax?
We officially released the beta of netket 3, and I was trying to update our conda recipe and since we depend on flax, we need flax to be packaged for conda too.
It's rather an easy process: just run conda skeleton pypi flax (flax is just a source package so everything should be smooth) and then open a PR against the right conda repository.
Nowydays, conda reecipes self-update themselves so after setup there would be almost no more maintenance work.
if you want I can also volunteer the work.

I tested a recipe already and it works:
{% set name = "flax" %}
{% set version = "0.3.2" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: e995c4a40d4790751fbe08a44d7afec6fb22ac3e88a5f7912c40130cef81a3fa

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - dataclasses;python_version <'3.7'
    - jax >=0.2.6
    - matplotlib
    - msgpack
    - numpy >=1.12
    - pip
    - python
  run:
    - dataclasses;python_version <'3.7'
    - jax >=0.2.6
    - matplotlib
    - msgpack
    - numpy >=1.12
    - python

test:
  imports:
    - flax

about:
  home: "https://github.com/google/flax"
  description: |
    Flax: A neural network library for JAX designed for flexibility
  license: Apache Software
  license_family: APACHE
  license_file: LICENSE
  summary: "Flax: A neural network library for JAX designed for flexibility"
  doc_url: http://flax.readthedocs.io
  dev_url: https://github.com/google/flax

extra:
  recipe-maintainers:
    - PhilipVinc

I tried your recipe but for me it isn't working

I had pasted the wrong snippet, sorry.
You should name the file meta.yaml and put it in a folder named flax.
Then you do conda build flax.
You will also need to add the LICENSE file to that folder because your source distribution on
pypi does not package it.
I set up the recipe already in this repository branch
according to Conda-forge documentation which you can find here
The next step would be making a PR from my branch to the origin repository.
You can for example fork my fork and do the PR yourself.

We want package publication to be done by the core maintainers. We use a GH actions for publishing so ideally we want the conda package to be released as part of our current CI pipeline (see https://github.com/google/flax/blob/master/.github/workflows/pythonpublish.yml).  Also I see you commented out the python version constraint for the dataclass polyfill. We would have to figure out how to fix that as well

We use a GH actions for publishing so ideally we want the conda package to be released as part of our current CI pipeline
The way Conda-forge releases work is that first you create a PR with your recipe to conda-forge/staged-recipes, and once this is merged a repository is created. See for example jax-feedstock. This is all automatic.
Then, this repository houses the build script to produce your releases.

Once your feedstock is created, there are several automations already in place: every time you create a new release on pypi, it's picked up by conda and they will create an automatic PR (see example from jax ). You can easily setup an automerge on it so you literally won't have nothing to do unless things break.
--
You mean the line
    - dataclasses # [py==36]
?
That is conda syntax for only py==36. See for example jaxlib-feedstock

Clearly I am a complete conda noob :)
This is very nice though!
Could you add a few more maintainers from the core team (marcvanzee, avital, levskaya, andsteing)?
Feel free to make the PR, I was assuming a process like pypi where the maintainer has a secret used to publish but here the release is completely transparent so there's no issue contributing

Done. condo install flax will now work, and the recipe is setup to autorelease new versions unless dependencies change.

That's really cool, thanks for pushing this!

Yes indeed


Mekanism basic universal cable don't output power from enderio capacitor bank

Ok, I'm using the Avant 3 modpack (1.10.2 modpack on curse launcher) but I try to update most mods manually to solve this kind of problems whenever I can, right now I have a problem with Mekanism basic universal cables, they get the power fine from my 2 Mekanism Wind Generator and transmit it fine to the EnderIO Capacitor Bank, the problem is the same cable doesn't get the power out of the capacitor bank to anything, I have a sag mill and a alloy smelter right now but I also tried a metallurgic infuser from Mekanism to no avail.
EnderIO version I have end with .107 will one of the two most recent versions of enderio correct this issue or its on Mekanism side I should ask ???

107 was the last version that had the old (extremely well tested and working for years) RF code. So thi sis definitely Mekanism.

Sorry to ask about this here, I don't know anything about other energy format than RF and EU, Does this mean I'm screwed up and I won't be able to use RF to power machines from enderio, is that the end for my love of an awesome mod


Per country speciation

Implement using a dataset with different speciation profiles for different countries.
Make sure we split grid cells accordingly to all the countries that are contained in there. (split per percentage)
Also account for missing profiles at some country/categories

Done and tested now with the following not referenced commits


Add gzip support to lmerge

See #199 for use case and request. Lmerge is one of the few commands that doesn't yet appear to support gzipped input.

This is available in develop (already), but not released yet.


Initial validation

Add initial step validation.

send error data to step view
add error summary

@teneightfive can you switch to this branch? https://github.com/nhsuk/register-with-a-gp-beta-web/tree/validation2

Yeah. What @r4vi said. God, who hired you?


A new block explorer

The development of this block explorer is quite firm, we have a stable old-fashioned explorer.
The current project is in php and uses the cakephp framework, particularly indicated for small projects see a comparison
Actual de facto standard for medium-large web apps for the backend is laravel, which also provides integration with main frontend frameworks, including vuejs. Is also good to have websocket instead of ajax for runtime update without page refresh.
I believe that the block explorer is a fundamental service for a cryptocurrency, I think we should have a new explorer: mobile first, super detailed (able to provide statistics even to the most hungry nerd), which exposes api to allow third-party software development, able to offer new services.
Below a list of juicy things to have in a new explorer:

More stats about blockchain and its network, lbry upper layer network:

chain size / block size / txs in blocks
chain difficulty / hashrate
top supported content / tip-support stats
claims stats
blockchain network visualization on map
lbry-sdk network visualization on map
mining stat / pool hashrate / mining profit
lcb price / comparison with other stats
{suggest more}

More services:

Email/telegram alert when blockchain see an input (output) tx to (from) an address in a "watch list" customized by the user [auth zone]
broadcast signed tx, useful for users who use a cold wallet (offline) to store lbc
address alias, in order to allow identification of pool addresses, explorer addresses etc.. [can be both general alias and user customized alias: auth zone]
{suggest more}

I created a repo in which I am developing a new explorer based on laravel, I'm still porting the functionality of the current explorer, but the classic "blockchain" part is ready.
I would like some feedback on what I have already developed, if you like it, if something could be better, if I have to continue or abandon the development, if there is a possibility that the project will be included under github lbryio organization.
Repo link: LBRYEXPLORER
Actually hosted here: lbryexplorer.tech

Hey @AlessandroSpallina , thank you for the writeup and the work. I haven't been able to find the time to review this yet, but I see that lbry.community is trying to give you a hand getting some attention on it also. Will try to get you a review this week.

yes, I had a couple of feedbacks from lbry.community and lbry.social
I temporarily slowed down the development due to upcoming tests and work

Hi Allesandro,
Thank you for your work on the new explorer ! Love the design and code structure is much better.
I've been taking up the repo to continue and finish it : https://github.com/marcdeb1/LBRYEXPLORER
I'm doing design changes, adding the claims pages, price info and stats pages.
I'm also checking the old repo issues to solve them during development.
As soon as I have a test website I will post it here. We will also add a CI/CD process to handle deployment.
Feel free to join or add comments.

Hi Allesandro,
Thank you for your work on the new explorer ! Love the design and code structure is much better.
I've been taking up the repo to continue and finish it : https://github.com/marcdeb1/LBRYEXPLORER
I'm doing design changes, adding the claims pages, price info and stats pages.
I'm also checking the old repo issues to solve them during development.
As soon as I have a test website I will post it here. We will also add a CI/CD process to handle deployment.
Feel free to join or add comments.

Hello @marcdeb1 marcdeb1, great job.
My interest in lbry is still present, but as you have seen I left the development of the blockexplorer for several reasons.
One of these after studying a bit how scalable service design works is the fact that the current monolithic design of the new explorer may be tight in the long run, it would be better in my opinion to implement a server rest and serve the frontend on an nginx instance . What do you think about it? Initially I was thinking of writing the server in python with django, but since you are continuing the php version with laravel you could convert this to a rest microservice using lumen (a light version of laravel geared towards this sort of thing) and develop the frontend separately.

Hello @marcdeb1 marcdeb1, great job.
My interest in lbry is still present, but as you have seen I left the development of the blockexplorer for several reasons.
One of these after studying a bit how scalable service design works is the fact that the current monolithic design of the new explorer may be tight in the long run, it would be better in my opinion to implement a server rest and serve the frontend on an nginx instance . What do you think about it? Initially I was thinking of writing the server in python with django, but since you are continuing the php version with laravel you could convert this to a rest microservice using lumen (a light version of laravel geared towards this sort of thing) and develop the frontend separately.

@AlessandroSpallina for such a project there would not be much difference separating frontend and backend. If everything is well optimized, cache well setup etc., Laravel will be able to handle hundreds of requests per second, which is enough for our usage. I optimized RAM usage, which is quite low (less than 50MB  per worker), so if needed we can add many workers and it can fit in a small server. It will definitely scale.
Here a preview of the explorer : https://lbry-explorer.herokuapp.com
Please tell me what you think about it. There are some things left to do, especially on the stats pages, but the rest seems good to me.

@AlessandroSpallina for such a project there would not be much difference separating frontend and backend. If everything is well optimized, cache well setup etc., Laravel will be able to handle hundreds of requests per second, which is enough for our usage. I optimized RAM usage, which is quite low (less than 50MB  per worker), so if needed we can add many workers and it can fit in a small server. It will definitely scale.
Here a preview of the explorer : https://lbry-explorer.herokuapp.com
Please tell me what you think about it. There are some things left to do, especially on the stats pages, but the rest seems good to me.

@marcdeb1 looks very nice, bravo! Also could be cool a system of auto updating of the data, for example for the mempol/block page

@marcdeb1 looks very nice, bravo! Also could be cool a system of auto updating of the data, for example for the mempol/block page


OpenSource: Improving content and minor spellcheck

Description 📜
Improved content and added relevant screenshots and gifs
Fixes #3802

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Open Source

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hey @Aryamanz29 I'm going to be adding in more content for Git very soon!


FilterBy not

Hi, I would like to request anot key option for the FilterBy filter. Currently it's only possible to filter by positive values and for negative would require a custom filter.  Ex: A list of products with prices, being some of them free set with price = 0. A list of commercial and free products could look like this:
// free products
...

// commercial products
...

With the new option we could just add not making the code much easier to read and understand.
...

...

Thanks for considering.

👍

I think using filterBy for this specific use case if probably wrong, because filterBy is primarily used for string inclusion filtering: an item with a price like 0.5 will show up in your "free" list in this case... it's probably better to use two custom filters for this case.
On the suggestion of adding the not keyword - I really would like to avoid making the array filter syntax more complex - in fact today I'd encourage users to use computed properties whenever possible instead of using array filters, because computed properties give you the full power of JavaScript to do whatever you want (and gives a cached variable so you can easily get the length of the filtered result).

Accepted. Thanks for the explanation :)


Some UI features

Added hover effect for icon buttons
Added shadow for sidebar
Added listen clickoutside for sidebar

Hello @waterrmalann ,
Can you check again my pr?

@waterrmalann I reverted min-height. Also is there anything to do after that?

@waterrmalann I reverted min-height.

Nice work! All good now :)

Also is there anything to do after that pr?

Not much else here but if you wish to help, you could check out the open issues.


Double comma in "Enforcing security settings in your Enterprise account"

What article on docs.github.com is affected?
https://docs.github.com/en/free-pro-team@latest/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account#managing-your-enterprise-accounts-ssh-certificate-authorities
What part(s) of the article would you like to see updated?
There is a double comma in a paragraph within:
https://docs.github.com/en/free-pro-team@latest/github/setting-up-and-managing-your-enterprise/enforcing-security-settings-in-your-enterprise-account#managing-your-enterprise-accounts-ssh-certificate-authorities
There should only be one comma after the word "resources".
Screenshot:

Additional information

I can rectify it!

I can rectify it!


Cannot transfer the style on any arbitrary size image while inference

When I try to evaluate the model with the content image provided, If I set load_image(content, resize=False)  then there's an error that says the sizes of input doesn't match with the model's input. The model needs an (1, 256, 256, 3) image that it is trained on. But if I allow resizing load_image(content, resize=True) , it works but the image has low resolution. And the photos in your read me are high res, how did you allow arbitrary image size into the model?

Only at training phase needs to specify the image size because it uses a VGG network to extract features. After training is complete, you can transfer images of arbitrary size. BTW, transfer network doesn't need to specify input shape. so I think it won't cause any mismatch problem.


This will fix multiple broken links into https://developers.google.com/mediapipe

Description of issue (what needs changing)
No response
Clear description
This will fix the broken link into troubleshooting page to redirect building the MediaPipe Python package locally in page https://developers.google.com/mediapipe/framework/getting_started/troubleshooting And redirect the page how to create a Podfile with the necessary pods in image classifier ios guide in https://developers.google.com/mediapipe/solutions/vision/image_classifier/ios#setup
Correct links
No response
Parameters defined
No response
Returns defined
No response
Raises listed and defined
No response
Usage example
No response
Request visuals, if applicable
No response
Submit a pull request?
No response

Closing this issue as fixed has been merged internally. Thank you


Add Cookies Banner

Should probably add a cookies banner, since 3rd party cookies (google analytics) are used.
Could use:
https://www.npmjs.com/package/vue-cookie-law

Done via https://github.com/2beens/serj-tubin-vue/pull/71


fix-volume-missing

This should add volume to the published package

Fixes https://github.com/buge/ts-units/issues/3


⚠ Minecraft has degraded performance

In bbc3bc3, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1160 ms

Resolved: Minecraft performance has improved in 8a32957.


Error: driver/rawaccel.sys does not exist

When I try to install the driver it just shows an error "Error: driver/rawaccel.sys does not exist"

I fixed it by unzipping the file. I probably skipped a step somewhere but it is working now.


CI optimizations

Reduce our ecological footprint, somehow?

Skip action when a specific label is added or removed
Skip actions when an existing label is set

Targets:

[x] Percy has a snapshots quota per month,
[x] BrowserStack runs several VMs…
[x] Netlify deploys a technical URL
[x] Pa11y is quite heavy too.

The other ones already fit their target: either by filetype (e.g. compile, lint, test, optimize images) or event type (e.g. notify on published release). I guess we're able to add a few labels, such as skip:percy, skip:browserstack, etc. And skip:ci should cancel all workflows, I guess.

Docs added to the wiki: let's try this!

Docs added to the wiki: let's try this!


nats stream view - unexpected error

I have met some error and confusing behavior when using nats stream view
Here is my setup:
stream
nats stream add sample
? Subjects to consume test
? Storage backend memory
? Retention Policy Work Queue
? Discard Policy Old
? Stream Messages Limit -1
? Per Subject Messages Limit -1
? Stream size limit -1
? Maximum message age limit -1
? Maximum individual message size -1
? Duplicate tracking time window 2m0s
? Allow message Roll-ups No
? Allow message deletion Yes
? Allow purging subjects or the entire stream Yes
? Replicas 1
Stream sample was created

Information for Stream sample created 2022-04-06T11:48:32+08:00

Configuration:

             Subjects: test
     Acknowledgements: true
            Retention: Memory - WorkQueue
             Replicas: 1
       Discard Policy: Old
     Duplicate Window: 2m0s
    Allows Msg Delete: true
         Allows Purge: true
       Allows Rollups: false
     Maximum Messages: unlimited
        Maximum Bytes: unlimited
          Maximum Age: unlimited
 Maximum Message Size: unlimited
    Maximum Consumers: unlimited

State:

             Messages: 0
                Bytes: 0 B
             FirstSeq: 0
              LastSeq: 0
     Active Consumers: 0

consumer
nats con add
? Consumer name sample-con
? Delivery target (empty for Pull Consumers)
? Start policy (all, new, last, subject, 1h, msg sequence) all
? Acknowledgement policy explicit
? Replay policy instant
? Filter Stream by subject (blank for all) test
? Maximum Allowed Deliveries -1
? Maximum Acknowledgements Pending 10
? Deliver headers only without bodies No
? Add a Retry Backoff Policy No
? Select a Stream sample
Information for Consumer sample > sample-con created 2022-04-06T11:52:45+08:00

Configuration:

        Durable Name: sample-con
           Pull Mode: true
      Filter Subject: test
      Deliver Policy: All
          Ack Policy: Explicit
            Ack Wait: 30s
       Replay Policy: Instant
     Max Ack Pending: 10
   Max Waiting Pulls: 512

State:

   Last Delivered Message: Consumer sequence: 0 Stream sequence: 10
     Acknowledgment floor: Consumer sequence: 0 Stream sequence: 10
         Outstanding Acks: 0 out of maximum 10
     Redelivered Messages: 0
     Unprocessed Messages: 0
            Waiting Pulls: 0 of maximum 512

I got error when using --id option:

nats stream view sample --id=0
nats: error: multiple non-filtered consumers not allowed on workqueue stream (10099), try --help

I got error when using --id --subject option to get from a specific id

nats pub test --count=3 --sleep 1s "publication #{{Count}} @ {{TimeStamp}}"
12:03:30 Published 42 bytes to "test"
12:03:31 Published 42 bytes to "test"
12:03:32 Published 42 bytes to "test"

nats stream view sample --subject=* --id=2
nats: error: consumer must be deliver all on workqueue stream (10101), try --help

when successfully got message, they seems to be removed from the stream (the second view command does not get any data)

nats stream view sample --subject=*
[31] Subject: test Received: 2022-04-06T12:03:29+08:00

publication #1 @ 2022-04-06T12:03:29+08:00

[32] Subject: test Received: 2022-04-06T12:03:30+08:00

publication #2 @ 2022-04-06T12:03:30+08:00

[33] Subject: test Received: 2022-04-06T12:03:31+08:00

publication #3 @ 2022-04-06T12:03:31+08:00

12:03:51 Reached apparent end of data

nats stream view sample --subject=*
12:03:52 Reached apparent end of data

We should deny view against WQ streams. It’s just not compatible in concept.

We should deny view against WQ streams. It’s just not compatible in concept.

What I want is to read/search the messages without changing/removing them in the work queue stream, maybe better with some filter capabilities.

Yes, unfortunately not possible with stream view and a WQ stream. It acknowledges messages and will remove them from WQ as done. So I have to make this produce an error instead

I see. Is this documented anywhere?

No, supporting view on WQ is basically a big so no documentation that it shouldn’t be done. We just need to make it safer.

Yes it is better to give a more understandable error in the client output.
Will you change this to a feature request or I should just close this?

You can leave as is. Will close once I did the change. Thank you.

OK, thanks for the quick support.

Now denying view on WQ streams - which would either fail as here or remove all viewed entries.
https://github.com/nats-io/natscli/pull/418


TravisCI enabled but not configured

You currently have TravisCI enabled (it was triggered on pull request #13), but there is no .travis.yml file and the TravisCI Ruby project defaults fail (as would be expected).
In the short term, please turn off TravisCI or change its settings to run only if .travis.yml is present.

Travis is configured and working now. Thanks.


smem read port always reads address 0

Type of issue: bug report
I'm having problems with smem memories. Consider this circuit as an example:
circuit Memories :
    module Memories :
        input clock : Clock
        input reset : UInt<1>
        input writeAddr : UInt<2>
        input writeVal : UInt<8>
        input readAddr : UInt<2>
        output readVal : UInt<8>
        readVal is invalid

        smem mem : UInt<8>[3]
        infer mport _T_0 = mem[writeAddr], clock
        _T_0 <= writeVal
        infer mport _T_1 = mem[readAddr], clock
        readVal <= _T_1

When I convert this to Verilog (using firrtl git HEAD, commit ed709571876b68e4982d11db15d236752713b6a1), I get the following (trimmed for clarity):
  reg [1:0] mem__T_1_addr_pipe_0;
  assign mem__T_1_addr = mem__T_1_addr_pipe_0;
  assign mem__T_1_data = mem[mem__T_1_addr]; //<EMAIL_ADDRESS>  assign readVal = mem__T_1_data; //<EMAIL_ADDRESS>  wire  _GEN_0;
  assign _GEN_0 = 1'h0;
  always @(posedge clock) begin
    if (_GEN_0) begin
      mem__T_1_addr_pipe_0 <= readAddr;
    end
  end

Because of the assign _GEN_0 = 1'h0, the mem__T_1_addr_pipe_0 is never written to, so the circuit always reads from the memory address 0 (or whatever mem__T_1_addr_pipe_0 is initialized to).
This looks like a bug, but it's hard to say exactly because smem memories are not documented. Any insights into this?

This is most certainly a bug, and so far, I'm only more confused, I generated the following with Chisel:
circuit SMem :
  module SMem :
    input clock : Clock
    input reset : UInt<1>
    output io : {flip raddr : UInt<2>, rdata : UInt<8>, flip waddr : UInt<2>, flip wdata : UInt<8>}

    smem mem : UInt<8>[3]
    infer mport _T_15 = mem[io.waddr], clock
    _T_15 <= io.wdata
    infer mport _T_16 = mem[io.raddr], clock
    io.rdata <= _T_16

The only difference is an aggregate IO, and yet this works:
  reg [1:0] mem__T_16_addr_pipe_0;
  assign mem__T_16_addr = mem__T_16_addr_pipe_0;
  assign mem__T_16_data = mem[mem__T_16_addr];
  wire  _GEN_0;
  assign _GEN_0 = 1'h1;
  always @(posedge clock) begin
    if (_GEN_0) begin
      mem__T_16_addr_pipe_0 <= io_raddr;
    end
  end

Workaround
The issue comes from using a non-aggregate input as a read address. You can work around this by assigning the read address input to an intermediate node or wire and then using that wire as the address for the memory. For example:
 circuit Memories :
    module Memories :
        ...
        input readAddr : UInt<2>
        ...
        smem mem : UInt<8>[3]
        node realReadAddr = readAddr                 ; <- Look here
        infer mport _T_1 = mem[realReadAddr], clock
        readVal <= _T_1

Diagnosis
Possibly related to https://github.com/freechipsproject/firrtl/issues/840
This appears to be due to logic introduced over two years ago in https://github.com/freechipsproject/firrtl/pull/203. The difference between my code that works, and the given code that doesn't is the non-working code follows this code path: https://github.com/freechipsproject/firrtl/blob/ceac36d7ce1223078ca47bc097884532faacd7e1/src/main/scala/firrtl/passes/RemoveCHIRRTL.scala#L144
I think this code path is used for R/W port inference. In this case, a read port enable cannot be set to UInt(1) at memory port declaration as it does on the other code path, since we might have a R/W port. Instead, it records the port for later. The bug is that the read port enable enable being driven with UInt(1) is only injected into the AST when the pass comes across the point where the memory read port address is driven. This is fine if the address is a wire, node, or register, but does not work for inputs.
It appears this issue was fixed for aggregate ports by https://github.com/freechipsproject/firrtl/pull/226 but this looks like a corner case that slipped through that fix. I would also bet that #203 has issues with fields of aggregate wires being used as memory read port addresses.
I can patch this error, but I think similar such errors lurk in RemoveCHIRRTL, the real fix is https://github.com/freechipsproject/firrtl/issues/727

I ran into this same issue where the address was created by Cat, and was able to use the workaround of having an intermediate wire.
 val tableindex = Cat(az_sign, unsignedtableindex) val tableindex2 = Wire(UInt()) tableindex2 := tableindex tr := table.read(tableindex2)

Just stumbled over the same bug.
circuit smem :
  module smem :
    input clock : Clock
    input addr : UInt<3>
    output out : UInt<8>

    smem mem : UInt<8>[5]

    read mport r = mem[addr], clock
    out <= r

gets lowered to:
circuit smem :
  module smem :
    input clock : Clock
    input addr : UInt<3>
    output out : UInt<8>

    mem mem :
      data-type => UInt<8>
      depth => 5
      read-latency => 1
      write-latency => 1
      reader => r
      read-under-write => undefined
    out <= mem.r.data
    mem.r.addr <= addr
    mem.r.en <= UInt<1>("h0")            ; BUG: read port is always disabled!
    mem.r.clk <= clock

Adding a node fixes that:
circuit smem :
  module smem :
    input clock : Clock
    input addr : UInt<3>
    output out : UInt<8>

    smem mem : UInt<8>[5]

    node issue_913 = addr
    read mport r = mem[issue_913], clock
    out <= r

lowers to
  module smem :
    input clock : Clock
    input addr : UInt<3>
    output out : UInt<8>

    mem mem :
      data-type => UInt<8>
      depth => 5
      read-latency => 1
      write-latency => 1
      reader => r
      read-under-write => undefined
    node issue_913 = addr
    out <= mem.r.data
    mem.r.addr <= issue_913
    mem.r.en <= UInt<1>("h1")                ;  read port is always enabled!
    mem.r.clk <= clock

Closed and absorbed into #727


Image does not enlarge

Description
Great feature! On an iPhone, the inline image within the paper is small. Tried to enlarge by tapping, rotating and two-finger spreading. No luck. Expected image to pop out as on other sites, then be enlargable to see details.
(Optional:) Please add any files, screenshots, or other information here.
Open this article: https://arxiv.org/abs/2404.19756 on an IPhone. Try to enlarge the first image.
(Required) What is this issue most closely related to? Select one.
Figures
Internal issue ID
9e46ad18-6696-4d16-8c9b-8b854d509a45
Paper URL
https://arxiv.org/html/2404.19756v3
Browser
Safari/604.1
Device Type
iOS

In case this matters, I opened the article from an article in the the Apple News app: https://apple.news/AcZPFX6RlRBK9qtZmBnNOVA


How to handle Tauri sidecars and allowing externalBin to be called ?

Hello,
Do you have any working example where :

one or more executable are embed in the Tauri bundle
and are called successfully when the app is installed as .AppImage or .deb

So far I only got file not found or permission denied.  While the executing the dx serve --hot-reload --platform desktop, the have the right sidecar tool called.
The stuff was already hard to configure in Tauri, yet it seems worst with Dioxus ...
more information from here :

https://tauri.app/v1/guides/building/sidecar/
https://tauri.app/v1/api/config/#platform-specific-configuration

Hoho ... so .... the Dioxus.toml deserialisation is typo tolerant 🤦🏼♂
So my misspelled externalBin configuration was just silently ignored (I had to do external_bin).
Perhaps Dioxus users would enjoy a strictier toml deserialisation setting ? (so they don't lose hours like myself)
What do you think ?

Perhaps Dioxus users would enjoy a strictier toml deserialisation setting ? (so they don't lose hours like myself)
What do you think ?

Ignoring extra fields comes from the toml crate. I agree there should be a setting to turn this off (or even make it more strict by default), but I'm not sure if that crate allow more strict deserialization


[AST] Introduce GenericSignature::getConformanceAccessPath().

Introduce an API that determines the "conformance access path" that
one would follow to find the conformance of a given type parameter
(e.g., T.Iterator.Element) to a given protocol (e.g., Equatable). A
conformance access path starts at one of the explicit requirements
of that generic signature and then proceeds through zero or more
protocol-supplied requirements. For example, given this function:
func f<C: Collection>(_: C) { }

The conformance access path for C.Iterator: IteratorProtocol is
(C, Collection) -> (Self, Sequence) -> (Self.Iterator, IteratorProtocol)

because one starts with the explicit requirement C: Collection, goes
to the inherited protocol requirement (the Self in Collection
conforms to Sequence) and then a requirement on the associated type
(Self.Iterator in Sequence conforms to IteratorProtocol).
This is all scaffolding now; it's intended to be used by IRGen (to
find the witness tables it needs) and SubstitutionMap (to dig out
conformances during substitution).

@swift-ci please smoke test and merge


iOS: broken after 3.0-beta-6

If I run carthage update --platform iOS, while I'm pointing at any commit after 3.0-beta.6, Carthage completely skips building AlecrimCoreData, since it's specified as a Mac framework. If I build and import the Mac framework into my iOS project, it doesn't export any public symbols – it appears like an empty framework and nothing works.

This is sad, but it seems that the Carthage does not support universal frameworks. And it appears that they have no plans to support them. :-(
See: https://github.com/Carthage/Carthage/issues/307
Personally I do not use Carthage, nor my development team. However universal frameworks is one thing we are using, not only in this framework but on several other Alecrim private frameworks.
At the moment I really do not know what answer to give you.
I do not know if it's better to wait what they will do about Carthage.
Here there are no plans to go back and make AlecrimCoreData to use multiple targets as well.

It's really awful that Alecrim would rather lose Carthage support than make separate targets for separate platforms. =/

It depends on the point of view... ;-)
I think it's awful that Carthage loses support for many frameworks that are or will be universal.


[lagobot] enable pip

Summary
How was it tested?

Current dependencies on/for this PR:

main

PR #817   👈

This comment was auto-generated by Graphite.


Annotation clashes with symbols on small drawings. #3262

Reference Issue
Fixes #3262
What does this implement/fix? Explain your changes.
This turns off minFontSize when drawing annotation in 2D drawings, to stop the annotation clashing with other bits on the drawing.  It applies only to the new DrawText classes so not the current version (2020.03.3).
Any other comments?
Tested in C++ on macOs.

The failed CI build is an intermittent thing. Not to worry about.


Wiki not available: 502 bad gateway

Hi,
There is a 502 bad gateway error on https://starchasers.pl
I cannot reach http://starchasers.pl/OpenGlasses/doku.php?id=start
Where can I find the actual documentation ?
Thanks for your help.

Looks like the site is having some certificate issues as well. I'll let them know.

It is old link. New is http://minecraft.bymarcin.com/OpenGlasses/doku.php?id=start