Ignore fields option not working

Environment
Sonata packages
show

Color legend:
- patch or minor release available - update recommended
- major release available - update possible
- up to date version
sonata-project/admin-bundle              4.18.0 4.18.0 The missing Symfony Admin Generator
sonata-project/block-bundle              4.17.0 4.17.0 Symfony SonataBlockBundle
sonata-project/cache                     2.2.0  2.2.0  Cache library
Package sonata-project/cache is abandoned, you should avoid using it. No replacement was suggested.
sonata-project/doctrine-extensions       2.0.1  2.0.1  Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 4.7.0  4.7.0  Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/entity-audit-bundle       1.8.0  1.8.0  Audit for Doctrine Entities
sonata-project/exporter                  3.0.0  3.0.0  Lightweight Exporter library
sonata-project/form-extensions           1.18.0 1.18.0 Symfony form extensions
sonata-project/intl-bundle               2.14.0 3.0.0  Symfony SonataIntlBundle
sonata-project/media-bundle              4.5.1  4.5.1  Symfony SonataMediaBundle
sonata-project/translation-bundle        3.1.0  3.1.0  SonataTranslationBundle
sonata-project/twig-extensions           2.0.0  2.0.0  Sonata twig extensions

Symfony packages
show

Color legend:
- patch or minor release available - update recommended
- major release available - update possible
- up to date version
symfony/amqp-messenger             v5.4.11 v6.1.3  Symfony AMQP extension Messenger Bridge
symfony/asset                      v5.4.7  v6.1.0  Manages URL generation and versioning of web assets ...
symfony/browser-kit                v5.4.11 v6.1.3  Simulates the behavior of a web browser, allowing yo...
symfony/cache                      v5.4.11 v6.1.3  Provides an extended PSR-6, PSR-16 (and tags) implem...
symfony/cache-contracts            v2.5.2  v3.1.1  Generic abstractions related to caching
symfony/config                     v5.4.11 v6.1.3  Helps you find, load, combine, autofill and validate...
symfony/console                    v5.4.12 v6.1.4  Eases the creation of beautiful and testable command...
symfony/css-selector               v5.4.11 v6.1.3  Converts CSS selectors to XPath expressions
symfony/debug-bundle               v5.4.11 v6.1.3  Provides a tight integration of the Symfony VarDumpe...
symfony/dependency-injection       v5.4.11 v6.1.3  Allows you to standardize and centralize the way obj...
symfony/deprecation-contracts      v3.1.1  v3.1.1  A generic function and convention to trigger depreca...
symfony/doctrine-bridge            v5.4.11 v6.1.3  Provides integration for Doctrine with various Symfo...
symfony/doctrine-messenger         v5.4.12 v6.1.4  Symfony Doctrine Messenger Bridge
symfony/dom-crawler                v5.4.12 v6.1.4  Eases DOM navigation for HTML and XML documents
symfony/dotenv                     v5.4.5  v6.1.0  Registers environment variables from a .env file
symfony/error-handler              v5.4.11 v6.1.3  Provides tools to manage errors and ease debugging P...
symfony/event-dispatcher           v5.4.9  v6.1.0  Provides tools that allow your application component...
symfony/event-dispatcher-contracts v3.1.1  v3.1.1  Generic abstractions related to dispatching event
symfony/expression-language        v5.4.11 v6.1.3  Provides an engine that can compile and evaluate exp...
symfony/filesystem                 v5.4.12 v6.1.4  Provides basic utilities for the filesystem
symfony/finder                     v5.4.11 v6.1.3  Finds files and directories via an intuitive fluent ...
symfony/flex                       v2.2.3  v2.2.3  Composer plugin for Symfony
symfony/form                       v5.4.12 v6.1.4  Allows to easily create, process and reuse HTML forms
symfony/framework-bundle           v5.4.12 v6.1.4  Provides a tight integration between Symfony compone...
symfony/http-client                v5.4.12 v6.1.4  Provides powerful methods to fetch HTTP resources sy...
symfony/http-client-contracts      v2.5.2  v3.1.1  Generic abstractions related to HTTP clients
symfony/http-foundation            v5.4.12 v6.1.4  Defines an object-oriented layer for the HTTP specif...
symfony/http-kernel                v5.4.12 v6.1.4  Provides a structured process for converting a Reque...
symfony/intl                       v5.4.11 v6.1.0  Provides a PHP replacement layer for the C intl exte...
symfony/lock                       v5.4.10 v6.1.3  Creates and manages locks, a mechanism to provide ex...
symfony/mailer                     v5.4.12 v6.1.4  Helps sending emails
symfony/maker-bundle               v1.45.0 v1.46.0 Symfony Maker helps you create empty commands, contr...
symfony/messenger                  v5.4.11 v6.1.3  Helps applications send and receive messages to/from...
symfony/mime                       v5.4.12 v6.1.4  Allows manipulating MIME messages
symfony/monolog-bridge             v5.4.10 v6.1.2  Provides integration for Monolog with various Symfon...
symfony/monolog-bundle             v3.8.0  v3.8.0  Symfony MonologBundle
symfony/notifier                   v5.4.8  v6.1.0  Sends notifications via one or more channels (email,...
symfony/options-resolver           v5.4.11 v6.1.0  Provides an improved replacement for the array_repla...
symfony/password-hasher            v5.4.11 v6.1.3  Provides password hashing utilities
symfony/phpunit-bridge             v6.1.3  v6.1.3  Provides utilities for PHPUnit, especially user depr...
symfony/polyfill-intl-grapheme     v1.26.0 v1.26.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-icu          v1.26.0 v1.26.0 Symfony polyfill for intl's ICU-related data and cla...
symfony/polyfill-intl-idn          v1.26.0 v1.26.0 Symfony polyfill for intl's idn_to_ascii and idn_to_...
symfony/polyfill-intl-normalizer   v1.26.0 v1.26.0 Symfony polyfill for intl's Normalizer class and rel...
symfony/polyfill-mbstring          v1.26.0 v1.26.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php73             v1.26.0 v1.26.0 Symfony polyfill backporting some PHP 7.3+ features ...
symfony/polyfill-php80             v1.26.0 v1.26.0 Symfony polyfill backporting some PHP 8.0+ features ...
symfony/polyfill-php81             v1.26.0 v1.26.0 Symfony polyfill backporting some PHP 8.1+ features ...
symfony/process                    v5.4.11 v6.1.3  Executes commands in sub-processes
symfony/property-access            v5.4.11 v6.1.3  Provides functions to read and write from/to an obje...
symfony/property-info              v5.4.11 v6.1.3  Extracts information about PHP class' properties usi...
symfony/proxy-manager-bridge       v5.4.6  v6.1.0  Provides integration for ProxyManager with various S...
symfony/rate-limiter               v5.4.11 v6.1.3  Provides a Token Bucket implementation to rate limit...
symfony/redis-messenger            v5.4.6  v6.1.3  Symfony Redis extension Messenger Bridge
symfony/routing                    v5.4.11 v6.1.3  Maps an HTTP request to a set of configuration varia...
symfony/runtime                    v5.4.11 v6.1.3  Enables decoupling PHP applications from global state
symfony/security-acl               v3.3.2  v3.3.2  Symfony Security Component - ACL (Access Control List)
symfony/security-bundle            v5.4.11 v6.1.3  Provides a tight integration of the Security compone...
symfony/security-core              v5.4.11 v6.1.4  Symfony Security Component - Core Library
symfony/security-csrf              v5.4.11 v6.1.0  Symfony Security Component - CSRF Library
symfony/security-guard             v5.4.9  v5.4.9  Symfony Security Component - Guard
symfony/security-http              v5.4.12 v6.1.4  Symfony Security Component - HTTP Integration
symfony/serializer                 v5.4.12 v6.1.4  Handles serializing and deserializing data structure...
symfony/service-contracts          v2.5.2  v3.1.1  Generic abstractions related to writing services
symfony/stopwatch                  v5.4.5  v6.1.0  Provides a way to profile code
symfony/string                     v5.4.12 v6.1.4  Provides an object-oriented API to strings and deals...
symfony/translation                v5.4.12 v6.1.4  Provides tools to internationalize your application
symfony/translation-contracts      v2.5.2  v3.1.1  Generic abstractions related to translation
symfony/twig-bridge                v5.4.12 v6.1.4  Provides integration for Twig with various Symfony c...
symfony/twig-bundle                v5.4.8  v6.1.1  Provides a tight integration of Twig into the Symfon...
symfony/validator                  v5.4.12 v6.1.4  Provides tools to validate values
symfony/var-dumper                 v5.4.11 v6.1.3  Provides mechanisms for walking through any arbitrar...
symfony/var-exporter               v5.4.10 v6.1.3  Allows exporting any serializable PHP data structure...
symfony/web-link                   v5.4.3  v6.1.0  Manages links between resources
symfony/web-profiler-bundle        v5.4.10 v6.1.2  Provides a development tool that gives detailed info...
symfony/yaml                       v5.4.12 v6.1.4  Loads and dumps YAML files

PHP version
PHP 8.1.5 (cli) (built: Apr 12 2022 17:38:57) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.5, Copyright (c) Zend Technologies

Subject
Ignore fields option not working
Steps to reproduce
It is enough to create a regular entity with created_at and updated_at fields and ignore using options:
    global_ignore_columns:
        - created_at
        - updated_at

Expected results
The data is saved anyway, while the table was generated earlier without exceptions. Migrations also show no changes (deleting fields from the audit table).
Actual results
It is necessary that the setting to ignore fields would work. At what you try the name of the field and the name of the field in the database - nothing works

Can I work on this?

@MartinCigarsky yes, the issue is still there.

Sorry for late response, but I wasn't able to encounter this bug. More stated in PR.

@MartinCigarsky Thanks, perhaps the problem is that the audit of the entire table initially started, then set up ignoring and then the fields do not disappear for the audit? I'll try to revise the settings and update the package, maybe it will help, in any case, thanks for the responsiveness and help.

Hi:
I have tried reproducing this, and realised that you should use the name of the field in the entity and not the name of the field in the database.
I have tested and by putting the field name as it is in the createdAt entity and not created_at as it is in the database, it works correctly.
Maybe this will help.

@idmarinas Greetings. Tried of course. Now I was setting up this package for a new project and there is the same problem. Initially, I forgot to ignore the field, the audit table was updated ... after that I ignore the field, check the migration - the field is not deleted, but in fact it should.


Tkinter problem on darwin

i get this problem on OS X 10.9.5 but not on NixOS.
code of guitest.py
#! /usr/bin/env nix-shell
#! nix-shell -i python -p python python27Packages.tkinter

import Tkinter

class simpleapp_tk(Tkinter.Tk):
    def __init__(self,parent):
        Tkinter.Tk.__init__(self,parent)
        self.parent = parent
        self.initialize()

    def initialize(self):
        pass

if __name__ == "__main__":
    app = simpleapp_tk(None)
    app.title('my application')
    app.mainloop()

Traceback (most recent call last):
  File "./guitest.py", line 16, in <module>
    app = simpleapp_tk(None)
  File "./guitest.py", line 8, in __init__
    Tkinter.Tk.__init__(self,parent)
  File "/nix/store/qp0d2fi7bqsb3vl1qpknc294klq4g9zp-python-2.7.10/lib/python2.7/lib-tk/Tkinter.py", line 1816, in __init__
    self._loadtk()
  File "/nix/store/qp0d2fi7bqsb3vl1qpknc294klq4g9zp-python-2.7.10/lib/python2.7/lib-tk/Tkinter.py", line 1832, in _loadtk
    % (_tkinter.TK_VERSION, tk_version)
RuntimeError: tk.h version (8.6) doesn't match libtk.a version (8.5)

same error with #! nix-shell -i python3 -p python3

@datakurre ideas? it works on NixOS.

I can reproduce this with the latest master and new pure darwin stdenv with the changes below. I'll flag this for ##nix-darwin for an issue to be resolved. /cc @pikajude
diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix
index 6f951bc..79cea58 100644
--- a/pkgs/development/interpreters/python/2.7/default.nix
+++ b/pkgs/development/interpreters/python/2.7/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, self, callPackage
-, bzip2, openssl, gettext
+, bzip2, openssl, gettext, darwin

 , includeModules ? false

@@ -249,7 +249,10 @@ let

     tkinter = if stdenv.isCygwin then null else (buildInternalPythonModule {
       moduleName = "tkinter";
-      deps = [ tcl tk xlibsWrapper libX11 ];
+      deps = [ tcl tk xlibsWrapper libX11
+               darwin.apple_sdk.frameworks.Cocoa
+               darwin.apple_sdk.frameworks.Tcl
+               darwin.apple_sdk.frameworks.Tk];
     });

   } // {
diff --git a/pkgs/os-specific/darwin/apple-sdk/frameworks.nix b/pkgs/os-specific/darwin/apple-sdk/frameworks.nix
index 750adfe..b828e55 100644
--- a/pkgs/os-specific/darwin/apple-sdk/frameworks.nix
+++ b/pkgs/os-specific/darwin/apple-sdk/frameworks.nix
@@ -100,7 +100,7 @@ with frameworks; with libs; {
   SystemConfiguration     = [ CF Security ];
   TWAIN                   = [ Carbon ];
   Tcl                     = [];
-  Tk                      = [ ApplicationServices Carbon X11 ];
+  Tk                      = [ ApplicationServices Carbon ];
   VideoDecodeAcceleration = [ CF CoreVideo ];
   VideoToolbox            = [ CF CoreMedia CoreVideo ];
   WebKit                  = [ ApplicationServices Carbon JavaScriptCore OpenGL ];
diff --git a/pkgs/os-specific/darwin/apple-sdk/impure-deps.nix b/pkgs/os-specific/darwin/apple-sdk/impure-deps.nix
index 94152d1..d2d1c93 100644
--- a/pkgs/os-specific/darwin/apple-sdk/impure-deps.nix
+++ b/pkgs/os-specific/darwin/apple-sdk/impure-deps.nix
@@ -252,6 +252,12 @@ rec {
   SecurityFoundation = [
     "/System/Library/Frameworks/SecurityFoundation.framework"
   ];
+  Tcl = [
+    "/System/Library/Frameworks/Tcl.framework"
+  ];
+  Tk = [
+    "/System/Library/Frameworks/Tk.framework"
+  ];
   Kernel = [
     "/System/Library/Frameworks/Kernel.framework"
   ];

Was already flagged and known issue.

Has this been fixed? Is this issue still relevant?

build of python27Packages.tkinter fails on nixpkgs master.
http://ipfsbin.xyz/#QmePDtMzqb6iGS6PQZsrqLwhXfU8rzTYXts2gNEeEMjcq3
with python3 i just get:
[nix-shell:~]$ python3 guitest.py
Traceback (most recent call last):
  File "guitest.py", line 1, in <module>
    import Tkinter
ImportError: No module named 'Tkinter'

there is no python35Packages.tkinter.

The Python 3.x module is named tkinter, instead of Tkinter, and is on Nix not in any separate derivation contrary to 2.x.

@FRidh thanks.
simple example with python3 also fails:
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p python3

import tkinter
top = tkinter.Tk()
top.mainloop()

imac:Python davidak$ ./guitest.py
Traceback (most recent call last):
  File "./guitest.py", line 6, in <module>
    import tkinter
  File "/nix/store/gzsbc240vkz13z5wypmlkm2kh1gmw1f6-python3-3.5.2/lib/python3.5/tkinter/__init__.py", line 35, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'

build of python-tkinter-2.7.12 still fails:
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
building
running build_ext
sh: file: command not found
building '_tkinter' extension
creating build/temp.macosx-10.7-x86_64-2.7/private
creating build/temp.macosx-10.7-x86_64-2.7/private/var
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12
creating build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules
clang -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/no-such-path/X11R6/include -I/nix/store/n3bdl0kg02d11qpww05bmhx68xq191ld-python-2.7.12/include -I. -IInclude -I./Include -I/nix/store/n3bdl0kg02d11qpww05bmhx68xq191ld-python-2.7.12/include/python2.7 -c /private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/_tkinter.c -o build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/_tkinter.o -framework Tk
clang-3.7: warning: -framework Tk: 'linker' input unused
clang-3.7: warning: argument unused during compilation: '-fno-strict-overflow'
/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/_tkinter.c:1178:38: warning: incompatible pointer types passing 'Py_UNICODE *' (aka 'unsigned int *') to parameter of type 'const Tcl_UniChar *' (aka 'const unsigned short *') [-Wincompatible-pointer-types]
            return Tcl_NewUnicodeObj(inbuf, size);
                                     ^~~~~
/nix/store/xqqg00f9z3p3f1iyasg8qfzr81vjnz1a-tcl-8.6.6/include/tclDecls.h:1103:55: note: passing argument to parameter 'unicode' here
EXTERN Tcl_Obj *        Tcl_NewUnicodeObj(const Tcl_UniChar *unicode,
                                                             ^
1 warning generated.
clang -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/no-such-path/X11R6/include -I/nix/store/n3bdl0kg02d11qpww05bmhx68xq191ld-python-2.7.12/include -I. -IInclude -I./Include -I/nix/store/n3bdl0kg02d11qpww05bmhx68xq191ld-python-2.7.12/include/python2.7 -c /private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/tkappinit.c -o build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/tkappinit.o -framework Tk
clang-3.7: warning: -framework Tk: 'linker' input unused
clang-3.7: warning: argument unused during compilation: '-fno-strict-overflow'
creating build/lib.macosx-10.7-x86_64-2.7
clang -bundle -undefined dynamic_lookup build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/_tkinter.o build/temp.macosx-10.7-x86_64-2.7/private/var/folders/fb/knpgn__s7_s20d_x1gsllflr0000gn/T/nix-build-python-tkinter-2.7.12.drv-0/Python-2.7.12/Modules/tkappinit.o -L/nix/store/n3bdl0kg02d11qpww05bmhx68xq191ld-python-2.7.12/lib -o build/lib.macosx-10.7-x86_64-2.7/_tkinter.so -framework Tcl -framework Tk
ld: warning: directory not found for option '-L/nix/store/a8gicd4d85bc5j73s6rs601v5fga6yja-xlibs-wrapper/lib'
ld: framework not found Tcl
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

Python build finished, but the necessary bits to build these modules were not found:
_bsddb     _curses    _curses_panel
_sqlite3   _ssl       bsddb185
bz2        dbm        dl
gdbm       imageop    linuxaudiodev
nis        ossaudiodev   readline
spwd       sunaudiodev   zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

Failed to build these modules:
_tkinter

installing
cp: missing destination file operand after '/nix/store/m10dzar03bpksqm6w1wmj7bl6s520r25-python-tkinter-2.7.12/lib/python2.7/site-packages/'
Try 'cp --help' for more information.
builder for ‘/nix/store/jcp1r9xvz8bj2hvwk4qvklzi5szq2pr4-python-tkinter-2.7.12.drv’ failed with exit code 1
error: build of ‘/nix/store/jcp1r9xvz8bj2hvwk4qvklzi5szq2pr4-python-tkinter-2.7.12.drv’ failed

on master (nixpkgs-17.03pre93141.e3deccc)

The following works:
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p 'python3.withPackages(ps:[ps.tkinter])'

import tkinter
top = tkinter.Tk()
top.mainloop()


Property test

Add test cases

Move property test to controllers
Add test cases for the models and controllers

@shahadat3669 Thank you!


Makefile | Environment variable to set install location and to build static target

It would be nice to have an environment variable or argument for the Makefile/make command to replace /usr/lib and /usr/include since some use-cases require static links and copying the files into /usr/lib requires (most likely) root permission.

I'm focusing on a slim Makefile that should cover most use cases


\removefontfeature

Necessary because we can't always just cascade conflicting features on top of each other.

In the next release most commands will have feature to allow them to be deactivated, removing the need for \removefontfeature.
I did look into providing something called \removefontfeature but it was difficult to get right and added ambiguity to the interface; e.g., how to cope with \removefontfeature{BoldFeature={Letters=Capitals}} ?
Could have \removefontfeature[Bold]{Letters=Capitals} but in the end the "simpler" approach to use \addfontfeatures{Letters=Reset} works a bit better IMO.


where do set server ipaddress?pls

i can't found the server ipaddress

It is in the Account Setting -> Connection Settings (Override server default options)
I have started a new development on aTalk application – a fork from the jisti-android. If you are interested, you may download the apk from the following site. In aTalk, you can input the ipaddress when you create a new account.
Date: Sat Sep 17 13:50:08 SGT 2016
last_version=0.5.2
download_link=http://atalk.sytes.net/releases/atalk-android/aTalk-release.apk

thanks!i try agin!


Material-Sprint: app/styleguide/button

demo.html

Much whitespace when not needed eg https://github.com/google/web-starter-kit/blob/material-sprint/app/styleguide/button/demo.html#L9 this can be tidied up

button.js

For readability lets use more meaningful variable names. For example on line 3 constructor we have el, we should call this element to be clearer. Same in other parts of file eg line 26 and 90 etc..

Move functions to prototype (lines 22 - 87) https://github.com/google/web-starter-kit/blob/material-sprint/app/styleguide/button/button.js#L22 After discussing this with Addy, conclusion is that it was better to favor memory savings.  This means private variable declarations that need to be used in a prototyped function would need to be converted from var x to be this.x  so it can be accessed. We should therefore use the common convention of adding an underscore on the end to indicate it is private and shouldnt be used directly. So the variable would be defined as: this.x_ = blah;

Initialize declared variables with a default. Eg https://github.com/google/web-starter-kit/blob/material-sprint/app/styleguide/button/button.js#L8 same elsewhere. Will allow you to loose part of a conditional later on - easier to read. Eg if scale and size were initialized on lines 42 and 43, the conditional directly proceeding would not need the else statement and only overwrites if start is true. Line 53 is then also redundant as it could have been initialized above in one line. Etc...

Remove unneeded whitespace where it makes sense eg on line 15 https://github.com/google/web-starter-kit/blob/material-sprint/app/styleguide/button/button.js#L15

To make this IE9 friendly use an alternative to classlist.add and classlist.remove on 73 and 76. We should really try and get IE9 support if possible.

What happens when paper buttons are added to the dom via javascript AFTER the document load has already fired? Handle this case as it is quite possible someone will need to programatically add a button.

Put all classes and constants in their own respective private enum objects near top of file so they can easily be changed in 1 place going forwards. For example:

this.ClassNames_ = {
  TRANSITION_LONG: 'transitionLong',
  UNSCALED: 'unscaled',
  SCALED: 'scaled'
};

Should be addressed by https://github.com/google/web-starter-kit/commits/material-sprint?author=jasonmayes (December patterns sprint by Jason)


Research ways to make commit messages more useful (and possibly standardize them)

I think
https://chiamakaikeanyi.dev/how-to-write-good-git-commit-messages/
does a good job at explaining and streamlining. We should follow this guideline.


🐛 BUG: Running d1 Commands Requires to Select an Account Every Time

What version of Wrangler are you using?
2.6.2
What operating system are you using?
macOS Ventura 13.0.2
Describe the Bug
Every time I run a wrangler d1 command, I get prompted to select which account I would like to use:
Select an account from below:
<EMAIL_ADDRESS>Account
❯ xxx

This can get frustrating really fast, especially when testing and running multiple commands.

Still an issue with 2.9.1. This is inconsistent with other wrangler commands.

Fixed as of https://github.com/cloudflare/workers-sdk/commit/5f48c405c663de0c6b2bfc27005246f1fdec6987 but not yet in a public release.
Use npx wrangler@beta to test from tip.


[BUG] "Serve Uploads From" banner does not link to the right place

Describe the bug
The banner displayed when "Serve uploads from" is unset links to an invalid page. https://chibi.blatant-lizardry.moe/dashboard/settings is not real, but https://chibi.blatant-lizardry.moe/dashboard/admin/settings is real.
To Reproduce
Unset "Service > Serve Uploads From".
Expected behavior
Should go to /dashboard/admin/settings, not /dashboard/settings.

Thank you for reporting this, fixed in https://github.com/chibisafe/chibisafe/commit/6697f2eba5533ed01c2e4468b511624f515f3091


Proposal: Actions

This is mostly in an idea phase rather than a well-formed proposal. Hoping to start a discussion around use cases and potential solutions.
There are many cases in which you might want to know when certain actions are being taken by players, that may or may not result in component updates, e.g. a player attacks another player and misses.
We have a system call stream, but it's just a different view on component updates (grouped by system calls), so it depends on a component updates being emitted for the system call to propagate to clients.
This also means that you have to infer what happened based on component updates, essentially duplicating logic on the client that already exists in the contracts (source of truth). "Attack system was called, and player health lowered, so they must have landed a hit and taken damage." We could expand the system call stream to include all system calls, but it still requires inferring behavior in the client, and streaming this data from the RPC node isn't as efficient as filtering on events.
For cases where you might want to "listen" to things like a "missed attack", you can create/update an arbitrary component to get it into the system call stream, and then check that no damage was done (or however you model your combat system), but this feels more like a workaround and adds a lot more gas.
I'd like to propose we have some generic Solidity event type that you can emit from systems (and/or is emitted automatically on execute calls) that can represent named actions. Then expose an action stream so that UIs can trigger animations, effects, etc. We can create some patterns that help guide folks away from one-off modeling and preferring ECS where possible, but I think the cases above just can't be modeled well in our current setup with system call stream, etc.

I really like this.
The main problem with emitting events in systems is that when you reregister it, the events are lost. But I think that's not an issue here, since events are short-lived UI helpers (unlike e.g. ERC20 events, which are an important source of client data).
I suggest an event prefix:
event SystemAction__Attack(uint256 indexed entity, uint256 dealtDamage, uint256 resistedDamage);
event SystemAction__SkillUse(uint256 indexed entity, uint256 skillEntity);
// etc...

Always having an entity first (which would just be a convention) would allow some default clientside filtering by said entity. And you would always need at least 1 entity; even for truly global events there's a singletonEntity.
A single event SystemAction(uint256 indexed entity, bytes args); means having to store the events schema somewhere, which is complicated, so multiple events with free arguments seem far easier both for MUD devs and MUD implementers.
The client must know the abi for events, but that's not an issue, and that requirement already kinda exists (e.g. system types require it).
 The only not-action system events I can think of atm are ERC-compatibility ones, e.g. Transfer emitted by ERC721BaseSystem

If each event has a different name/signature, it'd make it harder to filter the event stream - you'd have to set up log filters for each event type, making the system call stream essentially opt-in on a per-event basis. That's not necessarily a bad thing, just calling it out.
Alternatively, could follow something that's more like a JS event emitter, where we have a generic event type and an action name (with whatever namespacing scheme you decide on, similar to component/system ID schemes):
event SystemAction(string indexed indexedActionName, string actionName, uint256 entityId, bytes data);

(Both indexedActionName and actionName are provided here because an indexed dynamic-length string is hashed before indexing, so we need both to support filtering and reading the string from the event logs.)
We could limit action names to 32 characters to fit in an indexed bytes32, but that seems like a pretty strong limitation.
event SystemAction(bytes32 indexed actionName, uint256 entityId, bytes data);

Another point of tension is that some events may affect multiple entities (e.g. an RTS) and might be kinda gassy to emit an event per entity, but it's also a pain to construct an array in Solidity.

If each event has a different name/signature, it'd make it harder to filter the event stream - you'd have to set up log filters for each event type

Event names/signatures are just another (albeit quite special) log topic (indexed datum).
Usually the first topic is implicitly filtered by, but that's not necessary if you want all the events of a contract (and quite easy to do in ethers I think).
(For a good explanation of event logs and their topics see https://docs.ethers.org/v5/concepts/events/)
By having string indexed indexedActionName you're basically wasting the 1st topic and using the 2nd topic to do its job.
bytes32(bytes("combat:miss")) is basically what's done by the compiler to the event names (which are turned into the 1st topic, and their names stored in the abi json).
recs or std-client can provide filter functions that abstract away parsing system abi, getting all the prefixed events and all that.

Another point of tension is that some events may affect multiple entities (e.g. an RTS) and might be kinda gassy to emit an event per entity

That would be bad. I meant indexed entity as a scoping mechanism of sorts.
Imagine an rts with 100 matches of 5 players each, all of them getting all the events for each others actions.
But if you have the entity as matchEntity, then only the 5 ppl within the match get each others events.
It would be very use-case-specific.
All the other entities can and should also be part of the event data.
Depending on what entity means in your system, you could either have:
event SystemAction_CombatMiss(uint256 indexed entity, uint256 attackerEntity, uint256 defenderEntity);

or
event SystemAction_CombatMiss(uint256 indexed entity, uint256 defenderEntity);

Coming back to this again, I am realizing that I haven't made use of the return values from system execute functions. That would help with my immediate needs (e.g. an enum that defines the hit, miss, flee result types, possibly with corresponding data for each type).
That said, for complicated system calls that may have lots of potential actions/results, it still might be hard to do via return types and events seem like a better abstraction.

@dk1a has started prototyping an approach for this in #665 using existing v2 protocol/infra 🎉  Shoutout to @yonadaaa and @Kooshaba for the initial spec (https://www.notion.so/latticexyz/Ephemeral-Tables-c02a1303a93a4af29458d02c2950c266)


TypeError: init_weights() missing 1 required positional argument: 'pretrained'

Traceback (most recent call last):
File "tools/train.py", line 188, in
main()
File "tools/train.py", line 162, in main
model.init_weights()
File "/home/ubuntu/.conda/envs/open-mmlab/lib/python3.8/site-packages/mmcv/runner/base_module.py", line 55, in init_weights
m.init_weights()
TypeError: init_weights() missing 1 required positional argument: 'pretrained'

已解决

this repo needs mmcv=1.0.5,  which version of mmcv did you install?

Hey @chensen668 , I'm facing the same error. Did you solve it? Can you please reply?

Hey @chensen668 , I'm facing the same error. Did you solve it? Can you please reply?

you need to use mmdet=2.3.0. Same version as the author.

Hey @chensen668 , I'm facing the same error. Did you solve it? Can you please reply?

The author's code is not compatible with other mmdet versions

But when I use mmdet==2.3.0 then it says mmcv==1.3.12 is used but incompatible. Install mmcv=1.0.5. Is there any alternative to work with current versions?

There are dependencies between codes，so you need to specially install an environment with mmdet = 2.3.0 and mmcv-full=1.0.5

Hey thank you for your response. But code works fine with mmcv-full=1.3.12 and mmdet= 2.16.0. I just commented it out model.init_weights(). Then after I got some other errors like cfg.nms and cfg.max_per_img not found . But I included them in config file (r50-refinemask-1x.py) And It's running now. Thank you to @zhanggang001 for replaying on other issue patiently. I need to dig into much but atleast first training has started.

Hey thank you for your response. But code works fine with mmcv-full=1.3.12 and mmdet= 2.16.0. I just commented it out model.init_weights(). Then after I got some other errors like cfg.nms and cfg.max_per_img not found . But I included them in config file (r50-refinemask-1x.py) And It's running now. Thank you to @zhanggang001 for replaying on other issue patiently. I need to dig into much but atleast first training has started.

I did the same operation as you. I deleted the 'pretrained' parameter, and then I can train normally. However, after 12 epochs of training, the model mAP is 0. Maybe I changed the classification loss function ,or the environment is still incompatible. Finally, if the mAP of your training model is normal, please be sure to tell me,thank you!

I'm getting this error while I do inference in my trained model. If you know how to solve this then please let me know. Thank you in advance @zhanggang001 @chensen668
File "tools/test.py", line 241, in
main()
File "tools/test.py", line 206, in main
outputs = single_gpu_test(model, data_loader, args.show, args.show_dir,
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmdet\apis\test.py", line 28, in single_gpu_test
result = model(return_loss=False, rescale=True, **data)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmcv\parallel\data_parallel.py", line 42, in forward
return super().forward(*inputs, **kwargs)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\torch\nn\parallel\data_parallel.py", line 166, in forward
return self.module(*inputs[0], **kwargs[0])
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmcv\runner\fp16_utils.py", line 98, in new_func
return old_func(*args, **kwargs)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmdet\models\detectors\base.py", line 174, in forward
return self.forward_test(img, img_metas, **kwargs)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmdet\models\detectors\base.py", line 147, in forward_test
return self.simple_test(imgs[0], img_metas[0], **kwargs)
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmdet\models\detectors\two_stage.py", line 182, in simple_test
return self.roi_head.simple_test(
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmdet\models\roi_heads\standard_roi_head.py", line 264, in simple_test
segm_results = self.simple_test_mask(
File "C:\Users\topseven\anaconda3\envs\mmcv\lib\site-packages\mmdet\models\roi_heads\refine_roi_head.py", line 92, in simple_test_mask
if det_bboxes.shape[0] == 0:
AttributeError: 'list' object has no attribute 'shape'


path/filepath: WalkFunc is called with a "file does not exist" error if a file is deleted between readdirnames and lstat (inside walk).

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
% go version
go version go1.10 linux/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
% go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/amistry/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/amistry/go-src"
GORACE=""
GOROOT="/home/amistry/go"
GOTMPDIR=""
GOTOOLDIR="/home/amistry/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build740843021=/tmp/go-build -gno-record-gcc-switches"
What did you do?
Call filepath.Walk on a directory where files are being constantly deleted (and added).
What did you expect to see?
No errors.
What did you see instead?
"file does not exist" errors. If a file doesn't exist, why are you telling me about it?
I guess this is more of a question of semantics. If a file a deleted between the directory listing and lstat, should the caller be told, or should this case be hidden? If a file is deleted before the readdirnames, then there's no error. If a file is added between readdirnames and lstat, it is hidden from the caller. I'd argue that hiding the error is a more consistent and expected.

I think skipping the call would probably be OK if we can determine that it is the file that does not exist, rather than, say, the containing directory.  I don't know whether it is worth making the change.


Variables: Missing values in variable picker

Hi team!
I'm building a scenes application, and I encountered to some problem which seems an like an bug.

It also can be reproduced in scenes demo in this repository.
If I select options in the bottom, options on the top are not visualized. It's causing some inconvenience in UX.
How can I fix my dropdown?
Thanks!

@jeromeryu thanks for reporting this, i can reproduce this indeed, however for me it's only the A option that's hidden.
We gonna investigate this and come up with a suggestion.

Thanks for your help @dprokop ! Apparently it seems like that PR is not included in 10.4.0. Looking forward for a new version!


Trying to improve both Photoshop CC 2021 / 2022

Hi @MiMillieuh. I'm happy to see I'm not the only one trying to get Photoshop running as good as on Windows. With CC 2021, I did it, but almost with 2022. In my case I have:

CC 2022 running with GPU acceleration since couple of months (but I'm facing sync bug).
CC 2021 running perfectly without any sync issue and full GPU acceleration (but with max Nvidia 470 drivers, after that (510, etc) my photoshop crashes.

I noticed that in your video, you don't have a proper GPU acceleration even if in preferences the "GPU acceleration" checkbox is checked. (you can check that in the font of the splash screen, yours are transparent, mine are in proper grey) or with the "srubby zoom" (top icon is greyed) that is not working.
In my videos I made a scrubbly zoom demo to show you. Also, not all CC 2021 are compatible as adobe has a bug. You must use CC 2021 22.1.1. Right after, with version 2021 22.5.2, I'm facing the same issur as reposrted abose with 2022 (Sync issue).
Here are my videos (I'm on a 180hz screen, but videos are 60hz):
CC 2022 https://www.youtube.com/watch?v=G2YZ2wqT4Gk
CC 2021 https://www.youtube.com/watch?v=FpgVUUnCRZA
Maybe we can join our effort and definetly make this Photoshop (2021 or 2022) running on latest drivers. I'm also trying to compile wine myself with patches to try fixing this sync issue.

Amazing, the version of wine i'm using is with lutris, and the wine-lutris-ge-lol-7.0-2-x86_64 wine https://github.com/GloriousEggroll/wine-ge-custom/releases/tag/7.0-GE-2-LoL.
Where we should start is getting the latest wine/proton (7.18 ?) that includes these LoL patches https://github.com/GloriousEggroll/wine-ge-custom/tree/master/patches/LoL
Also, you said "even with a properly self compiled and patched wine this issue won't disappear", do you have a compiled version for me to try ? Curious to see how it goes with Nvidia GPU

Well I'm not sure Lol patches should be used for this... Maybe I'm wrong after all but I didn't considerate it. also some patches require a specific wine version.
If you want to try my wine versions, they are here : https://lulucloud.mywire.org/FileHosting/GithubProjects/CustomWine/wine-tkg-staging-fsync-selfcompilated.zip
3 separated folder for 3 versions with differents patches.

Damn it, no luck
2022-05-25 17:06:52,021: Starting Lutris 0.5.10
2022-05-25 17:06:52,045: No folder at /home/artik/.local/share/lutris/runners/retroarch/
2022-05-25 17:06:52,078: Using NVIDIA drivers 510.73.05 for x86_64
2022-05-25 17:06:52,079: GPU: NVIDIA GeForce RTX 3080
2022-05-25 17:06:52,079: GPU: 10DE:2206 1043:87B2 (nvidia drivers)
2022-05-25 17:06:52,123: Startup complete
Started initial process 3038 from gamemoderun env DXVK_STATE_CACHE=0 DXVK_LOG_LEVEL=none /home/artik/.local/share/lutris/runners/wine/wine-tkg-staging-fsync-git-VKpatch/bin/wine /home/artik/.wine/drive_c/Program Files/Adobe/Adobe Photoshop 2021 22.1.1/Photoshop.exe
Start monitoring process.
/home/artik/.local/share/lutris/runners/wine/wine-tkg-staging-fsync-git-VKpatch/bin/wine: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/artik/.local/share/lutris/runners/wine/wine-tkg-staging-fsync-git-VKpatch/bin/wine)
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
2022-05-25 17:06:55,529: Game still running (state: running)
2022-05-25 17:06:55,530: Stopping Photoshop 2021 (wine)
2022-05-25 17:06:55,530: The game has run for a very short time, did it crash?

E: Unable to locate package glibc
And online version 2.34 is experimental https://tracker.debian.org/pkg/glibc. Things are getting more complexe

E: Unable to locate package glibc
And online version 2.34 is experimental https://tracker.debian.org/pkg/glibc. Things are getting more complexe

Maybe there is a ppa out there.
That's weird because in my distro it isn't experimental... Maybe mint is using an old Ubuntu base. Is your distro up to date (Latest release too) ?

 Maybe patches will work as they patched already the 7.0.2 proton version

I can try. But I know why the LOL patch work for you...
Lol patches use an older glibc version (2.28). That's why it works
Maybe newer wine version require something more upstream
Do you think you could be able to use the 2.34  version ?
Through Deb or ppa ?

I doubt Wine will use an experimental version of glibc. I'll try to update anyway and I let you know

All my tests were unsuccessull haha. Tried to compile glibc 2.35 but I realised the package I needed to install was libc6_2.34-0ubuntu3.2_amd64.deb. But I have a bad dependency, and needed libfakeroot in an earlier version. When libfakeroot_1.25.3-1.1_amd64.deb is installed, I still have the bad dependency error. What else can I try ?

Maybe you could try other driver... I'm not sure... You could also try in a live ISO
Does the wine shipped in your distro works ?


Publishing to crates.io

Hi folks,
I was wondering if it would be possible to publish releases on crates.io, or if there's a reason you've chosen not to?
Thanks!

ityfuzz glues several fuzzing thoughts using libafl, so itself serves as a bin. I don't think there's much functionalities to export. And ityfuzz still has lots of unstable features. There's no strong reason for it to be on crates.io

Thanks for clarifying!


Feature request: game overlay

Thank you for making this project!
This project is much simpler, easier to understand, build and modify than Pazer's tf2 bot detector. I think it's the best alternative on present moment.
Please consider making game overlay UI for it. It would be convenient to use bot detector tool as game overlay window. Like Steam, Discord or GeForce overlays.
You can create custom overlay windows. There is DirectX overlay library in Rust for example: https://github.com/zorftw/win-overlay

Thank you so much for the compliments! I explicitly started this project because Pazer's tool didn't run on linux and the project was too big and complicated for me to figure out how to make any meaningful modifications, at that time I never expected my tool to become as big and featureful as it is (originally it was just a command line tool that pressed keyboard buttons to run scripts in the TF2 directory, and I had to grab player SteamIDs myself and add them to a text file if they didn't get caught by a regex!).
I had never considered a game overlay and agree it would be a very cool way to use the app. I'll have to do some research to figure out how difficult it would be to add this functionality, and since I primarily use Linux I would like to find a way to have the overlay work on both platforms and test it. I can't promise anything but I think this idea is very cool.

I've just checked out the new overlay and it is really neat! It would be super nice if they added functionality to basically pass-through an open application to the overlay (I couldn't find a way to do that currently?), but even if they don't it could work to have the app accessible from the web-browser which can be used in the overlay. This will probably take a lot of work and experimenting so while it would be super cool to do I probably won't get around to it anytime soon :(


Synchronize with the server due to socket room name changes (#6)

broadcast on, off
broadcasting

Closes #6


fix: update to eye v4.14.13

fix: update to eye v4.14.13

:tada: This PR is included in version 6.5.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v6.5.8

Your semantic-release bot :package::rocket:


Set sync status to PAUSED on rate limit

When a sync hits the GitHub rate limit, we schedule it to run again when the rate limit resets.
https://github.com/integrations/jira/blob/b560ca8e9905c99cd9f63b4b9ce558e9b60ecfd8/lib/sync/installation.js#L154-L160
When this happens, the sync shows as ACTIVE but isn't actively being synced. This makes it difficult to tell the difference between a sync that has died due to an unexpected reason and a sync that is paused because we hit the rate limit.
Instead, when delaying the sync due to an exceeded rate limit, let's set the sync status to PAUSED.

Closing as it looks like this was addressed with @240.


Remove statute feature

Resolve #3085
This feature is no longer in use and is deactivated for a while. Remove it complete with sub parts.

I looked at it some more and I haven't found any wrong behaviour
I'll merge this PR now,
While testing the new version we should click a bit more on the motion-list and motion-block list


tests(e2e): new E2E test scenarios (third iteration)

Proposed Changes

Add new E2E test scenarios that cover the new flags.

Test Name
Description
Expected Output
Exit Status Code

E2E-CLI-024
KICS command with version should display the version of the kics in the CLI.
match regex
0

E2E-CLI-025
KICS scan command with --fail-on flag should return status code different from 0 only when results match the severity provided in this flag
status code
30, 20

E2E-CLI-026
KICS scan command with --ignore-on-exit flag should not return status code for provided input. Example: Return 0 if an error was found, instead of 126
status code
126, 0, 40, 0

E2E-CLI-027
KICS scan command with --exclude-paths should not perform the scan on the files/folders provided by this flag
match regex
50

E2E-CLI-028
KICS scan command with --log-format should modify the view structure of output messages in the CLI (json/pretty)
match regex
40

E2E-CLI-029
KICS scan command with --config flag should load a config file that provides commands and arguments to kics.
status code
40, 126

E2E-CLI-030
Kics scan command with --output-path flags should export the result files to the path provided by this flag.
status code
40

E2E-CLI-031
KICS scan command with --report-formats and -output-path flags should export the results only in the formats provided by this flag.
status code
40

E2E-CLI-032
KICS scan command with --output-flag "filename.extension" should performe a scan and create a result file based on format provided by this flag.
stdout
40

E2E-CLI-033
KICS scan command with --output-flag and --payload-path should performe a scan and create result file(s) and payload file.
stdout
40

I submit this contribution under the Apache-2.0 license.

@cxlucas if this is not ready yet please mark it as draft


Optimize the Python sample

Reason for Change:

The previous sample was a proof-of-concept which only worked as a one-off script, and inefficiently. Problems include:

Even if you rerun the script immediately, a new file I/O and new http I/O would incur.
If a real app changes the previous sample into a long-lived daemon, the federation assertion would soon become outdated because the sample never reloads the assertion.

After this PR, the sample, if being used as a long-lived daemon, will automatically attempt token search from cache, and automatically reload the assertion when cache misses.

No.

No.
Requirements

[ ] squashed commits
[ ] included documentation
[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Please answer the following questions with yes/no:
Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

[ ] yes
[x] no

Notes for Reviewers:
I do not have an AKS environment to actually run this change. The repo owner shall be able to test that part.

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

Project coverage is 51.66%. Comparing base (94283c5) to head (660d364).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1269   +/-   ##
=======================================
  Coverage   51.66%   51.66%
=======================================
  Files          53       53
  Lines        2938     2938
=======================================
  Hits         1518     1518
  Misses       1378     1378
  Partials       42       42

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


Selected value does not get populated on ui-select fields with type = reference

The problem I'm having is on edition/creation forms that have ui-select fields populated from a reference, there is no default option being pre-populated even though one is set.

For example, I have a subscriptions entity form with ui-select box that should be populated with an associated user.
subscription.creationView().fields([
  nga.field('user_id', 'reference')
    .label('User')
    .targetEntity(nga.entity('users'))
    .targetField(nga.field('email'))
    .sortField('email')
    .sortDir('ASC')
    .remoteComplete(true, {
      refreshDelay: 200,
      searchQuery: function(search) { return { q: search }; }
    }),

I can verify the first api is returning the user that should be pre-selected:
/users/536882ace3b04f561d081328

Then the dropdown option choices get populated by a second api call:
/users?order=ASC&page=1&page_size=30&sort=email

Notice this only gets the first 30 options by default. But, if the pre-selected user is not included in that first 30 results, then there will be no selected value pre-populated and the ui-select will be empty. I can also verify that when the selected user does get returned in the first 30 results, then it will be pre-populated as expected.
From past experience, I'm guessing this is caused by a long standing bug in the Angular ui-select library.
https://github.com/angular-ui/ui-select/issues/404#issuecomment-72261115
Since there is no fix for this bug yet, I think the best solution would be to somehow append the pre-selected option returned from the first api call into the options returned by the second api call. So in the example above, the user returned from the call to /users/:id would get pushed onto the 30 results returned from /users. Then the default option would start showing up.

Update: I found you can override the default page_size returned when populating the ui-select choices by setting .perPage(500). There's still no guarantee the selected value will be in there for bigger datasets, but it's at least something.

has anyone found a solution to the problem of the selected item not populating the value?


Fix: crash on login

Fixes issue #98
Changes:

Moved setting server path before login API called

Screenshots for the change:

please review @betterclever @dynamitechetan @chiragw15 @isuruAb @ishaan1995 @thePsguy


Fixes for PureScript 0.14.0

I was trying to get purescript-payload to work with PureScript 0.14.0 and that in turn required updating purescript-simple-json.
I've removed the dependency on purescript-globals which has been deprecated and fixed all Row/RowList issues due to changes in 0.14.0.
I've also removed purescript-generics-rep as a dependency as it is also deprecated and no longer needed.
Could this be merged in for a new release so it could be added to the latest PureScript package set?

Hmm, not sure how CI is set up. I've run the tests and they do work.
The changes were tested on NixOS unstable branch, using the following shell.nix:
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = with pkgs; [
    purescript
    nodejs
    nodePackages.bower
    nodePackages.pulp
  ];
}

Then running bower update && pulp build && pulp test.

Somehow I've missed that there's already a ps-0.14 branch. It has some of the same fixes that this pull request does, but not all of them.

see https://github.com/justinwoo/purescript-simple-json/pull/82

Thank you.


CLOB Editor does not display very long lines

I have a CLOB where the first line is very long (>5000 char). If I open it in value editor, that line appears filled with blank characters.
It appears if I either switch to binary mode or enable text wrap. Moreover, if I select all and copy it, the first line correcly goes to the clipboard and gets pasted. So the issue is only in the text mode of the CLOB editor.
Using dbeaver 5.1.5 with Oracle database.

By some reason characters in long lines are invisible in base text editor (and in StyledText).
I believe this is a bug in Eclipse 4.8 framework. Anyhow, we can fix it by providing projection source viewer.
Thanks for report.


Deprecate SegmentSize on Table

Currently table uses SegmentSize:
https://github.com/ratatui-org/ratatui/blob/9df6cebb58e97ac795868fa0af96a8aaf9c794c0/src/widgets/table/table.rs#L540-L569
but we would like to deprecate that in favor of Flex.

Add new flex method with flex field
Change segment_size method to use flex method
Deprecate segment_size method and remove segment_size field
Update documentation

See this PR for reference:
https://github.com/ratatui-org/ratatui/pull/804

This also means
/// Controls how to distribute extra space among the columns
segment_size: SegmentSize,

fn default() -> Self {
        Self {
            ...
            segment_size: SegmentSize::None,
        }
    }

will also be changed to (including all other usages of segment_size and SegmentSize)
/// Controls how to distribute extra space among the columns
flex: Flex,

fn default() -> Self {
        Self {
            ...
            flex: Flex::Start,
        }
    }

right? Or I understand wrongly.

Yeah makes sense. Thanks for explaining! 🚀


[DOCS] Add missing items to 8.0.0-rc1 release notes

When preparing the 8.0.0-rc1 release notes in #1859, I excluded PRs with the v7.17 label. However, 7.17 hasn't been released yet so those PRs should be included. This adds the missing PRs.

Thanks for spotting this and the review @masseyke!


Transfer data from iphone to PC using iTune

The current instructions is for transferring data from iOS to macOS using their normal browser. We should also cover Windows + iOS users who need iTune.

Here are the steps to transfer the data from iPhone/iPad to a Windows PC:

Make sure you have installed iTunes (https://support.apple.com/en-gb/guide/iphone/iph875319a3a/ios#:~:text=In the iTunes app on a Windows PC%3A Click the,Fi” (in Options).)

Sign into iTune

Connect your phone to the PC and unlock the screen (https://support.apple.com/en-gb/guide/iphone/iph42d9b3178/15.0/ios/15.0)

In iTune, click on the icon for the phone in the toolbar:

From the left panel, select File Sharing

Under Apps, select Input

Then under Input Documents, select INPUT folder

At the bottom, select Save

Select a path to save the folder on your computer.

@alex-cit feel free to create a PR based on my comments as a new section for: https://merginmaps.com/docs/manage/missing-data/#manual-data-transfer-ios
You need to have two sections:

Manual data transfer (between iOS and Mac) << existing content
Manual data transfer (between iOS and PC) << based on my comment above


Question about mx.nd.split() ?

mxnet 0.12.0
when the size of data in the split axis is 1, it will return incorrect result. For example,
`In [1]: import mxnet as mx

In [2]: data = mx.nd.ones((2,3,4))

In [3]: data_s = mx.nd.split(data, axis=1, num_outputs=data.shape[1], squeeze_axis=False)

In [4]: len(data_s)
Out[4]: 3

In [5]: data_s[0].shape
Out[5]: (2L, 1L, 4L)

**but, when splitting x along axis=1 below, it will return 2 NDArray.**
In [6]: x = data_s[0] #with shape  (2L, 1L, 4L)

In [8]: x_s = mx.nd.split(x, axis=1, num_outputs=x.shape[1], squeeze_axis=False)

In [9]: len(x_s)
Out[9]: 2

In [10]: x_s[0].shape
Out[10]: (1L, 4L)
`

Is it a bug ?

len(x_s) return the first axis value in x_s, it's 2.
x_s[0] return the first column in axis=0, it has a shape (1,4)

As I split along the axis=1, and x has the shape (2,1,4), so normally, it will return a list containing only one ndarray with the same shape:(2,1,4), rather than two ,with each has the shape (1, 4)

try to print x_s, it's a (2,1,4) ndarray

I find that if the result after splitting has only  one NDArray, it will return this NDArray directly , rather than return a list .
Thank you~


Hubspot integration

Our team has switched to hubspot recently, and already uses Zulip. We would love to have a zulip integration.
(Specifically, we'd like to notify engineers in Zulip, where the team lives, when tasks are assigned to them in hubspot, where engineers don't usually live)
Has anyone attempted this in the past? I'm not sure if this is something that would require cooperation directly from Hubspot the organization, or if anyone could leverage the Hubspot APIs they publish here: https://developers.hubspot.com/docs/api/overview . The APIs seem like they could cover these scenarios, and there is a Zapier integration here, https://zapier.com/apps/hubspot/integrations/zulip though without having tried them myself I wouldn't be sure how robust they are or if they would work for our use-case. Hubspot has a native slack integration, though there's no mention of zulip on the zulip integrations page or the hubspot integrations page https://knowledge.hubspot.com/integrations/manage-your-notifications-in-slack
I searched the open and closed issues for 'hubspot' before typing this up, and didn't see any prior mentions. I'd love to hear from the zulip project if there is any prior art here before taking any next steps.
We could potentially do some of the development here ourselves to contribute.

@realimpat - Thanks for your question! It would be good to start a conversation in the Zulip development community about a Hubspot integration.
The #integrations stream would have folks who could have a more interactive discussion about the possibilities. In fact, it looks like there was a discussion a while ago about Hubspot: https://chat.zulip.org/#narrow/stream/127-integrations/topic/Hubspot.20integration.

I don't have the time to work on the integration, but I am going to doing some work for a client with the HubSpot API in the next few weeks so may be able to offer advice/help for whoever takes this ticket on.

@realimpat As you mentioned that Zapier provides integration for HubSpot. I would recommend trying that as it has got around 20 events that may serve your use case. You can create a trigger in Zapier which would be responsible for sending the message in Zulip.
You can find more information about using Zapier with Zulip here: https://zulip.com/integrations/doc/zapier.
If those events don't cover your use case then you can comment here or in this discussion and then we can move things forward with it.


Added a link to the maintainer file in contribution guides

Added a link to the maintainer file in the step where we talk about merging PRs in the contributing and developer guides. This provides a bit more visibility into who could be expected to be merging those changes
Signed-off-by: Dawn M. Foster<EMAIL_ADDRESS>

start gradle check

start gradle check

start gradle check

@dblock I think I resolved the merge conflict with your changes to the developer guide.

@dblock I think I resolved the merge conflict with your changes to the developer guide.

The diff looks strange, did you try rebasing this?
git checkout main
git pull upstream main
git checkout contrib_maint
git rebase main

start gradle check

Merged, sorry for the delay.


Avoid running Dex in a fork

Description
We are running a fork of Dex atm because we rely on support for the prefixing of group names with automatic id. These changes were declined upstream because they plan to implement middleware and design is far from being something that contributors agreed on.
Changes proposed upstream - https://github.com/dexidp/dex/pull/2051
Alternative - https://github.com/giantswarm/giantswarm/issues/16933 Find a solution to avoid 'customer:' group name prefix
TODO

[ ] try to bring our contributions upstream

The upstream issue this is related to is

https://github.com/dexidp/dex/issues/918

I just checked on the status upstream. It seems as if connector middlewares (which were the reason our PR was "rejected" or put on ice) don't have progressed at all.
@puja108 You commented there almost a year ago. Would it make sense if you could try again? Or should someone else?
The aspects we could mention are

Our implementation is tested in production with several connectors.
Middlewares have not progressed. Once they are here, the implementation could off course be changed.

I'd prefer if you or someone from Rainbow would continue the conversation, so you can steer it better in the right direction. I would then still be available to +1 and/or escalate (and can take that role better then).

ACK, done

Let's try again to contribute upstream now that all connectors work with prefixing.

Did you manage to get this upstream?

@jonaz unfortunately not. We were told that it might be part of https://github.com/dexidp/dex/issues/1635 but the issue is still open.

i did remind them here: https://github.com/dexidp/dex/issues/918#issuecomment-2011680310

no news upstream for 2 years, not sure if we are going to use dex in the future anyways, closing for now. will revisit when discussing future of Dex


docs: add an angular usage

This usage will be used to learn to user how they can use the Angular API.
The important file is the md where I write the tuto.
I also add source code in the examples folder. (this is why this PR is huge).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Something's wrong with CoreUpdateMonitor

When the CoreUpdateMonitor is enabled, the UI is broken and exceptions get logged. All pages return HTTP 500, even though they render (mostly) fine.

This was a problem in the localization-zh-cn plugin and is being addressed by https://github.com/jenkinsci/jenkins/pull/3729/files#diff-11cb753409d308d86a285605a353c07dR54 and https://github.com/jenkinsci/localization-zh-cn-plugin/pull/31/files#diff-3db01d7042be9f9a094f55d21f8a9b29R25

😃


Render Texture Issue

When rendering the UI with 2 cameras

1 that is a normal camera
1 that is a camera that renders specifically to a render texture

The UI fails to render because the queued instructions go through all the cameras. I likely need to check the which camera is particularly rendering.

Temporary fix has been in place for Render Texture cameras.


SuperHero API

Add file for superhero api.

Will add a logo as well.

Also @Saphall if possible, can we have a transparent logo?

@Saphall The image uploaded doesn't looks like a logo to me.
I prefer not having logo at all instead of having something like this 🙏

Well that is not the official logo I used. Thought of using a logo on the topic itself. Well will remove such in that case. Thanks. 👍


Force and confirm combos

Type of Change

[x] Bug fix (non-breaking change, fixes #5422 )
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

https://github.com/sqlcollaborative/dbatools/issues/5422 -> When -Force is used, it should not prompt for confirmation.
Approach

Added
if ($Force) {$ConfirmPreference = "none"}

to begin{} block.
Also added the , ConfirmImpact = "Medium" where none was being used.
This way it will be explicit to the user about the $ConfirmPreference required to receive the prompt without the explicit -Confirm parameter.
Commands to test

Screenshots

Learning

PowerShell SupportsShouldProcess Worst & Best Practices

ur the best! this was a ton of work, thank you 💯

aww yeah, one pass so far

second one failed but unrelated, thanks for the 💣 PR! merging


docs: add information about PreferNoSchedule taint

This is a useful taint operators can make use of.

lgtm


New improvements

Hello guys, maybe the project is dead but I made some changes by myself.

fix bugs
functions for every column options
and each function take the current row as params
an "add row" to the last row that the user can simple add a row anytime
custom inputType template for total customizing

All changes are working very well, no bugs so far. Tell if you want me to pull my changes.

Hi @rosostolato,
Thanks for the input! the project is not dead,, it's just less maintained today :)
We would appreciate a Pull Request if possible.
Thanks

Great! But I've never did a pull request, could you tell me what do I have to do?

I did it. Take a look and see if it helps


Systreminformer has problems reducing working set of system procresses

Brief description of your issue
When i highlight all processes and reduce working set i get access denied from:
System
Registry
smss/exe
wininit/exe
csrss.exe
sgrmbroker.exe
services.exe
memory compression
svchost
and several other system processes
I have kernel driver enabled.
It didn't happen on process hacker.
Also it aborts process on every encounter of access denied.
Steps to reproduce (optional)
No response
Expected behavior (optional)
All processes with exception of System idle process and Interrupts can have their working set reduced.
Actual behavior (optional)
No response
Environment (optional)
3.0.5578
Microsoft Windows [Version 10.0.22621.819]

Trying to reduce the working set of some of these processes, especially System Idle, doesn't make sense. They are pseudo-processes, they don't actually exist as normal processes

I do not try to reduce system idle.

Misread System as System Idle, but the point still stands. Stuff like Registry and System are treated specially by the system

Did you cut functions  from kernel driver?

I am not one of the devs, you will have to wait for one of them to chime in on that one. I just know that certain processes are handled specially by the system, and those two are some of them

Did you cut functions from kernel driver?

The new driver respects MSFT's guidelines for not being able to mess with protected processed, otherwise it wouldn't have gotten a signature.

The new driver respects MSFT's guidelines for not being able to mess with protected process

EmptyWorkingSet is the only exception for protected processes:
https://github.com/winsiderss/systeminformer/blob/d243fcb2f287eca7c01970a332bac9cf4dcb478f/KSystemInformer/process.c#L889-L924
It's handled directly by the driver without input from usermode:
https://github.com/winsiderss/systeminformer/blob/d243fcb2f287eca7c01970a332bac9cf4dcb478f/KSystemInformer/process.c#L996-L1011

Did you cut functions from kernel driver?

There were extra checks for the buffers. This was fixed in the latest nightly build 👍


⚠ Bofrost.at has degraded performance

In ba9afaf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1297 ms

Resolved: Bofrost.at performance has improved in a6dc53d.


Textfield empty

Hello,
I am using the latest version of sdk and xcode.
Textfield 2 appears. The screenshot is below. When I print it, it gets the black text on the back. He's gotta get the white text on the front, right?
For example, in the name surname field, Testtesttest is printed on the back and when I print it, it prints the Testtesttest text, not the Name Surname.

Same problem.

@k0nserv hello, can you show this issue? Please help us. Thanks.

Same problem.

@BryanVision hello, can you solve this issue?


A few changes in wording

Thanks so much for this wonderful tool.  Figured I'd send a quick patch while I was going through it anyway.

Thanks @oalders for the PR. I wrote this tutorial so others can start using vim-go & vim without issues. It makes me happy to see people also read it and send PR's for it. Much appreciated :)


[CPT-1075] Add tests to remove and clone query builder rules

CPT-1075
Description

This PR adds cypress tests for QueryBuilder removing and cloning rules.
It adds test ids for clone and remove buttons.

How to test

Tests should be running

Screenshots
None
Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[x] Self reviewed
[x] Covered with tests (visual tests included)

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

Is there a command I need to run to pass the Happo check?


Synchronize db install.

Syncrhonize db install to try to fix some intermittent test
failures when running parallel tests in maven that depend
on MariaDB4j.

@krm1312 sure, tx! PS: Sorry it took so (too) long to accept & merge this.. life.


Blurry Rendering on High DPI Display

PDFs viewed using the Firefox built-in PDF viewer render blurry on Mac. It appears that the PDF viewer is not rendering at Retina-level resolution.
Configuration:

Web browser and its version: Firefox Nightly 67.0a1 (Also tested previously with with Firefox Beta 65 and 66).
Operating system and its version: macOS Mojave 10.14.2

Steps to reproduce the problem:

Open any PDF in the built-in PDF viewer using Firefox for Mac with a high DPI display. The PDF will appear blurry. Opening the same PDF in either Chrome or Safari will result in a crisp, clear image.
Example

What is the expected behavior? Crisp rendering
What went wrong? Blurry rendering

Another example here. Just view in Firefox on a Retina display Mac.
Currently on Macbook Air 13-inch 2018 running OS X 10.14.2 with Firefox Nightly 67.0a1.

pdf.js uses a canvas for rendering, which renders at "device-independent" resolution. On high dpi screens, this is lower than the actual "native device-pixel resolution", so the canvas bitmap is upscaled to the display.
I found some links on how to draw a canvas at "device-pixel resolution". I cannot confirm these work, or that they're pixel-perfect with no rounding errors or linear-interpolation blurring.
https://gist.github.com/callumlocke/cc258a193839691f60dd
https://stackoverflow.com/questions/19142993/how-draw-in-high-resolution-to-canvas-on-chrome-and-why-if-devicepixelratio

Do we need to update examples for resolving this or change a part of the code so that we don't need to update examples? If we follow the latter approach, we'll have to handle this here. What do you think @Snuffleupagus ?

Do we need to update examples for resolving this or change a part of the code so that we don't need to update examples?

I really don't understand this question, since it's clearly already supported in PDF.js courtesy of https://github.com/mozilla/pdf.js/blob/06b253d6092e14a118f9d5b23fa0652498c68a96/web/ui_utils.js#L95
Besides, this issue is (most likely) a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1537955, in which case it cannot really be fixed here anyway. Closing as duplicate of the upstream issue?

Of course it is, but not if one tries the examples here on High DPI displays.

The image linked in https://github.com/mozilla/pdf.js/issues/10509#issue-404449549 clearly shows the default viewer, hence my remarks in https://github.com/mozilla/pdf.js/issues/10509#issuecomment-500881064 still stands.
https://mozilla.github.io/pdf.js/examples/ is purposely a very basic example, and when using something like the "viewer components" examples there's already support for HiDPI built-in (again see https://github.com/mozilla/pdf.js/issues/10509#issuecomment-500881064).

I was able to improve image quality by increasing scale and then reducing the canvas style size by the scale. I believe this is effectively increasing the DPI per canvas dimensions?
        var scales = { 1: 2.2, 2: 3 },
            defaultScale = 2,
            scale = scales[window.devicePixelRatio] || defaultScale;

        var viewport = page.getViewport({ scale: scale });
        canvas.height = viewport.height;
        canvas.width = viewport.width;

        var displayWidth = 1.5;
        canvas.style.width = `${(viewport.width * displayWidth) / scale}px`;
        canvas.style.height = `${(viewport.height * displayWidth) / scale}px`;

increasing the scale alone as @apoorv-mishra suggested. I would end up with the pdf taking up just the top left quarter of the page.
+------+
 |[X]      |
 |           |
+------+

Assuming that the problem described in https://github.com/mozilla/pdf.js/issues/10509#issue-404449549 was related to "resistFingerprinting", then issue should now have been fixed (in the latest Nightly) courtesy of https://bugzilla.mozilla.org/show_bug.cgi?id=1537955.

Assuming that the problem described in #10509 (comment) was related to "resistFingerprinting", then this issue should now have been fixed (in the latest Nightly) courtesy of https://bugzilla.mozilla.org/show_bug.cgi?id=1537955.

Unfortunately, it is not fixed in the latest Nightly

Unfortunately, it is not fixed in the latest Nightly

Just to make absolutely sure, can you please enter about:buildconfig in the address bar and copy-and-paste the line that reads "Built from ..." near the top.

Built from https://hg.mozilla.org/mozilla-central/rev/5ced3811411e9b6f8f1ba02f518d0a5966a412af

This is now fixed on the latest Nightly!
Build config: https://hg.mozilla.org/mozilla-central/rev/36c3240e5cafd7b57146bab3b177bfa47f42bcfa

Hi, I'm still experiencing this issue on latest Firefox with this user.js:
user_pref("privacy.firstparty.isolate", true);
user_pref("privacy.resistFingerprinting", true);

Version: Firefox Developer Edition 71.0b10, build rev 992520c31cde6750358c5d5c3a610f77ebadd404
OS: Debian 10
The problem appears only when the two above settings are set. With the default config rendering is crisp.

@ChrisCPO I had the exact same problem with the PDF filling only the upper left quarter. I think I found the "clean" solution here
It's an extension of @apoorv-mishra solution:
const devicePixelRatio = window.devicePixelRatio || 1;

canvas.style.width = viewport.width;
canvas.style.height = viewport.height;

canvas.width = viewport.width * devicePixelRatio;
canvas.height = viewport.height * devicePixelRatio;

// [sx, 0, 0, sy, 0, 0]
const transform = [ devicePixelRatio, 0 , 0, devicePixelRatio, 0, 0];

const renderContext = {
  canvasContext: canvas.getContext("2d");
  viewport: viewport,
  transform: transform
}

@Franziskus1988 I can confirm that this solution does indeed work (well) for initial rendering. Subsequent zooming in also works well. However, when zooming out to say 50% and then back to 400% on a hi-dpi PDF the blurriness remains. Just a note for anyone else following this thread. Thanks for the code though, it has saved me a lot of headaches so far.

@Jon-Murray I didn't come across this problem, because we are limiting the zooming in our application. It suprises me a little bit that it fails on zoom.
In the original implementation here they are setting a maxScale. Maybe you could try to use this more sophisticated code from the original pdf.js viewer.

The result from code by @ChrisCPO looks better than that by @Franziskus1988

user_pref("privacy.firstparty.isolate", true);
user_pref("privacy.resistFingerprinting", true);

The problem appears only when the two above settings are set. With the default config rendering is crisp.

This is still the case.

user_pref("privacy.firstparty.isolate", true);
user_pref("privacy.resistFingerprinting", true);

The problem appears only when the two above settings are set. With the default config rendering is crisp.

This is still the case.

user_pref("privacy.firstparty.isolate", true);
user_pref("privacy.resistFingerprinting", true);

The problem appears only when the two above settings are set. With the default config rendering is crisp.

This is still the case.

I'm experiencing the same issue and haven't been able to solve it yet.
Has anyone reported this as a bug? If yes, where can I follow the latest status of the bug?

This code will surely help you guys for rendering crisp pdf according to the Div size given (responsive pdf rendering)var loadingTask = pdfjsLib.getDocument("your_pdfurl");
loadingTask.promise.then(function(pdf) {
console.log('PDF loaded');
                // Fetch the first page
                var pageNumber = 1;
                pdf.getPage(pageNumber).then(function(page) {
                    console.log('Page loaded');

                    var container = document.getElementById("container") //your body container
                    var wrapper = document.getElementById("wrapper"); //your div where pdf is rendering
                    var canvas = document.getElementById('pdf');
                    var context = canvas.getContext('2d');
                    const pageWidthScale = container.clientWidth / page.view[2];
                    const pageHeightScale = container.clientHeight / page.view[3];

                    var scales = { 1: 3.2, 2: 4 },
                    defaultScale = 4,
                    scale = scales[window.devicePixelRatio] || defaultScale;

                    var viewport = page.getViewport({ scale: scale });
                    canvas.height = viewport.height;
                    canvas.width = viewport.width;

                    var displayWidth =  Math.min(pageWidthScale, pageHeightScale);;
                    canvas.style.width = `${(viewport.width * displayWidth) / scale}px`;
                    canvas.style.height = `${(viewport.height * displayWidth) / scale}px`;

                    // Render PDF page into canvas context
                    var renderContext = {
                        canvasContext: context,
                        viewport: viewport
                    };
                    var renderTask = page.render(renderContext);
                    renderTask.promise.then(function() {
                        console.log('Page rendered');
                    });
                });
            }, function(reason) {
                // PDF loading error
                console.error(reason);
            });`

I'm experiencing this issue on latest Chrome, M1 Mac

I chose to go with this approach and so far it worked well for me: I apply the zoom factor and pixel ratio to the viewport scaling, create a 1:1 bitmap/canvas and 'compress' the canvas element by only applying the zoom factor.
const viewport = page.getViewport({
  scale: zoom * (window.devicePixelRatio || 1)
})

const canvasAttributes = {
  width: Math.ceil(viewport.width),
  height: Math.ceil(viewport.height),
  style: `
    width: ${Math.ceil(viewport.width) / (window.devicePixelRatio || 1)}px;
    height: ${Math.ceil(viewport.height) / (window.devicePixelRatio || 1)}px;
  `,
}

Just noticed, that this will lead to this warning in the console:
The `--scale-factor` CSS-variable must be set, to the same value as `viewport.scale`, either on the `container`-element itself or higher up in the DOM.

However, I noticed no problems so far so I assume this is a "I know what I'm doing" kind of situation?


Add https upstream support

This seems to work for me. I generally have a internal root CA that is trusted via standard system certs. The skipverify option could be used to deal with self-signed certs, but would obviously skip verification.
I was also thinking of maybe having another certificate store for CAs that could then be selected via a tag option. If that seems like a good idea I can make another PR or amend this one.
Ref: #181

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@shadowfax-chc Thanks for working on this but this isn't correct.
There are two TCP connections in play here: one inbound and one outbound/upstream. The listener is the inbound TCP connection and the proxy is the outbound TCP connection. To allow outbound https connections you only need to set the protocol in the target URL which your first patch accomplishes. The Go std library should do the rest.
This requires however that the certificates can be validated through the default root CAs as configured on the system. If you want to allow certificate verification with a custom certificate source then this must be configured in the route command/urlprefix- tag.
Lets start with supporting skipVerify on the outbound connection since this is rather simple and should solve most of the problems. Supporting custom root CAs would require to either override the http.Client that is used by the reverse proxy (which isn't possible ATM) or use a custom transport per request (which defeats connection caching). This most likely requires a somewhat larger refactor.
To support skipVerify you need to do several things:

Add a TLSSkipVerify bool flag to the route.Target and set it in the route.addTarget method in route/route.go
Create another http.Transport which has the InsecureSkipVerify flag set to true and store it in the HTTPProxy.
Pick which transport to use in the HTTPProxy.ServeHTTP method based on the flag in the selected target.

Once we find a way to have a custom client/transport per request this solution can easily be refactored.
You don't have to (and shouldn't) configure the Listener since this is for the inbound connection. skipVerify may be useful here as well but that's a different thing.
Also, please provide an integration test for both cases in proxy/http_integration_test.go.

Ah, that makes sense. Let me make sure I am setting this option in the correct place now, and I will get some tests.

Oh, I can actually change the files myself now. Interesting. Didn't know that.

I'll try that on the next PR, though.

@magiconair made the requested changes and added tests

LGTM. Merged it. Thank you!


Improved accept_connection and added RaftError::ConnectionRegisterFailed

Also renamed ErrorKind to RaftError and we're back to the exhaustive usage of and_then.

Looks great, thanks!


Human proteins labeled as fanconi anemia disease subtypes

Hi @stuppie,
I noticed this while trying to make a gene to phenotype link from  the human gene FANCA to the disease Fanconi anemia.
There are two items in wikidata titled 'Fanconi Anemia Complementation Group A': https://www.wikidata.org/wiki/Q21101242
-a subclass of protein that is linked to the gene FANCA  through encoded by (this is where the error seems to be)
https://www.wikidata.org/wiki/Q32147067
-an instance of disease that is a subclass of the disease fanconi anemia
For some reason, the wikidata protein bot is giving this UniProt protein, http://www.uniprot.org/uniprot/O15360 the label of the 'Involvement in Disease' claim on the Uniprot record, as the main label on the WD item.
Here is the diff from when it happened.
Also, the gene has an encodes link to the unreviewed protein http://www.uniprot.org/uniprot/H3BQX1.
I don't know how widespread the issue is for other diseases but here is a query that returns 10 human 'proteins' that have 'fanconi anemia complement group' in the label
Cheers

Hey Tim,
The protein names come from Entrez, at this time, which has FANCA titled "Fanconi anemia complementation group A". It has "Fanconi anemia group A protein" as an alias.

For some reason, the wikidata protein bot is giving this UniProt protein, http://www.uniprot.org/uniprot/O15360 the label of the 'Involvement in Disease' claim on the Uniprot record, as the main label on the WD item.

Not sure what you mean?

Also, the gene has an encodes link to the unreviewed protein http://www.uniprot.org/uniprot/H3BQX1.

Ya, I've removed a couple thousand of these already, and still need to remove the others. See https://github.com/SuLab/GeneWikiCentral/issues/18

Sorry for the cryptic and complicated explanation. It's really just a confusing (maybe just for me) label issue and doesn't appear to be a content issue.
'Fanconi anemia complementation group (N)' is the naming pattern for subclasses of Fanconi anemia the disease, as in the items in this query.  They are sourced from OMIM and DO.
The protein reference  on the WD item is the uniprot record
http://www.uniprot.org/uniprot/O15360 and that record has the label "Fanconi anemia group A protein" (that is what the wd item used to be labeled).    On that uniprot record in uniprot there is an 'Involvement in Disease' section with the label "Fanconi anemia complementation group A".
I didn't realize protein bot was using the gene label from NCBI, so now I see where that comes from.
However, the NCBI protein records seem to agree with uniprot.
tl;dr
There are several proteins and diseases with the same label and it seems like NCBI's gene label is different from the protein label.

Ya, there are other instances where the Uniprot name is better than the Entrez name, but as of now, the data is coming from MyGene.info, which doesn't have data from Uniprot.
There isn't an agreed up name for these anyways.. HGNC has Fanconi anemia complementation group A.
I agree, it would be better to have the Uniprot labels, but we can't now unless we start using Uniprot directly


Develop

Basic dependencies and config for this project

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4c8099f). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      1
  Lines             ?      5
  Branches          ?      0
=======================================
  Hits              ?      5
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

test/index.spec.ts
100% <100%> (ø)

Continue to review full report at Codecov.

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


Graphql fragments which contain child elements do not return any subset data

Description
Here is an example fragment for a field that contains child elements:
    fragment landingPageBuilderFrag on landingPageBuilder_MatrixField {
      ... on landingPageBuilder_sectionHeadline_BlockType {
        typeHandle
        sectionTitle
        headline
        introduction
      }
      ... on landingPageBuilder_logoParade_BlockType {
        typeHandle
        organisations {
          url
          title
          slug
          id
          uri
          ... on organisations_organisation_Entry {
            logo {
              extension
              width
              height
              url
              id
              title
              srcset(sizes: ["100", "300", "400"])
            }
          }
        }
      }
      ... on landingPageBuilder_faqs_BlockType {
        typeHandle
        faqs {
			    ... on faqs_BlockType {
            question
            answer
          }
        }
        callToAction {
          ... on callToAction_BlockType {
        	    ... callToActionSuperTableFrag
          }
        }
      }
    }

I would like to then use this fragment for multiple entry types which contain this field, for example:
    ... on homepage_homepage_Entry {
          landingPageBuilder {
              ...landingPageBuilderFrag
          }
        }

In the GraphiQL explorer and in Postman, this works fine as expected. But when queried via our Nuxt Apollo app it returns an array for each child element but without its subset contents. here is a screenshot of the response in the console:

as you can see non of the subset data is returned for any of the sub-blocks.
Additional info

@nuxtjs/apollo: ^4.0.1-rc.5,
nuxt: ^2.15.4,

Had the same issue on the current alpha8 release.
@toddpadwick did you resolve the problem?


Support for email address ( resource with .) in resource uri

I have added support for dot (.) in resource uri e.g /emails/:email/devices and request uri is<EMAIL_ADDRESS>Updated readme to replace ngx.var.request_uri with ngx.var.uri . This will support uri without any subresources.

@rohitjoshi I don't think replacing all strings with constants should be done in the same PR as adding a support for .. Also, it fails the build because some are unused https://travis-ci.org/APItools/router.lua/jobs/121157963
Could you commit just the support for . so it is easier to review?
If you feel moving those constants to string improves something (like performance), i'd like see proof. I don't think it adds readability. On the contrary.


Encoded payload  exceeds the limit of 512 bytes warning

Hello guys !
While configuring kong, if I receive this in my logs :
Encoded payload is XXX and it exceeds the limit of 512 bytes!"
Should I consider this as a warning, and expect that kong will process my confing with chunks so it works as expected ?
Or should I expect failure on my system because the gateway might be missing some part of the configuration ?
thx

@JnMik what operation have you tried to execute, and what Kong version are you using?

kong:0.6.1
operation : Trying to push an API (with 4 plugins) via kongfig application, using yml configuration file.
Something like that : http://screencast.com/t/atVV1ZYw

I see you guys are already at 0.8, might worth updating before asking.. lol
Have you change anything regarding payload in the new updates ?

@JnMik yes, I believe your problem has already been fixed in 0.7.0 but if you wait a little bit you will be able to upgrade to 0.8.0

Alright I'll to check with 0.8 when it goes out

Well I have pull the master and build the docker image locally, seems to be still working well with kongfig :) And my original issue seems to be fixed as well !
Good news.
@thefosk The only thing I saw was that warning msg in the kong container logs
kong | 2016/04/15 17:52:34 [emerg] 125#0: invalid number of arguments in "user" directive in /usr/local/kong/nginx.conf:2
(I do have updated my kong.yml format with the master's one)
I'll close my issue since this is another problem, feel free to investigate or create another issue if you think is it worth it, that doesn't seem to break the application and it might also only be on my VM.
This is the declaration in my kong.yml : http://screencast.com/t/9kM7X2dg

Would you be able to paste the contents of /usr/local/kong/nginx.conf?


Update browse documentation to support ARG

Docs Build status updates of commit 36f0ba9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

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

Need to add feature flag enablement documentation

Docs Build status updates of commit 6e06ada:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

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

Docs Build status updates of commit 3004d9f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

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


Fixes walltime format for GridEngineProvider

GridEngine takes an h_rt attribute that expects HH:MM:SS format or seconds.
Previously we incorrectly passed it walltime in minutes resulting in jobs terminating early.
Unfortunately the GridEngine scheduler did not give any warnings on hitting the walltime, and allowed this bug to go on undetected.
@benhg I'd appreciate it if you can test this out on your cluster.
Fixes #1556

Thanks for this quick fix !! I will test it out this evening, after my current run is finished

I can verify that this works as expected on Grid Engine 8.1.9


readOnly on @ApiModelProperty not considered in generation

When adding a
    @ApiModelProperty(value = "The name", required = true, example = "Parking", readOnly = false)
    private String name;

This is not considered for the generated output:
name:
        type: "string"
        example: "Parking"
        description: "The name of the POI"
        readOnly: true

The only way of getting readOnly: false or removing it completely seem to be to add a setName() metod to the java class. However I would prefer the generation to consider the swagger ApimodelProperty annotation on the elements in the java class.

Related issue in Swagger Core: https://github.com/swagger-api/swagger-core/issues/2169


Changing line width in the trips example: not working

There is a line strokeWidth: 2 in the deckgl-overlay.js implementation.
But changing the setting does nothing.
The trips-layer.js renders with drawMode: 'LINES'.
How to draw with functional width settings?
Or is there any examples of drawing lines with triangles using luma.gl?

@nauhc @jingsam have you tried to use the path layer? they are width settings

Tracked in #2523 (Trip Layer)

This shows as checked in #2523 but doesn't work yet on 6.4.9.

This was implemented in deck.gl 7.0