Reorganize hat and helmet sprites with lights on them

I was going to make hard hats and other light-up helmets work, but I've been told that's better left until the hotbar is implemented.
Anyway, I rearranged the sprites a little to make it easier to eventually implement this. The on states were missing for some, and in separate RSIs for others. I put the on and off states in the same RSI and prefixed the on states with "on-". The off states will probably end up having a prefix in the proper implementation too, but right now they have no prefix because that was the only way to keep these items working in-game with no code changes.
The on-state inhands for some of these, namely the hard hats, are just copypasted off-state inhands. Apparently someone autogenerated inhands for these based on the mob sprite, but missed the on-states for hard hats so they don't exist. I don't have the script used to autogenerate them and won't draw them by hand, so this is the next best thing.

Conflicts


scrollableTabV.scrollTo is not function

I use scrollTo for change tab, but error as the message 'TypeError._this3$scrollableTabV.scrollTo is not function.(In "_this3$scrollableTabV.scrollTo(_this3.state.firstIndex)"
it the package.json for scrollable info:
"react": "16.11.0",
"react-native": "^0.62.2",
"react-native-scrollable-tab-view": "^0.8.0",

Hola, el paquete es @itenl/react-native-scrollable-tabview
y no react-native-scrollable-tab-view.

I use scrollTo for change tab, but error as the message 'TypeError._this3$scrollableTabV.scrollTo is not function.(In "_this3$scrollableTabV.scrollTo(_this3.state.firstIndex)"
it the package.json for scrollable info:
"react": "16.11.0",
"react-native": "^0.62.2",
"react-native-scrollable-tab-view": "^0.8.0",

Name
Type
Description

toTabView(index: number.required / label: string.required)
Function
Jump to the specified Screen

scrollTo(index: number.required)
Function
Swipe up and down to the specified position (passing in 0 is the default positioning to tabs / passing in a negative number is set to the top)

Maybe u want jump to other stack/screen, try it toTabView.

It is resolved use toTabView. yes ,I want to jump to other stack/screen


Moved sign up process redirection urls to build.gradle

Moved sign up process redirection urls to build.gradle as buildConfig fields specific to beta and prod flavors and added necessary usages to SignupActivity. This will ensure that even if somebody is trying to sign up on the beta flavor of the app, they are signed up on the beta server and not on the production server, something which will happen right now.

Codecov Report

Merging #882 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           master    #882   +/-   ##
======================================
  Coverage    5.99%   5.99%
======================================
  Files          95      95
  Lines        5018    5018
  Branches      471     471
======================================
  Hits          301     301
  Misses       4693    4693
  Partials       24      24

Impacted Files
Coverage Δ

.../java/fr/free/nrw/commons/auth/SignupActivity.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


k8s/watchers: do not consider pods with empty podIPs

Fixes: 308b946d1e94 ("pkg/k8s: add missing support for multi-stack")
Signed-off-by: André Martins<EMAIL_ADDRESS>

test-me-please

test-with-kernel


JwtSignatureES384.java:137: Add language support for...

The puzzle 1-0e9f6ded from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/e9651b3f945ec12474aae4254d65683af8156caa/src/main/java/net/shiruka/shiruka/jwt/JwtSignatureES384.java#L137-L137
The puzzle was created by @portlek on 05-Apr-21.
Estimate: 5 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-0e9f6ded has disappeared from the source code, that's why I closed this issue.


Provide "canonicalized" (brought back to atlas) POI locations for sections processed with non-linear alignment

This concerns the point clouds. Implemented in MeshView.


Lookup auto generated column type by name

Hey Roland,
I am pretty new to your library and might be missing something but I am attempting to write a simple update statement where the column name varies, basically, updating a field in the table.
Is there a convenient way to find the correct struct type according to a string within the table struct dynamically?
Thanks!

Hi,
"convenient" might be a stretch, but tables "know" their columns (via variadic template arguments) and columns "know" their name. Thus, you could map name to column with a bit of TMP. Otherwise you will have to do the mapping by hand.
In any case, use dynamic_update to just update the columns you want to.
Hope that helps :-)
Best,
Roland

Hi Roland,
Thanks for this library :) I'm having the same use case. It would be very nice to look up column type by string at runtime. For now I'm using a std::map<std::string, std::function<void(QVariant)>> to update my database from a table the user can edit in my Qt app. Any chance of this lookup becoming a feature at some point in the future? I would put it in but I'm a total noob at TMP.

Hi,
I am really not sure what is meant by looking up a type at runtime? But anyway, let's see if we can get somewhere?
For starters (and to remove the fear of TMP here), this would be a function that returns all column names in a vector:
template <typename... Column>
auto getColumnNames(const std::tuple<Column...>&) -> std::vector<std::string>
{
  return {sqlpp::name_of<Column>::char_ptr()...};
}

template <typename Table>
auto getColumnNames(Table) -> std::vector<std::string>
{
  return getColumnNames(typename Table::_column_tuple_t{});
}

Instead of just placing names in a string, you could also return a map<string, variant>.
Let me know if this helps.
Best,
Roland

Hey Roland,
Thanks for the reply!
Just to make sure i got it right, the variant within std::map<string, variant> would be of type: std::tuple<Column..> and will receive the value of the respective Column?
If so, I do not understand how we could use this variant within the set statement. I guess it is possible to use std::get to retrieve the value, however, using type based access brings us back to the same place as before (we don't know the type at runtime), and I am not sure whether we could use index based access in this case, or could we?
Thanks :)

Hi,
The variant would be of type variant<Column...> (either boost::variant or std::variant). This way you would actually have a map between string and type at runtime (which is what you asked for in the title :-) ).
To be more useful, for your case, you might want to write a template that takes can produce the update-expression (columnX = value) and add that to an update statement, variant<Updater<Statement, Column>...>
I won't claim that's going to be super simple...
Cheers,
Roland

Dear Roland
I am starting a test program in mysql but I see there is no support for decimal or numeric data types
What supported data type is best for handling monetary values? Double seems ok since the it has decimals but is not exact so I am confused. I placed an issue in mysql connector
Regards
Juan dent
Sent from my iPhone

On Jul 5, 2017, at 5:01 AM, Roland Bock<EMAIL_ADDRESS>wrote:
Hi,
The variant would be of type variant<Column...> (either boost::variant or std::variant). This way you would actually have a map between string and type at runtime (which is what you asked for in the title :-) ).
To be more useful, for your case, you might want to write a template that takes can produce the update-expression (columnX = value) and add that to an update statement, variant<Updater<Statement, Column>...>
I won't claim that's going to be super simple...
Cheers,
Roland
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Since, as mentioned in the beginning, dynamic_update serves your purpose, I am closing this issue.


Added automatic attachment to the Spelunky 2 process instead of requi…

…ring a button press using two different methods.
The first method uses ManagementEventWatcher to detect when a process is created and checks if it's Spel2.exe. It's fast, but requires the app to be run as administrator for some reason, I couldn't get around this in any way. If it wasn't run as administrator this fails and the second method is used, where you use a Timer to check every 5 seconds if a Spel2 process exists.
For some reason my version of visual studio changed a bunch of files without my consent like some project settings and App.config, feel free to change or remove those, you surely know more about this than me.

Wow, this is great!
I do want to make some changes, in particular:

Removing any code that was commented out
Checking whether the project settings and App.config need to be changed and reverting them
Increasing the frequency of polling (5 seconds seems like a long time to wait for JesterCap to detect the process, 0.5 seconds might be better if the operation is not prohibitively expensive)

If you enable editing on this pull request and I can do it. See this link to the GitHub documentation.
Otherwise, you can make these changes yourself and I will merge the PR.
Thanks very much for the contribution!

Hey, glad to have helped!
This is my first pull request so I'm not sure what I'm doing, I already checked a checkbox called "Allow edits by maintainers" when I made the pull request, can you double check that you can't make edits? If it doesn't work I'll make those changes myself and commit them.
Last note, this is just a side thing I worked on while learning cheat engine because my main goal is to extend this to work for online multiplayer, so I'm eagerly looking forward for the rest of your Reverse Engineering document :)

I spent a lot of time trying to figure out how to add a commit to this PR. Unfortunately GitHub was not being cooperative even though you clicked the checkbox; it disallowed me from committing to this branch for some reason.
Instead I just decided to merge your PR and add another commit on main.


[camel-main] Fhir  java.lang.LinkageError (javax.xml.namespace.QName)

Bug description
Recent camel upgrade https://github.com/apache/camel/commit/d0eb12c68a8ccc343ef1c0a37620b5f7168225f0
changed ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may from 6.0.1 to <IP_ADDRESS>.
This change brought transitive dependency org.ogce:xpp3:jar:1.1.6 which contains class javax.xml.namespace.QName
The same class exists in core java
Therefore the following error is thrown during execution of Fhir tests FhirR4Test#marshalUnmarshal.
Caused by: java.lang.LinkageError: loader constraint violation: loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @5423a17 wants to load class javax.xml.namespace.QName. A different class with the same name was previously loaded by 'bootstrap'. (javax.xml.namespace.QName is in module java.xml of loader 'bootstrap')

The fact that the error happens only for 1 test means, that the code is really used by that test.
So as a quick solution I excluded org.ogce:xpp3  in the bom - https://github.com/apache/camel-quarkus/blob/camel-main/poms/bom/pom.xml#L6039-L6042
Both JVM and native tests succeed with such exclusion. Therefore the "quick fix" seems to be correct.
I doubt a little bit, whether another slightly different configuration can be used, which could bring a failure due to different class.
The class from org.ogce:xpp3 contains 1 method, which is not part of the class from java:
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
        in.defaultReadObject();
        this.namespaceURI = this.namespaceURI.intern();
        this.localPart = this.localPart.intern();
        this.prefix = this.prefix.intern();
    }

I dug into this a bit more. For now, I think excluding the dependency is the best way to deal with this.
xpp3 was previously optional in dstu2016may, but since the groupId change to org.ogce, it became mandatory. I opened an issue in the FHIR Core project to clarify whether it should be mandatory or not.


ActionView Helper don't work in block

Hi,
let's say I have the following helper and template
# helpers/posts_helper.rb
module PostsHelper

  def posts
    @posts
  end

  def post_url(id)
    url_for controller: "posts", action: "show", id: id
  end

end

{{! views/posts/index.html.hbs }}
{{#each posts}}

{{ post_url id }}

{{/each}}

url_for will return nothing while the following template works just fine
{{! views/posts/index.html.hbs }}

{{ post_url 1 }}

Any ideas while the helper method won't work in the each block? What am I doing wrong?
Thanks for any help.

From within a presenter it works
# app/presenters/post_presenter.rb
class PostPresenter

  def initialize(post, template)
    @post = post
    @template = template
  end

  def h
    @template
  end

  def post_url
    url_for controller: "posts", action: "show", id: @post.id
  end
end

# app/helpers/post_helpers.rb
module PostHelpers
  def post_presenter
    PostPresenter.new(@post, self)
  end
end


Hardcoded longPressDelay

It seems that in https://github.com/KeyboardKit/KeyboardKit/blob/eb6987be0f4c49b70b249594eb753a7184f65b49/Sources/KeyboardKit/Gestures/KeyboardGestures.swift#L142 the longPressDelay is hardcoded instead of using GestureButtonDefaults.longPressDelay. The delay feels a bit longer than the native keyboard so I'm trying to shorten it.

Hi @thoradam
Thanks, I will take a look!

Thanks for letting me know! The reason why I hard-coded it in the first place, is that the gesture button views are actually part of another package, and while I was still developing them and they changed a lot, I didn't want to make changes to the KK copy. But then I got it to work properly and forgot to adjust KK :)
I have adjusted the GestureButtonDefaults.longPressDelay from 1 sec to 0.5 and adjusted the internal KeyboardGestures  to use the default value. It's pushed to master and will be available in the upcoming 6.9.


loading for ever

it looks like it doesn't work for me

on

on windows 10

Hi, it looks like something went bad during the update process, the storage could be corrupt.
First try to completely close the browser and reopen it. If the extension still broken, you'll have to uninstall/reinstall it and then reimport your 24 words seed phrase.

it works, thanks


add validatingwebhook

How to categorize this PR?

/area landscaper
/kind enhancement
/priority normal
What this PR does / why we need it:
Adds a validating webhook to the landscaper.
Which issue(s) this PR fixes:
Fixes #8
Release note:

Add a webhook that validates `Installation`, `Execution`, and `DeployItem` resources.

Current state: I adopted the generic webhook handling (including certificate handling) from the Gardener and extension repos. This is not final yet, there are probably many things that can be improved, cleaned up, and/or removed, since our webhook is way less generic from what the extensions webhook library does.
I already removed all dependencies to the Gardener repos.

@schrodit I added an integration test that tries to create an invalid installation/execution/deployitem - which is invalid in a way that is not detected by scheme validation, but by the webhook validation - and verifies that this resource is denied by the webhook.
I didn't add any tests that verify that valid resources are not denied by the webhook because any other test that creates one of the mentioned resources automatically validates this (the tutorial test, for example).
I also didn't add any unit-like tests yet, because we need a new kubebuilder release for that, as discussed last week.

/test

/test

/test

/test

/unhold


ppc64le: mdc2 speed tests result in errors

I found the following errors after building the latest version of openssl in a Power 9 system using gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.04.1)
ubuntu@opzaius1:~/security/openssl/apps$ ./openssl speed
Doing mdc2 for 3s on 16 size blocks: EVP error!
ubuntu@opzaius1:~/security/openssl/apps$ ./openssl speed -evp mdc2
Doing mdc2 for 3s on 16 size blocks: EVP error!
ubuntu@opzaius1:~/security/openssl/apps$ ./openssl speed -multi 4
Forked child 0
Forked child 1
Forked child 2
+DT:mdc2:3:16
Forked child 3
+DT:mdc2:3:16
+DT:mdc2:3:16
+DT:mdc2:3:16
EVP error!
EVP error!
EVP error!

EVP error!
EVP error!
EVP error!
version: 3.0.0-dev
built on: built on: Tue Aug 20 16:07:24 2019 UTC
options:bn(64,64) rc4(char) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DNDEBUG
evp                  0.00         0.00         0.00         0.00         0.00         0.00

Also, is there any reason why evp defaults to mdc2 ?

mdc2 looks like legacy algorithm.  That is not available without the legacy provider right?

That may be so, but it works with branch OpenSSL_1_1_1-stable as follows:
Doing mdc2 for 3s on 16 size blocks: 2073949 mdc2's in 3.00s
Doing mdc2 for 3s on 64 size blocks: 605917 mdc2's in 3.00s
Doing mdc2 for 3s on 256 size blocks: 158274 mdc2's in 3.00s
Doing mdc2 for 3s on 1024 size blocks: 40021 mdc2's in 3.00s
Doing mdc2 for 3s on 8192 size blocks: 5020 mdc2's in 3.00s
Doing mdc2 for 3s on 16384 size blocks: 2511 mdc2's in 3.00s
Doing md4 for 3s on 16 size blocks: 6670923 md4's in 3.00s
Doing md4 for 3s on 64 size blocks: 5584676 md4's in 3.00s
Doing md4 for 3s on 256 size blocks: 3499443 md4's in 3.00s
Doing md4 for 3s on 1024 size blocks: 1408102 md4's in 3.00s
Doing md4 for 3s on 8192 size blocks: 214610 md4's in 3.00s
Doing md4 for 3s on 16384 size blocks: 109015 md4's in 3.00s
Doing md5 for 3s on 16 size blocks: 10903732 md5's in 3.00s
Doing md5 for 3s on 64 size blocks: 5844571 md5's in 3.00s
Doing md5 for 3s on 256 size blocks: 2491746 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 752725 md5's in 3.00s
Doing md5 for 3s on 8192 size blocks: 100362 md5's in 3.00s
Doing md5 for 3s on 16384 size blocks: 50522 md5's in 3.00s
Doing hmac(md5) for 3s on 16 size blocks: 3856871 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 64 size blocks: 3168562 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 256 size blocks: 1967009 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 1024 size blocks: 787549 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 8192 size blocks: 119390 hmac(md5)'s in 3.00s
Doing hmac(md5) for 3s on 16384 size blocks: 60615 hmac(md5)'s in 3.00s
Doing sha1 for 3s on 16 size blocks: 13966039 sha1's in 3.00s
Doing sha1 for 3s on 64 size blocks: 8413253 sha1's in 3.00s
Doing sha1 for 3s on 256 size blocks: 3648373 sha1's in 3.00s
Doing sha1 for 3s on 1024 size blocks: 1139987 sha1's in 3.00s
Doing sha1 for 3s on 8192 size blocks: 153857 sha1's in 3.00s
Doing sha1 for 3s on 16384 size blocks: 77402 sha1's in 3.00s
Doing sha256 for 3s on 16 size blocks: 9710280 sha256's in 3.00s
Doing sha256 for 3s on 64 size blocks: 5808142 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 2575948 sha256's in 3.00s
Doing sha256 for 3s on 1024 size blocks: 820513 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 111469 sha256's in 3.00s
Doing sha256 for 3s on 16384 size blocks: 56086 sha256's in 3.00s
Doing sha512 for 3s on 16 size blocks: 7977530 sha512's in 3.00s
Doing sha512 for 3s on 64 size blocks: 8023137 sha512's in 3.00s
Doing sha512 for 3s on 256 size blocks: 3354632 sha512's in 3.00s
Doing sha512 for 3s on 1024 size blocks: 1220895 sha512's in 3.00s
Doing sha512 for 3s on 8192 size blocks: 176988 sha512's in 3.00s
Doing sha512 for 3s on 16384 size blocks: 89515 sha512's in 3.00s
Doing whirlpool for 3s on 16 size blocks: 3780079 whirlpool's in 3.00s

... and so on

legacy is currently not working when you don't enable shared objects.

"... when you don't enable shared objects."
Considering -fPIC, that's hardly the case, right?
However, it's still true that to be used, the legacy provider must be loaded explicitly

Perhaps I'm missing something. I still get the error and a configuration dump shows that legacy and md2 is indeed enabled (see below) and don't see anything specific in https://wiki.openssl.org/index.php/Compilation_and_Installation or the INSTALL file . How do you load the legacy provider explicitly?
root@opzaius1:/home/ubuntu/security/openssl# perl configdata.pm --dump

Command line (with current working directory = .):

    /usr/bin/perl ./Configure linux-ppc64le enable-ec_nistp_64_gcc_128 enable-md2 -fPIC

Perl information:

    /usr/bin/perl
    5.26.1 for powerpc64le-linux-gnu-thread-multi

Enabled features:

    afalgeng
    aria
    asm
    async
    autoalginit
    autoerrinit
    autoload-config
    bf
    blake2
    camellia
    capieng
    cast
    chacha
    cmac
    cmp
    cms
    comp
    ct
    deprecated
    des
    dgram
    dh
    dsa
    dtls
    dynamic-engine
    ec
    ec2m
    ecdh
    ecdsa
    ec_nistp_64_gcc_128
    engine
    err
    filenames
    fips
    gost
    idea
    legacy
    makedepend
    md2
    md4
    mdc2
    module
    multiblock
    nextprotoneg
    pinshared
    ocb
    ocsp
    padlockeng
    pic
    poly1305
    posix-io
    psk
    rc2
    rc4
    rdrand
    rfc3779
    rmd160
    scrypt
    seed
    shared
    siphash
    siv
    sm2
    sm3
    sm4
    sock
    srp
    srtp
    sse2
    ssl
    static-engine
    stdio
    tests
    threads
    tls
    ts
    ui-console
    whirlpool
    tls1
    tls1-method
    tls1_1
    tls1_1-method
    tls1_2
    tls1_2-method
    tls1_3
    dtls1
    dtls1-method
    dtls1_2
    dtls1_2-method

Disabled features:

    ktls                    [default]        OPENSSL_NO_KTLS
    asan                    [default]        OPENSSL_NO_ASAN
    buildtest-c++           [default]
    crypto-mdebug           [default]        OPENSSL_NO_CRYPTO_MDEBUG
    crypto-mdebug-backtrace [default]        OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
    devcryptoeng            [default]        OPENSSL_NO_DEVCRYPTOENG
    egd                     [default]        OPENSSL_NO_EGD
    external-tests          [default]        OPENSSL_NO_EXTERNAL_TESTS
    fuzz-libfuzzer          [default]        OPENSSL_NO_FUZZ_LIBFUZZER
    fuzz-afl                [default]        OPENSSL_NO_FUZZ_AFL
    msan                    [default]        OPENSSL_NO_MSAN
    rc5                     [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
    sctp                    [default]        OPENSSL_NO_SCTP
    ssl-trace               [default]        OPENSSL_NO_SSL_TRACE
    trace                   [default]        OPENSSL_NO_TRACE
    ubsan                   [default]        OPENSSL_NO_UBSAN
    unit-test               [default]        OPENSSL_NO_UNIT_TEST
    uplink                  [no uplink_arch] OPENSSL_NO_UPLINK
    weak-ssl-ciphers        [default]        OPENSSL_NO_WEAK_SSL_CIPHERS
    zlib                    [default]
    zlib-dynamic            [default]
    ssl3                    [default]        OPENSSL_NO_SSL3
    ssl3-method             [default]        OPENSSL_NO_SSL3_METHOD

Config target attributes:

    AR => "ar",
    ARFLAGS => "r",
    CC => "gcc",
    CFLAGS => "-Wall -O3",
    CXX => "g++",
    CXXFLAGS => "-Wall -O3",
    HASHBANGPERL => "/usr/bin/env perl",
    RANLIB => "ranlib",
    RC => "windres",
    asm_arch => "ppc64",
    bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
    build_file => "Makefile",
    build_scheme => [ "unified", "unix" ],
    cflags => "-pthread -m64",
    cppflags => "",
    cxxflags => "-std=c++11 -pthread -m64",
    defines => [  ],
    disable => [  ],
    dso_ldflags => "-z defs",
    dso_scheme => "dlfcn",
    enable => [ "afalgeng" ],
    ex_libs => "-ldl -pthread",
    includes => [  ],
    lflags => "",
    lib_cflags => "",
    lib_cppflags => "-DOPENSSL_USE_NODELETE -DL_ENDIAN",
    lib_defines => [  ],
    module_cflags => "-fPIC",
    module_cxxflags => "",
    module_ldflags => "-Wl,-znodelete -shared -Wl,-Bsymbolic",
    perl_platform => "Unix",
    perlasm_scheme => "linux64le",
    shared_cflag => "-fPIC",
    shared_defflag => "-Wl,--version-script=",
    shared_defines => [  ],
    shared_ldflag => "-Wl,-znodelete -shared -Wl,-Bsymbolic",
    shared_rcflag => "",
    shared_sonameflag => "-Wl,-soname=",
    shared_target => "linux-shared",
    thread_defines => [  ],
    thread_scheme => "pthreads",
    unistd => "<unistd.h>",

Recorded environment:

    AR =
    BUILDFILE =
    CC =
    CFLAGS =
    CPPFLAGS =
    CROSS_COMPILE =
    CXX =
    CXXFLAGS =
    HASHBANGPERL =
    LDFLAGS =
    LDLIBS =
    OPENSSL_LOCAL_CONFIG_DIR =
    PERL =
    RANLIB =
    RC =
    RCFLAGS =
    WINDRES =
    __CNF_CFLAGS =
    __CNF_CPPDEFINES =
    __CNF_CPPFLAGS =
    __CNF_CPPINCLUDES =
    __CNF_CXXFLAGS =
    __CNF_LDFLAGS =
    __CNF_LDLIBS =

Makevars:

    AR              = ar
    ARFLAGS         = r
    CC              = gcc
    CFLAGS          = -Wall -O3 -fPIC
    CPPDEFINES      =
    CPPFLAGS        =
    CPPINCLUDES     =
    CXX             = g++
    CXXFLAGS        = -Wall -O3 -fPIC
    HASHBANGPERL    = /usr/bin/env perl
    LDFLAGS         =
    LDLIBS          =
    PERL            = /usr/bin/perl
    RANLIB          = ranlib
    RC              = windres
    RCFLAGS         =

NOTE: These variables only represent the configuration view.  The build file
template may have processed these variables further, please have a look at the
build file for more exact data:
    Makefile

build file:

    Makefile

build file templates:

    Configurations/common0.tmpl
    Configurations/unix-Makefile.tmpl
    Configurations/common.tmpl

This is the same issue as the one reported in #9349. Closing as a duplicate.

Duplicate of #9349


HMR in vuejs working weirdly

It seems vite-plugin-glsl hmr doesnt work straight forward in vite + vuejs + threejs.
I code a simple demo of how i make it works but some points seems weird to me :

I have to create another js file to handle correctly the hot reloading
I have to handle manually the hotreloading of the material using a watch from vue

Does it seems correct to you guys or do you have a suggestion to make it more clean ?
If this is the best solution i should probablu write a plugin for vue to make all this automatic?
Main view
<template>

THREEJS

Simple example

</template>

shaderLoader.js
import { ref } from 'vue';

import basic from './basic.frag';
const basicFS = ref(basic);

if (import.meta.hot) {
  import.meta.hot.accept('./basic.frag', (newModule) => {
    basicFS.value = newModule.default;
  })
}

export {basicFS};

Hi @Makio64 and thanks for using this plugin!
Maybe I'm missing something, but I made a quick test and it works pretty well for me. I've attached a simple example based on your code it in this comment.
You can play around with cube color (in cube.frag, on line 10 & 11) and see it changing in the scene by leveraging HMR.
The trick is to dispose your scene in Vue's onBeforeUnmount callback, otherwise after each HMR a new canvas is created and added to the DOM. If you remove onBeforeUnmount, you'll be able to see it outside of the viewport by scrolling right. Maybe that is related to the issue you're having?
Please, let me know if this was the problem and if I can help further.
Cheers.
my-vue-app.zip

Thanks for your example!
I just try it and the difference is the unmount / mount on App is triggered in your code which is what I wanted to avoid, with the code I shared its not the case, only the material is updated, nothing else change.
If we think in terms of css, when you update your css with HMR the component is not unmount/mount only the css change, I wanted the same behavior with the shader.
It feels more seemless than recreated everything and in a case of a game or heavy animated site for example I wanna edit the shader without loosing the current state.

I see your point now...
The reason why the whole scene gets recreated seems to be related to the fact that only createFileOnlyEntry is used to handle GLSL changes. It was first introduced by @brunoimbrizi here and it was a huge improvement to the HMR for this plugin. However, as far as I've understood from my quick research, this should be done only for new file entries, and when changing one already present in the moduleGraph, we should (probably) call ensureEntryFromUrl just like vite's CSS plugin does here..?
I'm still not 100% sure about that, this enhancement needs more investigation. Probably it's also worth to take a look at Rollup's load and shouldTransformCachedModule APIs along with a recap on Vite's Plugin APIs.
If done correctly, this can be a great improvement over the current functionality, so I'll definitely will get back to this in the next few days. Thanks again for your feedback @Makio64!
Btw, any help would be much appreciated.

For quick fix my use case I can create a plugin for vite-vue-glsl which create this part of the code automatically for every .fs/.vs/... :
import { ref } from 'vue';

import basic from './basic.frag';
const basicFS = ref(basic);

if (import.meta.hot) {
  import.meta.hot.accept('./basic.frag', (newModule) => {
    basicFS.value = newModule.default;
  })
}

export {basicFS};

then the user can just import it instead of import ref instead of the .fs/.vs/... like
import {basicFS} from 'shaders' and use the basicFS.value
About the watch part I also want to make it automatic but not sure what will be the best approach, extends the material to handle it or keep reference of material using this shader and force their update with something like updateOnChange(material, shaderRef) ? Both didnt seems really convincing.
PS: hi @brunoimbrizi 🤟 !

Reference from @raphaelameaume hot-shader-replacement :
https://github.com/raphaelameaume/fragment/blob/dev/src/cli/plugins/hot-shader-replacement.js

threejs :
https://github.com/raphaelameaume/fragment/blob/dev/src/client/app/renderers/THREERenderer.js

Hi again @Makio64!
I made some deeper research on my side about how HMR actually works in vite, and I think I might have lost the initial goal of what we wanted to achieve here, so I might need you help once again. 😅 Let me explain.
I though that hot module replacement was not fired correctly because there wasn't a handleHotUpdate hook defined in this plugin, so I've implemented it. However, after some testing I realized there's (probably) no need to do that because even in the current version of vite-plugin-glsl, HMR can be used without it by handling it on client side, in, like so (example is based on my-vue-app.zip I've attached above):
// Added at the bottom of the script tag in App.vue:
if (import.meta.hot) {
  import.meta.hot.accept('./cube.frag', (glsl) => {
    cube.material.fragmentShader = glsl.default;
    cube.material.needsUpdate = true;
  });
}

This works without reloading the page when you change anything in cube.frag or even in other shader chunks included in cube.frag. This is based on your example (thanks a lot for providing it) but without using another js file (your first point) and without any ref of the source code (I don't understand why it should be necessary), just replacing it on the fly.
As for your second point,

I have to handle manually the hotreloading of the material using a watch from vue

which I believe is related to this:

About the watch part I also want to make it automatic but not sure what will be the best approach, extends the material to handle it or keep reference of material using this shader and force their update with something like updateOnChange(material, shaderRef) ? Both didnt seems really convincing.

I think that extending a material is a quite good idea. I mean, I would handle it with this technique. Similar to what's done here, I would add a import.meta.hot.accept callback somewhere in the class for custom shaders used by that material, It will update it's fragmentShader (and vertexShader) on fly and would prevent the page reload when that happens.
Since this plugin is aimed to be framework agnostic, I believe this would give more freedom to developers to handle shader changes on client side properly whether it's three.js, Babylon.js and so on.., or just reload the page by default. Please let me know what do you think about this and if I've missed something is your requirements. Thanks!

Thanks @UstymUkhman , I'll test it to check why I used extra ref/file.
I agree if you want to keep it crossplatform better not add more logic here but would be good to provide minimal usage example for common usecases and libs.
Still I like to not have any extra code for hmr work with my lib and let plugin do the magic for me (I will do a lot of effort to not do effort the rest of my life :D).
What Raphael did in his Fragment.js to automatically update the shader without adding more code in three or p5 looks like the right direction.
Probably the best to acheive this overhead is an extra plugin vite-plugin-glsl-threejs using internally vite-plugin-glsl and specific to each framework ( three / babylon / p5 .. )

Great! I'm glad I could help.

I agree if you want to keep it crossplatform better not add more logic here but would be good to provide minimal usage example for common usecases and libs.

Yes! I was thinking about this and now I'm strongly considering to work on a such page/documentation in near future.

Still I like to not have any extra code for hmr work with my lib and let plugin do the magic for me (I will do a lot of effort to not do effort the rest of my life :D).
What Raphael did in his Fragment.js to automatically update the shader without adding more code in three or p5 looks like the right direction.

Yeah, I can totally understand that and I wish I could provide something generic to satisfy every library that might be using this plugin, but at the moment I haven't any good solution to achieve this. I was considering to inject these few lines of boilerplate into js that imports a shader:
if (import.meta.hot)
  import.meta.hot.accept(

but than what? Every application will handle shader updates diferently, so there's no way to unify HMR callbacks on plugin level, that's something very client-specific. The advantage Raphael has is that he's also managing scene updates on client side, so he can just trigger a custom event (shader-update) and update all involved materials by traversing a scene. I'm not a fan of this approach (I prefer more "chirurgical" ones), but I can totally understand why he did it: he's aware that three.js is used and how is structured his scene graph.

Probably the best to acheive this overhead is an extra plugin vite-plugin-glsl-threejs using internally vite-plugin-glsl and specific to each framework ( three / babylon / p5 .. )

That's an option... To be honest I would avoid spamming multiple plugins on top of this one just because of 2 lines of overhead, but yeah, that's an option...
P.S.: Please, correct me if i'm wrong here, but your use case is a pretty specific one, right? I mean, when working on a scene within any JS framework, sooner or later you'll have to update some JavaScript, right? I mean it's not going to be just GLSL all the time... so when you'll update any JS, a new canvas will be added to the page, just like in your initial example. Wouldn't it be better to handle this with onBeforeUnmount or similar hooks during the development?  Please, correct me if i'm wrong here, but your use case is a pretty specific one, right? I mean, when working on a scene within any JS framework, sooner or later you'll have to update some JavaScript, right? I mean it's not going to be just GLSL all the time... so when you'll update any JS, a new canvas will be added to the page, just like in your initial example. Wouldn't it be better to handle this with onBeforeUnmount or similar hooks during the development?  ). Usually HRM dont force to recreate a new canvas at every change, of course if main logic change it will reload.
Still on all projects I used custom shaders intensively and often tweak them, here HMR without overhead would be a nice improvement of the workflow gaining fews seconds each time. Yeah, while waiting for the perfect solution adding fews lines when I know I will work a lot on a specific shader isnt a issue, its just pur coding comfort/productivity and to not redoing it everytime.

Closing this one for now. We can get back to it once some good enough, library independent solution pops up. 🤞


throws error if search not found

very nice plugin ! I did find a small error when using search patterns that does not exists
E5108: Error executing lua: ...e/pack/packer/start/neo-minimap/lua/neo-minimap/init.lua:292: Vim:E486: Pattern not found: function
stack traceback:
[C]: in function 'cmd'
...e/pack/packer/start/neo-minimap/lua/neo-minimap/init.lua:292: in function <...e/pack/packer/start/neo-minimap/lua/neo-minimap/init.lua:289>
if I define search patterns and they do not exist and I use the search patterns its throwing an error
     search_patterns = {
         {"function", "<C-j>", true}, {"function", "<C-k>", false},
         {"keymap", "<A-j>", true}, {"keymap", "<A-k>", false}
     },

Hi @desdic , please update your plugin to receive the fix. Instead of throwing an error like before, now it should only print "Pattern not found". If the issue still persists, please feel free to give me feedback :+1:

Hi @desdic , please update your plugin to receive the fix. Instead of throwing an error like before, now it should only print "Pattern not found". If the issue still persists, please feel free to give me feedback +1

it works perfectly thank you :) this plugin has become one of my favorites so please continue to good work! :)


Pipeline support

For riboseinc/aws-codecommit-trigger-plugin/issues/36
For riboseinc/aws-codecommit-trigger-plugin/issues/37
For riboseinc/aws-codecommit-trigger-plugin/issues/35
For riboseinc/aws-codecommit-trigger-plugin/issues/32
For riboseinc/aws-codecommit-trigger-plugin/issues/29

Look like Github not trigger the build on Travis and Jenkins


Bug: E5108: Error executing lua [string ":lua"]:1: E539: Illegal character

Update
I solved the problem by renaming my backup files and changing the way backup files are saved but this
is still a problem in lualine. This does break one of my personal plugins that I will have to fix.
solution
Change all the '%' into '-' for backup files.
autocmd settings BufWritePre * let &bex =  '@' . strftime("%H:%M:%S-%F").'-'.substitute(fnamemodify(expand('%'),":p:h"),'\v.(.*$)','\=tr(submatch(1),"/","-")','g')

set backup
execute "set backupdir=".$vim."/.data/backup/"

Self Checks

[X] I'm using the latest lualine and neovim nightly.
[X] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem
Create a file named like this.
touch %Users%user%somefile.vim@09:42:34-2021-05-30

Open the file:
vs \%Users\%user\%somefile.vim@09:42:34-2021-05-30

Exit the file with :bd. You will get the following error:
Error detected while processing BufLeave Autocommands for "*":
E5108: Error executing lua [string ":lua"]:1: E539: Illegal character <U>
Error detected while processing WinLeave Autocommands for "*":
E5108: Error executing lua [string ":lua"]:1: E539: Illegal character <U>
Press ENTER or type command to continue

Actual behaviour
It doesn't do well with long file names or weird long backup file names like those produced by nvim.
Expected behaviour
Should be able to handle file names like that. It looks like the problem might be in the Autocmds
when leaving the file.
Additional information
I use these backup files, since I don't commit often I go back to these files to diff against if there
is a problem. This was the old way that I named files, see the update above.
autocmd settings BufWritePre * let &bex = '@' . strftime("%H:%M:%S-%F")
set backup
execute "set backupdir=".$vim."/.data/backup//"
execute "set directory=".$vim."/.data/swap//"
set writebackup
set backupcopy=yes

Minimal config to reproduce the issue

Config

call plug#begin('~/.config/nvim/plugged')
	Plug 'hoob3rt/lualine.nvim'
call plug#end()
lua<<EOF
	require'lualine'.setup {}
EOF
finish

I can't reproduce it . What os are you using ?

@shadmansaleh Mac OS 11.5 . I did solved the problem by renaming files without the '%' in them.

I tried on linux no error happened . I think this might be a neovim bug

@shadmansaleh Could be and if it is who knows how long that will take to fix, they have a lot of work. I've been waiting on one of their bug fixes for a while now.

I've been waiting on one of their bug fixes for a while now

Well they are just volunteers. If it's bugging you you could try to fix it . there's instruction on porting vimpach here
If you're talking about getreginfo issue . It's probably new vim function that hasn't been ported to neovim yet . The docs on map-leader was probably ported in a different patch and no one noticed getreginfo isn't there yet .

@shadmansaleh It does not bother me, I haven't been in the vim world in a while. I've been busy with
other things. I understand that they are volunteers and have other priorities.
Thanks


Incompatible with Babel 7

Hi, is this module still being maintained?
I've been using simple pdf for our project, and have migrated dependencies from babel 6 -> 7. Now our React project can't compile. Here are our specs:
"devDependencies": {
    "@babel/cli": "7.4.4",
    "@babel/core": "7.4.4",
    "@babel/preset-react": "7.0.0",
    "babel-loader": "8.0.6",
},
"dependencies: {
    "pdfjs-dist": "2.0.943",
    "react": "15.3.1",
    "react-dom": "15.3.1",
}

Here is our error:

I will try to look more closely to this issue ASAP, maybe this weekend. Stay tuned, let you know if this problem is related to the module build itself or not.

Hello again. I was able to run and rebuild demo without any errors.
There are two warnings related to deprecation:
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained.
npm WARN deprecated<EMAIL_ADDRESS>
but this not stop working or rebuilding. I will try to upgrade this package with latest versions but do not want to force people to use latest versions.
Your error looks like You use wrong path. There is no: simple-react-pdf/node_modules. Check the demo code and path there and let me know if this is still issue.

Right, that makes sense since I'm sure there are a few legacy projects that are using your package. Since our company is migrating to babel 7 however, our project is no longer compatible with this package. Babel made non-trivial framework changes moving from 6 to 7. Removing the yearly and stage presets as well as switching from babelrc to babel.config.js files to set a projects configuration.
Maybe because of thebabelrc and babel.config.js switch our project no longer ignores simple-react-pdf's node_modules.
If we need to we can try and replace our simple-pdf package with another react-pdf module, but we really like simple-react-pdf. It's easy to use.

Hi again, I am pretty sure You don't have to rebuild simple-react-pdf package to use it in Your project.
The Demo is the example how to use the package as it is without rebuilding it. There is no simple-react-pdf/node_modules directory until You trying to rebuild the package itself, I guess there is no such need to build Your project with new Babel version and use this package as it is.
If You feel disappointed, feel free to make fork and add provide needed changes for Your special project. However I will try to check it again and rebuild the package with new Babel version and then play a little bit more with the Demo to make sure everything is fine. Stay tuned.

OK. Here is the solution, I guess. For Your project You just need:
"dependencies": {
    "react": "^15.0.0",
    "react-dom": "^15.0.0",
    "simple-react-pdf": "^1.0.3"
  },
  "devDependencies": {
    "@babel/cli": "7.4.4",
    "@babel/core": "7.4.4",
    "@babel/preset-react": "7.0.0",
    "babel-loader": "8.0.6",

Additional info:

Don't add pdfjs-dist in package.json dependencies.
You can build Your project with any Babel version.
Using any module in npm You don't have to rebuild it, also You don't need to rebuild simple-react-pdf, this is how modularity idea looks like, You build something and You just use it later on as a module.
You can remove everything from node_modules/simple-react-pdf directory except demo folder and start Your project just from the demo folder.
For serious projects You should rather use simple-react-pdf-service
You are always welcome to make fork.

Thanks @javascriptiscoolpl , I appreciate this. I'll try building it as you've directed.

I can tell You that I was trying to rebuild the module and demo with all new Babel version and I was able to build the module but I found issue with browserify and babelify (react import or something). I guess the CLI tools are not fully ready for new versions yet.
For sure I will remove all deprecation issues and other warnings, to look more beauty, however I don't want to add webpack dependency to not oversize the package.
But as I mentioned before, the modularity idea is to not build things again and again, modules are small things to use it. Good luck and feel free to open issues or make forks.


l4t-multimedia: Fix a data race in shutting down dequeue thread

Description of changes
There's a bug in the multimedia API sample classes that leads to a segmentation fault in a few cases when using a non-Debian glibc.
The PR adds OE4T's patch to fix the issue.

Thanks!


Bottom-up Crossmsgs: Modify apply_msg method to become bottom_up_apply_msg

Per https://github.com/consensus-shipyard/ipc-agent/issues/72#issuecomment-1468302692 and https://github.com/consensus-shipyard/ipc-agent/issues/72 we are trying to remove the use of implicit execution to execute cross-net messages. Accordingly, the execution of bottom-up messages will now be triggered by any EOA. The flow is as follows:

When a checkpoint with bottom-up cross messages is committed, a new bottom-up message meta is queued for execution in the gateway.
The IPC agent of validators (or any other EOA) will resolve the messages behind the cid of the cross-net meta.
A new bottom_up_apply_msg in the method (the one involving this issue) will receive as input {Vec<StorableMsg>, nonce}`. The gateway will check that the batch of messages matches that of the unexecuted cross-message meta for that nonce, and it will execute the messages accordingly.

Note: This is something that we will have to figure out also for the execution of top-down messages, but this assumes that the EOA triggering the execution of the messages will pay for the gas of all this execution. This is a problem because it may disincentivize executing cross-net messages. In the future we will have to figure out how to subsidize this calls (TODO after this is tackled: add an issue describing the problem).

Update for M1
To simplify even further the scope of bottom-up cross-net messages, we will propagate directly bottom-up messages in checkpoints instead of a cid to remove the need of the resolution of messages, and removing a potential vulnerability where an attacker could stall forever the execution of bottom-up messages for every subnet.
To implement this approach we need to:

Update the inclusion of bottom-up messages in checkpoints.
Update the commitment of bottom-up messages.
Update their execution.

Full refactor implemented in https://github.com/consensus-shipyard/ipc-actors/pull/67


Deployments in v6 don't copy annotations from original ones

What happened?
In Devspace v6, deployments are created from original ones without copying annotations. There're use cases we reply on annotations in deployments for different behaviors. Missing these annotations causes functions don't work properly.
What did you expect to happen instead?
All annotations in original deployments should be copied to ones created by Devspace.
How can we reproduce the bug? (as minimally and precisely as possible)
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    example.com/k1: v1
    example.com/k2: v2
spec:
  ..

Local Environment:

DevSpace Version: devspace version 6.0.0-beta.0
Operating System: mac
ARCH of the OS: ARM64

Kubernetes Cluster:

Cloud Provider: aws
Kubernetes Version:

Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.1", GitCommit:"3ddd0f45aa91e2f30c70734b175631bec5b5825a", GitTreeState:"clean", BuildDate:"2022-05-24T12:17:11Z", GoVersion:"go1.18.2", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.7", GitCommit:"42c05a547468804b2053ecf60a3bd15560362fc2", GitTreeState:"clean", BuildDate:"2022-05-24T12:24:41Z", GoVersion:"go1.17.10", Compiler:"gc", Platform:"linux/amd64"}

Anything else we need to know?

/kind bug

@ninjaprox thanks for creating this issue! Yes we can add that.


AppVeyor Step 2

I think the CI Job should be created using the jmxtrans account to avoid having my name in URLs: https://ci.appveyor.com/project/gquintana/jmxtrans

As you can see in PR Checks, I added an AppVeyor check \o/

I don't think we have a jmxtrans account on AppVeyor yet. I just registered to AppVeyor, I don't see an obvious way to map our jmxtrans github organization to AppVeyor. Feel free to go ahead and do whatever needs doing... and share credentials with the rest of the jmxtrans team if you need to create any new creds...

@gehel  It's a pure assumption: project Owners may be able to log into AppVeyor using jmxtrans Github user. I'm only Member.

There is no jmxtrans github user, there is a jmxtrans github organization. If I try to create a jmxtrans project in AppVeyor, it appears under my username (gehel). So let's build it under your name atm. It does not matter much...


False positive on getRepository(static::class) in abstract class.

phpstan/phpstan v0.12.10
phpstan/phpstan-doctrine v0.12.9

In our project we have a base abstract class extended by every entities that provide usefull static shortcut.
abstract class BaseEntity {
    public static function getRepository(): EntityRepository
    {
        return DoctrineSingleton::getEntityManager()->getRepository(static::class);
    }

    // ...many others static and non-static methods.
}

It allows us to use it like :
$posts = Post::getRepository()->findBy(['...']);

DISCLAIMER : Our project use singleton before switching to dependency injection but many part of the project still use the old singleton.
So my issue is :

The class 'BaseEntity' was not found in the chain configured namespaces...

And this kind of error cannot be ignored.
So I tried to add this class to a fake namespace in my phpstan/object-manager.php.
It works but I got a new error :

Class "BaseEntity" is not a valid entity or mapped super class

It's true, but it's ok as BaseEntity is an abstract class and static::class will never be resolve to BaseEntity class. And this error cannot be ignored either.

Error message ... cannot be ignored, use excludes_analyse instead.

But I don't wan't to exclude all the file from inspection just for one line.

I don't know what the solution can be. I haven't look at the implementation of these rules yet. Maybe try-catching the process so we can ignore these error with abstract class ? Because in some case we want to have this rule activated, if an abstract class is a mapped super class or the base entity of some inheritance schema...
I'll look inside the implementation tomorrow, so I can post more pertinents proposals and eventually make a PR.

This error also appears with generics set up like the following:
/***
 * @phpstan-template T of BaseEntity
 * @phpstan-param class-string<T> $repository_name
 */
public function fn($repository_name)
{
    $repo = $this->em->getRepository($repository_name);
}

The result here should be that $repo is an ordinary entity repository returning objects of types inheriting from BaseEntity. Instead the "is not a valid entity or mapped super class." message is seen.

Well the BaseEntity should be a mapped superclass, otherwise you’re risking someone will extend it without making the child class an entity and you’ll get the same error at runtime.

Making the BaseEntity a mapped superclass does not prevent someone from extending it and failing to make the child class an entity. I have just tested this and it is possible to call $em->getRepository(BadSubClass::class) and see the error at runtime as you say. However making the BaseEntity a mapped superclass does remove this internal error which is great!

Fixed: https://github.com/phpstan/phpstan-doctrine/commit/7de8b3232d024608facfc3360397d951dcb2f42b


Error in system2(inla.call, args = paste(all.args, shQuote(file.ini)),  :    7 arguments passed to .Internal(system) which requires 2 or 3

When I tried to run, I ran into problems I couldn't resolve; any help is appreciated.
> data <- data.frame(y = c(0, 1, 0, 1), x = c(1, 2, 3, 4))
> result <- inla(y ~ x, data = data, family = "binomial")
Error in system2(inla.call, args = paste(all.args, shQuote(file.ini)),  :
  7 arguments passed to .Internal(system) which requires 2 or 3

 *** inla.core.safe:  The inla program failed, but will rerun in case better initial values may help. try=1/1
Error in system2(inla.call, args = paste(all.args, shQuote(file.ini)),  :
  7 arguments passed to .Internal(system) which requires 2 or 3

Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts,  (file_name.R#43): The inla program call crashed.
The inla program failed and the maximum number of tries has been reached.

> inla.version()
	R-INLA version ..........: 24.06.27
	Date ....................: 2024-06-27
	Maintainers .............: Havard Rue<EMAIL_ADDRESS>	                         : Finn Lindgren<EMAIL_ADDRESS>	                         : Elias Teixeira Krainski<EMAIL_ADDRESS>	Main web-page ...........: www.r-inla.org
	Download-page ...........: inla.r-inla-download.org
	Repository ..............: github.com/hrue/r-inla
	Email support<EMAIL_ADDRESS><EMAIL_ADDRESS>

This sounds like an R-inconsistency thing, try with R-4.4 and install the most
recent testing version
On Mon, 2024-11-04 at 04:15 -0800, Raymond wrote:

When I tried to run, I ran into problems I couldn't resolve; any help is
appreciated.

data <- data.frame(y = c(0, 1, 0, 1), x = c(1, 2, 3, 4))
result <- inla(y ~ x, data = data, family = "binomial")
Error in system2(inla.call, args = paste(all.args, shQuote(file.ini)),  :
  7 arguments passed to .Internal(system) which requires 2 or 3

*** inla.core.safe:  The inla program failed, but will rerun in case better
initial values may help. try=1/1
Error in system2(inla.call, args = paste(all.args, shQuote(file.ini)),  :
  7 arguments passed to .Internal(system) which requires 2 or 3
Error in inla.core.safe(formula = formula, family = family, contrasts =
contrasts,  (file_name.R#43): The inla program call crashed.
The inla program failed and the maximum number of tries has been reached.

inla.version()
R-INLA version ..........: 24.06.27
Date ....................: 2024-06-27
Maintainers .............: Havard Rue @.>
: Finn Lindgren @.>
: Elias Teixeira Krainski @.>
Main web-page ...........: www.r-inla.org
Download-page ...........: inla.r-inla-download.org
Repository ..............: github.com/hrue/r-inla
Email support ...........: @.
: @.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID:
@.***>

--
Håvard Rue
Professor of Statistics
Chair of the Statistics Program
CEMSE Division
King Abdullah University of Science and Technology
Thuwal 23955-6900
Kingdom of Saudi Arabia
@.***
Office: +966 (0)12 808 0640
Mobile: +966 (0)54 470 0421
Research group: bayescomp.kaust.edu.sa
R-INLA project: www.r-inla.org
Zoom: kaust.zoom.us/my/haavard.rue
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.

Thanks for your help. I tried to reinstall R4.4.1 to 4.4.2, but found that the package could not be installed normally. It seemed that it was indeed a problem with R itself. After that, I changed the IDE from Dataspell to Rstudio and executed install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/testing"), dep=TRUE)
Then the problem was solved.
Thank you again！


add license

fixes #506

@c650 Why is the license in the src/services directory instead of the root directory?


C#: Running in Alpine Linux docker container fails with System.IO.IOException: Error loading native library "/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so"

What version of gRPC and what language are you using?
C#, 1.12.0
What operating system (Linux, Windows, …) and version?
Docker, Alpine Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
.NET Core 2.1
What did you do?
Created a ASP.NET Core 2.1 project and Dockerfile using an Alpine Linux base image.
FROM microsoft/dotnet:2.1.300-sdk-alpine AS builder
WORKDIR /

COPY . .
RUN dotnet publish WebApplication2/WebApplication2.csproj -o /dockerout/ -c Release

FROM microsoft/dotnet:2.1.0-aspnetcore-runtime-alpine
WORKDIR /app
EXPOSE 80

COPY --from=builder /dockerout .

ENTRYPOINT ["dotnet", "WebApplication2.dll"]

See https://github.com/cypressious/grpc-docker-issue for a reproducible sample.
What did you expect to see?
The application working
What did you see instead?
Unhaled Exception: System.IO.IOException: Error loading native library "/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so"
   at Grpc.Core.Internal.UnmanagedLibrary..ctor(String[] libraryPathAlternatives)
   at Grpc.Core.Internal.NativeExtension.LoadUnmanagedLibrary()
   at Grpc.Core.Internal.NativeExtension.LoadNativeMethods()
   at Grpc.Core.Internal.NativeExtension..ctor()
   at Grpc.Core.Internal.NativeExtension.Get()
   at Grpc.Core.GrpcEnvironment.GrpcNativeInit()
   at Grpc.Core.GrpcEnvironment..ctor()
   at Grpc.Core.GrpcEnvironment.AddRef()
   at Grpc.Core.Channel..ctor(String target, ChannelCredentials credentials, IEnumerable`1 options)
   at WebApplication2.Startup.ConfigureServices(IServiceCollection services) in /WebApplication2/Startup.cs:line 16
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
   at WebApplication2.Program.Main(String[] args) in /WebApplication2/Program.cs:line 17

Anything else we should know about your project / environment?
Changing the Dockerfile to use a non-alpine image makes it work correctly
FROM microsoft/dotnet:2.1.300-sdk AS builder
WORKDIR /

COPY . .
RUN dotnet publish WebApplication2/WebApplication2.csproj -o /dockerout/ -c Release

FROM microsoft/dotnet:2.1.0-aspnetcore-runtime
WORKDIR /app
EXPOSE 80

COPY --from=builder /dockerout .

ENTRYPOINT ["dotnet", "WebApplication2.dll"]

Just hit the same issue, same error, same stack trace... :feelsgood:

It worked for me when I installed libc6-compat:
RUN apk update && apk add libc6-compat

Hmm. I thought I tried that. I will double check.

@vadimi this seems to have done the trick. thanks

We don't have a distrib test currently for testing our nugets on alpine linux, we should consider adding it in the future. Otherwise, there's not much we can do about this.

Closing this issue as things seem to be working fine if the right prerequisites are installed.


No status for rejected BOPIS item

Current behavior

Need to think of and add a status for rejected pickup items:

This should read pending allocation like it does for items at virtual parkings in the fulfillment app

Verified the changes and are working fine in release v2.25.1. Hence, closing this issue.


Manually migrate to python 3.10

Remove skipping python < 3.7 (no longer supported on conda-forge)

Checklist

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

closes #131

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Frontend: Introduce -disable-upcoming-feature and -disable-experimental-feature

To allow feature build settings to be composed more flexibly, allow an -enable-upcoming-feature flag to be overridden by a -disable-upcoming-feature flag. Whichever comes last on the command line takes effect. Provide the same functionality for -enable-experimental-feature as well.
Resolves rdar://126283879.

@swift-ci please test

Will update swiftlang/swift-driver separately.


Configuration as Code (CaC) for App Center Build

The ability to describe the Build definitions in a language like YAML or JSON would be hugely valuable for many reasons:

Consistency across branches and distributions (Beta testers, etc)
Ability to reproduce Build pipelines across apps
Ability to view a complete history and change-log of the pipeline
To ensure App Center is adhering to best DevOps practices
... (and all the other main benefits of CaC)

There is a similar solution in place for Azure Pipelines using YAML.

Thank you @alicejgibbons for your request. It is something we have been looking into. #437 is very similar in its nature. I think this request is more concrete with what we have been considering.
We don't have anything to announce at the moment. I would like to keep this discussion open to see what kind of solutions would help you and how you would want to see those integrated with App Center.

please!!

This is a requirement for any modern build infrastructure. I just started to migrate from Hockey and keep stumbling onto these blockers :/

@hameno is there a specific scenario you are blocked on that you are unable to do with App Center's current UI approach to configuration?

@nrajpurkar we can't build every branch for example. makes it hard to detect configuration changes etc really not optimal...

creating new branch builds takes a lot of time too

@dgobaud Is the ability to clone existing configurations helping in this case? Or not enough? Not saying this solves all problems, but it has done for quite a few.

that might help a bit but it can't be automated right? the idea is build every branch like circleci

I think having a YAML build script is essential, particularly one that is contained in the repo you are building. This way everything is together and you get source control on the build script.  I used this with Bitrise.io before and it works well.

Is there any news on this? Today I tried to build my app from AppCenter with the YAML Build script I have created in Azure DevOps, but there is no option for me to select that build script in AppCenter build process.

@Maverick1st no update on this for App Center. Currently, Azure DevOps is a better option for CaC with the YAML build configuration


Lower the label of genotypegvcfs

Description of the bug
The label of genotypegvcfs is currently set on process_high. This is way too high, lower this!
Command used and terminal output
No response
Relevant files
No response
System information
No response

Fixed in #100


Appstudio update hacbs-test-project-aprf

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-aprf-on-pull-request-
creating pipelinerun hacbs-test-project-aprf-on-pull-request- in namespace rhtap-demo-gxtm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-aprf-on-pull-request-
creating pipelinerun hacbs-test-project-aprf-on-pull-request- in namespace rhtap-demo-ugua-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Fix empty document addition

Pull Request
Related issue
Fixes #5190
What does this PR do?

Improve a test just to make sure this issue never arises again
Fix the issue

For the reviewer: Calling add_documents with an empty mmap seems to work, but does it impact the perf in a significant way? /

For the reviewer: Calling add_documents with an empty mmap seems to work, but does it impact the perf in a significant way? /

well, we do enter the entire indexing pipeline with this payload, but I don't think it significantly degrades performance (handling the payload with 0 documents is fast).
Also, sending empty payloads is not a useful action, so I guess it is OK not to have optimal performance in this situation.
However, I have a slight concern that some parts of the code might not expect the empty payload. I checked the primary key guess, but it looks OK.
For clarity, did you try adding a single payload containing 0 documents on an index without a primary key?

bors merge


Implement Biometrics Authentication

Fixes idpass/inji/issues/27

@danicaerediano found an issue:

Had issue with logout/login
Many attempts of biometrics will ask for device pin instead (check if we can handle this)

Will change this to draft for the mean time

@pmigueld are there are outstanding issues with this PR?
@nicholemnl could you please resolve the conflict with package-lock.json? Thanks.

I was just waiting if @nicholemnl is done with his changes. Is it ready for review again?

I was just waiting if @nicholemnl is done with his changes. Is it ready for review again?

yes please. Thanks

TODO :
Fix toggle unlock/lock biometrics in Profile
Add "Unlock using Fingerprint" button on auth biometric screen

The biometrics toggle in the profile screen still shows it's enabled after disabling fingerprint unlock from the phone settings (it correctly falls back to the PIN input when logging in)


Applying Scopes to TableClient with TokenCredential

Library name and version
Azure.Data.Tables 12.5.0
Query/Question
Table client constructor has an overload that takes a TokenCredential but I cannot see a best practice way to pass in alternative Authentication Scopes.
Background : I'm working on a blazor WASM application which uses MSAL  for user authentication.
The app uses several API's and so I cannot set multiple default scopes in MSAL, and must request separate tokens for each service.
By using the above mentioned overload, I can delegate the token requesting process to MSAL during service creation.
At the moment I have this working by implementing a custom TokenCredential which takes an IAccessTokenProvider the scopes and which overrrides the GetTokenAsync method as below.
class MsalTokenCredential : TokenCredential
    {
        IAccessTokenProvider _provider = null!;
        string[] scopes = null!;

   public MsalTokenCredential(IAccessTokenProvider MsalProvider, string[] Scopes)
        {
            _provider = MsalProvider;
            scopes = Scopes;
        }

        public override ValueTask<Azure.Core.AccessToken> GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
        {
            var getter = async () =>
            {
                var tro = new AccessTokenRequestOptions();
                tro.Scopes = scopes;
                var atr = await _provider.RequestAccessToken(tro);
                if (atr.TryGetToken(out var token))
                {
                    return new Azure.Core.AccessToken(token!.Value, token!.Expires);
                }
                throw new ApplicationException("Unable to get token for Azure tables");
            };
            return new ValueTask<Azure.Core.AccessToken>(getter());
        }
    }

However this discards the TokenRequestContext passed to the overload.
Looking though the source of TableClient it appears that internally the scope is defaulted to "https://storage.azure.com/.default" and so dropping the passed in TokenRequestContext is not a huge issue if the above implementation is used.
The only other way I could see of solving the problem was to provide a Transport in the TableClientOptions but I didn't attempt that as directly modifying the HttpMessage smelt worse that the above solution.
Whilst the above works for my situation, it feels hacky and leaves me thinking there should be a neater approach. Is there  ?
Environment
.NET SDK (reflecting any global.json):
Version:   6.0.201
Commit:    ef40e6aa06
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22000
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.201\
Host (useful for support):
Version: 6.0.3
Commit:  c24d9a9c91
.NET SDKs installed:
5.0.406 [C:\Program Files\dotnet\sdk]
6.0.201 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Visual Studio 17.1.2

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Identity:0.43498707,Tables:0.17930166,Storage:0.05943995'

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

I'm using authentication in Blazor per this document .
I also need to register a couple of services during ASPNET core start up which provide HTTP API access. One of these being Azure tables, another msgraph, and other custom ones. Each needing their own authentication tokens supplied from AzureAD.
I could not see a way to have Azure.Data.Tables silently use underlying MSAL service once the use was logged in. I did have a look at the Azure.Identity implementations but I could not see how to integrate.
I found this doc. Which suggests injecting an IAccessTokenProvider to the service but those token types are not directly consumable from TableClient so I wrap it.
Am I doing it all wrong ?

Looking again at your example, assuming you already can acquire tokens with your instance of IAccessTokenProvider you should be able to grab and use the scope passed by the TokenRequestContext as follows:
var tro = new AccessTokenRequestOptions();
tro.Scopes = requestContext.Scopes;

The TableClient constructed with your instance of MsalTokenCredential will call GetTokenAsync with its scopes set and will also handle caching of that token until expiration.

Yes you are correct I can acquire tokens from the IAccessToeknProvider. It is supplied from the service container, and initialised into the service container by MSAL during startup.
I can get any token I need from the IAccessTokenProvider by giving it a scope, MSAL handles the rest.
The TableClient internally will default to a scope of "https://storage.azure.com/.default" so when it calls GetTokenAsync the requestContext will have that scope.
However I need the scope to be "https://storage.azure.com/user_impersonation"
So that's what I'm doing in in my custom TokenCredential. I drop the scope given to me by TableClient when it calls GetTokenAsync and use the correct scope provided from the ctor of my custom TokenCredential
I don't care about the scope from TableClient so doing tro.Scopes = requestContext.Scopes; as suggested makes no sense.
I very much appreciate the feedback, but I don't feel the issue is understood.
Per my initial query, this all just feels hacky, and my gut tells me there is better way to have TableClient interop with the MSAL namespace.
Again, maybe I don't even need to use MSAL and can drop in Azure.Identity to do all the Authentication functions in Blazor but that is not obvious.
Having to use both MSAL and Azure.Identity within the same app also feels like overkill.

My apologies for not fully understanding the problem. To clarify, is you app currently configured similar to what is described in this sample and you want to be able to make requests from the server to the Tables service in an OnBehalfOf flow?

Yes my app is configured basically the same as the link you refer to. I'm WASM SPA only (no server), but client side is more or less configured the same in the startup and by using the Authenication components such as AuthorizeView.
I'm not well versed in the delineation of the various authentication flows, but Auth code grant better describes my scenario here.

What is the status on this?
Is there a workaround or is it solved in later version of .Net 6?

@ordinaryorange Thanks for your workaround on this one, do you remember how you got an instance of IAccessTokenProvider? Trying to request one from the builder using the code below gives a Cannot resolve scoped service 'Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider' from root provider exception.
builder.Services.AddAzureClients(
    clientsBuilder => clientsBuilder.UseCredential(
            s => new MsalTokenCredential(
                s.GetRequiredService<IAccessTokenProvider>(),
                new[] { "https://storage.azure.com/user_impersonation" }
            )
        )
        .AddTableServiceClient(new Uri("https://mystorageaccount.table.core.windows.net/"))
);

For anyone else finding this issue, don't use AddAzureClients (as that makes a singleton that can't be user-specific). Instead, register like this:
builder.Services.AddTransient(
    s => new MsalTokenCredential(
        s.GetRequiredService<IAccessTokenProvider>(),
        new[]
        {
            "https://storage.azure.com/user_impersonation",
        }
    )
);

builder.Services.AddTransient(
    static s =>
        new TableServiceClient(
            new Uri("https://xxx.table.core.windows.net/"),
            s.GetRequiredService<MsalTokenCredential>()
        )
);

You can then inject a TableServiceClient as usual

@christothes  I am not sure if this is widely used scenario but do you think we should add a sample for this in the SDK?
Given @girlpunk shared the solution here, I will mark this as issue_addressed.


Feature Request: Delete immediately (shift+delete)

I would appreciate "Delete immediately" functionality for IMAP mails.
It should works as "Shift+Delete" on desktop (delete immediately without moving to Trash)
Where to place the controls:

in the folder view: add item "Delete permanently" below "Delete" in the context menu
in e-mail view: long-tap on trash icon, or new item under 3 dots menu...

I'm looking forward to it as well - must be trivial to implement.
I don't want to move SPAM messages first to Trash and then delete them for the second time.

We still need a feature to permanently delete a given message that is not spam.
Use case: someone (or yourself or your alert system) sent you an email with big attachments (or without) and you want to delete it permanently without tagging the sender as a spammer. In this case, you are sure you don't want to keep that message together with those other messages you move to trash.
This is especially required by users who never delete permanently their trash for backup reasons (a good practice IMO, just like Windows' recycler bin). Moving a message to trash means it is processed (not the same as read), but not necessarily that you want it permanently deleted.


make test error

============================ test session starts ==============================
platform linux -- Python 3.9.14, pytest-6.2.2, py-1.11.0, pluggy-0.13.1 -- /builds/souravsk/python-demoapp/src/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /builds/souravsk/python-demoapp
collecting ... collected 0 items / 1 error
==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
src/app/__init__.py:1: in <module>
    from flask import Flask
src/.venv/lib/python3.9/site-packages/flask/__init__.py:14: in <module>
    from jinja2 import escape
E   ImportError: cannot import name 'escape' from 'jinja2' (/builds/souravsk/python-demoapp/src/.venv/lib/python3.9/site-packages/jinja2/__init__.py)
=========================== short test summary info ============================
ERROR  - ImportError: cannot import name 'escape' from 'jinja2' (/builds/sour...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.12s ===============================
make: *** [makefile:56: test] Error 2
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1

The error remain the same when i tested it on my local system and  i also used in gitlab with the CI yml file but error is same.
Anyone can help me with this.

@souravsk  did you fin a way to get over this error I am facing the same issue ?

check the first pr the solution is to update the flask version

Thanks @Rabieezz it is for my CI/CD Pipeline. I'm Closing this issue. #4


[docs] Add Typescript demos for MenuPopupState

[x ] I have followed (at least) the PR section of the contributing guide.
I wasn't able to run successfully yarn docs:typescript:check as it was told that it can be pushed anyway. Please let me know if I did it right or wrong.

Thanks for working on this.
material-ui-popup-state does not have types (yet). You can start by adding the required types to docs/types/material-ui-popup-state.d.ts (the folder has some examples). Once the tests pass we can think about contributing these types to the appropriate @types/* package hosted in https://github.com/DefinitelyTyped/DefinitelyTyped

@eps1lon Thanks for the detailed instruction. However I tried to follow it and there is stil an issue. What I'm doing wrong?

What I'm doing wrong?

You need to add actual types
declare module 'material-ui-popup-state' {
  // export vars, functions, types go here
}

https://medium.com/@chris_72272/migrating-to-typescript-write-a-declaration-file-for-a-third-party-npm-module-b1f75808ed2 looks like a good guide (skip to "Create the declaration file")

Assuming the long term plan is to remove the need for this package (with simpler bindings in the core), would it make sense to ignore the migration of this demo to TypeScript? It's an open question, I think that it depends on how easy the migration of the demo is, how long we will keep it, and how many people use it.

We had the following mention in #14897 a week ago:

[x] MenuPopupState (⚠ to use the new hook API of the third party library) no types for material-ui-popup-state

How guys do you want to move forward with this problem?

Ok, let's optimize for the long term. I think that the optimal outcome would be to solve the problem https://github.com/jcoreio/material-ui-popup-state solves in the core directly. I'm closing the pull request, @programistka thank you so much for investing time in it! Hopefully, it was a worthy experience.
In the meantime, if https://github.com/jcoreio/material-ui-popup-state/issues/12 get resolved, I think that can accept a pull request with a TypeScript version of the demos.

Hi folks, I've finally gotten enough experience with TS to be comfortable adding TS types to material-ui-popup-state, it just landed in 1.5.0 😄

Nice :)


build: correct handling of argument generation

This adjusts the target specific argument handling to use the same logic
as the toolchain, and in doing so, silences the spurious warnings when
building with a MSVC toolchain.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @davezarzycki

@swift-ci please test

Odd, the continuous trigger seems to be fine.

@swift-ci please test Windows platform


Streak Incorrectly Updated

Describe the bug
My streak has reset to 1 day despite it being continued to 91 days
To Reproduce
Steps to reproduce the behavior:

My streak (https://streak-stats.demolab.com/?user=kmanjt) is showing 1 day despite it being 91 days

Expected behavior
91 day streak should be shown instead of 1 - I have tested using a different endpoint with more customisations, which also showed the same.
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser Chrome

Smartphone (please complete the following information):

Device: OnePlus 7T
OS: Android
Browser: Chrome

Additional context
This has not happened before.

The GitHub API shows that you have no contributions on March 19

Please see the relevant FAQ section for ways to fix it
https://github.com/DenverCoder1/github-readme-streak-stats/blob/main/docs/faq.md#why-doesnt-my-streak-stats-match-my-contribution-graph

Hi @DenverCoder1 thank you for the speedy response - I am confused, this is not a time zone issue - there is a public contribution on that date.

It doesn't matter what the contribution graph shows. As I have pointed out, it shows differently when I view your profile.
What matters is what the GitHub GraphQL API returns and it shows similar to the chart I see that are no contributions on March 19. This means either the contribution is not public or the contribution is being counted for a different day on the API due to a timezone difference (the GitHub GraphQL API returns contributions for a timezone other than your local timezone).

Hi @DenverCoder1 okay thank you for the clarification. I have added new commits to a repository for midday on the 19th - my graph is still only showing the 1 contribution for that day however - could you please verify if the issue is now resolved?

The API is still showing 0 contributions (two on March 18, none on March 19, two on March 20)
{
    "contributionDays": [
        {
            "contributionCount": 0,
            "date": "2023-03-19"
        },
        {
            "contributionCount": 2,
            "date": "2023-03-20"
        }
    ]
},

@DenverCoder1 thank you, I have followed all of the options outlined in the FAQ to resolve this and all of the changes are still showing as coming from today instead of the 19th.


add X-SAPI-USED-UID-WEIGHT-1M in limitInfo

would you add X-SAPI-USED-UID-WEIGHT-1M in getlimitUsage?

Hi @PeterHeng666 , thanks for the issue. It's now available in the new version 3.0.0rc1 :)


Support for timestamptz and timetz

See BuiltInDataTypesNpgsqlTest

Does this explain
return Context.MyEntities.Where(x => x.MyTimestampTzInDbProp >= new DateTimeOffset(new DateTime(2017, 7, 15), new TimeSpan(-4, 0, 0))).ToList();
resulting in

Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "00" at Npgsql.NpgsqlConnector.<DoReadMessage>d__148.MoveNext() (edited)

?

This was done a while ago.

@steamrolla sorry for not answering a year ago, your question slipped through...
The syntax error you encountered has been fixed a while ago in the 2.0 release line, simply upgrade to the latest version and you should be fine.


"All direct messages" should work with keyboard

Fixes:
Issue: #25647

The issue was "All Direct Messages" was not being triggered properly from the keyboard and was not rerouted to the Directed Messages view. This was because the actual behavior was suppressed by e.preventDefault(). Now the behavior executes when it is expanded and only suppressed when being collapsed.
Also, I have made the arrow keyboard accessible which just expands and collapses the DM list but doesn't reroute.

Screenshots and screen captures:
https://github.com/zulip/zulip/assets/26189424/52416520-08d4-4a16-b91e-200eb238cbfe

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@bhaveshvasnani can you squash your commits and follow the commit guidelines here https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html

I think we need two focus elements in there, one to toggle collapse status and another to narrow to all DMs. The solution in this PR feels weird.

@amanagr could you help me understand the actual expectation here so I could address that also in the fix?

This currently solves the "All Direct Messages" click to redirect to all DMs. The current behavior is it expands and collapses but doesn't reroute which I fixed with this change.

What you are suggesting is two different behaviors:

The current fix with "All Direct Messages" icon should work as in this fix
Another focusable element should be the right/down arrow signifying the current state which just expands and collapses but not redirects to all DMs. Is my understanding correct?

Another focusable element should be the right/down arrow signifying the current state which just expands and collapses but not redirects to all DMs. Is my understanding correct?

Yes

@amanagr, thanks for confirming!
I have updated the fix to make both accessible and also ensure behave as we discussed.

Right/Down Arrow: Only expands/collapses the list
All Direct Messages Icon: Expands/collapses the list and also reroutes the user to DMs if not already there.

Please refer to the updated video in the PR description and let me know if there are any concerns, thanks!

Thanks for the update! The expand / collapse button works but when you press enter on the All DMs icon if it is expanded, it just collapses and does nothing.

@amanagr That is the existing enter press functionality for All DMs icon which I didn't change. What is the expected behavior for it so I could adjust the logic appropriately?

@amanagr could you please share the expected behavior for the All DMs icon collapsing when it's expanded? Because I was checking the mouse click behavior and there doesn't seem to be a collapse functionality it never collapses at all. It's always tied to reroute to the DMs and expand the list

If the keyboard focus is on all dms icon and you press enter, it should navigate you to all dms.

@amanagr thanks, got it. I'll change the behavior to always navigate to all dms with no connection to expand/collapse. It would irrespective of the state always reroute. I'll start working on it, thanks a lot!

@amanagr There does not seem to be a very good solution to achieve that behavior for the "All direct messages" icon. In my opinion, the only way that for both mouse click and keyboard, it allows the browser to reroute and early return is by relaxing the if check we have for early return in click_handler for private_messages_section_header.
I looked if we could use some common DOM property populated for both cases but there isn't anything I could find. Please find more details here in this chat https://chat.zulip.org/#narrow/stream/6-frontend/topic/Keyboard.20accessibility.20issue/near/1650722. I did test it out for edge cases and looks to be working but I'll do another round before finalizing.
Please let me know if that looks good or there is a better way to do it, thanks!

Can you change your commit message according to https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html

Thanks a lot @amanagr for helping me with this. I have pushed the latest commit with the suggested feedback after testing it. Please find the behavior video in the original comment and I also modified the commit history as per the guidelines.

I split the commit in two. LGTM now.

Merged after some further clean up to the commit messages (both for length and for explaining the motivation for the second change), thanks @bhaveshvasnani and @amanagr!


 Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located

Any news on this? Running in the same problems.


Break tree shaking issue because of a "motion"

Hi,
I am currently using Storybook with the <LazyMotion strict> tag. However, I've encountered an issue. In LazyMotion strict mode, I'm required to use "m" instead of "motion." The problem is that the Sheet component of react-modal-sheet uses "motion."
How can I fix this?
Thank you.

Hi @seojisoosoo 👋🏻
Using LazyMotion is not currently supported by this library but if it's not much of a hassle I can try to add support for it. I haven't used LazyMotion myself so I'm not familiar how it exactly works with 3rd party libs that consume framer-motion.

Closing this as duplicate of #137

I see.. Thank you so much!


Remove stale link for air gap single node page with config private registry

Below page returns a 404 as it is moved to a different location. I bumped upon this page while looking for private registry docs online using keywords "rancher private registry"
https://rancher.com/docs/rancher/v2.x/en/installation/air-gap-single-node/config-rancher-for-private-reg/
Moved to
https://rancher.com/docs/rancher/v2.x/en/installation/air-gap/install-rancher/

Those are docs for Rancher, not k3s. Feel free to put a PR in on the docs site to fix the link.


Unable to use Typescript, Styled Components, and Ant Design (table) together

Environment
## System:
 - OS: macOS 12.4
 - CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
 - Memory: 46.39 MB / 8.00 GB
 - Shell: 5.8.1 - /bin/zsh
## Binaries:
 - Node: 16.15.0 - ~/.volta/tools/image/node/16.15.0/bin/node
 - Yarn: 1.22.18 - ~/[repo]/node_modules/.bin/yarn
 - npm: 8.5.5 - ~/.volta/tools/image/node/16.15.0/bin/npm
## npmPackages:
 - styled-components: ^5.0.0 => 5.3.5

Reproduction
https://codesandbox.io/s/pensive-architecture-m07oxn?file=/src/App.tsx
Steps to reproduce

Try to pass Ant design's required type into the table.
See type error

Expected Behavior
The type is properly forwarded to ant design
Actual Behavior
An error occurs.

The current workaround we have is to pass in the following, but it's unintuitive and bulky:
<StyledTable<(props: TableProps<User>) => JSX.Element> />

I have fixed this issues as:
import { StyledComponent } from 'styled-components';
import { CompoundedComponent } from 'antd/es/float-button/interface';
<StyledTable<StyledComponent<CompoundedComponent, any, User, never>>
columns={columns}
dataSource={data}
/>


.nvmrc file is missing

The readme recommends using nvm but there is no .nvmrc file. If the .nvmrc file is added then developers can use the nvm use command to make sure they are using the recommended version of node.

I've added the .nvmrc file in https://github.com/kernel-community/kernel-v2/pull/221


Information Needed For Swag Bag

I first want to personally thank you for creating a Plugin for Xamarin for our holiday contest. To get your exclusive Xamarin Swag Bag out to you I just need a bit more information from you. If you can email<EMAIL_ADDRESS>with the following information we will get the bag out to you.
Name
Street Address
City, State, Zip Code
Country
Phone Number
The URL to this repo
Thank you again and I hope to see even more plugins from you in the future. Always feel free to reach out if you need anything.

Sent