Is there a presentationStyle pageSheet avilable or something similar?

I tried adding presentationStyle="pageSheet" to this modal, but I get a warning message:
"Modal with 'pageSheet' presentation style and 'transparent' value is not supported"
Is there something similar to having a pageSheet like modal with this package? When I activate my modal with pageSheet, it kind of has a similar pageSheet like the react-native package but doesn't seem to be functioning correctly.

I found out that I needed to set transparent={false}

Hi do you mind telling where I need to set the transparent value? I'm facing the same issue.
Thank you!

It's probably too late but it's a prop, even though it doesn't show up in the documentation

It's probably too late but it's a prop, even though it doesn't show up in the documentation


Improve error message on non-aligned dt

Replaces #259

Proposition to condense the code.

We should maybe use this guy > https://pytorch.org/docs/stable/generated/torch.remainder.html, but it gave weird results when I tried 🤔

Should we merge @gautierronan?


A few bugs I've come across

I'm posting this here because I don't know where else to post them and I hardly use GitHub XD.
This post will server as basically a list of the bugs I've experienced when testing the latest release/pre-release (v0.2.1 preview-2) of Let There Be Flight.

Stuck holocall ringtone. Whenever I am in Flight mode and receive a holocall, the ringtone gets stuck. The call proceeds as normal (albeit without the sound that plays when you answer a call), but with the ringtone playing throughout. The only way to fix this is to save and reload. Minor issue, but it can get annoying at the beginning of the game when you meet a new fixer every 5 feet.
Jittery flight. Basically, the car will start to spaz out every once in a while. Minor issue until it isn't. Sometimes, it continues to spaz and causes all cars I call to do the same (even on land). Only way to fix it when it gets this bad is to uninstall the mod, load and save the game, then reinstall it.
Draw Weapon on initiating flight mode. Probably the most annoying one as it prevents a lot of actions while driving after flight. Essentially, when initiating flight mode, you draw your weapon. Though, it doesn't become a problem until you exit flight mode. It doesn't happen all the time and it's not noticeable when it does. This prevents a lot of actions until the weapon it holstered (which seems simple, but you don't always realize your weapon is drawn until it's too late XD.
Doors pop off of some vehicles. Every once in a while, my doors will pop off when I disable flight.
Sometimes when tweaking settings (and thus reloading the game), a weird bug occurs where the game is completely silent unless you're moving. Sorta like Super Hot, but it's with sound instead of time XD. Seems to be fixed by reloading the last save and quickly exiting the vehicle.

These are so far the biggest issues I've had with the latest version, I will update if I find any more. Thanks for this great mod, it's easily one of my favorites and I hope the full release comes soon!

I also found a problem where the crossair just disappeared when you draw weapons inside vehicles


Mixpanel expects to be set up as a framework

Integration Method: Manual
Xcode Version: 7.3.1
Library Version: 3.0.0
Platform: iOS
Device: Simulator / iPad / iPhone 6s
Language:  Objective-C
[ N ] A/B Testing Manually Disabled? (DISABLE_MIXPANEL_AB_DESIGNER)
Description:
Mixpanel expects to be set up as a framework. Mixpanel.h has #import <Mixpanel/MixpanelPeople.h>
Expected Behavior:
Mixpanel custom integration should not require being set up as a framework/Cocoapod. There should be an alternative import or file that integrators can create/use.

I'm sorry @welshm, I don't follow the problem that you're having. We offer three methods of integration:

CocoaPods
Carthage
Manual Integration (by adding to your Target Dependencies)

I'm assuming you want option 3. Out of curiosity, and because we're always trying to improve things for our developers, why have you decided to forego using either Carthage or CocoaPods? We'd love to hear your thoughts.

We are using option 3 for legacy reasons. It's a legacy project that isn't set up with CocoaPods or Carthage because when it was created, static libraries from CocoaPods and Carthage were not what we wanted. Given that they now use frameworks (and we dropped iOS 7 support), our project could/should be updated as well.
The problem is that Mixpanel.h has #import <Mixpanel/MixpanelPeople.h> (my original copy paste failed) which can't be resolved (because there's no Mixpanel framework, I believe).

This sounds like an issue with build settings. I just tested locally, and I am able to build and integrate from source to a new project.
What do you have for FRAMEWORK_SEARCH_PATHS in Xcode's build settings?

Swift or Objective-C installation? The Swift one adds a framework, the Objective-C instructions say to add to source directly, so I don't know why FRAMEWORK_SEARCH_PATHS would matter...

Can you share your exact error message with me? I'd love to get this resolved for you.
It would be really helpful for us if you could share the value for FRAMEWORK_SEARCH_PATHS in your project. I'm sure we can get to the bottom of this.

@welshm personal recommendation: save your time and start using a dependency manager today. You don't have to re-integrate all the libs you are using at once. Start with the libs you want to add or to update.

Hey @welshm is the problem fixed for you, or can I help you further with the issue?

We removed Mixpanel from our project for external reasons, so I'm unable to
provide more feedback.
If we re-integrate it in the future, I will be happy to re-open or provide
feedback to the issue.
On Thu, Sep 1, 2016 at 7:18 PM, Yarden Eitan<EMAIL_ADDRESS>wrote:

Hey @welshm https://github.com/welshm is the problem fixed for you, or
can I help you further with the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mixpanel/mixpanel-iphone/issues/550#issuecomment-244241025,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuOMGcN4VOR4pIC_PJePxJOXWB0lc09ks5ql11BgaJpZM4JOuIS
.

--
Mike W.

I understand. Thank you for your quick response!


Revert 620

Fixes #702
@Kreeg as much as I hate adding more deps it seems our implementation was too naive :/
Lodash escape is doing this:
function escape(string) {
  string = toString(string);
  return (string && reHasUnescapedHtml.test(string))
    ? string.replace(reUnescapedHtml, escapeHtmlChar)
    : string;
}

Unsure if we can easily fix the issue but if not, I made this PR so that we can land it.
TODO:

[ ] We should probably have more tests to make sure this doesn't happen again

We can go back to this in near feature


Trying EfficientDet-D3

Hello! I am trying to train EfficientDet-D3. Could you, please, tell me the changes I have to do? I've already change model = EffNet.from_pretrained('efficientnet-b3'), compound_coef=0 to compound_coef=3 and image_size=896, and I've obtained the following error:
RuntimeError: Given groups=1, weight of size 160 40 1 1, expected input[10, 48, 64, 64] to have 40 channels, but got 48 channels instead.
So I have also needed to change the output channels of the convolutions from 40 to 48, from 80 to 96 and from 192 to 232 and it seems to work.
Am I missing something?
Thanks in advance :)

Any solutions to have other than b0 to train?

How to solve it? Any help?

With the changes I mentioned it works and train correctly, but I am not able to achieve the performance mentioned on the paper

Yes, I also had to change the amount of input channels manually, since this part of scaling is apparently not implemented. To automate it, the scaling factor has to be derived, or simply infer the output number of channels of the backbone nodes and put it into the input number of channels.


Remove the Accumulo Pair class

There are multiple separate implementations of Pair-like data structures in the Gaffer project. These should be removed and replaced with a single implementation which is used consistently throughout the project.

Migration steps
In existing schemas (or other JSON files), references to any previously existing Pair class must be migrated to:
uk.gov.gchq.gaffer.commonutil.pair.Pair

Will be merged in as part of gh-826.


Remove /etc/logrotate.d/syslog.bak after conversion or move out of /etc/logrotate.d

Is your feature request related to a problem? Please describe.
After the conversion, a /etc/logrotate.d syslog.bak file remains that has the same content as /etc/logrotate.d/syslog. This leads to an error message upon log rotation:
/etc/cron.daily/logrotate:
error: syslog.bak:1 duplicate log entry for /var/log/cron
error: syslog.bak:1 duplicate log entry for /var/log/messages
error: syslog.bak:1 duplicate log entry for /var/log/secure
error: syslog.bak:1 duplicate log entry for /var/log/spooler
error: found error in file syslog.bak, skipping
Both, the syslog and syslog.bak files have the same entries. Only one must remain in /etc/logrotate.d/ after the conversion.
Describe the solution you'd like
Remove /etc/logrotate.d/syslog.bak or move it to a directory where it is not seen by logrotate.
Describe alternatives you've considered
Remove it manually.

I think we could move the file to a temporary location and make a note about it in the message of the day we provide.

The problem should be fixed by #188


Move Tabs into a component

closes #890

moves tabs into it's own component ( wrapping react tabs )
moves tab styles into separate file
supports rendering with/without click handling suppression
separates layout from tab render ( usage of container )
updates pages which use tabs to handle dispatch within container components
adds top level tabs to styleguide /navigation
adds secondary tabs to styleguide /tabs

Baseline styleguide additions:

Coverage decreased (-0.2%) to 85.957% when pulling 91940b8289cb33fd6c57f3a8d4e7d07d9b8f8bfd on mparke:styleguide-tabs-update into 8791c0be9dcdfd2ce1d5c4778b12a132ee13250c on linode:master.

Coverage decreased (-0.2%) to 85.932% when pulling 2b608ed5b82b3a6e8c565b6e967848f6cc1f70ff on mparke:styleguide-tabs-update into 8791c0be9dcdfd2ce1d5c4778b12a132ee13250c on linode:master.

Coverage decreased (-0.4%) to 85.776% when pulling b8147108af04a864eeb9eda8809e4e72d4fefebc on mparke:styleguide-tabs-update into 8791c0be9dcdfd2ce1d5c4778b12a132ee13250c on linode:master.

Coverage decreased (-0.4%) to 85.776% when pulling aef19ddec293f030f99db4299143e804b3fc9ead on mparke:styleguide-tabs-update into 8791c0be9dcdfd2ce1d5c4778b12a132ee13250c on linode:master.

Other tabs that were not using the same import are continued in two new issues: #1005 and #1006

Coverage decreased (-0.3%) to 85.832% when pulling cd71c755b4b1ca8cbadcbd46d049df734a1549f5 on mparke:styleguide-tabs-update into 8791c0be9dcdfd2ce1d5c4778b12a132ee13250c on linode:master.

Coverage decreased (-0.3%) to 85.832% when pulling cee249d83ada2c615f57dda8290299e81ab3b1b0 on mparke:styleguide-tabs-update into 8791c0be9dcdfd2ce1d5c4778b12a132ee13250c on linode:master.


Refactoring: Adding mixed IP subnets

This refactor aims to introduce the ability of nodes to have multiple addresses
in distinct subnets.
Immediate Goals

Each node should be bound to an unique Ipv4Addr AND an unqiue Ipv6Addr
All bound addresses should be in a predefined subnet (like <IP_ADDRESS>/16)
The available subnets should be configurable in the Builder
Addresses can be either automatically or manually assigned

Challenges
I have tried to implement this, and come to the conlsuion that some major changes
internally AND externally would be nessecary. Notably:

Nodes, and thus Rt/Host can no longer by identified by a single IpAddr.
The best possible solution would be to identify them by something like a MAC addr,
but that would warrent major internal changes
lookup would need to return more than one possible address, thus the public API
of ToIpAddr / lookup / lookup_many would need to change. This could be a good
moment to introduce API compliance with either std::net or tokio::net
using ToIpAddr for module creation creates problems when statically assigning addresses.
Even without this refactoring, nodes with explicitly assigned address cannot have human readable
names, since their place is traded for the address assignment. Mixed IP subnets only enlarge this
problem. The current api of Sim::client / Sim::host provides no way to explicitly assign both
an Ipv4 and an Ipv6 address. In short, the current API cannot support a node with explicitly assigned
addresses, let alone a human-readable name, so changes would be nessecary.

In my opinion, this amount of changes would exceed the scope of one PR, so it might be benifical
to make step by step changes to the public API. However this warrants discussion.
Some related thoughts

While not in the scope of this refactoring, binding sockets to specific addresses may be beneficial
in std/tokio Ipv6 sockets bound to [::] can receive incoming Ipv4 packets (addresses are being mapped to Ipv6),
however the reverse is not possible. This seems like an rare edge case, so i do not know whether we
should ever support this behaviour
I might prove useful in the future, to refrain from hardcoding only two possible addresses in two possible subnets per node.
Supporting a set of bound addresses+subnets might be beneficial to a) remodel localhost, to use top.rslinks or b) add support for multiple interface, thus multiple subnets, should that ever be a goal

As a reference, my current test implementation can be found here.
I have closed the corresponding PR #125, since it is already out of date.
Opinions?

Linking #79 for context, and closing it to track in one place.

Nodes, and thus Rt/Host can no longer by identified by a single IpAddr. The best possible solution would be to identify them by something like a MAC addr, but that would warrant major internal changes.

I think we should use a unique identifier for each host, which could be a uuid. This would be an internal concept and our search capabilities would take string or IpAddr to resolve.
It'd be good to decouple the DNS "lookup" function from the network manipulation ones. So lookup should always return one IpAddr or panic, but the others could resolve ids and and manipulate the network.
And then lastly, we need to change how hosts are added to the simulation to allow for different addressing schemes. Perhaps a builder pattern works best here:
sim.host()
    .with_ipv4(...)
    ...
    .build(<software>)

In terms of iterating on this we could create a new remote so that main is available for bug fixes.

It'd be good to decouple the DNS "lookup" function from the network manipulation ones. So lookup should always return  one IpAddr or panic, but the others could resolve ids and and manipulate the network.

Since each node has two possible addresses, lookup should return a set of addresses.

I think we should use a unique identifier for each host, which could be a uuid. This would be an internal concept and our search capabilities would take string or IpAddr to resolve.

And then lastly, we need to change how hosts are added to the simulation to allow for different addressing schemes. Perhaps a builder pattern works best here:

As an idea, if create a builder pattern like this,
sim.host(<name>)
    ...
    .build(<software>)

we could ensure that each node has a human-readable name. Since these names should always be unique, we could them as a uuid. This would more expressive than a simple numeric uuid.
Additionally, we could change the API of the network manipulation functions like partition to take in a set of nodenames instead of impl ToIpAddrs, removing the need for that trait, and making the API overall simpler. This would also reduce the complexity of ToIpAddr to be only used in simple dns lookups or APIs that internally use dns lookups like TcpStream::connect.
Of course, reverse dns lookups would need to be publicly accessible, to indirectly allow network manipulation with IpAddrs, but that should not be a problem.

Since each node has two possible addresses, lookup should return a set of addresses.

Makes sense.

removing the need for that trait, and making the API overall simpler

We might still need a trait to support the regex use cases.

We might still need a trait to support the regex use cases.

Yeah, but we can completly detach this trait from dns resolutions

Basically using ToIpAddr for dns resultions, and something like ToNodeNames for network manipulation


ZFS as a module

This partially reverts commit 17dd29bfdd5356204afdccec6fdc4be81a447df2.
With this revert we build ZFS again as a module. Why?
The linux kernel is licensed GPL, but OpenZFS is licensed CDDL.
These two are incompatible. So we compile both (kernel and ZFS)
and ship them separately.
This patch breaks collecting of the kernel dumps for the /persist
volume formatted as ZFS. We still jump into the kdump and output
the dmesg to the console, but not dump or logs are stored in the
/persist volume. This will be fixed in future releases of the
EVE-OS
cc: @deitch
cc: @eriknordmark

Looks like the riscv build is failing for some reason.

Can be this line: diff -cw .config .config.new, which silently fails. Will take a look.

Difference to the previous version:

Fixed risv64 build by adding ZLIB_DEFFLATE=m
Rebased on latest master

Difference to the previous version:

Get rid of a custom mechanism of setting parameters for zfs built-in module through the sysfs in a favor of a standard modprobe.d configuration file.

Difference to the previous version:
* Have to revoke the patch which does the modprobe of the zfs instead of the custom script. The problem is that we call modprobe from a container (surprise surprise) which does not see the original rootfs, -C option does not work (modprobe version is not a GNU one). So fixing this requires time and more changes, which is not the intention of this PR (supposed to be a quick revert fix). cc: @rene

Ok, thanks @rouming . Let's discuss about it and create the proper issue to handle modprobe in a better (and unified) way.

Difference to the previous version:

Rebased on latest master

@eriknordmark according to my understanding profile server test cases fail for some reason, for example:
time: 2023-03-24T14:24:55.433386041Z out: 	appName local-manager state changed to RUNNING
time: 2023-03-24T14:24:55.433409642Z out: 	appName app-profile-1 state changed to HALTED
time: 2023-03-24T14:24:55.433413542Z out: 	appName app-profile-2 state changed to HALTED
time: 2023-03-24T14:24:55.433416543Z out: 	appName app-profile-1-2 state changed to HALTED
time: 2023-03-24T14:29:04.224650206Z out: 	appName app-profile-1 state changed to BOOTING
time: 2023-03-24T14:29:09.227216468Z out: 	appName app-profile-1 state changed to RUNNING
time: 2023-03-24T14:29:50.265640796Z out: 	appName app-profile-2 state changed to BOOTING
time: 2023-03-24T14:29:54.269975876Z out: 	appName app-profile-2 state changed to RUNNING

so some of the vms are running, which means that the error not zfs related (I assume if /persist is readonly, could not be mounted, has errors, etc, we could not boot and run vms at all), but maybe memory/time issue?  I will check more precisely.

no errors, all good

Seems like you're correct that this PR doesn't make it any worse. But glancing at eden results for other PRs it seems like 100% of the eden runs for zfs are failing since a week or two (unrelated to this PR). I have no idea whether this is an issue with flaky test(s) which somehow are more brittle when using zfs compared to ext4, or if there is an EVE-OS issue affecting ZFS. It feels scary to continue to accept PR until we know which case it is. So someone needs to root cause this failures before we proceed with any PRs.

@rouming note that this never passes any of the Eden tests with zfs (I think 2x(6+8)=28 tries all failed). So I don't know what the impact will be on neither product quality nor our ability to use the eden tests to test product quaity. Can we please prioritize getting the failing tests fixed? I really hate driving blind.

@eriknordmark I'm running the following locally on the latest master:
./eden config set default --key=eve.disks --value=4
./eden config set default --key=eve.disk --value=4096
./eden config set default --key=eve.ram --value=4096
./eden config set default --key=eve.cpu --value=4
./eden config set default --key eve.tag --value ${EVE_TAG}
./eden config set default --key eve.log-level --value debug

./eden setup -v debug --grub-options='set_global dom0_extra_args "$dom0_extra_args eve_install_zfs_with_raid_level "'
EDEN_TEST_STOP=n ./eden test ./tests/workflow -v debug

(copied from the zfs run from github actions)
All tests successfully pass. From what I see on github, all failures have random nature, like waited for the VM state and timeout expired. My simple assumption is that zfs is greedy to resources and since we don't control the testing environment this is just a matter of unluck to get these failures.
@dautovri Can we have more resources on github actions and somehow guarantee dedicated hardware for our tests?

@rouming I will create a support ticket to increase a size of GH runners, plus we can try to make own self hosted GH runners.


container start and keycloak settings

notes.txt
Tried to follow your guide as best I could. Using RHEL 8 vs 9. Did not install with a DISA security profile, used no profile. Using vmware workstation pro on Windows 11 desktop PC.
I enabled FIPS which I think is all I am missing from a DISA security policy as it relates to this guide. Disabled SELinux and fapolicyd was never installed. Disabled the firewall as well.
Not sure what you named your server but I set mine to rhel8-dev and on most of your openssl commands I get the domain locadomain.
[root@rhel8-dev ~]# hostname rhel8-dev [root@rhel8-dev ~]# hostname -f rhel8-dev.localdomain [root@rhel8-dev ~]# hostname -d localdomain
On my windows box I edited the hosts file to match
<IP_ADDRESS> rhel8-dev <IP_ADDRESS> rhel8-dev.localdomain
I installed the root CA on my windows box too.
There is a typo in the command openssl x509 -req -in /opt/ca/keys/hostname -f.csr -CA /opt/ca/certs/rootCA.crt -CAkey /opt/ca/keys/rootCA.key -CACreateserial -out /opt/ca/certs/hostname -f.crt -days 365 -sha256 -extfile /opt/ca/cert.conf
in -CACreateserial the C in create is lowercase so it should be -CAcreateserial
Next issue I had was at stigman realm setup
The instructions say to "Authentication->Browser->Action->Bind Flow" but I don't know how to do that. In the stigman realm I see the browser flow name but when I click on it my actions drop down only has duplicate in it. So I'm not sure what to do.
Last issue is starting the container.
`[root@rhel8-dev stigman]# podman compose up

Executing external compose provider "/usr/libexec/docker/cli-plugins/docker-compose". Please refer to the documentation for details. <<<<

[+] Running 2/2
✔ Network stigman              Created                                                                                0.0s
✔ Container stigman-stigman-1  Created                                                                                0.6s
Attaching to stigman-1
stigman-1  | {"date":"2024-09-05T09:12:47.178Z","level":3,"component":"index","type":"starting","data":{"version":"1.4.13","env":{"STIGMAN_DB_PASSWORD":"*","NODE_EXTRA_CA_CERTS":"/home/node/rootCA.crt","NODE_VERSION":"20.16.0","STIGMAN_DB_HOST":"rhel8-dev.localdomain","STIGMAN_DB_USER":"stigman","STIGMAN_CLASSIFICATION":"U","STIGMAN_CLIENT_OIDC_PROVIDER":"https://rhel8-dev.localdomain:8443/realms/stigman","STIGMAN_CLIENT_DIRECTORY":"./client","STIGMAN_OIDC_PROVIDER":"https://rhel8-dev.localdomain:8443/realms/stigman","STIGMAN_DOCS_DIRECTORY":"./docs"},"dirname":"/home/node","cwd":"/home/node"}}
stigman-1  | {"date":"2024-09-05T09:12:47.184Z","level":3,"component":"index","type":"configuration","data":{"version":"1.4.13","commit":{"branch":"main","sha":"9a3d020a67","tag":"na","describe":"1.4.13"},"settings":{"setClassification":"U","lastAccessResolution":60,"responseValidation":"none","obfuscateClientsInOptStats":"true"},"client":{"clientId":"stig-manager","authority":"https://rhel8-dev.localdomain:8443/realms/stigman","apiBase":"api","disabled":false,"directory":"./client","refreshToken":{"disabled":false},"welcome":{"image":"","message":"","title":"","link":""}},"docs":{"disabled":false,"docsDirectory":"./docs"},"http":{"address":"<IP_ADDRESS>","port":54000,"maxJsonBody":"31457280","maxUpload":"1073741824"},"database":{"host":"rhel8-dev.localdomain","port":3306,"schema":"stigman","username":"stigman","maxConnections":25,"tls":{},"revert":false,"password":true},"swaggerUi":{"enabled":false,"authority":"https://rhel8-dev.localdomain:8443/realms/stigman","server":"http://localhost:54000/api","oauth2RedirectUrl":"http://localhost:54000/api-docs/oauth2-redirect.html"},"oauth":{"authority":"https://rhel8-dev.localdomain:8443/realms/stigman","claims":{"scope":"scope","name":"name","privileges":"['realm_access']?.['roles']","email":"email"}},"log":{"level":3,"mode":"combined","optStats":"false"}}}
stigman-1  | {"date":"2024-09-05T09:12:48.570Z","level":3,"component":"index","type":"listening","data":{"port":54000,"api":"/api","client":"/","documentation":"/docs"}}
stigman-1  | {"date":"2024-09-05T09:12:48.576Z","level":1,"component":"mysql","type":"preflight","data":{"success":false,"message":"getaddrinfo ENOTFOUND rhel8-dev.localdomain"}}
stigman-1  | {"date":"2024-09-05T09:12:48.577Z","level":1,"component":"oidc","type":"discovery","data":{"success":false,"metadataUri":"https://rhel8-dev.localdomain:8443/realms/stigman/.well-known/openid-configuration","message":"getaddrinfo ENOTFOUND rhel8-dev.localdomain"}}
stigman-1  | {"date":"2024-09-05T09:12:53.578Z","level":1,"component":"mysql","type":"preflight","data":{"success":false,"message":"getaddrinfo ENOTFOUND rhel8-dev.localdomain"}}
stigman-1  | {"date":"2024-09-05T09:12:53.585Z","level":1,"component":"oidc","type":"discovery","data":{"success":false,"metadataUri":"https://rhel8-dev.localdomain:8443/realms/stigman/.well-known/openid-configuration","message":"getaddrinfo ENOTFOUND rhel8-dev.localdomain"}}
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 1/1stigman]#
✔ Container stigman-stigman-1  Stopped`
Seems odd because https://rhel8-dev.localdomain:8443/realms/stigman/.well-known/openid-configuration is a working URL. Looks like JSON data

I added some info to /etc/hosts and the container was able to start
<IP_ADDRESS> rhel8-dev.localdomain <IP_ADDRESS> rhel8-dev
Still stuck on the browser action flow issue. Still working on it

I tried importing the no CAC auth json file from the official repo here but that didn't seem to work.

Not sure what to do from here.

I put a screenshot in the guide of what my Authentication configuration looks like, it seems you already have the Browser bound which is why that option is not there in the action menu, do you have a x509 Browser entry at all?
This is what mine looks like:

I do have a X.509 setting.

Yes I get that error too on x509 and that is what is causing the original issue with authenticating to stigman and why that needs to be set as "Not in use" instead of bound to "Browser flow".
I get a bind flow option doing this, only when that object is not in use, which according to your screenshot "Browser" is not.
Authentication -> Flows Tab -> (Click on) Browser -> Action (Top Right) -> Bind Flow
This should set "Browser" to the green checkmark + Browser flow in the used by column, and x509 should now be set as not in use.
If you do not have a bind flow option maybe try duplicating or manually recreating "browser" and binding the new entry?

you might be right. In the section
Configure Service Account Roles
From the evaluatestig Client details window, select the Service account roles tab.
Click the Assign Role button.
Check the box for the user role.
Click the Assign button.

I don't have any roles so I can't assigned the evaluatestig client the user role. Does the new json have pre-populated service roles?

Need to go to the "Service Account Roles" tab, not "Roles" tab

I'm up and running. Thanks for all the support!


How to specify limits at runtime?

Apologies if this is too obvious, but how does one handle a situation where we do not know the total number of items, so we keep scrolling up (or down) until the remote REST server returns no-more-data?
All the sample code I have seen so far is truly infinite, without any upper or lower limits.
How do we set the limits at the time of fetching new data?
Thanks.

This widget is for infinite lists. So you shouldn't use it for what you just described. Try a regular ListView.

I had my suspicion that might be the case, thanks for confirming!


Use aapt2 build apk failed

Information

Apktool Version (2.3.2)
Operating System (Windows)
APK From? (My Project)

Stacktrace/Logcat
April 23, 2018 3:59:29 下午 brut.androlib.Androlib build
Info: Using Apktool 2.3.2
April 23, 2018 3:59:29 下午 brut.androlib.Androlib buildSourcesRaw
Info: Copying ..\working\channels\vivo classes.dex file...
April 23, 2018 3:59:29 下午 brut.androlib.Androlib buildSourcesRaw
Info: Copying ..\working\channels\vivo classes2.dex file...
April 23, 2018 3:59:29 下午 brut.androlib.Androlib buildSourcesRaw
Info: Copying ..\working\channels\vivo classes3.dex file...
April 23, 2018 3:59:29 下午 brut.androlib.Androlib buildSourcesRaw
Info: Copying ..\working\channels\vivo classes4.dex file...
April 23, 2018 3:59:30 下午 brut.androlib.Androlib buildResourcesFull
Info: Checking whether resources has changed...
April 23, 2018 3:59:30 下午 brut.androlib.Androlib buildResourcesFull
Info: Building resources...
April 23, 2018 4:00:12 下午 java.util.logging.LogManager$RootLogger log
Warn: C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res\values\public.xml:3959: error: resource 'drawable/$avd_hide_password__0' has invalid entry name '$avd_hide_password__0'. Invalid character '$avd_hide_password__0'.
April 23, 2018 4:00:12 下午 java.util.logging.LogManager$RootLogger log
Warn: C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res\values\public.xml:3960: error: resource 'drawable/$avd_hide_password__1' has invalid entry name '$avd_hide_password__1'. Invalid character '$avd_hide_password__1'.
April 23, 2018 4:00:12 下午 java.util.logging.LogManager$RootLogger log
Warn: C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res\values\public.xml:3961: error: resource 'drawable/$avd_hide_password__2' has invalid entry name '$avd_hide_password__2'. Invalid character '$avd_hide_password__2'.
April 23, 2018 4:00:12 下午 java.util.logging.LogManager$RootLogger log
Warn: C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res\values\public.xml:3962: error: resource 'drawable/$avd_show_password__0' has invalid entry name '$avd_show_password__0'. Invalid character '$avd_show_password__0'.
April 23, 2018 4:00:12 下午 java.util.logging.LogManager$RootLogger log
Warn: C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res\values\public.xml:3963: error: resource 'drawable/$avd_show_password__1' has invalid entry name '$avd_show_password__1'. Invalid character '$avd_show_password__1'.
April 23, 2018 4:00:12 下午 java.util.logging.LogManager$RootLogger log
Warn: C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res\values\public.xml:3964: error: resource 'drawable/$avd_show_password__2' has invalid entry name '$avd_show_password__2'. Invalid character '$avd_show_password__2'.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\tools\android-sdk\build-tools\27.0.1\aapt2.exe, compile, --dir, C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res, --legacy, -o, C:\workspace\git\mc\channel-builder\..\working\channels\vivo\build\resources.zip]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:503)
	at brut.androlib.Androlib.buildResources(Androlib.java:426)
	at brut.androlib.Androlib.build(Androlib.java:305)
	at brut.androlib.Androlib.build(Androlib.java:269)
	at cn.mc.tools.channel.Main.build(Main.java:219)
	at cn.mc.tools.channel.Main.buildApkPerChannel(Main.java:189)
	at cn.mc.tools.channel.Main.access$000(Main.java:34)
	at cn.mc.tools.channel.Main$1.run(Main.java:102)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\tools\android-sdk\build-tools\27.0.1\aapt2.exe, compile, --dir, C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res, --legacy, -o, C:\workspace\git\mc\channel-builder\..\working\channels\vivo\build\resources.zip]
	at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:358)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:594)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:481)
	... 10 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\tools\android-sdk\build-tools\27.0.1\aapt2.exe, compile, --dir, C:\workspace\git\mc\channel-builder\..\working\channels\vivo\res, --legacy, -o, C:\workspace\git\mc\channel-builder\..\working\channels\vivo\build\resources.zip]
	at brut.util.OS.exec(OS.java:97)
	at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:354)
	... 12 more

Steps to Reproduce

use ApkDecoder decode MyProject.apk
build unsignedApkFile failed with the following code.

    private void build(File dir, File unsignedApkFile) throws BrutException {
        ApkOptions apkOptions = new ApkOptions();
        apkOptions.aaptPath = aaptPath;
        apkOptions.useAapt2 = true;
        apkOptions.aaptVersion = 2;
        apkOptions.forceDeleteFramework = true;
        new Androlib(apkOptions).build(dir, unsignedApkFile);
    }

@iBotPeaches
I don't know where is the source of the resource like $avd_hide_password__x.
I decode the apk file, and find them in the drawable-v21.

@iBotPeaches

Thanks, seems we have some invalid characters to patch in.
Invalid character '$avd_hide_password__0'.

Same problem

@iamironz I sincerely apologize that my release notes in a blog post were not posted immediately. Unfortunately during my busy life of flying around the country, I forgot my Two Factor Auth device at home. I could not sign into my blog and make the post without it.
However, the release notes on this page: https://ibotpeaches.github.io/Apktool/changes/ have been up to date forever and never missing. So you could have always used that :)
@ibuprophen1 I generally will update bugs when I have fixed them. Sometimes bugs are fixed by me fixing a different one, but thats rare. This bug is still valid and will hopefully be fixed in next release.

Okay, I need to rebuilt the aapt2 binaries for all 3 platforms, but the source fix in aapt2 has been made: https://github.com/iBotPeaches/platform_frameworks_base/commit/ad643be8174e740124b4bc59e4cc1e70541f6a4e

@iBotPeaches how can I start using the commit you did on platform_frameworks_base?
Please ignore my stupidness, I am still newbie at apktool, so don't know all the setup required to use apktool from source.

@iBotPeaches thank you for explanation!

@vkadam Documented here: https://github.com/iBotPeaches/Apktool/blob/master/INTERNAL.md#first-we-need-the-aosp-source

Okay sorry for the delay. Lots of changes have gone "mainline" into "master" in AOSP. I don't see these changes tagged in the latest public release. (Nor any in the past 7 months).
This method of using tags for frameworks/base releases was dumb. We will use master and just tag the commit we used. I will have aapt1/aapt2 new binaries up this week

I still encouter this ploblem with 2.40 on win10 64bit Pro.
java -jar apktool_2.4.0_.jar b "Locus" -use-aapt2 -f -o 1.apk
I: Using Apktool 2.4.0
I: Smaling smali folder into classes.dex...
I: Smaling smali_classes2 folder into classes2.dex...
I: Smaling smali_classes3 folder into classes3.dex...
I: Building resources...
W: E:\test\locus\tmp\Locus\res\values\public.xml:1436: error: resource 'drawable/$ic_locoin__0' has invalid entry name '$ic_locoin__0'. Invalid character '$ic_locoin__0'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:1437: error: resource 'drawable/$ic_locoin__1' has invalid entry name '$ic_locoin__1'. Invalid character '$ic_locoin__1'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:1438: error: resource 'drawable/$ic_social_google__0' has invalid entry name '$ic_social_google__0'. Invalid character '$ic_social_google__0'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2084: error: resource 'drawable/$avd_hide_password__0' has invalid entry name '$avd_hide_password__0'. Invalid character '$avd_hide_password__0'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2085: error: resource 'drawable/$avd_hide_password__1' has invalid entry name '$avd_hide_password__1'. Invalid character '$avd_hide_password__1'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2086: error: resource 'drawable/$avd_hide_password__2' has invalid entry name '$avd_hide_password__2'. Invalid character '$avd_hide_password__2'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2087: error: resource 'drawable/$avd_ic_eye_hide_to_visible__0' has invalid entry name '$avd_ic_eye_hide_to_visible__0'. Invalid character '$avd_ic_eye_hide_to_visible__0'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2088: error: resource 'drawable/$avd_ic_eye_hide_to_visible__1' has invalid entry name '$avd_ic_eye_hide_to_visible__1'. Invalid character '$avd_ic_eye_hide_to_visible__1'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2089: error: resource 'drawable/$avd_ic_eye_hide_to_visible__2' has invalid entry name '$avd_ic_eye_hide_to_visible__2'. Invalid character '$avd_ic_eye_hide_to_visible__2'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2090: error: resource 'drawable/$avd_ic_eye_visible_to_hide__0' has invalid entry name '$avd_ic_eye_visible_to_hide__0'. Invalid character '$avd_ic_eye_visible_to_hide__0'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2091: error: resource 'drawable/$avd_ic_eye_visible_to_hide__1' has invalid entry name '$avd_ic_eye_visible_to_hide__1'. Invalid character '$avd_ic_eye_visible_to_hide__1'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2092: error: resource 'drawable/$avd_ic_eye_visible_to_hide__2' has invalid entry name '$avd_ic_eye_visible_to_hide__2'. Invalid character '$avd_ic_eye_visible_to_hide__2'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2093: error: resource 'drawable/$avd_show_password__0' has invalid entry name '$avd_show_password__0'. Invalid character '$avd_show_password__0'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2094: error: resource 'drawable/$avd_show_password__1' has invalid entry name '$avd_show_password__1'. Invalid character '$avd_show_password__1'.
W: E:\test\locus\tmp\Locus\res\values\public.xml:2095: error: resource 'drawable/$avd_show_password__2' has invalid entry name '$avd_show_password__2'. Invalid character '$avd_show_password__2'.
I: Copying libs... (/lib)
I: Copying libs... (/kotlin)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
at last I get 1.apk, but the 1.apk crashed when launch after installed. and the apk name and icon displayed on the screen are wrong.
but I can build the apk with aapt1.

i have the same problem using 2.4.0

I have the same problem using 2.4.1

Same issue with 2.4.1. Anybody has a fix?

I also need a fix for this. if anyone has one let me know

Have the same problem using 2.4.1
Actually I can build the apk normally but it can not launch normally...
Let me know if anyone can solve it

Hi
I am also having the same issue .
Version used :-- 2.4.1
@iBotPeaches please help
thanks

@iTruth @cents02 @Allevon412
Any workaround found ?
thanks

i have same problem and i tried all versions from v2.2.2. any solution ?

I also have the same problem,My solution is to remove the “ $ ” symbol in the wrong file name/text, The problem is solved

@iBotPeaches I am using apkTool version 2.4.1 and using aapt2 . I am getting following error:
W: res/values/public.xml:1012: error: resource 'drawable/$avd_hide_password__0' has invalid entry name '$avd_hide_password__0'. Invalid character '$avd_hide_password__0'.
W: res/values/public.xml:1013: error: resource 'drawable/$avd_hide_password__1' has invalid entry name '$avd_hide_password__1'. Invalid character '$avd_hide_password__1'.
W: res/values/public.xml:1014: error: resource 'drawable/$avd_hide_password__2' has invalid entry name '$avd_hide_password__2'. Invalid character '$avd_hide_password__2'.
W: res/values/public.xml:1015: error: resource 'drawable/$avd_show_password__0' has invalid entry name '$avd_show_password__0'. Invalid character '$avd_show_password__0'.
W: res/values/public.xml:1016: error: resource 'drawable/$avd_show_password__1' has invalid entry name '$avd_show_password__1'. Invalid character '$avd_show_password__1'.
W: res/values/public.xml:1017: error: resource 'drawable/$avd_show_password__2' has invalid entry name '$avd_show_password__2'. Invalid character '$avd_show_password__2'.
W: res/values/public.xml: error: file failed to compile.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):
Can you please tell when this issue can get fixed?

@vramasam
In my case, aaptPath is assigned with local-environment-aapt. So the-build will be interrupt because of the error above.
Don't assign aaptPath, the-build will use apktool-inner-aapt, it just warning, so the-build will be continue.

Don't assign aaptPath, the-build will use apktool-inner-aapt,

@chris-sharl How do you do that?

Don't assign aaptPath, the-build will use apktool-inner-aapt,

@chris-sharl How do you do that?

ApkOptions apkOptions = new ApkOptions();
// apkOptions.aaptPath = aaptPath; // delete this line
apkOptions.forceDeleteFramework = true;
apkOptions.useAapt2 = useAapt2;

This issue is back again, should we reopen or create a new bug ?

build with aapt2
what should I do?
@iBotPeaches

@allasca @didia - Did you guys figure out how to solve this issue?

I was able to get all of my issues resolved by using the latest linux
release.  There was an issue making the latest macOS release.
On Fri, Oct 30, 2020 at 8:51 AM Aniruddha Kulkarni<EMAIL_ADDRESS>wrote:

@allasca https://github.com/allasca @didia https://github.com/didia -
Did you guys figure out how to solve this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/iBotPeaches/Apktool/issues/1776#issuecomment-719564206,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAIWYOF7BGRPJLXEG334C3SNLAF7ANCNFSM4E35ZZ6Q
.

I was able to get all of my issues resolved by using the latest linux release. There was an issue making the latest macOS release.
…
On Fri, Oct 30, 2020 at 8:51 AM Aniruddha Kulkarni @.***> wrote: @allasca https://github.com/allasca @didia https://github.com/didia - Did you guys figure out how to solve this issue? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1776 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAIWYOF7BGRPJLXEG334C3SNLAF7ANCNFSM4E35ZZ6Q .

We are trying to wrap the apk using the InTunes and facing this issue. Any idea how to fix it?


fixes for windows 10: device name and missing midi open command

Hi, I notice you changed the DEVICE_NAME_RE to no longer check the manufacturer's name. Can you tell me what the full Launchpad name string is on Windows, e.g., with UniMIDI::Output.all.find {|dev| p dev.naw}?

Hi. Yes, I am trying to connect my launchpad with the paint program. It works beautifully on Mac but on windows I keep getting an error that on line 66 there is an undefined method 'reset' for nil:NilClass.
Where do I get the full Launchpad string from? I am currently learning Ruby.
Mimi A. Shimkovska
Stetson University, Class of 2018
Computer Science Major

From: Kimmo Kulovesi<EMAIL_ADDRESS>Sent: Sunday, August 12, 2018 2:25:04 AM
To: arkku/launchpad-ruby
Cc: Maria Shimkovska; Author
Subject: Re: [arkku/launchpad-ruby] fixes for windows 10: device name and missing midi open command (#1)
Hi, I notice you changed the DEVICE_NAME_RE to no longer check the manufacturer's name. Can you tell me what the full Launchpad name string is on Windows, e.g., with UniMIDI::Output.all.find {|dev| p dev.naw}?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arkku/launchpad-ruby/pull/1#issuecomment-412330055, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVWFn0X0XIBwN2Sw-Sm5DI9wwrfyPVjJks5uP_RwgaJpZM4V5SWG.

Hi,
You can print the names of all connected MIDI devices in irb with the following:
require 'rubygems'; require 'unimidi'
UniMIDI::Output.all.find {|dev| p dev.name }

Just look for the Launchpad in the list and copypaste the entire line here, I'm just interested to know why and how it's different on Windows. =)


Add company: Resuelve

Please review our Contribution Guidelines to ensure your changes abides by it.
Review your changes and complete the checklist below.

[x] Company name
[x] Company description
[x] Company location
[x] GitHub link
[x] How Elixir is used
[x] Sorted alphabetically

Thank you for the addition @jordi-adame 👍


[iot] Refactor SAS token module for IoT Hub Client

Includes movind code to proper location under az_iot_hub_client API and adding support to device modules.

Reminder: Please hold off on merging this.


Chart location: sunburst vs treemap

Uses might predominantly prefer one of treemaps or sunburst over the other. So I wonder if it makes sense, just to reduce clutter, to restore the "tabs" from:
"Income | Expenses | Expenses (Sunburst) | Income (Sunburst)"
to just
"Income | Expenses"
and add an extra line above it that shows up only when charts are being displayed that allows switching from sunburst to treemap and back. Whether sunbursts or treemaps are displayed by default can be a configurable option.
This is just a  minor suggestion, so please feel free to ignore/close.

Good suggestion, this is something I also had planned. Low-priority for me though, so if anyone else wants to have go at this, feel free.


WSL2 lost connection to the internet after a VPN MTU change

Hello everyone,
I use VPN to the company I am working during the pandemic time.
My WSL2 was working all the time without a problem, but at the company they had to make a change to the VPN because some guys on Vodafone Network and DS-Light were having problems connecting to our VPN.
They changed the VPN MTU from 1500 (default) to 1300 and since then I cant use my WSL2 anymore, because nothing works.

Strange enough, if I go back to WSL1, everything is working as there was never a problem.
Going back to WSL2 just leads to nothing to work.
I tried all the workarounds found here, like stoping the generation of /etc/resolv.conf in the /etc/wsl.conf, changing the nameserver to nameserver <IP_ADDRESS> and nameserver <IP_ADDRESS>, but nothing really works.
I dont want to go back to WSL1 because of this. I love the speed gains in WSL2 and dont want to go back.
Where is the difference in Networking between WSL1 and WSL2?
Please help me here.
Thank you in advance

See #4150
This has been discussed often, and MS does not seem to care about it. This behaviour is as designed.
My suggestion: go back to WSL or set up a real VM.

But the question is, why would WSL1 work and not WSL2. What changed between the 2 versions?
I really dont want to loose the docker WSL2 implementation, just because there were changes in WSL2.
This is really bothering me, because I used WSL2 for all my developments.

WSL2 is using Hyper-V, and is NOT using bridge mode, so it uses a separate network that you have no control over. That network often changes, I have even seen it jump between 192.168.x.x, 10.x.x.x and 172.x.x.x networks). Normally, NAT is used to allow communication to the host, but it does not play well with routing from the rest of your network, nor does it play well with VPNs. Some VPNs work, some flat out don't because the WSL2 network is either reserved by the VPN or simply seen as external.
In #4150 you will find some ways to bypass all this, but unfortunately they are far from user friendly and we are all waiting for MS to take this serious (for over a year now).

Thank you for your help.
This is the laptop from my work. With other words I wont be able to change anything on this laptop because I dont have the administration rights to do so.
This is just a mess, really. Everything was working fine, till the company decided to change the MTU for the VPN because of the people having DS-light.
I just lost a really nice way to develope.
I think I am going to WSL1 for now.

And still no answer about this?
It is a shame, that I cant use my WSL2 with Docker and I really need it.
I tried almost all workarounds and I cant get it to work again.

Hi,
I had some similar issue with WSL2 and Cisco any connect VPN. The ping worked but I could not make a SSH connection.
It turned out  to be a MTU issue. The VPN connection has a MTU of 1160 while the WSL2 network interface is using 1500. So reducing the MTU on the Linux side fixed the issue
ip link set dev eth0 mtu 1160

But is there a way to fix this into Hyper-v/WSL2 level ?
Also, the network used seems to be randomly choose at each boot, and can overlap the network addressing of the VPN connection. Is it possible the change this behavior ?
Thanks.

Hi,
I had some similar issue with WSL2 and Cisco any connect VPN. The ping worked but I could not make a SSH connection.
It turned out  to be a MTU issue. The VPN connection has a MTU of 1160 while the WSL2 network interface is using 1500. So reducing the MTU on the Linux side fixed the issue
ip link set dev eth0 mtu 1160

But is there a way to fix this into Hyper-v/WSL2 level ?
Also, the network used seems to be randomly choose at each boot, and can overlap the network addressing of the VPN connection. Is it possible the change this behavior ?
Thanks.

Changing the MTU on the WSL2 side doesnt work for me at all.

Changing the MTU on the WSL2 side doesnt work for me at all.

I just discovered the same issue with PulseVPN and WSL2. I checked the MTU configured on my interfaces  and saw that my VPN connection MTU was 1320:
NETSH INTERFACE IPV4 SHOW SUBINTERFACES
I then updated the MTU inside WSL to match:
sudo ip link set dev eth0 mtu 1320
Once that was done inside the WSL instance, I was able to perform network actions that were failing because of the MTU mismatch but my other WSL instances continued to fail, so I decided to update the vNetwork (WSL) interface directly on the host side so all my WSL instances would pick up this change. I did this with the following netsh:
NETSH INTERFACE IP SET SUBINTERFACE "vEthernet (WSL)" MTU=1320 STORE=PERSISTENT
After this was done, I launched one of my other (failing) WSL instances and it picked up the NIC change and worked without issue.
Lowering my MTU will cause a minor performance hit on large frame network transfers when I'm not on VPN but it's a tradeoff I'll gladly take.

I just discovered the same issue with PulseVPN and WSL2. I checked the MTU configured on my interfaces  and saw that my VPN connection MTU was 1320:
NETSH INTERFACE IPV4 SHOW SUBINTERFACES
I then updated the MTU inside WSL to match:
sudo ip link set dev eth0 mtu 1320
Once that was done inside the WSL instance, I was able to perform network actions that were failing because of the MTU mismatch but my other WSL instances continued to fail, so I decided to update the vNetwork (WSL) interface directly on the host side so all my WSL instances would pick up this change. I did this with the following netsh:
NETSH INTERFACE IP SET SUBINTERFACE "vEthernet (WSL)" MTU=1320 STORE=PERSISTENT
After this was done, I launched one of my other (failing) WSL instances and it picked up the NIC change and worked without issue.
Lowering my MTU will cause a minor performance hit on large frame network transfers when I'm not on VPN but it's a tradeoff I'll gladly take.

@K2ouMais Your error message is a name resolution failure. There is a very low chance that a DNS query would hit the MTU threshold to begin with. I would instead try updating your /etc/resolv.conf with a different DNS server. (i.e. <IP_ADDRESS>, <IP_ADDRESS>, etc) to test.

@K2ouMais Your error message is a name resolution failure. There is a very low chance that a DNS query would hit the MTU threshold to begin with. I would instead try updating your /etc/resolv.conf with a different DNS server. (i.e. <IP_ADDRESS>, <IP_ADDRESS>, etc) to test.

I already did that... I disabled the auto generation of the resolv.conf and added a new nameserver.
The problem still persists.
Because I dont have admin rights on my Laptop I cant try further... I am waiting for the Administrators in the company to get a solution for this problem.... I really miss my WSL2 as a developer.

I already did that... I disabled the auto generation of the resolv.conf and added a new nameserver.
The problem still persists.
Because I dont have admin rights on my Laptop I cant try further... I am waiting for the Administrators in the company to get a solution for this problem.... I really miss my WSL2 as a developer.

@K2ouMais Maybe this could help you out, because it solves my problem with VPN.
How to fix WSL2 networking with VPN connection
https://www.youtube.com/watch?v=yR2NsssY7z8

@K2ouMais Maybe this could help you out, because it solves my problem with VPN.
How to fix WSL2 networking with VPN connection
https://www.youtube.com/watch?v=yR2NsssY7z8

@almerleoalmazan
This did not work for me. ;o(

@almerleoalmazan
This did not work for me. ;o(

Almost 3 months passed and I am still having the same issue.
Tried almost alle fixes I found here and still not working. ;o(

The fix is to just lower MTU on startup because Wireguard VPN needs extra packet space (generally 80 bytes).
What would the best way to permanently lower the WSL2 MTU such that:
sudo /sbin/ip link set eth0 mtu 1420 is ran at at startup? Notably this needs the sudo command privileges. But the typical place to do this on Linux /rw/config/rc.local/ does not exist in WSL2.

Ditto to comment by @bplasmeijer   !!!
MICROSOFT !!! Please we need a fix for this #6851
This really should NOT be this hard and is affecting tens of thousands of users with VPN requirements for Professional duties working at home due to #COVID  .

ip link set dev eth0 mtu 1420
This fix works for me for wireguard.
Same question as @mattstam though. how to do that permanently?

What would the best way to permanently lower the WSL2 MTU such that: sudo /sbin/ip link set eth0 mtu 1420 is ran at at startup? Notably this needs the sudo command privileges. But the typical place to do this on Linux /rw/config/rc.local/ does not exist in WSL2.

I tried different ways of setting the MTU on WSL2 startup:

My first attempt was to set it in /etc/dhcp/dhclient.conf (https://linuxhint.com/how-to-change-mtu-size-in-linux/) but that had no effect
Setting it in /etc/wsl.conf looked like a good way but my Windows 10 build appears to be to old to support that (see https://www.bleepingcomputer.com/news/microsoft/windows-10-wsl-now-can-run-linux-commands-on-startup/). But see if this works for you.

Finally, what worked for me was to add the line sudo ip link set dev eth0 mtu 1420 to end of ~/.bashrc. To get rid of the sudo password prompt I then run sudo visudo command and added line
my-wsl2-username  ALL=(ALL) NOPASSWD: /usr/sbin/ip

Be sure to substitute your own username. I'm running Ubuntu 20.04, not sure if other distros have ip in some other path. You can check it with command -v ip.
My original issue was that network access worked per se but docker pull from Docker Hub over VPN caused error pulling image configuration: error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "
408 Request Time-out
\nYour browser didn't send a complete request in time.\n\n\n". In my case MTU 1420 didn't help, so I checked the lowest value that netsh interface ipv4 show subinterface command showed (on the Windows side / cmd) and used that.

I have the same problem for a long time, but now it is gone, although are various things in the problem.

My vpn only resolves things with company domain, so in the beggining i was without any internet access from wsl, even for external url's, for this two things could help:
1.1  Only start wsl after connecting vpn, it may avoid network overlap
1.2 Disable generation of resolv.conf and add in the file your company dns and your router just in case you use wsl too without vpn
Change mtu size inside wsl to be compatible with your vpn, in my case the simptom was not to stablish secure connections, i cant curl for https but a was able to do curl for http, in the first case the connection hangs indefinetly

In order to change mtu automatically at distro start i did:

In /etc/sudoers i added the following line at end user    ALL=NOPASSWD: /home/user/start-scripts/change-mtu-for-wsl-in-vpn.sh
Inside change-mtu-for-wsl-in-vpn.sh i put ip link set dev eth0 mtu 1350 (in my case vpn uses mtu of 1350)
In ~/.bashrc i put source ~/start-scripts/change-mtu-for-wsl-in-vpn.sh

My solution was to change permanently the MTU outside the WSL directly on Windows.
On Powershell first I determined the MTU right size with ping
ping <IP_ADDRESS> -f -l 1392

Incrementing or decrementing by 10, when  I arrived at the right number, just add 28 (header size) so 1392 + 28 =  1420
Then list the interfaces
netsh interface ipv4 show subinterface

In my case the WSL interface is vEthernet (WSL) so I ran:
 netsh int ipv4 set subinterface "vEthernet (WSL)" mtu=1420 store=persistent

No need to thinkering scripts or sudoers.
Hope it helps!

Just to make it clear, the solution @hojendiz mentioned above needs elevated access to powershell.

@K2ouMais This issue is still relevant. Why did you close it?

@K2ouMais This issue is still relevant. Why did you close it?

You are right... Sorry

On the upside it appears to be working for me at the moment.
However I'm not sure that's WSL fix or did I implement some local workaround for it.
Can anyone else confirm?

My solution was to ask the Netops team in the company to set the VPN device with MTU = 1300.
I used @jokimaki approach but I had to do it every time I restart.


Caption Preprocessing with regular expressions

Dear author,

I would like to know in detail about the BLIP2 caption preprocessing method used in the paper.

Which BLIP2 checkpoint was used? Was there no difference in performance between the checkpoints?
What regular expressions were used?
Whether the captions were processed by BLIP-2 itself or Python source code?

Your paper inspires me. Thank you, in advance.

Hi,

We use blip2-opt-6.7b-coco to generate captions. We haven't performed any ablations among different BLIP2 checkpoints. Personally I think there might be a minor difference but won't be significant.
The code of regular expressions is partly listed as follows:

import re

patterns = [
    r'^((a )?(\w+\s+)*(?:painting|drawing|mural|artwork|view|portrait|photo|photograph|watercolor|illustration|picture|digital art) of )+',
    r'in (a )?(\w+\s+)*(?:painting|drawing|mural|artwork|view|portrait|photo|photograph|watercolor|illustration|picture|digital art)\s?',
    r'^(?:painting|photograph|digital art|black and white photograph) - ',
]

for pattern in patterns:
    caption = re.sub(pattern, "", caption)

I'm not quite figure out your question. We first use BLIP-2 to regererate captions for our image datasets(offline mode). Then we conduct regular expressions in dataloader as a preprocessing filter.

I hope these resolve your issue. If any further questions or concerns, please feel free to ask.

The questions resolved clearly. Thank you!


Eye implants

About the PR

This pr adds eye implants like hud, welding shield, mindshield implant for brain.
Changelog

:cl: Rinary

add: Added hud implants, wielding shield implant, mind shield implant.

uhhh... I dont' think this is the right place


视频一到最后一秒就报错

我犯了同样的错误

Hello YaoFANGUK,
Many thanks for all of your work.
This is precisely what I need but when I run the program, right at the end, this error message always appears (please see screenshots) I see that the application is successfully removing the subtitles but no new video file is created.
I have attempted this a number of times and re-downloaded the file as well as downloading the older version without success.
Then, the next day, I am no longer able to get as far as opening the GUI as an error message appears in Chinese. As I am unable to extract Chinese text, I do not know what the message means.
Would you be able to help with these difficulties?
By the way, I am not an IT professional. If you respond in Chinese, I can have your text translated.
Many thanks.
With best regards

有解决方案了吗

No. I have no solution. I am still waiting for a response from YaoFANGUK from whom I have heard nothing.
不，我没有解决办法。我仍在等待 天涯古巷 的答复，而我却一无所获。

The cv2 get video frame count is not accurate. That's the root cause of this problem.


Investigate OpenVLA codebase and get it working on OpenX datasets

Clone and understand the OpenVLA codebase, in order to modify it for eval on vision-language/language tasks, and control tasks outside of the few OpenX datasets it has been trained on. Immediate first step is to get it working on OpenX datasets

Tracking Datasets and Model variant used:

[ ] USC Cloth Sim with 8-bit OpenVLA-7b
[ ]


FIX-#4383: Remove pathlib from deps

Signed-off-by: Alexey Prutskov<EMAIL_ADDRESS>
What do these changes do?

PR removes explicit dependency pathlib from all deps because pathlib is a part of python standard lib starting from py3.4.

[x] commit message follows format outlined here
[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #4383
[x] tests ~added~ and passing
[x] module layout described at docs/development/architecture.rst is up-to-date
[x] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

@modin-project/modin-core , the changes were tested in push-to-master workflow in this action https://github.com/modin-project/modin/actions/runs/2161063391.


Hue Motion Sensor - paired with echo

NOTE: For a feature to be created it has to be doable in the Amazon app because we are basically replicating the app for HA. If you can't find it in the app, we probably can't create it here.
Indoor Hue Motion Sensor (zigbee) bridged with echo - displays motion and temperature in Alexa app.
Is your feature request related to a problem? Please describe.
Media player integrating temperature only - no motion sensor in Home Assistant entity list
Describe the solution you'd like
Would be sweet if anyone could get motion sensor to intergrate :)
Describe alternatives you've considered
not sure of a solution other than getting a hue bridge. EDIT: I have got the automation I wanted working in the Alexa app, duh dunno why I didn't think of this.
Additional context
nil - can give more info if needed
Thanks, for all you do, love this integration.

I have a Sylvania 72923 zigbee motion (and temp) sensor paired to my Echo Plus.  The motion sensor does NOT appear in HA, but its temperature sensor does.

I have a Sylvania 72923 zigbee motion (and temp) sensor paired to my Echo Plus. The motion sensor does NOT appear in HA, but its temperature sensor does.

It's documented on the wiki that lights and temperature are only supported at this time. Would be cool if this can be done tho, I had a smart app that bridged it with smartthings hub using groovy IDE but it's not fully local control with the ST intergration. I can't code so will cross my fingers and toes that something eventuates here :)

Sadly, I don't believe this is currently doable. Alexa does not send websocket messages when a motion sensor is triggered. This means that polling would be necessary. The current polling interval is 10 minutes. Even if that got lowered to 10 seconds, that is probably still to slow to be useful.
My current setup involves using Alexa routines to toggle a home assistant boolean input using the official Alexa integration.  That is the best workaround I have found.

No worries, thanks for explaining :)


Set CameraInfo.HorizontalViewAngle on iOS/Mac

... using this property:
https://developer.apple.com/documentation/avfoundation/avcapturedeviceformat/1624569-videofieldofview
From the documentation:

Indicates the format’s horizontal field of view in degrees.

So we have to convert it from degrees to radians.
Fixes issue #120 (at least partially).

FYI: I merged this and several other open PRs into my fork at https://github.com/janusw/Camera.Maui and published a new release that includes these fixes on nuget.org: https://www.nuget.org/packages/CameraMaui/1.4.5


Add FabricState support

false

https://github.com/project-chip/connectedhomeip/blob/e169fcf99510c98ea16504e77c7fd8bf86f6b806/src/platform/android/CHIPPlatformConfig.h#L30-L35

This issue was generated by todo-issue based on a TODO comment in e169fcf99510c98ea16504e77c7fd8bf86f6b806.

CHIP_CONFIG_ENABLE_FABRIC_STATE does not exist anymore...


style: organised nested css

what is &: and &. in css in go check (but thanks for all you do )

you can find info on css nesting on MDN about using &, &.class and more


docs: test redirect fix

🚧

Codecov Report

Merging #1390 (629ff17) into master (dddeb68) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1390   +/-   ##
=======================================
  Coverage   62.87%   62.87%
=======================================
  Files         115      115
  Lines        8178     8178
  Branches     1808     1808
=======================================
  Hits         5142     5142
  Misses       2907     2907
  Partials      129      129

Impacted Files
Coverage Δ

packages/bns/src/index.ts
88.65% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Only seeing a handful of mods in the FMM

This is what i see on the downloads screen. There is no Halo 3 sound packs which I really wanted to get the full Halo 3 experience.

I'm having the same problem, except with even less mods (5 only). Hoping to get an answer or fix!

response to OP: those are the only mods compatible with 0.6 so far.
response to vince: some mods were temporarily removed, there's a copy on the subreddit though that someone posted, I'll restore them soon.


Fix typo in docs about phase

Hi, I'm doing tutorials and perhaps found a typo in phase documentation (flow.phase => flow.phases ) . Thanks!
Checklist

[x] Use a separate branch in your local repo (not master).
[x] Test coverage is 100% (or you have a story for why it's ok).

I signed it!

Coverage remained the same at 100.0% when pulling 68ea07529c55938059a79a94f01b88f20e0c6b61 on qsona:phase_docs into ca9f6caeb945a5848f4bef1445384cc7c618c0cb on google:master.


Use dynamic-import-node babel plugin for dynamic imports in tests

Fixes #68

Thanks for the review!

!merge


Add Missing Performance Tests for Monitor Query

Add performance tests for

Making a simple query to the service "requests | summarize count() by bin(timestamp, 1h)", "timestamp = P1D"
Use $batch to run 5 queries in 1 api call
Get query statistics (cpu usage / memory / execution time)

Related https://github.com/Azure/azure-sdk-for-python/pull/19941 and https://github.com/Azure/azure-sdk-for-java/pull/23280


Docker build process is not working

Describe the bug
Multiple Docker issues in docker/Dockerfile

./requirements.txt is not found => ./docker/requirements.txt fixes
./docker/entrypointALPACA.sh is not found => cp docker/entrypoint.sh docker/entrypointALPACA.sh
after image build entrypoint.sh is not executable
after it is executable there is no driver-folder - did you forget to git clone or copy the driver-part to image,

To Reproduce
Steps to reproduce the behavior:

bash ./docker/run.sh -b -t "Europe/Helsinki"

Expected behavior
Well the polaris:latest docker image to be build and container launched.
Platform (please complete the following information):

OS: RaspberryPi, Docker-ce

Additional context
Add any other context about the problem here.

@joriws, thanks for the feedback on the Docker/Raspberry Pi issues. As you've probably guessed, these have yet to be completed or tested. I need some new equipment and a gap in another project before I can work on them.
If you have time and interest in helping with the project, let me know, and I can add you as a member and give you write access to create a branch for a pull request into the next version. If you can wait, I will probably address them before the next version, 1.0.1, is released.

Thank you for you invititation to co-operate. For sure I can help you testing Raspberry/Docker installation but I am not experienced github user to manage pull-requests etc. The fixes I used to get Docker-version running are very trivial and maybe not the way you want to build packages and their folder structure, like 4th bullet copying ../../driver/* to ./docker/driver/ so making a copy of stuff as symlink did not do it.
Let me also use this opportunity writing to you to introduce my dream. It would be building Benro firmware -packet which could be installed directly to Polaris, and would directly include Alpaca-driver inside the mount without external hardware. The device is Linux and firmware-package is actually two ubifs-files providing boot/root and app folders. Not sure if there is more Benro-based checks for firmware than the MD5-hash + size at firmware config-file. I mean crypto-checksum with secret Benro key.
This firmware is possible would allow also update libgphoto2 and gphoto2 packages, for some reason Benro's latest firmware package contained 2.5.27 version of packages when 2.5.31 has been released over year ago. 2.5.31 has quite many new camera additions, one which is on Polaris FB-group requested which I answered. Also improved support for my camera.
Maybe I am just too afraid of testing that what if I brick my Polaris and no Benro support..

Made multiple corrections to the Dockerfile and scripts used to generate the Docker build.


[release-4.1] Bug 1755646: Cleanup leftover cross-namespace OwnerReferences

Description of the change:
Backport #1025 to release-4.1
Motivation for the change:
#1025 ensures this cleanup occurs on upgrade between 4.1.z and 4.2.Z, but doesn't handle 4.1.z to 4.1.z'.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

/bugzilla refresh

/bugzilla refresh
/retest

/retest

/retest

/lgtm

/hold

/hold cancel

/test ci/prow/e2e-aws-olm

/lgtm

/test ci/prow/e2e-aws-olm

I verified this on 4.1.z:

Installed a cluster with this change
Deleted the packageserver serviceaccount
Saw the packageserver go unhealthy
Killed olm and catalog operators
CVO recreated OLM and Catalog operators
packageserver serviceaccount came back
packageserver came back

/retest


Consider moving to container images with version

Hi,
I would love to be able to properly update my image automatically with things like Renovate as new version gets pushed but currently by using latest, it's not very convenient.
Eg.  ghcr.io/techno-tim/littlelink-server:v0.0.1 or something other than latest that gets a new tag per push.

Thanks!  Will consider tagging in the future!

surprised that it can't track :latest though...

surprised that it can't track :latest though...

Please see here: https://github.com/renovatebot/renovate/issues/6913

Thanks!  I should do it anyway, it's a good practice.  I will work on this soon.

For now, just pin to sha, that's how I handle it with renovate and everything else


services/horizon Add version to log entries

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[x] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[x] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

Summary
This PR is related to the issue #1683 adding version on the log entries of horizon. All logs will include version=x.y.zat the beginning of the line
Goal and scope
The apkg.Version() has added on every log entry and hlog with the specified fromat to allow easy parsing of logs.
Summary of changes
Added version=%s at the begging  of every call to Printf or Fatalf also added de call to apkg.Version() on eache call to print the value
Known limitations & issues
The hlog library has not been changed because is not clear if it is on the scope of the isssue #1683 that we are pretending to solve
What shouldn't be reviewed
Check if the format is correct and has the expected log output.

Thanks for taking the time to work on this PR! We can do it much simpler. In App.init:
log.DefaultLogger = log.DefaultLogger.WithField("version", apkg.Version())

Then all logs that are generated using log.DefaultLogger will have version field.

I've reverted the commits where I put the log per file and moved as per your advice to app.go, is it the correct place?
I've also signed de CLA.

@cla-bot check

@wolmi looks like you're missing an import (so builds are failing), and there's a changelog conflict. Could you fix, and then we can re-review?

@wolmi Thanks! Can you please rebase against the branch release-horizon-v0.23.0? The changelog update should be under v0.23.0 which is our next release.

Do you still want to pursue this or shall we close it?


Add tests

Codecov Report
Attention: Patch coverage is 3.12500% with 31 lines in your changes are missing coverage. Please review.

Project coverage is 74.43%. Comparing base (688abc5) to head (706806c).

Files
Patch %
Lines

src/sources/image.rs
0.00%
21 Missing :warning:

src/cmd/query.rs
9.09%
10 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   70.15%   74.43%   +4.27%
==========================================
  Files          27       27
  Lines        1997     1991       -6
==========================================
+ Hits         1401     1482      +81
+ Misses        596      509      -87

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bug: Problems playing HLS created with FFMPEG from S3 bucket

Which Mux Elements/Packages has a bug?

mux-player

Which browser(s) are you using?

Chrome
Safari
Firefox

Which operating system(s) are you using?
macOS, iOS
How are you using Mux Elements?

Describe the bug
Getting the error below:
Network Error - A network error caused the media download to fail
Steps To Reproduce

Create a HLS playlist with ffmpeg

ffmpeg -y -i filename.mp4 \
-preset slow -g 48 -sc_threshold 0 \
-map 0:0 -map 0:1 -map 0:0 -map 0:1 \
-s:v:0 1280x720 -c:v:0 libx264 -b:v:0 1200k  \
-s:v:1 1920x1080 -c:v:1 libx264 -b:v:1 3500k  \
-c:a copy \
-var_stream_map "v:0,a:0 v:1,a:1" \
-master_pl_name master.m3u8 \
-f hls -hls_time 4 -hls_list_size 0 \
-hls_segment_filename v%v/hls%d.ts" \
v%v/prog_index.m3u8

file structure after ffmpeg:
master.m3u8
v0/hls0.ts
v0/hls1.ts
v0/prog_index.m3u8
v1/hls0.ts
v1/hls1.ts
v1/prog_index.m3u8

Upload all files to s3-bucket with same structure
Take the url to master.m3u8 and try it in VLC (plays fine)
Take the url to master.m3u8 and use in regular html video

It works fine.

Use it in Mux-player, nothing.

<mux-player
src="file.m3u8"
type="application/vnd.apple.mpegurl"
env-key="env-key"
prefer-playback="mse"
stream-type="on-demand"
preload="none"

The master.m3u8 file looks like this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1495909,RESOLUTION=1280x720,CODECS="avc1.64001f,mp4a.40.2"
v0/prog_index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=4025909,RESOLUTION=1920x1080,CODECS="avc1.640032,mp4a.40.2"
v1/prog_index.m3u8
And the v0/prog_index.m3u8 looks like this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:5.760000,
hls0.ts
#EXTINF:3.840000,
hls1.ts
#EXTINF:3.840000,
hls2.ts
#EXTINF:3.840000,
hls3.ts
#EXTINF:3.840000,
hls4.ts
#EXTINF:3.840000,
hls5.ts
#EXTINF:3.840000,
hls6.ts
#EXTINF:3.840000,
hls7.ts
#EXTINF:3.840000,
hls8.ts
#EXTINF:3.840000,
hls9.ts
And the v1/prog_index.m3u8 looks like this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:5.760000,
hls0.ts
#EXTINF:3.840000,
hls1.ts
#EXTINF:3.840000,
hls2.ts
#EXTINF:3.840000,
hls3.ts
#EXTINF:3.840000,
hls4.ts
#EXTINF:3.840000,
hls5.ts
#EXTINF:3.840000,
hls6.ts
#EXTINF:3.840000,
hls7.ts
#EXTINF:3.840000,
hls8.ts
#EXTINF:3.840000,
hls9.ts
The current behavior
Not playing the HLS
The expected behavior
Should be playing the HLS

@chberge Just as an FYI, Mux Player does not officially support content that is not provided by Mux Video. That said, this appears to be a CORS issue. Make sure you configure your static HTTP setup for S3 with appropriate CORS headers. I confirmed locally by using a CORS Chrome Extension to override the server CORS setting to * and loading the src you provided. Additionally, the errors in the dev tools will give you clues for when this is a CORS policy issue. e.g. when loading without the extension enabled, you should see something like:
Access to XMLHttpRequest at 'https://sos-ch-dk-2.exo.io/plaii-recordings/recordings/bf7d6c463375ab47d0a9_3905138e86daba45ffe5_2023-02-06_2044/master.m3u8?CMCD=cid%3D%22https%3A%2F%2Fsos-ch-dk-2.exo.io%2Fplaii-recordings%2Frecordings%2Fbf7d6c463375ab47d0a9_3905138e86daba45ffe5_2023-02-06_2044%2Fmaster.m3u8%22%2Cmtp%3D500%2Cot%3Dm%2Csf%3Dh%2Csid%3D%2291d034aa-aba2-4b20-9d49-9246ec268882%22%2Csu' from origin 'http://<IP_ADDRESS>:8004' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Awesome, thanks! CORS-settings solved it!


Use goccy/go-yaml for v1 / Prep bringing back go-yaml v2 for v0.x

This is a successor to #596. We need a smooth migration path from gopkg.in/yaml.v2, and this pull request moves it forward with goccy/go-yaml instead of gopkg.in/yaml.v3. Merging this unblocks users stuck in Helmfile v0.146.x or earlier due to #435, so that they can upgrade to 0.147.x or greater without updating their helmfile configs.
We previously tried to upgrade to yaml.v3 (https://github.com/helmfile/helmfile/issues/394) in Helmfile v0.x, presuming it won't break anything. Apparently, it broke use-cases where you want to layer release's values field over three or more release templates and releases (#435).
We then tried to bring back yaml.v2 for Helmfile v0.x and keep yaml.v3 for the upcoming Helmfile v1. However, it failed due to incompatibility in the Unmarshaller interface between yaml.v2 and yaml.v3 (https://github.com/helmfile/helmfile/pull/596).
goccy/go-yaml is, from my observation, a well-maintained alternative to yaml.v2. One of its premises is that it enables us to swap the implementation from gopkg.in/yaml.v2 to goccy/go-yaml just by replacing the import directive. It seems to use the same Unmarshaller interface as yaml.v2 too.
Once this PR gets merged, I'd like to follow-up with adding a new build-time variable and an envvar to set the proper default for the yaml parser Helmfile uses and the ability to switch the parser at runtime. All in all, the next Helmfile release, v0.150.0 will get reverted to use gopkg.in/yaml.v2 by default which resolves #435.
New users who started using Helmfile since any of v0.148.0, v0.148.1, and v0.149.0 might be already relying on the new behavior, They might need to specify a new envvar to enable goccy/go-yaml.
Ref #435
Signed-off-by: Yusuke Kuoka<EMAIL_ADDRESS>

@mumoshu all is ok. I fixed the test cases. please review again

whrer is then MarshalYAML and UnmarshalYAML?

@yxxhero Thank you so much for your throughout review and confirmation ❤


Edit paper page should save changes to the author list

Scenario
Given a paper with one author
And another author called 'Peter Plagiarist'
When a user visits the paper's edit page
And then selects 'Peter Plagiarist' as author
And submits the form
Then 'Peter Plagiarist' and 'Alan Turing' should be authors of the paper
Hints
The paper controller must be able to deal with the additional author information that is passed by the new select element to save the changes.
Make sure that you have "permitted" the parameters for passing the author ids to the paper controller (function paper_params) using :author_ids => [].
Error

Expected collection contained:  [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing"...://wikipedia.de/alan_turing", created_at: "2021-11-23 20:33:58", updated_at: "2021-11-23 20:33:58">]
actual collection contained:    [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing", created_at: "2021-11-23 20:33:58", updated_at: "2021-11-23 20:33:58">]
the missing elements were:      [#<author id: 2, first_name: "peter", last_name: "plagiarist", homepage: "http://wikipedia.de/alan_turing", created_at: "2021-11-23 20:33:58", updated_at: "2021-11-23 20:33:58">]

41 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.

Sorry, it's not working for me yet:
Scenario
Given a paper with one author
And another author called 'Peter Plagiarist'
When a user visits the paper's edit page
And then selects 'Peter Plagiarist' as author
And submits the form
Then 'Peter Plagiarist' and 'Alan Turing' should be authors of the paper
Error

Expected collection contained:  [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing"...://wikipedia.de/alan_turing", created_at: "2021-11-23 20:44:52", updated_at: "2021-11-23 20:44:52">]
actual collection contained:    [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing", created_at: "2021-11-23 20:44:52", updated_at: "2021-11-23 20:44:52">]
the missing elements were:      [#<author id: 2, first_name: "peter", last_name: "plagiarist", homepage: "http://wikipedia.de/alan_turing", created_at: "2021-11-23 20:44:52", updated_at: "2021-11-23 20:44:52">]

If you have problems solving this task, please don't hesitate to contact the teaching team!

Sorry, it's not working for me yet:
Scenario
Given a paper with one author
And another author called 'Peter Plagiarist'
When a user visits the paper's edit page
And then selects 'Peter Plagiarist' as author
And submits the form
Then 'Peter Plagiarist' and 'Alan Turing' should be authors of the paper
Error

Expected collection contained:  [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing"...://wikipedia.de/alan_turing", created_at: "2021-11-23 20:52:39", updated_at: "2021-11-23 20:52:39">]
actual collection contained:    [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing"...://wikipedia.de/alan_turing", created_at: "2021-11-23 20:52:39", updated_at: "2021-11-23 20:52:39">]
the extra elements were:        [#<author id: 1, first_name: "alan", last_name: "turing", homepage: "http://wikipedia.de/alan_turing", created_at: "2021-11-23 20:52:39", updated_at: "2021-11-23 20:52:39">]

If you have problems solving this task, please don't hesitate to contact the teaching team!


Buffer is not modifiable after user interrupt

After hitting <C-c> to stop a buffer, I'm unable to modify the buffer:
E21: Cannot make changes, `modifiable` is off

Furthermore, when I manually override that with :set modifiable, as soon as I
invoke another Coqtail command, the buffer is left in the nomodifiable state
once again, even if I didn't interrupt it the second time.

What version of Vim/NeoVim are you using? And does this happen every time you interrupt or inconsistently?

My vim version:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 18 2020 18:29:15)
Included patches: 1-1453
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl               +cmdline_compl     -ebcdic            -hangul_input      -lua               +mouse_xterm       -python            +tag_binary        +vertsplit         -xpm
+arabic            +cmdline_hist      +emacs_tags        +iconv             +menu              +multi_byte        +python3           +tag_old_static    +virtualedit       -xsmp
+autocmd           +cmdline_info      +eval              +insert_expand     +mksession         +multi_lang        +quickfix          -tag_any_white     +visual            -xterm_clipboard
-autoservername    +comments          +ex_extra          +job               +modify_fname      -mzscheme          +reltime           -tcl               +visualextra       -xterm_save
-balloon_eval      +conceal           +extra_search      +jumplist          +mouse             +netbeans_intg     +rightleft         +termguicolors     +viminfo
+balloon_eval_term +cryptv            +farsi             +keymap            -mouseshape        +num64             -ruby              +terminal          +vreplace
-browse            +cscope            +file_in_path      +lambda            +mouse_dec         +packages          +scrollbind        +terminfo          +wildignore
++builtin_terms    +cursorbind        +find_in_path      +langmap           +mouse_gpm         +path_extra        +signs             +termresponse      +wildmenu
+byte_offset       +cursorshape       +float             +libcall           -mouse_jsbterm     -perl              +smartindent       +textobjects       +windows
+channel           +dialog_con        +folding           +linebreak         +mouse_netterm     +persistent_undo   +startuptime       +timers            +writebackup
+cindent           +diff              -footer            +lispindent        +mouse_sgr         +postscript        +statusline        +title             -X11
-clientserver      +digraphs          +fork()            +listcmds          -mouse_sysmouse    +printer           -sun_workshop      -toolbar           -xfontset
-clipboard         -dnd               +gettext           +localmap          +mouse_urxvt       +profile           +syntax            +user_commands     -xim```

My impression had been that this happens consistently when I interrupt an
especially heavy tactic, but I have since encountered a few times when this
didn't occur (i.e. modifiable was successfully reset after I issued the user
interrupt).

The reason 'modifiable' isn't getting reset is probably because coqtail#defaultCB isn't getting called or it's being interrupted early. I think what's happening is CTRL-C is normally mapped to CoqInterrupt, but while Vim is executing a function it still treats it as an interrupt and stops what it's doing. I tried to account for this in a couple places with a try-catch, but apparently it's not enough. What I really need is a way to tell Vim to temporarily ignore interrupts, but I'm not sure that's possible.

Yeah, that seems to be it.
:let b:cmds_pending shows me that it still thinks that it still thinks there's a pending command, and manually setting it to zero (i.e. :let b:cmds_pending = 0) and rerunning a Coqtail command fixes the issue. Not sure that's the cleanest fix, but doing that resolves the issue for me.

It might be worth mentioning that I have <C-c> mapped as a prefix to my Coqtail commands (like Proof General). I'm not sure if that somehow changes how it's understood by Vim.
Also, this issue doesn't appear when I just run :CoqInterrupt. An alternative workaround might be to define and learn another binding for interrupting coqtop.

Just using :CoqInterrupt or binding a different mapping to it shouldn’t have this problem. The issue is just that CTRL-C is used both for the coqtail mapping and to interrupt Vim. I’d like to keep using CTRL-C as the default since it’s probably what most people expect but if I can’t find a good fix for this I may need to change it.

I'll keep this open because even if we can't completely resolve the Vim interrupt problem we could do more to work around it/make it clearer how a user can fix it if they run into the nomodifiable issue.

So, I've just been manually running :let b:cmds_pending = 0 whenever that happens, and remembering to use :CoqInterrupt for long-running tactics.
I'm planning on just adding my own bindings to make those a little faster (and maybe make the :let invocation a little smarter to handle multiple commands in flight, thought that doesn't happen very often if at all). Not sure if either of those are viable workarounds?

Mapping something other than CTRL-C to :CoqInterrupt is definitely a viable workaround. b:pending_cmds is an implementation detail that you shouldn’t have to mess with manually but I have some ideas for handling that better.
When you encounter this problem is it after you press CTRL-C once or do you spam it a couple times?

I tend to spam it a couple of times. I have <C-c> set as a mapping prefix to other Coqtail commands (to preserve the <C-c><enter> shortcut from Proof General), so it's sort of a habit..

@j-hui If you get a chance could you try out this branch and see if that helps at all? I stopped seeing the nomodifiable not getting reset problem, but I was only able to reproduce it pretty rarely to begin with.

I'll keep an eye out for this.

I've been using #130 for a while now without running into this problem so I'm tentatively closing this issue. Feel free to reopen or open a new one if it comes up again.


Release v4.1.2

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.78%. Comparing base (6cdffea) to head (364fe83).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #211   +/-   ##
=======================================
  Coverage   99.78%   99.78%
=======================================
  Files          25       25
  Lines         467      467
=======================================
  Hits          466      466
  Misses          1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Sign in overlay overlaps other parts of the interface

The sign-in overlay was updated by mistake in the sign-in flow (see https://github.com/opencollective/opencollective/issues/5700) the quickly adapted as a hotfix in https://github.com/opencollective/opencollective-frontend/pull/7968.
There are two issues with this new approach:

It hides other parts of the interface, i.e. links in the footer:

It goes above the collective navbar, there again hiding important buttons:

The previous interface looked better IMO:

My suggestion would be to slightly update the existing box to get closer to what we had:

cc @SudharakaP

@Betree : I've opened a PR for this above (see screen-shot in the PR), one thing I didn't change is the positioning of the Create an account link. I am okay to change it, but just thought that the way it looks right now underneath the Don't have one? looks nice and consistent with the SignIn page. But let me know if you disagree and there's a specific reason to change this positioning of the link for the overlay. 🤔

I would personally have kept the previous interface because it was well suited for this space, but there's no turning back now so the next move should be to ask @opencollective/design to propose an official design for this.

I am also okay with going back to the previous interface and we could do that if needed (by creating a separate component for the sign in component for the overlay purpose). The reason I tried this approach initially was that I wanted to reuse our existing new Signin component and thought this gives a consistent approach; for example the logo and stuff, but given your proposal to hide the logo and stuff it basically becomes the same as the previous interface. 🤔

I would personally have kept the previous interface because it was well suited for this space, but there's no turning back now so the next move should be to ask @opencollective/design to propose an official design for this.

I am also okay with going back to the previous interface and we could do that if needed (by creating a separate component for the sign in component for the overlay purpose). The reason I tried this approach initially was that I wanted to reuse our existing new Signin component and thought this gives a consistent approach; for example the logo and stuff, but given your proposal to hide the logo and stuff it basically becomes the same as the previous interface. thinking

The interface you've implemented in the other PR looks fine, let's go with it. As discussed in the call, let's just iterate with design to make sure we adopt the best solution for the long-term. The team learning for next time is that we should better study the implications and use cases when updating this kind of global and widely used component.


Update Get-ADTrust.md

#1137
Hello Team, I did not change anything on the PR/article as the "Get-ADTrust" parameter returns all the domain trusted in AD
Kindly verify if this is correct, feel free to let me know of any actions needed to take.
Steps taken:
1.) Run Get-ADTrust -Filter* , shows all the domain trusted by the domain configure in AD/ADDS
see screenshot: https://snipboard.io/O2Aqls.jpg
2.) Get-ADTrust -Filter {Target -eq "domain.info"} and Get-ADTrust "domain.tk"
These returns all trusted domain objects in the domain that you are querying
see screenshot: https://snipboard.io/3k4VcI.jpg
https://snipboard.io/CYQhXc.jpg

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

File
Status
Preview URL
Details

docset/winserver2012-ps/activedirectory/Get-ADTrust.md
:bulb:Suggestion

Details

docset/winserver2012-ps/activedirectory/Get-ADTrust.md

[Suggestion] Missing attribute: title. Add a title string to show in search engine results. NOTE: This Suggestion will be elevated to a Warning on 9/1/2019.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dariomws306 @get-itips @tseward
Peer review needed for this PR. Thanks.

Hello @sukihanabi  !
I think a PR to get a review was not needed here, in case you want a review by the team, you can directly ask in the issue, (as you were forced to insert a new line in a commit to be able to create it.)
I think the user is talking about having multiple domains in the same forest, each one with different trust relationships, I can not see in your screenshots, if you test this exact scenario or you have only one domain in the forest, can you clarify this?
tip: you can attach screenshots right here pasting the image into the Write box and it will be uploaded to GitHub, and it will support showing the screenshot directly without having to clic it. :)

Agreed, this PR should be closed as there are no changes.

Hello @get-itips , that's right I have one domain in a forest with multiple trusted domains. I will create another domain with different trust domains , then test the command.
I created the PR because there are things we might figure out latter, after some suggestion and test , so I'll just add it here after. In that case, moving forward; I'll ask it in the issue as suggested.
Thanks for the tips; creating a PR doesn't give you an option to attach a screenshot, but here it does.

@get-itips , tried to run the command in one AD forest with multiple domain and trusted domains, here are the result.
The command: Get-ADTrust -Filter* , it shows all the domain trusted by the domain configure in AD/ADDS
Is there any changes needed in the article/repo? as it seems the command shows what the description says? or any test I need to run/do?

So you ran the cmdlet in one of the domains and that returned ALL domains trusted in the forest? please confirm

@get-itips , yes that's correct.

Ok so no updates are needed imho

@get-itips agreed, thank you for the help :)

Closing as no changes are necessary


[Consistency] Default axes in linalg.diagonal  and linalg.trace.

The functions linalg.trace and linalg.diagonal have as default axis1=0, axis2=1.
This goes against the rest of the documentation, in which a batch of matrices is defined as a tensor with shape (..., M, N).
It would be more consistent with the rest of the API to have axis1=-2, axis2=-1 to handle batches of matrices correctly by default.

Wouldn't it be better to just remove axis1 and axis2 entirely and always use the last two axes? This makes it more consistent with other APIs. Users who need to compute trace/diagonal along arbitrary two axes can always swap the axes first before calling the API.

At least in PyTorch, it would be as efficient to transpose the diagonals to the back and then call diagonal than it would be calling it with this API. Now, this API may be convenient for some applications? That I do not know. I have never used diagonal with anything other than -2, -1, but my experience is very biased towards working with matrices.

In CuPy it's also as efficient, given that transpose/swapaxes only return views. I guess this suggests for both PyTorch and CuPy (and likely NumPy) removing axis1/axis2 is safe. 🙂

trace is not heavily used (there's no data in https://github.com/data-apis/python-record-api, and a search in SciPy seems to confirm it's not used there at all). I suspect when it is used, it's indeed with -2, -1.

Wouldn't it be better to just remove axis1 and axis2 entirely and always use the last two axes? This makes it more consistent with other linalg APIs, and is mathematically more intuitive.

+1 makes sense to me

Fixed by gh-241, which removes the keywords. Thanks @Lezcano and @leofang