Training crashes on nth item

💡 Your Question
I try to train in Google Colab on a custom dataset.
The runtime always crashes on the 43rd item in Epoch 0.
Is there a way to say which image is being processed in that moment?
The console stream is now moved to /content/drive/MyDrive/checkpoints/project2/console_Aug04_11_20_55.txt

[2023-08-04 11:20:56] INFO - sg_trainer.py - Using EMA with params {'decay': 0.9, 'decay_type': 'threshold'}
[2023-08-04 11:21:03] INFO - sg_trainer_utils.py - TRAINING PARAMETERS:
    - Mode:                         Single GPU
    - Number of GPUs:               1          (1 available on the machine)
    - Dataset size:                 10138      (len(train_set))
    - Batch size per GPU:           7          (batch_size)
    - Batch Accumulate:             1          (batch_accumulate)
    - Total batch size:             7          (num_gpus * batch_size)
    - Effective Batch size:         7          (num_gpus * batch_size * batch_accumulate)
    - Iterations per epoch:         1448       (len(train_loader))
    - Gradient updates per epoch:   1448       (len(train_loader) / batch_accumulate)

[2023-08-04 11:21:03] INFO - sg_trainer.py - Started training for 50 epochs (0/49)

Train epoch 0:   3%|▎         | 43/1448 [00:58<22:03,  1.06it/s, PPYoloELoss/loss=3.89, PPYoloELoss/loss_cls=2.43, PPYoloELoss/loss_dfl=1.14, PPYoloELoss/loss_iou=0.354, gpu_mem=10.5]

Versions
No response

By running everything on the local system I now got hundred lines of the following error messages:
[...]
/opt/conda/conda-bld/pytorch_1682343967769/work/aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [7024,0,0], thread: [60,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
/opt/conda/conda-bld/pytorch_1682343967769/work/aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [7024,0,0], thread: [61,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
/opt/conda/conda-bld/pytorch_1682343967769/work/aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [7024,0,0], thread: [62,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
/opt/conda/conda-bld/pytorch_1682343967769/work/aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [7024,0,0], thread: [63,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.

Got it. Error occurs when labels extend beyond the edge of the pictures, which happens in label-studio quite some times.
I imported the dataset to roboflow (which mentioned the problem on upload already) and reexported and the problem is gone :)


Conspicuous rendering artifacts appear in snapshots due to Z-fighting

Steps to reproduce

open a model
click the "Snapshot" button

Expected result
The generated image is crisp.
Actual result
Geometry appears to intersect in impossible ways due to Z-fighting. Might be difficult to address in real time in the Visualizer (e.g., as the model is being animated or as the user moves the scene light around), but we should be able to avoid Z-fighting when generating a snapshot. The floor and each model can be rendered in separate scenes; the near and far clipping planes necessary to capture a model with its shadow on the floor (but not the entire floor) can be computed by casting rays from the scene light through the vertices of the model's bounding box and noting where they intersect the floor. Avoiding these artifacts is essential for generating publication-quality images.

Environment and GUI version
AppVeyor artifact OpenSim-cedd8d22-2018-05-31-win64.exe

I think I also see Z-fighting in the Rajagopal 2015 model between muscle path cylinders and path points.
Rajagopal2015.osim.txt


Consider to restrict batch dml SQL size

Is your feature request related to a problem?
ref to batch DML feature: https://github.com/pingcap/tiflow/issues/7653
The count of RowChanges is not checked in GenUpdateSQL, if the SQL is too large, downstream may return error or performance could have regression.
Describe the feature you'd like

[x] Benchmark multi update SQL performance, with different batch sizes.
[x] Add limit to row changes count or SQL size in one single batch update SQL.

Describe alternatives you've considered
No response
Teachability, Documentation, Adoption, Migration Strategy
No response

related to: https://github.com/pingcap/tiflow/pull/7960

/label bug

/label affects-6.5

/label affects-6.1


iOS: "received. Presence verified" message is displayed in history even when verifier captures non face , objects etc

Describe the bug
"received. Presence verified" message is displayed in history even when verifier captures non face , objects etc
To Reproduce
Device A (iOS)-->Requesting
Device B (iOS)-->Sharing

Open qr code in Device A
open scanner in Device B
Scan the qr code from Device B
Give consent and select VC to share from Device B
click on Accept Request and choose ID
on Device A click on Accept Request and verify

Current behavior
"received. Presence verified" message is displayed in history even when verifier captures non face , objects etc
Expected behavior
History should display " received. Presence verification failed"..
Screenshots
https://user-images.githubusercontent.com/79500509/206985995-4eaee9ff-7bf8-44e9-aea1-c12bebe54d9b.MP4

Device: iPhone 8 & iPhone 11
OS: 16.0.2 (20A380), 15.6.1
Inji app version: 0.4.1 (4) -> Testflight
MOSIP Version: <IP_ADDRESS>
MOSIP server: qa5.mosip.net

@Anushree09-N As of now IOS facematch SDK is not available it is mocked. Hence, this will on hold till we complete IOS SDK.

@Anushree09-N : This feature is not available now, please close this bug

This issue cant be tested in the current build, since this feature is not implemented yet, we cant test it now, hence we closing this bug for now


can we document the behaviour of having multiple SNAT IPs and when 64k ports exhaust a SNAT IP

We are having AKS clusters and recently hit the SNAT Port exhausting issue. As remediation for this issue, we added more SNAT IPs in the LB but they are never used. From the Azure Support, we got to know that only when the First SNAT IP is exhausted is the second one is used. It would be really helpful if its documented as we allocate IPs and don't see it being used
Please also document when 1st SNAT IP is exhausted and 2nd is being used and some SNAT Ports in the first IP become available.
It would be great if you also mention why we can't have multiple SNAT IPs as soon as we allocate them (instead of waiting till the first SNAT IP is exhausted)
Do you suggest any other alternates of SNAT IP? like NAT GW https://github.com/Azure/AKS/issues/1122 looks like the feature is requested

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

ID: a96406ce-2ffc-cdb3-1234-5154ccd5cc76
Version Independent ID: f840a092-e1bf-16e2-1916-4270cdfbbcdd
Content: Source Network Address Translation (SNAT) for outbound connections - Azure Load Balancer
Content Source: articles/load-balancer/load-balancer-outbound-connections.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

Hello @nkk1
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

#reassign:thisisanniefang

@nkk1 New IPs are indeed allocated one a time, but if your 2nd IP isn't being allocated - this is likely due to a misconfiguration (eg. using default outbound allocation, which often results in not allocating all of the available ports to your backend instances.). Have you ensured that you are using manual port allocation via outbound rules? Default outbound access, via the implicit default outbound connectivity option, or by default port allocation with outbound rules, is NOT recommended.
In addition, the number of ports allocated to your backend instances should be static if using manual port allocation via max # of backend instances. Please let me know if you need any additional clarification!

New IPs are indeed allocated one a time, but if your 2nd IP isn't being allocated - this is likely due to a misconfiguration

@thisisanniefang we have allocated more than 1 public IPs and manual port allocation,
 az aks update \
> --subscription xxxx \
> --resource-group xxxxxx \
> --name xxxxx \
> --load-balancer-managed-outbound-ip-count 6 \
> --load-balancer-outbound-ports 1024

we just don't see the 6 IP being used. Is it true that only after reaching 64k snat ports on the first public IP the second one will be used? It would be very difficult for us to test this, simulating 64k outgoing connections. I am hoping this was tested by Azure but not documented anywhere? Hence this request

@nkk1 Got it - so yes, you won't be able to see that the second IP is being consumed via the Used SNAT Port metric until you hit 64k SNAT ports being consumed, however, you should be able to see the Allocated SNAT Ports to reflect that multiple IPs are being used. If your ports are allocated properly, there shouldn't be any issue with the IPs being consumed one at a time.
More detailed instructions on viewing metrics can be found here: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-standard-diagnostics#how-do-i-check-my-snat-port-usage-and-allocation
On another note, I'm seeing that only 1024 ports are allocated per node here - just a reminder that port allocation is static, so this means your nodes will only ever be allocated 1024 ports each (once those ports are exhausted, that's it, even if you have more unallocated ports left).
Since you have 6 IPs, you should have 664k available ports. If you're concerned about reaching your port limit, we recommend allocating the max number of ports possible: eg. (664k) / max # of nodes possible. Hope this helps!

@nkk1 Also, as of today, NAT Gateway integration with AKS is in public preview: https://azure.microsoft.com/en-us/updates/public-preview-nat-gateway-integration-with-aks-2/

#please-close

@thisisanniefang please do not close this, we never updated the doc or any clarification  for the original question

We are having AKS clusters and recently hit the SNAT Port exhausting issue. As remediation for this issue, we added more SNAT IPs in the LB but they are never used. From the Azure Support, we got to know that only when the First SNAT IP is exhausted is the second one is used. It would be really helpful if its documented as we allocate IPs and don't see it being used

Please also document when 1st SNAT IP is exhausted and 2nd is being used and some SNAT Ports in the first IP become available.
It would be great if you also mention why we can't have multiple SNAT IPs as soon as we allocate them (instead of waiting till the first SNAT IP is exhausted)

@nkk1 As of yesterday, the documentation has been updated to include details on how ports are exhausted: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections#what-are-snat-ports
I've closed the issue as the documentation has been updated, but more than happy to continue to clarify in the thread - apologies if the clarification that I provided wasn't clear, could you let us know what you'd like additional information on?


Python 3.6 support

Is your feature request related to a problem? Please describe.
I was able to install Python 3.7 with pyenv, then openapi-python-client with pipx, but now I see that the generated clients are compatible with Python >=3.7 as well, because of this instruction at least:
from __future__ import annotations

(see https://stackoverflow.com/questions/52889746/cant-import-annotations-from-future/52890129)
If I understand correctly, this annotations import is used to avoid putting quotes around forward references (or avoid forward references themselves?) in models from_dict methods.
Describe the solution you'd like
Maybe openapi-python-client could provide a configuration option to tell what Python version is the target, and adapt its output to it. For Python 3.6, the from __future__ import annotations lines would be removed, and the from_dict methods of models would put quotes around their return type annotation.
Describe alternatives you've considered
I'm stuck with Python 3.6, at least for some time, so the only alternative I see is manually fixing the generated code, or writing a script to do it automatically 🙂

And here are two sed commands to do just that:
sed -i '/from __future__ import annotations/d' */models/*.py
sed -r -i 's/(def from_dict\(d: Dict\[str, Any\]\) -> )(.+):$/\1"\2":/' */models/*.py

Make sure to adapt */models/* to fit your directory structure.

@pawamoy is that the only piece of the generated clients that isn't compatible with 3.6? If so then we can just change the style to use quotes instead of __future__ for now. I thought data classes were added in 3.7 and we make pretty extensive use of them I think.

dataclasses can be installed as a dependency from PyPI, so this is solvable for Python 3.6.

Okay so we should also add that dependency then for 3.6 support.

@pawamoy 0.6.0-alpha.3 (building now) should work with Python 3.6 (both the CLI and the generated clients). Please give it a spin when you get a chance and see if I missed anything.

@dbanty that's great, thanks! I'll give it a try.

I haven't heard any complaints yet, and CI is now running 3.6 on every commit- so I'm pretty confident releasing 0.6.0 will finish this up. I'm going to close this issue to mark progress on 0.6.0 milestone, but definitely open a new one if you encounter any issues.


AIX explainer readme update

What this PR does / why we need it:
Update the readme to give an example of what a successful request to the AIX Explainer should look like. Also add a link to how someone can create a development image of the AIX explainer
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

@animeshsingh @Tomcli
Let me know if anything else is needed.

Thanks @Tomcli, have updated based on comments

Thanks @drewbutlerbb4
/lgtm

/approve


Extension query doesn't work by name

Only by display name.
This breaks the instructions we provide on each extension's marketplace page. Eg: ext install cpptools.

Query postponed to May.

Verification, search by cpptools, it should show the C++ extension.


Could not define global consumes and produces set

I'm trying to add global content-type with add following code snippet.
return new Docket(DocumentationType.SWAGGER_2)
.groupName("BBI").consumes(Sets.newHashSet("application/json")).produces(Sets.newHashSet("application/json"))
however the response content type keeps showing / unless I specifically specify the consume/produce field in 'requestMapping' annotation

Thanks for reporting! :+1:

thanks man!


Should use z_order/zorder rather than z

For better or worse, z is consistent with Gosu -> closing for now.


Add Pack Refresh

Describe the bug
If one were to be working on a pack in Etterna, the only way to add songs to the pack to work on them afterwards is renaming the pack to force a separate entry in the cache. Obviously this clutters a lot and isn't very practical for mappers.
To Reproduce
Steps to reproduce the behavior:

Make a new pack with at least one song
Close Etterna and add a new file to this pack
Reload Etterna, new file isn't present
Close Etterna, rename the pack
New cache entry is added and file is playable

Expected behavior
That with sanity checking, the files be added automatically.
Desktop (please complete the following information):

OS: Windows
Version 10

Additional context
Talked about this in the server, a plausible solution may be whitelist certain packs to sanity check or add an in-game pack refresh button (like we have a ctrl shift r for single files now).

edit: I installed my etterna on stepmania 5 which is what likely caused the problem. however, after making changes, ctrl q only displays newly added songs. removed songs are shown with a purple background. either way, after restarting etterna once, it thinks I have no files at all. after restarting twice, it works normally.

aa9445054cc2afc2a5fb76d64c47ce6af33b65dd


Remove version: Google.Chrome.Canary version 132.0.6824.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/accsxkn3pso4vicgelh3hifi3ywq_132.0.6824.0/132.0.6824.0_chrome_installer.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 923)


feat: add debugger

We are testing around if our tooling works with common workflows. You don't have to merge this, but this is how you can debug this API using https://graphql-debugger.com/.
Issue a query in GraphQL Playground, then visit http://localhost:16686 to debug using GraphQL Debugger.

Thanks!


Add About Us page with team member details

Introduce an About Us page featuring team member profiles and images, enhancing the frontend experience.

lgtm


nix-shell error for minimal haskell project, even though nix-build is fine in aarch64-darwin

Describe the bug
Could not enter nix-shell for haskell project, build is fine.
Steps To Reproduce
Steps to reproduce the behavior:
1 install nix
2 nix-env --install cabal2nix
3 files:

LICENSE
default.nix:{ pkgs ? import <nixpkgs> { }}:
pkgs.haskellPackages.callCabal2nix "project0" ./. { }

project0.cabal:name: project0
version: 1.0.0
license: BSD3
license-file: LICENSE
cabal-version: >= 1.18
build-type: Simple

executable project0
    build-depends: base
    main-is: Main.hs
    default-language: Haskell2010

main.hsmodule Main where

main :: IO ()
main = putStrLn "Hello, world!"

4 nix-build works fine
5 could not enter nix-shell
➜ nix-shell --attr env
error: Package ‘compiler-rt-libc-9.0.1’ in /nix/store/m1pmrzsdyk4d2d9hsacnp73d4lj2nwfy-nixpkgs-21.11pre333180.98747f27ecf/nixpkgs/pkgs/development/compilers/llvm/9/compiler-rt/default.nix:95 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowBroken = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowBroken = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)

Expected behavior
Should enter nix-shell
Metadata

system: "aarch64-darwin"
host os: Darwin 21.1.0, macOS 12.0.1
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.4
channels(ares): "darwin"
channels(root): "nixpkgs-21.11pre333180.98747f27ecf"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

forcing broken with export NIXPKGS_ALLOW_BROKEN=1
result in
make: *** [Makefile:136: all] Error 2
error: builder for '/nix/store/1k6jvaqpqd2zadf0vqy24nprkpbp065v-compiler-rt-libc-9.0.1.drv' failed with exit code 2;
       last 10 log lines:
       > [ 75%] Building C object lib/builtins/CMakeFiles/clang_rt.cc_kext_arm64_osx.dir/clear_cache.c.o
       > [ 75%] Building C object lib/builtins/CMakeFiles/clang_rt.cc_kext_arm64_osx.dir/__/profile/InstrProfilingPlatformDarwin.c.o
       > [ 75%] Building C object lib/builtins/CMakeFiles/clang_rt.cc_kext_arm64_osx.dir/__/profile/InstrProfiling.c.o
       > [ 75%] Building C object lib/builtins/CMakeFiles/clang_rt.cc_kext_arm64_osx.dir/__/profile/InstrProfilingBuffer.c.o
       > [ 75%] Building C object lib/builtins/CMakeFiles/clang_rt.cc_kext_arm64_osx.dir/__/profile/InstrProfilingWriter.c.o
       > [ 75%] Linking C static library libclang_rt.builtins_arm64_osx.a
       > [ 76%] Linking C static library libclang_rt.cc_kext_arm64_osx.a
       > [ 76%] Built target clang_rt.builtins_arm64_osx
       > [ 76%] Built target clang_rt.cc_kext_arm64_osx
       > make: *** [Makefile:136: all] Error 2
       For full logs, run 'nix log /nix/store/1k6jvaqpqd2zadf0vqy24nprkpbp065v-compiler-rt-libc-9.0.1.drv'.
error: 1 dependencies of derivation '/nix/store/065sd77gg1isx8knyg2n2sgl65q54zy8-clang-wrapper-9.0.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p7djf1n81i3qsnhi9fdbc4zhrgzb6iqv-ghc-8.10.7-with-packages.drv' failed to buil

This should at least be broken in a different way on current master.

This issue has been fix, please do reopen if you can reproduce it on master again.


Bug in DFS advance: premature unwinding element from DFS stack

First of all, I would like to thank you all for the great library, and attempt for making graph into standard library :clap:.
Currently, I'm using this at work and I'm having a small issue when using DFS views, as it doesn't traverse all the nodes in reachable edges, in some specific circumstances, especially a vertex (and branches connected to it) will be ignored from traversal, if it is the target of an edge whose source also connects to another vertex at the leaf of the graph (no more outgoing edges).
After debugging, I was able to trace back the issue to this line below in the advance() method of dfs_base class
https://github.com/stdgraph/graph-v2/blob/fedd598e585847b304fb58f9649f73caa0585beb/include/graph/views/depth_first_search.hpp#L163
I think that popping the stack at this stage is too early, and is the cause of the problem mentioned above. As elements on stack consist of a pair of source and edge (from that source), and if we are in the case where we reach this line, the edge is reaching a "black" target, so we want to pop it out. However, it is possible that the source of that edge has other outgoing edges to other vertices that are not visited yet. Therefore, popping out the element in this case is too early in my opinion. Anyway, the block of code just after that line also checks and pops elements on stack in case of unvisited edges. Thus, I think that the S_.pop() mentioned above is not necessary and can cause problems.
I've just worked with graph-v2 recently so I'm not sure to have full understanding of the library. Hence, my analysis could be wrong. However, the issue that I'm facing is real, so I would like to mention it here and ask for help.
Thanks

Hi Trung,
Thank you for your feedback. I will try to reproduce what you are describing but it would be helpful if you could provide a small example graph with a starting vertex that demonstrates the problem.
Thanks

Above is the graph that I was working on and having such problem. It is a DAG. For our business logic, we need to traverse in DFS from the top level children, so either C, D or E. I've encountered the problem when for our configuration, the DFS traversal starts from C, reaches F, then H, and stops there, instead of reaching B (and all other unvisited nodes).

FYI, that model is not a DAG.  I see two cycles {BCF} and {BDF}
On Mon, Sep 25, 2023 at 12:54 AM TrungDinhT @.***>
wrote:

[image: problematic_graph]
https://user-images.githubusercontent.com/24397712/270268062-942a1edc-be0d-40d9-a49e-74e22a2d9d80.jpeg
Above is the graph that I was working on and having such problem. It is a
DAG. For our business logic, we need to traverse in DFS from the top level
children, so either C, D or E. I've encountered the problem when for our
configuration, the DFS traversal starts from C, reaches F, then H, and
stops there, instead of reaching B (and all other unvisited nodes).
—
Reply to this email directly, view it on GitHub
https://github.com/stdgraph/graph-v2/issues/71#issuecomment-1733113012,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANXEP7GLDYLPXV246XAPGTX4E2D7ANCNFSM6AAAAAA4IWMS2A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for the info. And yes, I'm aware of that.
Actually, in our real configuration, the F->B edge is "marked" as back edge, and is ignored during traversal. Moreover, we want to verify that F->B is really a back edge, so that's why above I said that we traverse from C, D or E (not really top level children, but more precisely they are neighbours of a vertex that are the destination of a back edge), but it is our internal business logic so it does not impact the fact that DFS view does not reach B via F->B edge in case H is reached first.


Fix broken LED example (#26)

Fix for #26
This seems to have been broken in #20 where the affected line was changed from gpioc.pc13.into_push_pull_output(&mut gpioc.crh); to gpioc.pc13.into_push_pull_output(&mut gpioc.crh).set_high();
I think explicitly calling set_low is better than the previous case since it's more explicit and as far as I know, we don't specify wether or not pins will be high or low after into_push_pull_output. Or was there a reason set_low wasn't explicitly called?

The only (very minor) issue I have with this change is that there's a certain assumption about the utilised hardware in here; what works for you will break for others (either because there's no LED at the utilised pins or it has the polarity the other way around). I think for a generic crate we should try to stay as generic as possible (i.e. make few or better no assumptions) and instead add commentary about all taken assumptions and what the code would do if the assumptions hold.

Is this roughly what you had in mind? @therealprof


Feat: Updating the Homepage

Describe the feature
Updating the Homepage of the website to make it more look alike real flipkart.com.
Add ScreenShots
Here, I can see that the Homepage of the website is not much like real website and also the responsiveness is not good at all.
Assign me this issue so that I can work on this and submit a new good looking UI with responsiveness added.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Thanks @arghadipmanna101 for assigning this to me, I will try to complete this as soon as possible.

Hey @arghadipmanna101, I think someone has already made an impressive changes to the Homepage and Navbar. So I think I don't have much to change.

Hi, I hope this message finds you well.
I am writing to express my interest in contributing to the issue. I am enthusiastic about participating in GSSoC'24 and believe that working on this issue will allow me to make a meaningful contribution to the project.
Could you please assign this issue to me under GSSoC'24?
Thank you for considering my request.


Add templates for Alpine Linux 3.2.3

Add template for Alpine Linux 3.2.3 (x86_64 and x86)

Finished.


Update the dependencies

/test pull-knative-operator-serving-upgrade-tests

/test pull-knative-operator-serving-upgrade-tests


Xcode 16 • XCBuildConfiguration Changes

Context 🕵♀
Related to https://github.com/tuist/XcodeProj/pull/827, when a build configuration uses an xcconfig in the new folders the baseConfigurationReference is removed and replaced with baseConfigurationReferenceAnchor (PBXFileSystemSynchronizedRootGroup) and baseConfigurationReferenceRelativePath.
What 🌱
Xcode 16 introduces changes when you use the new synchronized folders.
Proposal 🎉
Check for these new values before falling back to the old value for deriving information from the xcconfigs.

Could that be responsible for no resource files being found on newly created Xcode projects?


Privacy-invasive RPCs

Tenderly's RPC, which is used by default, does not respect user privacy, stating they are likely to collect and store transactional data and information. Please remove or replace it with more privacy-respecting alternatives listed there on Chainlist, especially as we can not set custom RPCs ourselves.

This is a likely a non-issue, they don't have your IP, the only data they can collect is already public anyway (wallet address, amounts, tokens you use)

Does this take known and unknown IP-independent user fingerprinting techniques, like https://x.com/SCBuergel/status/1798031499318706484, into account?

This is independent of anything that happens on dapps because we can't control them
Brume provides its Tor-proxied RPC to dapps via window.ethereum and EIP-6963, which they can choose to use or not
We can't prevent them from using another RPC, or from sending all your data to their own servers or advertisers
Whether you use private RPC or not, Brume or not, if you use a dapp that sucks at privacy, your privacy is doomed
This "discovery" is not a real one and is just made for shilling a more centralized Tor competitor

Regardless, I'd have to disagree as a matter of "defense-in-depth". It also doesn't make sense to patronise, thus add to the market-share of, a privacy-invasive option when so many less bad alternatives seem to exist.

Sure, I can add private RPCs if they are as reliable and popular as the unprivate ones, the more RPC we have as a backup the better it is, but I can't remove unprivate ones until we have a sufficient amount of private ones that are reliable and independents
Keep in mind that adding unpopular private RPCs is double-edged because when you use unpopular RPCs, your anonymity set decreases, both from the network perspective (your IP contacting this specific RPC), but also if that unpopular private RPC is in fact a honeypot that collects all wallets and IPs
So in the "defense-in-depth" case where Tor fails and the RPC is a honeypot, you have given your wallet and IP to a low anonymity set and your privacy is doomed

So if you have reliable, popular, and private RPCs in mind that do not block Tor, let's add them, otherwise it's better not to touch anything
The ones I included have been battle-tested for months as reliable and are popular among other apps

I know Chainlist, most RPCs there are unreliable, block Tor, or are unpopular

I remember having tried all RPCs for all chains
I even used llamarpc in previous versions, as it did not block Tor, but it was unstable so I removed it
Maybe it changed so I will retry again for the most popular ones

Keep in mind we do not use RPCs like other apps
We send many requests at once and expect the responses to be the same as the other RPCs in order to reject lies
So a RPC that works fine on a normal dapp may not work fine via Tor, and it may be even worse via Brume


Error in installing No-IP DUC

General troubleshooting steps

[x] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[ ] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I ran brew update-reset && brew update and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
Install fails on no-ip-duc cask

Command that failed
brew cask install no-ip-duc

Output of command with --force --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading https://www.noip.com/client/mac/noip3.2.1.dmg
Already downloaded: /Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg
==> Downloaded to -> /Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg
==> Verifying download
==> Determining which verifications to run for Cask no-ip-duc
==> Checking for verification class Hbc::Verify::Checksum
==> 1 verifications defined
Hbc::Verify::Checksum
==> Running verification of class Hbc::Verify::Checksum
==> Verifying checksum for Cask no-ip-duc
==> SHA256 checksums match
==> Installing Cask no-ip-duc
==> Hbc::Installer#stage
==> Extracting primary container
==> Determining which containers to use based on filetype
==> Checking container class Hbc::Container::Pkg
==> Checking container class Hbc::Container::Ttf
==> Checking container class Hbc::Container::Otf
==> Checking container class Hbc::Container::Air
==> Checking container class Hbc::Container::Cab
==> Checking container class Hbc::Container::Dmg
==> Executing: ["/usr/bin/hdiutil", "imageinfo", "/Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg"]
==> Using container class Hbc::Container::Dmg for /Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg
==> Executing: ["/usr/bin/hdiutil", "attach", "-plist", "-nobrowse", "-readonly", "-noidme", "-mountrandom", "/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/d20180425-87817-1h0h049", "/Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg"]
==> Executing: ["/usr/bin/hdiutil", "convert", "-quiet", "-format", "UDTO", "-o", "/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/d20180425-87817-1h0h049/no-ip-duc--3.2.1.cdr", "/Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg"]
==> Executing: ["/usr/bin/hdiutil", "attach", "-plist", "-nobrowse", "-readonly", "-noidme", "-mountrandom", "/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/d20180425-87817-1h0h049", "/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/d20180425-87817-1h0h049/no-ip-duc--3.2.1.cdr"]
==> Software License Agreement for '/Users/derwent/Library/Caches/Homebrew/Cask/no-ip-duc--3.2.1.dmg':
END-USER LICENSE AGREEMENT FOR No-IP Mac Dynamic Update Client

IMPORTANT PLEASE READ THE TERMS AND CONDITIONS OF THIS LICENSE
AGREEMENT CAREFULLY BEFORE CONTINUING WITH THIS PROGRAM INSTALL:
Vitalwerks Internet Solutions, LLC End-User License Agreement
("EULA") is a legal agreement between you (either an individual or
a single entity) and Vitalwerks Internet Solutions, LLC. for the
Vitalwerks Internet Solutions, LLC software product(s) identified
above which may include associated software components, media,
printed materials, and "online" or electronic documentation ("SOFTWARE
PRODUCT"). By installing, copying, or otherwise using the SOFTWARE
PRODUCT, you agree to be bound by the terms of this EULA. This
license agreement represents the entire agreement concerning the
program between you and Vitalwerks Internet Solutions, LLC, (referred
to as "licenser"), and it supersedes any prior proposal, representation,
or understanding between the parties. If you do not agree to the
terms of this EULA, do not install or use the SOFTWARE PRODUCT.

The SOFTWARE PRODUCT is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The SOFTWARE PRODUCT is licensed, not sold.

1. GRANT OF LICENSE.  The SOFTWARE PRODUCT is licensed as follows:
(a) Installation and Use.  Vitalwerks Internet Solutions, LLC grants
you the right to install and use copies of the SOFTWARE PRODUCT on
your computer running a validly licensed copy of the Mac OS X for
which the SOFTWARE PRODUCT was designed.  (b) Backup Copies.  You
may also make copies of the SOFTWARE PRODUCT as may be necessary
for backup and archival purposes.

2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.  (a) Maintenance
of Copyright Notices.  You must not remove or alter any copyright
notices on any and all copies of the SOFTWARE PRODUCT.  (b)
Distribution.  You may not distribute registered copies of the
SOFTWARE PRODUCT to third parties. Evaluation versions available
for download from Vitalwerks Internet Solutions, LLC's websites may
be freely distributed.  (c) Prohibition on Reverse Engineering,
Decompilation, and Disassembly.  You may not reverse engineer,
decompile, or disassemble the SOFTWARE PRODUCT, except and only to
the extent that such activity is expressly permitted by applicable
law notwithstanding this limitation.  (d) Rental.  You may not rent,
lease, or lend the SOFTWARE PRODUCT.  (e) Support Services.  Vitalwerks
Internet Solutions, LLC may provide you with support services related
to the SOFTWARE PRODUCT ("Support Services"). Any supplemental
software code provided to you as part of the Support Services shall
be considered part of the SOFTWARE PRODUCT and subject to the terms
and conditions of this EULA.  (f) Compliance with Applicable Laws.
You must comply with all applicable laws regarding use of the
SOFTWARE PRODUCT.

3. TERMINATION Without prejudice to any other rights, Vitalwerks
Internet Solutions, LLC may terminate this EULA if you fail to
comply with the terms and conditions of this EULA. In such event,
you must destroy all copies of the SOFTWARE PRODUCT in your possession.

4. COPYRIGHT All title, including but not limited to copyrights,
in and to the SOFTWARE PRODUCT and any copies thereof are owned by
Vitalwerks Internet Solutions, LLC or its suppliers. All title and
intellectual property rights in and to the content which may be
accessed through use of the SOFTWARE PRODUCT is the property of the
respective content owner and may be protected by applicable copyright
or other intellectual property laws and treaties. This EULA grants
you no rights to use such content. All rights not expressly granted
are reserved by Vitalwerks Internet Solutions, LLC.

5. NO WARRANTIES Vitalwerks Internet Solutions, LLC expressly
disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT
is provided 'As Is' without any express or implied warranty of any
kind, including but not limited to any warranties of merchantability,
noninfringement, or fitness of a particular purpose. Vitalwerks
Internet Solutions, LLC does not warrant or assume responsibility
for the accuracy or completeness of any information, text, graphics,
links or other items contained within the SOFTWARE PRODUCT. Vitalwerks
Internet Solutions, LLC makes no warranties respecting any harm
that may be caused by the transmission of a computer virus, worm,
time bomb, logic bomb, or other such computer program. Vitalwerks
Internet Solutions, LLC further expressly disclaims any warranty
or representation to Authorized Users or to any third party.

6. LIMITATION OF LIABILITY In no event shall Vitalwerks Internet
Solutions, LLC be liable for any damages (including, without
limitation, lost profits, business interruption, or lost information)
rising out of 'Authorized Users' use of or inability to use the
SOFTWARE PRODUCT, even if Vitalwerks Internet Solutions, LLC has
been advised of the possibility of such damages. In no event will
Vitalwerks Internet Solutions, LLC be liable for loss of data or
for indirect, special, incidental, consequential (including lost
profit), or other damages based in contract, tort or otherwise.
Vitalwerks Internet Solutions, LLC shall have no liability with
respect to the content of the SOFTWARE PRODUCT or any part thereof,
including but not limited to errors or omissions contained therein,
libel, infringements of rights of publicity, privacy, trademark
rights, business interruption, personal injury, loss of privacy,
moral rights or the disclosure of confidential information.
==> Executing: ["/usr/bin/find", ".", "-print0"]
==> Executing: ["/usr/bin/mkbom", "-s", "-i", "/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/20180425-87817-18tvb59.list", "--", "/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/20180425-87817-nimtih.bom"]
==> /usr/bin/mkbom: illegal option -- s
==> Executing: ["/usr/sbin/diskutil", "eject", "/private/var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/d20180425-87817-1h0h049/dmg.wK6HcL"]
==> Purging files for version 3.2.1 of Cask no-ip-duc
Error: Command failed to execute!

==> Failed command:
/usr/bin/mkbom -s -i /var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/20180425-87817-18tvb59.list -- /var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/20180425-87817-nimtih.bom

==> Standard Output of failed command:
Usage: mkbom [i] [-u uid] [-g gid] source target-bom-file

	-i	Treat source as a file in the format generated by ls4mkbom and lsbom
	-u	Force user ID to the specified value (incompatible with -i)
	-g	Force group ID to the specified value (incompatible with -i)

==> Standard Error of failed command:
/usr/bin/mkbom: illegal option -- s

==> Exit status of failed command:
#<Process::Status: pid 88373 exit 1>

/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:71:in `assert_success'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:36:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:18:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:93:in `block (2 levels) in extract_mount'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/tempfile.rb:295:in `open'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:89:in `block in extract_mount'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/tempfile.rb:295:in `open'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:86:in `extract_mount'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:19:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:19:in `block in extract'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:55:in `block in mount'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:30:in `mount'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:16:in `extract'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:156:in `extract_primary_container'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:58:in `stage'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:79:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:20:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:14:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.6.2-4-g5195e72
caskroom/homebrew-cask (git revision 20e1e; last commit 2018-04-25)
==> macOS
10.12.6
==> SIP
Disabled
==> Java
1.8.0_144
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (2 files, 55.7MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3954 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (176 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/universal-darwin9.0
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

Output of brew tap
cartr/qt4
caskroom/cask
caskroom/versions
derwentx/sudolikeaboss
homebrew/core
homebrew/dupes
homebrew/fuse
homebrew/php
homebrew/services

Output of ls -al /usr/bin/mkbom
.rwxr-xr-x 72k root 17 Apr 17:50 /usr/bin/mkbom

/usr/bin/mkbom: illegal option -- s
This is a valid option on 10.12.6
Can you try installing something else that uses a dmg e.g google-chrome, firefox, opera?

Hi @commitay , thanks for the reply.
brew cask uninstall opera
==> Uninstalling Cask opera
==> Backing App 'Opera.app' up to '/usr/local/Caskroom/opera/46.0.2597.26/Opera.app'.
==> Removing App '/Applications/Opera.app'.
==> Purging files for version 46.0.2597.26 of Cask opera

brew cask install opera
==> Verifying checksum for Cask opera
==> Installing Cask opera
==> /usr/bin/mkbom: illegal option -- s
==> Purging files for version 52.0.2871.40 of Cask opera
Error: Command failed to execute!

==> Failed command:
/usr/bin/mkbom -s -i /var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/20180425-90347-c08i63.list -- /var/folders/sx/43gc_nmj43dcwbw15n3pwm440000gn/T/20180425-90347-6chror.bom

==> Standard Output of failed command:
Usage: mkbom [i] [-u uid] [-g gid] source target-bom-file

	-i	Treat source as a file in the format generated by ls4mkbom and lsbom
	-u	Force user ID to the specified value (incompatible with -i)
	-g	Force group ID to the specified value (incompatible with -i)

==> Standard Error of failed command:
/usr/bin/mkbom: illegal option -- s

==> Exit status of failed command:
#<Process::Status: pid 90973 exit 1>

oh dear, looks like it's something wrong with my system.
I've been using brew for years and never had any trouble.
Any idea what I can do to try and fix this?
brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Users/derwent/.pyenv/shims/python-config
  /Users/derwent/.pyenv/shims/python2-config
  /Users/derwent/.pyenv/shims/python2.6-config
  /Users/derwent/.pyenv/shims/python2.7-config
  /Users/derwent/.pyenv/shims/python3-config
  /Users/derwent/.pyenv/shims/python3.2-config
  /Users/derwent/.pyenv/shims/python3.2m-config
  /Users/derwent/.pyenv/shims/python3.3-config
  /Users/derwent/.pyenv/shims/python3.3m-config
  /Users/derwent/.pyenv/shims/python3.4-config
  /Users/derwent/.pyenv/shims/python3.4m-config
  /Users/derwent/.pyenv/shims/python3.6-config
  /Users/derwent/.pyenv/shims/python3.6m-config

history | grep brew | tail -n 50
 9650  2018-04-17 18:03  env LDFLAGS="-L$(brew --prefix openssl)/lib" \\nCFLAGS="-I$(brew --prefix openssl)/include" \\nSWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \\npip install m2crypto
 9815  2018-04-22 12:02  brew cask update musescore
 9816  2018-04-22 12:02  brew update musescore
 9826  2018-04-24 11:40  brew install radare2
 9841  2018-04-24 13:27  brew reinstall pygobject3 --with-libffi
 9844  2018-04-24 13:29  brew test pygobject3
 9845  2018-04-24 13:29  brew install pygobject3 --with-python3
 9846  2018-04-24 13:30  brew reinstall pygobject3 --with-python3 -with-libffi
 9848  2018-04-24 13:31  brew info pygobject3
 9849  2018-04-24 13:32  brew info gtk+3
 9869  2018-04-24 13:50  brew install qmake
 9872  2018-04-24 13:52  brew search qmake
 9873  2018-04-24 13:53  brew help qmake
 9874  2018-04-24 13:53  brew help search
 9875  2018-04-24 13:53  brew search --desc qmake
 9881  2018-04-24 14:05  brew help
 9882  2018-04-24 14:05  brew commands
 9883  2018-04-24 14:05  brew info radare
 9884  2018-04-24 14:05  brew info radare2
 9885  2018-04-24 14:05  brew reinstall radare2 --with-code-signing
 9886  2018-04-24 14:08  brew search cutter
 9887  2018-04-24 14:08  brew info cutter
 9900  2018-04-24 14:23  brew install gdbserver
 9901  2018-04-24 14:23  brew search gdbserver
 9977  2018-04-24 18:16  brew install snowman
 9987  2018-04-24 18:20  brew install cartr/qt4/qt
 9988  2018-04-24 18:21  brew install boost
10036  2018-04-25 10:40  brew search noip
10037  2018-04-25 10:40  brew search no-ip
10038  2018-04-25 10:40  brew cask install no-ip-duc
10041  2018-04-25 10:46  brew cask install no-ip-duc --force
10044  2018-04-25 10:48  brew update-reset && brew update
10045  2018-04-25 10:49  brew cask install no-ip-duc --force
10046  2018-04-25 10:50  brew doctor
10047  2018-04-25 10:50  brew link swig
10048  2018-04-25 10:50  brew link --overwrite swig
10049  2018-04-25 10:50  brew link python@2
10050  2018-04-25 10:50  brew doctor
10051  2018-04-25 10:51  brew install no-ip-doc --force --verbose --debug
10052  2018-04-25 10:52  brew cask install no-ip-doc --force --verbose --debug
10053  2018-04-25 10:52  brew cask install no-ip-duc --force --verbose --debug
10054  2018-04-25 10:53  brew cask doctor
10055  2018-04-25 10:53  brew tap
10060  2018-04-25 11:07  brew cask uninstall opera
10061  2018-04-25 11:07  brew cask install opera
10062  2018-04-25 11:09  brew doctor
10064  2018-04-25 11:10  brew doctor
10065  2018-04-25 11:11  history | grep brew | tail 20
10068  2018-04-25 11:11  history | grep brew | tail 20
10069  2018-04-25 11:12  history | grep brew | tail -n 20

Thanks @commitay
I'll put some information in here for anyone who googles this problem since there wasn't much out there when I tried.
As far as i can tell it looks like the normal macOS mkbom binary has been replaced with this mkbom on 2018-04-17
for i in $(echo $PATH | sed 's/:/\n/g' | sort | uniq); do; echo "=> $i"; find $i -type f -name mkbom -exec ls -al {} \; 2>/dev/null; done
=> /Applications/Wireshark.app/Contents/MacOS
=> /Users/derwent/.local/bin
=> /Users/derwent/.pyenv
=> /Users/derwent/.pyenv/shims
=> /Users/derwent/.rbenv/shims
=> /Users/derwent/.vim/bin
=> /Users/derwent/Library/Android/sdk/platform-tools
=> /Users/derwent/esp/xtensa-esp32-elf/bin
=> /bin
=> /opt/X11/bin
=> /opt/gnu/bin
=> /opt/gnu/sbin
=> /opt/local/bin
=> /opt/local/sbin
=> /sbin
=> /usr/bin
-rwxr-xr-x  1 root  wheel  72724 17 Apr 17:50 /usr/bin/mkbom
=> /usr/local/Cellar/pyenv-virtualenv/1.1.1/shims
=> /usr/local/bin
-rwxr-xr-x  1 root  admin  72724 17 Apr 18:04 /usr/local/bin/mkbom
=><EMAIL_ADDRESS>=> /usr/local/sbin
=> /usr/sbin

both of these mkboms are the hogliux versions.
This happened around the time I installed empire, and sure enough, cat ~/GitHub/Empire/setup/install.sh | grep mkbom -n -C 5
172-
173-# NIT: This fails on OSX. Leaving it only on Linux instances.
174-if uname | grep -q "Linux"; then
175-        (cd bomutils && make install)
176-fi
177:chmod 755 bomutils/build/bin/mkbom && sudo cp bomutils/build/bin/mkbom /usr/local/bin/.
178-
179-# set up the database schema
180-python ./setup_database.py
181-
182-# generate a cert

I'll follow up with Empire .

restoring /usr/bin/mkbom from a backup and removing mkbom from /usr/local/bin fixes this.


Extension Manager - extensions are not sorted in the Market Place panel

SQL Operations Studio Version:

Steps to Reproduce:

@llali the current sorting behavior is that recommended extensions are sorted above other extensions.  Within the two groups the extensions should be sorted alphabetically.  I think the screenshot shows this sorting behavior.


Upgrading to wagtail 1.6 breaks, with DEBUG=False and ManifestStaticFilesStorage as STATICFILES_STORAGE

After upgrading to wagtail 1.6 wagtail admin fails to load a bunch of JS scripts.  None of the files specified in wagtailadmin/templates/wagtailadmin/pages/_editor_js.html is rendered on to the edit or create page HTML.
Found that this Django setting was causing it
DEBUG=False
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

Switching to a normal Django static storage works. but we would like to fingerprint our assets. This also prevents us from using custom static files storage like whitenoise.  This was not an issue with the previous versions of wagtail (1.5.3).
Setup

Python 3.4
Django 1.8.13
Wagtail 1.6

Steps to reproduce
pip install django==1.8
wagtail start clean
python3 manage.py migrate

Edit the settings to

DEBUG=False
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

python manage.py collectstatic --clear
python manage.py runserver 8000

@gasman @alexgleason @m1kola can you guys take a look ?

manage.py runserver does not serve static files when DEBUG=False (see https://docs.djangoproject.com/en/1.10/howto/static-files/#serving-static-files-during-development), so your reproduction steps will fail on any version of Django / Wagtail. On a production server, you should configure your webserver to serve static files directly (i.e. not going through Django): https://docs.djangoproject.com/en/1.10/howto/static-files/deployment/
With further hacks (removing the if settings.DEBUG check from urls.py, and running manage.py runserver --insecure) you can override the runserver behaviour and get it to serve static files again - however, in this case it'll take them from their original locations in the app directories, not from the collected files in STATIC_ROOT. I suspect this is why you're having problems with ManifestStaticFilesStorage: the {% static %} tags are correctly adding the hash suffix to the filename, but runserver only knows about the un-suffixed files.
If you can find a set of steps that is confirmed to work on Wagtail <=1.5 and fails on >1.6, we can take another look...

It's failing in production and hence I have opened the ticket.
The static files are served via nginx. I would like if you could try to run
wagtail 1.6 with the specified storage settings which I specified above.
It works flawlessly with wagtail 1.5.
Accoring to ticket the bug is that the js specified in _editor_js.html is
failing to appear in the rendered HTML code.
On Fri 19 Aug, 2016, 9:15 PM Matt Westcott<EMAIL_ADDRESS>wrote:

Closed #2927 https://github.com/torchbox/wagtail/issues/2927.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/torchbox/wagtail/issues/2927#event-761437700, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABN66iIdIKv-MPJbsKm5KCOpuq5pqKJaks5qhc99gaJpZM4JnnW1
.

OK, I think I understand the problem now! I missed your comment about _editor_js.html not rendering at all, as that wasn't in the original report that I received by email. (Please don't rely on Github's 'edit comment' feature to add substantial new information - that causes miscommunications...)
In Wagtail 1.6, we added the file admin/js/vendor/xregexp/xregexp.min.js to _editor_js.html. This file is part of django.contrib.admin on Django 1.9 and above; on Django 1.8 (or when django.contrib.admin is not listed in INSTALLED_APPS), it's a missing file. Normally, this would be silently ignored - unicode slug support is disabled but everything else works fine - but ManifestStaticFilesStorage breaks on non-existent files, causing the whole _editor_js.html include to be skipped.

Moving django is not an option because it's not an LTS version. Will
placing a copy of xregexp.min.js fix the issue or is there any work around
that you suggest ?
On Sat 20 Aug, 2016, 5:37 AM Matt Westcott<EMAIL_ADDRESS>wrote:

Reopened #2927 https://github.com/torchbox/wagtail/issues/2927.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/torchbox/wagtail/issues/2927#event-761919365, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABN66vAkfBkXLY3ypgmNLBiPV_03Ck9Oks5qhkU8gaJpZM4JnnW1
.

Will keeping a copy of admin/js/vendor/xregexp/xregexp.min.js resolve this ? What do you suggest as a fix ? maybe I can raise a PR for this, if you have any ideas on how this can be resolved.
How is xregexp.min.js helping Wagtail ? Just want to understand more about it, if its affecting any wagtail features.

Will adding a template tag to check django version and loading the JS file if its greater than or equal to  1.9 work ?

@register.simple_tag
def is_django_1_9():
    if django.VERSION >= (1, 9, 0):
        return True
    else:
        return False

As an immediate workaround, creating a blank admin/js/vendor/xregexp/xregexp.min.js file in one of your app's static directories would probably work. That way, _editor_js.html will render correctly, but the JS code will still fall back on the non-Unicode Django 1.8 version, as it would if xregexp.min.js was a 404.

the workaround - worked!

Fixed in #2937
Thanks for reporting!


Issue when running the debugger.

Hello, everyone!
I get this error each time I debug a file with rdbg(script). The issue seems to be with pry-byebug. I get this:
/Users/emanzurv/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/pry-byebug-3.10.1/lib/byebug/processors/pry_processor.rb:17: warning: undefining the allocator of T_DATA class Byebug::ThreadsTable
/Users/emanzurv/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/pry-byebug-3.10.1/lib/byebug/processors/pry_processor.rb:17: warning: undefining the allocator of T_DATA class Byebug::Context
Any help is appreciated. Thanks

Do you mix debug.gem with byebug?


image can scale while click ?

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
builtin capability，use component like Transform.vue or directive ?
Describe alternatives you've considered

with 3rd vue component

You can write custom logic for that
https://sli.dev/custom/vue-context.html


Fix usage of sprintf.

sprintf is marked as deprecated with Xcode 14.

 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.Justin Cohen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Scroll and Stop vs. Flinging

When trying to scroll and stop to the left (contrary to flingin) the pager moves 1 page on the opposite side, if not to the other. It's an strange behavior. Could you pleas take a look at it.

Sorry, there is some bug with setSlideBorderMode (SLIDE_BORDER_MODE_CYCLE), and i don't have time to fix it.

I will be glad to help on it. If you can give some inputs on where exactly is the issue or what do you think it could be...

my be some bug in onTouchEvent function


Duplicated CP navigation entries

Description
Everytime I sync the project files, all the CP navigation entries are duplicated.
I have to reset the Control Panel Nav settings, which makes the custom settings useless…
Steps to reproduce

Update the project files
The CP navigation entries are duplicated
Update the project files again
Each CP navigation entries appears now three times and so on…

Additional info

Plugin version: 3.0.17
Craft version: Craft Pro 3.7.14
Multi-site: No

Additional context

This sounds like it might be an environment / Project Config issue rather than specific to CP nav - I can't replicate it. What do you mean by "sync the project files"?

Should be improved in 4.0.0-beta.2 for Craft 4.


Disable avatars?

Hi,
I’m using asciidoctor-epub3 to create a novel-style EPUB, and there I would like to keep it more simple and don’t use avatars. Is this possible?
Thanks. Keep up the great work!
Bela

The avatars are actually a hold out from the original use of Asciidoctor EPUB3 to generate a magazine publication and really should be removed. Let's make that the focus of this issue. They can (and should) be added back in using an extension anyway.
In the meantime, you can disable them using CSS. Something like:
.chapter-header p.byline {
  display: none;
}

In general, I think we need a more generic chapter header style in the default theme.
We may still want to leave in the logic for the packager to bundle the author avatars in case they are needed / wanted somewhere. We just shouldn't include them by in the header by default.
Here's the logic that needs to get removed: https://github.com/asciidoctor/asciidoctor-epub3/blob/master/lib/asciidoctor-epub3/converter.rb#L187

:+1: Thanks

In my use case, I wanted to keep the chapter-header title but not the avatar or the author (it's a book, so it's me every time). Modifying the included data\styles\epub3.css file in this way worked for me:
p.byline {
  display: none;
}

In general, I'd like to see more documented guidance in this area. Right now, it's hard to tell what CSS classes control what without experimenting.

I'd say these styles around the header are largely subject to change. As you can tell, they were created with a specific branding in mind. We need to move towards something more generic in the default stylesheet, likely dropping the avatar outright. It's just a hold out from the original import of the code.

Avatars and headshots will only be included if you set the publication-type attribute to a value other than book. The assumption is that collections need author attribute per chapter, but books do not.

I'm also thinking about inverting the colors for the chapter title by default (gray on white). I'll handle that in a separate issue.


Codes 1 and 2 not defined as contants

Hi,
Is there a specific reason for the codes 1 and 2 not being defined as constants? Code 1 for invalid SSL certificate and code 2 for timed out.
let error = errorWithDetail("Invalid SSL certificate", code: 1)
self?.doDisconnect(self?.errorWithDetail("write wait timed out", code: 2))

I don't like to use ==1 or ==2 in my code within the webSocketDidDisconnect function, since it makes the logic a bit harder to understand.
Perhaps we could define these codes in the CloseCode enum?
By the way, this library is super awesome! Thank you for all the hard work!

I would like to work on this if need be!

Not really, I think it is just a carry over from older code. An enum is a good idea. Thanks. Glad you enjoy it! @morganzellers I'm fine if you want to work on it. Should be a fairly easy change.


Bar doesn't display properly when used on 5K systems that use multiple video outputs to power the display

I'm running a Dell 5K monitor which requires two DisplayPort connections to the GPU.  In my case, I'm actually using two GPUs with one connection to each.   GPU-0 powers the left half of the screen and GPU-1 powers the right.  i3 has an undocumented mode called fake-outputs that causes i3 to treat the two halves as one single 5120x2880 display.   When configured this way, a new window will automatically span both halves of the screen to give an effective full-screen window.
I've tried several approaches to get polybar to span both halves of the screen:

Run a single polybar with configuration as follows:

[bar/fullwidth]
width = 100%
height = 47

This results in a bar that only spans the left half of the screen.  Presumably, this is because polybar lacks the fake-outputs hack that i3 uses and cannot span two screens with one instance.

Run two polybars, one for each half of the screen:

[bar/left]
monitor = GPU-0.DP-2
width = 100%
height = 47

[bar/left]
monitor = GPU-1.DP-2
width = 100%
height = 47

This works fine for bar/left but bar/right just results in a second polybar underneath bar/left.  In other words, it never displays any bar on the right half of the screen.
I've tried enabling debug output and I do see that polybar is trying to do the right thing with geometry:
* Bar geometry: 2560x49+2560+0

...but still, nothing will show on the right half of the screen (GPU-1).

Update:  I'm no longer using i3's fake-outputs and I'm now using the "Monitor" concept from RandR 1.5, which i3 supports in its next branch.  This creates a single monitor pane out of two RandR outputs:
xrandr --screen 0 --output DP-0 --mode 2560x2880 --pos 0x0
xrandr --screen 0 --output DP-2 --mode 2560x2880 --pos 2560x0

xrandr --screen 0 --setmonitor DellUP2715K 5120/600x2880/340+0+0 DP-0,DP-2

However, polybar is still not able to display its content on the right side of the screen.  Oddly, it does show the panel apps on the right side, just not the polybar-specific stuff.
Here's a screenshot of what I'm seeing with this config:
[bar/full]
width = 100%
height = 27
offset-y = 0

You wrote that the second polybar is getting placed below the first one... this is done by i3 and you would need to use override-redirect = true if you want to set the size/position manually. Try it out and see if it might fix your problem.

OK, that got me a little closer.  I can get it to display properly now on the right side, which is great.   But, it's covering up the top of the windows now.  I did some digging and tried using override-redirect = true in combination with wm-restack = i3 but that results in polybar being completely hidden behind the i3 windows.  I can only see polybar when I go to a screen with no windows.

Yeah, but due to the way i3 handles status bars override-redirect is required to tell it not to resize/reposition it. You could try a work-around by running a second empty bar, for example:
[bar/top-dummy]
width = 1
height = ${bar/left.height}
modules-left = empty-space
background = 0

[module/empty-space]
type = custom/text
content = " "

You might need to remove the wm-restack parameter so that the actual bar window gets on top of the dummy.. otherwise the dummy will receive the mouse clicks.

Yes!!!! That works!
In case somebody wants to get this working, here's what I used:
[bar/dummy]
width = 1
height = ${bar/right.height}
modules-left = empty-space
background = 0

[bar/right]
;; right half of screen
monitor = DP-2
width = 100%
height = 27
offset-x = 0
offset-y = 0
override-redirect = true

[bar/left]
;  left half of monitor
monitor = DP-0
width = 100%
height = 27
offset-x = 0
offset-y = 0
override-redirect = true

Do you want me to leave this issue open?   It would be awesome if polybar eventually supported the new RandR Monitor concept and could draw a bar across the entire workspace instead of the individual video outputs.   Happy to help test.

You can leave it open and I will checkout the Monitor concept, haven't heard of it before.

@chrissnell I've added support for XRandR monitors. Please try it out and check if it works for your setup...

Wow, awesome!    OK, it's not 100% there but really close.
First off, here's what happens when I run polybar --list-monitors:
$ polybar --list-monitors
Usage: polybar bar_name [OPTION...]

  -h, --help               Display this help and exit
  -v, --version            Display build details and exit
  -l, --log=LEVEL          Set the logging verbosity (default: WARNING)
                           LEVEL is one of: error, warning, info, trace
  -q, --quiet              Be quiet (will override -l)
  -c, --config=FILE        Path to the configuration file
  -r, --reload             Reload when the configuration has been modified
  -d, --dump=PARAM         Print value of PARAM in section [bar_name] and exit
  -m, --list-monitors      Print list of available monitors and exit
  -w, --print-wmname       Print the generated WM_NAME and exit
  -s, --stdout             Output data to stdout instead of drawing the X window

So I just took a guess based on the code and fetched my monitor name from xrandr --listactivemonitors and added that to my polybar config:
[bar/example]
monitor = DellUP2715K
width = 100%
height = 27
offset-x = 0
offset-y = 0
override-redirect = true

This produced a beautiful full-monitor bar but it was sitting on top of the i3 window decorations:

So I added a dummy bar like we discussed above and that works:

It would be totally awesome if there was a way to make i3 honor the spacing for polybar  (_NET_WM_STRUT_PARTIAL???) but I can easily work around it.  Just not out-of-the-box easy yet.
I sure appreciate you writing this so fast.
Chris

You have to pass the <bar-name> before -m|--list-monitors but I'm working on making the command flags position independant right now.
Polybar sets that atom but i3 doesn't seem to honor it straight off. I'm no i3 user myself so things might have changed since I last checked though.

OK, here's what --list-monitors shows me now:
$ polybar example --list-monitors
DP-2: 2560x2880+2560+0 (XRandR monitor)
DP-0: 2560x2880+0+0 (XRandR monitor)
DellUP2715K: 5120x2880+0+0

Could the DellUP2715K be labeled something like "Composite RandR monitor"?
Out of curiosity, what window manager do you run?

@chrissnell Actually, if you pull the latest source you will get the fix that swaps that.. The XRandR monitor should be on your last line.
I am using bspwm.

Excellent!  Just verified that --list-monitors works as expected.
Closing this bug.  If you ever need help testing something, I'm happy to help, just GH @mention me.

Thanks.


Update AMD-Pensando_HA_Proposal.md

editing spelling to pass spellcheck

@ByReaL and @ikholobayev - having some trouble with the spell check on this document if any help is avail.  I added the failing words to the wordslist.txt file and committed to the Repo.  Next re-ran the spell check.  It failed on the words I had just committed.  Any ideas?  TY, Krisney-MSFT


AWS.SES module is missing

There is a Simple Email Service (SES) that is missing in from the type definitions.
Here is a link to its api
It'd be great if it was added.

this guy?

my bad. I was searching for "SES" instead of "Emails"
Closing this.

See #1 as well please
(btw, update - I just published an updated release with moar changes)

great, I'll get latest and see if anything broke.
Will take a look at #2 in a sec.


Installation problems v0.1.0

When I try to follow installation notes in README I failed.
pip3 install bblfsh leads to the error:
pip3 install bblfsh
Collecting bblfsh
  Downloading bblfsh-0.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    make: *** No rule to make target 'deps'.  Stop.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-m2t1aa3i/bblfsh/setup.py", line 16, in <module>
        subprocess.check_output(['make', 'deps'])
      File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
        **kwargs).stdout
      File "/usr/lib/python3.5/subprocess.py", line 708, in run
        output=stdout, stderr=stderr)
    subprocess.CalledProcessError: Command '['make', 'deps']' returned non-zero exit status 2

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-m2t1aa3i/bblfsh/

and
git clone https://github.com/bblfsh/client-python.git
cd client-python
make install

leads to the next error:
Cloning into 'client-python'...
remote: Counting objects: 280, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 280 (delta 11), reused 21 (delta 8), pack-reused 255
Receiving objects: 100% (280/280), 131.22 KiB | 0 bytes/s, done.
Resolving deltas: 100% (132/132), done.
make: *** No rule to make target `install'.  Stop.

I was able to install it using
git clone https://github.com/bblfsh/client-python.git
cd client-python
pip3 install .

I can reproduce it with the system's pip, but curiously it works with pyenv. I'll take a look.

Looks like the version packaged in pypy removes some files (DCO, LICENSE, MAINTAINERS, requirements.txt and Makefile, the last one is the one that produces the failure). But the release .tar.gz on github is fine.
I'll investigate the cause of this difference.

Fixed by #26.

Yes, It works for Python 3, thank you!
I think you can close it.
But I find another problem for Python 2 https://github.com/bblfsh/client-python/issues/27.

Oh, It works on mac, but still some problems on Ubuntu.
https://gist.github.com/zurk/323f1bb73e4bbf5c981bf17d08e187c9

The header files for libxml2 (libxml2-dev in Ubuntu) need to be installed, I'll update the README.


Need some guidance for connection retry loop after reboot

We currently don't have a blocking reboot command. In order to automate rebooting (e.g. a "reboot" button on a form.) I need to use a connection retry loop. I have a loop that used to work in my code, but now it seems to fail consistently.  I need some guidance on how to do this reliably.
Here's the code with a description of how it fails:
Here’s my connection retry task:
private async Task ExecuteReestablishConnectionAsync()
{
this.OutputDiagnosticString("ExecuteReestablishConnectionAsync\n");
int numTries = 1;
        DeviceConnectionStatusEventHandler handler = (DevicePortal sender, DeviceConnectionStatusEventArgs args) =>
        {
            this.OutputDiagnosticString("Connection status update: Status: {0}, Phase: {1}\n", args.Status, args.Phase);
            if (args.Status == DeviceConnectionStatus.Connected)
            {
                this.OutputDiagnosticString("Connection succeeded after {0} tries.\n", numTries);
            }
            else if (args.Status == DeviceConnectionStatus.Failed)
            {
                this.OutputDiagnosticString("Connection failed after {0} tries.\n", numTries);
            }
        };

        this.Portal.ConnectionStatus += handler;

        this.Ready = false;
        try
        {
            do
            {
                await this.Portal.Connect();
                ++numTries;
            }
            while (this.Portal.ConnectionHttpStatusCode != HttpStatusCode.OK && numTries <= this.ConnectionRetryAttempts);

            if(this.Portal.ConnectionHttpStatusCode !=HttpStatusCode.OK)
            {
                throw new Exception(string.Format("Unable to connect after {0} tries.", numTries - 1));
            }
        }
        catch (Exception exn)
        {
            this.ReportException("ReestablishConnection", exn);
        }

        this.Portal.ConnectionStatus -= handler;
        this.Ready = true;
    }

This thing fails to get me connected after a reboot regardless of how big I set this.ConnectionRetryAttempts. Here’s what happens:

The first connection attempt takes a long time (couple of minutes)
When the first connection attempt fails, you’ll see lots of Exceptions in the Visual Studio output window
Then the remaining retry attempts all fail in rapid succession (accompanied by lots of exceptions in the Visual Studio output window)

After some investigation I found a work-around:

The failure is intermittent and furthermore it is timing related. For example, simply by being stopped in the debugger for a few seconds seems to give the remote host enough time to “settle down”. After a pause of only a few seconds a subsequent connect attempt will succeed.
As noted, after the initial connection attempt fails due to a timeout (this is expected), then subsequent connection attempts fail almost immediately
a.	Status code is “Conflict” == 409
b.	Message is: “Device connection failed: Requesting operating system information, An existing connection was forcibly closed by the remote host”

The solution was to add a pause of 5 seconds after receiving the 409 error code and this enabled the loop to connect on the second or third retry after a reboot.


[e2e]: container workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2801118579
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Fri Aug  5 03:41:31 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2801118579
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Fri Aug  5 03:48:21 UTC 2022
Tests are passing now. Closing this issue.


Add program registration to essential_rest_client::builder_client

RE: pint-deploy using pint-submit internally

One thing that is missing from here is registering programs. For this purpose, I suggest adding pub async fn register_program(builder_address: String, program: &Program) to pint-submit lib.
The reason we want to keep register_contract and register_program separate is because if the underlying programs are already deployed, we can avoid making a call to the builder to register those programs for every contract that is being deployed.
So in this function (fn submit in pint-deploy/src/main.rs), we can check whether programs are already registered by querying the state of the program registry contract, using EssentialNodeClient's query_state function. If they are not registered, then we can call the newly added register_program function. This would require adding a node_address arg to pint-deploy.

This was discussed here: https://github.com/essential-contributions/essential-integration/pull/137#discussion_r1887615307
cc @supiket

Slightly modify essential_rest_client::builder_client::submit_solution_set to:

[ ] Check expected vs actual solution hash (like in pint-submit).
[ ] Print helpful information like "Submitting ...", "Submitted" (like in pint-submit).

Register program:

[ ] Add essential_rest_client::builder_client::register_program.

Calls self.submit_solution_set under the hood.
Prints helpful information like "Registering program ...", "Registered".

Register contract:

[ ] Rename essential_rest_client::builder_client::deploy_contract -> essential_rest_client::builder_client::register_contract. It should:

Call self.submit_solution_set under the hood.
Print helpful information like "Registering contract ...", "Registered".


fix(shared): Parse string value including a leading number as string value

Motivation
defineCustomElement uses toNumber to parse the attribute value and check if the value is number or not.
Currently, toNumber uses parseFloat and returns  number value if parseFloat does not return a NaN.
However, parseFloat does not parse strictly, values including chars other than numbers will also be parsed as Number.
According to MDN, it is better to use Number() for strict parsing, so I created this PR.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat
Changes

parse a value using Number(value)

playground
const toNumber_current = (val: any): any => {
  const n = parseFloat(val)
  return isNaN(n) ? val : n
}

const toNumber_pr = (value: any): any => {
  const parsedValue = Number(value)
  return isNaN(parsedValue) ? value : parsedValue
}

console.log(toNumber_current(100)); // 100
console.log(toNumber_current(100.001)); // 100.001
console.log(toNumber_current("100")); // 100
console.log(toNumber_current("100.001")); // 100.001
console.log(toNumber_current("100-string")); // 100 <= (as-is) input value is string value, but output is number value.

console.log(toNumber_pr(100)); // 100
console.log(toNumber_pr(100.001)); // 100.001
console.log(toNumber_pr("100")); // 100
console.log(toNumber_pr("100.001")); // 100.001
console.log(toNumber_pr("100-string")); // "100-string" <= (to-be) output also is string value.

Related to https://github.com/vuejs/vue-next/issues/2598

@posva Thank you for your comment.
I understood that toNumber() has a migration concern.
What do you think of the idea of defining toNumber() in apiCustomElement.ts to improve the behavior of parsing without worrying about compatibility?


Added license information in the Readme.md file

fixes : #24

Hello @rupeshs I would like to know if there are any suggestions, if not can you please merge this PR.

Please rebase it with main branch

Done

Thanks @adityadeshpande09


Update Get-SupervisoryReviewReport.md

@chrisda

Docs Build status updates of commit ce9b7ad:
:clock10: Full build: the average full build time is 17 min(s) 40 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit ce9b7ad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-SupervisoryReviewReport.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
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.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 556461f:
:clock10: Full build: the average full build time is 17 min(s) 35 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 556461f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-SupervisoryReviewReport.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
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.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Request access

Hi - can you provide me sufficient permissions to "Create new projects."  I am trying to start the Azure Sentinal DevOps environment.
Thank you
Mark

Hi @MGodfrey50,
The permissions to create new products isn't a side-effect of the AzureDevOpsDemoGenerator.  Instead, this problem is usually due to the Azure DevOps organization that you're deploying to (e.g., https://dev.azure.com/myOrg).  Can you check permissions with your Azure DevOps administrator.  Or, if you'd rather, you can create a new org for free in which you're the owner and have full permissions.  Obviously that wouldn't be the same as your production Azure DevOps org but should get around the permissions problem if you just need to use it as a reference.
Let us know if this help.
Thanks,
-Dave

Hope the information is adequate. Hence closing the issue.


@tamagui/popover platform specific files

Should fix #688
It seems to be working, but I can't say I'm happy with the changes.

How about making just the hook to get the context in its own file, keep the wrapper in the same file so it doesn't diverge?

Perfect, will do tbose changes later today

I believe it looks better, hope I didn't miss anything. Cheers 🍻

thanks a bunch for this!

Thank you as well!


fix #2240: wrong time unit in flops_profiler

Fix #2240

@yzs981130, thanks for the PR. Please see below for formatting instructions:
https://github.com/microsoft/DeepSpeed/blob/master/CONTRIBUTING.md#prerequisites

formatting instructions

Thanks for the information! I will update the pr soon.

hi @tjruwase , is there anything wrong with the failed unit-tests? I am not authorized to see the full log. Thanks!

hi @tjruwase , is there anything wrong with the failed unit-tests? I am not authorized to see the full log. Thanks!

This is because our CI system is having problems at the moment. I will restart the unit tests. Sorry for the inconvenience.


Content-Type header in multipart does not contain required parameter boundary

RFC: https://tools.ietf.org/html/rfc7578#appendix-A
Related Comment and issue: https://github.com/django/channels/issues/1386#issuecomment-568215439
https://twistedmatrix.com/trac/ticket/9739
Background:
Consider a multipart request as such:
Body:
--d66f495a-c4d1-487c-9277-9ab1a20001cc
Content-Disposition: form-data; name="content"
Content-Type: multipart/form-data; charset=utf-8

Anything
--d66f495a-c4d1-487c-9277-9ab1a20001cc--

Header:
Content-Type: multipart/form-data; boundary=d66f495a-c4d1-487c-9277-9ab1a20001cc
A new change in Python 3.7 considers this request multipart header as invalid, which according to @twm is not compliant with the latest change in the RFC (2015).
Hence, on new Python versions, when the request is parsed, it tries to get the boundary from the multipart body Content-Type header and it returns empty string since there is none, and throws saying that is is Invalid Boundary

To be clear, this is the problem line:
Content-Type: multipart/form-data; charset=utf-8

multipart/form-data requires a boundary. That is why Python's cgi module is choking. However, the solution isn't to add a boundary — the content of this part isn't nested multipart. Instead, change the Content-Type header to match the actual content. Something like:
Content-Type: text/plain; charset=utf-8

Or, omit the Content-Type header entirely — only the Content-Disposition header is required.

Yes, that would work in this example as this is just a bare minimum example. Whereas in real world, the request contains form fields and a file in the multipart body and because the file is broken into multipart itself, it will fail again

Sorry, I don't follow. Why would a file be split into multipart? Did you mean multiple files (multipart/mixed, section 4.3)? Or chunked transfer encoding, which happens at a different layer?

I'll attach the actual request soon to make it clear. I may be wrong here

I don't see anything in https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/MultipartBody.kt that would generate this header. Nor do I see such sniffing here https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/RequestBody.kt Does your application code set it?

No, this is the API interface
	@Multipart
    @POST("post/submit")
    Call<NewsPost> postStoryWithFiles(
            @Part("post_type") RequestBody postType,
            @Part("category_id") RequestBody categoryId,
            @Part("post_location_id") RequestBody locationId,
            @Part("title") RequestBody title,
            @Part("content") RequestBody content,
            @Part("keywords") RequestBody keywords,
            @Part("by_visitor") RequestBody byVisitor,
            @Part("by_page_admin") RequestBody byPageAdmin,
            @Part("page_id") RequestBody pageID,
            @Part List<MultipartBody.Part> files);

Then each post attachment is converted to parts and sent with the request

@iamareebjamal it looks like each of your RequestBody parameters should be created like so:
RequestBody.create(MediaType.get("text/plain"), "foo")

I think you’re creating them with a media type of multipart/form-data somehow and that’s not right.

Thanks. Will try and revert

Or chunked transfer encoding, which happens at a different layer?

@twm At which layer?


Have confusion about different model arch

If I trained a model by using svc_content_vec.py, can I use the model trained by SVC method for SVS?
If I can't, what's the difference between diffsinger with diffsinger-svc?

Some experiments in the repo are trying to train a model on SVC and then inference on SVS. However, the generated quality is not good.


Refit in vnext (mono)

Hello,
Not sure if it's Retrofit's problem or Microsoft's bug or me. But I can't get it working on vnext mono (os x). I get exception with the following message.
InterfaceName doesn't look like a Refit interface. Make sure it has at least one method with a Refit HTTP method attribute and Refit is installed in the project.
However, I define the class like as this.
public interface InterfaceName {
    [Get("/account")]
    Task<WebResponse<Account>> account(string token);
}

I tried to look at the code of the refit to find the cause of the error. I am coming from java, it seems compile time annotation processing doesn't work. Which step is missing at compile time? i'll open a issue on where it belongs.

Do you have the RefitStubs.cs file in your project? Is that file non-empty? Also, interfaces in C# always start with the letter "I" (i.e. IMyCoolThing)

I can't find the file in the project folder, looked everywhere in the project folder. Perhaps, it's not builded or copied by the dnvm (was kvm before). (I masked the interface name wrongly, and it starts with I)

dnvm is not Mono, Refit most likely doesn't work there yet

Does it work with a Console Application using Mono / .NET 4.5 profile ? Because I'm not getting the stubs file to be generated either.
Thanks

If I manually generate the stubs file using the InterfaceStubGenerator.exe I'll get this:
Symbol file /Users/rtodorov/Projects/MyProject.Cmd/bin/Debug/Refit.dll.mdb doesn't match image (null)

Ok, so, I tested on Visual Studio and it worked, the problem is that it doesn't work on Mono with Xamarin. Apparently Xamarin only works for mobile development. Would be nice to have it working also for web projects, I would open a PR but I don't even know where to begin...

Closing for now


Easy and simple rating system

Add like/dislike or similar rating system for users to rate movies.

We use a simple 1-5 rating system, similar to the database.


Pointing 9000 to php-fpm with xdebug enabled

I can slugging through configuring phpstorm for remote debugging. I have a SSL access to remote workspace. I added to workspace/Dockerfile:
RUN rm -f /etc/service/sshd/down

ADD id_rsa_vm /root/.ssh
ADD id_rsa_vm.pub /root/.ssh
RUN touch /root/.ssh/authorized_keys
RUN cat /root/.ssh/id_rsa_vm.pub >> /root/.ssh/authorized_keys

I added to php-fpm/Dockerfile-70:
RUN echo "xdebug.remote_enable=1\n" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_handler=dbgp\n" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_mode=req\n" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_host=<whatismyip>\n" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN echo "xdebug.remote_port=9000\n" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

# for confirmation
RUN cat /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN php -i | grep xdebug.remote

QUESTION...
I need to point to PHP running in the php-fpm container which now has xdebug enabled and verified and able to connect to by listening phpstorm (telephone debug icon on).
When I point to the IP of the workspace, it sees the PHP in THAT container, not the php-fpm container. Do I have to set up SSH access to that container and point to it rather than workspace container IP?
Another option is to add xdebug to the workspace container?

See docker-compose.yml and php-fpm folder in my_laradock branch of my fork, you have working xdebug there https://github.com/nemanjam/laradock/tree/my_laradock

Thank you! Your example helped me to FINALLY initiate a debug session.
I added:
php-fpm:
        build:
            context: ./php-fpm
            dockerfile: Dockerfile-70
        volumes_from:
            - application
        volumes:
            - ./logs/php-fpm/:/tmp/xdebug_log
        expose:
            - "9000"
        ports:
            - "9001:9001"
        links:
            - workspace
        environment:
            XDEBUG_CONFIG: "remote_host=<my external IP>"
            PHP_IDE_CONFIG: "serverName=docker"

I also found a way to setup remote debug over SSL. Late now. Will share my docker-compose soon.

@LarryEitel I'm also struggling to get phpStorm setup for debugging with LaraDock. Could you please describe what setup you use?

Well, currently it is a moving target. I encountered a problem with editing files on hosts in Sublime/PHPStorm and the edits not persisting in workspace container. I have since upgraded to vanilla Laradock with no resolution thus far. Migrating from Vagrant Homestead to Laradock has not been very smooth for me thus far.
Bottom line at the moment, I have moved from a semi functional stack to vanilla Laradock that I cannot use at the moment. Hopefully, I will find a solution soon that I can share.

I created a repo inspired by this project. It is bare-bones with a focus on configuring PHPStorm for 'remote' debugging. Check it out at: larryeitel/phpdock. Hope it helps. :)

Just a brief update. This project has been very active. NICE! I have been slicing and dicing docker/php/selenium/phpstorm/xdebug/etc in earnest. Important to keep in mind that PHPStorm needs to point to php-fpm, ssh keyed access from host to php-fpm container, xdebug should be able to reach host on port 9000 (if PHPStorm is set to that port). I know this is a quick blast. I have not updated my phpdock project in several days. Should still provide some value. Gotta run.

How do you get around this issue : https://github.com/martomo/SublimeTextXdebug/issues/162
With IDE listen PORT and Docker mapped PORT unable to both be started at the same time?
IDE first results in Docker error port is already allocated
Docker first and I confirm Xdebug Client.xdebug.protocol.ProtocolConnectionException: [Errno 48] Address already in use

This issue has been resolved with recent version.

thanks bros, I have to learn the logic of the xdebug , and know php-fpm is using the 9000 so is using the same container for xdebug we have to use another port for xdebug e.g. 9001
the most import import part is the port which you have to expose to outside to listen
e.g.

then in phpstorm

about the ip , you can use ifconfig(linux) or ipconfig(windows) to get, any ip both you local and php-fpm container can go through each other

test

ok then everything will be done

Ports or expose settings rather did bad to me, what was really needed was that , remote_host setting cannot work when remote_connect_back` is not set to 0 but enabled.


wallet manager better locking strategy

Currently, the locking strategy to get a wallet is very time consuming:
https://github.com/hyperledger-labs/fabric-token-sdk/blob/78e19a355717ccdd1466ff2ea1d76adb9bd20a8f/token/core/zkatdlog/nogh/wallet.go#L97
This issue proposes to use a different strategy that uses read lock and write lock appropriately.

done


How to make slick "scale with its container"?

I have a slider up and running with a mix of portrait and landscape photos, which I have made all the same height so that the slider row size doesn't keep expanding and contracting.
See a simple fork of your basic jsfiddle: http://jsfiddle.net/x66vpu84/1/
The size (height) of the row seems to be solely determined by the size of the source images. In the example, the images are all 300px high. But in the CSS I have tried to set the height of the container to be 150px and tried to set the height of the images in CSS to 150px.
Neither of these has any effect - the slider height is still 300px.
How is it possible to adjust the height of the slider without having to resize all of the images to the required height (which may be different on different pages of the same website)?

your CSS is wrong.
.slider img { ... }

no > :)

That seems to do the trick, thanks for the help.
I'd just say that the documentation might want changing, as "scales with its container" is inaccurate and misleading.


In remote mode, the collector side crashes if it gets anything else than aggregate connections

Solved in commit 2a74540