docs: ✏ Fix typo.

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@janpapenbrock Please use the commit command to commit the changes so the lint passes


Add drush launcher to bin, with drush 8 fallback.

Checklist

[x] Affected Issues have been mentioned in the Closing issues section
[x] Documentation has been written/updated.
[x] Changelog entry has been written

Drush recommends being installed as part of a site, so that a site's composer.json can specify which version of Drush is compatible. Drush launcher is the correct solution: a unified command that dynamically finds and calls Drush. It allows a fallback to the existing global drush.
This PR removes the ~/.composer/... directory from the PATH. It appears that it was only added there to allow drush to be executed and is redundant now.
The current docs only have a reference to Drush 9, no reference to Drush 8. Not sure exactly what the docs should have, so I just added a note about drush 8 in the drush9.md.
Changelog Entry
Drush launcher is now available. If you have drush available in a Drupal site, and you run drush from /app or the web root, Drush Launcher tries to run the local drush (usually vendor/bin/drush), before falling back to the global Drush. If you need to pin your Drush to the global drush, you should add /home/.composer/vendor/bin/drush to the start of PATH environment variable, or call this directly in your scripts.
Closes #1069

I like the approach here! Our current plan was that the global installed Drush8 already does the search for the site-specific Drush and if not it falls back to Drush8. But this solution is definitely more elegant and probably better for the future.
I'm not sure though if we can really remove the /home/.composer/vendor/bin from $PATH.
If anybody else that is using the Docker Images is installing something globally with composer, that person probably relies on the fact that the PATH contains the path to the executable that was installed globally. Unfortunately updating the $PATH would break functionality for these people and probably would be quite hard for them to figure out why this is.
So therefore I think we should leave the $PATH in there, even though the Image itself doesn't rely on it.
Also we just updated Drush versions: https://github.com/amazeeio/lagoon/pull/1185, so we it's conflicting now, sorry.

Sounds good. There is one thing to change regarding the PATH, we'd need to move the composer reference to the end PATH. Currently ~/.composer/vendor/bin is the first reference, so it has priority over /usr/local/bin. So I can modify the add_PATH script to put it at the end in cli/Dockerfile , or I can override it again completely cli-drupal/Dockerfile. What do you think?

Alternatively we could install drush launcher to /usr/local/bin/drush-launcher, so that users can choose explicitly to use this (I think it would work fine).

There are a lot of approaches to making drush 9 (explicitly) and drush launcher available. Some people just do $DRUSH="/path/to/drush" and use $DRUSH everywhere. I'm happy to implement the preference that takes into account what "updating to drush 9" on Lagoon looks like.

Currently ~/.composer/vendor/bin is the first reference, so it has priority over /usr/local/bin. So I can modify the add_PATH script to put it at the end in cli/Dockerfile

Mhh are you sure? My understanding is that executables in the home directly should have preference over the global operating system level ones, or you could never overwrite the operation system level ones with local ones (like if you need another mysqldump version or so)

Some people just do $DRUSH="/path/to/drush" and use $DRUSH everywhere. Acquia has drush8 and drush9.

The problem is that we already started supporting drush and that's used by all the thousand of Lagoon Projects out there. I think we should do:

Install the drush launcher at /usr/local/bin/drush
Install Drush 8 not global anymore, but in another place inside the HOME directory
point DRUSH_LAUNCHER_FALLBACK to wherever Drush 8 is installed
Leave ~/.composer/vendor/bin in the path at the beginning, but nothing is existing in there anymore by default.

With this:

Developers don't need to change anything if they are okay with Drush8, plus projects that don't have a site specific drush installed still get a version of drush (the reason that we can't remove drush all together)
Developers that need a specific drush version just define it in composer.json and the drush launcher will find it.
We will upgrade the default drush8 to drush9 as soon as drush8 is EOL

Correct /home/.composer/vendor/bin is at the front of PATH, giving it priority over everything else. But that just defeats the point of drush launcher.
I like the plan you put forward I will follow up.

I believe this is good to go. In the built image...
cli-drupal:/app$ drush --version
Drush Launcher Version: 0.6.0
 Drush Version   :  8.3.0

I take it I need to make this pass by ensuring drush 9 alias
TASK [DRUSH - running drush -y sql-sync @drush-second @self on ci-drupal-drush-first@ssh on port 2020, searching for ''] ***

I see the tests eg testing the alias is there but I don't see a drush aliases file - would it be using the drush alias service?

so I think that error might has to do with an old drush version shipped inside the test drupal, I've updated all dependencies of that drupal, let's see


Update CONTRIBUTORS.md

i dont know what i can write so i am sorry for this give me any task i can 100% fix

Hey there,
Thanks for your PR & contribution :wave:!
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊


Kronecker product

The functions in math/function/kronecker_product and some utils in utils/kronecker_product.py has been implemented

KPToeplitzMVNKLDivergence is currently missing, at a minimum, a few required imports (e.g., LinearCG and StochasticLQ). It should also get a unit test.


image pulls fails in crc with  dial tcp a.b.c.d:443: i/o timeout error

After successfully installing crc, images pulls were failing with the following errors:
Events:
  Type     Reason     Age                From                         Message
  ----     ------     ----               ----                         -------
  Normal   Scheduled  63s                default-scheduler            Successfully assigned e2e-test-jenkins-pipeline-h7czm/jenkins-1-deploy to crc-4gdnp-master-0
  Warning  Failed     24s                kubelet, crc-4gdnp-master-0  Failed to pull image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f35e69245874019b3d0ef459909e6c73e1a32718daf247a7212966dbe13735dd": rpc error: code = Unknown desc = pinging docker registry returned: Get https://quay.io/v2/: dial tcp <IP_ADDRESS>:443: i/o timeout
  Warning  Failed     24s                kubelet, crc-4gdnp-master-0  Error: ErrImagePull
  Normal   BackOff    24s                kubelet, crc-4gdnp-master-0  Back-off pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f35e69245874019b3d0ef459909e6c73e1a32718daf247a7212966dbe13735dd"

After deeper investigation it looked like that tcp or http egress trafic from the crc VM was blocked even if ICMP (ping) was allowed. This was due to a misconfiguration of the host which blocks NATed trafic other than ICMP.
Last login: Wed Jun 19 15:38:14 2019 from <IP_ADDRESS>
[core@crc-4gdnp-master-0 ~]$ ping google.com
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from par10s28-in-f110.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=54 time=4.50 ms
^C
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.502/4.502/4.502/0.000 ms

HTTPS is blocked on any host:
[core@crc-4gdnp-master-0 ~]$ curl https://google.com
curl: (7) Failed to connect to google.com port 443: Connection refused

as a documentation pre-requisite we need to add firewall-cmd commands to enable egress HTTP and HTTPS trafic to be NATed from the cluster to the outside world through the host.

block
  target: %%REJECT%%
  icmp-block-inversion: no
  interfaces:
  sources:
  services:
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

dmz
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: libvirt ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

drop
  target: DROP
  icmp-block-inversion: no
  interfaces:
  sources:
  services:
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

external
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: ssh
  ports:
  protocols:
  masquerade: yes
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

home
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: cockpit dhcpv6-client mdns samba-client ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

internal
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: cockpit dhcpv6-client mdns samba-client ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

libvirt (active)
  target: ACCEPT
  icmp-block-inversion: no
  interfaces: crc tt0 virbr0
  sources:
  services: dhcp dhcpv6 dns libvirt ssh tftp
  ports:
  protocols: icmp ipv6-icmp
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
	rule priority="32767" reject

public
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: cockpit dhcpv6-client dns http https ssh
  ports: 9000/tcp 22623/tcp 6443/tcp 8001/tcp
  protocols:
  masquerade: no
  forward-ports: port=443:proto=tcp:toport=8443:toaddr=
	port=80:proto=tcp:toport=8080:toaddr=
  source-ports:
  icmp-blocks:
  rich rules:
	rule service name="libvirt" reject

trusted
  target: ACCEPT
  icmp-block-inversion: no
  interfaces:
  sources:
  services:
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

work
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: cockpit dhcpv6-client ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

Is this still an issue for you? I'm not able to reproduce, and I don't think we had more reports of this.

Hi @cfergeau
I didn't see it anymore also, I am closing the issue.
Thanks

I'm actually running into this on a Fedora 31 box. I am absolutely certain it's a misconfiguration on my system, but I have no idea exactly where to look.

fwiw, I had to run this commands as root
firewall-cmd --add-masquerade --zone libvirt
firewall-cmd --add-masquerade --zone FedoraServer

Was this traffic blocked by default on FedoraServer? OR is this related to some configuration you did yourself on this system?

Thanks a bunch, @cwawak, enabling masquerade worked,  i was losing my mind!


Spanish Translation

In the row "No Inventario" in several columns (eg. "Salida de ensamblado", "Salida de producción", "Transferencia de ubicación", etc) have the value "N.º". In English version they have "No".

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

ID: ea248ae7-d4ca-5879-0785-d097f3250b5a
Version Independent ID: adefc344-0777-caa6-7052-416302d9dbb8
Content: Understanding Item Types - Business Central
Content Source: business-central/inventory-about-item-types.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: edupont

Hello,
Thank you for your feedback! This has been reported to our translation team, and I expect it to be fixed in the next translation update (August).


Develop: Add a component to record data usage for every user

Sorry for skipping local test before issues the pull request.
In order to support multiple users to use the COW proxy without running out of the capacity of VPS by a few, I add a component to limit the usage of every user.
The major addition is usage.go.

Configuration: A new component to do usage recording. The limitation of every user is set in a file named userCapacityFile (more detail in doc/sample-config/rc). It's loaded when the COW starts. The userPasswdFile must been enabled to use the recording. See more details in doc/sample-config/rc .

Limitation Check: The limitation check is triggered after Authenticate in proxy.go .

Recording: To record the usage, the accumulatedUsage is called for every HTTP response ( doRequest in proxy.go) and every HTTP CONNECT (copyServer2Client in proxy.go). The current usage is first loaded from _cowDir/record.log if existed. A background thread flush the in-memory record to the disk file every half hour. The record will be reset on every reset date (more detail in doc/sample-config/rc).

Besides, an error always occurs when I test the COW on server.
Here is the screenshot

The error log captured nothing.
I'm very appreciated if you guys can help me find out the bugs.

I fixed this bug by using channel to update the usage record map. The reason why the program kills itself is because there will be thousands of proxy threads updating on the unthread-safe golang map in my last implementation

这个还没有merge进去吗？


Rock: A new puppet  hostie service provider

1. What is Rock?
Rock  is a new puppet hostie service provider,so you can use  all features from wechaty-puppet-hostie.
2. What is Wechaty Puppet Rock Service Token
To use the rock puppet service,you can apply for rock token from Juzi.Bot (wechat: juzibot).
3. How to use rock token.
To use the token with rock service, the following commands demonstrated how to use it under Linux/macOS:
export WECHATY_PUPPET_HOSTIE_ENDPOINT=your_applied_host_at_here
export WECHATY_PUPPET_HOSTIE_TOKEN=your_applied_token_at_here

WECHATY_PUPPET=wechaty-puppet-hostie node bot.js

See:

Wechaty Starter Project Template that works out-of-the-box

4. Multi-language supported.

go:  need later version 0.4.1 (see https://github.com/wechaty/go-wechaty/issues/69 )
python:need later version 0.2.17dev (see https://github.com/wechaty/python-wechaty-puppet-hostie/issues/35)
java: see https://github.com/wechaty/java-wechaty/issues/77

5. How to get supports.
Please ask your question by file an issue at https://github.com/wechaty/puppet-service-providers/issues/new?assignees=jcai&labels=rock&template=rock.md&title=Rock%3A+

If you want to use pad protocol, the Rock puppet is a must-try!
Thank @jcai for providing this great WeChat Pad Protocol puppet service to our community!


Automatic resizing for Raspberry Pi

RancherOS Version: (ros os version)
v0.5.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
Unable to use resize with raspberry pi 3.

We don't automatically resize to the size of the SD card, but manual resizing should be fine.

Is there any documentation on resizing the root partition on the RaspberryPI? When using ** resize2fs** I'm getting the error "Resource busy".

How to manual resizing?

https://forums.rancher.com/t/resizing-the-primary-partition-on-the-raspberry-pi/3515
Same issue. Anyway I try to expand the partition from within the running SD card fails with resize2fs throwing:
resize2fs: Device or resource busy while trying to open /dev/mmcblk0p2
Couldn't find valid filesystem superblock.

I am also stuck with this issue. I cannot use ros install (I guess it has not sense because I have a full RancherOS installed, right?), and I cannot resize the partition.
What I am trying to do is include a rasbperry pi into my rancher infrastructure running a Rancher Agent.

As a work around, I used a linux computer to manually complete the resize of the image simply following the generic SD card expand partitions instructions for Raspi.
I suspect that when running on the device and manually trying to expand the partition we need to run e2fsck before running the resize2fs command.  The only problem is that it is the one utility not built in to the image so I have not had a chance to confirm.

Automatic resizing isn't an issue as far as I'm concerned but it should be possible to resize without the use of an external system. Even a set of manual instructions that we can run on the pi itself to resize the disk should be great moving forward.

Even a set of manual instructions that we can run on the pi itself to resize the disk should be great moving forward.

I updated the docs to perform a work-around using the extra space as a mounted partition for the user-docker.

@jnovack thanks for documenting this workaround, it should at least allow people to utilise 100% of their available space.

@jnovack  dont you think that step 10 should be previous to step 8? Otherwise you cannot mount the partition without formating. At least it is what I did...

@jgato An admin updated the docs after I posted them, so I assume s/he knows what s/he is doing. :)

@joshwget is this ready for testing?

@SvenDowideit It was part of the buildroot update that was rolled back so I don't think it's ready to test anymore. If you still plan on updating buildroot for v0.8.0 then it can make it in.

so running
[root@rancher rancher]# growpart /dev/mmcblk0 2
....
[root@rancher rancher]#DISABLE_FLAG_EXCLUSIVE=1 resize2fs /dev/mmcblk0p2`
resize2fs 1.43.1 (08-Jun-2016)
Please run 'e2fsck -f /dev/mmcblk0p2' first.

[root@rancher rancher]# e2fsck -f /dev/mmcblk0p2
e2fsck 1.43.1 (08-Jun-2016)
/dev/mmcblk0p2 is in use.
e2fsck: Cannot continue, aborting.

on v1.0.2 gets us further - but now I really need to wire it up to the rancher.state.auto_reize

for today, I cheated, and did the resize on the same linux box I did the dd of=/dev/sdb...

or on the other notebook, while testing ssp fixes:
-rw-r--r-- 1 sven sven 500M Jun 22 12:28 rancheros-raspberry-pi64.img
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo dd if=rancheros-raspberry-pi64.img of=/dev/mmcblk0
1024000+0 records in
1024000+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 109.958 s, 4.8 MB/s
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo e2fsck -f /dev/mmcblk0p2
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
rootfs: 2000/121344 files (0.1% non-contiguous), 52581/121344 blocks
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo growpart /dev/mmcblk0 2
CHANGED: partition=2 start=53248 old: size=970752 end=1024000 new: size=15470559,end=15523807
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo e2fsck -f /dev/mmcblk0p2
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
rootfs: 2000/121344 files (0.1% non-contiguous), 52581/121344 blocks
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo resize
resize      resize2fs   resizecons  resizepart
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo resize
resize      resize2fs   resizecons  resizepart
sven@y260:~/releases/v2017.02.3-glibc-ssp-all/build$ sudo resize2fs /dev/mmcblk0p2
resize2fs 1.43.4 (31-Jan-2017)
Resizing the filesystem on /dev/mmcblk0p2 to 1933819 (4k) blocks.
The filesystem on /dev/mmcblk0p2 is now 1933312 (4k) blocks long.

We have documentation about manual resizing: https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/server/raspberry-pi/
We need to support automatic resizing.

Workaround:
$ ln -s /dev/mmcblk0p2 /dev/root
$ growpart /dev/mmcblk0 2
$ partprobe /dev/mmcblk0
$ resize2fs /dev/mmcblk0p2


Stability: Configuration file

Definition: Old configuration files should still work with future stable Parsec versions, with the same default for optional options.
Enforcement: Configuration options should not disappear in future stable Parsec versions. Configuration defaults should remain the same. New options should be optional.
Enforcement Check
This can only be done through testing/code review. The config file contains its own documentation regarding field description and defaults.
The Parsec Configuration page could maybe be used to formalize that? But that is duplication of information.
Warning could maybe be set in the code as comments, or in the CI when those parts are modified? If they are put in their own files we can specifically check when the file is modified.
Testing
All the options in the config.toml file should be tested and verified accross different Parsec versions. That includes the "behaviour" of some fields. Defaults should be checked as well.

Could use similar way as described in #382: put all config structures in one file that is code owned.
All possible options and defaults should be checked in config tests for every PR.

Updated in the book in https://github.com/parallaxsecond/parsec-book/pull/121


Differences in dgps and our site

DIFFERENCES

TOP BAR AND NAV BAR

[ ] On top bar dgps have options like screen reader, feedback and font increase decrease , language select and colour theme select.

[x] On the nav bar dgps have a search bar along with advance search option. - Search implemented

[x] Navbar design is slightly different on show - Fixed in latest commit

CAROUSEL

[ ] in dgps Web site we have a carousel having a sample image , image of the press and image of map with locations of the  press.
[ ] Along with that , there is a box displaying ministers of Gujarat above on the carousel

WELCOME SECTION

[ ] The welcome section in dgps site have a moving horizontal text on the top and also have a section for latest news and events on its right, which is not the case with our site .

[ ] A link for Gazette name change birth change is provided below in the welcome section

FEATURE SECTION

[x] here dgps site have a grid layout along with a map on its right showing the location of the department. - map is implemented now.

[x] our site is not having a map - Site has map in contact section.

[ ] next comes their sample images and video section which is missing on our site

FOOTER

[x] Footer elements are different - Made in accordance with dips

Check latest commit for changes, by mistake didn't edit changes on my branch but on main branch.
don't follow what I did.

footer in Organisation structure and apprentice scheme is having bullet elements in it
Secondly no content for apprentice scheme page


Unavailable video in a playlist causes bot to return Invalid Playlist

If I have a playlist that has an unavailable video (ex private, removed, copyright) the bot will not add the playlist to the queue, and instead return Error: Unhandled error. ('InvalidPlaylist')
I would love/appreciate if the framework would just skip the unavailable video and add the rest to the queue.
It was driving me crazy that I couldn't figure out why I couldn't add this one playlist, since youtube just hides and skips unavailable videos by default.

Working on a fix as I can reproduce it.

This issue was resolved in v7.2.1.


feat: refactor MultiValuesMap

Codecov Report

Merging #150 (a569a6b) into master (4aebd7e) will increase coverage by 0.449%.
The diff coverage is 62.896%.

@@               Coverage Diff               @@
##              master      #150       +/-   ##
===============================================
+ Coverage     36.351%   36.800%   +0.449%
- Complexity      1037      1056       +19
===============================================
  Files            209       209
  Lines           9620      9788      +168
  Branches        2389      2435       +46
===============================================
+ Hits            3497      3602      +105
- Misses          5352      5403       +51
- Partials         771       783       +12

Flag
Coverage Δ

unittests
36.800% <62.896%> (+0.449%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...otlin/com/itangcent/common/utils/MultiValuesMap.kt
63.717% <62.557%> (-3.525%)
:arrow_down:

.../itangcent/intellij/config/AbstractConfigReader.kt
50.303% <100.000%> (ø)

Continue to review full report at Codecov.

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


Application_End equivalent

Is there an equivalent model for Global.Application_End in ASP.NET 5?
I'm looking for a way to dispose resources when the application stops.
I see IApplicationLifeTime is available at the server level but it's not exposed at the app level.
Can this be exposed in IApplicationBuilder so that components can subscribe to applicationStopped/Stopping in Startup.Configure?

Take IApplicationLifetime as a parameter to Configure and the dependency injection will do the rest

Very cool! Thanks @benaadams


Preparations for subst() preserving sugared TypeAliasTypes

Mostly NFC, except for the change to have ProtocolConformanceRef::subst() return invalid conformances instead of asserting. That's necessary for the next PR, but shouldn't impact anything today.
Also, I'm adding a couple of crashing test cases for unrelated bugs.

@swift-ci Please smoke test

18:28:52 Failing Tests (1):
18:28:52     Swift(macosx-x86_64) :: Python/python-lint.swift

This ain't me.

@swift-ci Please smoke test macOS


Alphabetic sort

Would be good to be able to sort alphabetically instead of just by time.

I thought this was going to be about sorting your feed list, not sorting the posts in your feed.
Any thoughts on the ability to automatically sort your feed list?


Allow empty host

Using empty host in swagger backend ( "host":"") helps when using Swagger UI because it automatically resolves the host URL (via window.location) and it makes it easier to use swagger across multiple hosts/environments

Also, to make it working on multiple hosts without bothering with deployedDomain I had to change swagger backend to append application root here: https://github.com/sdaschner/jaxrs-analyzer/blob/master/src/main/java/com/sebastian_daschner/jaxrs_analyzer/backend/swagger/SwaggerBackend.java#L100
                .add("host", options.getDomain()).add("basePath", '/'+projectName+"/" + resources.getBasePath())

It is needed because host is empty so swaggerUI will resolve it based on url and append basePath  to make requests.
Here is my swagger.json:
    "swagger":"2.0",
    "info":{
        "version":"1.0.0-SNAPSHOT",
        "title":"apm-arq4"
    },
    "host":"",
    "basePath":"/apm-arq4/rest",
    "schemes":[
        "http",
        "https"
    ],
    "tags":[
        "files",
        "gci",
        "turmas"
    ],
    "paths":{
        "/files":{
            "get":{
                "consumes":[
                ],
...
...

In my opinion this is the simplest way to handle multiple hosts in swaggerUI.
WDYT?

closing as it duplicates #42


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.mihome-vacuum

[ ] [E506] Word "same star ttime of 2 timer not possible" is not translated to german in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] [E506] Word "same star ttime of 2 timer not possible" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2017-2022 bluefox<EMAIL_ADDRESS>at the end of README.md
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2017-2022 bluefox<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.

is fixed in 3.3.4

Thanks, that all bugs have been fixed.


new post type

is it possible to make new post type ?
something like services section.

can you elaborate more on this?

I was trying to add services section.

What will that services section do? Is it a resource? Or will it function differently? If it is a resource, run the command below.
$ php artisan cms:resource services --migrate

On the other hand, if it will function differently, and it will have a logic, create a file in a folder you wish. For instance, if you are going to create some service that will interact with other services like Alexa, you can create a file in the https://github.com/ozdemirburak/laravel-7-simple-cms/tree/master/app/Base/Services folder.


Can't build due to linking failure: FAILED: libdjivideojni.so

Builds (on all platforms) are failing at linkage with:
FAILED: libdjivideojni.so
I've seen this discussed in some other rosettadrone forks but the solutions seem nebulous at best and not clear what the best solution is for this fork. Any ideas? Does anyone have a working apk (with the current Mini 2 support) available for testing? Thanks very much!

Make sure you use git lfs installed in your system and clone it using the commands:
git lfs install
GIT_SSL_NO_VERIFY=1 https://github.com/The1only/rosettadrone.git

Yes, I think you should add it in the README.md.
Thanks & Regards
Himanshu V
Vyorius Drones Pvt Ltd
India


Pro 137 actualizar cordova con novedades

added method to fetch building information in a single call
added method to retrieve information of geofences
added methods to retrieve information about users in real time
fix minor issues

added identifier to floor object in android)
included floor property on floor object (level deprecated)

Ollo, esta PR esta feita contra master, non develop!


Test Issue For Walkthrough Video

We just created this to show everyone, especially new members how to create issues.

I am Ayo, I have just gone through the walkthrough video.


Create Zenodo Community

we need some
description (A short description of the community collection, which will be displayed on the index page of the community)
sth for the curration policy (Please describe briefly and precisely the policy by which you accepted/reject new uploads in this community)
any suggestions?

For the description we could probably use the same text as the website landing page?

I crated the community, be can modify the information in the future :-) https://zenodo.org/communities/sorse20/

Rename to sorse?

https://zenodo.org/communities/sorse/

Can you add our logo their @florianthiery ?

closing this as the community is set up


Too much overlap in AI suggested data elements (Buildings)

Description
In crowded urban areas adding AI data for buildings produce too many overlapping warnings in adjacent elements (buildings) that require extensive edition of elements involved in the conflict.
Implementing the resizing (Up - Down) (Shift + or Shift -) as in ID. Could very much expedite this process, as in real life the elements are not overlapping themselves is just the AI data that shown them overlapped.
Thanks

yep, reimplementing scaling is tracked on #912


fix: update FindRust to work with rustup v1.28.0

Closes #590 by applying the following mapping:

Variable \ Rustup ver.
v1.27.1
v1.28.0

$_TOOLCHAIN_OVERRIDE
(override)
(active)

$_TOOLCHAIN_DEFAULT
(default)
(default) or (active, default)

Rationale
Corrosion would like to find out the path for the active toolchain via rustup toolchain list --verbose from the toolchains marked (override) and/or (default): if (override) is present, then it's active, otherwise (default) would be active:
https://github.com/corrosion-rs/corrosion/blob/b88ec09915a6b12d1aaec7e451ecf0e41a831030/cmake/FindRust.cmake#L423-L428
In rustup v1.28.0 beta (or https://github.com/rust-lang/rustup/pull/3225 to be more precise), we have recognized that this output format has become a common source of confusion among users in determining the active toolchain, so we now mark the active toolchain with (active) instead. Unfortunately, this has broken corrosion's parsing logic.
Verification
Changes verified locally via the following interactions:
> rustup --version
rustup 1.28.0 :: 1.27.1+544 (7ccf717e6 2024-12-23)
...

> rustup toolchain list --verbose # The "default" state.
stable-aarch64-apple-darwin (active, default) ...
nightly-aarch64-apple-darwin ...
nightly-2023-09-30-aarch64-apple-darwin ...

> rustup +nightly toolchain list --verbose # The "override" state.
stable-aarch64-apple-darwin (default) ...
nightly-aarch64-apple-darwin (active) ...
nightly-2023-09-30-aarch64-apple-darwin ...

> cmake -S. -Bbuild -URust_TOOLCHAIN
-- Rust Toolchain: stable-aarch64-apple-darwin
-- Rust Target: aarch64-apple-darwin
-- Found Rust: SOME/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc (found version "1.83.0")
-- Configuring done (0.2s)
-- Generating done (0.1s)
...

> RUSTUP_TOOLCHAIN=nightly cmake -S. -Bbuild -URust_TOOLCHAIN
-- Rust Toolchain: nightly-aarch64-apple-darwin
-- Rust Target: aarch64-apple-darwin
-- Found Rust: SOME/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustc (found version "1.85.0")
-- Configuring done (0.2s)
-- Generating done (0.1s)
...

Concerns

[ ] I'm not sure why -URust_TOOLCHAIN is required to make this work. Has it been somehow set to "" by something?
[ ] Am I doing the verification right? If not, how should I properly verify this change?

The intended way to specify a toolchain is by running cmake -S. -Bbuild -DRust_TOOLCHAIN=xxx. It'st best to rm -rf build to start from a clean build dir when testing.
RUSTUP_TOOLCHAIN=nightly working is a bonus, but most users include corrosion from CMake files, so configuring corrosion via CMake variables is the standard case.

@jschwe Thanks for the quick response! The CI error does look weird to me as it doesn't seem related to my change, is this an pre-existing issue?

Yeah, the CI issue with installing cbindgen is unrelated. It's popped up recently and I haven't had time to investigate what changed and why it's only failing on Linux.

@rami3l Please do note, that I still need to do a backport to the v0.5 branch and cut a new release.


[Feature Request]: Permalink button

Describe the feature you'd like
When viewing a page (or even better a button when viewing a book or chapter) having a permalink button that will automatically copy the permalink to the clipboard. Ideally this should be under the action menu for the individual page. For editors add a button to the side in the book or chapter view with the same functionality. This could even be optionally turned on or off with a setting in the user's profile.
Describe the benefits this feature would bring to BookStack users
MUCH faster way of creating permalinks, easier to explain to non-technical users.
Additional context
No response

Thanks the the request, but this has already been discussed in  #2917 so I will therefore close this off under the same reasoning.


Skeleton for gallery item

no one likes undefined and till waits for being media fetched from the ipfs

yup meanewhile done in main branch


Optional extras2

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge/help-python If possible I would love a review of this. I have been groping my way through a pretty complex set of dependencies and optional extras, not sure if this is how I should structure things.


Logged In Remove buttons on home page

Fuck. I am so bad at using these online repository things
On Jan 31, 2018 11:21 PM, "Mike Mulchrone"<EMAIL_ADDRESS>wrote:

Closed #54 https://github.com/mtmulch/mulchronedigital/issues/54.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mtmulch/mulchronedigital/issues/54#event-1452248138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATe95LfVd6w_y-3yjTTgolLwdiQyQzDcks5tQUnbgaJpZM4RPyU6
.

Documentation soon, promise.

Don't even trip dog. I am starting to get really worried about money right
now. I just don't want my girlfriend to hate me.
On Feb 1, 2018 12:56 AM, "Mike Mulchrone"<EMAIL_ADDRESS>wrote:

Documentation soon, promise.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mtmulch/mulchronedigital/issues/54#issuecomment-362175788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATe95FADfA3MGGVqqtTOsCK-Bs-ue0nPks5tQWANgaJpZM4RPyU6
.


Add codechef problems & solutions

Add problems & solutions from Codechef in the Codechef folder.
This is open to all. Please refer Contributing.md before making a pull request.

I would like to add solutions for Codechef problems in C++ and Python. Could you please assign this issue to me?

I would like to add solution of this problem in C++.
https://www.codechef.com/AUG21C/problems/SPCTRIPS


Two Requests Were Approved To Two Different Accounts But Only One Session Started

Describe the bug
This has happen twice. The first time it happened to me and I wrote it off as a fluke. However, it's happened to another person so I'd like to register a bug. I've tried reproducing the issue but I'm unable to reproduce at will.
A user creates two requests to different accounts. The approver approves both request within at the most 30 seconds of each other. The "access request approved" notification emails are received for both accounts but only one "session started" email arrives. When the user tries to access the permission set using the AWS SSO login page only one account has the permission set available; The same account referenced in the "session started" notification email.
To Reproduce
I am not able to reliable reproduce the issue.
Steps to reproduce the behavior:
I. For two different aws account do the following:

Go to 'Create Request'
Use the default/pre-populated 'Email'.
Select of of the account in the  'Account'  field
Select an available role. We used the same role for both requests
Use the default/pre-populate 'Start Time'
Specify a 2 hour duration
Specify something for the 'Ticket No' field and 'Justificaton' field.
Click the 'Submit' button

II. Ask an approver to approve both requests.
III. Login to the AWS SSO login page and see if the expected permission set in available for both accounts.
Expected behavior
I expect to be able access the specified role in both accounts.
Screenshots
Nj/A
Desktop (please complete the following information):

OS: MacOS 13.5.1
Browser: Chrome
Version: 119.0.6045.123

Additional context
Deploy TEAM Solution Commit: 35ad5a7f43e84ed945d3d72d583ccc115eb9bc1d
Deployment Type: Deployed TEAM in Org account rather than a separate dedicated account.

I will look through the logs and state machines to see what other information I can provide.


Swallow stop working

Hyprland Version
 System/Version info
Hyprland, built from branch v0.38.1-b at commit 360ede79d124ffdeebbe8401f1ac4bc0dbec2c91  (props: bump ver to 0.38.1).
Date: Sat Apr 6 14:24:13 2024
Tag: v0.38.1

flags: (if any)

System Information:
System name: Linux
Node name: calculus1
Release: 6.8.4-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 05 Apr 2024 00:14:23 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
I was able to swallow using kitty or foot terminal before, but now I dont
How to reproduce

Enable swallow in hyprland config:

misc {
  enable_swallow = true
  swallow_regex = ^(kitty|footclient|foot|alacritty)$
}

Open kitty, try open a video using mpv

Crash reports, logs, images, videos
No response

make sure mpv doesn't fork. Have you tried with e.g. a terminal?

make sure mpv doesn't fork. Have you tried with e.g. a terminal?

Here, it doesn't work as well. Weird, it was working before

So, recently I added this line exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY, and it somehow fixed my problem with focus being switch randomly when using foot and other minor issues with ncmpcpp.
I commented this line and swallow is working now. I'm gonna continue testing if those old issues still exists

I also can't make swallow work for me. I tried for both zathura and neovide --no-fork
I had similar line in my hypr.config exec-once=dbus-update-activation-environment --all; systemctl --user start hyprland-session.target but commenting it out and restarting didn't fix the problem.
My config:
misc {
  enable_swallow = true
  swallow_regex = "^(kitty)$"
  # swallow_regex = "^(term-.*)"
}

The terminal window that I run commands from:
Window 5860e0f5ef80 -> Zellij (hopeful-magpie) - Pane #1:
        mapped: 1
        hidden: 0
        at: 3972,739
        size: 1142,695
        workspace: 2 (2)
        floating: 0
        monitor: 1
        class: kitty
        title: Zellij (hopeful-magpie) - Pane #1
        initialClass: kitty
        initialTitle: zsh
        pid: 32916
        xwayland: 0
        pinned: 0
        fullscreen: 0
        fullscreenmode: 0
        fakefullscreen: 0
        grouped: 0
        swallowing: 0
        focusHistoryID: 1

I also can't make swallow work for me. I tried for both zathura and neovide --no-fork

Do you have any progress?

same here

same here

For me 0.40.0 is working

same here

For me 0.40.0 is working

Yes, 0.40.0 in arch offical repo is indeed working, but the new version (AUR) is not.
https://github.com/hyprwm/Hyprland/issues/6095

Same issue here, Hyprland at commit 722d537a91a9beacf9c12fc1317ff1fbe10ffac5 on NixOS

Same issue here, Hyprland at commit 722d537 on NixOS

thanks for bisecting

swallow is working again on latest commit 2566d818848b58b114071f199ffe944609376270

On release v0.14.2  swallow dont work again.

Latest git build works fine for me. Are you sure about your swallowing settings?

I update my Os a few minutes earlier, now is working again...


Add plutip test

Close #353

yeah once it's ready just merge it my computer crashes when trying to load 638 files lmao

I am still working on this, I will be able to remove those files before merging


Unable to open UCP2.14 under WIN XP system. Does version after 2.14 no longer support WIN XP?

I'm not a developer so take what I say with a grain of salt.
The ucp is not tested on other operations systems, just like game versions,
it should work on other versions, but they are not officially supported as
it's a bit much work to test everything on every version and every
operating system.
If you have access to another pc with a later OS, you can copy your game
files over, run the ucp to modify it, then copy back to your xp pc.
On Wed, 13 May 2020, 6:08 pm sayelaoda<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sh0wdown/UnofficialCrusaderPatch/issues/612, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGGWTQ6GUKW46OSHTRDTSDRRJIOJANCNFSM4M7QR6JQ
.

Try using the unofficial build UCPv2.14 found in #587
Most people running Windows XP have the 32-bit version, and the release build appears to work for 64-bit systems only. So using the build in #587 should solve your problem. If not, I recommend doing as GRhin suggested and using a pc with a later, 64-bit OS and then moving the game files.

I'm not a developer so take what I say with a grain of salt. The ucp is not tested on other operations systems, just like game versions, it should work on other versions, but they are not officially supported as it's a bit much work to test everything on every version and every operating system. If you have access to another pc with a later OS, you can copy your game files over, run the ucp to modify it, then copy back to your xp pc.
…
On Wed, 13 May 2020, 6:08 pm sayelaoda, @.***> wrote: — You are receiving this because you are subscri

Try using the unofficial build UCPv2.14 found in #587
Most people running Windows XP have the 32-bit version, and the release build appears to work for 64-bit systems only. So using the build in #587 should solve your problem. If not, I recommend doing as GRhin suggested and using a pc with a later, 64-bit OS and then moving the game files.

Thanks for your reply. I tried, but it didn't work

I'm not a developer so take what I say with a grain of salt. The ucp is not tested on other operations systems, just like game versions, it should work on other versions, but they are not officially supported as it's a bit much work to test everything on every version and every operating system. If you have access to another pc with a later OS, you can copy your game files over, run the ucp to modify it, then copy back to your xp pc.
…
On Wed, 13 May 2020, 6:08 pm sayelaoda, @.***> wrote: — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#612>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALGGWTQ6GUKW46OSHTRDTSDRRJIOJANCNFSM4M7QR6JQ .

Thanks for your reply.

@sayelaoda can you give some info on what 'does not work' mean exactly? Is there an erro message? Does the window open and close? Is there anytbing else that might be fixed by installing some .net framework components from newer OS versions?

@sayelaoda can you give some info on what 'does not work' mean exactly? Is there an erro message? Does the window open and close? Is there anytbing else that might be fixed by installing some .net framework components from newer OS versions?

something like
"is Not a valid win32 application"
but ,I tried #587 and it still shows the same "Not a valid win32 application"……


Equality testing and hashing

Hi there! I am interested in using spectra as a colour library and was hoping that it could perform equality testing and hashing. Currently, this is the state of equality testing:
spectra.html('black') == spectra.html('black') # False
spectra.rgb(1, 0, 0) == spectra.rgb(1, 0, 0) # False
hash(spectra.rgb(1, 0, 0)) == hash(spectra.rgb(1, 0, 0)) # False

Would you be open to a PR that implemented equality testing through the __eq__ and __hash__ methods?

Hi @connorferster, and thanks — that seems like a reasonable PR. I'm curious what the plan is for comparisons such as:
spectra.html('black') == spectra.rgb(0, 0, 0)

On the one hand, I can see returning True, but then that sets up a similar expectation for all inter-color-space comparisons, some of which are not as precisely comparable as others. Or perhaps the comparison above raises a custom error?

Hi @jsvine,
I asked a seemingly simple question but one that raises so many other questions. While I may be approaching this too naively, here are my thoughts.
It seems that, regardless of the colour space used, the Color class always creates an RGB conversion and stores it in the .rgb attributes as a tuple. It is quoted in the README.md that spectra uses the colormath convention that allows RGB conversion to go out of gamut which suggests to me that "any" color created will always have a comparable RGB representation stored, regardless of whether it is valid or not.
My thoughts on comparison possibilities:

Use this stored .rgb attribute as the equality comparison between colour spaces allowing comparison across all colour spaces (is such a concept valid between colour spaces?)
Allow only equality comparison between instances in the same colour space or limited sets of colour spaces (e.g. rgb <-> html). If comparisons are attempted between invalid colour spaces, a ValueError would be triggered explaining that two different colour spaces cannot be compared (or that the these two colour spaces cannot be compared).

One problem that will likely come up will be doing comparisons between floats in the tuple, which makes things difficult. Is it a good assumption to say that rgb(0.499999999999, 0.499999999999, 0.499999999999) and rgb(0.5, 0.5, 0.5) are equal? I do not know.
Another problem is with mutability and hashing. Currently Color objects are not frozen or immutable however, the convention is that when a Color object is "modified" by using one of the methods like .brighten, a new Color object is returned. This implies that Color objects are immutable or at least should be thought of this way. To make Color frozen would be good practice for hashing and could be handled easily by making Color a dataclass with the frozen attribute set to True. Would making Color a frozen dataclass break anything?
Applications that I had in mind:

If Colors are hashable (and comparable for equality), they can then be used in set operations
In documents, text and annotations are sometimes assigned a colour value for different purposes. It is useful to be able to write tests like, "if the colour of this component is equal to x, then do y".
Additionally, if the common colours are used ( e.g. rgb(1, 0, 0)) it is also nice to be able say html(red) in the code to make it more human-readable (possible by comparing across (some) colour spaces). Like, "give me the list of words that are pink highlighted".

Let me know what your thoughts are on all this. If this is beyond the scope of what you think spectra should be used for then maybe it's best not to open the can of worms that might result from this. However, I really like the spectra API and how user-friendly it is. I thought this could be a good feature, if it is handled in an intuitive, reasoned, and well-documented manner.

Thank you for the thorough set of thoughts, @connorferster! Given your set of interests and concerns, I'd propose something like the following:
def __eq__(self, other):
    if self.space == other.space:
        return self.values == other.values
    else:
        return self.rgb == other.rgb

... so if the two colors use the same space, they are compared strictly based on their values. But if they do not use the same space, they are compared via RGB conversion. (spectra's conversions use https://python-colormath.readthedocs.io/en/latest/conversions.html.)
The downside of this approach is that you could theoretically get a situation where A == B and A == C but B != C, if A is in one space, while B and C are in another. But I think it's worth it (given competing demands), and can be handled with clear documentation. And if someone wants to do strict equality testing, they can do a.space == b.space and a.values == b.values.
For a similar reason, I'm not terribly concerned about the float comparisons; it should not affect the most common types of comparisons (e.g., those in the same colorspace or with simple conversions such as "red"->(1, 0, 0)) and the fact that conversions may result is hard-to-compare values can be documented.

@jsvine That sounds good to me. The final question is, "How would you like to hash?" Since, we are basing equality testing, ultimately, on self.rgb then perhaps the implementation should be:
def __hash__(self):
    return hash(self.rgb)

Then, in most cases, it will hold true that Color(...) == Color(...) # True  and hash(Color(...)) == hash(Color(...)) # True but some may consider the behaviour surprising between different color spaces, even though it is consistent with the Python guidelines for hash.
However, in order to implement __hash__, the instances should be immutable. What are your thoughts on using dataclasses.dataclass to implement the Color object as an immutable object?

Thanks for raising these questions. One bigger question: What would the goal of implementing __hash__ be here?
As I understand it, for example, __hash__ is necessary for calling set(...) on a list of items. Take this expression:
set([
  spectra.html('black'),
  spectra.rgb(0, 0, 0),
  spectra.hsb(0, 0, 0),
])

... would you want it to return {spectra.html('black')}? To me, that seems somewhat strange / unexpected, given that these are values in different color spaces. But what do you think?
And are there other more pertinent use-cases you have in mind?


Add spinner and concurrency module

Description
Added a spinner that can be used for running applications using the ipc module.
Type of change

New feature (non-breaking change which adds functionality)

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] If it is a core feature, I have added thorough tests.
[x] If this is a new component I have added examples.
[x] I updated the README and related documentation.

@filippobrizzi I can't seem to get clang-format happy :(


WIP: Adding handling for slice:failure to rollback offsets and handle retr…

…ies correctly. fixes #18 #17
This has one negative side effect. If you have a job that is having slice failures caused by a minor issue like the occasional bad record in the data then this functionality will block that job from moving forward. Even thought the "slice" will retry 3 times and then be marked as failed, the next slice will still pickup where the previous slice left off and continue to fail in the same way. Because of this I added the option 'rollback_on_failure' which can be disabled to prevent the job from getting stuck. Setting that to false will result in data loss if a slice fails but in some scenarios that will be the lesser of two evils as it may be more important for the job to progress than to be retrying on minor failures.
This caveat is considerably less than optimal but until we can put control of offsets and slice allocation under the control of the slicer it's a compromise we're stuck with.

Labeling this WIP as I'm uncomfortable with the current behavior.

Will proceed with rollback_on_failure set to false by default. Once we've had some time to evaluate the behavior on production jobs we can reconsider the default.


MLX Swift equivalent to torchvision.transforms.Compose?

Hello!
Is there a good replacement for torchvision.transforms.Compose in MLX Swift or Swift more broadly? Any guidance would be appreciated -- I'm still very early in my journey with Swift.

Are you looking for the transformations or the ability to compose layers?  If the latter:

https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlxnn/sequential

Thanks, David.
But I'm looking for the transformations -- I'm trying to rewrite these lines from the Moondream2 VisionEncoder in Swift.
I've gathered that I'm probably going to have to recreate these transforms myself, but are you aware of any example code that might be a helpful reference?

@awni any thoughts?

For what it's worth, my ultimate goal is to have inference from moondream2 (or other multimodal models) running within an iOS app.

@tctrautman I think what you are looking for is composable data transformations. We don't have anything like that in MLX core or MLX Swift. You would need to build those transforms out of core ops and then an API to compose them.
We have a similar composable data transformation API in MLX Data but it is currently only Python / C++ with no immediate plans to extend to Swift.
For the example you gave, all the transforms are trivially implementable in MLX operations with the exception of the resize which depending on the interpolation may not be as easy to do.
I'm not as familiar with the broader Swift ecosystem so I couldn't say if there is already a package which provides these sorts of transformations..that might be something to look for first before reimplementing stuff.

If you are loading images and want to transform them before running them through the model there are a couple options:

CoreGraphics and ImageIO will let you load an image and transform the image with crops and scales
CoreImage is an extremely powerful image pipeline that will let you load images and perform arbitrary image processing graphs on them

CoreGraphics is appropriate if you need minor processing in the image pipeline and CoreImage is better if you need a wide array of filters.

Great, thank you both -- this has been helpful context.


what if i made a schema lib

Zod isn't really doing it for me as it's a one way validation library. For my use case I need a bidirectional transformation.

yeah no, don't want to maintain this. Might copy it into a project if I ever need it


signalbackup-tools: 20230730 -> 20230830

Description of changes
Update to latest version. No changes that effect build.
Diff: https://github.com/bepaald/signalbackup-tools/compare/20230730...20230830
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

I can't merge this right now, please find someone else for the time being.

@wegank, can you merge?

Result of nixpkgs-review pr 249181 run on aarch64-darwin 1

1 package built:

signalbackup-tools


Update microsoft-xps-document-writer.md

changed the repair note so that it is now accurate

Thanks!


Add lockColumnGroups config to GridModel

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Toolbox pr adding controls to grid test panel: https://github.com/xh/toolbox/pull/454

Hard to disagree with this! 👍


chore(main): release 9.6.1

:robot: I have created a release beep boop
9.6.1 (2024-11-14)
Bug Fixes

#423 diff provider and before inline prompt (f9a54cc)
#427 long prompts causing issue with curl (d5bef40)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v9.6.1
:sunflower:


Update dependencies

resolves #115
resolves #116

This performs a full dependency update. While most of this was painless, I put the AWS update into a separate commit. For that, I started with the automatic codemod and then manually patched all remaining issues in reasonable ways.
I created this PR against #108 because again I think this should be tested on dev first due to the AWS changes. Maybe both PRs can then be tested together before putting them on master.

Fixed and deployed this PR to http://dev.scrum-poker.aws.tngtech.com.s3-website.eu-central-1.amazonaws.com. It required switching the lambdas to Node 18 as SDK@v3 is only available there.

Looks good to me, thanks a lot!


VM management IP is down when the VM is restarted

Description:
VM management IP is down when the VM is restarted
Expectation:
Persist the VM management IP on VMI restart.

link to PR https://github.com/rancher/harvester/pull/301

Steps to verify:

Create a VM, login to it, and check on its mac address
Restart the VM, check the mac address again

Result:
Mac address persists


feat: added new options to the `find' command for smart-case/case-insensitive finding

Close #239

Well done! I'd like to hide it behind find --smart and change the default / and ? to it.
This will be advantageous for us to later add something like find --insensitive without breaking the default (sensitive) behavior.

I added --smart-case and --ignore-case flags and changed keymap to use --smart-case.

Thank you!


Support associations inside embeds

When embeds were introduced it was never considered that an association could be inside an embed. Because of this, it silently fails.
There are couple places where changes are needed:

casting - as attempted by https://github.com/elixir-ecto/ecto/pull/1833
persisting - amending the surface_changes function in https://github.com/elixir-ecto/ecto/blob/master/lib/ecto/repo/schema.ex#L491-L528
possibly other, that I haven't considered.

While it makes little sense to use associations inside embeds in SQL databases, the main use case would be in various NoSQL ones, where this seems like a completely reasonable thing to do.

I would also add that embeds should also work inside an embed.
I think this type of recursion shouldn't be limited by Ecto because each design is not right or wrong it always depends on how it will be used at max show a warning if the recursion is really going deep

Embeds inside embeds should work correctly. This is a use case that is extensively tested.

Looks likes it worked in version 1.0.0, because i'm have this pattern in my app & its tests. After upgrade to 2.0 this pattern is failed.
Example app which uses same pattern & fails on PG:
https://github.com/merqlove/some_ecto/blob/master/test/some_ecto_test.exs

Error is because embed structs don't have __meta__.
It was in 1.0:
https://github.com/elixir-ecto/ecto/blob/v1.0.0/lib/ecto/schema.ex#L319
But not in 2.0:
https://github.com/elixir-ecto/ecto/blob/v2.0/lib/ecto/schema.ex#L337

Aha, i found workaround for embeds :)
assert Repo.preload(pts, :party, prefix: nil)

I am closing this for now. If someone is interested on this feature, a pull request is welcome!

+1 for associations inside embeds.


TaskCat docker image fails new CF resource property /ReplicationGroup/Properties/MultiAZEnabled

Describe the bug
TaskCat docker image latest tag is outdated: https://hub.docker.com/r/taskcat/taskcat/tags
As suggested by cfn-lint group: https://github.com/aws-cloudformation/cfn-python-lint/issues/1629, could you please check if you guys are pinning dependency version on cfn-lint?
To Reproduce
Steps to reproduce the behavior:

Are you testing a QuickStart or Custom template?
Use the TaskCat docker image
Attach or link a copy of the template if possible (remove any sensitive info)
ReplicationGroup:
Type: 'AWS::ElastiCache::ReplicationGroup'
Properties:
AutomaticFailoverEnabled: !Ref MultiAZSupport
MultiAZEnabled: !Ref MultiAZSupport
CacheNodeType: !Ref CacheNodeType
CacheSubnetGroupName: !Ref SubnetGroup
Engine: redis
NumCacheClusters: !Ref NumCacheClusters
Port: !Ref RedisPort
PreferredMaintenanceWindow: !Ref PreferredMaintenanceWindow
ReplicationGroupDescription: !Ref ReplicationGroupDescription
SecurityGroupIds:
- !GetAtt
- SecurityGroup
- GroupId
SnapshotRetentionLimit: !Ref SnapshotRetentionLimit
SnapshotWindow: !Ref SnapshotWindow
AtRestEncryptionEnabled: false
TransitEncryptionEnabled: false
Provide the parameters that you passed. (remove any sensitive info)
MultiAZEnabled property will fail lint no matter what value provided.
How did you install taskcat? (docker or pip3)
Docker image
Are you using a profile, an instance role or  access keys to run taskcat?
access keys
Is your AWS environment configured via aws configure?
yes

Expected behavior
TaskCat docker image should have the latest cfn-lint and should not fail new CF resource properties
Screenshots

**Version (Please make sure you are running the latest version of taskcat)

Docker image: taskcat/taskcat:latest

Note: Python Version (python3 required)
To find versions:
Via taskcat: taskcat -V
Via pip3: pip3 show taskcat
Note: both version should match
To update taskcat run:
for docker : docker pull taskcat/taskcat
for pip3: pip3 install --upgrade taskcat
Additional context
Add any other context about the problem here.

Any update on this? I see in the other issue, you mentioned that your docker build is broken, which is causing the issue. Any ETA on when this will be fixed? Thank you for your time.


[Service Bus] Clear diagnostic properties on clone

Summary
The focus of these changes is to ensure that the diagnostic properties of ServiceBusReceivedMessage are cleared when it is used to create a new ServiceBusMessage.  Previously, the diagnostic id was erroneously kept, making it look like a single message was being received and sent multiple times.
References and resources

Azure Service Bus sender - opt out of automatic Diagnostic-Id setting

/azp run net - servicebus - tests

API change check
API changes are not detected in this pull request.


Single pixel png causes "Ran out of data" error

I've created an issue in the pngjs library as well, since that's where the root problem is. Not sure if there is anything that jimp can do to prevent the problem if/until pngjs is fixed...
https://github.com/lukeapage/pngjs/issues/65

I see there's some activity on that issue; looks like it will get a fix soon on the pngjs level. When it does, would you be able to send a PR to this repo, bumping the pngjs version number appropriately?


How to position tooltip at the center of its child?

I've declared an HTML input inside the tooltip and I wanted the tooltip to be shown right at the middle of that input. Is there an easy way to achieve this?

Nvm, all I had to do was use the input as my the tooltip source. Great work man, thanks!


extend header for 'attachment types' detailed list under Config List

extend header for 'attachment types' detailed list under Config List

done


allow http/https requests through https proxy

Fix https://github.com/shazow/urllib3/issues/476
urllib3 http/https examples
python -c "print __import__('urllib3').ProxyManager('https://bwg.phus.lu').request('GET', 'http://httpbin.org/ip').data"
python -c "print __import__('urllib3').ProxyManager('https://bwg.phus.lu').request('GET', 'https://httpbin.org/ip').data"

requests http/https examples
python -c "print __import__('requests').get('http://httpbin.org/ip', proxies={'https': 'https://bwg.phus.lu', 'http': 'https://bwg.phus.lu'}).text"
python -c "print __import__('requests').get('https://httpbin.org/ip', proxies={'https': 'https://bwg.phus.lu', 'http': 'https://bwg.phus.lu'}).text"

Signed-off-by: Phus Lu<EMAIL_ADDRESS>

Thanks for your response!

we need to write tests for this functionality before we get any where near merging it.
Yes, of course.

If not, presumably we just want to treat this like a plaintext proxy with the added caveat of validating a TLS cert sent by the proxy upon connection. In that case, this isn't really the right approach either.
Oh, agree you.

I will close this pull request and submit another one after I resolved this issue.

Update:
python ssl module has a issue to implement CONNECT over https-proxy.
see http://bugs.python.org/issue29610
I will continue to working on https://github.com/phuslu/requests_httpsproxy to resolving these issues.

Update:
Because of above limitation of python ssl module(same as pyOpenSSL), I figured out that only tlslite[-ng] could implement tls over tls tunnel.
Below codes show that how it works.
>>> import tlslite, ssl, socket
>>> sock = tlslite.TLSConnection(socket.create_connection(('<IP_ADDRESS>', 8443)))
>>> sock.handshakeClientCert()
>>> sock.sendall('CONNECT httpbin.org:443 HTTP/1.1\r\nHost: httpbin.org:443\r\n\r\n')
>>> sock.recv(1024);
'HTTP/1.1 200 OK\r\n\r\n'
>>> conn = tlslite.TLSConnection(sock)
>>> conn.handshakeClientCert()
>>> conn.sendall('GET /get HTTP/1.1\r\nHost: httpbin.org\r\n\r\n')
>>> print conn.recv(1024)
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 22 Feb 2017 14:19:51 GMT
Content-Type: application/json
Content-Length: 133
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true

{
  "args": {},
  "headers": {
    "Host": "httpbin.org"
  },
  "origin": "<IP_ADDRESS>",
  "url": "https://httpbin.org/get"
}

Will continue to requests-httpsproxy works base on above code snippet.

Update:
A dirtry&draftly requests_httpsproxy prototype works in commit https://github.com/phuslu/requests_httpsproxy/tree/25e9d680cc9a6db64c461bffd06d328a49e6d86d

Update:
Now requests-httpsproxy is available on https://github.com/phuslu/requests-httpsproxy . Thanks.

@phuslu This means using HTTPS proxy with socket?


Yfinance not generating full date range

Yfinance is pulling only the last few days from my date range from 13 Sept - now.
Can anyone help fix this issue?
Thanks!

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
import datetime as dt
import statistics
import yfinance as yf

import pandas_datareader.data as web

stock_data = {
'Eicher': 'eichermot.ns',
'Nestle': 'nestleind.ns'}

yf.pdr_override()
start = dt.datetime(2021,9,13)
end = dt.datetime.now()
#end = datetime.datetime.now()

for name, ticker in stock_data.items():

ticker = web.get_data_yahoo(ticker, start, end)

for day in ticker:

    ticker['True_Range'] = (ticker['Adj Close'].shift(1) - ticker['Low'])

    ticker.dropna(inplace=True)

    weekly_dynamic_sigma = 1.5 * statistics.pstdev(ticker['True_Range'])
    mean_tr = statistics.mean(ticker['True_Range'])
    gap = mean_tr + weekly_dynamic_sigma

    prev_close = ticker['Adj Close'][-1]
    current_price = ticker['Adj Close']
    Buy_Zone = ticker['Adj Close'][-1] - gap

print(f'\t~~~~~~~~~~\n\tBUY  zone:  {Buy_Zone.round(2)}\n\t~~~~~~~~~~\n')

Problem still happening?


Release 1.999.0?

https://github.com/microsoft/vscode/releases/tag/1.999.0
What is this? One doesn't simply typo the release 1.999.0 and if something like that actually were to happen, a release could just be taken back.

Seems gone already.

It is still there.

Should be gone now. Seems last time it came back since someone pushed 1.999 tag again.


Add TouchableOpacity support

Is this possible?
just so you can see if you press the item.

You can on the image itself, but not on the overall element. Would need to write some additional code to handle this.

oh I see.. So you have to wrap your image on a custom component with TouchableOpacity..
thanks! you just gave me an idea


[Snyk] Security upgrade openjdk from 8u252-jre to 8u342-jre

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

base/spring/with-h2database/1.4.200/Dockerfile

We recommend upgrading to openjdk:8u342-jre, as this image has only 172 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

729
Out-of-bounds Write SNYK-DEBIAN10-FREETYPE-1019582
Mature

844
Resource Exhaustion SNYK-DEBIAN10-NGHTTP2-5953390
Mature

786
CVE-2023-26604 SNYK-DEBIAN10-SYSTEMD-3339153
Mature

786
CVE-2023-26604 SNYK-DEBIAN10-SYSTEMD-3339153
Mature

721
Access Restriction Bypass SNYK-UPSTREAM-OPENJDKJRE-2767963
Proof of Concept

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Resource Exhaustion
🦉 Access Restriction Bypass

Checkmarx One – Scan Summary & Details – 665397b8-db6c-486d-a5db-f0494c161d10
No New Or Fixed Issues Found


Add kubelet to the master via standard mechanisms.

LGTM

Sorry if I missed some bits of information, but why do we need a kubelet running on the master?

@antoineco we run the Kubelet on the master today. The master components run as pods as well.

Thanks @vmarmol for the quick answer. So this commit (and the ones which followed for other cloud providers) are just meant to prepare the field for running k8s components in pods in the near future right?
In the current setup the master's kubelet logs are flooded with warning because the master itself is not registered as a node, can it already be handled in some way? (apart from registering the master and making it unschedulable :) )

Yes, although this change in particular was to make explicit something that we relied on but didn't verify.
Handling the master (by doing exactly what you describe) is being worked on right now :)


black screen when open mp4 video in windows 10

i installed VoTT using Binary, but appear black screen when i open mp4 video.
btw, it appear the same issue using npm way and no any error message.
who can help me ,thanks in advances!
i use windows

I have this same issue.   Original video is .avi.  I converted it with ffmpeg.  The video itself plays fine.   Selecting the video on a Win10 box and also on a linux box produces a completely black screen with no next/prev buttons or any other controls.

same problem here

problem solved for me when I convert mpeg4 to h264 :

ffmpeg -i 2.mp4 -vcodec libx264 -acodec aac output2.mp4

so, my vedio is . mp4, it comes black screen, when i open the vedio, how to slover?
pc: win 10 + x64

下载 格式工厂 将 MP4 视频转流 wei h264格式的 就行了

+1
.avi on Win10 + x64 is not shown.


GetVersion wanted()

To make the testing and the documentation of the testing (test log files) more transparent, if would be helpful to have the possibility to ask the JsonPreprocessor for the version and date:
oJsonPreprocessor = CJsonPreprocessor()
sVersion = oJsonPreprocessor.get_version()

It would also be possible to use the version for a version control (between test and JsonPreprocessor).

@namsonx : What is the status of this issue?

Hello Holger,
I have just added getVersion() and getVersionDate() methods to JPP package via commit f144270f6aacb on stabi branch.
Thank you,
Son

Feature works like expected. Issue can be closed.

solved with version 0.10.0


Add retry decider function for GCS

This PR must have been based on the gcs-conformance-testing branch.
So, work will continue on this PR https://github.com/googleapis/google-cloud-php/pull/5709


Agents don't connect the server

Hi,
I am new to Zabbix and found your charts so I started using it:

It uses 5.0-latest, 5.2-latest is the current one
I like the idea that there is a DaemonSet of agents, but those agents are never connecting to the server
The agent in the server is "red" it i unable to report
It would be nice to have a nodeSector for zabbix-server and zabbix-web (I have hybrid cluster of amd64 and arm64)

Here is an example log of an agent:
    92:20210327:131101.318 no active checks on server [zabbix-server.zabbix.svc:10051]: host [zabbix-agent-5zbsk] not found

Log entry from zabbix-server
   271:20210327:155947.416 cannot send list of active checks to "<IP_ADDRESS>": host [zabbix-agent-qnfds] not found

What is the intended function here?

Sorry, I reported this to the wrong helm chart


[AIRFLOW-888] Don't automatically push XComs

XComs are no longer automatically pushed by Operators that return values, but
the behavior can be enabled in airflow.cfg.
Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-888

Testing Done:

Added unit test

See also: https://github.com/apache/incubator-airflow/pull/2048, adds a maximum size for XComs

Codecov Report

Merging #2092 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2092      +/-   ##
==========================================
+ Coverage   66.98%   67.03%   +0.05%
==========================================
  Files         142      142
  Lines       10731    10734       +3
==========================================
+ Hits         7188     7196       +8
+ Misses       3543     3538       -5

Impacted Files
Coverage Δ

airflow/example_dags/example_xcom.py
62.5% <ø> (ø)
:white_check_mark:

airflow/configuration.py
84.42% <ø> (ø)
:white_check_mark:

airflow/models.py
86.1% <100%> (+0.02%)
:white_check_mark:

airflow/jobs.py
73.49% <ø> (+0.42%)
:white_check_mark:

airflow/ti_deps/deps/not_skipped_dep.py
100% <ø> (+11.11%)
:white_check_mark:

Continue to review full report at Codecov.

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

@jlowin How are you? What do you want to do with this PR?

@r39132 hello! I think this is stale by default at this point -- I'll close it.

Thx @jlowin What do you want to do with the Jiras?


Avoid having the same name for namespaces & classes (Storage.FileSystem.FileSystem)

remove the Filesystem from the package in origin/feature/substance


I think currently there is lot of rerendering

Current system is abit broken. Changing route don't refresh it properly I have modified to following code and it is working correctly . Can you review it.
<template>
        <component :is="currentLayout"/>
</template>

<script>
export default {
    name: 'VueExtendLayout2',

    props: {
        layout: { type: String, default: 'default' },
        path: {
            type: String,
            default: 'layouts',
        },
    },

    data() {
        return {
            hasLoaded: false,
            layoutName: 'default',
        };
    },

    watch: {
        '$route.meta.layout': {
            immediate: true,
            handler(newLayout) {
                if (!newLayout) { this.layoutName = this.layout || 'default'; return; }
                this.layoutName = newLayout;
            },
        },
    },

    computed: {
        currentLayout() {
            const ln = this.layoutName;
            return () => import(/* webpackChunkName: "layout-[request]" */ `@/${this.path}/${ln}.vue`);
        },
    },
};
</script>

Send me a pull request with your approach.
I would be grateful for this.

Send me this pull request as fast as you can.
Your code made things much cleaner.
<template>
  <component :is="currentLayout"/>
</template>

<script>
export default {
  name: "VueExtendLayout2",

  props: {
    layout: { type: String, default: "default" },
    path: {
      type: String,
      default: "layouts"
    }
  },

  data() {
    return {
      layoutName: 'default'
    };
  },

  watch: {
    "$route.meta.layout": {
      immediate: true,
      handler(newLayout) {
        if (!newLayout && !this.$route.name) { this.layoutName = null; return; }
        if (!newLayout) { this.layoutName = this.layout || "default"; return; }
        this.layoutName = newLayout;
      }
    }
  },

  computed: {
    currentLayout() {
      if (!this.layoutName) return
      const ln = this.layoutName;
      return () => import(/* webpackChunkName: "layout-[request]" */ `@/${this.path}/${ln}.vue`);
    }
  }
};
</script>

These lines

if (!newLayout && !this.$route.name) { this.layoutName = null; return; }
if (!this.layoutName) return

Prevents the default from loading before when the routes use beforeRouteEnter, such as this delay on the contact page.
https://github.com/ktquez/vue-extend-layout/blob/master/example/src/views/Contact.vue#L9
Repro: https://vue-layouts2.surge.sh/contact
In the next versions make available the possibility of using a "loading layout", to avoid going blank until the route loads completely.

@ktquez hmm you could have added it at the end the goal is to make this package good for everyone :)


add screenshots folder to keep track of freesound-player's appearance as we update its programming

Title says it all!

Done! README.md currently references a screenshot in the screenshots folder I just added, so users will have a preview of freesound-player's appearance.


Test failure: CanValidateMixDataAnnotations

This test fails occasionally with the following error:
Expected: DataAnnotation validation failed for members Dep1, Dep2 with the error 'Dep1 != Dep2'.
DataAnnotation validation failed for members Required with the error 'The Required field is required.'.
DataAnnotation validation failed for members StringLength with the error 'Too long.'.
DataAnnotation validation failed for members IntRange with the error 'Out of range.'.
DataAnnotation validation failed for members Custom with the error 'The field Custom is invalid.'. - I don't want to go to nowhere!
Expected: True
Actual:   False
   at Microsoft.Extensions.Options.Tests.OptionsBuilderTest.ValidateFailure[TOptions](OptionsValidationException e, String name, String[] errors) in /_/test/Microsoft.Extensions.Options.Test/OptionsBuilderTest.cs:line 399
   at Microsoft.Extensions.Options.Tests.OptionsBuilderTest.CanValidateMixDataAnnotations() in /_/test/Microsoft.Extensions.Options.Test/OptionsBuilderTest.cs:line 616

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on master.
CC @Eilon (because the bot doesn't know who else to pick)
This issue was made automatically. If there is a problem contact ryanbrandenburg.

@HaoK

This appears to be the same as https://github.com/aspnet/Home/issues/3506, can I dupe?

Yeah. Not sure why a new issue was opened.


getting folks involved

I started this small discussion in #528 and I was going to reply there, but since my reply got somewhat long, I decided to open a separate thread to avoid hijacking that one (further).
Le me said:

what do you guys think about asking for more feedback? Adding some lines in the wiki and/or maybe in the updater scripts might help with that.

Le :jeans: replied:

Not sure re asking for contribs/feedback. I def wouldn't add anything to the updater scripts (without looking I assume it has a link to this repo). The user.js already lists this repo (and surely people can see that its github and they can open issues and ask questions).

My current reply:
I was thinking mostly about giving #438 more visibility, but reminding folks that feedback in general is welcome is as simple as adding a single line here and there anyway.
My reasoning is the following: this user.js + wiki + scripts/tools are all great awesome:exclamation: by themselves, but the discussions we have here can be super informative, IMO. I'm glad I'm curious because that got me involved to an extent (and I've honestly learnt a lot from everyone else involved), but if I wasn't as curious, I could have missed on that opportunity altogether. Those who land here can just move to the wiki from there, or simply DL the files and leave, never bothering to take a look at the issues. I wouldn't be surprised if many did just that. Encouraging folks to get involved might be worth it, that's all I'm saying.
Similarly, more (unnecessary) recursive links on the wiki would likely get more people to read the stuff. Links are more powerful tools than it seems. Actually, there are already some unnecessary (but useful) links in there, but there could be more. When I have time, I can help with that if you want. I can mirror the wiki on my fork and do some changes there to show you what I'm talking about.
Anyway, it's just something that crossed my mind. Feel free to close this issue if you disagree. It's OK with me if you are feeling lazy and don't even want to reply :thumbsup:

@earthlng check yur mail

Sounds great. I'm glad you were curious and found us here in the 1st place because your contributions have been (and continue to be?) really awesome. If we could find a few more guys or gals like you that'd be great

Every good great repo needs a :cat2: I echo earthlng's sentiments. Outstanding contribs and a little something for you, if you want it, in your email. No pressure :) but you'll be able to do MOAR, if you want. It's not compulsory. I trust you, and your sound judgements :kiss:

@claustromaniac wrote

Encouraging folks to get involved might be worth it

The intention is worthy but I'm not sure encouragements, incentives are what will motivate a user to dig any deeper than what is own, personal temperament leads him to. My opinion is that those among us, the non-savvy, who were sufficiently open-minded, curious to find this great Ghacks-user.js tool, then to read it without applying it blindly and discover the links to this GitHub repository are unlikely to be over-motivated, encouraged : you can inform people but I don't think you can take them by the hand towards a better world. This said, I do believe in sharing the availability of tools such as Ghacks-user.js , whenever the opportunity, in life, on chats, forums, blogs, but that being done it'll be a personal choice to travel with the handed ticket.

you can inform people but I don't think

So what you're trying to say is "You can lead a whore, to culture but you can't make her think" "You can lead a horse to water, but you can't make it drink" ?

I'm trying to say is that IMHO informing is valid when proselytism is less or not. If someone asks, inform; if you feel there's an opportunity to inform regarding the context then inform. But after that it's up to the winner to validate or not the ticket, which is good if you consider you might be mistaking and bad if you're convinced of being right. Beyond that, you don't change people, but you can inform, for sure.

^^ yeah, I got all that. I was just injecting some humor and my spin on it (the quote by the way, is from Dot Parker, but the word used was horticulture). I always aim to just inform. The whole browser & web tech thing is so complicated and vast, and so many options available, that no one size will ever fit all, which is why I've pushed the point that it's a template, and tried to keep explanations as simple as possible (and provide relevant links). Information is power. And we encourage users to use overrides. On a personal level, I generally don't trust anyone or anything, and always want to check it out myself (which ironically often means I have to eventually trust someone!)

Humor is both a reference to good sense quite often and good medicine for all. When some wonder if angels have a sex I rather wonder if they have humor.
Anyway, concerning this balance you implicitly evoke between complexity, understood then explained and considering settings which may be appreciated differently from one user to another (commented settings and explained why they are commented) no doubt -- and everyone know it -- you're doing a great job.
Echoing the personal level I'm as well so far from naivety that I sometimes flirt with suspicion. There again the quest of the right balance. Confidence is good, when deserved, relaxes. There are still people, places worth our confidence, fortunately.
I'm tuned here, more as a reader than actively because I learn far more than I could otherwise share.
Appreciated and, nowadays, worth being emphasized.

@:jeans:,
First, I have to say I'm humbled by your invitation, and I'm grateful.
That being said, I have some questions:

Is it just so I can edit the wiki and such? If that is the case, wouldn't it be better to allow everyone to edit the wiki?
Is it supposed to feel like I'm somehow walking into a trap? Some part of me can already feel the :trollface:'s coming...
If there is some intent to motivate me to contribute more, is it not likely for this to backfire and make other collaborators/contributors feel underappreciated?
Am I overthinking it?

...and, finally:

Do you understand and accept that the first thing I'll do as a member is to add a new NEEDS JESUS label?

P.S.: I must admit that not getting locked out of discussions as easily anymore is tempting... :trollface:
@StanGets,
I concur.
Maybe my initial choice of words wasn't ideal. I was merely thinking of it as I believe a web developer would: in practical terms. Redundant and/or recursive links simply give visibility and ease navigation (when used well). That to me is an indirect way of informing. It's merely a matter of design, really. I didn't specify how I'd do this, but I wasn't thinking of adding any long or overly wordy statements. On the contrary, well done recursion leads to less repetition, which leads to more compact information overall.
In my opinion, such efforts would be wasteful in many other repositories because not all repos share the same dynamic sort of discussions. It seems to me that GitHub users are generally expected to open issues and otherwise interact with each other mostly to provide feedback on the project(s) in question, but in this repository there are many FYI discussions that I think many can easily miss because it's simply not something they would normally expect to see. That's what I was trying to get at, for the most part.

@claustromaniac I do understand your idea of bringing some sort of signposts in an area which adds the imperatives of the owner (GitHub) to the relative organization possibilities of the tenants so to say. I pointed out users motivations rather than the pertinence of your idea.
You know the place and the area, not me. I'm a basic user and read as I wrote above rather than actively participating. You're far more entitled than me to be legitimate when proposing and it's by the way none of my business. As I said I have in mind users, basic users in the same way your idea was to facilitate their travel here, but IMO there's enough organization for even a basic visitor as myself to make his way... provided a minimum of efforts and i'm not sure more "panels" would bring much more. An example : myself, when in another thread I had asked for information regarding an extension which was already discussed in the very thread... so I know what I'm talking about!
Organization is tedious because topics often belong to different categories, which is why, IMO, excessive organization may lead to less understanding. Be it here or in any other "populated" GitHub domain there are always people who mistake on where to find and on where to write.... even when topics are clearly mentioned.
You know, that was just a quick thought, nourished by no experience really of the place, only meaningful maybe because of that : how a non-initiated moves around here and finds or not his way, and my opinion was that it is most often the hurry or laziness that drives to the wrong topics, anyhow when the fundamentals are clear enough without being overdone, as it is here, again IMHO!
I come quite often but most of the time for the same reasons. Should I take the time to visit each topic that I'd certainly be more "right to the point", but it's my effort (ours, those who discover) than a lack of "panels".
That's all that I meant to say. I have no prerogative here! I use, I like Ghacks-user.js and if I take the time and effort I can certainly gain much more here than I actually do. You see this "users" includes myself!

That being said, I have some questions:

Not just so you can edit the wiki. If that were the case I could simply change your existing permissions.  No obligations.
You're already motivated. Again, no obligations.
Yes
Amen, brother.

I don't really want to spew this all over github for the public...
This is not a reflection on anyone else. I spoke with The Big E, and he's good with it too. I'm not sure you realize (no idea what the email said), but this is not just being a "member" (there are multiple roles). End of the day, your work, ideas, logic etc are awesome. We trust you to make sound decisions, e.g. editing the wiki, pushing commits, discussing first, etc. Again, no pressure or obligations - just do what you can when you can, if you want to. It's also about having fall backs in case I disappear (death from old age, I get parkinsons, batman catches me). Entirely up to you - you can always vacate it later

Hello again! (I really hope I'm not bothering you, this seems to have become somewhat of a private discussion, I just want to react to the OP's post.)
On the matter of involvement, maybe another option could potientally be viable.
I regularly see Thorin being held back by the big E from defenestrating herself (Hope I'm gendering you corrrectly, I read you are a woman on one of your ghacks.net comments, anyway, just correct me if I'm wrong.) because of people just dropping thousands-of-lines-long preference lists.
Maybe you could, possibly, if you wished, delegate!
I truly find this repo amazing, and I really want to help but I don't even how or where to start.
One possible thing you could do without giving anyone any kind of "rights" on the git (French here, what I mean by "rights" is the ability to commit, close issues, edit the wiki, merge forks, etc) could be to create a sticky issue called "Please help I want to die when I see this to do list" (or anything else, up to you really, more seriously, maybe a "Help wanted" or some kind of tag) and update it regularly with things you'd let others check for you.
One of the first things you do with the pref drops you often get is checking for deprecated prefs, conflicts with RFP and such. People could do this kind of work and then split the remaining interesting prefs among the people willing to do some deeper digging on the prefs that passed the first sieve.
You could list some other stuff such as "testing wanted for this particular conflict between two prefs or extensions", "info wanted on this particular fingerprint vector (is it viable or just theorical?)" and such!
The wiki could benefit from additional sources, just as the 🐱 said, so I think it's super duper cool if he gets a possibility to add that, and maybe fatten some of the thinnest sections (those year-old placeholders to be filled, you know what I'm talking about).
Additionally, some sections could also benefit from either an upgrade for the preexisting ones or from the creation of a "summary" compiled from different sources you already linked in your wiki.
(Really feels weird because I feel like I've """known""" you three for months, reading the issues, comments and commits on this git but I litteraly am just coming out of nowhere calling you by your nicknames please don't think I'm a creepy stalker I swear I'm nice. :anxiety:)
Anyway, have a nice evening, I hope this was somewhat helpful or interesting and I won't be spamming you any further tonight!

Maybe you could, possibly, if you wished, delegate!

I'm sure he/she/it(alien?) wishes to, but I suppose :jeans: would never ask anyone to help out directly, and instead just hopes someone will (and ends up bitching after a while when no one does). I agree that sticking help wanted (or such) labels wouldn't hurt though... well, maybe they would fuel Pants' frustration more if they change nothing, but that's an acceptable risk IMO (?). Or maybe something like a help wanted label is never added because it is being left as implicit? as in, people is being expected to assume that help is wanted? :thinking:

info wanted on this particular fingerprint vector (is it viable or just theorical?)

These have been tackled one at a time in different issues so far, and they are exactly the kind of discussions that I think deserve more visibility. Not everyone is a tech savvy, or wants to be, but still.
IMO, the difficulty with helping these two is that they have pretty tight workflows and they are damn efficient. I sure want to help out if I can, when I can (and I'm 100% positive I'm not alone on this) but TBH I can't keep up with everything! They've been doing this for who knows how long, the geeks. So, I've tried to help a little in other areas, when I could.
I'm glad this issue got some people's attention, though. I hope other creepy stalkers follow your lead and come out of the shadows, for a while at least. :trollface: Thanks!

something like a help wanted label

It exists, I checked, it just was literally never used. 🤣
Anyway, I'll check the issues regularly and help out where I can!
We'll leave it up to those two to ask for help, if that ever happens. 😆

I've tried to help a little in other areas

Yes and I see you'll keep at it with the wiki, that's really cool!
I was a little overwhelmed at first, the wiki is what helped me, and the better the wiki, the more it becomes accessible to everyone!
P.S.: I am NOT a creepy stalker! :crying a river:
That's not how I want to be known here, nor what I want to be associated with! :the river became an ocean: :where will it end: :nobody knows:

Oh, sorry! Couldn't find an issue under is:issue label:"help wanted", that's why I said that, nevermind then!

 Why wouldn't they just keep quiet about it a bit longer.

infecting millions of users

Aw man, you picked the wrong project

closing this or we'll just go round in circles and ponder humanity, eventually asking "Is there a God" (when Jesus never shows up) and "Are we alone in the universe"

closing this or we'll just go round in circles and ponder humanity, eventually asking "Is there a God" (when Jesus never shows up) and "Are we alone in the universe"

Oh well, that's 75% of my interests in life, lol. But indeed these topics belong elsewhere, one step beyond, closer to the twilight zone than to a coder's universe!