I've just download the source code, but dicomjson config is not working as previously

I've just dowloaded the source code from master and tried to run as I used to with the version from last year.
On that version I configured dicomJson as below, on default.js:
dataSources: [
{
friendlyName: 'dicom json',
namespace<EMAIL_ADDRESS>sourceName: 'dicomjson',
configuration: {
name: 'json',
},
},
...
]
But now it seems that it changed the to use dicomJson.

Anybody?

Hi
did you find resolution to this? I'm facing the similar issue.
Thanks,

Hi @bluesteel23 the issue is the same for me, did you get anything?

Unfortunately no. I have reached out on the OHIF slack channel as well. no
luck. what error are you getting?
On Tue, Jun 20, 2023 at 3:28 PM Rana Asim Wajid @.***>
wrote:

anyone figure this out?
—
Reply to this email directly, view it on GitHub
https://github.com/OHIF/Viewers/issues/3267#issuecomment-1599384360, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7UJSWR3JWQKSXIKVK7YXNLXMH2WXANCNFSM6AAAAAAWB2HT3U
.
You are receiving this because you were mentioned.Message ID:
@.***>

Unfortunately no. I have reached out on the OHIF slack channel as well. no
luck. what error are you getting?
On Sun, May 21, 2023 at 11:23 PM Renato Santos @.***>
wrote:

Hi @bluesteel23 https://github.com/bluesteel23 the issue is the same
for me, did you get anything?
—
Reply to this email directly, view it on GitHub
https://github.com/OHIF/Viewers/issues/3267#issuecomment-1556465164, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7UJSWTD7YHAECWL6DCPNWDXHLL4FANCNFSM6AAAAAAWB2HT3U
.
You are receiving this because you were mentioned.Message ID:
@.***>

what error are you getting, I'm not able to reproduce your error in our demos
https://viewer.ohif.org/viewer/dicomjson?url=https://ohif-dicom-json-example.s3.amazonaws.com/LIDC-IDRI-0001.json
https://viewer-dev.ohif.org/viewer/dicomjson?url=https://ohif-dicom-json-example.s3.amazonaws.com/LIDC-IDRI-0001.json

I'm on version 3.6.0
When running yarn run build and then hosting the viewer I get a 404 trying to hit /viewer/dicomjson

Getting 404 not found. Here are few screenshots when tested the build output locally . Referred to the following instructions

@bluesteel23 I might have run into a similar situation.
When using http-server, if:

http://localhost:8080 loads correctly
Viewing other routes from the root page (example: from a mouse click) loads correctly
Trying to directly go to other routes (example: typing URL into browser) returns a 404

It is probably a routing configuration issue. React is normally a client-side rendered application. This stackoverflow comment details the underlying system and potential options to move forward: https://stackoverflow.com/questions/27928372/react-router-urls-dont-work-when-refreshing-or-writing-manually/36623117#36623117
Personally I was not able to directly hit a route other than the root page locally unless I used the dev-server (https://github.com/LunaDNA/ohif-viewers/blob/master/package.json#L30).
I was able to get it working when deployed in production by explicitly routing requests back to the root at the server level (one of the options mentioned in the stackoverflow comment above).

@davidlatuno  your response was very helpful and to the point. Got clear understanding of the exact behavior.  Thank you very much for your response!
Also, as @sedghi advised ,
we got the local testing of the build output done using following command(instead of using http-server)
npx serve ./dist -l 8080 -s
"it works the reason is that OHIF is a SPA  and any 404 should be re-directed to index.html that is apparently default behaviour in netlify"
In our case, the viewer will be deployed to azure  blob storage as static website. In that case, we have to set error page as 'index.html' while configuring the website. This takes care of routing in case of 404.

Take a look at the end of https://docs.ohif.org/configuration/dataSources/dicom-json


Fixed the multiple fonts for similar class of links on p5.sound library examples

Fixes #702
Before Changes:

After Changes:

this does solve the issue, thank you. I'd like to take this opportunity to dig into the template to see why these are showing up differently though. do you feel able to do this?

this does solve the issue, thank you. I'd like to take this opportunity to dig into the template to see why these are showing up differently though. it looks like one of the parameter names is inside a <p> block, while the other is outside, causing a difference in size when rendered with css. do you feel able to look into the template for this?

Sure ma'am, I will look into it.

@lmccart It seems that the fields are wrapped around a p tag. Removing it fixes the difference in font-sizes.

thanks for looking into this. I've updated the template to display things more uniformly in https://github.com/processing/p5.js-website/commit/33a081022949af92c45fb4c7842342c4f6288b5d

Always happy to contribute. Hoping to contribute more under GSOC-2020 (if selected) 😊


Create PULL_REQUEST_TEMPLATE.md

Please provide a description before submitting a PR. 🚀
Even if I understand what the PR is about. 😐
It is a good practice to add a description no matter what the PR is about. 😁😁😁

Hey, @Siddhant-K-code why did you delete it?
It was only a matter of a small change in the PR!


[Action Required] Braintree iOS SDK Update for PayPal One Touch Functionality

Hi,
We are having request to update Braintree iOS, Can  you please do as well.
Here is the message
We’re reaching out to let you know that our development team has identified an issue with the PayPal One Touch transaction experience via the Braintree iOS SDK on devices running Apple’s soon-to-be released iOS 11. While your customers will still be able to complete PayPal transactions if their device runs iOS 11, the issue interrupts the PayPal One Touch experience by requiring customers to enter their PayPal credentials for each transaction. As such, we have released an updated version of the Braintree iOS SDK which addresses the issue. The SDK fix is backwards compatible, and PayPal One Touch continues to work for your customers who have not yet upgraded their device to iOS 11.
To help avoid impacting your customer PayPal One Touch payment experience, update your braintree_ios version to 4.9.0 or greater before Apple’s iOS 11 general release date.
Please reach out to our team if you have any questions about the update process, and subscribe to our Google Group to receive notifications we may send for future SDK releases.

Done with https://github.com/Taracque/cordova-plugin-braintree/commit/d47024615e149bb28f2ce0acc9a895d67d8c809e
But not tested yet.


storage API - make public API more consistent

This PR build up on the work that was done in #48 - Change #cleanup to take an experiment, instead of a scope.
This is more consistent with the rest of API (public methods deal with experiments, protected methods deal with scopes and keys).
Also, updated some comments that were probably overlooked when copy-pasted.

@gmcgibbon , before updating the tests, I wanted to get your feedback.
Specifically, what I'm interested in is:

Do you agree with this change?
Who is already using the public cleanup interface?
(since it was very recently added, I feel like it might be safe to introduce this backwards in compatible change in the next minor release)

@pawandubey / @gmcgibbon , I just rebased and squashed the commits, with a changelog note.
Can one of you please give it a quick look (just to confirm that I'm conforming to whatever conventions we have in this repo) before I merge this PR?


wrong image for trident-installer 21.10.1 -> ErrImagePull

Trident-installer tarball from 21.10.1 assets installs deployment/trident-csi and daemonset/trident-csi with image nexus.barnacle.netapp.com:5001/trident:21.10.1 for trident-main container, instead of netapp/trident:21.10.1.
To reproduce :

download and untar the latest trident-installer.tar.gz (21.10.1)
install with tridentctl
no image can be pulled -> kubelet reports ImagePullBackOff then ErrImagePull with error :

Failed to pull image "nexus.barnacle.netapp.com:5001/trident:21.10.1": rpc error: code = Unknown desc = pinging container registry nexus.barnacle.netapp.com:5001: Get "https://nexus.barnacle.netapp.com:5001/v2/": dial tcp: lookup nexus.barnacle.netapp.com : no such host

Workaround :
tridentctl install -n trident
kubectl set image daemonset/trident-csi deployment.apps/trident-csi trident-main=netapp/trident:21.10.1

Also found occurrences of nexus.barnacle.netapp.com:5001/trident-operator:21.10.1 in files deploy/bundle.yaml and deploy/operator.yaml.

Hi @ledroide,
Thanks for bringing this issue to our attention. The team is working on fixing this issue.

Hi @ledroide, this issue has been fixed. Thanks again for bringing this to our attention.

I confirm the image name is now fixed in the the latest trident-installer.tar.gz. Thanks !


manifest: update to remove CONFIG_USB in MCUboot sample

MCUboot version update to remove Kconfig option CONFIG_USB.
After the modules are adapted for the revised
USB device stack configuration, and it seems that
it was only necessary for MCUboot, we can finally
remove Kconfig option CONFIG_USB.

I am trying to test this with nrf52840dk_nrf52840, with dts modified to allow 64k mcuboot.
I can not upload image to the mcuboot, the mcuboot waits for DFU as expected, but upload process gives following result:
root@amdk7:~# dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found Runtime: [2fe3:0100] ver=0206, devnum=26, cfg=1, intf=0, path="2-1", alt=0, name="UNKNOWN", serial="7EDDD20AD8B4AF7A"
root@amdk7:~# dfu-util --serial 7EDDD20AD8B4AF7A --download ~debuser/nordic-src/zephyrproject/hello/zephyr/zephyr.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2fe3:0100
Run-time device DFU version 0110
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
dfu-util: More than one DFU capable USB device found! Try `--list' and specify the serial number or disconnect all but one device
root@amdk7:~# dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [2fe3:ffff] ver=0206, devnum=27, cfg=1, intf=0, path="2-1", alt=1, name="UNKNOWN", serial="UNKNOWN"
Found DFU: [2fe3:ffff] ver=0206, devnum=27, cfg=1, intf=0, path="2-1", alt=0, name="UNKNOWN", serial="UNKNOWN"
root@amdk7:~# dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [2fe3:ffff] ver=0206, devnum=27, cfg=1, intf=0, path="2-1", alt=1, name="UNKNOWN", serial="UNKNOWN"
Found DFU: [2fe3:ffff] ver=0206, devnum=27, cfg=1, intf=0, path="2-1", alt=0, name="UNKNOWN", serial="UNKNOWN"

Config and dts patch attached.
test_config.tar.gz
Tested on Debian win 5.10 AMD64 Kernel.

Please advise.

You have to specify Altsetting (image-slot), e.g. --alt 1
Found DFU: [2fe3:ffff] ver=0206, devnum=27, cfg=1, intf=0, path="2-1", alt=1, name="UNKNOWN", serial="UNKNOWN"
Found DFU: [2fe3:ffff] ver=0206, devnum=27, cfg=1, intf=0, path="2-1", alt=0, name="UNKNOWN", serial="UNKNOWN"

dfu-util --serial 7EDDD20AD8B4AF7A --alt 1 --download ~debuser/nordic-src/zephyrproject/hello/zephyr/zephyr.bin
But event if there is an issue with USB DFU, it is not related to the update as long the device enumerates, what is changed is only how the USB device support is enabled.


IndexError after recurrent network copy

Steps:
>>> from pybrain.tools.shortcuts import buildNetwork
>>> net = buildNetwork(2, 4, 1, recurrent=True)
>>> net.activate((1, 1))
...
array([ 0.02202066])
>>> net.copy()
>>> net.activate((1, 1))
...
IndexError: index out of bounds

This seem to be only when recurrent=True.

Should be fixed now.

Thank you!

It seems like you've broken compatibility with arac by this fix:
https://github.com/pybrain/pybrain/issues/75
Can you please take a look?


Batch Insert improvement

Add a new way to branch insert for matastore.

@duzhen1996 Do not merge from your trunk to upstream trunk.
Github workflow


docs: specify version for attachment functionality

Adds notes to the README to clarify that decryptWithAttachments is only available from v0.9.0 onwards, and also adds a missing await to the example code.

got some final feedback from @karrui and @LoneRifle, thank you for the inputs!


Document that you need to manually register LazyAssemblyLoader in the server project when using lazy loading with prerendering

Document that you need to manually register LazyAssemblyLoader in the server project when using lazy loading with prerendering. If you don't do this, then you'll get an error when your components are prerendered that the LazyAssemblyLoader service could not be resolved.
// Add to ConfigureServices
services.AddScoped<LazyAssemblyLoader>();

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

ID: 690632ad-f357-161f-217b-faba56e90f36
Version Independent ID: 626c5ed9-6424-7940-56e2-a19989b6de38
Content: Lazy load assemblies in ASP.NET Core Blazor WebAssembly
Content Source: aspnetcore/blazor/webassembly-lazy-load-assemblies.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

@captainsafia


macOS 11.1: IPFS Desktop stuck with "IPFS is Starting"

OS: macOS
0.13.2 & go-ipfs 0.7.0
Both DMG install and brew have been tried.

Describe the bug
Desktop shows "IPFS is Starting" indefinitely, though the UI does show a failure after a long wait.
This is my first time ever looking at IPFS, so I haven't changed anything from defaults :)
macOS Firewall is off
❯ sw_vers
ProductName:	macOS
ProductVersion:	11.1
BuildVersion:	20C69

combined.log
error.log is empty
The Desktop UI will eventually show:

Oh, it actually looks like ipfs daemon is stuck...
I never see the
> API server listening on /ip4/<IP_ADDRESS>/tcp/5001
> Gateway server listening on /ip4/<IP_ADDRESS>/tcp/8080

Trying to use the CLI shows it getting stuck at:
❯ ipfs daemon
Initializing daemon...
go-ipfs version: 0.7.0-ea77213
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.12
Swarm listening on /ip4/<IP_ADDRESS>/tcp/4001
Swarm listening on /ip4/<IP_ADDRESS>/udp/4001/quic
Swarm listening on /ip4/<IP_ADDRESS>/tcp/4001
Swarm listening on /ip4/<IP_ADDRESS>/udp/4001/quic
Swarm listening on /ip4/<IP_ADDRESS>/tcp/4001
Swarm listening on /ip4/<IP_ADDRESS>/udp/4001/quic
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /ip6/::1/udp/4001/quic
Swarm listening on /p2p-circuit
Swarm announcing /ip4/<IP_ADDRESS>/tcp/4001
Swarm announcing /ip4/<IP_ADDRESS>/udp/4001/quic
Swarm announcing /ip4/<IP_ADDRESS>/tcp/4001
Swarm announcing /ip4/<IP_ADDRESS>/udp/4001/quic
Swarm announcing /ip4/<IP_ADDRESS>/tcp/4001
Swarm announcing /ip4/<IP_ADDRESS>/udp/4001/quic
Swarm announcing /ip6/::1/tcp/4001
Swarm announcing /ip6/::1/udp/4001/quic

❯ netstat -vanp tcp | grep 5001
tcp6       0      0  ::1.5001               ::1.55935              ESTABLISHED<PHONE_NUMBER>08    730      0 0x0082 0x00000004
tcp6       0      0  ::1.55935              ::1.5001               ESTABLISHED<PHONE_NUMBER>08  41206      0 0x0102 0x00000008
tcp6       0      0  ::1.5001               *.*                    LISTEN<PHONE_NUMBER>72    730      0 0x0080 0x00000006
tcp4       0      0  <IP_ADDRESS>.5001         *.*                    LISTEN<PHONE_NUMBER>72    730      0 0x0080 0x00000006
tcp6       0      0  ::1.55912              ::1.5001               TIME_WAIT<PHONE_NUMBER>08  41206      0 0x2131 0x00000008

❯  lsof -i tcp:5001
COMMAND     PID         USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
Brave\x20 41206 nathanpierce   42u  IPv6 0x9c1258feff4e2257      0t0  TCP localhost:55935->localhost:commplex-link (ESTABLISHED)

To Reproduce
Steps to reproduce the behavior:

Install desktop app

The fact that you're experiencing issues running the daemon from the terminal with or without Desktop suggests an issue outside Desktop itself. Since it sounds like you just started using IPFS and therefore don't have a big files repo to preserve, suggest uninstalling as cleanly as possible - both Desktop and any traces Brew might have left in its installation - and starting again. There may also be folks in the discuss.ipfs.io forums who have experienced similar - but at this point it doesn't seem like the problem you're experiencing is a Desktop-specific one.

The fact that you're experiencing issues running the daemon from the terminal with or without Desktop suggests an issue outside Desktop itself. Since it sounds like you just started using IPFS and therefore don't have a big files repo to preserve, suggest uninstalling as cleanly as possible - both Desktop and any traces Brew might have left in its installation - and starting again. There may also be folks in the discuss.ipfs.io forums who have experienced similar - but at this point it doesn't seem like the problem you're experiencing is a Desktop-specific one.

I rebooted my laptop and it's working now. shrug

I rebooted my laptop and it's working now. shrug

Chalking this one up to gremlins. Hope you have fun with IPFS!

Chalking this one up to gremlins. Hope you have fun with IPFS!


Should not be able to enter end date that is earlier than start date on event instance

I created an event instance with a start date that was after the end date.  It did not give me any warning but when I went to view the instance page, I got a nondescript error.  I'll add print screens.
Should validate that end date/time is greater than or equal to start date/time.

Believe this is what is causing this problem:

Due to the fact that the Date & Time fields are separate, there needs to be 2 validations rules:

End Date must be >= Start date
IF (Start Date = End Date), End Time must be > Start Time, else it doesn't because you can end at a different time on a future date


更新翻译错误，rul->url

校正输入错误

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
yes

Tests pass?
yes

Fixed issues
no

谢谢


x/tools/go/packages: frequent timeouts on slower builders

The test for x/tools/go/packages is timing out very frequently on multiple builders.
We either need to further increase the TEST_TIMEOUT_SCALE on these builders, or add some skips, or otherwise improve the performance of these tests on slow/small machines, or perhaps skip the x/tools repo entirely on these builders.
 (If the builders are so consistently flaky that we don't act on failures, then we shouldn't be wasting builder resources running this repo on them.)

Just out of curiousity, I ran go test -short ./go/packages and go test ./go/packages on my Xeon workstation. The non-short version actually ran one second faster, so I suspect that this package is not currently making use of testing.Short().
These builders do appear to be running go test -short, so adding some short-mode skips for the longer / more esoteric tests should help them avoid timing out.

I agree that builder hygiene is essential, but I am not sure this is a release blocker for Go 1.17 per our Porting Policy.
What do you think?

#11811 is admittedly quite vague on what it means for the builders to be “green”.
My interpretation (in the context of the porting policy) is that for first-class ports we should always fix failing tests prior to release by addressing the root cause (a bug in either the test or the behavior it verifies), but for non-first-class ports we can instead decide to just skip the failing test, stop testing the repo against that builder, or even drop support for the port entirely.
Either way, we should aim to be in a state in which all of the builders that are running are passing reliably. Otherwise we end up with a lot of noise on the dashboards, which leads to failure-blindness and may cause us to miss significant regressions that do affect first-class ports.

I just looked at this briefly. Most of the slow tests are related to overlays or cgo. Skipping 6/74 tests reduced my run time from ~60s down to ~15s on my computer.
@matloob how do you feel about skipping overlay / cgo tests for -short test runs?

The tests for this package have been passing consistenty on illumos-amd64, dragonfly-amd64, and netbsd-arm64-bsiegert since CL 331052.


Evict user from the auth cache once a user reset his password

The problem: when a user logs in to lakeFS we save his credentials in the auth-cache. This way, we avoid authenticating the user on each call he makes. When a user resets his password, his old password is still stored in the auth-cache, so he has to wait till it is evicted to log in using the new password.
The solution: the intuitive solution is just to evict the user from the auth cache when resetting his password, the problem with this solution is that we might not necessarily have a centralized cache so we might need to evict the user for every auth cache he exists in. This is why the simpler solution here might be just to not use auth cache for email-password authentication. This way, we still won't need to authenticate when a user uses API calls that use access-key and secret for authentication and won't need to do the effort of evicting the user auth from all of the auth cache instances.

No cache is a valid solution. I think we will need to remove the option to use the email/password from the main API authentication middleware to reduce the lookup without cache for every call that will not fall into the key/secret happy path.

Let's add this as a design in a PR under design/open.
The obvious issue is performance, which we would need to measure for web-based access.  We are assuming that the auth-server and its database can take the load.
Also,  only the credentials (email+password) can remain uncached.  Everything else about the user should be cached -- otherwise users cannot run data-intensive workloads (which use an access key).  And we will need to enforce (or at least document explicitly) that using email+password may only be used for the GUI.


[VL] scan time metric is 0

Backend
VL (Velox)
Bug description
The total time scan metric seems to be wrong

Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
No response

CC @surnaik

raw input bytes related to https://github.com/facebookincubator/velox/pull/8545 ? cc @JkSelf

Investigating - https://github.com/facebookincubator/velox/blob/9fde0a2c4bc392d71524e43472604a506b02b6b9/velox/dwio/common/InputStream.cpp#L86
stats_ is NULL

Passing the received ioStats to https://github.com/facebookincubator/velox/blob/9fde0a2c4bc392d71524e43472604a506b02b6b9/velox/dwio/common/DirectBufferedInput.h#L115 fixes the issue.

@zhouyuan @surnaik @ulysses-you
The issues with incorrect rawInputBytes and scan time metrics are addressed in the pull request at https://github.com/facebookincubator/velox/pull/9801.


Add "Support Ukraine" badge in README

Summary
This Pull Request is aimed at helping Ukrainian Army get necessary funding in time of open-scale war with Russia by providing link to official international account created by National Bank of Ukraine.
Changelog:
[General] [Added] - Add badge with link to National Bank of Ukraine's website
Test Plan
Badge image:

What kind of change does this PR introduce?

[x] Other, please describe: Add "Support Ukraine" badge in README

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

No politics, please.

No politics, please. 😡😡😡

No one wants war, and no country wants others to have missiles on their doorsteps.
I sympathize with the suffering of ordinary people in Ukraine, But the Ukrainian government has made a choice and must bear the corresponding price.
I don't think the open-source community should get involved in politics.

I sympathize with the suffering of ordinary people in Ukraine, But the Ukrainian government has made a choice and must bear the corresponding price.
I don't think the open-source community should get involved in politics.

hope the world peace

As an individual, I deeply sympathize with what the Ukrainian people are going through and wish nothing but peace and safety for Ukraine. I have personally expressed support on Twitter, and many Vue team / community members have done the same. However, I do not want Vue, an OSS project, to become a vehicle for political messages. We will do what we can as individuals, but not under the name of the project.


Use Kubernetes Networking v1

Please describe the problem you have
Currently, contour operator is using "k8s.io/api/networking/v1beta1".  The v1 package should be used instead.

Note that https://github.com/projectcontour/contour-operator/pull/133 added e2e test support which also uses v1beta1 for creating an ingress for the sample kuard app.

Can I give this a try?
What would be the effect of the change?

@sheetalsingala absolutely. This is a great first issue. You should no longer see the following warning message from the operator's logs when creating an instance of a Contour:
Warning: networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress

You can run the operator locally or in-cluster and tail the logs. See the contrib guide for details on how to contribute. I'll assign you to this issue and let me know if you have  any questions.

@danehans I think that error comes from the watch Contour puts on that API resource. So until Contour deprecates out the v1beta1 api version, that warning will stay.

@sheetalsingala PTAL at https://github.com/projectcontour/contour-operator/issues/139#issuecomment-741832608. @stevesloka does Contour have an issue filed for this that can be xref'd here?


Spec out Helium API expected behavior

Design Review
Introduction

Spec out expected behavior of each Helium API call (including edge/failing cases)
Have meeting to review with team and agree on spec
Create tasks as needed to update the 3 versions.
References #234

System Overview

Design Considerations
The system will need to take into consideration a few assumptions ....
Assumptions and Dependencies

General Constraints
Goals and Guidelines

Development Methods

Architectural Strategies
Developer Friendly

Reusable/Adaptable

Secure

System Architecture

Policies and Tactics
Design Review Checklist

[x] Design Review Meeting Scheduled
[x] Design Review approved by team consensus
[x] Initial tasks created as issues in main project and assigned to the project backlog with proper priority
[ ] Test plan complete (unit, validation, smoke)
[ ] Add "References #" to relevant tasks

Detailed System Design
module-1 name or description
Glossary

Next steps : 5 new tasks created to add the expected behavior to C#, type script APIs, webV tests.
References #
https://github.com/retaildevcrews/webvalidate/issues/24
https://github.com/retaildevcrews/helium-typescript/issues/69
https://github.com/retaildevcrews/helium-typescript/issues/70
https://github.com/retaildevcrews/helium-csharp/issues/55
https://github.com/retaildevcrews/helium-csharp/issues/54


Loading plan fails when workdir is outside the project

Problem
When running dagger do -p /PATH/TO/PLAN:

If the workdir is inside the plan's project, loading succeeds
If the workdir is outside the plan's project, loading fails

This is confusing because Dagger has all the information needed to load the plan without an error, but returns an error instead.
Solution
When workdir is outside the plan's project, configure the cue loader to use the project directory as its "loader working directory", instead of the current workdir.
Example
From the root of the dagger repo:

This works: cd ci && dagger -p . do --help
This fails: dagger -p ./ci do --help

Related to #2454


0 functions applied in IDA from .sig file

Pretty sure it's not me doing something wrong(and creating all those issues I mean). Works on a simple VC++ Hello World project as expected and explained in the articles(One, Two):

On the other hand, in a big UE4 project 0 functions get applied in IDA from .sig file after generating the .sig file with sigmake from idb2pat:

I generate the .sig file using command sigmake -lrsub_ "S05_TestingGrounds-Win64-Shipping - No Xdigit errors(deleted lines with errors).pat" "S05_TestingGrounds-Win64-Shipping - No Xdigit errors(deleted lines with errors).sig". -lrsub_  parameter is to exclude functions that have sub_ in them.
After generating the .sig file and then trying to apply the .sig file, that's what I get: 0 functions applied.
Here's the link with the project, pat and sig file, so you can try to generate and apply this sig file onto executable yourself:
https://www.dropbox.com/h?preview=TestingGrounds_DebugSymbols.zip
This is a Unreal Engine 4.26 C++ project created from FPS template which I packaged in UE4 with debug symbols.
The executable, pat and .sig files are in \WindowsNoEditor\S05_TestingGrounds\Binaries\Win64\ folder. The original pat file with xdigit problem is called S05_TestingGrounds-Win64-Shipping - Original.pat. The pat file with problematic lines deleted which cause xdigit problem is called S05_TestingGrounds-Win64-Shipping - No Xdigit errors(deleted lines with errors).pat.
Problem for 0 functions applied is somewhere between lines 30000 and 35000 in the .pat file because if I delete all lines after line 30000, it generates valid .sig file and then applies this sig file appropriately on the executable:

After I delete lines 30000 - 35000 in the pat file and then delete all the lines after 50000, it generates valid .sig files and applies the sig file appropriately on the executable:

As you can see on the screenshots, no meaningful logs is generated after applying new FLIRT signature in IDA, just Plan  FLIRT signature: Unnamed sample library in the case of success and failure to apply any function signatures.

After digging into this more, I found out that the first line that causes this problem with 0 functions applied is the line #31605(in the  S05_TestingGrounds-Win64-Shipping - No Xdigit errors.pat file), this line:
4053578D42FE8BDA994C8BC92BC2D1F88BF80F88B400000048897424308D3445 FF BB85 01C0 :00000000 ??$HeapSortInternal@T?$TSparseArrayElementOrFreeListLink@U?$TAlignedBytes@$0BI@$07@@@@UFIdentityFunctor@@U?$TDereferenceWrapper@T?$TSparseArrayElementOrFreeListLink@U?$TAlignedBytes@$0BI@$07@@@@V?$FElementCompareClass@V?$FElementCompareClass@V?$FValueComparisonClass@U?$TGreater@H@@@?$TSortableMapBase@_KHVFDefaultSetAllocator@@U?$TDefaultMapHashableKeyFuncs@_KH$0A@@@@@@?$TSet@U?$TTuple@_KH@@U?$TDefaultMapHashableKeyFuncs@_KH$0A@@@VFDefaultSetAllocator@@@@@?$TSparseArray@V?$TSetElement@U?$TTuple@_KH@@@@V?$TSparseArrayAllocator@V?$TSizedDefaultAllocator@$0CA@@@VFDefaultBitArrayAllocator@@@@@@@@@AlgoImpl@@YAXPEAT?$TSparseArrayElementOrFreeListLink@U?$TAlignedBytes@$0BI@$07@@@@HUFIdentityFunctor@@U?$TDereferenceWrapper@T?$TSparseArrayElementOrFreeListLink@U?$TAlignedBytes@$0BI@$07@@@@V?$FElementCompareClass@V?$FElementCompareClass@V?$FValueComparisonClass@U?$TGreater@H@@@?$TSortableMapBase@_KHVFDefaultSetAllocator@@U?$TDefaultMapHashableKeyFuncs@_KH$0A@@@@@@?$TSet@U?$TTuple@_KH@@U?$TDefaultMapHashableKeyFuncs@_KH$0A@@@VFDefaultSetAllocator@@@@@?$TSparseArray@V?$TSetElement@U?$TTuple@_KH@@@@V?$TSparseArrayAllocator@V?$TSizedDefaultAllocator@$0CA@@@VFDefaultBitArrayAllocator@@@@@@@@@Z :00000018 loc_1409F6E08 :00000024 loc_1409F6E14 :00000030 loc_1409F6E20 :0000005F loc_1409F6E4F :000000A8 loc_1409F6E98 :000000BB loc_1409F6EAB :000000CC loc_1409F6EBC :000000E4 loc_1409F6ED4 :0000010D loc_1409F6EFD :00000120 loc_1409F6F10 :0000014C loc_1409F6F3C :0000019A loc_1409F6F8A :000001AD loc_1409F6F9D :000001BD loc_1409F6FAD 00438D1C128D43018D4801413BCB7D1D4863CB4C8D04494863C8488D1449438B4CC13841394CD1080F4CC3FFC04863C8488D14494963CA4D8D04D1488D1449418B4CD1084D8D14D1413948087D404D3BD07428410F1000410F101AF2410F105210410F1102F2410F104810F2410F114A10410F1118F2410F115010448BD08D044501000000413BC30F8C73FFFFFF41FFCB4883EF184585DB0F8F27FFFFFF5F5BC3

If I make a sig with first 31605 lines, it applies 0 functions. If I make a sig with 31604 lines, it applies a few tenths of functions. I disabled word wrap and compared lines 31604 and 31605 visually in Notepad++:
Line 31604:
488974241855574156488D6C24B94881ECB0000000488B4210488BF233FF440F FF 11D2 0257 :00000000 ??$GetVertexPosition@UFNDITransformHandlerNoop@@@UNiagaraDataInterfaceStaticMesh@@QEAAXAEAUFVectorVMContext@@@Z :00000050 loc_1409F6BE0 :00000062 loc_1409F6BF2 :00000100 loc_1409F6C90 :00000148 loc_1409F6CD8 :0000014C loc_1409F6CDC :0000018C loc_1409F6D1C :00000190 loc_1409F6D20 :000001B0 loc_1409F6D40 :0000022A loc_1409F6DBA :00000243 loc_1409F6DD3 8D0C8248894DEFF30F110A488B5507486345FB488D0C8248894D07F30F11023B7E407CBDE9FB000000498D4E0848899C24D0000000E8175D6200418B964C010000488B5870488BCB0FB6435F3BC20F4DD0E85B21DF01488B0B488B9C24D00000004863D0488B0CD14885C97404F0FF4108448B9934010000397E400F8E8A0000004C634D374C8B552F49C1E1020F1F4000418B02FFC74C8B45D79941F7FB488B81280100004D03D10FAF9130010000F20F100C028B4402080F28C189451F486345CB0FC6C055498D1480488955D7F3410F11084C8B45EF486345E3498D1480488955EFF3410F11004C8B4507486345FBF30F10451F498D148048895507F3410F11003B7E407C8A4C89552FB8FFFFFFFFF00FC1410883F801750A488B01BA01000000FF10488BB424E00000004881C4B0000000415E5F5DC3

I noticed that the name of 31604 line ends much sooner than the name on the line 31605:

After I shortened line 31605 to this:
4053578D42FE8BDA994C8BC92BC2D1F88BF80F88B400000048897424308D3445 FF BB85 01C0 :00000000 ??$HeapSortInternal@T?$TSparseArrayElementOrFreeListLink@U?$TAlignedBytes@$0BI@$07@@@@UFIdentityFunctor@@@Z :00000018 loc_1409F6E08 :00000024 loc_1409F6E14 :00000030 loc_1409F6E20 :0000005F loc_1409F6E4F :000000A8 loc_1409F6E98 :000000BB loc_1409F6EAB :000000CC loc_1409F6EBC :000000E4 loc_1409F6ED4 :0000010D loc_1409F6EFD :00000120 loc_1409F6F10 :0000014C loc_1409F6F3C :0000019A loc_1409F6F8A :000001AD loc_1409F6F9D :000001BD loc_1409F6FAD 00438D1C128D43018D4801413BCB7D1D4863CB4C8D04494863C8488D1449438B4CC13841394CD1080F4CC3FFC04863C8488D14494963CA4D8D04D1488D1449418B4CD1084D8D14D1413948087D404D3BD07428410F1000410F101AF2410F105210410F1102F2410F104810F2410F114A10410F1118F2410F115010448BD08D044501000000413BC30F8C73FFFFFF41FFCB4883EF184585DB0F8F27FFFFFF5F5BC3

It applies the signatures as expected! Yay!
Now I guess it's either the name length or some combinations of characters in the name causing sigmake to generate invalid .sig file. Or long/invalid name causing IDA to not to apply this .sig file onto executable for some reason.
For right now I think I'll be able to search for long 6th members in the strings with regular expressions in Notepad++ and shorten their names when they're too long.

I guess I could try to find where idb2pat generates these names and just trim them up to like 125 characters or something and hope it's name length and not combination of characters.
I hope this will help you to fix this bug, wherever it is(in idb2pat, sigmake or IDA itself).

thank you!
yes, in the short term, i'll update idb2pat to ensure the symbol names are not too long. i'll also try to reproduce the sigmake issue and report a bug to hex-rays if appropriate. i'll update here with what i hear.
thanks for taking the time to dig into the bug and suggest a fix, it really helps.

Looks like somewhere there's a cap to 1000 characters for the function name, or close to that. After I do search and replace on the file using this \r\n.{64}\x20.{2}\x20.{4}\x20.{4}\x20:.{8}\x20[^ \r\n]{1010,}.*(?=\r\n) regular expression, like this:

It removes whole lines where 6th member is longer than 1010 characters. It does 41 replaces.
It applies all the signatures that are left. But if I do replace with \r\n.{64}\x20.{2}\x20.{4}\x20.{4}\x20:.{8}\x20[^ \r\n]{1025,}.*(?=\r\n), it does 38 replaces. Means there's 3 functions with names between 1010 and 1025 characters long.
It does look like a name length problem. From 170k lines there would be shorter lines like 800 characters long with problematic character sequences.

i bet there's a hardcoded limitation in sigmake of the symbol being 0x200 (1024) characters long, or less.
i ran into a similar issue that sigmake would not process more than 0x2000 leaves, but this could be bypassed by patching sigmake ;-)

in this case, i think we should restrict the length of symbols generated by idb2pat.

Yea! I'm having the same problem here, it works in home tests (like hello-world), but in large projects the same problem occurs. 0 applied functions.

Hi @williballenthin
I am creating CryptoPP v8.5 signature for IDA.
I have a strange error of sigmake. Sigmake create sig file OK, but dumpsig can not load or dump the result sig file.
Can you give me your sigmake_patched.exe.
Best regards,
HTC (TQN)

Unfortunately, we cannot share the patched sigmake. To make the changes yourself you can patch the cmp just before the branch to the too many leaves (%d) error output. In the version I have that's around VA 0x14000A05C.

in 7.6 the too many leaves cmp is at 0x140009ECC

also one of the things which can cause bad xdigit is lines like
488954241048894C2408B848430000E8BCB3C403482BE0488B051A5554054833 FF E650 1A798 :00000000 ?RunTest@FMetadataTest@@MEAA_NAEBVFString@@@Z :00000075 loc_140C35CF5 8424B821

you can see the issue by comparing it to this line
B80B000000C3.................................................... 00 0000 0006 :00000000 ?GetTestSourceFileLine@FMetadataTest@@UEBAHXZ

basicly 1A798 is 5 digits instead of 4 digits

A way to find such lines is using the regex of
[0-9A-F][0-9A-F] [0-9A-F][0-9A-F][0-9A-F][0-9A-F] [0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F]

it checks for sequences like FF E650 1A798


support "SHOW VERBOSE GLOBAL VARIABLES"

Feature request
Is your feature request related to a problem? Please describe.
VERBOSE cannot be used together with GLOBAL?
both show VERBOSE  variables and show  GLOBAL variables  succeed but
show VERBOSE GLOBAL variables fails

Describe the solution you'd like

Describe alternatives you've considered

Additional context

I'm interested in this, please assign it to me, thanks @murphyatwork


Windows build fails

Hello,
I'm trying to build libphonenumber under win using cmake 3.5.1 and MS VC++ 2015
and seems like readdir_r function in generate_geocoding_data.cc is miisng on windows
plus in your documentation http://www.boostpro.com/download/ link is broken
Cheers

Partially resolved by adding proper boost libs

i don't have enough expierence with C++, can you provide a tutorial or the dll itself to me and everyone else?

I think I can provide static libs (MSVC 2015) since I use them. I'll notify you in this issue.
Maybe updated tutorial of how to build. Maybe later this weekend but I don't promise

Here we go. Debug lib with includes and tests. You might need to install MSVC14 redist (Or you need MSVC 2015 to develop with this pack)
https://github.com/xseven/toy-projects/blob/master/libphonenumber/libphonenumber-redist-debug.7z
Later I can produce guide how to build if somebody will need it. Enjoy
Cheers

@xseven if you write a guide please consider contributing it under https://github.com/googlei18n/libphonenumber/blob/master/cpp/README :)

@keghani sure,  no worries
@xseven https://github.com/xseven if you write a guide please consider
contributing it under
https://github.com/googlei18n/libphonenumber/blob/master/cpp/README :)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1064#issuecomment-209525397

@xseven thank you


Conversion from RocSolver to HipSolver for ROCm4.5+

@deven-amd Here's an updated PR for Hipsolver, which uses rocSolver for <4.5 and hipsolver for > 4.5.
@micmelesse notice I moved the heevd routines to hipSolver since it's 4.5+.
@reza-amd FYI.

@stevenireeves do you know when we integrate hipblas too?

@reza-amd not positive on that front. Thanks for Jax insight on the srcs.

@deven-amd changes you requested were implemented.

jenkins : retest Ubuntu-GPU-multi please

jenkins : retest Ubuntu-GPU-multi please

@stevenireeves I get the following build failure(s), when I include the rocm/rocm_config.h header (which defines the TF_ROCM_VERSION macro)
(found it out when I tried to make an unrelated change - see https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/1607)
think this code may not be using the hipsolver path in the places we expect it to.

we need to explicitly include rocm/rocm_config.h in all the files in which we have added references to TF_ROCM_VERSION (else the check #if (TF_ROCM_VERSION >= ...) will always evaluate to false, and we will take the #else branch
doing to above will likely result in some build failures...please resolve them and submit a PR

thanks
clang-14: warning: argument unused during compilation: '-fcuda-flush-denormals-to-zero' [-Wunused-command-line-argument]
In file included from tensorflow/core/kernels/unique_op_gpu_2.cu.cc:19:
In file included from ./tensorflow/core/kernels/unique_op_gpu.cu.h:32:
./tensorflow/core/util/gpu_solvers.h:138:23: error: unknown type name 'hipsolverOperation_t'
using gpuSolverOp_t = hipsolverOperation_t;
                      ^
./tensorflow/core/util/gpu_solvers.h:139:25: error: unknown type name 'hipsolverFillMode_t'
using gpuSolverFill_t = hipsolverFillMode_t;
                        ^
./tensorflow/core/util/gpu_solvers.h:140:25: error: unknown type name 'hipsolverSideMode_t'
using gpuSolverSide_t = hipsolverSideMode_t;
                        ^
./tensorflow/core/util/gpu_solvers.h:285:22: error: unknown type name 'gpuSolverOp_t'
  Status Getrs(const gpuSolverOp_t trans, int n, int nrhs, Scalar* A, int lda,
                     ^
./tensorflow/core/util/gpu_solvers.h:300:16: error: unknown type name 'gpuSolverFill_t'
  Status Potrf(gpuSolverFill_t uplo, int n, Scalar* dev_A, int lda,
               ^
./tensorflow/core/util/gpu_solvers.h:324:23: error: unknown type name 'gpuSolverFill_t'
  Status PotrfBatched(gpuSolverFill_t uplo, int n,
                      ^
./tensorflow/core/util/gpu_solvers.h:352:16: error: unknown type name 'gpuSolverSide_t'
  Status Unmqr(gpuSolverSide_t side, gpuSolverOp_t trans, int m, int n, int k,
               ^
./tensorflow/core/util/gpu_solvers.h:352:38: error: unknown type name 'gpuSolverOp_t'
  Status Unmqr(gpuSolverSide_t side, gpuSolverOp_t trans, int m, int n, int k,
                                     ^
./tensorflow/core/util/gpu_solvers.h:367:16: error: unknown type name 'gpuSolverOp_t'
  Status Heevd(gpuSolverOp_t jobz, gpuSolverFill_t uplo, int n, Scalar* dev_A,
               ^
./tensorflow/core/util/gpu_solvers.h:367:36: error: unknown type name 'gpuSolverFill_t'
  Status Heevd(gpuSolverOp_t jobz, gpuSolverFill_t uplo, int n, Scalar* dev_A,

@deven-amd I'll check in on this. I thought we caught them all.


fix: inputNumber

Coverage decreased (-0.06%) to 62.481% when pulling 9fde4b3470a6a0fbbe906e85d84b3a0d4412c6ce on edison-hm:dev-ts into 199e3b4a887edaf86608b40b2bdf4d8a153badd7 on ZhonganTechENG:dev-ts.


Clone Droplet

Hi congrats 4 your work, it's awesome bundle. I'm using it on my symfony2 app and i would to know how could i clone a droplet from snapshot???
Thx in advance

https://github.com/toin0u/DigitalOceanV2/blob/master/src/Api/Droplet.php#L118

https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet

i've tried to create a droplet using the droplet id, and name, but not working. i'll read again the documentation. thx

Sorry, i've tried the wrong image id.... soz

You turnoff your droplet then take a snapshot of it and finally use the snapshot  (should be in images ) to create a new droplet.

@yassirh

a droplet from snapshot???

@GrahamCampbell Yes, Actually a snapshot or a backup for that matter are accessible through the API as images and to identify the last snapshot you can use the fields created_at and type.


Fix --as-needed in LDFLAGS

Only append -Wl,--as-needed to LDFLAGS when it is not already there.
This solves the problem when LDFLAGS="-Wl,--as-needed,-O1,--sort-common"
fixes commit a6cc03101e30 (updated for version 7.3.1221)
fixes https://github.com/vim/vim/issues/8181

Only append -Wl,--as-needed to LDFLAGS when it is not already there.
This solves the problem when LDFLAGS="-Wl,--as-needed,-O1,--sort-common"
fixes commit a6cc03101e30 (updated for version 7.3.1221)
fixes https://github.com/vim/vim/issues/8181

Thanks.  The [ and ] need to be doubled though.
--
In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975
of them are to be found in the United States.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I think this has been fixed as of 761ead497feff5fd259c9f6ca76d184bb8755373 right?


[Feature Request] Callbacks for operations

Feature Request
What's the feature you think Backpack should have?
Callbacks for operations.
In one of my recent projects, access is controlled by roles/permissions (spatie package). But these global permissions are not enough as a user can only perform an operation on certain models. So calling hasAccessOrFail() is not enough.
Although it is possible to filter the models beforehand (list view), nothing prevents the user to manually edit the id in the URL to access another model and gain access to confidential data.
For an show/edit operation for instance, I had to override the show() / edit() method to access to $this->data['entry'] to do the check. For the update() method, the check can be done with FormRequest.
Doing this check in the events of the concerned model is not always a good option: for example, it is possible to use the retrieved event to block access to a particular model, but it may be necessary to allow access if the model is a relation of another model.
I have no doubt that there are other situations than mine.
Rather than overwriting everything, it would be better to be able to declare callbacks in a controller. For example: editBefore, editEntryRetrieved, editDataFilled,...
Have you already implemented a prototype solution, for your own project?
Easily by adding this:
if (method_exists($this, ‘editEntryRetrieved’)) {
	$this->editEntryRetrieved();
}

Do you see this as a core feature or an add-on?
Core feature.

Hello @lmout82
I think the problem with editing constrained entries had been fixed, you should add those constraints in the crud panel query.
You can create a model scope let's say for example: scopeForCreator($query) { //add your constraints to the query and in your crud controller add those constraints in the setup or per operation as needed with $this->crud->query->addClause()
It's a work in progress for the show operation, we are working on some improvements in our read operations list/show and using the crud query there too is on the roadmap.
But it should work for list/update operations that already use the query instead of the model.

Hello @pxpm,
Thanks for the answer.
Query scopes are a very interesting approach and I can't wait to use them everywhere.
Regardless of my real example related to permissions, it is rarely a good idea to have to overwrite a method of a package completely, at least as long as the changes are not important/complex. It would be great to have a mechanism that allows you to customerize the behavior of some Library\CrudPanel\Traits methods, to some extend, without having to pull out the bazooka too easily.

Hi @lmout82 ,
Thanks for the suggestion. We've considered adding before and after hooks for Operations - but every time a use case popped up, we found that we had ways around it, that were a bit cleaner. Let's see if that's the case here too.
If what you're concerned with is... single-item operations... then you should be able to create just ONE check, in the setup() method. For example:

    /**
     * Configure the CrudPanel object. Apply settings to all operations.
     *
     * @return void
     */
    public function setup()
    {
        CRUD::setModel(\App\Models\User::class);
        CRUD::setRoute(config('backpack.base.route_prefix') . '/user');
        CRUD::setEntityNameStrings('user', 'users');

        if (request('id')) {
            // TODO: if the logged in user shouldn't be able to do this, quit
        }
    }

That being said, I agree with you, we could split up Operations into more blocks, so that they're more easily edited, overridden or hooked into. Or trigger Backpack events across the operation process. But to do that, or even talk about that, we'd need to work on specific scenarios, eg. "I want to do X for Operation Y in a real project, and I can't do that because all code is in one place" - doing this without actual use cases in mind could lead us to work on fixing a non-issue, in an inefficient-in-real-world manner, so I'm going to close the issue. When you stumble into a use case where the code prevents you from doing something elegantly, please open a different issue, and we'll talk about solutions for that specific use case 🙏
In the meantime, I think my solution above fixes your problem about how to stop all single-item operations, in one place. If it does not, please let us know and we'll reopen.
Thanks, cheers!


Porting scenario_runner to Carla 0.9.5

Description

During the last months, I've been working with my colleague @hlsa on porting the scenario_runner to Carla v0.9.5.
The code is available in my repository's branch to095.
Fixes #

[x] We fixed the function calls to the Carla API v0.9.5 and ported the manual_control_steeringwheel.py to work with the scenario_runner.
[x] Using the py-evdev library, I added support to the Logitech G29 force-feedback
[x] I updated the scenario_runner function calls to the current version of the py-trees library  (v1.2).
[x] I included a <weather/> tag to the test scenarios XML files for weather control.
[x] I created a weather_control.py program for controlling the weather using scroll bars control  (tkinter)

Where has this been tested?

Platform(s): Ubuntu 18.04.2 LTS
Python version(s): 3.6
CARLA version: CARLA 0.9.5 (development)

Possible Drawbacks

I've tested in my environment where I have the CARLA environment variables added to .bashrc.
Thus, issues may happen if these are not set as in my case.

This change is

Hi,
first of all, thank you very much for this good first PR :)
I like many of your proposed changes, in particular the adaptation for 0.9.5 and the weather support. However, we can currently not move to py_trees 1.x due the required Python 2.x support. Also, you changed quite some scenario settings, which we would prefer to keep. I am currently working on an update that allows to load user-defined configurations. I think this is what you are looking for :)
Maybe you want to take a look into my comments and consider some. Thank you.

 Please rebase this commit and consider also the previous comments.

Support for CARLA 0.9.5 and 0.9.6 is now in. PR #332 also adds weather support.

I will close this PR for now, as most of the content is now anyway available. Please reopen, if you plan to update this PR.


Flutter WebView Web - Draggable stack widget that contains a webview cannot be dragged on hover of the webview

Steps to reproduce
I'm using flutter web.
I create a stack widget with 2 draggable widget which contain webview.
Expected results
When I move one of the two draggable widgets to change its position on the page everything goes well until I go over the webview itself. The draggable no longer works and the screen freezes. On the other hand, if I do not activate the webview widget and I place an empty container instead, the draggable above the other widget behaves well. The freeze happens exactly when the mouse hovers over the webview
Actual results
The draggable no longer works and the screen freezes.
Code sample
Code sample
Overlay(initialEntries: [
              OverlayEntry(
                builder: (context) => Stack(
                  children: [
                    child,
                    const WidgetDraggableOne(),
                    const WidgetDraggableTwo(),

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.5, on Microsoft Windows [version 10.0.19045.3803], locale fr-FR)
    • Flutter version 3.16.5 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\_\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.6.33815.320
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[✓] VS Code (version 1.85.1)
    • VS Code at C:\Users\_\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [version 10.0.19045.3803]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 120.0.6099.200
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 120.0.2210.121

[✓] Network resources
    • All expected network resources are available.

Hi @MatthiasMRC
For us to further investigate this issue, can you please provide a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code so that we may verify this? Thanks!


Can you release the latest version to npm?

Any chance you can release the latest version? We need this change to move forward with the SDK: https://github.com/googleapis/nodejs-vertexai/commit/f7718aec22f2806bfda18cc75d2ba2c47c929efe

Hi, we will release before April 9


echo the offered version in IETF Version Negotiation Packets

Fixes #948.

We should probably also check this in the client (or add a TODO), right?

This code path with change completely with my upcoming PR for stateless connection establishment. I’ll add the check there. I believe this check is not really necessary, since echoing the packet number and the connection ID should be sufficient proof to verify that the sender of the VNP is on path.

Codecov Report

Merging #949 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #949      +/-   ##
==========================================
+ Coverage   90.76%   90.76%   +<.01%
==========================================
  Files          98       98
  Lines        6524     6525       +1
==========================================
+ Hits         5921     5922       +1
  Misses        388      388
  Partials      215      215

Impacted Files
Coverage Δ

server.go
93.75% <100%> (ø)
:arrow_up:

internal/wire/version_negotiation.go
76.92% <100%> (+0.92%)
:arrow_up:

Continue to review full report at Codecov.

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


Support Sphinx 1.7+

For #975
Change:

from sphinx.util.compat import Directive to from docutils.parsers.rst import Directive
Add docs requirements into setup.py

This PR does not fix the Python 3 compatibility issue.

@davidism would you review it, again?

Thanks @dsully !


Missing System.Xml.XmlSerializer Dependency

Currently testing out the 4.3.0 Version.. Seems like getting the package from nuget and installing into projects, its missing an explicit dependency on System.Xml.XmlSerializer. It works after I manually add the dependency to may application.

I think this is fixed? No one else has reported it since v3 went out of beta.


Feat: rework ref objects

Signed-off-by: Somefive<EMAIL_ADDRESS>Description of your changes

Referred objects are loaded during the AppFile parsing stage now, instead of during executing workflow step. This change is for future application version to store referred objects. (This PR implements the storing process but not implement the loading process.)
ref-objects spec is refactored, following the advice by @yue9944882 . Now user can use resource to specify the target type of Kubernetes objects. APIVersion/Kind is also supported for backward-compatibility when feature gate LegacyObjectTypeIdentifier=true is set.
The label selector field in ref-objects now renamed from selector to labelSelector for clarity. (This old one is kept for compatibility)
Cross namespace and cross cluster object reference is supported, when --ref-objects-available-scope=global is added to the bootstrap parameter.

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: podinfo
  namespace: example
spec:
  components:
    - name: podinfo
      type: ref-objects
      properties:
        objects:
          - resource: deployment
            name: podinfo
            namespace: debug
  policies:
    - type: topology
      name: topo
      properties:
        clusters: ["local"]
        namespace: "rev"

I have:

[x] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

in general, it's not recommended to the client-side defaulting/validating in the controller, ideally they should be done in an admission webhook. b/c client-side validating doesn't secure/sanitize the persisted data-plane for the cluster --- the invalid objects should be validated/rejected before they're placed into storage. as for cilent-side defaulting, if we're doing it in the controller, we have to keep it in-memory defaulting otherwise writing the defaulted object (which is a non-status update) back to storage will trigger the generation change which makes the generation field on the custom resource meaningless/usable

In ApplicationValidatingWebhook, we will parse the submitted Application before processing it in the application controller. Although this parsing logic is duplicated in both validating webhook and controller, it is necessary to do so since there are times users want to deploy KubeVela without admission webhook.


abci::CheckTx equivalent for IBC module

Closes: #1194
Description
Exposes function to check if a transaction message is a valid IBC datagram.

For contributor use:

[ ] Updated the Unreleased section of CHANGELOG.md with the issue.
[ ] If applicable: Unit tests written, added test to CI.
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments.
[ ] Re-reviewed Files changed in the Github PR explorer.

Could you please also add an entry in the changelog?

Thanks for reviewing @adizere!  I just updated the CHANGELOG. 👍


fix(docs): fix example config for inline symbols

'inline' isn't a mode. 'inline' is a config property for the 'symbol'
mode. Fix the example in the docs to set the intended property.

@strager thank you!


yarn build

yarn build
Oh whoops, keep forgetting to do this when making client changes

yarn build

do we need to do this on every pr?

do we need to do this on every pr?

We need to do it on anything with editor/client changes

We really only need to do it before publishing (and check pros server mode works)


Allow setting custom retries number/timeout/ssl settings for connectors.

There are various reasons when sending requests are gonna fail - the idea of this suggestion is allowing low-level retries/timeouts for HTTP requests if possible on the bundle.
Also, I noticed, that SSL is enabled in boost::beast by default, though disabled in CPR (the CPR allows it) - uniform behavior is expected, in my opinion. Enabling/disabling SSL configurations will be a valuable addition.
When creating the connector, one can specify those connection parameters.
connector::cpr_blocking_monadic connector(token); // for simple usage as it's now
connector::cpr_blocking_monadic connector(config); // here config is CPR-related class, which allows advanced configuring.
Looks like httplib, CPR already supports timeouts -  https://github.com/yhirose/cpp-httplib, https://github.com/whoshuu/cpr; in boost/beast you are setting 30 seconds as constants.
Regarding retries, one might say the programmer should handle it on the upper level. Indeed one can, but won't it create a performance overhead because of the serialization/deserialization taking place?

I'll add setters to all connectors (SSL, timeouts, etc..)

Regarding retries, one might say the programmer should handle it on the upper level. Indeed one can, but won't it create a performance overhead because of the serialization/deserialization taking place?

That's a good point. We need a way to pass pre-serialized arguments.


Lint and Prettier check on PRs

To prevent issues like #15 from happening again

Seems to be implemented so I'm closing


Displaying the ColorPicker blocks the main thread

Bringing up the ColorPicker blocks, is hard to interrupt, and will prevent a program from exiting naturally by "falling off the end".
This is no "bug" - it is intrinsic to a lot of GUIs in Python.
Like so many other C based programs, matplotlib has to run on the main thread, but that means it interacts badly with other Python programs, and control-C.
There is a nice solution.
You start a new multiprocessing.Process which communicate to the original process with a pair of queues.  So the new process has matplotlib on its main thread, and you are free to continue.
Blocking on a multiprocessing.Queue until it becomes non-empty is very cheap.
To shut down, you put a None onto the queues and the receiving process reads those and sends a Quit command to matplotlib.

Or you can try to give False to the second argument (fromshell) when you launch the colorpicker, and it will start matplotlib in interactive mode.

Oh, sorry, I'll try again tomorrow.  I tried it, and no window came up, but
I very likely did something wrong...
On Sun, Oct 10, 2021 at 6:55 PM Anders-Holst @.***>
wrote:

I am not sure I understand what you mean - why would the user need to
bother about matplotlib? The window lives on in the matplotlib thread,
performing callbacks etc, and the user gets back the python prompt and can
continue doing other stuff. When the colorsphere prints out a color it will
interfere with the output in the python shell of course.
Try it and see if it has some unwanted side effects in your view.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/rec/colorsphere/issues/1#issuecomment-939515526, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB53MRRFH4RJYYWV6GWHK3UGHAQLANCNFSM5FWSDHQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
/t
PGP Key: @.***
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com


Unicode Full-Width Characters

Incorrect position of VertLine caused by writing Unicode Full-Width Characters

tb.drawRect(0, 0, 40, 5)
tb.write(2, 1, fgWhite, "您好!")
┌───────────────────────────────────────┐
│ 您好!                                   │
│ Press ESC or Q to quit                │
│ ═════════════════════════════════════ │
│                                       │
└───────────────────────────────────────┘

Duplicate of https://github.com/johnnovak/illwill/issues/32, so closing.
Unfortunately working on illwill and adding such features to it is not one of my priorities right now.


Add tag to declarative example e2e tests

Is this PR still current?

@frankfarzan It's not current as I need to include new examples. We still need this change to ensure we can test the newest tag when running the examples. I will update this PR later this week.

@prachirp Please either complete this or delete the PR.


svg exported from cloudcraft are only one object

I m trying to use a svg export from cloudcraft
Only one item is found when i want to bind with values
draw io is not able to ungroup this svg , but inkscape can afetr edition the svg doesn t look realy good
is there a way on svg load in flowcharting to show the hierarchy tree of svg to select nodes ?

cloudcraft.zip
here is a cloudcraft export

Try to post your question on draw.io support, you need to convert it in xml drawio format.
https://groups.google.com/forum/#!forum/drawio
BR
Arnaud

done
thanks for your help

answer from drawio
drawio is not a svg editor ...
how to solve the problem
I didn t checked the code of the plugin and of draw io to know which one is increminated
build the diagram in draw io work fine , I have different objects in grafana after that,
but I want to use cloudcraft 3d diagram that import only as one object.
is there a svg converter to drawio ?
If the point of view of Drawio is that they don t care the svg import .... I m not sure to succeed

Can you export your cloudcraft in visio format (vsd), not svg.
If you can, import visio into draw.io

Since last time I found a page where it was written that svg was import as only one object.

then I wonder why svg generated from drawio with only 3 shapse is imported as 3 objects
nevertheless I understand the choice to not improve the svg integration

for vsd I will check the conversion but if i follow you others comments, drawio is not a svg editor nether a vsd one I think ?
cloudcraft have only 2d export to drawio, and 3d export to svg, no svg
but i will check vsd

Hi @kyrianae,
The SVG will only be a single (root) one comprising many SVG shapes.
As you can see here there are paths, rectangles, circles, polygons , etc.
Draw.io uses mxGraph syntax so you'd have to manually convert SVG to mxGraph or via a Library that already does it. As of now
I'm also still looking for that library.
Few resources that might help you:

https://github.com/algenty/grafana-flowcharting/issues/144#issuecomment-612511120 Manually converting SVG path to mxGraph
https://github.com/algenty/grafana-flowcharting/issues/87#issuecomment-623847354 Library to convert graphviz to draw.io
https://github.com/algenty/grafana-flowcharting/issues/227 It's also possible to "manually programatically" create your mxGraph xml. This example was fairly easy since I only had to use . In your example is a lot more complicated though.

regards,
C.

Btw how is cloudcraft compared to using Draw.io?
I've never used CloudCraft but I've done some similar experiments on https://github.com/algenty/grafana-flowcharting/issues/148
Another interesting challenge would be to dinamically rearrange the layout like https://github.com/algenty/grafana-flowcharting/issues/145#issuecomment-615887352
2D one https://github.com/algenty/grafana-flowcharting/issues/145#issuecomment-618382536

with cloudcraft you have price and so on of your platform
it s directly used to generate script to deploy the architecture
Use the same graph for deploy architecture and monitor it  in grafana could be a very interesting thing
actually I want to minimize manual action and just want to use cots (We will see if we need to develop)
dirty plan b is to open svg from cloudcraft in drawio and add circle on area I want to change color and bind it with garfana data
maybe a little dev could automaize that.
thanks a lot @CrashLaker for all your informations and work
In parallel I checked if cloudcraft can export 3d graph in drawio

Can you export your cloudcraft in visio format (vsd), not svg.
If you can, import visio into draw.io

using visio, I loose a lot, color .....

export as visio and import into draw.io is olny the solution


Update scala-library to 2.13.10

About this PR
📦 Updates org.scala-lang:scala-library from 2.12.17 to 2.13.10
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

💡 Applied Scalafix Migrations

org.scala-lang:{scala-library,scala-compiler,scala-reflect,scalap}:2.13.0 (created no change)

dependency:Collection213Upgrade@org.scala-lang.modules:scala-collection-migrations:2.8.1
Documentation: https://github.com/scala/scala-collection-compat#collection213upgrade

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala-library" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, scalafix-migrations, commit-count:1

is it possible to fix the failing tests ?

No, we need to target the same scala version as sbt itself


graphene-hardened-malloc: 2 -> 8, overhaul tests

Motivation for this change
Supersedes #115546
Upstream's tests now have a real driver, so overhaul our use of them to cover both build-time-linking and LD_PRELOAD use, and simplifying the hardened nixos test to allow it to reuse this test setup.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

cc @NeQuissimus @zzywysm

Result of nixpkgs-review pr 133556 at 5a9bfc5c run on aarch64-linux 1

1 package built successfully:

graphene-hardened-malloc

3 suggestions:

warning: unused-argument
Unused argument: writeScript.
Near pkgs/development/libraries/graphene-hardened-malloc/default.nix:1:35:
  |
1 | { lib, stdenv, fetchurl, python3, writeScript, runCommand }:
  |                                   ^

warning: missing-phase-hooks
checkPhase should probably contain runHook preCheck and runHook postCheck.
Near pkgs/development/libraries/graphene-hardened-malloc/default.nix:16:3:
   |
16 |   checkPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/libraries/graphene-hardened-malloc/default.nix:20:3:
   |
20 |   installPhase = ''
   |   ^

@ofborg test hardened

These tests cover failure modes pretty well now, but something it doesn't really test much is the correct operation of it as a malloc. I wonder if I should consider adding some sort of malloc torture test. Any suggestions?

Oh I've also noticed that my method of running the tests from nixosTests.hardened slightly defeats the point, because it wraps them in a preload-hardened-malloc call meaning we're not actually testing the environment.memoryAllocator.provider setting's correct operation.

@ofborg test hardened

hardened test runs

I'm just going to give a hardened maintainer a chance to weigh in before I merge...

@ofborg test hardened


Support for OME-NGFF multiscales v4.0

Depends on https://github.com/hms-dbmi/viv/issues/586
Use case

[ ] Relevant to HuBMAP Consortium
[ ] Relevant to Kidney Precision Medicine Project
[ ] Relevant to Human Tumor Atlas Network
[ ] Other

Yes please :)


Can datepicker be opened from clicking dynamic linkbutton?

Hi.
Is it possible to connect react-datepicker to linkbutton (with dynamic text/content) without showing the input?
My linkbutton (rendered as simple <a>) changes it's text based on state of other things.
I tried (according to docs) create this using customInput prop but with no success.
Setup is:
const Component: React.FC = () => {
  const renderLink = () => <LinkA /> // or <LinkB /> or <LinkC />

  return <DatePicker customInput={<ChangeDateButton />} />
}

interface IChangeDateButtonProps {
  onClick: () => void;
  tryAgainChangeReservedDate: () => void;
}

export const ChangeDateButton = forwardRef<IChangeDateButtonProps>(
  ({ onClick, tryAgainChangeReservedDate }: IChangeDateButtonProps, ref): JSX.Element => {

  return condition1 ? (
    <UnderlinedLink href="#" onClick={onClick} ref={ref}>
      <FormattedMessage {...messages.change} />
    </UnderlinedLink>
  ) : (
    //another link with same ref
  )
});

Problem is how to pass the tryAgainChangeReservedDate handler. onClick works correctly
Could you please help a bit (if this scenario is somehow supported)?
Thanks a lot!

Don’t conditionally render the component that receives the ref probably

Can you clarify where the tryAgainChangeReservedDate property is coming from. From my understanding, this is where the custom input is rendered and I can't see that property being fed through to the input.


Encode exception when email contains only attachments and no text or html body

Exception is thrown when the email has not text or html body and only attachments.
Adding this check avoids the exception:
if msg['text'] is None and msg['html'] is None:
        msg['text'] = 'Empty Message Body'

My code using bytes fed from python's email module:
def encode_email(file_bytes, filename):
    msg = EmailDecode.load(file_bytes)
    if msg['text'] is None and msg['html'] is None:
        msg['text'] = 'Empty Message Body'
    with open('new_file.eml', 'wb') as w:
        w.write(bytes(EmailEncode(msg)))

The exception:
Traceback (most recent call last):
  File "/home/cameron/git/Barracuda-Message-Archiver-150-Data-Extractor/decode_barracuda.py", line 45, in <module>
    reencode_email('/home/cameron/Documents/New Folder/extracted/working_folder/34/d/e6/extracting/c5fc6372586c360860e39ba9a5d6f')
  File "/home/cameron/git/Barracuda-Message-Archiver-150-Data-Extractor/decode_barracuda.py", line 42, in reencode_email
    encode_email(new_py_email.as_bytes(), filename)
  File "/home/cameron/git/Barracuda-Message-Archiver-150-Data-Extractor/decode_barracuda.py", line 16, in encode_email
    w.write(bytes(EmailEncode(f)))
                  ^^^^^^^^^^^^^^
  File "/home/cameron/.conda/envs/bextract/lib/python3.12/site-packages/mailparse/encoder.py", line 99, in __init__
    mixed.attach(parent)
                 ^^^^^^
UnboundLocalError: cannot access local variable 'parent' where it is not associated with a value

Thank you for submitting this issue!
I created a fake email with just an attachment and got no issues trying to convert it back to EML.
Could you provide an EML sample that causes this bug ?
Here's my sample:
Content-Type: multipart/mixed; boundary="===============6138355785717050547=="
MIME-Version: 1.0
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Date: Wed, 31 Jan 2024 11:37:24 +0100
Subject: This is a test

--===============6138355785717050547==
Content-Type: application/octet-stream
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=empty.zip

UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA==

--===============6138355785717050547==--

With the following test code:

with open('file.eml', 'rb') as f:
    data = f.read()

eml = EmailDecode.load(data)
print(str(EmailEncode(eml))

# Works with too
print(bytes(EmailEncode(eml)))

There must be some specific structure on your file that causes the bug.
Thank you.


[ios] bugfix iconfont load, support woff

bugfix iconfont load, support woff

Current coverage is 88.44% (diff: 100%)

Merging #1804 into ios-feature-20161208 will not change coverage

@@           ios-feature-20161208      #1804   diff @@
======================================================
  Files                        41         41
  Lines                      2233       2233
  Methods                     354        354
  Messages                      0          0
  Branches                    500        500
======================================================
  Hits                       1975       1975
  Misses                      258        258
  Partials                      0          0

Powered by Codecov. Last update ca3d2f8...f724a78


Add support for VPC mode

Description of changes:
Add VPC support for Snowflake-Autopilot integration. Updated the Readme file with instructions to setup stack with VPC.
Testing
E2E testing done:

Stacks created with and without VPC configurations.
Created models with/without VPC configurations from snowsql console.
Verified the model creation and other sql queries from snowsql console.

PreReqs

Customers are expected to have VPC and private link set up as per their need. Added sample cfn templates for vpc and private link setup with some description in the readme.

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

LGTM


Add section on supported server versions to README

Closes https://github.com/Azure/azure-functions-sql-extension/issues/457
I have to actually go through and test out MI - but according to the docs for supported features it should work so I'm preemptively assuming it will and will merge this in once I've verified that.

@dzsquared @chlafreniere I'm going to merge this in so we have it out there. I'm having issues with getting the MI instance set up but I'll be following up to verify that when I can.
Leave any other comments in this PR and I'll address them later

Looks good to me now. Thanks @Charles-Gagnon.


RNA sequence

First of all thank you for this excellent work! However, I would like to ask whether this model is suitable for RNA sequences?

We think so!

Yes, though the model was trained on an ACGT vocab (so Us would need to be converted to Ts)


Add option to select/manipulate multiple objects

It's really annoying that I can't translate a mesh that has its eyes as separate objects. Please add an option to select multiple objects

There is an option to select multiple objects. You have to press alt+LMB but, to make it work after selecting a few objects you have to merge them ( Scene -> Merge Selection)

Not have Scene -> Merge Selection .. where is this menu ?

Not have Scene -> Merge Selection .. where is this menu ?

Iv made a mistake. To select items to merge you should press  SHIFT+LMB and click on the items to merge. Then you should see in the top toolbar in menu "Scene" an option "Merge Selection"

@oivio when ever I press SHIFT I get this:

For multiple selection, it's best to select the "darken unselected" option in the "Scene" folder to understand what's going on.
Shift is also a shortcut for smooth tool but you can simply ignore that.

@stephomi I see. Well, with the E tool, even if the mesh is not darkened, it does not move, so in this context multiselection appears to be useless

Yes, the transform tool is ignoring the multiple selection.
I'm doing a quick check to see if I can add it (but the multiple mesh thingy is super hacky in sculptgl)

Done in https://github.com/stephomi/sculptgl/commit/089dfe29419198066ed2181f230b2e247d9cbb3c


cetz-venn:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

The cetz-venn package is a small package to draw two or three set venn diagrams using Typst & CeTZ.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks!


Add search/filter functionality for subdatasets, update subdataset display

For all subdatasets of a dataset, functionality should include:

filter (as you type?)by text
filter by tags/other
display: name, relative location, version, extracted datetime, license, doi, tags, authors?, number of files?, dataset size? (see current superdataset page)

Mainly addressed in<PHONE_NUMBER>5bdbb2adb68dbddb7054e7019a97e5


Promote participant Admin Group not working

WAPI.promoteParticipantAdminGroup('972502118555-1579273762@g.us','{SomeNumber}@c.us');
nothing happen, any update?

This solved all my problems https://green-api.com
WhatsApp API 30 days free trial and only $10/month
Support for group functions included

@andrew-shamin Advertising of monetized Frameworks is strictly forbidden and will be reported


Empty line characters move

If you move the cursor up after putting in multiple lines the ~ will move up with the cursor.
Are we somehow basing the ~ off the cursor? That doesn't make sense but possibly?

I cant remake this bug.

This is no longer a bug do to restarting the project.


Safari TP 46: Service Workers enabled by default

https://webkit.org/blog/8042/release-notes-for-safari-technology-preview-46/

Made Service Workers enabled by default

Though

While work continues, we’re excited to enable Service Workers by default in this release.

I was optimistic and chose y, but one could maybe(?) argue for partial, too.

Thanks! I'm okay with going with y until it's obvious where it's partial.


Not able to push the whole model to hugging face after training : help urgent , Hackathon submission EOD

SO after training the model and pushing the adaptors to HF
model.push_to_hub("your_name/lora_model", token = "...") # Online saving
tokenizer.push_to_hub("your_name/lora_model", token = "...") # Online saving

this code flawlessly , but after trying to push the model in shards to HF , there was an error about model card
code -
if False: model.save_pretrained_merged("model", tokenizer, save_method = "merged_16bit",)
if False: model.push_to_hub_merged("hf/model", tokenizer, save_method = "merged_16bit", token = "")

error -
`TypeError                                 Traceback (most recent call last)
<ipython-input-14-848fa230afad> in <cell line: 2>()
      1 if True: model.save_pretrained_merged("model", tokenizer, save_method = "merged_16bit",)
----> 2 if True: model.push_to_hub_merged("rishika0704/javelin", tokenizer, save_method = "merged_16bit", token = os.getenv("hf_token"))

4 frames
/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py in create_and_tag_model_card(repo_id, tags, token, ignore_metadata_errors)
   1181     if tags is not None:
   1182         for model_tag in tags:
-> 1183             if model_tag not in model_card.data.tags:
   1184                 model_card.data.tags.append(model_tag)
   1185

TypeError: argument of type 'NoneType' is not iterable`

Guys if anyone could help , please help me asap , this is regarding a submission in Hackathon

@Data-Scientist-Sahil There is some issue if the repo is not already created. See my comment here - https://discord.com/channels/1179035537009545276/1179035537529643040/1271746355093831793 see if you are on latest transformers.

am unable to access the comment on that discord ...
would you please share again ...

Just join the unsloth discord, you may get better support there.
This was my comment -
The simplest thing may be to just do it in 2 steps. Finish the original fine-tune upload your lora then delete and clear the runtime. Then load the adapter from HF with

    from unsloth import FastLanguageModel
    model, tokenizer = FastLanguageModel.from_pretrained(
        model_name = "your_model", # YOUR MODEL YOU USED FOR TRAINING
        max_seq_length = max_seq_length,
        dtype = dtype,
        load_in_4bit = load_in_4bit,
    )

and then push gguf  with
model.push_to_hub_gguf("your_model", tokenizer, quantization_method = "q4_k_m", token = "")

The thing to be aware is that model.push_to_hub_gguf doesn't seem to create the repo if it doesn't exist. You can just create the model from the web and then push.

how do i upload the Lora adapters after i clear the runtime and disconnected the GPU on google colab , so i tried to download all the files in model folder and then reupload it ... but ig that doesnt seem to work
i will join the discord channel

Start a new session, just load the model from folder and push to hub.

this should fix the issue https://github.com/huggingface/transformers/pull/33315


Clean indicators option fails when performing step - Start clean up of CrowdStrike malware family indicator events from MISP.

I'm running the latest version of misp_import.py (did a git pull this morning), when I'm running misp_import.py --clean-indicators I'm getting the following error messages when the step get to:
Start clean up of CrowdStrike malware family indicator events from MISP.
[2024-01-05 11:06:34,077] INFO     processor/main       Start clean up of CrowdStrike malware family indicator events from MISP.
[2024-01-05 11:06:47,850] ERROR    processor/main       ('Connection broken: IncompleteRead(418397409 bytes read, 772955021 more expected)', IncompleteRead(418397409 bytes read, 772955021 more expected))
Traceback (most recent call last):
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/urllib3/response.py", line 712, in _error_catcher
    yield
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/urllib3/response.py", line 833, in _raw_read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(418397409 bytes read, 772955021 more expected)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/requests/models.py", line 816, in generate
    yield from self.raw.stream(chunk_size, decode_content=True)
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/urllib3/response.py", line 934, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/urllib3/response.py", line 905, in read
    data = self._raw_read(amt)
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/urllib3/response.py", line 833, in _raw_read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
  File "/usr/lib64/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/urllib3/response.py", line 729, in _error_catcher
    raise ProtocolError(f"Connection broken: {e!r}", e) from e
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(418397409 bytes read, 772955021 more expected)', IncompleteRead(418397409 bytes read, 772955021 more expected))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/misp/MISP-tools/misp_import.py", line 183, in perform_local_cleanup
    importer.clean_crowdstrike_events(args.clean_reports, args.clean_indicators, args.clean_actors)
  File "/home/misp/MISP-tools/cs_misp_import/importer.py", line 222, in clean_crowdstrike_events
    perform_threaded_family_delete()
  File "/home/misp/MISP-tools/cs_misp_import/importer.py", line 148, in perform_threaded_family_delete
    executor.map(self.misp_client.delete_event, self.misp_client.search(eventinfo="Malware Family:%"))
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/pymisp/api.py", line 2715, in search
    response = self._prepare_request('POST', url, data=query)
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/pymisp/api.py", line 3761, in _prepare_request
    return self.__session.send(prepped, timeout=self.timeout, **settings)
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/requests/sessions.py", line 747, in send
    r.content
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/requests/models.py", line 899, in content
    self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
  File "/home/misp/MISP-tools/venv/lib64/python3.9/site-packages/requests/models.py", line 818, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(418397409 bytes read, 772955021 more expected)', IncompleteRead(418397409 bytes read, 772955021 more expected))
('Connection broken: IncompleteRead(418397409 bytes read, 772955021 more expected)', IncompleteRead(418397409 bytes read, 772955021 more expected))

I'm running the latest version of MISP  v2.4.183 and all the requirements like falconpy and pymisp are up to date with the latest version.
The misp_import.ini file is all left to the defaults except for changing the relevant values to access the CS and MISP APIs.

Hi @jezkerwin -
I'm unable to recreate this but am still trying a few ideas.
The error above originates from urllib3 and appears to be a communications issue. Is there a proxy or some other network hardware in the environment that could be impacting import?


Maven tests cannot be run

The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?

see https://travis-ci.org/EricssonResearch/scott-eu/builds/460795491#L2561

So, @likelion this not just on Gitlab! I will investigate.

#124 is failing because this issue did not fix the surefire problems for the parent.

re: comment above – false alarm


Facebook Doesn't Recognize Updated SDK

Existing app with Facebook SDKs was updated from 5.12
to 9.0.1 and still shows the old version on the Facebook settings screen.
Been trying to follow Facebook's update docs with no luck.

Figured out the issue.


As a Admin I want to input new match box and match night data

Svlete
Account in MongoDB
Data to MongoDB

Also includes usage of CPS-Solver

using Discord commands now


Suggestion for more compatibility with other mods

I's just suggestion, not a bug report or sth like this.

Add an ability to rebind all keybindings (and set them off)

It adds ability uses TME with LethalEmotesAPI and and mods depend on LEAPI via one wheel and same keybinds (e.g. joining emote keybing)
Also you may add compatibility w/ InputUtils, and gamers gets abbility to change bindings in one menu, see bindings conflicts w/ other mods

Allow override third/first person mode amd move while emoting settings

It also adds more compatibility of TME and LEAPI

Most keybinds should be already editable via LethalEmotesAPI.
Along with this, I believe LethalEmotesAPI has emotes from TME in their emote wheel, as I have given them permission to do so, and it calls my perform animation functions. I have never tested it, but from what I have heard, it works fine.

I'm confused about this one. I already allow override third/first person emotes, and I do allow moving while emoting. The options are in the emote menu, on the right of the emote wheel.

Let me know if I misunderstood anything, thanks!

i want to disable TME keybinds and use LEAPI keybinds only, but "Join emoting" keybing from TME isn't available to disable or rebind
About first/third person emotes i wrote in LEAPI issue ( Wet-Boys/LethalEmotesAPI#179 ). I don't know what mod causes behavior described in issue so i wrote about it you and LEAPI devs

This feels appropriate to put here because I believe I also have some compatibility issue,

when I have both this mod and others (that use LethalEmotesAPI like BadAssCompany), I can't open the customize wheel for LethalEmotesAPI.
If I have things favorited I can use those already created wheels but I can't edit any of them due to the "Customize" button in the top right not working
TooManyEmotes wheel works fine along with all the emotes. Idk if theres some keybinds that conflict that I should change or if the wheel GUI's naturally conflict/overwrite eachother

I am not really sure on this one. I would have no idea why their normal emote wheel won't appear. I thought if anything, it would be the other way around, because I told them it's okay to add some of my emotes to their emote wheel to consolidate them together.
My default emote wheel keybind is ~. I'm not sure what their's is.


Mongodb bootstrap cluster

There is wrong type of interface specified in ansible/roles/mongodb/templates/bootstrap_cluster.js.j2
both in:

https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/mongodb/templates/bootstrap_cluster.js.j2
https://github.com/openstack/kolla/blob/stable/newton/ansible/roles/mongodb/templates/bootstrap_cluster.js.j2

This wasn't picked earlier probably because of allinone deployments without customizing interfaces. Which basically means = api_interface==storage_interface==network_interface. Most docker containers including mongodb bind to api_interface. This template is used during task "Bootstraping the mongodb replication set" whenever api_interface!=storage_interface it fails because mongodb container doesn't listen on this address.
Fixes https://bugs.launchpad.net/kolla/+bug/1663128

Please close this merge request. It's should be applied to stable/newton not mitaka


chore: improve open API and add tests, ref leather-io/issues#5800

Try out Leather build 0fbb526 — Extension build, Test report, Storybook, Chromatic

This PR improves the open API to:

resolve promises on success
add test coverage

I wonder if this flow should ask user permission? https://gamma.io wants to open Leather

I wonder if this flow should ask user permission? https://gamma.io wants to open Leather

Is it OK to add a new task for this and schedule it soon or do it in https://github.com/leather-io/extension/issues/5821?
I can update the logic so it's similar to getAddresses and uses useAppPermissions .
There was pressure to do this to not block .locker so I wanted to get something out but we can refine and improve if / when we hear back from the requesters