Migration guide / official docs

I understand that though vidstack touch v1, it's publishing on next channel, but as we are using stable version numbers like 1.1.9 instead of 1.0.0-alpha.19, can we at least show users how to migrate from 0.6 to 1.0?
Here is my problem, in the previous v0.x, we use media-outlet to hold things like <sources> and <track>, but there is no more media-outlet in v1 anymore, and I am not seeing a single word how to migrate to v1 <media-provider> in the blog post.
This is open source and I do open source to, I am not trying to push anyone for anything, but I think currently this project reaction could confuse most people (as long as they are not sticking to source code changes while there is a huge change from 0.6.x to v1).
My suggestions are (take 1 of them should be fine):

Add a detailed migration docs to tell people how migrate to v1 from v0.6 very soon, then complete the docs through timeline. People at least can know something with the old docs and migration guide

Complete docs of any new concept in v1 immediately, so that users can make comparison with old docs and guess to understand the migration.

Anyway, I think it's not affordable for any project to use a stable version number while not providing both basic docs and migration guide.

This is on 1.0@next, it's a pre-release (not main). I don't want users adopting the old 0.6.x hence why we're pushing forward. On the surface not too much has changed, if you walk through the new installation docs you'll get set back up in no time. I've also covered the Default Layout and added all component API references/examples. In addition, nearly all of the old player APIs are still in place, so you can even use the old docs to guide you. The media-outlet has changed to media-provider, simple name change.
There's a comprehensive examples repo too which should guide you on how to set up your player for whatever framework and styling library. I'm starting work on finishing the remaining docs tomorrow, it shouldn't take me too long. You have to forgive me, there's a lot of work on my plate so some things take a little longer than even I like.

Lastly @Mister-Hope, if you need any help I'm available on our Discord channel to ask questions.

The media-outlet has changed to media-provider, simple name change.

I think it would be great if you can list the changes and add a migration guide, no need to cover all changes, but basics like media-community-skin changed to media-audio/video-layouts.

This is on 1.0@next, it's a pre-release (not main).

Note I am not trying to blame you or argue something, but most (>95% populatr libs) will use -alpha or -beta for early feedback, and when an actual stable version syntax is used (like vue3 on mext channel), basic functionality (vidstack has) and basic docs/migration docs (I am asking) are provided.

You're right and I've been pushing ahead faster then what a normal project would because of certain time constraints. I generally document changes but I skipped it this time because the changes felt minimal, and I felt the installation docs and examples covered it all well. I understand that's a bad assumption but I went with it to speed up. Apologies for any confusion.
I'll try to put together a minimal migration guide 👍 If I don't have time, then I'll definitely make sure in the future to roll out migration guides. We won't do big quick changes from here forward as we're stable now and can't afford to break anything.

I'll try to put together a minimal migration guide 👍 If I don't have time, then I'll definitely make sure in the future to roll out migration guides. We won't do big quick changes from here forward as we're stable now and can't afford to break anything.

Looking forward🎉, honestly I am watching this repo, and I wait quite a long time for docs completion till the v1.0 release before opening this issue.😅

Ye I know, the docs really needs to finish. It's on my mind constantly. I've been addressing bugs, helping people, and doing other work. I finished resolving main issues it seems, so docs is 100% my focus now. Thanks for your patience!

Here you go @Mister-Hope: https://github.com/vidstack/vidstack/discussions/949. Let me know if we can make it better.

I think it's already a good one to get started with v1


Update elpi

Motivation for this change
Update elpi and coq-elpi
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build coqPackages_8_11.coq-elpi coqPackages_8_11.hierarchy-builder coqPackages_8_12.coq-elpi coqPackages_8_12.hierarchy-builder coqPackages_8_13.coq-elpi coqPackages_8_13.hierarchy-builder

@GrahamcOfBorg build coqPackages_8_11.coq-elpi coqPackages_8_11.hierarchy-builder coqPackages_8_12.coq-elpi coqPackages_8_12.hierarchy-builder coqPackages_8_13.coq-elpi coqPackages_8_13.hierarchy-builder

@vbgl This should be ready now


chore(blockifier): use the suggested test util for cargo manifest dir in cairo compile

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2284  👈 (View in Graphite)
#2283
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

No longer relevant.


Create CODE_OF_CONDUCT.md

As a suggestion: the proposed code of conduct only calls for permanent bans in case of a pattern of bad behaviour, but this suggests that even the most egregious behaviour can get a temporary ban at best (which is probably not desired).


Test1

Ⅰ. Describe what this PR did
#1760
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
baiji group five

The scenario that the value of environmental variable no_proxy is * is not tested. @Lykosteng


Please consider replacing "Harvest Those Mammoth Skulls" with "Dynamic Things Alternative"

Dynamic Things Alternative is much more versatile and supports more item activations. Also it uses already existing requirement (po3's Papyrus Extender v4.3.6 or above).

Already swap to it for the next update.


Dex formats problem: Unsupported class file version 52.0

Hi,
Whenever I try and build my game for Android, I get the following errors when it goes to do the dex conversion stuff. It seems to be related to Java JDK versions, but as you can see in the third line, I'm using what should be the latest. It's the only one that shows up in Library/Java/JavaVirtualMachines. I'm on OSX if it makes a difference.
Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/gavin/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/UnityX/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" -
stderr[
PARSE ERROR:
unsupported class file version 52.0
...while parsing com/soomla/store/billing/google/Consts.class
PARSE ERROR:
unsupported class file version 52.0
...while parsing com/soomla/AndroidBus.class
PARSE ERROR:
unsupported class file version 52.0
...while parsing com/soomla/core/unity/SoomlaBridge.class
3 errors; aborting
I have no idea what to do here to fix things up. Any help would be appreciated.
Soomla versions:
1.3.2 Core
1.11.1 Store

Apologies, this probably should have been posted under the unity3d-store repo.

Going to close this as I've reposted here - https://github.com/soomla/unity3d-store/issues/541
Partially because it should be there and partially in a desperate plea to get eyes on it.


Sort by aggregated field (or any field)

Suppose, There are following points in site_visits series of InfluxDb:
{account_id: 1, user_id: 2, value: 1.0}
{account_id: 1, user_id: 3, value: 1.0}
{account_id: 2, user_id: 1, value: 1.0}
I want total visits grouped by account id in descending order:
SELECT COUNT(value) as visits FROM site_visits GROUP BY account_id ORDER BY visits desc
But influxdb v10.0.0 complains that only order by time has been supported.
Can you please provide the ability to sort by any field, otherwise I need to do the sorting in my app end which hampers the performance ?

Hello, do you have any progress since 2016?

+1

+1


figure out how to make the code less janky with regards to formatted printing

This pattern is pretty clunky:
https://github.com/andrewrk/poop/blob/b01058a8081e5584f1c28f74c59643e413b562df/src/main.zig#L329-L332
See also #4
I don't know exactly what it takes to solve this issue but I was very frustrated with std.fmt while working on this codebase.

Fix reverted in b8b4297a067033feab1faf18c23615c7d4efd06f

Fixed by #30


incubator-pagespeed-ngx-module not compatible with nginx 1.23.0

Nginx version: nginx 861f076eab72
gcc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wno-deprecated-declarations  -D_GLIBCXX_USE_CXX11_ABI=0 --std=c++11  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../modules/ngx_rtmp_module -I ../pcre2/src/ -I ../openssl/.openssl/include -I ../zlib -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I src/http/v2 -I src/http/modules/perl -I /usr/include -I ../modules/ngx_pagespeed/psol/include -I ../modules/ngx_pagespeed/psol/include/third_party/chromium/src -I ../modules/ngx_pagespeed/psol/include/third_party/google-sparsehash/src/src -I ../modules/ngx_pagespeed/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I ../modules/ngx_pagespeed/psol/include/third_party/grpc/src/include -I ../modules/ngx_pagespeed/psol/include/third_party/protobuf/src/src -I ../modules/ngx_pagespeed/psol/include/third_party/re2/src -I ../modules/ngx_pagespeed/psol/include/out/Release/obj/gen -I ../modules/ngx_pagespeed/psol/include/out/Release/obj/gen/protoc_out/instaweb -I ../modules/ngx_pagespeed/psol/include/third_party/apr/src/include -I ../modules/ngx_pagespeed/psol/include/third_party/aprutil/src/include -I ../modules/ngx_pagespeed/psol/include/third_party/apr/gen/arch/linux/x64/include -I ../modules/ngx_pagespeed/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../modules/ngx_pagespeed/psol/include/url -I src/mail -I src/stream \
    -o objs/addon/src/ngx_rewrite_driver_factory.o \
    ../modules/ngx_pagespeed/src/ngx_rewrite_driver_factory.cc
../modules/ngx_pagespeed/src/ngx_pagespeed.cc: In function ‘ngx_int_t net_instaweb::{anonymous}::ps_set_cache_control(ngx_http_request_t*, char*)’:
../modules/ngx_pagespeed/src/ngx_pagespeed.cc:410:36: error: request for member ‘elts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
  410 |   if (r->headers_out.cache_control.elts == NULL) {
      |                                    ^~~~
../modules/ngx_pagespeed/src/ngx_pagespeed.cc:411:35: error: cannot convert ‘ngx_table_elt_t**’ {aka ‘ngx_table_elt_s**’} to ‘ngx_array_t*’
  411 |     ngx_int_t rc = ngx_array_init(&r->headers_out.cache_control, r->pool,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   |
      |                                   ngx_table_elt_t** {aka ngx_table_elt_s**}
In file included from src/core/ngx_core.h:65,
                 from src/http/ngx_http.h:13,
                 from ../modules/ngx_pagespeed/src/ngx_pagespeed.h:36,
                 from ../modules/ngx_pagespeed/src/ngx_pagespeed.cc:29:
src/core/ngx_array.h:32:29: note:   initializing argument 1 of ‘ngx_int_t ngx_array_init(ngx_array_t*, ngx_pool_t*, ngx_uint_t, size_t)’
   32 | ngx_array_init(ngx_array_t *array, ngx_pool_t *pool, ngx_uint_t n, size_t size)
      |                ~~~~~~~~~~~~~^~~~~
../modules/ngx_pagespeed/src/ngx_pagespeed.cc:418:22: error: cannot convert ‘ngx_table_elt_t**’ {aka ‘ngx_table_elt_s**’} to ‘ngx_array_t*’
  418 |       ngx_array_push(&r->headers_out.cache_control));
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      |
      |                      ngx_table_elt_t** {aka ngx_table_elt_s**}
In file included from src/core/ngx_core.h:65,
                 from src/http/ngx_http.h:13,
                 from ../modules/ngx_pagespeed/src/ngx_pagespeed.h:36,
                 from ../modules/ngx_pagespeed/src/ngx_pagespeed.cc:29:
src/core/ngx_array.h:27:35: note:   initializing argument 1 of ‘void* ngx_array_push(ngx_array_t*)’
   27 | void *ngx_array_push(ngx_array_t *a);
      |                      ~~~~~~~~~~~~~^
../modules/ngx_pagespeed/src/ngx_pagespeed.cc: In function ‘bool net_instaweb::{anonymous}::ps_get_cache_control(ngx_http_request_t*, GoogleString*)’:
../modules/ngx_pagespeed/src/ngx_pagespeed.cc:442:74: error: request for member ‘elts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
  442 |   auto ccp = static_cast<ngx_table_elt_t**>(r->headers_out.cache_control.elts);
      |                                                                          ^~~~
../modules/ngx_pagespeed/src/ngx_pagespeed.cc:447:59: error: request for member ‘nelts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
  447 |   for (ngx_uint_t i = 0; i < r->headers_out.cache_control.nelts; i++) {
      |                                                           ^~~~~
make[1]: *** [objs/addon/src/ngx_pagespeed.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/tmp.JjqdCQRc1i/nginx-861f076eab72'
make: *** [build] Error 2

Facing the same issue. This project is abandonded though isnt' it? No commits for 2 years now

I have the same issue

Changes with nginx 1.23.0                                        21 Jun 2022
*) Change in internal API: now header lines are represented as linked
   lists.

I suspect this is the issue here.

I have the same issue

I found "r->headers_out.cache_control.elts" in diff of nginx-1.22.0/src/http/modules/ngx_http_headers_filter_module.c and nginx-1.23.0/src/http/modules/ngx_http_headers_filter_module.c.

@oschaaf  Can take alook here?

I hope this issue push an effort of developing a stable version again as the module for nginx has been in RC1 for years.
The issue with the "double compression and mess with brotli and gzip" has been around since then i had to switch off pagespeed more than a year ago due those content enconding issues that were not allowing the browser to properly render CSS files even enabling this directive ModPagespeedHttpCacheCompressionLevel 0

@dvershinin, care to do a pull request for headers.patch? ;-)

@eilandert & @Lofesa -- https://github.com/apache/incubator-pagespeed-ngx/pull/1750 has an (untested) draft that aims to resolve this. It's still a draft, because we probably need some ifdef's to make the change conditional (I guess older nginx versions swill still need the old way of manipulating cache control headers).
Anyone willing to take that change for a spin? I'd be happy to hear if it works well.

@oschaaf. I'm happy to give it a try on my servers, let me know how i can proceed

Thanks @oschaaf , it compiles.
However, my build fails thanks to openresty unpatched modules (with the same problem), so I have no packages at all to test. And I need those to run on my staging environments :-(

--
  |
|

Found it!
I knew it was related to the way the SSL works
Adding this line unleashes pagespeed features
pagespeed RespectXForwardedProto on;

Nice! I should remember that for the next time this comes up :)

You can try to authorize that domain with:
pagespeed Domain https://cdn.surfcampmaldives.com;

This will result in  the browser attempting to fetch something like https://cdn.surfcampmaldives.com/wp-content/themes/uncode/library/js/init.js,qver=2122898389.pagespeed.HASH.jm.js
That should work if your CDN is set up to pull content from your nginx server where the URL would be decoded successfully.

It doesnt work, i already had that directive set up
i'm trying with this: pagespeed MapOriginDomain localhost https://cdn.surfcampmaldives.com;
https://cdn.surfcampmaldives.com/wp-content/themes/uncode/library/js/init.js?ver=114949620' id='uncode-init-js'>

This tree guys do the job.  https://surfcampmaldives.com/
pagespeed MapOriginDomain localhost https://cdn.surfcampmaldives.com;
pagespeed Domain surfcampmaldives.com;
pagespeed LoadFromFile "https://cdn.surfcampmaldives.com" "/var/www/wordpress/";

@danidorado
Normally I use some like
pagespeed Domain http*://*.surfcampmaldives.com;
This covers both versions, http and https and all subdomains
By default pagespeed Domain only covers the http version
Take care of pagespeed LoadFromFile.
When you use it, there is no http request so resources have no http headers.
If pagespeed don't see any cache-control header, then apply a default of 300 (if I remember) so the optimized resource only lives these 300s in the pagespeed cache.
You need to addç
pagespeed LoadFromFileCacheTtlMs implicit_cache_ttl_in_milliseconds;
Or any other custom header (those added to request with the nginx add_header), with
pagespeed AddResourceHeader
In the config you posted I can't see
pagespeed FetchHttps enable;
pagespeed SslCertDirectory directory;
pagespeed SslCertFile file;
https://www.modpagespeed.com/doc/https_support#configuring_ssl_certificates
So maybe these are causing troubles.

@Lofesa
I had this directive set up inside the http block at nginx.conf file
pagespeed LoadFromFileCacheTtlMs<PHONE_NUMBER>0;
if i'm not wrong having that TTL set then I could skip doing this part you mentioned, right?
Or any other custom header (those added to request with the nginx add_header), with
pagespeed AddResourceHeader
I read on the documentation pagespeed FetchHttps enable; is enabled by default but i've added to the set up at the http nginx block
In relation to this two directives:
pagespeed SslCertDirectory directory;
pagespeed SslCertFile file;
I'm exactly doing what you mentioned here
 AWS ACM ->  ALB  -> EC2 -> NGINX

user -> 443 -> Proxy -> 80 -> Backend
So i'm not installing certs directly on the instance, instead they are attached to the ALB through AWS console so i have that line that i guess resolves that
pagespeed RespectXForwardedProto on;
And btw, is anyone willing to spend 30-60 minutes on a call to review the integration and give some feedback.
-open to another suitable way to do this without taking too much time of your lives-
I'm happy to pay for that time if neccessary.
I have some doubts if i have properly set up the caching mechanisms and also related to the data shown at the pagespeed console panel.
Thanks for letting me know if i'm doing it right.

This is what i typically have inside a server block for a particular domain
location ~ .php$ {
include        fastcgi_params;
fastcgi_pass   unix:/run/php-fpm/www.sock;
fastcgi_intercept_errors off;
fastcgi_param  SCRIPT_FILENAME  /var/www/wordpress$fastcgi_script_name;
    #NGINX FASTCGI-CACHE-HEADERS
    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;
    fastcgi_cache phpcache;
    fastcgi_cache_valid 200 301 302 7d;
    add_header X-FastCGI-Cache $upstream_cache_status;

    #SECURITY HEADERS
    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-Content-Type-Options "nosniff";
    add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
    add_header X-XSS-Protection "1; mode=block" always;
fastcgi_hide_header X-Powered-By;
    proxy_pass_header Server;
add_header Referrer-Policy "no-referrer-when-downgrade";
#add_header Content-Security-Policy "default-src 'self' https: data: 'unsafe-inline' 'unsafe-eval';" always;
}

location ~* \.(?:ico|css|js|gif|jpe?g|png|jpg|woff|woff2|ttf|mp4|mov|ogg)$ {
  expires 366d;
  #expires 1s;
  add_header Pragma public;
  add_header Cache-Control "public, max-age=31536000";
  access_log off;
  log_not_found off;
}

Well ..... php stuff is not loaded by LoadFromFile
And Pragma header I think is in the default headers pagespeed set.
But in the statics files, think you need to add, for example, a  x-content-type-options: nosniff, and you add in the location bloc
add_header x-content-type-options nosniff;
This header is not set in the optimized resources. If you wish to add it to a optimized resource, you need to use
pagespeed AddResourceHeader "x-content-type-options" "nosniff";

what about this?
needs to be added at pagespeed as well?
location ~* \.(eot|otf|ttf|woff|woff2)$ {
   add_header Access-Control-Allow-Origin *;
}

what about this?
needs to be added at pagespeed as well?
location ~* \.(eot|otf|ttf|woff|woff2)$ {
   add_header Access-Control-Allow-Origin *;
}

Not. As far as pagespeed do nothing with these files (same with .svg and .ico files)

Is there anyway to enable serialization and compression when using pagespeed and redis?
In two days has filled my redis instance
I have set redis for wordpress with igbinary and lz4 support so a redis DDBB of 1GB is typically now around 200MB

Thanks @oschaaf, I've been able to compile nginx again. Going to test functionality now

How exactly were you able to compile this now? I'm a noob an very confused with this entire conversation. I raised a similar (if not the same) issue here #1756, and was told I might find the answer here. But I'm not finding anything. Would you be able to guide me in the right direction as to how to compile this using the patched aarch64 PSOL libraries?

It's compiled but i can't make js and css minification, probably images
also.
I'm getting this info message for almost all resources
[Mon, 27 Jun 2022 21:52:58 GMT] [Info] [19134] No permission to rewrite '
https://shopdiggers.com/wp-includes/blocks/navigation/view.min.js'
Because i have an AWS ALB in front of the instance i do all the security
layer at the ALB with AWS SSL certificates, so by then traffic goes under
port 80 inside the vpc
I hope someone could through some light about what is going on
This are my global settings
#pagespeed CreateSharedMemoryMetadataCache

"/mnt/ramdisk/pagespeedcache/" 1000000;
#pagespeed DefaultSharedMemoryCacheKB 150000;

pagespeed FileCacheSizeKb 2048000;

pagespeed FileCacheCleanIntervalMs 36000000;

pagespeed FileCacheInodeLimit 500000;

pagespeed LRUCacheKbPerProcess 8192;

pagespeed LRUCacheByteLimit 16384;

pagespeed RedisServer "XXXXXXXXXXXXXXXXXXXXX";

pagespeed RedisDatabaseIndex 5;

pagespeed RedisReconnectionDelayMs 1;

pagespeed RedisTimeoutUs 50;

pagespeed RedisTTLSec 100000;

pagespeed ImplicitCacheTtlMs<PHONE_NUMBER>0;

pagespeed LoadFromFileCacheTtlMs<PHONE_NUMBER>0;

pagespeed ImageMaxRewritesAtOnce -1;

pagespeed HttpCacheCompressionLevel 9;

pagespeed StatisticsPath /ngx_pagespeed_statistics;

pagespeed GlobalStatisticsPath /ngx_pagespeed_global_statistics;

pagespeed MessagesPath /ngx_pagespeed_message;

pagespeed ConsolePath /pagespeed_console;

pagespeed AdminPath /pagespeed_admin;

pagespeed GlobalAdminPath /pagespeed_global_admin;

pagespeed IproMaxConcurrentRecordings 0;

pagespeed EnableCachePurge on;

pagespeed PurgeMethod PURGE;

pagespeed Statistics on;

pagespeed StatisticsLogging on;

pagespeed UsePerVhostStatistics on;

pagespeed LogDir /var/log/pagespeed;

pagespeed MessageBufferSize 200000;

pagespeed XHeaderValue "Optimized by Golden Gem";

pagespeed on;

pagespeed FileCachePath "/mnt/ramdisk/pagespeedcache/";

pagespeed EnableFilters insert_dns_prefetch;

pagespeed EnableFilters extend_cache;

pagespeed EnableFilters strip_image_meta_data;

pagespeed EnableFilters jpeg_subsampling;

pagespeed EnableFilters hint_preload_subresources;

pagespeed UseNativeFetcher on;

pagespeed FetcherTimeoutMs 2000;

pagespeed RewriteDeadlinePerFlushMs 5;

resolver <IP_ADDRESS>;

This are my settings at the VHOST
server {
#listen  443 ssl http2;

#listen  [::]:443 ssl http2;

listen 80;

server_name  shopdiggers.com;

root   /var/www/shopdiggers;

index  index.php index.html index.htm;

expires $expires;

location / {

    try_files $uri $uri/ /index.php?$args;

}

Needs to exist and be writable by nginx.
Packages here:
http://edge.deb.myguard.nl:8888/pool/main/n/nginx/
http://edge.deb.myguard.nl:8888/openssl3/pool/main/n/nginx/
(building in progress right now. please note: edge.deb.myguard.nl is
experimental)
Docker here
https://hub.docker.com/r/eilandert/nginx-modsecurity3-pagespeed
(currently only the debian ones are with 1.23.0, when all packages are
built ubuntu will follow tomorrow)
Some documentation here:
https://deb.myguard.nl/nginx-modules/
Happy testing
—
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-pagespeed-ngx/issues/1749#issuecomment-1168029872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTZ2OMROI6AXFG5REB7PHLVRIZXNANCNFSM5ZFWIKDA
.
You are receiving this because you commented.Message ID:
@.***>


Cannot update to the latest little11

Im having trouble when I updated my little11. It doesn’t seem to update anyway.im stuck at version 1.2.0

What package manager are you using? Also, have you tried to refresh your sources?


Cant quite get it to work

Hey im pretty stupid, trying to get LPP to work on comfyui. I half got it to work but im running into an issue. When i use the e621 node with "anthro female -comic -text solo" for example i have no issues. images get generated. Now when i try it with the danbooru node im running into issues. Running danbooru with "1girl" generates an image without issues. If i add anything else i get an error. For example if i add "1girl solo" i get  this : LPP_Danbooru
422 Client Error: Unprocessable Entity for url: https://danbooru.donmai.us/posts.json?tags=1girl+solo+rating%3Ae+order%3Arank&limit=200&page=1
This is for sure me being dumb but help would be much appreciated 😭

tl;dr: danbooru sucks.
Apparently, they only allow a maximum of 2 tags in the search query, which is ridiculous. Unfortunately, there's nothing I can do about that. Note, that if "sort type" is set to anything other than "None" it automatically adds additional tag which counts towards the limit. "rating" doesn't seem to be counted, though.

yea that is super cringe, thanks for the quick reply tho and this is still a banger hope u add other sites like r34 etc in the future


[ZEPPELIN-1610] [WIP] - Add notebook watcher

What is this PR for?
Add a Simple way to switch a websocket connection to a new state; watcher.
A websocket watcher is a special connection that will watch most of the web socket even in Zeppelin, this cam be used to monitor zeppelin server activity.
What type of PR is it?
[Feature]
Todos

[x] - Add watcher Queue
[x] - Add endpoint to switch from regular client to watcher
[x] - Add a way to generate a uniq key when zeppelin server restart
[x] - Add example on how to use watcher.

What is the Jira issue?

ZEPPELIN-1610

How should this be tested?
You will have to create your own websocket client and provide a valid http header (X-Watcher-Key) when you connect to zeppelin ws
something like
private Session openWatcherSession() {
    ClientUpgradeRequest request = new ClientUpgradeRequest();
    request.setHeader(WatcherSecurityKey.HTTP_HEADER, WatcherSecurityKey.getKey());
    WatcherWebsocket socket = WatcherWebsocket.createInstace();
    Future<Session> future = null;
    Session session = null;
    try {
      future = wsClient.connect(socket, zeppelinWebsocketUrl, request);
      session = future.get();
    } catch (IOException | InterruptedException | ExecutionException e) {
      LOG.error("Couldn't establish websocket connection to Zeppelin ", e);
      return session;
    }
    return session;
  }

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes

@anthonycorbacho thanks for contribution. as far as i can see, this is kind of promiscuous mode for websockets. @Leemoonsoo any comments? Also maybe remove WIP from title

@Leemoonsoo addressed your review, please let me know

@Leemoonsoo looks like tests are falling for random reason...

CI is green after ~10 retry

LGTM. @anthonycorbacho Could you resolve the conflicts?

@Leemoonsoo i resolved the conflict :)

LGTM and merge to master if there're no further comments.


Ubuntu images have broken /etc/timezone file

All of the buildpack-deps ubuntu images have broken content in /etc/timezone:
% docker run --rm buildpack-deps:24.04-curl cat /etc/timezone
/UTC

The /etc/timezone file is supposed to be the name of a timezone, in the same format as the TZ environment variable.  /UTC is invalid (note the slash at the beginning).  The Debian-based buildpack-deps images have Etc/UTC in this file, which is correct.
The problem happens during installation of the tzdata package in the -curl images.  tzdata has some friendly prompts to configure the timezone, and they're failing when stdin isn't available during the docker build.  See the relevant portion of the build log:
Setting up tzdata (2024a-3ubuntu1.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8.)
debconf: falling back to frontend: Teletype
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa   3. Antarctica  5. Asia      7. Australia  9. Indian    11. Etc
  2. America  4. Arctic      6. Atlantic  8. Europe     10. Pacific
Geographic area:
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 112.

Current default time zone: '/UTC'
Local time is now:      Sun Aug 11 00:16:25 UTC 2024.
Universal Time is now:  Sun Aug 11 00:16:25 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN6> line 4.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 85, <GEN6> line 4.

Debian isn't affected by this bug because the debian images already have the tzdata package installed correctly.
The root cause here seems to be a bug in tzdata--it shouldn't fail in a way that writes an invalid configuration.
But it's easy to work around in buildpack-deps.  Setting DEBIAN_FRONTEND=noninteractive when running apt-get install will prevent packages from trying to prompt for configuration.

The root cause here seems to be a bug in tzdata--it shouldn't fail in a way that writes an invalid configuration.

Is this filed in an upstream bug tracker somewhere? :eyes:

I've filed a bug against Debian tzdata at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078604.


New Widget: Title

It would be nice to have a Title Widget that generates a text widget with h1 to h6.
I did create a title with a label, but this wasn't very nice.

@merlink01 you can use the gui.Tag or gui.Widget constructors, for that case they are the same
eg:
h1 = gui.Tag(_type="h1")
h1.add_child("text", "Hello H1")

The difference between gui.Tag and gui.Widget is that gui.Widget support all most events, while gui.Tag not!

Hi Max, this was fast.
Thank you for this hint.
Could this also be done in editor?

@merlink01 no, for now the editor, doesn't provide any option to handle that


Remove/ hide the shop details from admin panel

Hi all and congratz for this amazing CMS!!!
Is there a way to temporarily remove or hide the shop option from the admin panel?
Lets say that i would like to build just a simple app page with a blog or a small social network, therefore shop section will not be needed in this scenario and will cause confusing if multiple admins are going to have access to the admin panel.
i think this can be achieve with a condition on the admin panel like enable or disable shop feature. if the feature is disabled then all the options regarding the shop should be hidden/ not displayed on the admin panel and frontend.
Or it can be removed from the core and added as a plugin.

PR #193 introduces a modules configuration for the cms
though it's just going to hide the features, the API is still providing functionality

@faierbol I'm sorry for delay.
For now you can create a new plugin project with the code in the admin part :
import { registerSidebarLinkModifier } from '@cromwell/admin-panel';

registerSidebarLinkModifier('my-plugin-name', (links) => {
    return links.filter(link => {
        if (link.title === 'Store') return false;
        return true;
    })
})

Soon it'll be possible via settings PR #193 or via permissions PR #194

@playrich Actually I was thinking about this case several times in past. I was about to extend setup (welcome) admin panel pages with two checkboxes/sliders:

Store
Blog
So basically a user will be able to pick a kind of website. After such setup I can disable related API.

Well, it also will be possible to disable API on changes in your modules configuration. It'll require server restart

Hi all, thx for your answers :)
Looking forward to test the functionality when this features will be released.


Feature/remove babel-preset-es2015-webpack

Since the latest release of babel-core and babel-preset-2015 (6.13.2) can handle presets options.
No longer need to use babel-preset-es2015-webpack
Thanks goes to @zoontek on https://github.com/gajus/babel-preset-es2015-webpack/issues/14#issuecomment-237869435

Coverage remained the same at 98.447% when pulling b2eb066d5ffec94c14f2ae8e47eaedfb255aa9c4 on andykenward:feature/remove_babel_preset_es2015_webpack into 340cd5fae31536faf43e4722ca55814b853ee732 on mxstbr:master.

This is great! 🎉 Can we undo the other whitespace changes?

@mxstbr whitespace done by npm automatically when the package were updated via command line. So will come back eventually even if they are removed

Coverage remained the same at 98.447% when pulling 880651885a70d7ec8825ead5d71face329eb0384 on andykenward:feature/remove_babel_preset_es2015_webpack into 396f2d1a4a704e36192f9c47bfd956700959dfdd on mxstbr:master.

Coverage remained the same at 98.447% when pulling 880651885a70d7ec8825ead5d71face329eb0384 on andykenward:feature/remove_babel_preset_es2015_webpack into 396f2d1a4a704e36192f9c47bfd956700959dfdd on mxstbr:master.

Awesome, thanks!

Thank you very much for these changes and this thread. I'm trying to implement these changes on an existing react-boilerplate project, but I get the following error after running npm run postinstall.
ERROR in ./~/diffie-hellman/lib/primes.json
Module parse failed: /media/gajo/ssd/home/gajo/local/proyct/bean.cab/broadbean/node_modules/diffie-hellman/lib/primes.json Unexpected token (2:11)
You may need an appropriate loader to handle this file type.

I've looked through package.json and compared my webpack configurations with the latest version of master, but I don't see any difference that would cause this loader failure. Could anyone give a pointer on how I could fix this?


DocOwl1.5: Inference results often in wrong order

Hello,
I pulled your repo and so far the inference with the stage 1 model works fine. However, the results I get for the localized text recognition often are in the wrong order. For example, I use this code (basically the demo code from the README.md):
from docowl_infer import DocOwlInfer
model_path = "./models/models--mPLUG--DocOwl1.5-stage1/.../"
docowl = DocOwlInfer(ckpt_path=model_path, anchors="grid_9", add_global_img=False)

image = "image.jpg"
query = "Identify the text within the bounding box <bbox>92, 444, 880, 480</bbox>"
answer = docowl.inference(image, query)

print(answer)

on this image (only the relevant part is left visible)

Which gives the result 8 Spl. Fz.z.Pers.bef.b. 5
Here, the two parts "8 Spl." and "Fz.z.Pers.bef.b." are in the wrong order (the "5" in the end is hallucinated, but that only happens in the anonymized image, not in the original one -> no concern here). Something like that happens quite often. I have the feeling that I missed something there. Do I use the model correctly?
There is indeed a warning the code throws during inferene:
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.

And also one during model loading:
Some weights of MPLUGDocOwlLlamaForCausalLM were not initialized from the model checkpoint at ... and are newly initialized: ['model.layers.4.self_attn.rotary_emb.inv_freq', ..., 'model.layers.2.self_attn.rotary_emb.inv_freq']

You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

Hi, @7998857, thanks for pointing out this error. I have observed the same outputs with this image and the instruction, thus I think you have used the model correctly, the two warnings don't influence the model inference.
Honestly, I haven't come up with reasons for the wrong order. I will record this error and if I find the cause I'll let you know as soon as possible.
Besides, we plan to release the training code at the end of this month. If you want better performance in your domain, you can try finetuning  our model with your data~

Hey, thanks for the fast reply! And okay, I'll wait for the train code and try to adapt the model to our domain. Looking forward to it.

Hi, @7998857 Thanks for your hard work! I agree with your guess.
It is easy to cause order errors in TextVQA because the texts are organized according to their bbox position. The bbox with smaller y (distance to the upper boundary) and x (distance to the left boundary) will be placed in front. In this case, the y of "sensitivity" is smaller than "touchscreen", so it is placed before it. Such an order is not consistent with the reading order.
It's difficult to resolve this issue because the text orientation in natural images is quite diverse.
We will try to fix such errors in the future work. If you have any good ideas and are willing to share them with us, we will appreciate very much!

Hey,
thanks for the information. That makes sense now. We had similar problems at projects at work, too. If I come to a solution that works here, I will post it. For now, I will just exclude the critical subsets in my project.

Hi, @7998857 , We have released training codes for finetuning docowl1.5 in https://github.com/X-PLUG/mPLUG-DocOwl/tree/main/DocOwl1.5. It's temporarily supported by DeepSpeed zero2. We meet deadlock issues with zero3, if you have any suggestions to share with us, we will appreciate very much~


Add image to text functionality

Add an OCR functionality to read text from images using Google and AWS API.
Steps:

Create a folder called ocr with index file.
Add AWS function to convert images to text (aws_ocr).
Add Google function to convert images to text (goog_ocr).

Authentication:

AWS receive AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
Google receive OAuth token.

Validation:

Add postman collection with testing details.
Add swagger documentation and test it works.

@intelligentnode Question
In the auth section you mentioned,
Authentication:
AWS receive AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
Google receives an OAuth token.
So do we need to proxy it and use our credentials or take it from API?
since for OAuth, it can expire but AWS cred would still remain

For AWS, store the values in .env with priority for the keys in the api call.
For Google, read the OAuth token from the api call only.

2 Points @intelligentnode

We can GOOGLE_APPLICATION_CREDENTIALS for Google Vision instead of the OAuth token
On URL vs Local,
we can use both of them

for Local, we are using Multar to get buffer data from the image
for URL, we first have to download the image and then pass its buffer to functions [we may create a middleware to do so

Great let’s move with your suggestion for the google vision. This way we can support the key form .env and the API call, which is aligned with existing code.
And about the image, let’s support both upload options to give flexibility for the user. You can control this either using different parameter flag or different wrapper function.
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: Pushpak Sharma @.>
Sent: Thursday, October 5, 2023 5:26:04 PM
To: intelligentnode/IntelliServer @.>
Cc: IntelliNode @.>; Mention @.>
Subject: Re: [intelligentnode/IntelliServer] Add image to text functionality (Issue #45)
2 Points @intelligentnodehttps://github.com/intelligentnode

We can GOOGLE_APPLICATION_CREDENTIALS for Google Vision instead of the OAuth token
On URL vs Local,
we can use both of them
*   for Local, we are using Multar to get buffer data from the image
*   for URL, we first have to download the image and then pass its buffer to functions [we may create a middleware to do so

—
Reply to this email directly, view it on GitHubhttps://github.com/intelligentnode/IntelliServer/issues/45#issuecomment-1749262214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBOJIDK4RGW7W3WHCBSJZODX53NRZAVCNFSM6AAAAAA5KDCBUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGI3DEMRRGQ.
You are receiving this because you were mentioned.Message ID: @.***>

Sounds good, can you also pass the credentials for both AWS and GCP @intelligentnode

Pushed, middleware that handles URL/file to upload based on req body key
Can you send credentials so that I can cross-check if it's working correctly or not @intelligentnode?

AWS Rekognition has been tested and verified via API, doc has been added as well


npm fails to install

Bug report
Npm of supabase-cli fails to install.
 I have tried the same like 2months ago and had the same issue. Since then, you have updated the cli and I also have updated my OS.
I can isntall other npm dependencies without a problem.
To Reproduce
npm init
npm i supabase --save-dev
Expected behavior
Installing of supabase-cli finishes without an issue.
System information

OS: NixOS 23.05pre4583, Kernel: 5.15.95, Shell: bash 5.2.15
Version of supabase-js:  1.42.7 (npm latest)
Version of Node.js: v18.14.2

Hi @danielstaleiny could you try updating npm to version 8+?

I'm gonna keep this ticket open for now. Let me know if upgrading npm works.

Found a related issue https://github.com/supabase/cli/issues/679#issuecomment-1344990488. Closing as duplicate

I can confirm that updating npm fixed the issue of installing failure.


Add ArithmeticsAssignable trait, or equivalent

I've started porting my crates to 0.7 and this seemed like a small gap in convenience.
I had to rewrite a few places where I was summing individual components.
let mut l = T::from_f64(0.0);
// ...
l += color.l; // error, need to rewrite as the next line
l = l + color.l;

I'd like to see a trait where all the num::Arithmetics operations' Assignable variants are implemented.

That could be useful in general! Especially if it should branch off as its own crate.
The traits as they are are currently added as I need them, so it's far from a "complete" math trait library. More of a proof of concept, so it's still a bit minimal. For now, the work-around is for the caller to add additional bounds and maybe use num_traits if that's fine.

Thinking a bit more about it, I don't think this trait should be added unless Palette needs it. It's not based on any traits that only exist in Palette and it has the negative property of being impossible to extend without making a breaking change, so it goes against what I would like the palette::num traits to be. If I break that module off, the Arithmetics trait should either stay in Palette as a laziness helper or be removed. It's simple to create local versions of it, though, or it could be material for a separate crate.


python310Packages.dnfile: 0.12.0 -> 0.13.0

Changelog: https://github.com/malwarefrank/dnfile/blob/v0.13.0/HISTORY.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 206556 run on x86_64-linux 1

8 packages built:

python310Packages.dnfile
python310Packages.karton-autoit-ripper
python310Packages.karton-config-extractor
python310Packages.malduck
python39Packages.dnfile
python39Packages.karton-autoit-ripper
python39Packages.karton-config-extractor
python39Packages.malduck


When a note page is maximized by the "maximise active pane" plugin, Links within this page cannot be previewed through this plugin

When a note page is maximized by the "maximise active pane" plugin, Links within this page cannot be previewed through this plugin

This is not my issue to fix. The Maximise Active Pane Plugin author would need to address this.


flutter doesn't running showing Exception: Gradle task assembleDebug failed with exit code 1

aunching lib/main.dart on Nokia 6 1 Plus in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Running Gradle task 'assembleDebug'...
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1

Hi @rohitghosal
does the solution from this closed issue works for you?
Thank you

I already have this.. in gradle-wrapper.properties
distributionUrl = https://
services.gradle.org/distributions/gradle-5.6.2all.zip
On Mon, 20 Jul, 2020, 14:26 Francesco Iapicca<EMAIL_ADDRESS>wrote:

Hi @rohitghosal https://github.com/rohitghosal
does the solution from this closed issue
https://github.com/flutter/flutter/issues/51195 works for you?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/61806#issuecomment-660897643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQJZOU3ORPROM4Q6MTURQ7DR4QBDBANCNFSM4PAZTXFA
.

Hi @rohitghosal
You've a incompleted or damanged gradle files hence Exception in thread "main" java.util.zip.ZipException: error in opening zip file, it cannot be executed properly
You need to re-download gradle with proper internet connection and not cancel the process app runs
To delete  existing gradle, go to user directory, user/.gradle -> delete caches folder then run the app and wait for it to load. This will download gradle again and run the app
You can about the solution in https://github.com/flutter/flutter/issues/51195
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Disable inertia scrolling?

I can't find an option for this anywhere, and it doesn't seem to inherit the options from the trackpad accessibility settings (I've turned off inertia scrolling there) in OSX - is there a way to avoid it when using Karabiner? I'd rather have a 1:1 scroll when using my trackball.
These are the options I'm utilising:

Please search "Disable Momentum Scroll" and enable it.

Ah, perfect, thank you @tekezo !


Updated README.md

Project URL

https://github.com/smahajan28/SMSwipeableTabView
Description

SMSwipeableTabView is a custom control which is mixture of UIPageViewController and Scrollable Tab Bar. This is similar to Swipe view with tabs alyout in android. Any number of tabs can be added along with the swipeable views. User can fully customize the control.
Why it should be included to awesome-ios (optional)
Fully customisable control which make life easy of a developer to match the android like UI for some components in application.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

2448
503
http://www.teehanlax.com/tools/iphone/

  Generated by :no_entry_sign: Danger

Hey @smahajan28 cool README👍🏻.
Thanks for contributing to awesome-ios 🎉🎉🎉


Remove PDF services (or allow them to be turned on or off)

Is your feature request related to a problem? Please describe.
We will, at least temporarily, not be using the PDF services.
Describe the solution you'd like
Two possible approaches:

Remove PDF services from this app entirely.
Add a config option, where the PDF services can be skipped (this would mean modifying what process status Create Manifests is looking for).

@helrond , do you have thoughts on which approach makes more sense?

Ideally we'd want to have the application figure this out on its own and have branching logic from there, I think. I'm not exactly sure what that looks like though (something with the Origin key?).
In the short term, we need to make minimal changes so that we can simply disable these services in Zodiac and still have the other services in this app run successfully.


Make sign in more prominent

At this point there isn't a clear callout or incentive for users to sign in. Should we make it mandatory or just suggest users make a profile when they get results?

I'm gonna close this issue, since this was addressed on Scout with #217


[bug] update.download_and_install() cannot open the update dialog as calling @tauri-apps/api/updater checkUpdate from the frontend does.

Describe the bug
update.download_and_install() cannot open the update dialog as calling @tauri-apps/api/updater checkUpdate from the frontend does.
I want to register a "check for updates" button that triggers an update check and pops up Tauri's default dialog when clicked. However, I have not found the correct way to do this.
pub fn menu_handler(event: WindowMenuEvent) {
    match event.menu_item_id() {
        "check_update" => {
            let win = event.window();
            let handle = win.app_handle();
            tauri::async_runtime::spawn(async move {
                let builder = tauri::updater::builder(handle.clone()).target(tauri::utils::platform::target_triple().unwrap());
                match builder.check().await {
                    Ok(update) => {
                        if update.is_update_available() {
                            // below line with frontend can open update dialog
                            handle.emit_all("menu_check_update", Some("update available")).expect("emit failed");
                            // *** !!! below line can not open update dialog, how to do it ?
                            update.download_and_install().await.expect("download and install failed");
                        } else {
                            println!("download and install success");
                        }
                    }
                    Err(error) => {
                        println!("check failed {:#?}", error);
                    }
                }
            });
        }
        _ => {}
    }
}

If I emit an event and then listen for it on the frontend, I can call checkUpdate on the frontend to achieve this, but I want to complete it in Rust code only. How should I do this? I have searched the documentation for a long time and have not found what I'm looking for.
const { checkUpdate } = await import('@tauri-apps/api/updater')
appWindow.listen('menu_check_update', () => {
      checkUpdate()
    })

So, if I just want to achieve the same effect as checkUpdate using only Rust code, how should I do that? Thank you.
Reproduction
No response
Expected behavior
No response
Platform and versions
[✔] Environment
    - OS: Mac OS 13.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.74.0 (79e9716c9 2023-11-13)
    ✔ cargo: 1.74.0 (ecb9851af 2023-10-18)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.18.2
    - pnpm: 8.6.7
    - yarn: 1.22.19
    - npm: 9.8.1

[-] Packages
    - tauri [RUST]: 1.5.2
    - tauri-build [RUST]: 1.5.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.5
    - tauri-cli [RUST]: 1.5.6
    - @tauri-apps/api [NPM]: 1.5.1
    - @tauri-apps/cli [NPM]: 1.5.6

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../out
    - devPath: http://localhost:3000/
    - framework: React (Next.js)
    - bundler: Webpack

Stack trace
No response
Additional context
No response

This is kinda intentional, the apis are only fully enabled if you don't enable/use the default dialog. Btw, the dialog will likely be removed in v2.

So, if I just want to achieve the same effect as checkUpdate using only Rust code, how should I do that? Thank you.

Something like this should be virtually the same as calling checkUpdate()
// if trigger() doesn't work, try trigger_global() - i can't remember which one worked.
let _ = event.window().trigger("tauri://update");

Thank you very much, it's working for me.
event.window().trigger("tauri://update", Some("need update to date".to_string()));


Pantheon updates 2021-11-24

This pull request is not ready to be tested yet before the work-in-progress label and the wait-for-upstream label is removed.
Things to do

[ ] https://github.com/elementary/gala/issues/1312 (maybe downgrade mutter to 3.36 before Pantheon 7 is out? - https://gist.github.com/bobby285271/d5f5a4d50cbb9bd35e16157756a975b9)

Motivation for this change
Part of Pantheon 6.0.4 updates (previous one at #147216).

If you live on stable channel, please check our planned backport workflow for 6.0.4 and 6.1.
For upcoming Pantheon 7, check OS 7 project board and Danielle's tweet for more details.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

pantheon.wingpanel-applications-menu: 2.9.1 -> 2.10.0

Release on GitHub
Compare changes on GitHub

Comment
Needs test switchboard plugin search.
To inspect upstream changes

[ ] Avoid using a MainLoop in Switchboard Plugin (#513)
[x] Update applications-menu.appdata.xml.in
[x] Add Files bookmarks to search (#514)
[x] Update applications-menu.appdata.xml.in
[x] Bookmarks Plugin: Get default file browser name (#517)
[x] Release 2.10.0 (#515)

pantheon.gala: 6.2.1 -> 6.3.0

Release on GitHub
Compare changes on GitHub

Comment
Needs upstream fix or mutter downgrade (3.36)
To inspect upstream changes

[x] Add systemd units (#1256)
[ ] autostarts: set hidden under systemd (#1255)
[x] Fix gala-x11.service timeout
[ ] multitasking: Don't use smooth scroll events to handle mouse wheel (#1266)
[x] Update gala.appdata.xml.in
[x] multitasking: Enable bump animation for mouse scroll (#1270)
[ ] Bring "Catts" in-tree (#1234)
[x] Update gala.appdata.xml.in
[ ] multitasking: Show nudge animation only on the primary display (#1275)
[ ] open WindowSwitcher on current monitor
[ ] WindowManager: handle empty action keys (#1290)
[ ] Handle signal to close Gala gracefully on Mutter 3.41
[ ] IconGroupContainer: add null check to get_next_sibling
[ ] MultitaskingView: don't set custom easing mode
[ ] WindowManager: dim parents of modals (#1285)
[ ] Tooltip: null check text_actor before removing (#1293)
[x] Remove DockThemeManager (#1294)
[ ] WindowManager: explicitly dim and undim (#1298)
[ ] WindowManager: dialogs fall down (#1297)
[ ] Tooltip: get text color from style context (#1295)
[x] build: add systemduserunitdir option
[ ] WindowClone: Include spread in bounding box
[x] Update gala.appdata.xml.in
[ ] Update src/Widgets/WindowClone.vala
[ ] WindowManager: don't type check when undim (#1304)
[ ] Fix various typos (#1310)
[x] Release 6.3.0 (#1276)

pantheon.elementary-code: 6.0.1 -> 6.1.0

Release on GitHub
Compare changes on GitHub

Comment
Maybe needs look into the force use portals change.
To inspect upstream changes

[x] Add aarch64 architecture support to flatpak builds (#1106)
[x] Document: Object style, fix parameter typo (#1110)
[x] Document: fix non-construct file set
[x] Change setting to Visible whitespace. (#1109)
[x] Distinguish projects with same folder name (#1112)
[x] Updated the libvala dependency version in Readme (#1115)
[x] Removing toggling of terminal button visibility (#806)
[ ] Make search results easier to see by scrolling a little bit more (#1121)
[ ] Fix terminal hotkeys not captured and affect the document (#1122)
[x] FileView.vala: Fix indentation and namespace (#1120)
[ ] Application: force use portals (#1119)
[ ] GlobalSearchDialog: set active_window as transient parent (#1128)
[x] Fix various typos (#1133)
[x] Update io.elementary.code.appdata.xml.in
[ ] Document: set filechooser dialog as transient for main window (#1135)
[x] Release 6.1.0 (#1131)

@ofborg test pantheon

Result of nixpkgs-review pr 147256 run on x86_64-linux 1

25 packages built:

monitor
pantheon.elementary-code
pantheon.elementary-greeter
pantheon.elementary-gsettings-schemas
pantheon.elementary-session-settings
pantheon.gala
pantheon.switchboard-plug-a11y
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-plug-pantheon-shell
pantheon.switchboard-plug-power
pantheon.switchboard-plug-security-privacy
pantheon.switchboard-with-plugs
pantheon.wingpanel
pantheon.wingpanel-applications-menu
pantheon.wingpanel-indicator-a11y
pantheon.wingpanel-indicator-bluetooth
pantheon.wingpanel-indicator-datetime
pantheon.wingpanel-indicator-keyboard
pantheon.wingpanel-indicator-network
pantheon.wingpanel-indicator-nightlight
pantheon.wingpanel-indicator-notifications
pantheon.wingpanel-indicator-power
pantheon.wingpanel-indicator-session
pantheon.wingpanel-indicator-sound
pantheon.wingpanel-with-indicators

Result of nixpkgs-review pr 147256 run on x86_64-linux 1

25 packages built:

monitor
pantheon.elementary-code
pantheon.elementary-greeter
pantheon.elementary-gsettings-schemas
pantheon.elementary-session-settings
pantheon.gala
pantheon.switchboard-plug-a11y
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-plug-pantheon-shell
pantheon.switchboard-plug-power
pantheon.switchboard-plug-security-privacy
pantheon.switchboard-with-plugs
pantheon.wingpanel
pantheon.wingpanel-applications-menu
pantheon.wingpanel-indicator-a11y
pantheon.wingpanel-indicator-bluetooth
pantheon.wingpanel-indicator-datetime
pantheon.wingpanel-indicator-keyboard
pantheon.wingpanel-indicator-network
pantheon.wingpanel-indicator-nightlight
pantheon.wingpanel-indicator-notifications
pantheon.wingpanel-indicator-power
pantheon.wingpanel-indicator-session
pantheon.wingpanel-indicator-sound
pantheon.wingpanel-with-indicators


kubectl: add aliases for kustomization and explain

add kustomization aliases
add the explain alias
misc cleanup

These changes would be super helpful, especially now that Kustomize is getting more traction.


Support for Business Central Apps

It would be desirable to support Business Central Apps. These are either *.navx or *.app files, which must also be signed for publication. Therefore a usage on this platform would be very desirable.
More about this and how the standard signing process works can be found here.

From the link:

Make sure that you sign the .app file on a computer that has Dynamics 365 Business Central installed.

As it's also using SignTool, this makes it sounds like Dynamics is registering a SIP (an Authenticode signing plugin). We would need that file along with redistribution rights for it if it's not part of some free-to-download SDK.

Yes, it is. @freddydk

Adding @aholstrup1


[Feature] Export BevFusion model to onnx or torchscript

What is the feature?
I am looking into whether it is possible to export the BevFusion model to an external format like ONNX or torchscript.
Any other context?
I have been able to load in the model checkpoint  (.pth) and use it in the demo (multi_modality_demo.py) but am unable to export the model using torch.export.export or torch.onnx.dynamo_export:
torch.export.export(model, args=(collate_data,))
onnx_program = torch.onnx.dynamo_export(model, collate_data)

and am wondering if their is any documentation or existing ability to export the model in common formats. My goal in completing this is to have a format that can be traced using jit. This will assist in model reusability to other platforms.

I have the same problem and to be more specific, the export step fails with the following error:
RuntimeError: Only tuples, lists and Variables are supported as JIT inputs/outputs. Dictionaries and strings are also accepted, but their usage is not recommended. Here, received an input of unsupported type: Det3DDataSample


Tip for "All domain controllers are unreachable by a sensor"

Make sure you have defined credentials for the forest under Directory Services in Settings. (I forgot to enter a Service account, and the install package includes all the service accounts for all forests).

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

ID: 10026f2d-c134-2c37-237d-98387b11a146
Version Independent ID: f11aee98-6da1-2a4e-c2fd-4b0539023657
Content: Understanding Azure ATP monitoring alerts
Content Source: ATPDocs/monitoring-alerts.md
Service: azure-advanced-threat-protection
GitHub Login: @mlottner
Microsoft Alias: mlottner

@KjetilEVRY Thanks so much for your submission.
I've updated the page with your suggested fix. Appreciate you taking the time to contribute to our docs community!

#please-close


No codesigning identities found

When I try to deploy my app with fastlane I get the following error message (I replaced the actual profile name by a dummy name):
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“eu.company.app XXXX”) were found.

Why is fastlane not able to find the identity?
This is my fastlane configuration:
fastlane_version "1.18.0"
default_platform :ios
platform :ios do

  before_all do
    cocoapods
  end

  lane :deploy do
    sigh

    # extract the version number from git's tags
    lastStoreVersionStripped = '0'
    lastStoreVersion = `git tag | sort -n | grep 'store'`.split("\n").last
    if lastStoreVersion.match(/^store\/(.*)/)
      lastStoreVersionStripped = $1
    end

    increment_version_number(
      version_number: lastStoreVersionStripped
    )
    increment_build_number(
      build_number: ENV['BUILD_NUMBER'].to_i || 0
    )

    # use the UDID of the newly created provisioning profile
    ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID]

    gym(scheme: "myScheme") # Build your app - more options available
    deliver(skip_deploy: true, force: true)
  end

end

So I let fastlane set the provisioning profile to overcome another error message that I got before.

You can follow the code signing guide https://github.com/KrauseFx/fastlane/blob/master/docs/CodeSigning.md that should help you resolve this issue :+1:

Well, this is what I did which is why I added the link to this page at the end of my post. Any further ideas?

What have you set as the code signing identity value in the project file? Select your code signing identity and try if that helps :+1:

I just checked the signing identities and saw that for the Release build, the signing entities were set to iPhone Developer instead of iPhone Distribution. So I changed it to the latter:

However, the error message remains.
Also, I noticed that fastlane (sigh) seems to be generating a new provisioning profile each time it runs:
[13:10:52]: No existing profiles, creating a new one for you
[13:10:56]: The name 'eu.company.app AppStore' is already taken, using another one.

As a result, Apple Member Center now already lists 5 active profiles for 'eu.company.app AppStore'

I am confused...

Can you also run cert? You seem to not have the code signing identity installed that's required to sign your application.
Make sure you have the certificate + private key installed which is used in the provisioning profiles.

Ok, with cert fastlane does not show this error message any more. When reading the cert guide I wondered whether I should actually use sigh(force: true). Wouldn't  this option clutter up the list of provisioning files in Member Center?

No, the :force option will re-use existing profiles, but will make sure to re-generate the profile (under the same name) to have the most up to date code signing identity.


feat: allow user to define window height

I couldn't find a way to define window's height. I noticed the height was hardcoded so I mimic the config for width and apply it for height.
There's probably a better way to define height but I couldn't find that in the code.
As far as I understand, I could increase the height now using:
harpoon.ui:toggle_quick_menu(
          harpoon:list(),
          {
            ui_fallback_height = 20
          }
        )

Nice move, I think is missing in config.lua the property ui_fallback_height, so we can configure like that:
harpoon:setup({
    settings = {
        save_on_toggle = true,
        ui_fallback_height = 20
    }
})

I agree with you but those changes require a deeper refactor because right now the ui doesn't use setup settings at all.
In that case I would consider renaming that variable to ui_height (and ui_width).
Then the priority to read the values would be

toggle_quick_menu
settings
fallback

wdyt?

I have been playing around with some more UI options and I came to the same realization about the config. I don't have a problem with how it is now, but either moving it to the settings or at least adding a section to the documentation for them would be nice so users don't need to read the code to find the UI settings.
As far as the naming of the UI option for the height. I think ui_fallback_height is a bit misleading. The existing ui_fallback_width is a fallback for when no window is found to calculate the height. I think ui_height would be more appropriate.

I agree that the UI config should be provided in the setup. I did this PR as a quick patch to allow setting a height because the current height is too small for my normal usage (coming from v1).
However, implementing UI settings in the setup requires a bigger implementation and I'm not sure @ThePrimeagen would approve. According to the last live-stream I watched, this issue doesn't seem a priority.
I'll close this PR looking forward for a better implementation.


Tests for admin manage modules

Can one of the admins verify this patch?

test this please

test this please


feat: rewards claimer

Motivation:
We need a Rewards Claimer account extension that allows multiple rewards to be claimed with the Llama account as the caller.
Modifications:

LlamaBaseAccountExtension - Base Account Extension contract with onlyDelegateCall modifier
LlamaRewardsClaimGuard - Guard on top of Llama Account's execute function.
LlamaRewardsClaimAccountExtension - Rewards Claimer.
LlamaRewardsClaimStorage - Rewards Claimer Storage contract (To prevent storage collision with Llama Account while being delegate-called)
Rewards Claimer deploy script and input config.
Tests

Result:
Rewards Claimer

@AustinGreen Thoughts on renaming this to Llama Account Multi Call module? That's essentially what this is at the end of the day. We could then just have this as a generalized account multicall setup that can be used for any purpose that needs the account to call directly.

@AustinGreen Thoughts on renaming this to Llama Account Multi Call module? That's essentially what this is at the end of the day. We could then just have this as a generalized account multicall setup that can be used for any purpose that needs the account to call directly.

I've gone ahead and done this.


Each DB provider should have a test sub-DB

This would allow for

centralized testing of the API (unit tests written only once and tested on all known/registered DB providers)
easy checking  of the currently implemented features

Moreover, if we agree on the content of the test DB (say ~200 structures) each DB can store them in the internal format of the DB, and it is easy to check additionally that the way structures are returned by the API (e.g. in corner cases like partial occupancies, low-dimenasional systems, assemblies, ... - see #23) is consistent and correct across implementations.

I like this, but, specifically using the word SHOULD, i.e., an API implementation is still conformant without it.

At COD we already have a test API endpoint: http://www.crystallography.net/cod-test/optimade/info. Feel free to test it! Keep in mind that we also use that sub-database as a testbed, from time to time adding crafted crystal structures or removing them altogether.

Doing a bit of issue triage, I think this can be closed after the eventual approach we took with index meta-databases and the validation dashboard.


Support readOnly prop Dictating Toolbar Rendering

Is your feature request related to a problem? Please describe.
This component should accept an optional prop readOnly which toggles the toolbar rendering or not
Describe the solution you'd like
Conditionally render the toolbar based on the readOnly prop
Describe alternatives you've considered
N/A
Additional context
This relates to:

Issue #35
Issue #78

I would like to work on it. In the current state, SlateAsInputEditor takes readOnly props but that is for Editor, should we combine it or create additional props say readOnlyToolbar to render Toolbar based on it's value?

Great @codingdefined! I think we should be creating an additional prop (readOnlyToolbar) as you said. readOnly will be for whether or not you can type in the editor, so it will be different.

Start at the work done in #112


TSMessage over the navigation bar?

I'm on iOS7 and my TSMessage always shows beneath the NavigationBar, Is there any way to make it "cover" the navigation bar and status bar?
I'm using the following code:
[TSMessage showNotificationInViewController:self.navigationController
                                              title:@"Test test"
                                           subtitle:@"This is a tester"
                                              image:nil type:TSMessageNotificationTypeSuccess
                                           duration:1.0
                                           callback:nil
                                        buttonTitle:nil
                                     buttonCallback:nil
                                         atPosition:TSMessageNotificationPositionTop
                               canBeDismissedByUser:YES];

For anyone interested in a quick way to get this working (hopefully regardless of if you're using a TabViewController or a NavigationViewController), here's my approach that seems to work pretty well so far (going off of what @KrauseFx mentioned earlier):
Create a subclass of the TSMessage class (I called mine APMessage) and override the defaultViewController method like so:
+ (UIViewController *)defaultViewController {
    UIViewController *controller = [[UIViewController alloc] init];
    controller.view = [UIApplication sharedApplication].keyWindow;
    return controller;
}

@sammarks, that will cause your application to crash if you try to show a notification while another notification is showing.

@LandonRover well that's not going to work! Have you been able to find a solution that prevents the crash?

I've just been using the TSMessageNotificationPosition.NavBarOverlay parameter in the following function (swift, objc would be TSMessageNotificationPositionNavBarOverlay)
TSMessage.showNotificationInViewController(navigationController!,
  title: "some title",
  subtitle: "some subtitle",
  image: nil,
  type: .Message,
  duration: 2.0,
  callback: nil,
  buttonTitle: nil,
  buttonCallback: nil,
  atPosition: .NavBarOverlay,
  canBeDismissedByUser: true)


Create tar file

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@condor-webdev 👍 Nicely done!
Thank you!!


ClientAccessServerEnabled parameter

it states "The ClientAccessServerEnabled parameter specifies whether to enable IRM for Outlook on the web (formerly known as Outlook Web App) and Exchange ActiveSync."
Wouldn't the setting of the parameter to $False affect the remote connections via Outlook Anywhere as well?
Thank you

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

ID: d3564095-4afa-a88c-ceb0-87239fe172ac
Version Independent ID: e1cc3500-43c7-33cb-0b0a-332601c9ec9a
Content: Set-IRMConfiguration (exchange)
Content Source: exchange/exchange-ps/exchange/encryption-and-certificates/Set-IRMConfiguration.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

Hello @MaratMussabekov
Thanks for your feedback.
As the article says, the parameter affects the enablement of the feature on Outlook on the Web (Outlook Web Access) and ActiveSync here is more info https://docs.microsoft.com/en-us/exchange/enable-or-disable-information-rights-management-on-client-access-servers-exchange-2013-help

Yes, I saw this article, but from my experience, it disables irm for remote
users as well
Would it be possible to contact article author?
Thank you
On Sat, Aug 17, 2019 at 12:46 AM Andres Mariano Gorzelany <
<EMAIL_ADDRESS>wrote:

Hello @MaratMussabekov https://github.com/MaratMussabekov
Thanks for your feedback.
As the article says, the parameter affects the enablement of the feature
on Outlook on the Web (Outlook Web Access) and ActiveSync here is more info
https://docs.microsoft.com/en-us/exchange/enable-or-disable-information-rights-management-on-client-access-servers-exchange-2013-help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/office-docs-powershell/issues/3835?email_source=notifications&email_token=ALOQ5V4XTTXFVTBQ4LIPSS3QE37ZRA5CNFSM4ILQ3MLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4PRCOI#issuecomment-522129721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALOQ5V63EHXFGMH2MTQGUJ3QE37ZRANCNFSM4ILQ3MLA
.

Hello @chrisda your call here, thank you

added suggestions by @chrisda

@chrisda Please merge this PR #3968


Feature/fix globalAccpool batch shape

Depends on:

PR #142 (I branched from there to avoid possible conflicts with transformation/fpgadataflow/convert_to_hls_layers.py)

Summary:

Fix how was computed the output shape of GlobalAccPool_Batch
Add InferGlobalAccPoolLayer transform to support the implementation of GlobalAveragePool

Note:

This is Lucian's code

The conversion transformation introduced in this PR does not have a test, but since we've moved away from using non-quantized AvgPool as part of our example networks I'm fine with this for now. I made a comment above regarding the computation of the output shape when the input shape is missing the spatial dimension, but that is mostly for clarification and we can handle that later if it comes up


[CLOSED] Change note publication logs

 Issue by Themitchell
Monday 01 December 2014 at 16:49 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/336

Allow change notes to be stored in the publication logs for export at publish time.
This is an extension of the work carried out to export change notes to make them available on the front end.

Themitchell included the following code: https://github.com/alphagov/specialist-publisher/pull/336/commits

 Comment by tommyp
Tuesday 02 December 2014 at 13:20 GMT

LGTM. Any thoughts @james or @kalleth?

 Comment by james
Tuesday 02 December 2014 at 13:38 GMT

Was state_machine just not being used at all?

 Comment by Themitchell
Tuesday 02 December 2014 at 13:56 GMT

@james State machine wasn't being used no. The actual state stuff I assume was a lay over from when we started creating PublicationTasks. We initially intended to push these into the PublicationLog but instead opted to use a separate class. I checked my data and found not trace of any PublicationLog entries which had the state field set. And we don't set it anywhere in the codebasee hence the removal of both the state field and the reference to state machine. @tommyp I don't believe manuals actually ever used state at all. I don't think it should have ever made it to the codebase to be honest. I imagine it was a commit mistake.

 Comment by tommyp
Tuesday 02 December 2014 at 13:39 GMT

The code was leftover from manuals, which did use it.

 Comment by james
Tuesday 02 December 2014 at 14:03 GMT

OK, both of my pervious comments are all good then.
Just had quick chat: Andrew is going to see how painful it would be to add some tests for the saving of change_notes.

 Comment by Themitchell
Tuesday 02 December 2014 at 14:57 GMT

Not amazed at the idea of using DB calls in cucumber specs. As we don't test the observers and other registries, it's not a simple fix to add specs for the publication log. I have added some tests to our cukes to check for PublicationLog entries for a slug being created. Do we want to dig further and begin to test observer registries? I'm interested to hear the teams thoughts on this @tommyp @james @kalleth @alicebartlett

 Comment by james
Tuesday 02 December 2014 at 15:00 GMT

I am very happy with cucumber tests that call the database.

 Comment by Themitchell
Tuesday 02 December 2014 at 15:02 GMT

@james I would prefer to test this via a user facing interface. Unfortunately it isn't surfaced via this app but only in specialist-fronted.

 Comment by tommyp
Tuesday 02 December 2014 at 15:02 GMT

Since it's doing a fairly simple call to the DB I'm perfectly happy with this too.

 Comment by kalleth
Tuesday 02 December 2014 at 15:20 GMT

Where there's no user-facing interface to verify behaviour I'm fine with it directly checking the DB fwiw.
It basically mirrors what we do with external API's too (check that rummager got a request, etc).

 Comment by james
Tuesday 02 December 2014 at 15:04 GMT

@Themitchell ah, yes. Then it perhaps shouldn't be a cucumber test, but that's a different question. And I'm happy with this compromise.

 Comment by Themitchell
Tuesday 02 December 2014 at 15:30 GMT

One more thing to be added now is only exporting log entries to content-api that have change notes. I will add this now and we should be good to merge.

 Comment by Themitchell
Tuesday 02 December 2014 at 16:35 GMT

Updated to reflect behaviour of not creating a publication log if it is a minor update

 Comment by james
Tuesday 02 December 2014 at 16:48 GMT

Needs a rebase, then I'm gonna do a merge all over this.


Support named vectors in Qdrant

Description
This PR makes it possible to use named vectors from Qdrant in Langchain. That was requested multiple times, as people want to reuse externally created collections in Langchain. It doesn't change anything for the existing applications. The changes were covered with some integration tests and included in the docs.
Example
Qdrant.from_documents(
    docs,
    embeddings,
    location=":memory:",
    collection_name="my_documents",
    vector_name="custom_vector",
)

Issue: #2594
Tagging @rlancemartin & @eyurtsev. I'd appreciate your review.

Your approach over mine allows the following:

Add new documents to QDrant collection that uses a single vector key vector_name.
Query QDrant collection that uses any number of vector keys, using one pre-specified vector_name.

My approach in my second PR #5975 allows both scenarios but expands first to allow adding documents to collections that define multiple vector keys.
Now, my use case is already fulfilled with your work, because my use of langchain doesn't involve getting it to add new documents, but only for querying them. However, I would like you to understand the difference between both before you finalise your approach.

Your approach over mine allows the following:
* Add new documents to QDrant collection that uses a single vector key `vector_name`.

* Query QDrant collection that uses any number of vector keys, using one pre-specified `vector_name`.

My approach in my second PR #5975 allows both scenarios but expands first to allow adding documents to collections that define multiple vector keys.
Now, my use case is already fulfilled with your work, because my use of langchain doesn't involve getting it to add new documents, but only for querying them. However, I would like you to understand the difference between both before you finalise your approach.

We should not expose the vector configuration to the Langchain users. If anyone wants to use a custom configuration for their collection, it should be created directly with QdrantClient and then passed to Qdrant while being instantiated.

lgtm


Not able to use Key board in Simulators launched by fbsimctl

Hi
I am using fbsimctl for testing on different simulators and my app requires loads of data to be filled in. Using keyboard of simulator is not very efficient. Can someone please help.?

We don't use fbsimctl for automating UI interactions. There is a tap API, but it's not going to be a good way for you to interact with the UI.
You should take a look at WebDriverAgent, which talks directly to the iOS XCTest APIs.

Ohk thanks for the reply, actually i thought of using it for manual checking on different simulator for sanity, but i think thats not the best case for fbsimctl


Don't spam debug.log when the blockchain isn't synced

2019-09-14 05:31:13 CGovernanceManager::UpdateCachesAndClean -- Governance Objects: 0 (Proposals: 0, Triggers: 0, Other: 0; Erased: 0), Votes: 0 59m 60m

I also noticed a significant slow down in sync around DIP3 activation. I'm not sure if this slow-down is due to calculating the MN-List and diffs (not fixed by this commit) or if it is caused by the pushing to notification (hopefully fixed by this commit).
Be warned, I have not actually tested this commit yet. I'll try to get on that tomorrow.
Signed-off-by: Pasta<EMAIL_ADDRESS>

Hmm... that could be to invasive imo, I'd rather se smth like
    if (!masternodeSync.IsBlockchainSynced()) {
        return;
    }

in CGovernanceManager::UpdateCachesAndClean() itself instead.

I like that solution better, force-pushed

slightly tested, reindexed and I don't appear to have any weirdness going on.

new name looks good to me :)


Option to store certificate history in individual secrets

Is your feature request related to a problem? Please describe.
A common pattern to build a locally trusted CA with cert-manager is to create a self-signed issuer, use it to issue a CA certificate, then use that certificate with a ca issuer to issue leaf certificates. A common request with this configuration is to be able to supply a trust bundle to clients with at least the latest and previous certificate so they can trust the CA, and support rotation of that CA. In cases of compromise and early rotation, more than just one previous certificate may be required.
Describe the solution you'd like
This feature request is for a field in the Certificate CR that enables certificate history to be stored on the cluster as individual Secret resources for each certificate generated, which the user can then bundle up into a trust store using something like trust manager.
For example, this in the spec:
spec:
  certificateHistory:
    secretPrefix: my-certificate-history

Then for each revision of the certificate generated, a secret would be generated named <prefix>-<revision. We would need to label these with a secretTemplate, either the same one as for the certificate secret, or a similar scheme in the certificateHistory block.
Describe alternatives you've considered
Initial thought was to use the CertificateRequest resource to build the trust store, but there are concerns there about overloading the purpose of those resources. See https://github.com/cert-manager/trust-manager/issues/144.
Additional context
By adding support for certificate history, an end user could use the resources to build a trust bundle including every certificate issued by the self-signed issuer, automatically extending it as the root certificate is rotated. If a specific issued root certificate is considered compromised, the user could delete the specific Secret and it would be removed from the trust bundle with minimal overhead.
Assuming this proposal is accepted, I will make a proposal for trust-manager to enable selecting secrets by label using standard matchLabels/matchExpressions syntax.
spec:
  sources:
  - configmaps:
      matchLabels:
        mylabel: myvalue
      matchExpressions:
      - { key: mylabel, operator: In, values: [myvalue] }

/kind feature

I've had a look at the code and have a good idea about how to adjust the flow to ensure that the history is always complete. Happy to write code for this but thought it was sensible to get consensus on the idea first.

I would love to be able to do something like this - it would enable the use of things like immutable secrets too.
A few questions:

when/how do these get cleaned up?
how do we expect end-users to actually make use of these?
if someone mounts these into a Pod, this will require some automation controller to update their Deployment spec (or delete and recreate the Pod with the new spec)
if someone uses these with an ingress, how do we expect these to be updated?
how would this work with ingress-shim?

I think this is a great feature request, however there's a few practical questions about how these would be used that'd be great to get clarity on so we can understand the expected scope of the request :)

If this is specifically to address the trust-manager use case when building a CA store, I am inclined to actually go towards the approach of having issuer.status.caBundle which would contain the set of CAs needed to verify all known valid certificates issued by that CA, aka this could contain a list of many CAs which would be removed automatically as and when we can be sure they are no longer in use.
Hence asking for some expansion around the use-case outside of trust-manager and building CA stores :)

when/how do these get cleaned up?

I would say in the same way that CertificateRequest resources get cleaned up - by the end user.

how do we expect end-users to actually make use of these?

However they want to. I would suggest trust-manager but I was trying to propose a generic scheme that anyone could take advantage of.

if someone mounts these into a Pod, this will require some automation controller to update their Deployment spec (or delete and recreate the Pod with the new spec)

Yes, which is why putting trust-manager into the mix to bundle them together is my suggestion, to avoid having to do that. We could alternatively put them all into one secret with entry like cert-<revision>, but that feels more brittle for cases like removing compromised certificates and other management.

if someone uses these with an ingress, how do we expect these to be updated?

In what way, you mean to trust the backend service for an ingress? I expect the ingress would need to point to a bundle of all the certificates created by a separate process.

how would this work with ingress-shim?

I'm not sure it does. Ingress shim seems more about providing an active certificate with its private key to secure an endpoint. This issue describes part of the solution to trusting that certificate (and by extension, that endpoint) based on a trust store with the CA history.

If this is specifically to address the trust-manager use case when building a CA store, I am inclined to actually go towards the approach of having issuer.status.caBundle which would contain the set of CAs needed to verify all known valid certificates issued by that CA, aka this could contain a list of many CAs which would be removed automatically as and when we can be sure they are no longer in use.

I thought in general cert-manager didn't want to be involved in building trust bundles, which is why trust-manager exists, hence looking for a generic mechanism that could be used by other tools as well. It also only makes sense for the CAIssuer - with other issuers we have no reliable way of determining the correct root certificates to provide to clients.
Is there an issue/discussion around this? I'm not sure how we could identify when a certificate is no longer in use.

Another use case of this mechanism could be for certificate audit purposes, to maintain a history of certificates that can be traced back reliably.

I thought in general cert-manager didn't want to be involved in building trust bundles

I think that's (sort of) correct, but I do think it is in scope for cert-manager to handle/enable some form of graceful CA rollover. It's a long asked for and missed feature I think.

with other issuers we have no reliable way of determining the correct root certificates to provide to clients.

This would be an optional field that issuer implementations could choose to populate. For core issuers, the CA issuer, Vault issuer and potentially Venafi (depending on how that is set up) could all make use of it. For ACME, I think if someone runs their own ACME server and does have a way to access the CA data, they could still have a controller that populates/manages the status.caBundles field to enable this sort of thing.. though I am not sure that is in scope here.

Another use case of this mechanism could be for certificate audit purposes, to maintain a history of certificates that can be traced back reliably.

I don't think this should be pitched as an audit feature. It'd be a "poor mans CT log" and I don't personally trust the integrity of the data store either (anyone can come along and delete the object, and the only evidence of that would be the apiserver audit log, which itself also already contains the 'create' events, effectively defeating the value of using the apiserver for this audit purpose).

Is there an issue/discussion around this? I'm not sure how we could identify when a certificate is no longer in use.

"no longer in use" IMO here means "has passed its expiry". We can't know if it is still in use, as the certificate may be copied to some external system etc. Typically, CAs wait until the last issued certificate has expired to stop including that older CA in its bundle.

As an alternative to this for trust-manager specifically right now, without having support for the issuer.status.caBundle in core cert-manager, trust-manager could just look at the issued certificate/Secret, and if it finds a CA in there that it hasn't already persisted into the 'target' trust bundle, it could append it there. Just trying to think of ways we can do this more easily and side-step some of the harder parts above.. :)

I think that's (sort of) correct, but I do think it is in scope for cert-manager to handle/enable some form of graceful CA rollover. It's a long asked for and missed feature I think.

That's the line I Was trying to walk. Suggest a feature that isn't just "Provide a trust bundle for issuers" but would enable that use case to be developed in a declarative, cloud native way.

This would be an optional field that issuer implementations could choose to populate. For core issuers, the CA issuer, Vault issuer and potentially Venafi (depending on how that is set up) could all make use of it. For ACME, I think if someone runs their own ACME server and does have a way to access the CA data, they could still have a controller that populates/manages the status.caBundles field to enable this sort of thing.. though I am not sure that is in scope here.

I would love to see this implemented, is there a proposal anywhere that already exists? I do wonder if it falls on the wrong side of the trust bundle line. It invites cases like this where the user expects the generated certs to be updated with new CA data too: https://github.com/cert-manager/cert-manager/issues/5851. It's debatable whether a generated certificate should even have a ca.crt field in it.

I don't think this should be pitched as an audit feature.

Good points, I agree.

"no longer in use" IMO here means "has passed its expiry". We can't know if it is still in use, as the certificate may be copied to some external system etc. Typically, CAs wait until the last issued certificate has expired to stop including that older CA in its bundle.

Exactly and we have no way to know when the last issued certificate has expired. Having old ca certificates in the trust bundle isn't incredibly dangerous because they're expired anyway and public knowledge. Either way, I think that's not a cert-manager job.

As an alternative to this for trust-manager specifically right now, without having support for the issuer.status.caBundle in core cert-manager, trust-manager could just look at the issued certificate/Secret, and if it finds a CA in there that it hasn't already persisted into the 'target' trust bundle, it could append it there. Just trying to think of ways we can do this more easily and side-step some of the harder parts above.. :)

I think that opens race conditions where a generated cert could be missed if an operator was out of action during its creation. I suggested something similar using the CertificateRequest objects that cert-manager already creates and form a decent history here: https://github.com/cert-manager/trust-manager/issues/144

I see you've been debating this since 2020 :)

/reopen
I think this is an excellent idea that might make cert-manager support trust-manager better. IMO we should have a design before trying to implement it. There are already too many secrets in a K8s cluster, and we must somehow manage to not make this a lot worse.