Using the CCS seems to have no effect

Seasons greetings folks!
Issue description
Ran letsencrypt  --centralsslstore D:\Prod\Certs --verbose and renewed all certs
They did not appear in the Central Certificate Store but it did remove all the existing bindings, and left them that way!
Steps to reproduce

Have a CCS configured in IIS
Have numerous bindings setup and installed via this tool in the default way
Rerun LEWS with the CCS arg and select renew all
Watch as the ccs dir remains empty and all the affected the bindings disappear!

Recovery

Rerun LEWS without the CCS arg
Renew all certs

Side-effect? I've had a time and a half reenabling the sites. None were reimported with SNI enabled. Moreover, I'm getting sporadic 0x80070520 errors whenever selecting the cert dropdown to rebind. Weirdly, on one site it went away completely once I move the cert out of the Webhosting store and back to the (Machines) Personal store.
Client version: 198.0.6563.39986 (RELEASE)
Windows version: Server 2012 v6.2.9200 / IIS version 8.0
Relevant part of log file:  see below
The following shows the operation on one site
///
C:\exec> letsencrypt  --centralsslstore=D:\Prod\Certs --verbose

///
 Which renewal would you like to run?: 1

 [INFO] Renewing certificate for webmain
 [DBUG] Scanning IIS sites
 [DBUG] Loading signer from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Signer
 [DBUG] Getting AcmeServerDirectory
 [DBUG] Send GET request to https://acme-v01.api.letsencrypt.org/directory
 [DBUG] Loading registration from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Registration
 [DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
 [INFO] Cached authorization result: valid
 [DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
 [INFO] Cached authorization result: valid
 [DBUG] Certificate folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org
 [DBUG] Certificate store: WebHosting
 [WARN] Using cached certificate for webmain 2017/12/25 11:39:59 PM
 [INFO] Installing certificate in the certificate store
 [DBUG] Opened certificate store WebHosting
 [INFO] Adding certificate webmain 2017/12/25 4:49:53 PM to store WebHosting
 [VERB] CN=***REDACTED*** - CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US (***REDACTED***)
 [VERB] CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US - CN=DST Root CA X3, O=Digital Signature Trust Co. (E6A3B45B062D509B3382282D196EFE97D5956CCB) to CA store
 [VERB] CN=DST Root CA X3, O=Digital Signature Trust Co. - CN=DST Root CA X3, O=Digital Signature Trust Co. (DAC9024F54D8F6DF94935FB1732638CA6AD77C13) to AuthRoot store
 [DBUG] Closing certificate stores
 [INFO] Installing with Create or update IIS bindings...
 [VERB] No binding update needed
 [VERB] No binding update needed
 [INFO] Committing binding changes to IIS
 [INFO] IIS will serve the new certificates after the Application Pool IdleTimeout has been reached.
 [INFO] Renewal for webmain succeeded
 [INFO] Next renewal scheduled at 2018/2/19 4:39:59 AM

I think this issue mostly stems from a misunderstanding of the --centralsslstore switch (and actually almost every other switch provided). They apply to certificates newly created during the run, but don't alter the settings for existing scheduled renewals.
If you're looking to alter the settings for existing renewals, your options are to re-create them (through the "GUI" or the command line) or to edit the registry manually.
What happened to your bindings though should not have. I suspect it might have something to do with the use of a cached certificate, which was a new addition to the code recently that I've discovered some bugs in. The next release will be a lot more robust in this scenario.

MIght I suggest that option be renamed to --css-creation or --create-in-ccs

Suggestions are always welcome, but I don't think this one is a good idea. It would break peoples existing workflows and be inconsistent unless half of the other parameters are also renamed to include "create" in their names. I did a minor update of the Wiki though, to clarify that those parameters are for "unattended creation of new certificates" instead of "unattended use".


GDEXPO-24 - Update README.md with info on how to use the template

Update README.md with info on how to use the template.

How to test locally with mad-expo-core (npm run refresh-core)
How to use app.json
How to use Colors from mad-expo-core and ProjectColors from template/project
Which components should be added to template / mad-expo-core
Commit style (Semantic versioning)
How to change buttons in SettingsScreen (template/configs/SettingsConfig.tsx)
How to change questions/values in OnboardingScreen (template/configs/OnboardingConfig.tsx)
Appreciate contribution and feedback

Key: GDEXPO-24

This package is getting phased out, and we do not plan to make any improvements unless they are critical for the remaining apps. Closing this issue


config/settings/common.py - LOGIN_URL

In common.py we have:
LOGIN_URL = 'account_login'

But it seems the actual URL would appear to be  '/accounts/login/' from the allauth.urls.

Yes, @thornomad .. the actual url is by default '/accounts/login/'.
In order to avoid hard-coding (https://en.wikipedia.org/wiki/Hard_coding)
This url has a name attached with which it can be referenced: 'account_login'
You can take a look at the source:
https://github.com/pennersr/django-allauth/blob/master/allauth/account/urls.py
(as of current master: line 8)
So that should get the right url and make it possible to customise/update the url-path.
Is that understandable?

Oh! So you are using LOGIN_URL to reference the URL "name" that would be used with 'reverse()' ? I see.
https://docs.djangoproject.com/en/1.8/ref/settings/#login-url
I didn't realize it could be used that way!  I will just reverse() it then.
Thanks.


Deserialize duplicate key into Vec on yaml/json

We are finding a solution to solve our feature and find serde_with finally :)
We want to simulate nginx.conf by using yaml format, but yaml don't support duplicate key in map.
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
struct HttpBlock {
    ssl_certificate: Vec<String>,
}
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
struct TopBlock {
    http: HttpBlock
}

http:
    ssl_certificate: ./certificates/www.example.org.full.cert.pem
    # ERROR!
    ssl_certificate: ./certificates/www.example.org.full.cert.pem

above yaml equal to following nginx.conf
http {
    ssl_certificate: ./certificates/www.example.org.full.cert.pem
    ssl_certificate: ./certificates/www.example.org.full.cert.pem
}

How serde_with can help us cast duplicate key into Vec<String>?

I found https://docs.rs/serde_with/1.4.0/serde_with/rust/tuple_list_as_map/index.html, but latest serde_with remove this fn?

The functionality of tuple_list_as_map still exists as https://docs.rs/serde_with/latest/serde_with/struct.Map.html. However it does not quite fit your first example. It converts between a list of tuples, (first tuple element acting as a key, second as value) and a map representation in the serialization. You seem to want to use the same key, as given by the struct definition, multiple times. That seems like something you cannot do using serde_derive and you might need to implement some custom serialization code


When I add partitions to a topic, consumer does not trigger a rebalance.

Kafka version : <IP_ADDRESS>
When I add partitions to a topic, the producer will send message to addition partition.
Because of kafka does not notify consumer by heartbeat api (Is this a kafka issue or normal behavior, but I cannot find this in jira of kafka?). So it dose not trigger a rebalance.
So, it looks like "I write some message in kafka, but I cannot read them".
Should we add an goroutine to check the change of the partition, or other good idea?

So yes, currently the consumer only reads partitions on rebalance and does not actively listen to partition changes. This is different to the sarama producer, which performs periodic background reloads and is therefore able to pick up new partitions.
I had a quick look at the docs and it seems that the consumer group would have to periodically call SyncGroup to pick up new partitions automatically, but I wonder what the actual impact might be. I am a little worried that it may have adverse effects, e.g. all consumers constantly spinning and rebalancing. I will see if I can test it, but any additional insight would be very appreciated.

Thanks for your reply.
There are some details conflict with this issue.
When we set Config.Consumer.Offsets.Initial = OffsetNewest.
During adding partitions to a topic, maybe producer writes message to the new addition partitions before consumer start to read those partitions whatever we are using some method to trigger rebalance.
Unfortunately, message has been lost in fact.
In my opinion, when I use OffsetNewest, it means I want to read messages from the time I started consumer, but I am not tolerant of messages lost.
So, is it raised an except behavior?

Please checkout https://github.com/bsm/sarama-cluster/pull/102 (not merged yet)

I meet the same problem with latest master and v2.1.5.
Sample code is as follows:
func groupConsume() {

	// init (custom) config, enable errors and notifications
	config := cluster.NewConfig()
	config.Consumer.Return.Errors = true
	config.Group.Return.Notifications = true

	// init consumer
	topics := []string{TOPIC}
	consumer, err := cluster.NewConsumer(brockerList, "my-consumer-group", topics, config)
	if err != nil {
		panic(err)
	}
	defer consumer.Close()

	// watch errors
	go func() {
		for err := range consumer.Errors() {
			log.Printf("Error: %s\n", err.Error())
		}
	}()

	// watch notifications
	go func() {
		for note := range consumer.Notifications() {
			log.Printf("Rebalanced: %+v\n", note)
		}
	}()

	// trap SIGINT to trigger a shutdown.
	signals := make(chan os.Signal, 1)
	signal.Notify(signals, os.Interrupt)

	// consume messages
	for {
		select {
		case msg := <-consumer.Messages():
			log.Printf("consumer: %s/%d/%d\t%s\t%s", msg.Topic, msg.Partition, msg.Offset, msg.Key, msg.Value)
			consumer.MarkOffset(msg, "") // mark message as processed
		case <-signals:
			return
		}
	}
}

The consumer only watches for new topics so it will not aware of new partitions being added. That said, I haven't checked Kafka's documentation about this, but I would expect the Kafka broker to trigger a rebalance of consumers when new partitions are added at runtime. Maybe it's something to bring up on the Kafka bug tracker

I too have noticed that kafka brokers don't bump the generation numbers of consumer groups when partitions are added to a topic. That might be an oversight. Or it might be because the kafka broker doesn't know what topics are being consumed by a group in the general case.
It could know the topics consumed by groups where the JoinGroupRequest.ProtocolType is "consumer", and consumers used a ConsumerGroupMemberMetadata.Version it understood, which is true in this case today, but restrictive in general.

as of 5/27/18, running from master. A consumer is not seeing new partitions that get added to currently-consumed topic. Using essentially the same code the @liudanking posted above


Review options usage for DatabaseErrorPageMiddleware

Saw this while fixing tests for Diagnostics due to hosting changes:
                var server = TestServer.Create(app =>
                {
                    var options = DatabaseErrorPageOptions.ShowAll;
                    options.MigrationsEndPointPath = new PathString(migrationsEndpoint);
                    app.UseDatabaseErrorPage(options);
                },
                services =>
                {
                });

instead I would suggest something more like this instead of taking an options instance in the middleware, use IOptions:
                var server = TestServer.Create(app =>
                {
                    app.UseDatabaseErrorPage();
                },
                services =>
                {
                    services.ConfigureDataBaseErrorPage(options =>
                     {
                          options.ShowAll();
                          options.MigrationsEndPointPath = new PathString(migrationsEndpoint);
                     }
                });

cc @divega

@rowanmiller Is this still an issue?

No we are changing the security middlewares actually I will close


Fix logic for detecting version types (milestone/snapshot)

The logic was duplicated in ProjectRelease and ProjectRepository.
This change consolidates it in ProjectRelease so that the repository
metadata is correct in all ProjectReleases (even those that do not
end in "RELEASE").
Fixes gh-565

This is now live.


[Feature] Single Material

It would be nice if instead of creating a new material on every cut the entire mesh shared the same material and cut faces could simply be mapped to a select portion of the texture instead. (0.5 , 0.5 would map the cut face UVs to the bottom right quadrant of the texture for example). As it stands repeatedly cutting a mesh creates a big material array because of all the submeshes, and Unity is throwing some errors because of that.

This is a great idea. Having the ability to select a region from the same material would also provide significant performance increases when rendering, especially on mobiles.
I believe that maintaining the sub-mesh method still has benefits for cases when you'd like to add a completely different shader/effect on the cross section.
Adding this feature is not too difficult. The difficulty would come in for users who wish to use the tool at runtime without any pre-setups etc.. I'd like to provide a clean interface for calculating the UV offsets from the original material.
As an additional to this idea, I'd like to add automatic batching between multiple slices. So instead of spamming the Mesh with multiple sub-meshes, the slicer can re-use sub-meshes and batch multiple cuts if it detects that the materials used in consecutive cuts is the same. This could be added right now without any changes to the main interfaces.
So in summary, these are the things I'd like to add. Let me know if you agree.

Ability to select a sub-region of the main material for the cross section to avoid creating a submesh
Smart internal batching, to reuse sub-meshes between consecutive slices which would avoid creating additional sub-meshes if the materials used do not get changed.

That's pretty much exactly was I was thinking. It would be great for performance.

Greetings,
I've added a separate issue under "enhancements" for point No.2 for smarter internal batching. It's likely that I'll work on that first before adding the UV offset method for single Materials.
The new issue can be found sub-mesh enhancement

Hi, I recently made modifications so that only a single submesh is generated on cuts (so I can have one material), and the UV's on the cut face sample from the bottom left quadrant of the texture (so that the cutface can have its "own" texture from the same material). It works for the most part, but sometimes the texturing is messed up on certain cuts, and it stops properly sampling from only the bottom left quadrant. I was wondering if you could point me in the right direction as to properly set the UV's so it samples from the bottom left quadrant. Here's what I have now for the UV's (modified Monotone() function):
`// generate both the vertices and uv's in this loop
for (int i = 0; i < triCount; i += 3)
{
// the Vertices in our triangle
Mapped2D posA = hulls[0];
Mapped2D posB = hulls[indexCount];
Mapped2D posC = hulls[indexCount + 1];
            // generate UV Maps
            Vector2 uvA = posA.mappedValue;
            Vector2 uvB = posB.mappedValue;
            Vector2 uvC = posC.mappedValue;

            float off = 0.0f;
            uvA.x = (uvA.x/2 / maxDiv + off) * 0.5f;
            uvA.y = (uvA.y/2 / maxDiv + off) * 0.5f ;

            uvB.x = (uvB.x/2 / maxDiv + off) * 0.5f;
            uvB.y = (uvB.y/2 / maxDiv + off) * 0.5f;

            uvC.x = (uvC.x/2 / maxDiv + off) * 0.5f;
            uvC.y = (uvC.y/2 / maxDiv + off) * 0.5f;

            Triangle newTriangle = new Triangle(posA.originalValue, posB.originalValue, posC.originalValue);

            newTriangle.SetUV(uvA, uvB, uvC);

            // the normals is the same for all vertices since the final mesh is completly flat
            newTriangle.SetNormal(normal, normal, normal);
            newTriangle.ComputeTangents();

            tri.Add(newTriangle);

            indexCount++;
        }`

Greetings,
Apologies for the delayed response. I've got an experimental code which will allow you to specify via a new TextureRegion object to compute/use custom UV coordinates for the cross section. The Texture Region will essentially be a box with an x,y starting coordinate and width/height for the size, so it should be quite straightforward to use. I'm just fixing some bugs and doing some final tests before I perform a push. Should be a few more days before I push that through.
Thanks for the patience!

Cool! By the way, I have figured out and fixed the bug that I posted in the previous comment. When computing maxDivX and maxDivY, you were looping and taking the max of the current value (which was initialized at 0) and the vertex position,  when it should have the abs() value of the vertex position. The failure case was when the mesh had vertices only in negative coordinates, so the max was not computed properly. (which happens after slicing it a lot.)
`
// grab our maximal values so we can map UV's in a proper range
maxDivX = Mathf.Max(maxDivX, Mathf.Abs(mapVal.x));
maxDivY = Mathf.Max(maxDivY, Mathf.Abs(mapVal.y));
`

Excellent fix, thank you!
I'll include it in the next push.

Greetings,
I've added the above fix in the recent commit fbb271fad6762b7a81c18f4bba19bdd59defbfca. There is also a new API via TextureRegion (samples provided in the README) which allows single material usage and the ability to generate UV coordinates for a selected part of the texture. Let me know if any problems persist with the new API. I will close this issue for now.


Always build imageio codecs (missing on Maven Central!)

The maven central version is missing all the imageio codecs.

This one has been merged.


Windows crossbuild: Building for i586 and below does not work

I used this script to build OpenSSL 3.1.3 on Linux, for Windows:
#!/usr/bin/env bash
git branch -D "local-build"
set -e
git checkout "tags/openssl-3.1.3" -b "local-build"

export CFLAGS="-D_WIN32_WINNT=0x0501 -march=i586"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
./Configure mingw --cross-compile-prefix="i686-w64-mingw32-" --prefix="$PWD/usr" no-asm 386
make depend -j$(nproc)
make -j$(nproc)
make install_sw

.
The resulting openssl.exe does not run on the Pentium 1 (i586), only the Pentium 2 (i686) and up.
If I build for i486 (change -march=i586 to -march=i486 in script), I get this error:

Spoiler
${LDCMD:-i686-w64-mingw32-gcc} -m32 -D_WIN32_WINNT=0x0501 -march=i486   \
	-o test/algorithmid_test.exe \
	test/algorithmid_test-bin-algorithmid_test.obj \
	test/libtestutil.a libcrypto.a -lws2_32 -lgdi32 -lcrypt32
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:4457: libcrypto-3.dll] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/i686-w64-mingw32-ld: libcrypto.a(libcrypto-lib-threads_win.obj):threads_win.c:(.text+0x31c): undefined reference to `__sync_val_compare_and_swap_8'
/usr/bin/i686-w64-mingw32-ld: libcrypto.a(libcrypto-lib-threads_win.obj):threads_win.c:(.text+0x3bb): undefined reference to `__sync_val_compare_and_swap_8'
/usr/bin/i686-w64-mingw32-ld: libcrypto.a(libcrypto-lib-threads_win.obj):threads_win.c:(.text+0x31c): undefined reference to `__sync_val_compare_and_swap_8'
/usr/bin/i686-w64-mingw32-ld: libcrypto.a(libcrypto-lib-threads_win.obj):threads_win.c:(.text+0x3bb): undefined reference to `__sync_val_compare_and_swap_8'
/usr/bin/i686-w64-mingw32-ld: libcrypto.a(libcrypto-lib-threads_win.obj):threads_win.c:(.text+0x31c): undefined reference to `__sync_val_compare_and_swap_8'
/usr/bin/i686-w64-mingw32-ld: libcrypto.a(libcrypto-lib-threads_win.obj):threads_win.c:(.text+0x3bb): undefined reference to `__sync_val_compare_and_swap_8'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:22380: fuzz/punycode-test.exe] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:22517: test/algorithmid_test.exe] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:22255: fuzz/cmp-test.exe] Error 1
make[1]: Leaving directory '/home/fierelier/Documents/openssl-windows-crossbuild/openssl_source'
make: *** [Makefile:3255: build_sw] Error 2

Here's the config dump of the i586 build:

Spoiler

Command line (with current working directory = .):

    /usr/bin/perl ./Configure mingw --cross-compile-prefix=i686-w64-mingw32- --prefix=/home/fierelier/Documents/openssl-windows-crossbuild/openssl_source/usr no-asm 386

Perl information:

    /usr/bin/perl
    5.36.0 for x86_64-linux-gnu-thread-multi

Enabled features:

    aria
    async
    autoalginit
    autoerrinit
    autoload-config
    bf
    blake2
    bulk
    cached-fetch
    camellia
    capieng
    cast
    chacha
    cmac
    cmp
    cms
    comp
    ct
    deprecated
    des
    dgram
    dh
    dsa
    dso
    dtls
    dynamic-engine
    ec
    ec2m
    ecdh
    ecdsa
    engine
    err
    filenames
    gost
    idea
    legacy
    loadereng
    makedepend
    md4
    mdc2
    module
    multiblock
    nextprotoneg
    ocb
    ocsp
    padlockeng
    pic
    pinshared
    poly1305
    posix-io
    psk
    rc2
    rc4
    rdrand
    rfc3779
    rmd160
    scrypt
    secure-memory
    seed
    shared
    siphash
    siv
    sm2
    sm3
    sm4
    sock
    srp
    srtp
    ssl
    ssl-trace
    static-engine
    stdio
    tests
    threads
    tls
    ts
    ui-console
    uplink
    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:

    acvp-tests          [cascade]   OPENSSL_NO_ACVP_TESTS
    afalgeng            [not-linux] OPENSSL_NO_AFALGENG
    asan                [default]   OPENSSL_NO_ASAN
    asm                 [option]    OPENSSL_NO_ASM
    buildtest-c++       [default]
    crypto-mdebug       [default]   OPENSSL_NO_CRYPTO_MDEBUG
    devcryptoeng        [default]   OPENSSL_NO_DEVCRYPTOENG
    ec_nistp_64_gcc_128 [default]   OPENSSL_NO_EC_NISTP_64_GCC_128
    egd                 [default]   OPENSSL_NO_EGD
    external-tests      [default]   OPENSSL_NO_EXTERNAL_TESTS
    fips                [default]
    fips-securitychecks [cascade]   OPENSSL_NO_FIPS_SECURITYCHECKS
    fuzz-afl            [default]   OPENSSL_NO_FUZZ_AFL
    fuzz-libfuzzer      [default]   OPENSSL_NO_FUZZ_LIBFUZZER
    ktls                [default]   OPENSSL_NO_KTLS
    md2                 [default]   OPENSSL_NO_MD2 (skip crypto/md2)
    msan                [default]   OPENSSL_NO_MSAN
    rc5                 [default]   OPENSSL_NO_RC5 (skip crypto/rc5)
    sctp                [default]   OPENSSL_NO_SCTP
    sse2                [cascade]
    trace               [default]   OPENSSL_NO_TRACE
    ubsan               [default]   OPENSSL_NO_UBSAN
    unit-test           [default]   OPENSSL_NO_UNIT_TEST
    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 => "qc",
    CC => "gcc",
    CFLAGS => "-Wall -O3 -fomit-frame-pointer",
    HASHBANGPERL => "/usr/bin/env perl",
    RANLIB => "ranlib",
    RC => "windres",
    asm_arch => "x86",
    bn_ops => "BN_LLONG",
    build_file => "Makefile",
    build_scheme => [ "unified", "unix" ],
    cflags => "-m32",
    cppflags => "-DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT",
    defines => [ "OPENSSL_BUILDING_OPENSSL" ],
    disable => [  ],
    dso_scheme => "win32",
    enable => [  ],
    ex_libs => "-lws2_32 -lgdi32 -lcrypt32",
    includes => [  ],
    lflags => "",
    lib_cflags => "",
    lib_cppflags => "-DL_ENDIAN",
    lib_defines => [  ],
    module_cflags => "",
    module_cxxflags => undef,
    module_ldflags => "-static-libgcc -shared -Wl,--enable-auto-image-base",
    multilib => "",
    perl_platform => "mingw",
    perlasm_scheme => "coff",
    shared_argfileflag => "\@",
    shared_cflag => "",
    shared_cppflags => "_WINDLL",
    shared_defflag => "",
    shared_defines => [  ],
    shared_impflag => "-Wl,--out-implib=",
    shared_ldflag => "-static-libgcc -shared -Wl,--enable-auto-image-base",
    shared_rcflag => "--target=pe-i386",
    shared_target => "mingw-shared",
    sys_id => "MINGW32",
    thread_defines => [  ],
    thread_scheme => "winthreads",
    unistd => "<unistd.h>",
    uplink_arch => "x86",

Recorded environment:

    AR =
    ARFLAGS =
    AS =
    ASFLAGS =
    BUILDFILE =
    CC =
    CFLAGS = -D_WIN32_WINNT=0x0501 -march=i586
    CPP =
    CPPDEFINES =
    CPPFLAGS = -D_WIN32_WINNT=0x0501 -march=i586
    CPPINCLUDES =
    CROSS_COMPILE =
    CXX =
    CXXFLAGS = -D_WIN32_WINNT=0x0501 -march=i586
    HASHBANGPERL =
    LD =
    LDFLAGS =
    LDLIBS =
    MT =
    MTFLAGS =
    OPENSSL_LOCAL_CONFIG_DIR =
    PERL =
    RANLIB =
    RC =
    RCFLAGS =
    RM =
    WINDRES =
    __CNF_CFLAGS =
    __CNF_CPPDEFINES =
    __CNF_CPPFLAGS =
    __CNF_CPPINCLUDES =
    __CNF_CXXFLAGS =
    __CNF_LDFLAGS =
    __CNF_LDLIBS =

Makevars:

    AR              = i686-w64-mingw32-ar
    ARFLAGS         = qc
    CC              = i686-w64-mingw32-gcc
    CFLAGS          = -D_WIN32_WINNT=0x0501 -march=i586
    CPPDEFINES      =
    CPPFLAGS        = -D_WIN32_WINNT=0x0501 -march=i586
    CPPINCLUDES     =
    CROSS_COMPILE   = i686-w64-mingw32-
    CXXFLAGS        = -D_WIN32_WINNT=0x0501 -march=i586
    HASHBANGPERL    = /usr/bin/env perl
    LDFLAGS         =
    LDLIBS          =
    PERL            = /usr/bin/perl
    RANLIB          = i686-w64-mingw32-ranlib
    RC              = i686-w64-mingw32-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

@t8m Why tag this as a feature request? ./Configure 386 is supposed to generate 80386 compatible code, right?

@t8m Why tag this as a feature request? ./Configure 386 is supposed to generate 80386 compatible code, right?

Yes, although nowadays it is quite useless.
However that does not necessarily mean it has to work on Windows mingw crossbuilds.

Fixed: My MinGW toolchain was compiled for i686, and therefore the libraries it links the binaries to are too. I compiled an i486 MinGW toolchain, and I was able to make a successful i586 build.


Check Final project please!!

Hey Bruce,
Can you check my project for me, I think I have it pretty much complete but could be missing a few things.
-Jesse

@brucelaughlin


Godot should make tools for games for blind people (discussion)

Hi, I want to make a 2D game for blind people, but It seems godot doesn't support any way to generate music on real time.

There's already an issue for accessibility (#14011) and one for procedural audio (#18135). So I'll close this as a duplicate.


Unexpected: More than one release found in this track.

I post this, so you can see that I am working on it. I do not know, why it suddenly appears and if the error is on my side - where I did not change much since fastlane updated to a new version - or on the side of fastlane.
New Issue Checklist

[x] Updated fastlane to the latest version
[ ] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I get the error
More than one release found in this track. Please specify with the :version_code option to select a release.

Although the same command worked earlier and now it does not with the new version AND there is only one version code.
Command executed

--track beta --validate_only true --skip_upload_images true --skip_upload_screenshots true --skip_upload_apk true --skip_upload_aab true

Complete output when running fastlane, including the stack trace and command used

+-------------------------+------------------------------------------+
|                     Summary for supply 2.137.0                     |
+-------------------------+------------------------------------------+
| track                   | beta                                     |
| apk                     | apks/fruit-radar-google-play-release.apk |
| metadata_path           | /tmp/fruit-radar-metadata                |
| validate_only           | true                                     |
| skip_upload_images      | true                                     |
| skip_upload_screenshots | true                                     |
| skip_upload_apk         | true                                     |
| skip_upload_aab         | true                                     |
| package_name            | eu.quelltext.mundraub                    |
| release_status          | completed                                |
| json_key                | .travis/api.json                         |
| skip_upload_metadata    | false                                    |
| skip_upload_changelogs  | false                                    |
| check_superseded_tracks | false                                    |
| timeout                 | 300                                      |
| deactivate_on_promote   | true                                     |
+-------------------------+------------------------------------------+
[!] More than one release found in this track. Please specify with the :version_code option to select a release.

Environment

[23:23:38]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[23:23:39]: Sending anonymous analytics information
[23:23:39]: Learn more at https://docs.fastlane.tools/#metrics
[23:23:39]: No personal or sensitive data is sent.
[23:23:39]: You can disable this by adding opt_out_usage at the top of your Fastfile
[23:23:39]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack
| Key                         | Value                                                          |
| --------------------------- | -------------------------------------------------------------- |
| OS                          | debian_based jessie/sid                                        |
| Ruby                        | 2.4.1                                                          |
| Bundler?                    | false                                                          |
| Git                         | git version 2.16.1                                             |
| Installation Source         | ~/.rvm/gems/ruby-2.4.1/bin/fastlane                            |
| Host                        | Ubuntu 14.04.5 LTS debian_based jessie/sid (4.4.0-111-generic) |
| Ruby Lib Dir                | ~/.rvm/rubies/ruby-2.4.1/lib                                   |
| OpenSSL Version             | OpenSSL 1.0.1f 6 Jan 2014                                      |
| Is contained                | false                                                          |
| Is homebrew                 | false                                                          |
| Is installed via Fabric.app | false                                                          |
System Locale
| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE |             |   |
fastlane files:
`./fastlane/Fastfile`

# This file contains the fastlane.tools configuration

# You can find the documentation at https://docs.fastlane.tools

#

# For a list of all available actions, check out

#

#     https://docs.fastlane.tools/actions

#

# For a list of all available plugins, check out

#

#     https://docs.fastlane.tools/plugins/available-plugins

#

# Uncomment the line if you want fastlane to automatically update itself

# update_fastlane

default_platform(:android)

platform :android do

  desc "Runs all the tests"

  lane :test do

    gradle(task: "test")

  end

  desc "Submit a new Beta Build to Crashlytics Beta"

  lane :beta do

    gradle(task: "clean assembleRelease")

    crashlytics

    # sh "your_script.sh"

    # You can also use other beta testing services here

  end

  desc "Deploy a new version to the Google Play"

  lane :deploy do

    gradle(task: "clean assembleRelease")

    upload_to_play_store

  end

end

`./fastlane/Appfile`

json_key_file(".travis/api.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one

package_name("eu.quelltext.mundraub") # e.g. com.krausefx.app

fastlane gems
| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.137.0 | ✅ Up-To-Date  |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.1.0        |
| executable-hooks          | 1.3.2        |
| slack-notifier            | 2.3.2        |
| atomos                    | 0.1.3        |
| CFPropertyList            | 3.0.1        |
| claide                    | 1.0.3        |
| colored2                  | 3.1.2        |
| nanaimo                   | 0.2.6        |
| xcodeproj                 | 1.13.0       |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.3.0        |
| terminal-notifier         | 2.0.0        |
| unicode-display_width     | 1.6.0        |
| terminal-table            | 1.8.0        |
| plist                     | 3.5.0        |
| public_suffix             | 2.0.5        |
| addressable               | 2.7.0        |
| multipart-post            | 2.0.0        |
| word_wrap                 | 1.0.0        |
| tty-screen                | 0.7.0        |
| tty-cursor                | 0.7.0        |
| tty-spinner               | 0.9.1        |
| babosa                    | 1.0.3        |
| colored                   | 1.2          |
| highline                  | 1.7.10       |
| commander-fastlane        | 4.4.6        |
| excon                     | 0.69.1       |
| faraday                   | 0.17.0       |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20190701 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | 0.13.1       |
| fastimage                 | 2.1.7        |
| gh_inspector              | 1.1.3        |
| json                      | 2.0.2        |
| mini_magick               | 4.9.5        |
| multi_xml                 | 0.6.0        |
| rubyzip                   | 1.3.0        |
| security                  | 0.1.3        |
| xcpretty-travis-formatter | 1.0.0        |
| dotenv                    | 2.7.5        |
| naturally                 | 2.2.0        |
| simctl                    | 1.6.6        |
| jwt                       | 2.1.0        |
| uber                      | 0.1.0        |
| declarative               | 0.0.10       |
| declarative-option        | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.2        |
| mime-types-data           | 3.2019.1009  |
| mime-types                | 3.3          |
| multi_json                | 1.14.1       |
| signet                    | 0.12.0       |
| memoist                   | 0.16.1       |
| os                        | 1.0.1        |
| googleauth                | 0.6.7        |
| httpclient                | 2.8.3        |
| google-api-client         | 0.23.9       |
| google-cloud-env          | 1.3.0        |
| google-cloud-core         | 1.4.1        |
| digest-crc                | 0.4.1        |
| google-cloud-storage      | 1.16.0       |
| emoji_regex               | 1.0.1        |
| bundler                   | 1.17.3       |
| openssl                   | 2.0.3        |
| mini_portile2             | 2.3.0        |
| nokogiri                  | 1.8.2        |
| psych                     | 2.2.2        |

generated on: 2019-11-24

Related Issues

https://github.com/fastlane/fastlane/issues/15626
fastlane/fastlane#15646
https://github.com/niccokunzmann/mundraub-android/issues/314

@fastlane-bot done, thanks!

I read the docs now, I can see that now, in API v3, one must provide a version code with the sceenshots and metadata. https://docs.fastlane.tools/actions/supply/#migration-from-androidpublisherv2-to-androidpublisherv3-in-fastlane-21350

:version_code
Used for :update_rollout, :track_promote_to, and uploading of meta data and screenshots

I wonder. Now, I get an other error. Why I need a release.
[!] Could not find release for version code '1575654793' to update changelog

fastlane supply --track beta --validate_only true --skip_upload_images true --skip_upload_screenshots true --skip_upload_apk true --skip_upload_aab true --version_code `date +%s`; fi" exited with 1.

Even when I skip the changelog, I get the same error:
[!] Could not find release for version code '1575656896' to update changelog
fastlane supply --track beta --validate_only true --skip_upload_images true --skip_upload_screenshots true --skip_upload_apk true --skip_upload_aab true --version_code `date +%s` --skip_upload_changelogs true

To me, this issue is closed as I disabled the check with https://github.com/niccokunzmann/mundraub-android/commit/22c13d672bd5d85038c0d11529584437a1fcde9e. However, I think --validate_only true does not work yet with API v3. You may close this now.


Resolve - run rubocop on each commit on travis #15

Problem
Have to ask people to run rubocop which requires them to set it up and may conflict with rubocop setups they already have. I.e: #11
Solution
Run rubocop on each commit in travis then mark the PR as pass/failure based on the result from rubocop.

Add travis and rubocop
Source rubocop config from remote repo
This does not resolve the existing violations and therefore fails the build (15 files inspected, 28 offenses detected)

@see https://travis-ci.org/ajohnstone/cloudwatch-sender/

Sweet :+1:

:cake:

Any chance of merging this? I realise there are issues with the validation from rubocop, however that should be resolved separately to this.

I tried to get our Travis working but had some auth issues due to Github Organisation - will try again.

@revett Thanks :+1:

This is nearly 3 months old now?


Search with keyword not working

The search with keyword box is unable to take any input while using Safari as web browser

The bugs were fixed.

Confirmed


Typing in editor pane wraps tabs inconsistently

Issue Type: Bug
When multiple tabs are open, with the correct length of filenames, the last tab will keep wrapping to the next row and unwrapping as you type. The outcome of this is that it is difficult to see what is being type as the content jumps up and down.
The solution is to close a tab.

VS Code version: Code 1.56.1 (e713fe9b05fc24facbec8f34fb1017133858842b, 2021-05-06T10:08:24.325Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
32.00GB (0.10GB free)

Process Argv
--crash-reporter-id d63026de-a6f4-4d33-9f34-5ccb00040167

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.40.4

vscode-eslint
dba
2.1.20

prettier-vscode
esb
6.4.0

vscode-styled-components
jpo
1.5.2

java
red
0.79.1

markdown-preview-enhanced
shd
0.5.18

vscode-scss-formatter
sib
2.2.0

vscodeintellicode
Vis
1.2.13

gitblame
wad
7.0.4

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2:30294352
bridgeflight:30299254

@ejvet-ct does this reproduce if you configure workbench.editor.decorations.badges: false ?

@bpasero It would seem that it doesn't, no

@ejvet-ct there is unfortunately not much to do here, if decorations come and go the size of tabs can change while typing which can result in wrapping.

@bpasero But, from the gif it doesn't look like the value in the tab actually changes visually, even though it causes a wrap when some sort of padding changes. It does appear however, that there is the slightest movement of the unsaved changes icon as it wraps.

Yeah true there is some weird jump in the dirty icon. Do you have some steps for me how to reproduce, possibly with the same files and same window dimensions?

Hmm, to be honest It looks like that is because of the wrap, not the cause of it. And no I just tried to systematically reproduce, and I can't nail it down sorry.

Yeah I recall a similar issue a while ago that we were not able to figure out steps to reproduce...


Android: UnifiedPush registration with Schildichat broken since v1.11.0

As reported by Jakob on Discord:
This is a log of the ntfy Android app. The log shows up to 1,000 entries.
Server URLs (aside from ntfy.sh) and topics have been replaced with fruits 🍌🥝🍋🥥🥑🍊🍎🍑.

Device info:
--
ntfy: 1.11.0 (fdroid)
OS: 4.14.116
Android: 10 (SDK 29)
Model: HWVOG
Product: VOG-L29EEA

--
Settings:
{
  "autoDeleteSeconds": 2592000,
  "autoDownloadMaxSize": 1048576,
  "broadcastEnabled": true,
  "connectionProtocol": "ws",
  "darkMode": -1,
  "defaultBaseUrl": "",
  "lastSharedTopics": [],
  "minPriority": 1,
  "mutedUntil": 0,
  "recordLogs": true
}

Logs
--

1651348085689 2022-04-30 21:48:05.689 D NtfyLog Log was truncated
1651348090103 2022-04-30 21:48:10.103 D NtfyUpBroadcastRecv UNREGISTER received (connectorToken=)
1651348090105 2022-04-30 21:48:10.105 D NtfyUpBroadcastRecv UNREGISTER received (connectorToken=)
1651348090112 2022-04-30 21:48:10.112 D NtfyUpBroadcastRecv Subscription with connectorToken  does not exist. Ignoring.
1651348090112 2022-04-30 21:48:10.112 D NtfyUpBroadcastRecv Subscription with connectorToken  does not exist. Ignoring.
1651348090120 2022-04-30 21:48:10.120 D NtfyUpBroadcastRecv Adding subscription with for app de.spiritcroc.riotx (connectorToken raspberry): Subscription(id=-6776334696088911957, baseUrl=https://ntfy.sh, topic=strawberry, instant=true, mutedUntil=0, upAppId=de.spiritcroc.riotx, upConnectorToken=raspberry, totalCount=0, newCount=0, lastActive=1651348090, state=NOT_APPLICABLE)
1651348090120 2022-04-30 21:48:10.120 D NtfyUpBroadcastRecv REGISTER received for app de.spiritcroc.riotx (connectorToken=raspberry)
1651348090125 2022-04-30 21:48:10.125 D NtfyUpBroadcastRecv Adding subscription with for app de.spiritcroc.riotx (connectorToken raspberry): Subscription(id=-8361902847137317442, baseUrl=https://ntfy.sh, topic=upA7g3BlRWqyIS, instant=true, mutedUntil=0, upAppId=de.spiritcroc.riotx, upConnectorToken=raspberry, totalCount=0, newCount=0, lastActive=1651348090, state=NOT_APPLICABLE)
1651348090125 2022-04-30 21:48:10.125 D NtfyUpBroadcastRecv REGISTER received for app de.spiritcroc.riotx (connectorToken=raspberry)
1651348090146 2022-04-30 21:48:10.146 D NtfyUpDistributor Sending NEW_ENDPOINT to de.spiritcroc.riotx (token=raspberry): https://ntfy.sh/strawberry?up=1
1651348090149 2022-04-30 21:48:10.149 D NtfyUpDistributor Sending REGISTRATION_FAILED to de.spiritcroc.riotx (token=raspberry)
1651348090150 2022-04-30 21:48:10.150 D NtfySubscriberMgr Enqueuing work to refresh subscriber service
1651348090152 2022-04-30 21:48:10.152 W NtfyUpBroadcastRecv Failed to add subscription
Exception:
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: Subscription.upConnectorToken (Sqlite code 2067 SQLITE_CONSTRAINT_UNIQUE), (OS error - 110:Connection timed out)
	at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
	at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:923)
	at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:810)
	at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:88)
	at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeInsert(FrameworkSQLiteStatement.java:51)
	at androidx.room.EntityInsertionAdapter.insert(EntityInsertionAdapter.java:64)
	at io.heckel.ntfy.db.SubscriptionDao_Impl.add(SubscriptionDao_Impl.java:121)
	at io.heckel.ntfy.db.Repository.addSubscription(Repository.kt:72)
	at io.heckel.ntfy.up.BroadcastReceiver$register$1.invokeSuspend(BroadcastReceiver.kt:79)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

1651348090197 2022-04-30 21:48:10.197 D NtfySubscriberMgr ServiceStartWorker: Starting foreground service with action START (work ID: f9011e93-05b9-4914-a418-801d0a681def)
1651348090199 2022-04-30 21:48:10.199 D NtfySubscriberService onStartCommand executed with startId: 12
1651348090199 2022-04-30 21:48:10.199 D NtfySubscriberService using an intent with action START
1651348090202 2022-04-30 21:48:10.202 D NtfySubscriberService Refreshing subscriptions
1651348090203 2022-04-30 21:48:10.203 D NtfySubscriberService - Desired connections: [ConnectionId(baseUrl=https://banana.example.com, topicsToSubscriptionIds={kiwi=-2754791496466822081}), ConnectionId(baseUrl=https://ntfy.sh, topicsToSubscriptionIds={strawberry=-6776334696088911957})]
1651348090203 2022-04-30 21:48:10.203 D NtfySubscriberService - Active connections: [ConnectionId(baseUrl=https://banana.example.com, topicsToSubscriptionIds={kiwi=-2754791496466822081})]
1651348090203 2022-04-30 21:48:10.203 D NtfySubscriberService - New connections: [ConnectionId(baseUrl=https://ntfy.sh, topicsToSubscriptionIds={strawberry=-6776334696088911957})]
1651348090204 2022-04-30 21:48:10.204 D NtfySubscriberService - Obsolete connections: []
1651348090204 2022-04-30 21:48:10.204 D NtfySubscriberService - Match? --> false
1651348090208 2022-04-30 21:48:10.208 D NtfyWsConnection ntfy.sh/strawberry (gid=7): New connection with global ID 7
1651348090210 2022-04-30 21:48:10.210 D NtfyWsConnection ntfy.sh/strawberry (gid=7): Opening https://ntfy.sh/strawberry/ws?since=1651348090 with listener ID 1 ...
1651348090648 2022-04-30 21:48:10.648 D NtfyWsConnection ntfy.sh/strawberry (gid=7, lid=1): Opened connection
1651348090650 2022-04-30 21:48:10.650 D NtfyWsConnection ntfy.sh/strawberry (gid=7, lid=1): Received message: {"id":"y3pWDiMMzjuy","time":1651348090,"event":"open","topic":"strawberry"}

As said on Discord, to me it looks like Schildi is sending the same registration twice within 5ms:
1651348090120 2022-04-30 21:48:10.120 D NtfyUpBroadcastRecv REGISTER received for app de.spiritcroc.riotx (connectorToken=raspberry)
1651348090125 2022-04-30 21:48:10.125 D NtfyUpBroadcastRecv REGISTER received for app de.spiritcroc.riotx (connectorToken=raspberry)

Looking at https://github.com/binwiederhier/ntfy-android/compare/v1.10.0...v1.11.0 (only BroadcastReceiver and Distributor), it looks like I

got rid of REGISTRATION_REFUSED and replaced it with REGISTRATION_FAILED
am now catching a SQLConstraintException and sending REGISTRATION_FAILED back. This was to address #185.

My question to the UP guys (@karmanyaahm, @p1gp1g, @sparchatus)
a. is the way that ntfy behaves (in the latest version, see log) now correct?
b. are you in touch with the schildi devs to maybe let them know not to send the registration twice?

My guess is that (i) is incorrect, because: same app + same token -> return NEW_ENDPOINT, right?

Hm, if I remember correctly, from @p1gp1g's implementation, it re-registered on every app start. Will have a look when I find time.

Hi @SpiritCroc nice to meet you :-D
I was going totally insane for a while, because GitHub search doesn't show any results for unifiedpush in the SchildiChat Android repo. Turns out the search is just broken. Good old grep on your repo saved the day.
I briefly looked at the code, but not in an IDE, but it is entirely possible that registerApp is called more than once under certain circumstances. I think I just have to make sure that the BroadcastReceiver on my end is race-safe.

Hi @SpiritCroc nice to meet you :-D

Hi :)

I was going totally insane for a while, because GitHub search doesn't show any results for unifiedpush in the SchildiChat Android repo. Turns out the search is just broken. Good old grep on your repo saved the day.

Github search doesn't search code for projects with "fork" status unfortunately.

I briefly looked at the code, but not in an IDE, but it is entirely possible that registerApp is called more than once under certain circumstances. I think I just have to make sure that the BroadcastReceiver on my end is race-safe.

So will SchildiChat need changes, or is it fine as is?

Hi !
Ntfy should resend the new endpoint when it receives a new registration :)
https://unifiedpush.org/spec/android/#orgunifiedpushandroidconnectornew_endpoint

The distributor MUST send this action to the registered application in the following cases:
[...]

a registered application sends an action with the intent org.unifiedpush.android.distributor.REGISTER and a token for an existing registration. The distributor MUST also update the features associated with the registration.

So will SchildiChat need changes, or is it fine as is?
Ntfy should resend the new endpoint when it receives a new registration :)

I mean while I of course agree, I think that the connector should maybe not send the same registration twice within 5ms. That makes it unnecessarily difficult, since now I have to lock/synchronize around something that happens once every full moon, but then happens twice :-D
I'll fix it on my end, np.

send the same registration twice within 5ms (see above: 21:48:10.120 and 21:48:10.125)

I see, that indeed sounds unnecessary :thinking:

Fixed in https://github.com/binwiederhier/ntfy-android/commit/821a1ac222ca566b4de68297cafab8aa3bc12748 -- this looks like a lot, but it's just a Mutex around the entire register/unregister call. Will be in the next release.
I tested with MacroDroid tapping a floating action button many times. Since that didn't work I added an artificial delay(200) after the exists check and that reproduced the error above.

Fixed in SchildiChat now as well, it was indeed trying to register twice when clicking "re-register push distributor" - my fault, sorry.

Nice. Thanks!


Unable to use curl to interface with API; httpie functions correctly

Hey there
A peculiarity here. Being an API interface novice, I have followed instructions allowing me to have my terminal spit out relevant output when I run the following command:
http GET http://localhost/api/endpoints/1 \     X-API-Key:KEY
This functions precisely as expected.
When attempting the same using cURL:
curl -H "Authorization: Bearer KEY \     http://localhost/api/endpoints/1
I see the following:
{"message":"A valid authorisation token is missing","details":"Unauthorized"}
Can someone explain to me what I'm doing wrong?
Thanks a bunch!  : )

Your httpie command uses the new per-user API key functionality, whereas your curl syntax uses the older JWT token approach. Both work but keys for each are generated in different ways and are used in different ways.
To use the per-user API key in a curl command, you want to be sending the X-API-Key header. Something like:
curl -H "X-API-Key: KEY" http://localhost/api/endpoints/1

Thank you, kind sir. This now works perfectly.
Much appreciated.  : )

I tried to write a function in Python, prompting {"message": "a valid authorization token is missing", "details": "unauthorized"}. Thank you for your help!

I tried to write a function in Python, prompting {"message": "a valid authorization token is missing", "details": "unauthorized"}. Thank you for your help!

hi, I'm trying to do the same thing in javascript. Did u find a solution?

change the variable names in data to Pascal Case.
data = {"username":...
becomes
data = {"Username":...
in case you're still looking for the solution.@giovanniruocco @heyirong


Add details about gnuplot on osx

Thanks again for reporting this.  If the changes at https://github.com/mike-bourgeous/mb-sound/pull/21/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R329-R333 are not adequate, please feel free to reopen the issue.


NZBGetPostProcess error

I've had a couple of issues that turned out to be my fault due to a dodgy Python install, but with NZBget I'm now getting the below error. I just reinstalled Python 2.7 and I can now get manual.py to work which is awesome, but this is what I'm getting now in the NZBget logs;

INFO	Tue Feb 09 2016 14:21:04	Post-process-script NZBGetPostProcess.py for DCs.Legends.of.Tomorrow.S01E04.720p.HDTV.X264-DIMENSION skipped
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: Logged from file NZBGetPostProcess.py, line 144
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: TypeError: not all arguments converted during string formatting
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: msg = msg % self.args
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 329, in getMessage
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: record.message = record.getMessage()
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 465, in format
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: return fmt.format(record)
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 726, in format
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: msg = "%s\n" % self.format(record)
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging\handlers.py", line 156, in shouldRollover
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: if self.shouldRollover(record):
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging\handlers.py", line 76, in emit
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: Traceback (most recent call last):
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: Logged from file NZBGetPostProcess.py, line 144
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: TypeError: not all arguments converted during string formatting
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: msg = msg % self.args
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 329, in getMessage
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: record.message = record.getMessage()
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 465, in format
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: return fmt.format(record)
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 726, in format
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: msg = self.format(record)
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: File "C:\Python27\Lib\logging_init_.py", line 853, in emit
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: Traceback (most recent call last):
INFO	Tue Feb 09 2016 14:21:04	NZBGetPostProcess: Script triggered from NZBGet (11.0 or later).

Any ideas? I feel like it's probably something silly like a permission issue but I'm a little stuck

Okay, after fiddling a bit I'm getting a different error now;
NZBGetPostProcess: Could not start post-process-script NZBGetPostProcess.py for 30.Rock.S04E01.Season.4.720p.WEB-DL.DD5.1: The system cannot find the file specified.
Is this telling me it can't see the file I downloaded or the script? Feel like I'm losing my mind.

Its saying it can't see the download/file, not the script itself. I'm not sure why you're getting that error, was the file deleted or moved for some reason?

Thanks for the response, that turned out to be my fault. I am however having this problem now, do you know if it's best to open a new issue? It still falls under the subject header, really.
INFO	Sun Feb 14 2016 10:40:54	Collection ***** added to history
INFO	Sun Feb 14 2016 10:40:54	Cleaning up download queue for *****
INFO	Sun Feb 14 2016 10:40:54	Post-process-script NZBGetPostProcess.py for ***** successful
INFO	Sun Feb 14 2016 10:40:54	NZBGetPostProcess: 2016-02-14 10:40:54 - autoprocess.sonarr - INFO - [INFO] Sonarr response: started.
INFO	Sun Feb 14 2016 10:40:54	NZBGetPostProcess: 2016-02-14 10:40:54 - autoprocess.sonarr - INFO - [INFO] Requesting Sonarr to scan directory 'J:\Downloads\complete\*****'.
INFO	Sun Feb 14 2016 10:40:53	NZBGetPostProcess: 2016-02-14 10:40:53 - autoprocess.sonarr - INFO - [INFO] Sonarr notifier started.
INFO	Sun Feb 14 2016 10:40:53	NZBGetPostProcess: Script triggered from NZBGet (11.0 or later).
INFO	Sun Feb 14 2016 10:40:51	Executing post-process-script NZBGetPostProcess.py for *****

It seems to just be skipping the actual conversion. Thanks again for your help.

Post your autoprocess.ini settings please

`[uTorrent]
username =
action_after = removedata
sonarr-label = sonarr
host = http://localhost:8080/
webui = False
password =
convert = True
sickbeard-label = sickbeard
couchpotato-label = couchpotato
action_before = stop
bypass-label = bypass
sickrage-label = sickrage
[MP4]
tag-language = en
download-artwork = thumbnail
download-subs = False
delete_original = True
audio-language =
output_format = mp4
ffprobe = J:\ffmpeg2\ffmpeg-20150928-git-1d0487f-win64-static\bin\ffprobe.exe
move_to =
output_directory =
post-process = False
ios-first-track-only = False
max-audio-channels =
subtitle-codec = mov_text
audio-codec = ac3
pix-fmt =
subtitle-default-language =
tagfile = True
video-bitrate =
relocate_moov = True
embed-subs = True
ffmpeg = J:\ffmpeg2\ffmpeg-20150928-git-1d0487f-win64-static\bin\ffmpeg.exe
h264-max-level =
fullpathguess = True
sub-providers = addic7ed, podnapisi, thesubdb, opensubtitles
convert-mp4 = True
audio-default-language =
output_extension = mp4
ios-audio = True
video-max-width =
audio-channel-bitrate = 256
permissions = 777
subtitle-language =
copy_to =
video-codec = h264, x264
[Sonarr]
ssl = False
host = localhost
apikey = [removed]
port = 6788
web_root =
[Deluge]
host = localhost
username =
convert = True
password =
sonarr-label = sonarr
bypass-label = bypass
sickbeard-label = sickbeard
port = 58846
sickrage-label = sickrage
couchpotato-label = couchpotato
[SABNZBD]
convert = True
sickrage-category = sickrage
sonarr-category = sonarr
bypass-category = bypass
couchpotato-category = couchpotato
sickbeard-category = sickbeard
[CouchPotato]
username =
delay = 65
host = localhost
apikey =
web_root =
delete_failed = False
ssl = False
password =
port = 5050
method = renamer
[SickBeard]
username =
password =
ssl = False
host = localhost
web_root =
api_key =
port = 8081
[Sickrage]
username =
password =
ssl = False
host = localhost
web_root =
api_key =
port = 8081
[Plex]
token =
host = localhost
port = 32400
refresh = true
`

Do you have the convert option enabled and your categories properly set in NZBGet?
Sent from my iPhone

On Mar 5, 2016, at 08:06, sacredshapes<EMAIL_ADDRESS>wrote:
`[uTorrent]
username =
action_after = removedata
sonarr-label = sonarr
host = http://localhost:8080/
webui = False
password =
convert = True
sickbeard-label = sickbeard
couchpotato-label = couchpotato
action_before = stop
bypass-label = bypass
sickrage-label = sickrage
[MP4]
tag-language = en
download-artwork = thumbnail
download-subs = False
delete_original = True
audio-language =
output_format = mp4
ffprobe = J:\ffmpeg2\ffmpeg-20150928-git-1d0487f-win64-static\bin\ffprobe.exe
move_to =
output_directory =
post-process = False
ios-first-track-only = False
max-audio-channels =
subtitle-codec = mov_text
audio-codec = ac3
pix-fmt =
subtitle-default-language =
tagfile = True
video-bitrate =
relocate_moov = True
embed-subs = True
ffmpeg = J:\ffmpeg2\ffmpeg-20150928-git-1d0487f-win64-static\bin\ffmpeg.exe
h264-max-level =
fullpathguess = True
sub-providers = addic7ed, podnapisi, thesubdb, opensubtitles
convert-mp4 = True
audio-default-language =
output_extension = mp4
ios-audio = True
video-max-width =
audio-channel-bitrate = 256
permissions = 777
subtitle-language =
copy_to =
video-codec = h264, x264
[Sonarr]
ssl = False
host = localhost
apikey = [removed]
port = 6788
web_root =
[Deluge]
host = localhost
username =
convert = True
password =
sonarr-label = sonarr
bypass-label = bypass
sickbeard-label = sickbeard
port = 58846
sickrage-label = sickrage
couchpotato-label = couchpotato
[SABNZBD]
convert = True
sickrage-category = sickrage
sonarr-category = sonarr
bypass-category = bypass
couchpotato-category = couchpotato
sickbeard-category = sickbeard
[CouchPotato]
username =
delay = 65
host = localhost
apikey =
web_root =
delete_failed = False
ssl = False
password =
port = 5050
method = renamer
[SickBeard]
username =
password =
ssl = False
host = localhost
web_root =
api_key =
port = 8081
[Sickrage]
username =
password =
ssl = False
host = localhost
web_root =
api_key =
port = 8081
[Plex]
token =
host = localhost
port = 32400
refresh = true
`
—
Reply to this email directly or view it on GitHub.

That was it.
Thanks for your help (and patience). Working smoothly now.


New Game Play Feature

Issuer: Jenny
Assignees: Ben, Jeannie, Jenny
Requirements:

[x] There is a progress bar that go back and front. When click a card, the value of the progress bar will be the damage.
[x] Fix message to modal box (?)
[x] Update HP accordingly
[x] Add message from tarot reader
[x] remove hp bar and opponent
[ ] add sad and happy face next to luck bar

Deadline: Tuesday, June 6th 2023
Code-dependency:

game.js
game.html

Issue done criteria:

The new game can be played perfectly

Merge with PR #73


Demo?

Having troubles with configuration of Volumetric Fog Script (probably others too). Would be probably very helpfull if you could provide any kind of demo such the one on readme page. Thank!

I would also like to request a demo scene. Thank you kindly!


Problem with jQuery sroll to element

Hi, Can you help me with jQuery animate()? I have a problem with jQuery sroll to element. So, When I insert slibars.css into HTML page, the jQuery sroll to element does´t working.
[Link to JSFIDDLE.] (https://jsfiddle.net/k2695v18/54/)
After click on Scroll down Back to top, nothing will happened.
But, When I remove CSS, everythink is allright. Can you help mi with this problem please?
Tomas

Hey!
Nice to see you using the new beta :)
Yep the problem is occurring as the html and body are both set to 100% height, so there is no where to scroll. The actually scrolling of the site is located inside the canvas="container".
So instead of animating the html and body like this:
$('a[href^="#"]').on('click', function(event) {
  var target = $( $(this).attr('href') );
  if( target.length ) {
    event.preventDefault();
    $('html, body').animate({
      scrollTop: target.offset().top
    }, 1000);
  }
});

We can just change html, body to #top which is the id of your canvas container:
$('a[href^="#"]').on('click', function(event) {
  var target = $( $(this).attr('href') );
  if( target.length ) {
    event.preventDefault();
    $('#top').animate({
      scrollTop: target.offset().top
    }, 1000);
  }
});

... and that should do it, take a look here:
https://jsfiddle.net/k2695v18/55/
Thanks for bringing this to my attention though, i'll be sure to write an article on it to add to the Help Center!
Adam


Calc : Tip Calculator

Enter calculator name -
Calculator to Evaluate the Tip
Describe calculator functionality -
Tip Calculator takes the billing amount, type of service and a number of persons as input and generated the respective result for customers to pay the tip along with the bill amount.
I would like to work on this issue under hacktoberfest. Can you assign me? @SarthakKeshari
Under which category you wish to place it -

[ ] Computer Science
[ ] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[x] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[x] Let project owner decide
[ ] Suggest a new category - (Answer here)

Hey @prathimacode-hub,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\finance\tipCalc
Issue completion deadline - 14th Oct 11:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

Ok, thank you. Absolutely. @SarthakKeshari

Since the deadline has passed and no PR has been committed, can i get assigned to this?

I couldn't complete due to other work commitments. @SarthakKeshari, you can assign it to @tejxv

Sure @prathimacode-hub

Hey @tejxv,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\finance\tipCalc
Issue completion deadline - 23rd Oct 11:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


silent error if link_callback raise a Exception...

I check the path in pisaDocument.link_callback and raise a AssertionError. But this would be silently ignored :(
But raise_exception is True (default)

Seems like a duplicate of #290


App hangs when loading on web/desktop due to infinite loop

Problem
For some people (@joekaufmanexpensify @luacmartins) when they load App, the code goes into a seemingly infinite loop that hangs the browser for a long time.

Why is this important?
It makes the app unusable
Solution
Determine what is causing the loop and find a way to fix it

I am able to determine that the long loop happens here: https://github.com/Expensify/App/blob/47ec8f4ae0598e55c4d75b275ef4feeec8f14d6e/src/libs/actions/Report.js#L446
The method PersonalDetails.getFromReportParticipants(simplifiedReportsList) is called once, but the method inside of .then() is called repeatedly over and over again in this loop.
This code was recently refactored in https://github.com/Expensify/App/pull/7453 so the first step I am going to do is revert that PR to see if the problem clears up, then we can go from there. I suspect it has something to do with the addition of getFromReportParticipants() returning a Promise.
cc @sobitneupane

I am able to determine that the long loop happens here:
https://github.com/Expensify/App/blob/47ec8f4ae0598e55c4d75b275ef4feeec8f14d6e/src/libs/actions/Report.js#L446
The method PersonalDetails.getFromReportParticipants(simplifiedReportsList) is called once, but the method inside of .then() is called repeatedly over and over again in this loop.
This code was recently refactored in #7453 so the first step I am going to do is revert that PR to see if the problem clears up, then we can go from there. I suspect it has something to do with the addition of getFromReportParticipants() returning a Promise.
cc @sobitneupane

I am also facing the same issue. But my branch doesnot have changes from  https://github.com/Expensify/App/pull/7453

I am able to determine that the long loop happens here:
https://github.com/Expensify/App/blob/47ec8f4ae0598e55c4d75b275ef4feeec8f14d6e/src/libs/actions/Report.js#L446
The method PersonalDetails.getFromReportParticipants(simplifiedReportsList) is called once, but the method inside of .then() is called repeatedly over and over again in this loop.
This code was recently refactored in #7453 so the first step I am going to do is revert that PR to see if the problem clears up, then we can go from there. I suspect it has something to do with the addition of getFromReportParticipants() returning a Promise.
cc @sobitneupane

I was also facing similar issue few hours back. But My branch does not have changes from https://github.com/Expensify/App/pull/7453.

@sobitneupane can you reproduce this on dev? I only see this issue on production.

I am not having the issue now. But before in incognito window I was stuck in login page. After I entered email and pressed continue. Continue sign was loading forever.
In non-incognito window, there was loading sign in the middle and nothing was happening.

That seems to be a different issue. My login pages work fine, but the app hangs when I'm already logged in and it refreshes.

Thanks for the info! I think I have yet to determine that this change is 100% the root cause, but at least it's as far as I could trace the problem to for now. With it being reverted, I'm hoping it will point me toward the next place.

Picking this back up today and making progress.


Formatting issues in metric docs

There are some formatting issues with the arguments (the incorrect blocks and apostrophes). I've yet to go through the whole metrics docs, noting them here as I find them for when I get a chance to fix them or if anyone wants to help!
Incorrect:
https://pytorch-lightning.readthedocs.io/en/latest/metrics.html#f1-func
https://pytorch-lightning.readthedocs.io/en/latest/metrics.html#fbeta-func
Correct examples:
https://pytorch-lightning.readthedocs.io/en/latest/metrics.html#iou-func
(among others)
Related: #4837
Edit:
Also noticed that F1 has an unused beta arg that shouldn't be there (we have fbeta), though that's probably a separate issue.

When the FBeta "split-off" from #4385 will be merged, this will be fixed

The doc issue and beta in f1 issues are still present in 1.1


Create a way to download zuliprc for the human user.

We can now download zuliprc files for our bots, but often you don't want to create a bot to run the API and prefer to just use your primary account (particularly if you are not sending messages to Zulip).  We should add a download-zuliprc feature for our own user.
pinging @tommyip

Isn't that already implemented in this commit [fe4a0e72f]?

Oh, maybe it just hasn't been deployed yet.  Ok, closing.


Modernize SQLA pessimistic handling

Looks like SQLAlchemy has redefined the best practice around
pessimistic connection handling.

Coverage decreased (-0.02%) to 69.288% when pulling a664c4450c12285da4009e913a1d97ffbff345fe on mistercrunch:modern_sqla_pess into f68189b54e0bc6467bf46ffb33b5cc4848a2a582 on apache:master.

Coverage decreased (-0.02%) to 69.288% when pulling a664c4450c12285da4009e913a1d97ffbff345fe on mistercrunch:modern_sqla_pess into f68189b54e0bc6467bf46ffb33b5cc4848a2a582 on apache:master.

Coverage decreased (-0.02%) to 69.288% when pulling a664c4450c12285da4009e913a1d97ffbff345fe on mistercrunch:modern_sqla_pess into f68189b54e0bc6467bf46ffb33b5cc4848a2a582 on apache:master.


Data review webpage for Hedman et al Cassini ISS Spokes bundle

Since the admin server is currently down, I’ve haven’t put the checksum manifest or the bundle tar.gz in the usual review-data/ staging directory. Instead they can be found at:

/Volumes/Admin-Data-3/data_sandbox/hamilton-spokes/checksum-manifest-cassini_iss_spokes_hedman-hamilton-2024.txt

/Volumes/Admin-Data-3/data_sandbox/hamilton-spokes/cassini_iss_spokes_hedman-hamilton-2024.tar.gz

Branch deployed to staging: http://staging.pds.seti.org/pull_requests/221

Here's where you can find the review webpage: https://staging.pds.seti.org/pull_requests/221/reviews/cassini_iss_spokes_hedman-hamilton-2024/

The commit I just pushed can be seen at https://staging.pds.seti.org/pull_requests/221/reviews/

Final minor fix in https://github.com/SETI/rms-website/pull/222 🤦🏽♀


Where is the example for a vector of vectors?

We need an example for a vector of vectors - the vector version of multi-dimensioned arrays.

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

ID: 36cd55b4-5345-3493-9d05-12868315571d
Version Independent ID: 8e501921-6f1d-7705-231b-7ed0eded02ae
Content: vector class
Content Source: docs/standard-library/vector-class.md
Product: visual-cpp
Technology: cpp-standard-libraries
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Closing as part of backlog grooming. We have accrued more issues than our resources can manage.
Criteria for closing include severity of the issue, how broadly applicable it is, whether the issue enough information is provide to act on the issue, etc.
If you think this issue should not have been closed, reopen it with a comment explaining why.


Add UI to generate badges

Right now people don't know how to generate badges unless they've been on gitter! Make a fairly small UI for this.

One idea here would be to add a little dropdown arrow to the right of launch. If you clicked it, there would be another option for copy binder link to clipboard as well as copy binder badge to clipboard or something like this.

Dropdown arrow implemented in #122


Title: FOOTER CAN BE BEAUTIFIED

Which pre-existing JavaScript project will you be working on?
NONE
Describe your enhancement/improvement
USING CSS FOOTER CAN BE BEAUTIFIED TO SOMETHING MORE SOOTHING TO USER'S EYES
Anything you need to say to the Reviewers
No response
Add any other context or relevant screenshots about the enhancement here.

Please assign this issue to me

@Aashka19 Thank you for providing your insight but it is not required as of now


Look into ways to calculate more complex aggregates

TEEHR currently uses SQL to calculate all aggregates (i.e. metrics).  This has proven effective and fairly fast. However, as the required list of metrics grows and the complexity of those metrics also grows (ensemble, signature, event, etc.) the difficulty of implementing and maintaining them in SQL should be considered.
The current list of options seems to be:

Continue to build out more and more complex SQL using DuckDB
Continue to use DuckDB but write an extension that will contain a bunch of water related aggregates (i.e. metrics)
Use PySpark which seems to support Python based aggregate functions in SQL queries.
Something else, Dask?

Writing a DuckDB extension would likely be fast, but would not be easy for users/developers to add new metrics, or to take advantage of existing packages, for example a bootstrapping package, etc.  This would have to be written in C++.
Pyspark seems to have many qualities that make it a good candidate for doing complex analytics on large and very large datasets (i.e. many billions of rows) in a horizontally scalable way.  Initial tests have shown that it works well but is not as fast as something like DuckDB on datasets that fit in memory.  This is perhaps a trade-off at smaller data volumes which would be slower than the current approach.  How much data do we need to handle? Additionally, Pyspark has the benefit of allowing user defined aggregates that take multiple arguments (e.g., primary and secondary timeseries values), and seems to do it in an efficient way. For example, something like SELECT kge(prim, sec) FROM joined; where kge() is a Python function.
More to come...

We decided to use Spark.


No Network Hashrate

The fireflycoind doesn't show the network hashrate, will this be added in a future release?
Usually when running a getmininginfo there is a 'networkhashps' field but this is hidden with this coin.

I guess developers have abandoned this coin as there has been no answer.


/search does not pin scroll position

Repro steps:
In Cody 0.6.7, open chat, scroll to the bottom, type /search foo
Expected behavior:
Search results scroll into the viewport.
Actual behavior:
Search results appear "below the fold" and you have to scroll to see them.

@dominiccooney I can reproduce this issue. Will fix it and make a PR for this.

Also, I realised that the search is more like a command, so shall we include this in to list of commands?
CC: @abeatrix WDYT?

@abeatrix Got that, so shall I wait until the refactor is done to work on the first part of this issue too?

I think the UI will still be the same so I'd say yes. Thanks for checking 😊


WDT handling does not work in examlpes with current ESP32 board files.

From REMOTE_OTA example,
remoteOTA.ino  line 44:
esp_task_wdt_init(30, 1);
results in :
Compilation error: invalid conversion from 'int' to 'const esp_task_wdt_config_t*' [-fpermissive]
I believe there has been an update to espressIF's code for the WDT?
I am using esp32 by Espressif Systems 3.0.4

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1 In the installer menu, select "gcc."

Appreciate the help, but....
Unfortunately, the DL link is not functioning.  I can probably find it if you can tell me what the link is supposed to point to? not really inclined to install a sussy zip from dropbox in any case???
unfortuantely im not quite sure how to modify the source to conform to the new API given by espressif, or I would fix it myself and put in a pull request : esp_task_wdt_init(const esp_task_wdt_config_t *config);
It seems a config for a task needs to be constructed and then referenced in the init, but Im not sure how to construct this correctly or I would gladly work it out myself and contribute.

Warning
Do not install anything, especially from unverified links.
To show an example project there is no need to install executables.

The APIs that deal with watchdog management have changed since version 3.x.x of the ESP3 core for Arduino and the example unfortunately has not been updated yet.
I just updated the code to use the new APIs, you can find it in the repository (and starting from the next release of the library, when it will be released).
I also updated the JS script in index.htm that performs the online firmware check.


Disable user close rewardvideo

Hi, there,
as the title, is there have any code that can disable the user to close the reward video or hide the button??
thanks.

it's against AdMob policy, believe me, they'll  catch it sooner or later

Don't be evil


Any way to slow down scroll speed?

Great script! I have this running and it looks good, but the scroll speed is very fast. Is there any way to slow it down? I'm trying to find somewhere in the code where I can edit the logic but nothing seems to work that I've tried.
Thanks!

Try the speed option.


Calculate Dice for Whole & core & Enh. Region?

Hi
Dear Mr. Konstantinos,
thanks for your great work and support.I have a question related to the DSC metric.
I used your software available at https://github.com/Kamnitsask/deepmedic. In this regard, I used BRATS 2015. I trained Deepmedic Network on 274 Pateint  and tested on 110 HGG_LGG .I got the following values for the DSC metric for Test data(110).

2018-04-21 00:04:14.561436 >> +++++++++++++++++++++ Reporting Average Segmentation Metrics over all subjects ++++++++++++++++++++++++++
2018-04-21 00:04:14.562562 >> ACCURACY: (Testing) The Per-Class average DICE Coefficients over all subjects are: DICE1=[ 0.8654 0.4816 0.8098 0.4361 0.7404 ] DICE2=[ 0.8654 0.4816 0.8098 0.4361 0.7404 ] DICE3=[ 0.8654 0.4816 0.8098 0.4361 0.7404 ]
2018-04-21 00:04:14.562585 >> EXPLANATION: DICE1/2/3 are lists with the DICE per class. For Class-0, we calculate DICE for whole foreground, i.e all labels merged, except the background label=0. Useful for multi-class problems.
2018-04-21 00:04:14.562604 >> EXPLANATION: DICE1 is calculated as segmentation over whole volume VS whole Ground Truth (GT). DICE2 is the segmentation within the ROI vs GT. DICE3 is segmentation within the ROI vs the GT within the ROI.
2018-04-21 00:04:14.562631 >> EXPLANATION: If an ROI mask has been provided, you should be consulting DICE2 or DICE3.
2018-04-21 00:04:14.562655 >> TIMING: Testing process took time: 2098.438592(s)
Now I want to know how to calculate the Dice metric for Whole & Core & Enh Region that you reported in your article.
,Very truly yours
Zahra Fotoohiniya

Hello,
You have to write your own script, that loads the images, merges the predicted classes into whole/core/enh, and does the same for the ground truth labels. And then compute DSC with these merged predictions/gt labels. In our paper we briefly mention which classes are merged, but you should refer to BRATS main website/journal with respect to which classes are merged to what and why. I do not provide a script for this as this project is supposed to be generic and not brats-specific.
Hope the above helps.


Reduce LR on plateau with minimum LR

Adds a new parameter min_lr to ReduceLROnPlateau to stop reducing the learning reate below its value.

This seems useful, thanks!


Disallow expressions for IDE mode and disallow statements for REPL mode

When the compiler is in IDE mode only allow statements, and when the compiler is in REPL mode only allow expressions.

Fixed in commit 8add6876f2d0b89e92fcb7d6a3072d734999f90a


Package ID restrictions/limitations?

In Squirrel.Windows/Clowd.Squirrel, using periods in the package ID was not supported (I think).  This test seems to indicate any valid Nuget package ID will work.  The tests in this file also imply that periods are supported.  What are the restrictions or limitations for package ID with Velopack?

Hi there, the logic is here: https://github.com/velopack/velopack/blob/f364e480748068980dcf894c464e68cc9a1d425e/src/Velopack/NuGet/NugetUtil.cs#L39
So it's any "word" characters, dashes, and dots.


Move group_vars inside playbooks directory

Description:
Currently the group_vars folder is at the top level of the repository. This is fine when executing the ansible-playbook locally inside this folder because the inventory is stored inside this folder as well and therefore loads the group_vars that is at this exact location.
However, in case the ansible-playbook command has to be executed from outside with an inventory not in this local folder, then that means that the group_vars will not be loaded automatically and it needs to be loaded through the extra-vars.
Possible solution:
Move the group_vars from the root of the repository to inside of the playbooks folder. When the group_vars is inside the playbooks folder, then it should be loaded automatically for any ansible-playbook execution. Hence, it should still continue to behave in the same way for the standard execution inside the local folder but it should also simplify the execution from the outside, since there wouldn't be the need to load the files through the extra-vars anymore if the group_vars is inside the playbooks folder.
Please let me know if you would be willing to make this change. If yes, I can look at all documentations, to make sure it reflects the new path. For now, I only put the move of the folder in this PR.

I'm not sure we really want to do thatas this location is only valied for the ansible-playbook command. General approach is to have group_vars & host_vars live together with the inventory (whether it is a file, a folder or dynamic plugin).
As we ship the example inventories at the root of the project their vars folders live there too.
If someone needs to move his inventory to somewhere else I would adice he moves the group_vars & host_vars as well.

I'm not sure we really want to do that as this location is only valid for the ansible-playbook command. General approach is to have group_vars & host_vars live together with the inventory (whether it is a file, a folder or dynamic plugin). As we ship the example inventories at the root of the project their vars folders live there too. If someone needs to move his inventory to somewhere else I would advise he moves the group_vars & host_vars as well.

I'm not sure I get the comment about this being only valid for the ansible-playbook command, what would be other uses of the group_vars? In terms of variable inclusion, c.f. variable precedence, it should be exactly the same. So it has no impact on your behavior and it would help external integrations.

First on that comes to mind:
ansible-inventory -i inventory_ssh.yml --list --vars

First one that comes to mind:
ansible-inventory -i inventory_ssh.yml --list --vars

I see. In this case since you are almost only using the all.yml (and considering it would only be for the latest enterprise version and not considering older/community params), listing vars through the inventory doesn't make much sense to me, but I guess it could be a topic at some point. If you don't want to move the group_vars, feel free to close this PR, that's why I only moved the folder for now, since I assumed it might not be approved anyway.

Hi @morgan-patou ,
Thank you for the feedback. I'll go ahead and close the PR. In the future I think the best approach would be to remove as many of these vars as possible to something else than the all group's vars + extra-vars to something that's more consistent. We actually have a related ticket open for quite some time but I'm not sure it's accessible to you: OPSEXP-1842


Fatal Error

FYI...I suspect that this relates to a TranQL thing, but I'm not sure, so I'm posting a ticket as an FYI.

From Rose Wang (08.01.19):
After trying a couple more calls, it seems as though I'm receiving the same error message as before (psycopg2.OperationalError) FATAL:  remaining connection slots are reserved for non-replication superuser connections\n\n(Background on this error at: http://sqlalche.me/e/e3q8). I think the errors may actually be because of my call, as the call I was using was pretty demanding of the API. But I have since switched up my call, so hopefully the error doesn't resurface after this.


"Could not locate that visualization" Dupes

When opening the Diskover - Dupes dashboard it shows:
Could not locate that visualization (id: 687e37c0-3062-11e7-b2eb-1307fac824dc)
Could not locate that search (id: 1c800320-305e-11e7-b2eb-1307fac824dc)
Could not locate that visualization (id: 3ae1b180-3061-11e7-b2eb-1307fac824dc)
Terminal output looks good:
[2017-05-08 19:42:43] [status] Connecting to Elasticsearch
[2017-05-08 19:42:43] [info] Checking for ES index: diskover_dupes-2017.04.22
[2017-05-08 19:42:43] [warning] ES index exists, deleting
[2017-05-08 19:42:43] [info] Creating ES index
[2017-05-08 19:42:44] [info] Found 30 duplicates
[2017-05-08 19:42:44] [status] Finished creating duplicate files index
I deleted the old saved objects and uploaded the latest export.json to no avail.  Am I missing something?
Thanks!

On line 491 of export.json, you should see:
    "_id": "687e37c0-3062-11e7-b2eb-1307fac824dc",
If you don't, download the latest export.json.
Try refreshing your diskover_dupes-* index pattern in Kibana > Management > Index Patterns.

Thanks, for some reason I had to upload the new json twice.


fix(loadbalancer): NacosLoadBalancer cannot be used with HintBasedSer…

…viceInstanceListSupplier
close #3269
Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

#3270

LGTM


clip path not working when animating

I'm trying to create a kaleidoscope effect. I use six divs with clip paths, rotated at various angles. Without any animation, this works fine. When I use webkit animation to rotate content within these divs, the clip paths do not get applied. This works fine with Chrome on my PC, but not on your browser on a Pi under Balena.
I tried just using a jscript requestAnimationFrame to "manually" repeatedly increment the rotation of the content, but this was way too slow and jerky. Any ideas?

kal_html.txt

This is what it looks like on Chrome:

And on the Pi:

[zvin] This issue has attached support thread https://jel.ly.fish/#/support-thread~664be8ff-68e0-48e8-bed2-e21959b47558


0.9.6: tsm1.test: Test killed with quit: ran too long

Hello,
I am using go 1.5.1 and sometimes see the following issue:
[  771s] created by net/http.(*Transport).dialConn
[  771s]        /usr/lib64/go/src/net/http/transport.go:685 +0xc78
[  771s]
[  771s] rax    0xfffffffffffffffc
[  771s] rbx    0xffffffff
[  771s] rcx    0x4601c9
[  771s] rdx    0x80
[  771s] rdi    0x4
[  771s] rsi    0x7ffca8bd4840
[  771s] rbp    0x11a1300
[  771s] rsp    0x7ffca8bd4800
[  771s] r8     0x11a1300
[  771s] r9     0x7f16154c8710
[  771s] r10    0xffffffff
[  771s] r11    0x246
[  771s] r12    0x2e5
[  771s] r13    0xe6e01c
[  771s] r14    0x1
[  771s] r15    0x8
[  771s] rip    0x4601c9
[  771s] rflags 0x246
[  771s] cs     0x33
[  771s] fs     0x0
[  771s] gs     0x0
[  771s] *** Test killed with quit: ran too long (10m0s).
[  771s] FAIL   github.com/influxdb/influxdb/cmd/influxd/run    600.105s

Full log: http://pastebin.com/LU6R7Nz4

@matwey -- I do not understand what you mean. Are you building the code with Go 1.5.1? If so, please build with Go 1.5.2, as there were some known issues with Go 1.5.1.
Please re-open if you continue to see issues with Go 1.5.2. You should also tell us your distro.

Thank you, I will try 1.5.2


:os_mon is required

As :os_mon is registered in the extra_application, plds won't start if erlang-os-mon is not available on the system.
One can easily understand the issue when launching from master but it is a bit more tricky when using the escript:
➜  plds git:(main) ✗ mix phx.server
Generated plds app
[notice] Application runtime_tools exited: :stopped
** (Mix) Could not start application os_mon: could not find application file: os_mon.app

➜  plds git:(main) ✗ plds server --connect "toto@mynode" --cookie secret --open
11:31:18.156 [notice] Application runtime_tools exited: :stopped
PLDS failed to start

After installing the package on ubuntu:
➜  plds git:(main) ✗ ./plds server --connect "toto@mynode" --cookie secret --open
11:38:08.350 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}
[PLDS] using long names because one of the nodes is long. Current name is<EMAIL_ADDRESS>11:38:08.532 [info] [PLDS] Connected to node :"toto@mynode"
11:38:08.563 [info] Running PLDSWeb.Endpoint with cowboy 2.9.0 at :::8090 (http)
11:38:08.565 [info] Access PLDSWeb.Endpoint at http://localhost:8090

Yes, you would have to install it. Anything we could have done to make it clearer?

Hi Jose,
I think so, maybe in https://hexdocs.pm/phoenix_live_dashboard/os_mon.html because erlang doc is a bit dry in this regard. I installed elixir and erlang using asdf and it did not occur to me that os_mon had to be installed using the os package manager.

Done in LiveDashboard :)

You pushed into master, I am not sure it's intended ?


Support pagination tokens in nearby_search()

The pagination isn't automatic, but only done if the user wishes so, in order to avoid excessive API calls.

This feature has been added by another PR, and is currently in the development branch. Feel free to have a play with that. I hope to merge this to master in a day or two.


[Event Request] codeunit 10821 "Export DEB DTI" - OnAfterAddItem

Hi, would it be possible to get an event OnAfterAddItem codeunit 10821 "Export DEB DTI", like this :
        end;
        OnAfterAddItem(XMLNode,XMLDomMgt,IntrastatJnlLine);
        if IntrastatJnlLine."Country/Region of Origin Code" <> '' then
            XMLDomMgt.AddNode(XMLNode, 'countryOfOriginCode', IntrastatJnlLine."Country/Region of Origin Code");
        if IntrastatJnlLine."Entry/Exit Point" <> '' then
            XMLDomMgt.AddNode(XMLNode, 'paysProvenance', IntrastatJnlLine."Entry/Exit Point");

    [IntegrationEvent(false, false)]
    local procedure OnAfterAddItem(var XMLNode: DotNet XMLNode;var XMLDomMgt: Codeunit "XML DOM Management"; var IntrastatJnlLine: Record "Intrastat Jnl. Line")
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Bug: Next/Prev commands not working on mobile iOS

Describe the bug
On my desktop version, the "jump to next/prev" commands work well. On mobile, when I use the command (or when I create a button for the command in the toolbar), I get the following error message: "No note was found in next given the limited fields allowed:" . This error doesn't appear on the desktop when invoking the common on the same note--it just works.
To Reproduce
I have the following YAML header:
---
next: ['2022-05-07.md']
prev: ['2022-05-05.md']
week: ['2022-W19']
---

Invoking "Jump to first prev" on desktop takes me to the note, on iOS it gives the error listed above.
Desktop (please complete the following information):

OS: Mac OS
Version Obsidian 0.14.9

Smartphone (please complete the following information):

Device: iPhone 12 Pro Max
OS: iOS 15.4.1
Version Obsidian 1.2.1 (52)

Additional context
Add any other context about the problem here.

@derekvan can you try this on V4? I've rewritten this command

Yeah, working fine for me on mobile version 1.5.11 (133)

Nice, on Breadcrumbs v4 right?

Yes correct

Ok great, gonna close this out then. Thanks for testing


PGHS versions: Updated minor Postgres versions

Hyperscale (Citus): Updating minor Postgres versions.

@niklarin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Actually this LGTM. We can check for extension upgrades later.

Thanks @jonels-msft. I'll merge the PR.


new(contributing): Added contributing.md file

Added contributing.md file as Mentioned to improved Improve security clomonitor score.

I am uncertain about the underlying cause of the failure in the "ci-ginkgo/ginkgo-test." Could you kindly review the situation and offer recommendations for enhancements to be considered for this pull request?

Possibly, the conflict arose due to the absence of certain files. I have made the necessary modifications and reuploaded the content, ensuring that the correct file paths are now in place.


Extend tests to additional Python versions

Without changes, the current installation and test routine works only on Python 3.6 and 3.7. This needs to to be expanded to additional Python 3 versions.

Python ≤ 3.5 is no longer supported so I don't think we should put any effort there. Python > 3.7 is currently not possible because of the legacy mhcflurry version dependencies.