OSAtomicCompareAndSwap64Barrier crash when creating default Realm on iPhone 4s

Goals
Create a default Realm instance.
Expected Results
A default Realm instance is created without crashing.
Actual Results
When I try to create the default Realm instance, I experience a crash on my iPhone 4s test device (not using simulator) perhaps related to being a 32-bit device.
#0	0x25ae7c78 in OSAtomicCompareAndSwap64Barrier$VARIANT$mp ()
#1	0x25aec7c6 in _pthread_cond_signal ()
#2	0x002012ba in realm::SharedGroup::low_level_commit(unsigned long long) ()
#3	0x00200e74 in realm::SharedGroup::do_commit() ()
#4	0x002014a2 in realm::SharedGroup::commit_and_continue_as_read() ()
#5	0x00143ea2 in realm::_impl::SharedGroupFriend::commit_and_continue_as_read(realm::SharedGroup&) [inlined] at /Users/realm/workspace/objc_ios/tightdb_objc/core/include/realm/group_shared.hpp:1108
#6	0x00143e9e in realm::LangBindHelper::commit_and_continue_as_read(realm::SharedGroup&) [inlined] at /Users/realm/workspace/objc_ios/tightdb_objc/core/include/realm/lang_bind_helper.hpp:372
#7	0x00143e9e in realm::_impl::transaction::commit(realm::SharedGroup&, realm::BindingContext*) at /Users/realm/workspace/objc_ios/tightdb_objc/Realm/ObjectStore/impl/transact_log_handler.cpp:451
#8	0x00141d28 in realm::Realm::commit_transaction() at /Users/realm/workspace/objc_ios/tightdb_objc/Realm/ObjectStore/shared_realm.cpp:318
#9	0x00141772 in realm::Realm::update_schema(std::__1::unique_ptr<realm::Schema, std::__1::default_deleterealm::Schema >, unsigned long long) at /Users/realm/workspace/objc_ios/tightdb_objc/Realm/ObjectStore/shared_realm.cpp:254
#10	0x0012bcf0 in +[RLMRealm realmWithConfiguration:error:] at /Users/realm/workspace/objc_ios/tightdb_objc/Realm/RLMRealm.mm:374
#11	0x0012a8fc in +[RLMRealm defaultRealm] at /Users/realm/workspace/objc_ios/tightdb_objc/Realm/RLMRealm.mm:162
#12	0x0009b0aa in -[ViewController viewDidLoad] at /Users/mitch/Documents/Personal/Moto/test/RealmTest/RealmTest/ViewController.m:22
Steps to Reproduce

Create new Single View Application project in Xcode
Follow Realm's 'Getting Started' instructions for Static Framework use (same issue experienced with Dynamic Framework)
Try and create default Realm instance in viewDidLoad

Code Sample
this is all my code:
@implementation ViewController
RLMRealm* realmInstance;

(void)viewDidLoad {
[super viewDidLoad];
realmInstance = [RLMRealm defaultRealm];
}

@end
Version of Realm and Tooling
Realm: 0.98.4
Xcode: 7.2
OS X: 10.10.5
Device: iOS 9.2.1 on iPhone 4s

Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain joe-jackson.net has exceeded the max emails per hour (110/100 (110%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext5.iad.github.net ([<IP_ADDRESS>]:60604 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by rs5.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86_1)
(envelope-from<EMAIL_ADDRESS>id 1afmMO-001xQn-2p
for<EMAIL_ADDRESS>Tue, 15 Mar 2016 06:37:56 -0400
Date: Mon, 14 Mar 2016 15:47:46 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1457995666;
bh=171AhWdPCUOamSeWyBZj9wUlWlcQNlrGgitCVYy4Z5A=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=lWhFekSzKZMT76OsOibPHpZzfZ1n9nKQL/PN4Q41EFyJpR006uMVS3+Fw2om5By9t
Mj1/ltNx8IsgcVhzzNHCQaO2z8XQ3ATUXEqO1P4fe25YHTWG2m9nVsloxE6enSqOqy
cR/et2fV4jXVi4AP5BlakAhYSR+mxJBaDxgAOkdU=
From: Mark Rowe<EMAIL_ADDRESS>Reply-To: realm/realm-cocoa<EMAIL_ADDRESS>To: realm/realm-cocoa<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [realm-cocoa] OSAtomicCompareAndSwap64Barrier crash when creating
default Realm on iPhone 4s (#3331)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: bdash
X-GitHub-Recipient: jcj52436999
List-ID: realm/realm-cocoa <realm-cocoa.realm.github.com>
List-Archive: https://github.com/realm/realm-cocoa
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA-U90JG0eQ21GLVBs1H1zEuYOXIePF6ks5pteWSgaJpZM4HwiqK
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.

Reply to this email directly or view it on GitHub:
https://github.com/realm/realm-cocoa/issues/3331#issuecomment-196553578
----==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.
—Reply to this email directly or view it on GitHub.

----==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (443/400 (110%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext8.iad.github.net ([<IP_ADDRESS>]:34010 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86_1)
(envelope-from<EMAIL_ADDRESS>id 1afmNm-000b0c-A4
for<EMAIL_ADDRESS>Tue, 15 Mar 2016 11:39:36 +0100
Date: Mon, 14 Mar 2016 15:47:46 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1457995666;
bh=pE0gULei9FwVmtgMUdCDKbMRBmYgny396Z/MOAe7Trc=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=tDfx5j+pTZqXiBF0te34magQj7nMYiRhdIxihZZnAwHRWhp09DicE+HNxX/+I/x20
5F+WFOiqpUGxhNx19OP82ZjnWOm6DTZkM6ckVfn/kKLcGTvWlDfDfbj6ndMCLgjQ9y
Jb/cMZqRQOgiK+h14PQEw9P2hNSKIaLdJhZy/Vgg=
From: Mark Rowe<EMAIL_ADDRESS>Reply-To: realm/realm-cocoa<EMAIL_ADDRESS>To: realm/realm-cocoa<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [realm-cocoa] OSAtomicCompareAndSwap64Barrier crash when creating
default Realm on iPhone 4s (#3331)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56e73f92823d1_5e043fa4568bf29c326581";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: bdash
X-GitHub-Recipient: yanndupuy
List-ID: realm/realm-cocoa <realm-cocoa.realm.github.com>
List-Archive: https://github.com/realm/realm-cocoa
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3Ln5p2iPwk-mg7ZFArvid0MZSHtyks5pteWSgaJpZM4HwiqK
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-3.0
X-Spam-Score: -29
X-Spam-Bar: ---
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Thanks for the report, @mitchctodd. We're tracking this issue
as #3321, and hope to have a fix released in the next couple of hours. ---
Reply to this email directly or view it on GitHub: https://github.com/realm/realm-cocoa/issues/3331#issuecomment-196553578
[...]
Content analysis details:   (-3.0 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
1.1 DATE_IN_PAST_06_12     Date: is 6 to 12 hours before Received: date
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
X-Spam-Flag: NO
----==_mimepart_56e73f92823d1_5e043fa4568bf29c326581
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.

Reply to this email directly or view it on GitHub:
https://github.com/realm/realm-cocoa/issues/3331#issuecomment-196553578
----==_mimepart_56e73f92823d1_5e043fa4568bf29c326581
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.
—Reply to this email directly or view it on GitHub.

----==_mimepart_56e73f92823d1_5e043fa4568bf29c326581--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (445/400 (111%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
------ The body of the message is 10536 characters long; only the first
------ 5000 or so are included here.
Received: from github-smtp2-ext6.iad.github.net ([<IP_ADDRESS>]:45770 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86_1)
(envelope-from<EMAIL_ADDRESS>id 1afmOW-000bAd-81
for<EMAIL_ADDRESS>Tue, 15 Mar 2016 11:40:24 +0100
Date: Tue, 15 Mar 2016 03:37:58 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1458038278;
bh=hwIk8F7+XCIUtQIIKce4eR4GxxwXPRhmoNZQOtOx6WM=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=b4apAglwHOsIdRlQCjgETetrjWBSFVdnsoWi2Wyui6Nf34H2e9Zvup5un3VLzH8k6
kyars/SegLOvXUI1LFyqSdukeaABFvsPw6XEjf6z8ZLgoShmK1GwV27ytt8D1lrCo7
BWSTuDZO/hT6e+H4dC/uoPJmX4tWc1h51zwoKW4I=
From: Joe Jackson<EMAIL_ADDRESS>Reply-To: realm/realm-cocoa<EMAIL_ADDRESS>To: realm/realm-cocoa<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [realm-cocoa] OSAtomicCompareAndSwap64Barrier crash when creating
default Realm on iPhone 4s (#3331)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56e7e6063a074_64e73f7ef4bad29c84828a";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: jcj52436999
X-GitHub-Recipient: yanndupuy
List-ID: realm/realm-cocoa <realm-cocoa.realm.github.com>
List-Archive: https://github.com/realm/realm-cocoa
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3ICQsskjorP5EbSc_QK2xRg6JlASks5ptowGgaJpZM4HwiqK
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-4.9
X-Spam-Score: -48
X-Spam-Bar: ----
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients.
This is a temporary error. The following address(es) deferred: [...]
Content analysis details:   (-4.9 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
0.2 KAM_LOTSOFHASH         Emails with lots of hash-like gibberish
X-Spam-Flag: NO
----==_mimepart_56e7e6063a074_64e73f7ef4bad29c84828a
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain joe-jackson.net has exceeded the max emails per hour (110/100 (110%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext5.iad.github.net ([<IP_ADDRESS>]:60604 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by rs5.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86_1)
(envelope-from<EMAIL_ADDRESS>id 1afmMO-001xQn-2p
for<EMAIL_ADDRESS>Tue, 15 Mar 2016 06:37:56 -0400
Date: Mon, 14 Mar 2016 15:47:46 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1457995666;
bh=171AhWdPCUOamSeWyBZj9wUlWlcQNlrGgitCVYy4Z5A=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=lWhFekSzKZMT76OsOibPHpZzfZ1n9nKQL/PN4Q41EFyJpR006uMVS3+Fw2om5By9t
Mj1/ltNx8IsgcVhzzNHCQaO2z8XQ3ATUXEqO1P4fe25YHTWG2m9nVsloxE6enSqOqy
cR/et2fV4jXVi4AP5BlakAhYSR+mxJBaDxgAOkdU=
From: Mark Rowe<EMAIL_ADDRESS>Reply-To: realm/realm-cocoa<EMAIL_ADDRESS>To: realm/realm-cocoa<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [realm-cocoa] OSAtomicCompareAndSwap64Barrier crash when creating
default Realm on iPhone 4s (#3331)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: bdash
X-GitHub-Recipient: jcj52436999
List-ID: realm/realm-cocoa <realm-cocoa.realm.github.com>
List-Archive: https://github.com/realm/realm-cocoa
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA-U90JG0eQ21GLVBs1H1zEuYOXIePF6ks5pteWSgaJpZM4HwiqK
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.

Reply to this email directly or view it on GitHub:
https://github.com/realm/realm-cocoa/issues/3331#issuecomment-196553578
----==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks for the report, @mitchctodd. We're tracking this issue as #3321, and hope to have a fix released in the next couple of hours.
—Reply to this email directly or view it on GitHub.

----==_mimepart_56e73f92af25c_5e043fa4568bf29c32671a--

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/realm/realm-cocoa/issues/3331#issuecomment-196760348
----==_mimepart_56e7e6063a074_64e73f7ef4bad29c84828a
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:

<EMAIL_ADDRESS>Domain joe-jackson.net has exceeded the max emails per hour (110/100 (110%)) allowe


Updated to latest support lib

[Current coverage][cc-pull] is 96.94%

Merging [#84][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master        #84   diff @@
==========================================
  Files            39         39
  Lines          1536       1536
  Methods           0          0
  Messages          0          0
  Branches        263        263
==========================================
  Hits           1489       1489
  Misses           19         19
  Partials         28         28

Powered by Codecov. Last updated by [6c6c54f...cb9b769][cc-compare]
[cc-base-branch]: https://codecov.io/gh/google/agera/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/google/agera/compare/6c6c54f03835d25f1b900dac9c4176a214cbb1d5...cb9b769dc8a7adde0e049cdfb537c1935a5c6c90
[cc-pull]: https://codecov.io/gh/google/agera/pull/84?src=pr

LGTM


[Android] Don't hard set play services version

Hello,
Bear in mind, I'm not to clued up to Android yet...
I keep running into the same issue whereby my build fails due to "Multiple dex files". The cause of this is conflicting play-services versions across multiple libs. This library hard sets the dep to 9.8.0.
Other libs seem to only set it to "whatever is latest", e.g: https://github.com/zo0r/react-native-push-notification/blob/master/android/build.gradle#L44 & https://github.com/idehub/react-native-google-analytics-bridge/blob/master/android/build.gradle#L21
The only way I can fix these errors is by either:

Adding this to my own build.gradle:

dependencies {
    compile ('com.google.android.gms:play-services-gcm:9.8.0') {
      force = true;
    }
    ...

Going into node_modules, and changing the line to compile 'com.google.android.gms:play-services-base:+'.

Didn't want to make a PR since I'm not sure if this will have any repercussions?

That should be fine. Make a PR when you get a chance. I think that sounds like a great idea.

Actually, what do you think about doing this for all Firestack dependencies?

I supposed the only issue is if the lib isn't kept up to date with say the latest firebase SDK, then users are going to have weird issues.

Good point. I agree.

Closing as fixed on v3 branch.


Created SleepSort.cpp

This is an implementation of Sleep Sort algorithm in C++.

@yashbansal6 Please merge this with master.

Please use four spaces instead of tabs for indentation.

Test Failing because pthread library is not linked.

Please merge this with master.

TheAlgorithms/Python#2352


Add estimator name to key name

This improves the look of diagnostics.
cc @jcrist

LGTM. Will merge once green.


writes to immutable accounts fail silently

test case here: https://github.com/2501babe/mut-test
the program has two functions of note, touch and slap. the boop account is not marked as mutable in either
touch attempts to change data using the anchor interface, but the call completes successfully, leaving the data unchanged
    pub fn touch(ctx: Context<Touch>) -> ProgramResult {
        msg!("mut-test: touch");

        msg!("boop before: {:?}", ctx.accounts.boop.boop);
        ctx.accounts.boop.boop = 1;
        msg!("boop after: {:?}", ctx.accounts.boop.boop);

        Ok(())
    }

Transaction executed in slot 3:
  Signature: 48GsErTqSWwrtCpcuCB8o1CSQm1mxijuBmqfLf3exjWJavAP71DJxYfjxnWqSYMSbDZs24oQYNeFkadBbiFMSrqX
  Status: Ok
  Log Messages:
    Program 5N5m5EgRmatdkiRQpcdSTZg2wiaSHMaa5WHG1Qmo6W4g invoke [1]
    Program log: mut-test: touch
    Program log: boop before: 0
    Program log: boop after: 1
    Program 5N5m5EgRmatdkiRQpcdSTZg2wiaSHMaa5WHG1Qmo6W4g consumed 2017 of 200000 compute units
    Program 5N5m5EgRmatdkiRQpcdSTZg2wiaSHMaa5WHG1Qmo6W4g success

  mut-test
before touch: { boop: 0 }
after touch: { boop: 0 }

slap attempts a borrow from the account info struct and properly fails
    pub fn slap(ctx: Context<Slap>) -> ProgramResult {
        msg!("mut-test: slap");

        msg!("boop before: {:?}", ctx.accounts.boop.boop);
        let ai = ctx.accounts.boop.to_account_info();
        let mut data = ai.try_borrow_mut_data()?;
        data[8] = 2;
        msg!("boop after: {:?}", ctx.accounts.boop.boop);

        Ok(())
    }

Transaction simulation failed: Error processing Instruction 0: instruction modified data of a read-only account
    Program 5N5m5EgRmatdkiRQpcdSTZg2wiaSHMaa5WHG1Qmo6W4g invoke [1]
    Program log: mut-test: slap
    Program log: boop before: 0
    Program log: boop after: 0
    Program 5N5m5EgRmatdkiRQpcdSTZg2wiaSHMaa5WHG1Qmo6W4g consumed 2140 of 200000 compute units
    Program 5N5m5EgRmatdkiRQpcdSTZg2wiaSHMaa5WHG1Qmo6W4g success
    failed to verify account DE3GL4o9UBUq7KVE9Wrhxa46AnkAYparWv7o6ubDBbQa: instruction modified data of a read-only account

we are introducing a new type that will prevent this. see #980

You should receive an error if add the feature anchor-debug to anchor.
AccountMut shouds great.

o cool, ty!
so if #[account(mut)] is being removed will there just be variants for all types then? like SignerMut UncheckedAccountMut etc?

@2501babe
Yes that's the idea.
(Maybe not for uncheckedAccount because it's... unchecked)
If you have any ideas regarding #980 pls do share them tho!


The precise search

Hi,
For example,
localhost:9851/set+terminal+truck+string+123
I use the 'search' 'approach to precise search：localhost:9851/search+terminal+match+123.
Returns the result is empty.Only when using the '*' number have a result

Thanks for reporting this issue. I pushed a fix to the master branch.

Hi,
Now,i find a problem.First,our total data volume is 55 million
1.‘*’ in front .For example, search+A+match+*123,time consuming 30s,it's too slow.
2.Three concurrent queries,CPU with 16 core reach 100 percen

When a pattern begins with a star the entire collection will be scanned. The operation is O(n).
*123

Starts at the first value and scans all 55 million for matches.
f*123

Jumps to the first value that starts with "f" and scans items for matches. It stops searching upon encountering a value that does not start with "f".
I advise against using the star prefix for huge collections.


document freeSlideBehind option

I'm not sure what freeSlideBehind is for:
https://github.com/gre/diaporama/blob/80e977ce03ac194fc8b9ce149b809f43a0bef522/lib/Diaporama.js#L210

this allows to (optionally) remove slides that are freeSlideBehind times before the current slide so the memory doesn't grow indefinitely for stream purpose.
An example is running here: http://greweb.me/diaporama/#example/4 , if you accelerate the speed of the diaporama (or manually click on Next), you will see that the number of slides never reach 40 slides, because previous slides are released (code is here https://github.com/gre/diaporama-website/blob/master/stream_example.js ).
Note that diaporama is designed as a "timeline", so the way to make an infinite stream of images is to append some images at the end, and remove slides at the beginning (+ also changing the time) while the time is running.

Thanks!


support tcp keepalives

(this is repost of crowdin/crowdin-cli#58 where we discovered this issue.  That code doesn't seem to be supported so reopening here as requested since this codebase doesn't seem to support keepalives as far as I can tell)
When trying to download a large project that creates a new export, a request can take a long time (in the case that I am seeing ~60 minutes). When this happens, the cli client keeps the connection open and expects it to remain intact while idle.
This doesn't work behind a lot of firewalls or NAT gateways that have idle connection time limits (AWS NAT Gateway specifically has a 5 min limit and is the one that triggered this issue for us). When this happens and the connection is drop'ed in the middle without a corresponding RST being sent (which is a separate kind of wrong) the client thinks the connection is still up and waits patiently forever to hear back from the remote.
Please support TCP keepalives for http connections in order to avoid this issue. When inspecting the TCP socket the keepalive flag is not added. For the short term we were able to work around the issue with https://github.com/flonatel/libdontdie

We will think about implemented this thing in our future releases.
Thank you very much for your suggestion.

Hi @nathanhruby !
In CLI 3 download command is asynchronous and there are no long-time exports anymore. Try to use this version.


add python3 compatibility to prepare file

Let prepare file be compatible with python3.

I see your organization is "VMware", are you employee in VMware?

Bro, I'm Bill He. Saga92 is my github account. @reasonerjt

please sign the agreement, or re-create a PR, such that the Bot can be re-activated.

Done. @reasonerjt


eng\scripts\version.py update does not update the "tag" property correctly

If the Podpspect contains:
"tag": "AzureFoo_1.0.0"
Running the version update script strips the AzureFoo_ part and leaves only the updated version. It should preserve the tag.

cc/ @knvsl


I can't seem to get this to work as a component

Ive been trying for a couple of days. New to Vue so maybe I am missing something.
When I put your code in a clean Vue3 Cli project it works great.
When I put it into a component and then use that component in a view it breaks.
h is not a function
I try to import h inside your code and then exports.default breaks.
Any help?

Same issue.
VueCropper.js?95c3:21 Uncaught (in promise) TypeError: h is not a function
    at Proxy.render (VueCropper.js?95c3:21)
    at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710)
    at componentEffect (runtime-core.esm-bundler.js?5c40:4193)
    at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
    at effect (reactivity.esm-bundler.js?a1e9:17)
    at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176)
    at mountComponent (runtime-core.esm-bundler.js?5c40:4134)
    at processComponent (runtime-core.esm-bundler.js?5c40:4094)
    at patch (runtime-core.esm-bundler.js?5c40:3715)
    at mountChildren (runtime-core.esm-bundler.js?5c40:3897)

Same issue.
VueCropper.js?95c3:21 Uncaught (in promise) TypeError: h is not a function
    at Proxy.render (VueCropper.js?95c3:21)
    at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710)
    at componentEffect (runtime-core.esm-bundler.js?5c40:4193)
    at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
    at effect (reactivity.esm-bundler.js?a1e9:17)
    at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176)
    at mountComponent (runtime-core.esm-bundler.js?5c40:4134)
    at processComponent (runtime-core.esm-bundler.js?5c40:4094)
    at patch (runtime-core.esm-bundler.js?5c40:3715)
    at mountChildren (runtime-core.esm-bundler.js?5c40:3897)

Hi guys,
(@dajeinc, @tachang)
Seems that Vue 3 support hasn't been published to NPM yet. Latest release still 4.2.0 without Vue 3 support.
I fixed this problem by directly installing from GitHub instead of NPM library.
npm i git+https://github.com/Agontuk/vue-cropperjs.git
But hope this gets fixed by @Agontuk by publishing the latest release.
(https://github.com/Agontuk/vue-cropperjs/pull/92)
Hope the above command can help someone till that happens.

Hi guys,
(@dajeinc, @tachang)
Seems that Vue 3 support hasn't been published to NPM yet. Latest release still 4.2.0 without Vue 3 support.
I fixed this problem by directly installing from GitHub instead of NPM library.
npm i git+https://github.com/Agontuk/vue-cropperjs.git
But hope this gets fixed by @Agontuk by publishing the latest release.
(https://github.com/Agontuk/vue-cropperjs/pull/92)
Hope the above command can help someone till that happens.

v5.0.0 has been published

@Agontuk I'm having same issue with latest from npm

[Vue warn]: Error in render: "TypeError: (0 , _vue.h) is not a function"

still not fixed the issue yet.

Guys, please check the compatibility section in the readme.


add timestamp to EMG API (backwards compatible)

Thanks for the PR! I think we'll want to uniformly include the timestamp for all events (not just EMG) before merging this in. Would you mind updating?
We'll also update the README when this is in.

No prob Scott,
I'll update both.
Jaco
On Tue, Mar 31, 2015 at 7:28 AM, Scott Greenberg<EMAIL_ADDRESS>wrote:

Thanks for the PR! I think we'll want to uniformly include the timestamp
for all events (not just EMG) before merging this in. Would you mind
updating?
We'll also update the README when this is in.
—
Reply to this email directly or view it on GitHub
https://github.com/thalmiclabs/myo.js/pull/8#issuecomment-87822347.

--
Jaco Kruger
Email<EMAIL_ADDRESS>Cell: +61(0)481 084 750
Skype: super.kruger

Hey Scott, not sure if the last commit to this PR was seen 8 days ago...

Woops, sorry! Merging now, thanks again.

Small addition :) but loving the myo more and more...
On Thursday, April 9, 2015, Scott Greenberg<EMAIL_ADDRESS>wrote:

Woops, sorry! Merging now, thanks again.
—
Reply to this email directly or view it on GitHub
https://github.com/thalmiclabs/myo.js/pull/8#issuecomment-90935673.

--
Jaco Kruger
Email<EMAIL_ADDRESS>Cell: +61(0)481 084 750
Skype: super.kruger

Glad to hear it! :)


Background and sprites don't display properly in exported ROM when System Compatibility is set to "Color Only".

Description:
Both the background and the sprites appear glitched upon loading the game. Upon loading, the last 128 tiles of the background's CHR are taken up by dialogue boxes, and all active sprites appear glitched.
How to reproduce the problem:

Create a 256x240 background using your preferred software (preferably one that takes up more than 128 tiles).
Add your background to BB Studio.
Go to your project settings and set System Compatibility to "Color Only"
Export the ROM
Open the exported ROM in a compatible emulator. At this point you should see the graphical issues occur on both the background and sprites.

Expected Behavior:
What was supposed to happen was the entire background would've been displayed properly, with the dialogue boxes being displayed in an entirely different CHR bank. Additionally, the sprites would've displayed properly.

Image 1: The issue in action. Note how the player sprite appears very glitched.
Image 2: The current CHR while this issue is occurring

OS: Windows 11
App version: Alpha Build 1 (prerelease)

Thank you for pointing this out.
The core reason for the bug is that colorOnly mode essentially switches the background compiler code to use a 9th bit of tile index in the GBC - a feature the NES doesn't have.
Thinking about this, it makes little sense to have the three different modes ("mono", "mixed" and "colorOnly") in BB Studio. Maybe in the future we could use the setting for imported project to indicate that slower CPU speed is acceptable and palette handling redundant. But for the moment I think this setting only causes confusion.
So for now, I've removed it in my latest source commit. Essentially my latest change does the following:

The setting is hidden in the settings page
When loading a project, the project setting is overridden to be "mixed"

I believe this should fix the issue. Let me know if there are still problems!
There is a separate issue that at least logo backgrounds should be able to use more than 256 tiles. But this can be achievable with CHR-RAM bank-switching using interrupts rather than the (non-existent) 9th bit for tile indices.


Inaccurate / wrong

1st the path given for the policy can't possibly exist, under computer configuration are only two items, Policies and Preferences. Next the article doesn't state that any extra templates are required so one would normally assume that you're recommending a change to something that is available by default. "Manage updates offered from Windows Server Update Service" is not visible even with most normal templates installed and active... so?
(admin edit: add article metadata for proper linking)

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

ID: 0e5e70e7-fd3f-bbb3-9c24-9f2552f94d6d
Version Independent ID: 0e5e70e7-fd3f-bbb3-9c24-9f2552f94d6d
Content: Use Windows Update for Business and Windows Server Update Services (WSUS) together - Windows Deployment
Content Source: windows/deployment/update/wufb-wsus.md
Product: windows-client
Technology: itpro-updates
GitHub Login: @mestew
Microsoft Alias: mstewart

@alroe118 What article is this feedback in reference to?

There are three possibilities that reference that string:

They all refer to something similar to Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service\
Which very much exists by default on Windows 11 at least:

Unless you're referring to the registry path?
As Vinay noted, please clarify with which of the three articles and specifically what path you're referring to.

I apologize I mistakenly assumed when I clicked the link for feedback that it would be linked to the page.
Here is the URL (Use Windows Update for Business and Windows Server Update Services (WSUS) together - Windows Deployment | Microsoft Learn https://learn.microsoft.com/en-us/windows/deployment/update/wufb-wsus )
Requires updated ADMX templates and the path information has two mistakes in it
As Stated
Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service\
Group Policy: Specify source service for specific classes of Windows Updates
Correct information (note there is no folder named “Manage updates offered from Windows Server Update Service”)
Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Update
Group Policy: Specify source service for specific classes of Windows Updates
Regards,
Alvin Roe
25876 State Route 12
Watertown NY 13601
(585) 314-0946
From: Vinay Pamnani @.>
Sent: Tuesday, April 11, 2023 6:08 PM
To: MicrosoftDocs/windows-itpro-docs @.>
Cc: alroe118 @.>; Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Inaccurate / wrong (Issue #11448)
@alroe118 https://github.com/alroe118  What article is this feedback in reference to?
—
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-itpro-docs/issues/11448#issuecomment-1504188050 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO72MFRRYWKUCZOYP2OBAMLXAXI53ANCNFSM6AAAAAAW2T43TI .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AO72MFSCUMNTIQSXDQXS7GLXAXI53A5CNFSM6AAAAAAW2T43TKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZVALJE.gif Message ID: @.*** @.***> >

Actually not
Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service
should be
Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service\
And the policy to be edited is in the Windows Update folder in the latest ADMX (22H2) that I downloaded yesterday
Regards,
Alvin Roe
25876 State Route 12
Watertown NY 13601
(585) 314-0946
From: Aaron Czechowski @.>
Sent: Wednesday, April 12, 2023 1:01 PM
To: MicrosoftDocs/windows-itpro-docs @.>
Cc: alroe118 @.>; Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Inaccurate / wrong (Issue #11448)
There are three possibilities that reference that string:
https://user-images.githubusercontent.com/26784733/231528934-567935c9-a7fa-4f49-adfd-4fd7310066bc.png
They all refer to something similar to Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service
Which very much exists by default on Windows 11 at least:
https://user-images.githubusercontent.com/26784733/231529432-cd63304b-3e63-4014-a4d2-46389bf6f4a9.png
Unless you're referring to the registry path?
As Vinay noted, please clarify with which of the three articles and specifically what path you're referring to.
—
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-itpro-docs/issues/11448#issuecomment-1505618035 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO72MFTWX5GTXIGOROL7GBTXA3NVVANCNFSM6AAAAAAW2T43TI .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AO72MFWNRBCKBIOP2XXMFADXA3NVVA5CNFSM6AAAAAAW2T43TKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZXXUHG.gif Message ID: @.*** @.***> >

Actually not
Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service
should be
Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service\
And the policy to be edited is in the Windows Update folder in the latest ADMX (22H2) that I downloaded yesterday
And here’s the screen shot from the most recent available ADMX’s from Microsoft
Regards,
Alvin Roe
From: Aaron Czechowski @.>
Sent: Wednesday, April 12, 2023 1:01 PM
To: MicrosoftDocs/windows-itpro-docs @.>
Cc: alroe118 @.>; Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Inaccurate / wrong (Issue #11448)
There are three possibilities that reference that string:
https://user-images.githubusercontent.com/26784733/231528934-567935c9-a7fa-4f49-adfd-4fd7310066bc.png
They all refer to something similar to Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage updates offered from Windows Server Update Service
Which very much exists by default on Windows 11 at least:
https://user-images.githubusercontent.com/26784733/231529432-cd63304b-3e63-4014-a4d2-46389bf6f4a9.png
Unless you're referring to the registry path?
As Vinay noted, please clarify with which of the three articles and specifically what path you're referring to.
—
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-itpro-docs/issues/11448#issuecomment-1505618035 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO72MFTWX5GTXIGOROL7GBTXA3NVVANCNFSM6AAAAAAW2T43TI .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AO72MFWNRBCKBIOP2XXMFADXA3NVVA5CNFSM6AAAAAAW2T43TKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZXXUHG.gif Message ID: @.*** @.***> >

Thanks @alroe118 for clarifying. We try to standardize with the local paths not the Active Directory paths, which is what you're seeing there. If you open gpedit.msc locally, you'll see it doesn't have the Policies or Preferences folders.
While we've had that "unofficial" standard in the past, I'm formalizing it in our internal style guide. Once that private PR merges, this issue will automatically close. Still in draft for review from the team, but something like this:

Thank you for the clarification, makes sense now.
The bigger question is why is it different in the two places but not for me to argue.
Regards,
Alvin Roe
25876 State Route 12
Watertown NY 13601
(585) 314-0946
From: Aaron Czechowski @.>
Sent: Thursday, April 13, 2023 12:11 PM
To: MicrosoftDocs/windows-itpro-docs @.>
Cc: alroe118 @.>; Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Inaccurate / wrong (Issue #11448)
Thanks @alroe118 https://github.com/alroe118  for clarifying. We try to standardize with the local paths not the Active Directory paths, which is what you're seeing there. If you open gpedit.msc locally, you'll see it doesn't have the Policies or Preferences folders.
While we've had that "unofficial" standard in the past, I'm formalizing it in our internal style guide. Once that private PR merges, this issue will automatically close. Still in draft for review from the team, but something like this:
https://user-images.githubusercontent.com/26784733/231818743-7ae5bb3c-89f9-4c83-9aab-4924541d913e.png
—
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-itpro-docs/issues/11448#issuecomment-1507232972 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO72MFSKZRDFFK5ETGYXTT3XBAQRPANCNFSM6AAAAAAW2T43TI .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AO72MFXGW6M6MCYNSB5TYPTXBAQRPA5CNFSM6AAAAAAW2T43TKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZ22GMY.gif Message ID: @.*** @.***> >


ffmpeg.wasm-core fails to build in docker

Describe the bug
Fresh checkout of ffmpeg.wasm-core on main branch n4.3.1-wasm fails to build using bash ./build-with-docker.sh
To Reproduce
git clone git@github.com:ffmpegwasm/ffmpeg.wasm-core.git
cd ffmpeg.wasm-core
bash ./build-with-docker.sh

Error is:
CMake Error: The source directory "/src/third_party/zlib" does not appear to contain CMakeLists.txt.

You seem to be missing step 2 from the README:

git submodule update --init --recursive

Ran the following and the image built just fine for me.

MacOS 12.6.5
Docker Desktop 4.19.0 / Engine 23.0.5


Update README

fix typos, add $copyText example from sample2, close #28

Thanks a lot! 👍

You're welcome!  :)


Accessing flags in a custom component

Hi,
I use ValidationProvider and ValidationObserver for validation of my base form input components. I need to access 'dirty' flag, but $validator.fields is always empty even I have validations rules and they work. How can I access them (in input component or parent, doesn't matter)?
Regards

Oh, I have found it. It can be passed via slot-scopes. Sorry!


why result code is empty

why result code is empty
the front websocket result ： {"type":"setCode","value":""}
and py ：
completion = await stream_openai_response
completion  is empty

Hi, we'll need more information to debug this.

Can you share your backend logs?
Does this happen for one image or all images?

thanks,  this is logs file and image demo
messages_20240408_171908.json

I also encountered the same problem as you, I used a proxy address.
If you are using a proxy address, try adding '/v1' after the address, for example: https://www.xxxxx.xxx/v1

@freshgeek I'm looking for logs from the Python backend server to help you fix the problem.

same problem, I used a proxy address too,result code is empty.

@Srpihot logs would be helpful to debug.

I also encountered the same problem as you, I used a proxy address. If you are using a proxy address, try adding '/v1' after the address, for example: https://www.xxxxx.xxx/v1
this is useful for me 。


Inconsistent results: Windows - ok / Ubuntu - fail

I put together a simple fiddle to test LocalForage. It worked for me in Chrome on Windows. setItem callback never fires for me in Chrome on Ubuntu and I see these console errors in Firefox on Ubuntu:
TypeError: localforage.setItem is not a function

Error: No available storage method found.
  new Error('No available storage method found.'));

Again, here's the fiddle: http://jsfiddle.net/klenwell/5TaX4/
Detailed StackOverflow question here: http://stackoverflow.com/q/25007471/1093087
The only other variable I can think of would be different Internet connections.
This may be a HelpWanted matter. Am I doing something wrong?

Is this still an issue? Should we close it?

Yes, sorry, I'll close. Never figured out what the issue was.


Cant save trade URL's - No install instructions

How are the URL's suppose to be saved when there is no DB file? Also you provide no installation instructions so had to find someone else who have a changed version of this website tell me how to install this through node.js!

Of course there is no installation instructions. This is really, really easy to setup,  and if you have no experience with nodejs you should probably not run this. Stay away from here, and come back when you have some experience.

If you found someone else, be careful of backdoors. The lack of install instructions is intentional.


How to get service with domain name?

https://njump.me/fiatjaf.com service your profile. But https://njump.me/compile-error.net does not service my profile. What is wrong?

The "relays" object in https://compile-error.net/.well-known/nostr.json is wrong, it must be a map of arrays, not just an array. See https://fiatjaf.com/.well-known/nostr.json.

Thanks.


cormorant, cormorant-garamond: init at 3.609

Description of changes

Based on https://github.com/CatharsisFonts/Cormorant. Cormorant Garamond and Cormorant belong to the same project.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I am not sure how alias works under the new by-name scheme. I added the cormorant-garamond definition under all-packages.nix.


i18n: Use the recipient's language when sending outgoing emails.

It appears that our i18n logic was only using the recipient's language
for logged-in emails, so even properly tagged for translation and
translated emails for functions like "Find my team" and "password
reset" were being always sent in English.
Tested manually, but needs an automated test before we can merge.

@timabbott I have pushed my changes here https://github.com/zulip/zulip/compare/master...hackerkid:p11044?expand=1

Merged as b2fc017671d81f604ea785e12a07f008fe010b09, with your changes, thanks @hackerkid!


Draw circles around points with move numbers in them for captured stones

See #6.
This should definitely be the default for the minimalist theme. I'm not 100% sure I want to do the same thing for other themes.

On reflection, there isn't a great way to do this, and I'm not totally convinced there's a great argument for it. If the stone isn't on the board, it shouldn't be on the board! Closing this issue.

This issue has  now been superseded by #15. I've realized that the feature really wanted here is the ability to generate kifu.


update ci to fix macos builds

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

 merge it


Remove deprecated grpc.Dial use, replace with grpc.NewClient

Which issue(s) this PR fixes:

Issue #
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

@Mergify backport v1.6.x


Draft! Kafka 6049 Created TimeWindowedCogroupedKStream

adding TimeWindowedCogroupedKStream options to the cogroup operator
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mjsax The second PR for cogroup SessionWindows to follow shortly

retest this please

Checkstyle error:
Task :streams:checkstyleMain
16:26:42 [ant:checkstyle] [ERROR] /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk8-scala2.11/streams/src/main/java/org/apache/kafka/streams/kstream/internals/TimeWindowedCogroupedKStreamImpl.java:22:8: Unused import - org.apache.kafka.streams.StreamsConfig. [UnusedImports]

retest this please

Java 11 / 2.13 timed out. Other two builds passed.
Retest this please.

Java 8 failed with flaky test KTableKTableForeignKeyInnerJoinMultiIntegrationTest.shouldInnerJoinMultiPartitionQueryable (created ticket for tracking).
Other tests passed. Merging this.


Problem with zoomToFit

I have text type nodes with editable content. When I use the function zoomToFit, the calculation of the box containing the elements seems incorrect.
How can I control this problem?

Hi, @code-dev-pro! Please try the new version 0.9.4, where this problem should be fixed for situation when the data causing changes in node size are stored in node label or extra properties. Otherwise you can always invoke node size and position recalculation manually like this node.ref.recalculateSizeAndPosition().

Thanks for your reply @tokarchyn  ! i will try it.
Thanks a lot !


systemd unit file is missing from repository

I guess it should be here, shouldn't it?

It's in the README and in the Archlinux package.


Plugin functions executed after inline redirection

If a reply contains a plugin function call and an inline redirect, the redirection is done first and the plugin function is called afterwards. This results in an incorrect message context (scope) for the plugin function.
For example:
  + test plugin redirection
  - ^doSomething() okay {@second}
  + second
  - done

The doSomething function is called for the message second, or bluntly the following plugin function:
exports.doSomething = function(cb) {
  console.log('this.message.raw', this.message.raw);
  cb(null, '');
}

will log:
this.message.raw second

Can u change the order in SS processing? Ask Rob if this messes up any
logic.

This is happening because the reply string is not being parsed from left to right, we process the redirect before the custom function, and due to the nature of how the redirect works, it consumes or overrides the origional input.
ProcessTags will need to be refactored and that change is not going to be simple or quick.

Question: if we use instead of the literal redirect {@trigger} a ^topicRedirect(topicname,trigger), would it be the same problem?

This should be good now (v0.10.0)


[SPARK-13811] [SQL] No Push-Down of Constraints-generated Null Filtering of Compound Expressions

What changes were proposed in this pull request?
We generate IsNotNull constraint for compound expressions. However, we should not add extra predicate conditions for these compound expressions. It will add extra costs for query processing. Normally, it will not filter out any row but requires extra processing.
For example,
testRelation.where('a + 'b === 1)

Without this PR, the plan will be like
Filter (((a#0 + b#0) = 1) && isnotnull((a#0 + b#0)))
 +- LocalRelation [a#0,b#0,c#0]

After the PR, constraints-generated null filtering of compound expressions will not be added.
Filter ((a#0 + b#0) = 1))
 +- LocalRelation [a#0,b#0,c#0]

cc @sameeragarwal @nongli @marmbrus
How was this patch tested?
Added a test case for Filter and another case for Join

Test build #52907 has started for PR 11649 at commit 9cba8a3.

@gatorsmile this change makes sense to me, however what are your thoughts on slightly widening the scope of this change and not generating IsNotNull constraints for any compound expression (in constructIsNotNullConstraints)? As you pointed out, I can't think of an optimization that can make use of these non-nullability constraints for compound expressions. Later, we can always extend constructIsNotNullConstraints to infer isNotNull constraints for individual attributes from compound expressions.

Test build #52907 has finished for PR 11649 at commit 9cba8a3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52907/
Test PASSed.

@sameeragarwal True, we can add it back when needing it. Let me directly filter it out in constructIsNotNullConstraints

I guess my question is why we are doing this for filters at all.  It makes sense for joins, but perhaps we should just eliminate that part of the rule.

@marmbrus
Are you saying we should not add null filters for Filter? https://github.com/apache/spark/pull/11372 The original PR shows it can benefit some data sources like orc ? I am not very clear if this is the major motivation. cc @sameeragarwal
In addition, we will still remove the IsNotNull filters for compound expressions from the constructIsNotNullConstraints anyway? Is my understanding right?

In this commit, three parts are done:

removed the IsNotNull constraints for compound expressions
added IsNotNull constraints support for all the BinaryComparison inside Not except EqualNullSafe.
added two more test cases.

Test build #52954 has started for PR 11649 at commit baa2cda.

@marmbrus by adding additional isNotNull checks, we are hoping to generate code that can quickly short circuit the filter condition checks in the generated code: https://github.com/apache/spark/pull/11585

I see.  We should probably comment on that in NullFiltering if that is the intention.  Anytime there are implicit contracts between components like this it makes things harder to reason about.
If we are going to make this general to BinaryComparisions then we should probably also comment there that subclasses are assumed to be null intolerant.

Also, does codegen really need us to add redundant expressions into the query plan?  Can't it just look at the constraints and pick those that are useful for it?

Will add the comments to explain the null intolerant of the BinaryComparisions subclasses.
For avoiding the merge conflicts, will not touch the code in NullFiltering, since @sameeragarwal will rewrite the whole function for inferred predicate push down. @sameeragarwal Could you add a comment there? Thanks!

Test build #52958 has started for PR 11649 at commit 55155a7.

Test build #52954 has finished for PR 11649 at commit baa2cda.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52954/
Test FAILed.

@marmbrus the reason for adding these inferred filters in the logical plan is because we currently only propagate constraints in the logical plan (and they are not directly accessible during code generation).
In theory, we can propagate constraints in the physical plan instead but that'd be slightly unclean (since we'd then need to add propagation logic for all individual physical operators). @nongli, @yhuai and I briefly discussed the pros and cons of the 2 approaches yesterday and then decided to go with the current approach.
PS: Added comments in https://github.com/apache/spark/pull/11665.

Test build #52958 has finished for PR 11649 at commit 55155a7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52958/
Test FAILed.

I guess I would probably propagate them during planning (i.e. when you are creating the physical Filter operator) since its not really an optimization to add them to a logical plan, but instead its a physical concern that things execute more efficiently for that one specific operator if they are present.
The nice thing about this is then other operators that don't benefit from them (think PhysicalOperation) don't necessary need to see them.

I like the idea of @marmbrus
Obviously, our outer join elimination is using null filtering constraints of compound expression. I think this PR has to wait until the other related PRs are merged.

I do see the benefits of propagating constraints in the physical plan but if I understand correctly, wouldn't we have problems with joins?
For e.g., if a join has a condition on (t1.a === t2.a && t1.a == 5), just inferring the constraints/filters during physical planning wouldn't give us the liberty of pushing the additional isNotNull(t1.a), isNotNull(t2.a) and t2.a === 5 filters all the way to the leaf nodes on either side of the join in the query plan (there'd be no PredicatePushdown rules).

As mentioned in another thread, we do not explicitly add the inferred predicates(including isNotNull) into the conditions always. We just store them in the node. So far, we only do a bottom-up constraint propagation. That is not enough. We need a way to push down the local inferred predicates as low as possible.
I am not sure what is the best way to implement it. I guess we need such a class parameter for storing constraints in each case class?

The benefit of adding those extra filters in the optimizer is that the predicate pushdown will just work.

I see, the join case makes sense to me.  I like this solution.

LGTM


Issuing credits to tsuzumik

Issue 10000 credits to @tsuzumik.

 Follow up
On Monday, 18-Mar-24 01:20:50 UTC by Gov4Git dev
Issued 10000 credits to member @tsuzumik.


Upgraded 2.3 to 2.4 - now producing bad DXF

I was previously writing DXF files with version 2.3 but had issues that I could not identify - issues that prevented some DXF / CAD readers from displaying the file.  After reading the changelog for 2.4, I guessed the transparency was the problem.  Tried with version 2.4 - now none of my DXF / CAD tools can open the file. Those tools are QCAD, and CADDirect 2021.   I noticed the table headers 'AcDbSymbolTable' in the 2.4 version don't have any 70  then another integer following - the way the earlier version did.

First things first. This is not an issue with the 2.4 version but with the addition of the layer states in the latest commit, If you need to know which release correspond to which source code check the Tags or the Releases section.
I do not know how many times I being looking into this just to find out it was as simple as, in the BeginTable of the DxfWriter instead of writing "this.chunk.Write(102, "}");" I wrote "this.chunk.Write(102, "{"); as simple as messing up the curly brackets. I will upload a fix for this in a quick update. Funny thing is that AutoCad didn't show any problems.

Thank you for looking into this - and thank you for providing this excellent programming tool with examples that cover just about everything.

Resolved in 2.4.1


Theme sync may cause render loops across different browser tabs

[X] I have searched the Issues to see if this bug has already been reported
[X] I have tested the latest version

Steps to reproduce
Clone reproduction repo. Basically npm create flowbite-react@latest.

Run dev server
Open 2-3 copies in different tabs
Adjust a copy of one window's performance tab to use 6x throttling
Spam the light / dark switcher

Current behavior
The tabs are reading, rerendering, and causing other events to communicate back and forth probably based on local storage hooks. This can cause them to hit infinite loops in all tabs.

Expected behavior
No infinite loops.
Context
The reproduction repo here is very silly. We found this bug in our real application, which renders a number of complex SVG's and other expensive operations. A user had just two tabs open, and was able to cause it with a simple double click on the theme switcher.

The persistence of the theme sync between tabs was created in local storage as a result of #610.
There an argument for not even having a local storage key in #546.

I wonder if there's neutral ground to be established by adjusting theme mode auto. Perhaps while it's on auto, it just reads the browser preference only, and never even enables the local storage hooks. Maybe there's an option opt in or out of the local storage hooks?

@SutuSebastian Is there any particular direction the Flowbite team might prefer? If I find hours, I could start a PR for discussion.

Feel free to contribute with whatever u can 🔥

No real code yet, but just reviewing what it currently does I have some questions:

Why is there both a local storage watcher and an event watcher?
I considered using a debounce around handleSetMode, but in automated scenario, it's possible this could break tests. They could test the page, swap dark, test the page, and swap again within the debounce timeout.


featmtmv support paimon partition refresh(#43959,#44911)

pick: #44911 #43959
only pick code about paimon, not pick some code about MTMV REFRESH

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Avoid netlify offline mode in deployment

🚩 Result: success
🧪 Preview: link
🕯 Lighthouse:

Audit

Desktop (home)

Desktop (page)

Mobile (home)

Mobile (page)

🖼 Screenshots:

Chrome
Firefox


OrderBy on multiple column ThenBy not implemented

Hi,
I test on winPhone8 an orderBy with multiple column but function ThenBy isn't implemented.
Can you implement this function?

ThenBy has been added!


Text to Speech conversion enhancement

Is your feature request related to a problem? Please describe.
The website may have an ad-pop blocker extension or not support the Web Speech API.
Describe the solution you'd like
So for this case, I would like to modularise the code and add error handling to ensure the user understands the issue if something goes wrong.
Describe alternatives you've considered
An alternative would be to consider a different API for the text-to-speech conversion.
Additional context
NA
What problem is this feature trying to solve?
Code modularity and error handling in case the API does not happen.
How do we know when the feature is complete?
It will be complete if the application remains working after the required modifications.

Hi @Sulagna-Dutta-Roy, could you please look into it and assign it to me as a part of the GSSOC'24 program.

Is this issue related to #111 ?

Yes

Once this issue is closed, as a follow up issue I would like to add a feature that allows the speech to be paused and resumed as per the user's convenience.


Skeleton tracker C++ API

Hi Daniil-Osokin,
I hope you are going fine :-)
I wanted to ask if there is any implementation of the skeleton ID tracker on the C++ API, as there it is on the Python API ?
Thank you for your answer and have a nice day

Hi! This is Python-only feature.

Hi :-)
I understand, thank you for your answer


Package cl is deprecated

On Emacs 27+ we get the warning Package cl is deprecated.
It seems cl-lib is being used for a handful of things here and there. It would be good to remove its usage. I'd still like to maintain backwards-compatibility with at least Emacs 26, though

cl-lib will work on version 24.3 and above. Compatibility is not a big issue here.

Hi @shiorid !
What I meant here is that I would like to eliminate the deprecation warning on Emacs 27+, doing so in a way that is backwards-compatible with Emacs 26-.

IIRC this was fixable by add (require 'cli-lib) to the top of the package.

@DaniruKun  we already have (require 'cl-lib) in there - Do you mean it needs to be the first line of the file?
If you have any reference I could read on I'd appreciate it

cl-lib is not deprecated. cl-lib is the replacement for the deprecated cl (which elcord does not use). As such, elcord is not causing the warning to be emitted and this issue should be closed. If you want to find out who's causing the deprecration warning you can call the following:
(require 'loadhist)
(file-dependents (feature-file 'cl)

@Zulu-Inuoe The matter is explained here: https://github.com/doomemacs/doomemacs/issues/3372#issuecomment-643567913


How to use GDALRasterTileDataSource ?

Hi all,
I have some geotiff data layers that need overlay to mapview, and I found the GDALRasterTileDataSource class in the source code.
However, it is not compiled in the public release. Is there any way I can use it?
Thank you.

Hi. GDALRasterTileDataSource is not actively maintained. We have only briefly tested it on Android and it requires externally built GDAL .so file. As much as I remember, getting GDAL work on Android was quite a lot of tinkering and we do not have any instructions how to do it.


How I can identify Flowchart(shapes) using minecart?

I am using [minecart][1] library for reading pdf file. I am able to get the cords of the shapes but i am unable to identify the shape. please help me .
actually I am doing to identify flowchart from pdf so am research upon it. Flowchart has made by shapes can i find shapes from pdf?

i think we have the same probleme

did you resolve the probleme ????????????

This is separate functionality from minecart. Sounds like you need some kind of computer vision algorithm, since PDF only indicates shape coordinates, not any semantic info


Add sorting and filtering back into ember-models-table for submissions

#Notes
Award, repository, and title columns are now searchable and sortable. This was done by adding computed fields to submissions - arrays of strings - containing the text for each of those categories, and setting the relevant column's propertyName to that property.
To Do

[x] Confirmed that OAP repocopy sorting + filtering isn't a hard requirement, as it's prevented by the removal of the deposits attribute from the submission model.
[x] Regression-tested

LGRTM pending tests


Materialize does not support "theme_contrast_mode"

When this option is enabled in user preferences, it has no effect on any of the Materialize themes. It'd be nice if this could also affect the extended themes from Materialize.
"material_theme_contrast_mode": true

"material_theme_contrast_mode": false

I'm working on a major release that will be pushed by the end of this week. The original creator of the Material theme added in some new effects, so I've been recoloring a bunch of animation frames for each theme. The new release will have those effects added in as well as material_contrast_mode.

I like the sound of that. Much appreciated!

I've just finished this feature, and I have pushed the changes to Package Control. Materialize should automatically update for you within a couple of hours (or you can just manually download the latest version if you want it right away). If you are unable to use the new feature, please reopen this issue. Thanks for your patience!


Fix for #58

What did I do?

Analyzed the code and read the stack traces of the error on generate argument.
Remove the includedPaths from AnalysisContextCollection in protocol_analyzer.dart(Line 46).

What Do I need?

I have updated the ticket with logs and would like to review it and merge this if it makes sense.

Additional Info

This will fix #58

Closing this and recreating with dev branch

Thanks for all your hard work, wasn't easy to get dart and flutter running from Windows!


Multi release drafter

Modularizing release drafter, based on a fork of release-drafter. The intent is to open this as a PR once I've tested out the flow in the guardrail repo, but this should give us the same sort of release automation that we currently have, but for the different modules.

This might need a bit of tweaking, but my test repo seems to suggest this'll just work.
Gonna use my fork of release-drafter until the changes are merged upstream


one more crash due to typing error, no generics involved, low priority

const none = 0

type

  DelaunayTriangulation = object
    i: int
    error: int

  PointList = seq[int]

  Vertex = object
    p: float

proc removeWorkingPoints*(this: var DelaunayTriangulation; polygon: PointList) =
  var processedEdges: hashSet[Edge]
  if this.error != none:
    return
  var verts: seq[Vertex] = this.gatherWorkingVerts(polygon)

nimsuggest --stdin t.nim

chk t.nim:1:1

chk	skUnknown		Error	/tmp/hhh/t.nim	15	6	"internal error: assignment requested for type: Error Type"	0

Problem seems to be lowr case hashSet.

This internal error was removed so I think it's ok now. Reopen if still a problem.


 Experimental legacy.buildSsrCjsExternalHeuristics and ssr.format: "cjs" are going to be removed in Vite 5.
5:56:50 PM:     Find more information and give feedback at https://github.com/vitejs/vite/discussions/13816.
5:56:50 PM:
5:56:50 PM: vite v4.5.1 building SSR bundle for production...
5:56:50 PM: transforming...
5:56:50 PM: src/routes/+layout.svelte
5:56:50 PM: export const prerender will be ignored — move it to +layout(.server).js/ts instead. See https://kit.svelte.dev/docs/page-options for more information.
5:56:52 PM: ✓ 115 modules transformed.
5:56:52 PM: rendering chunks...
5:56:53 PM:
5:56:53 PM: (!) Experimental legacy.buildSsrCjsExternalHeuristics and ssr.format: "cjs" are going to be removed in Vite 5.
5:56:53 PM:     Find more information and give feedback at https://github.com/vitejs/vite/discussions/13816.
5:56:53 PM:
5:56:53 PM: vite v4.5.1 building for production...
5:56:53 PM: transforming...
5:56:54 PM: ✓ 83 modules transformed.
5:56:54 PM: rendering chunks...
5:56:54 PM: computing gzip size...
5:56:54 PM: .svelte-kit/output/client/_app/version.json                              0.03 kB │ gzip: 0.05 kB
5:56:54 PM: .svelte-kit/output/client/.vite/manifest.json                            4.06 kB │ gzip: 0.61 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/assets/0.d908d468.css          44.01 kB │ gzip: 7.38 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/chunks/stores.2f35f87a.js       0.24 kB │ gzip: 0.17 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/nodes/3.98bb3647.js             0.83 kB │ gzip: 0.48 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/nodes/5.484d7199.js             0.92 kB │ gzip: 0.50 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/chunks/theme.e6db67f9.js        1.37 kB │ gzip: 0.73 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/nodes/2.dc8c6a74.js             1.78 kB │ gzip: 0.91 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/nodes/1.d22bbaaa.js             1.88 kB │ gzip: 0.80 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/chunks/singletons.0bac7f08.js   2.91 kB │ gzip: 1.50 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/entry/app.b6d40f0a.js           6.65 kB │ gzip: 2.43 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/chunks/Tag.e7d9ee10.js          9.59 kB │ gzip: 3.96 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/chunks/index.58156986.js       11.14 kB │ gzip: 4.73 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/chunks/Blogs.f5d38643.js       12.38 kB │ gzip: 4.74 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/nodes/0.5403a17e.js            14.68 kB │ gzip: 5.29 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/entry/start.d07c6e53.js        25.31 kB │ gzip: 9.99 kB
5:56:54 PM: .svelte-kit/output/client/_app/immutable/nodes/4.25ec447f.js            26.36 kB │ gzip: 7.91 kB
5:56:54 PM: ✓ built in 972ms
5:56:54 PM: node:internal/event_target:1062
5:56:54 PM:   process.nextTick(() => { throw err; });
5:56:54 PM:                            ^
5:56:54 PM: Error [ERR_MODULE_NOT_FOUND]: Cannot find package "devalue" imported from /opt/build/repo/.svelte-kit/output/server/index.js
5:56:54 PM: Did you mean to import<EMAIL_ADDRESS>5:56:54 PM:     at new NodeError (node:internal/errors:405:5)
5:56:54 PM:     at packageResolve (node:internal/modules/esm/resolve:916:9)
5:56:54 PM:     at moduleResolve (node:internal/modules/esm/resolve:973:20)
5:56:54 PM:     at defaultResolve (node:internal/modules/esm/resolve:1193:11)
5:56:54 PM:     at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:403:12)
5:56:54 PM:     at ModuleLoader.resolve (node:internal/modules/esm/loader:372:25)
5:56:54 PM:     at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:249:38)
5:56:54 PM:     at ModuleWrap. (node:internal/modules/esm/module_job:76:39)
5:56:54 PM:     at link (node:internal/modules/esm/module_job:75:36)
5:56:54 PM: Emitted "error" event on Worker instance at:
5:56:54 PM:     at [kOnErrorMessage] (node:internal/worker:314:10)
5:56:54 PM:     at [kOnMessage] (node:internal/worker:325:37)
5:56:54 PM:     at MessagePort. (node:internal/worker:225:57)
5:56:54 PM:     at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
5:56:54 PM:     at exports.emitMessage (node:internal/per_context/messageport:23:28) {
5:56:54 PM:   code: "ERR_MODULE_NOT_FOUND"
5:56:54 PM: }
5:56:54 PM: Node.js v18.19.1
5:56:54 PM:
5:56:54 PM: "build.command" failed
5:56:54 PM: ────────────────────────────────────────────────────────────────
5:56:54 PM:
5:56:54 PM:   Error message
5:56:54 PM:   Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
5:56:54 PM:
5:56:54 PM:   Error location
5:56:54 PM:   In build.command from netlify.toml:
5:56:54 PM:   npm run build
5:56:54 PM:
5:56:54 PM:   Resolved config
5:56:54 PM:   build:
5:56:54 PM:     command: npm run build
5:56:54 PM:     commandOrigin: config
5:56:54 PM:     environment:
5:56:54 PM:       - DEPRECATED
5:56:54 PM:     publish: /opt/build/repo/build
5:56:54 PM:     publishOrigin: config
5:56:54 PM:   functionsDirectory: /opt/build/repo/functions
5:56:55 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
5:56:55 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
5:56:55 PM: Failing build: Failed to build site
5:56:55 PM: Finished processing build request in 29.757s

Please find the above netlify logs and suggest a fix i am not able to push new markdown files into the blog

Hello,
All libraries have changed since I released this, Svelte, Sveltekit, Netlify, and several others. From the message it seems that one of the libraries has DEPRECATED, but I'm not sure which one. This was just a sample code to be used as a reference, not a library, so I haven't updated it. Sorry about that.

@akiarostami I have fixed the issue, infact i have upgraded all the packages to their latest verisions and it is working well in local as well as in production, I have created a gist which specifies changes in two files and upon doing this it will run smoother than before,
https://gist.github.com/rgarimella0124/0fef7c9d105e44d3822a37ff961111ed
I am not able to create a PR due to some restrctions on the repo. Kindly update the two files and we can close this issuw

@rgarimella0124 Done, and thank you!


[BUG] Composition of many in edge cases deviating singulars derived leading to type errors

Is there an existing issue for this?

[X] I have searched the existing issues

Nature of Your Project
TypeScript
Current Behavior
Given the following:
service test {
    entity TestEntityEndingOnses {
        key id            : String;
            testProperty1 : Composition of many TestEntityEndingOnses
    }
}

leads to the following being generated:
// This is an automatically generated file. Please do not change its contents manually!
import * as __ from './../_';
export default { name: 'test' }
export function _TestEntityEndingOnsAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
  return class TestEntityEndingOns extends Base {
        id?: string;
        testProperty1?: __.Composition.of.many<TestEntityEndingOnses>;
      static readonly actions: Record<never, never>
  };
}
export class TestEntityEndingOns extends _TestEntityEndingOnAspect(__.Entity) {}
Object.defineProperty(TestEntityEndingOns, 'name', { value: 'test.TestEntityEndingOnses' })
export class TestEntityEndingOnses extends Array<TestEntityEndingOns> {$count?: number}
Object.defineProperty(TestEntityEndingOnses, 'name', { value: 'test.TestEntityEndingOnses' })

Where in the line export class TestEntityEndingOns extends _TestEntityEndingOnAspect(__.Entity) {} it should be ...extends _TestEntityEndingOns<--....
Expected Behavior
It would have been expected that the generated types would be consistent and not incorrect.
Steps To Reproduce
See above.
Environment
- **OS**: MacOs
- **Node**: 20.12.2
- **npm**:
- **cds-typer**: 0.20.2
- **cds**: 7.8.2

Repository Containing a Minimal Reproducible Example
No response
Anything else?
You can work around that by specifying the @singular on the respective entity.

Hi Tobias,
thanks for this report! I have prepared a fix which you can try on your actual model before I release it, if you would like.
Best,
Daniel


Update all SLI providers to support the range.step and range.aggregation field

Goal
In https://github.com/keptn/lifecycle-toolkit/issues/1735, a new field for declaring the step interval is available in the KeptnMetric struct.
All the existing metric providers shall make use of this field if their APIs allow that.
Dependencies

https://github.com/keptn/lifecycle-toolkit/issues/1735

Closing this as completed in
https://github.com/keptn/lifecycle-toolkit/pull/1801
https://github.com/keptn/lifecycle-toolkit/pull/1812
https://github.com/keptn/lifecycle-toolkit/pull/1842


Satyam1

Issue Id you have worked upon -
#152
Briefly explain your program logic -
Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight).
Note:

Note that in some languages, such as Java, there is no unsigned integer type. In this case, the input will be given as a signed integer type. It should not affect your implementation, as the integer's internal binary representation is the same, whether it is signed or unsigned.

In Java, the compiler represents the signed integers using 2's complement notation. Therefore, in Example 3, the input represents the signed integer. -3.

Screenshots(Attach 2 screenshots of your own input and output) -
Attach here

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied I can be banned from the repository.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@satyam878,
Kindly add question as a first comment to your code

I have added the question too.


Transform tool: input for multiple pairs of coordinates

Probably a long textarea replacing the two input boxes - with parsing of text done in JavaScript via regular expression.
Inspiration in: http://cs2cs.mygeodata.eu/
The "Switch X-Y" and "Include input coordinates" is a good idea as well.

First version of regular expression to be used for the coodinate extraction:
https://regex101.com/r/jR1uN1/2

Geodetic and GPS are not yet picked, right?

No, not yet. Might be a bit difficult to do all this with one regular expression.


SVG optimization with tools like svgo

Hi @Niels-IO,
first of all, thanks for all your efforts with next-image-export-optimizer. It’s an excellent tool.
I have one question regarding support for SVGs: do you plan to support optimization with tools like svgo? The use case is the following: I have an unoptimized SVG image that was created by a design tool like Adobe Illustrator or Xara Designer Pro X and simply copy it into my NextJS project. next-image-export-optimizer could then use a tool like svgo internally to optimize the image, usually reducing the SVG size by 30% to 70%:
svgo ./app/header/home-logo.svg -o ./app/header/home-logo-min.svg

home-logo.svg:
Done in 59 ms!
20.011 KiB - 60.5% = 7.912 KiB

Currently, I manually optimize SVGs with svgo and then utilize the pass-through functionality of next-image-export-optimizer for SVGs. Automating this process would be highly beneficial.
I'm also writing this because in one of the future versions, you plan to optimize SVG images to WebP or leave them unprocessed (https://github.com/Niels-IO/next-image-export-optimizer/issues/184), which is a breaking change. IMO, the default use case should be optimizing the SVG image and leave it in the same format as vector graphics tend to be smaller than rasterized images (even if webp is awesome when it comes to compression vs. image quality).
I would let the end user decide if they want to optimize an SVG to webp (via a global setting and/or per-image). The default setting would optimize the SVG with svgo, but would not change the format. This way, you would not introduce a breaking change, there would only be one optimized SVG file per image that is served for all requested sizes (we wouldn't need a source set for this). And users could opt in when they really want to convert SVGs to webp images.
I look forward to your thoughts on this.
Have a great day,
feO2x

Hi @feO2x,
This is an interesting idea! I never heard of this package. What is your experience with the quality of the output from svgo? Will there be artifacts or any other misrepresentations of the original shape?

I've never had any issues - artifacts should not be a problem at all because vector graphics usually do not contain rasterized elements. I also have never experienced any deformed/changed elements. svgo mostly removes white space and simplifies elements.


Fixing spelling mistakes and removing whitespace.

I tidied up a few spelling mistakes and changed altspace to Altspace where needed.
This commit is quite large as I also have a plugin that removes whitespace at the end of lines and my preference settings is for spaces over tabs.
If you do not want to accept the commit I can make the spelling fixes without the additional removal of whitespace etc.
Please just let me know.

Thanks for the spelling fixes Fasani, but please use tabs, since that's our code style.

I will fix them without any other changes, makes more sense.

@brianpeiris ready for review.

Awesome, looks good to me. Thank you!


[5.3] Policy method names transformation

Hi
Today i made this pull request https://github.com/laravel/framework/pull/15339
It transforms a permission or ability containing a dot (example: "article.edit") to a camel case method name on a Policy class.
It got closed and the answer isn't convincing.
After all the current state will result in an invalid php method name.
And why i'm not allowed to name my abilities or permissions with a dot in it ?
Edit: please don't just close the issue without giving an explanation, if i'm doing something wrong i would appreciate it if you correct me. But i sincerely and humbly think that i have a valid point of view on this one.

IMHO the dot notation isn't the best one to use when naming your permissions or abilities, simply because it specifies an hierarchy so you would have root.child.leaf for example, class.method.
And in your test you used it like update.dot that would turn into updateDot this is confusing because it's inconsistent with how other things work on the framework, so explicitly naming it updateDot makes more sense.


FaceBook/LinkedIn authentication for ASP.NET Core WebAPI

I've created a ASP.Net Core MVC project with individual user accounts and added FaceBook authentication. Now I also want to use this FaceBook authentication for my WebAPI, any samples on how to do this? Also interested in extending this with LinkedIn authentication.

@blowdart do we have any concept docs for this FAQ?

Nope, this would really mean the browser doing the oauth pieces using their SDK, and then straightforward JWT. Our exchanging for a cookie, which is what we do for forms isn't probably what you want.

It means you need a token service which performs the federation to facebook, but then issues a token for your own API.

@blowdart alright, I'm trying to create a WebAPI that will be consumed by a native/Xamarin mobile app. So as I understand, the way to go is do Oauth client side with Facebook/LinkedIn SDK and than JWT authentication with my Web API?

You need a token service for you APIs and when the user logs into it via the browser it supports facebook logins. IdentityServer4 supports that scenario: https://github.com/IdentityServer/IdentityServer4

Yup. As @brockallen says Identity Server does the work for you. I'd strongly recommend looking at that, rather than trying to roll your own. Identity Server does the auth & validation, and then issues you a token for your own app, rather than doing it in javascript, which would be the alternative.

@blowdart @brockallen @leastprivilege but if we use IdentityServer, our app would no longer get the original Facebook token, so we couldn't query the Facebook API for additional stuff etc. It would also mean, that the app must use a webview-based login screen instead of a native one (because IdentityServer is displaying it), right?
how would this work if I wanted to have a native login screen and keep the facebook token in my app - e.g. like the Spotify app (at least I think it's a native screen :smile:):

If the user enters username/password, I would call my IdentityServer4 token endpoint with the "resource owner password credentials grant" and would get my own token, right?
But with the Facebook Login button, my native app would start the login process and it would get back the facebook access token. It could now call the Facebook API etc.
To call my own API, could I use the token endpoint of IdentityServer4 to exchange the token? Would the following flow be possible/secure:

native app starts Facebook Login process and aquires valid facebook access token
native app sends request to IdentityServer4 token endpoint with "grant_type=password&username=external:facebook&password=facebook-access-token".

the username would be a reserved name just for this purpose
the alternative would be a custom grant_type

IdentityServer4 has the same facebook app credentials as the native app and validates the token
IdentityServer4 looks up a user account with the given facebook userid
IdentityServer4 returns a new access token
native app sends the access token to my backend API

You will still need to use a browser flow so the user can login to facebook. IdSvr becomes the client of facebook and you can do whatever you want to there w/ the FB token.

You will still need to use a browser flow so the user can login to facebook. IdSvr becomes the client of facebook and you can do whatever you want to there w/ the FB token.

Thanks for your answer, Brock! I have a few more questions and I would really appreciate further feedback from you!
My main concern was that web UIs in native apps don't share cookies with Safari (iOS) or Chrome (Android), so users would have to enter their Facebook password again (which is really annoying). The native Facebook SDK would have allowed to use "app switching" to authenticate directly with the installed Facebook app and only fallback to a web view if it's not installed.
However, I've just read that iOS 9 introduced the "Safari View Controller" which does share cookies with Safari. Seems like even the Facebook SDK now uses this model by default.
Android seems to have a similar model with "Chrome Custom Tabs" which is supported since 4.1 (Jelly Bean) and Chrome 45.
So it seems like going with a web UI is ok!
I still would like to have one native screen (more beautiful, I don't want to open the Web UI popup immediately, ...) that looks like this:

Does IdentityServer4 have a built-in parameter (e.g. "provider=facebook") in its authorize endpoint to immediately start the authentication process with this provider or would I have to implement this myself?
This would be my updated flow:

Native app displays native screen with buttons (see above)
User clicks on "Connect with Facebook"
App opens Web UI and calls IdentityServer4 authorize endpoint
IdentityServer immediately redirects to Facebook
User authenticates with Facebook and authorizes the app
IdentityServer gets the token
IdentityServer looks up the user in its database (based on facebook user-id). If none found, it may immediately create one
IdentityServer does another Facebook API call to exchange the short-lived token with a long-lived token (60 days) and stores it e.g. as a claim

Facebook tokens aquired by native apps are long-lived (valid for 60 days), tokens aquired by web apps (like IdentityServer) are short-lived.

IdentityServer creates its own token and adds the facebook access token as a claim to its token.
IdentityServer sends its token to native app
The native app can now use the IdentityServer-token to call our backend API and the facebook access token to call the Facebook API

One thing I'm concerned about is how the Facebook access token will be refreshed in this scenario. Since the app now only requests IdentityServer tokens, there wouldn't be any further calls to Facebook, right?
Would I have to extend the IdentityServer token endpoint to also periodically fetch new Facebook access tokens when new IdentityServer tokens are aquired?

Or should the native app refresh the facebook access tokens by calling the Facebook API directly? This way, IdentityServer probably wouldn't even have to store them?!

My main concern was that web UIs in native apps don't share cookies with Safari (iOS) or Chrome (Android)

Depends. You can use the in-app browser tab. I'm on holiday so I'll get in trouble if I spend too much time on the issue tracker, but search for Dom's securing mobile apps video from NDC Oslo this past summer.

no worries, enjoy your holiday!!! :smile:

I guess, I found it. Thanks!
Authentication & secure API access for native & mobile Applications - Dominick Baier - in case someone else is interested

I'm also working on a similar problem. I'm using JWT as my app's authentication transport method, and the users get one after signing in with their username and password.
On the other hand, they can also use Facebook to authenticate.
FacebookAuthenticationMiddleware does a nice work validating Facebook's access_token and also populating the user claims with it. It does almost everything here. There's also other validation steps (like the state parameter) going on here.
My main issue is that I'd need to redo (ahem, copy and paste) all your work in order to implement a /token/facebook or similar endpoint which would receive the access_token (instead of the username and password) and issue the JWT. I've seen an implementation use the Facebook .NET SDK to validate, but for starters it doesn't target the Core framework.
I thought about writing a middleware that would manually call Facebook authentication but I can't make it work. The AuthenticateAsync call throws InvalidOperationException: No authentication handler is configured to authenticate for the scheme: Facebook:
if (context.Request.Path.Equals("/signin-facebook", StringComparison.Ordinal))
{
    var user = await context.Authentication.AuthenticateAsync(FacebookDefaults.AuthenticationScheme);
}

Look at the Individual Auth template in VS where you can log in with OAuth providers (Facebook) or username and password. If you already have the logic to issue JWTs for user logins, you should be able to use the existing middleware to log in and then issue a JWT from there. See https://github.com/aspnet/Templates/blob/dev/src/Rules/StarterWeb/IndividualAuth/Controllers/AccountController.cs#L149-L234

Thanks for your reply! I looked at it but I think it's too tied into how
the template sets up authentication. For example, I'm not using Identity
but only the jwt authentication middleware.
My solution for now is to get an access token in the client side using the
Facebook SDK. Then validate it with a custom code derived from
FacebookHandler code and generate the jwt.
On Mon, Aug 29, 2016, 18:51 Chris R<EMAIL_ADDRESS>wrote:

Look at the Individual Auth template in VS where you can log in with OAuth
providers (Facebook) or username and password. If you already have the
logic to issue JWTs for user logins, you should be able to use the existing
middleware to log in and then issue a JWT from there. See
https://github.com/aspnet/Templates/blob/dev/src/Rules/StarterWeb/IndividualAuth/Controllers/AccountController.cs#L149-L234
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Security/issues/900#issuecomment-243268594,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeg9EyKxBBDtPFOn55fNl6vZF43j0CUks5qk1RCgaJpZM4JLi8j
.

Hi everybody! I have the same concerns web UI vs native UI with "resource owner password credentials grant" and social login. As I understand web UI is recommended way. What is your experience going one or another way?

Could anyone please explain me why keeping OAuth token and working with it without  JWT layer was never considered as an option in this thread?

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.

Hi there, you say there is no action planned, but a planned action could be writing a doc on how to answer the question WITHOUT using the web ui, but the native SDK ones, which IS the way to go. Actually the only answer is to create a custom endpoint which receives the provider specific data, uses the existing middlewares to validate them, store them, and exchange them for a valid app's JWT.
It is a common problem, so it needs a common answer.
See my question here https://stackoverflow.com/questions/44523234/how-to-authenticate-to-a-custom-oauth2-server-using-an-existing-facebook-login-t

@softlion sorry for the delay, I was traveling. We have some work planned for our 2.1 version that should make it easier to use OIDC for Web API auth.

What is OIDC ?
I tried the approach I described and it works fine. Validated the signed jwt tokens using google and Facebook sdks.

What is OIDC ?

OpenID Connect: http://openid.net/connect/


Not working with Mangadex API >= 5.4.1

From Mangadex:
⚠  Deprecated
Deprecate Chapter.data.attributes.{hash, data, dataSaver} fields
They will be accessible only through /at-home/server endpoint after the transition period.
We will keep it present on /chapter based endpoints for 1 week from today after which that information will be entirely gone from any other endpoint.

Since this changes breaks the current script, i need to rewrite it to use the new "at-home" endpoint.
I will also overhaul the whole script to remove unnecessary pieces.
Expect the script not to work for a few days until i fix everything.

fixed with version 2.0.0


Added JS

Mainly since I needed it to test that my bookmarklet would actually load.

I created tests to make sure it works as intended.
I added a single method to the Browser class, documented it.

Allows you to do something like:
browser.inject "http://localhost:3001/some_js.js", (err, browser)->
  # Callback is called as soon as the script tag fires the `load` event
  # An error is passed if the script tag fires an `error` event or
  # if the script appending fails

If you have a bookmarklet to test, you can use browser.evaluate.
Related #170.


⚠ Bofrost.es has degraded performance

In ce9d91e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1631 ms

Resolved: Bofrost.es performance has improved in 96293d1 after 6 minutes.


Update GlobalResources.resx

Summary
Copyright in mails sent to friends, friend requesrts etc was 2013 hard coded. No [portal]

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

[year] isn't one of the tokens that's supported for emails:
https://github.com/dnnsoftware/Dnn.Platform/blob/a977d93170b6f5285fc6b753577b248fd88af522/DNN Platform/Library/Services/Social/Messaging/Scheduler/CoreMessagingScheduler.cs#L135-L143
Once you add year into that list, this change looks good to me, thanks!

Ok, I need a little help here. Because, I figured I'd add :
template = template.Replace("[YEAR]", getFullYear);
But there is nog such thing as getFullYear. And I don't find any documentation where/how I can get the correct class (or whatever it is called. Sorry, I am a marketeer)

@Tychodewaard I went ahead and added the C# change.  I've asked for a couple of reviews so we can get this integrated.  Thanks!


Climate Data is way off vs their site.

Climate numbers are off (vs their site). Looks like elevation might play a factor here. Anyway to get that incorporated? Our elevation here is 6276 (feet). I think other weather apis send it automatically. Climacell must have it automatically when I typed in my address.

The sensors reference time is UTC.
What is your timezone?
Thanks, bye
Renato

currently -5 from utc

Climate numbers are off (vs their site). Looks like elevation might play a factor here. Anyway to get that incorporated? Our elevation here is 6276 (feet). I think other weather apis send it automatically. Climacell must have it automatically when I typed in my address.

Thank you for your reporting.
Let me investigate.
Renato

Climate numbers are off (vs their site). Looks like elevation might play a factor here. Anyway to get that incorporated? Our elevation here is 6276 (feet). I think other weather apis send it automatically. Climacell must have it automatically when I typed in my address.

Can i be cheeky and get your yaml for your weather card?


Update documentation and add sample file

Documentation:

Add information about return value of NewSheet()
Minor documentation language fixes
Samples:
Added sample go file for dumping a XLSX file to the console

Thanks for your pull request. I suggest that use Godoc examples instead of the single sample file, that can be displayed as package documentation and that are verified by running them as tests. They can also be run by a user visiting the godoc web page for the package and clicking the associated "Run" button.

@xuri: The sample requires an input XLSX file. That's why it can't be run on godoc.