BTC is going places

BTC is going places

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 rtfs.hu has exceeded the max emails per hour (184/150 (122%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext1.iad.github.net ([<IP_ADDRESS>]:35732 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by cp5.ezit.hu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.88)
(envelope-from<EMAIL_ADDRESS>id 1csDbZ-001vgU-Vr
for<EMAIL_ADDRESS>Sun, 26 Mar 2017 21:13:34 +0200
Date: Sun, 26 Mar 2017 12:12:06 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1490555526;
bh=fh/bSxle8O1Jbin0H4ipQuJ0V9GYeip+7TjqQ+LTRGk=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=JSR91x9LKU910CEkWHIEiddxaGlKmqMRv8YCRYtKguhQ5dusJI+baz282WZwgQXNd
E9hUhomi/uVisOq/Sobsc7OAdDFJPFzHhLDA12tYsp1H4Eoj4yd7LCewnxMnC+RvZm
7PcBRibfr/JTbqVAhBy8j8eUclVhVNWJYLjBDymo=
From: Martin Holst Swende<EMAIL_ADDRESS>Reply-To: ethereum/remix<EMAIL_ADDRESS>To: ethereum/remix<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [ethereum/remix] BTC is going places (#230)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_58d81286b26a5_2903f8750a5fc3c5872d";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: holiman
X-GitHub-Recipient: axic
X-GitHub-Reason: subscribed
List-ID: ethereum/remix <remix.ethereum.github.com>
List-Archive: https://github.com/ethereum/remix
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AABPdFpQY8XIy7yeTl7VE0Ll9Lt_V7lyks5rpriGgaJpZM4Mphmc
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_58d81286b26a5_2903f8750a5fc3c5872d
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #230.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ethereum/remix/issues/230#event-1015781939
----==_mimepart_58d81286b26a5_2903f8750a5fc3c5872d
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #230.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_58d81286b26a5_2903f8750a5fc3c5872d--


Support Android 10s background location permission

🚀 Feature Requests
Support Android 10s background location permission
This will be automatically supported once this PR is merged: https://github.com/BaseflowIT/flutter-permission-plugins/pull/16
Platforms affected (mark all that apply)

[ ] :iphone: iOS
[X] :robot: Android

Solved in release 5.1.4. Thanks for contributing.


"Jump to" channel switcher

It'd be nice to have a pop box that allows users to quickly switch to a DM or channel with a couple of characters, a la the "Jump to" modal in Slack.
(In Slack, cmd + k on a Mac will pop up the modal, you can start typing the name of the channel and it will use fuzzy logic to match to a channel.)

I was going to suggest a /goto command, like what Textual does, but this is far better UX. :+1:

This would be really nice! I also suggest that it would sort by highlights and unread messages. Preferably the channel/pm with the latest unread message at the top.
For reference this is how it looks in slack: https://get.slack.help/hc/article_attachments/360000957623/Screen_Shot_2018-03-21_at_11.24.49_AM.png

This would be amazing and something we really need to add.

I started prototyping this now that vue is in master. Any suggestions for which key binding to use? I was thinking Alt+J for "jump".

Sounds like we also need a shortcut key configuration page ;)

I've implemented this in https://github.com/thelounge/thelounge/tree/richrd/jump-to
It still need polishing but it's now ready for testing.

On macOS, pressing Alt-J inserts a symbol in the jump-to switcher:

@Snuupy does that happen the first time you open the Jump to box, or only after pressing opt+j twice?
Apparently opt+j is a defaut mac shortcut for ∆.

@richrd First time. As a comparison, opt+a does not insert 'å' and switches channels accordingly.

This feature is now moved into the sidebar and ready for testing and comments in PR  #3594


Set up default primary system to avoid missing participants

Is your feature request related to a problem? Please describe.
When participant forgets to set up primary system, they are removed from evaluation
Describe the solution you'd like
One suggestion: Set the first submission as a primary.

By convention, I will make the last submission the default primary submission.

This allows the user to specify if a new submission should be designated as is_primary at submission time.
If the submission results in an invalid -1 score, the field will not be set. Otherwise, is_primary will be set to True.

On a Team level, the default order will be defined as such:

highest-scoring, valid Submission; or
the latest, valid Submission.

Note that this forces users to explicitly withdraw from a language pair/test set if they do not want to participate in that one!

This has been merged from dev into main, thus closing the issue.


support/bitcoin-js-LIVE-3310

📝 Description
In ledger live, the bitcoin should rely 100% on the new Bitcoin Nano app API and the altcoin should rely 100% on the old Nano app API
❓ Context

Impacted projects: All
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-3310

✅ Checklist

[ ] Test coverage
[X] Atomic delivery
[X] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

this PR have conflicts

@hzheng-ledger FYI this PR have conflicts

@hzheng-ledger should this PR now be closed and replaced with https://github.com/LedgerHQ/ledger-live/pull/1493?

@hzheng-ledger should this PR now be closed and replaced with #1493?

@haammar-ledger yes, it should be closed. I close it :)


Didn't fix the problem (sourceExts still not read)#21855

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Run react-native info in your terminal and paste its contents here.
Description
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or     share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

Nevermind, can be closed it was my shell acting up


Arxiv paper submission

@KennethEnevoldsen @Muennighoff I was wondering whether we are going to release the preprint of the MMTEB paper for better visibility and engagement. I think it would be a great idea to put it on arxiv, so we can promote it.
Let me know what you think

There was discussion recently https://github.com/embeddings-benchmark/mteb/issues/896#issuecomment-2400717615

Closing this as there's an existing discussion in the above issue.

Appreciate it @gentaiscool and yea let us keep it in #896 - as expressed there we would really like to get the updated leaderboard up and running first. We expect how have that ready within the month or so.


added interface-forge

Hi,
This PR adds interface forge: https://github.com/Goldziher/interfaceForge

Added! Thank you @Goldziher !


KAFKA-13216: Use a KV with list serde for the shared store

This is an alternative approach in parallel to #11235. After several unsuccessful trials to improve its efficiency i've come up with a larger approach, which is to use a kv-store instead as the shared store, which would store the value as list. The benefits of this approach are:

Only serde once that compose <timestamp, byte, key>, at the outer metered stores, with less byte array copies.
Deletes are straight-forward with no scan reads, just a single call to delete all duplicated <timestamp, byte, key> values.
Using a KV store has less space amplification than a segmented window store.

The cons though:

Each put call would be a get-then-write to append to the list; also we would spend a few more bytes to store the list (most likely a singleton list, and hence just 4 more bytes).
It's more complicated definitely.. :)

The main idea is that since the shared store is actively GC'ed by the expiration logic, not based on time retention, and since that the key format is in <timestamp, byte, key>, the range expiration query is quite efficient as well.
Added testing covering for the list stores (since we are still use kv-store interface, we cannot leverage on the get() calls in the stream-stream join, instead we use putIfAbsent and range only). Another minor factoring piggy-backed is to let toList to always close iterator to avoid leaking.
Committer Checklist (excluded from commit message)

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

ping @mjsax @spena

New benchmark results are out, and still looking reasonable:

http://kstreams-benchmark-results.s3-website-us-west-2.amazonaws.com/experiments/streamstream1secouterjoin-3-5-3-1-0-SNAPSHOT-SSJOIN-guozhang-ssjoin-2/
http://kstreams-benchmark-results.s3-website-us-west-2.amazonaws.com/experiments/streamstream1secleftjoin-3-5-3-1-0-SNAPSHOT-SSJOIN-guozhang-ssjoin-2/
http://kstreams-benchmark-results.s3-website-us-west-2.amazonaws.com/experiments/streamstream1minleftjoin-3-5-3-1-0-SNAPSHOT-SSJOIN-guozhang-ssjoin-2/
http://kstreams-benchmark-results.s3-website-us-west-2.amazonaws.com/experiments/streamstream1minouterjoin-3-5-3-1-0-SNAPSHOT-SSJOIN-guozhang-ssjoin-3/

Merged to trunk.


only and --rules/--invalid/--valid

Enhancement: Allow only on test cases or CLI comma-separated --rules and comma-separated --valid=idxOrNegIdx/--invalid=idxOrNegIdx

Fixes #13.

I've implemented such that only only works if --rules is present. I can implement it to work without it, but I thought it was helpful to avoid the extra overhead it necessitates by default.

Note that without a means in ava to dynamically ignore test files, one will still get notices about test files not having tests (for those files where all test cases are filtered out).

Note also that I am checking for 3 config sources. One was added to allow for easier unit testing (within the constructor), and one (including the minimist dependency) was added so as to support regular CLI usage or the double-double-hyphen syntax npm test -- --rule described at https://github.com/avajs/ava/blob/master/docs/recipes/passing-arguments-to-your-test-files.md . However--and ava could be modified to support this too--you don't actually need the extra double-hyphen if you are running from package.json scripts and if the code checks for process.env.npm_config_*, e.g., process.env.npm_config_rules, as I've done in this PR also.

I've also added this which I can remove or alter as needed:

npm: Bump peerDeps (eslint) and devDeps (xo)

Any chance you can take a look at this?

@sindresorhus : Are you involved on this project? If so, as it ties in to https://github.com/sindresorhus/eslint-plugin-unicorn/issues/501 , an issue you favored, I was hoping you might be able to take a look?


CI: Use skc-ci-aio user for aio jobs

This user only has read-only access to the package and container
repositories, so is safer than using the release-train-ci user which has
read/write permissions.
For the container image build job we can use the skc-ci-aio user to
access the package repositories, but must use the release-train-ci user
to push container images.

If ci-builder needs to be able to push, why not just use the release train user for it?

If ci-builder needs to be able to push, why not just use the release train user for it?

It uses the release train user as the docker registry user, but not for package repos.

Looks like container access is not working. Doing a bit of local debugging, the skc-ci-aio user cannot pull images in the stackhpc-dev namespace, even though it is in the container.namespace.consumers.stackhpc-dev group in Pulp. If I add the container.namespace.collaborators.stackhpc-dev group it still does not work, but if I add container.namespace.owners.stackhpc-dev then it does. This is an improvement over using the release-train-ci user, which has  lot of roles assigned to it, however it is not ideal.

Looks like container access is not working. Doing a bit of local debugging, the skc-ci-aio user cannot pull images in the stackhpc-dev namespace, even though it is in the container.namespace.consumers.stackhpc-dev group in Pulp. If I add the container.namespace.collaborators.stackhpc-dev group it still does not work, but if I add container.namespace.owners.stackhpc-dev then it does. This is an improvement over using the release-train-ci user, which has lot of roles assigned to it, however it is not ideal.

This issue does not seem to affect the stackhpc namespace. The main difference is that it does not contain container-push repositories.

Manually fixed permissions in Ark with the following command:
pulp container namespace role add --role container.containernamespace_consumer --group container.namespace.consumers.stackhpc-dev --name stackhpc-dev

This is necessary due to RBAC changes in pulp_container 2.11


"Make sure to use b2clogin.com instead of login.microsoftonline.com if you are using it in your application."

That line is confusing, you likely mean {tenant}.b2clogin.com
That does not seem to work though. Callback url can point to b2clogin.com and b2c just throws errors if that url is used.

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

ID: 383fed5d-cba7-610d-8ce8-0329a45cfa2c
Version Independent ID: 52da97ee-890c-b696-d532-2a265f7390d0
Content: Set up sign-up and sign-in with a Twitter account using Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-setup-twitter-app.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@vladkosarev Thanks for your feedback! We will investigate and update as appropriate.

@vladkosarev Please refer to this document - Using b2clogin.com. In case you are following this document and configured Azure AD B2C service with .b2clogin.com, then mention the same in callback URL as stated in the document.

@MohitGargMSFT I did refer to that document and log an issue with it. That url still does not work as response URL in the providers tested (Facebook and Twitter).

@vladkosarev Please the mentioned line means that if you Using b2clogin.comthen callback URL must be as below -
https://b2clogin.com/te/{tenant}/{policyId}/oauth1/authresp
e.g. https://b2clogin.com/te/contosob2c.onmicrosoft.com/b2c_1_policy/oauth1/authresp

@MohitGargMSFT That does not work. https://b2clogin.com is not a valid site.

@vladkosarev Ok. I have assigned the issue to the content author to investigate and update as appropriate.

The endpoint was changed recently and the article has been updated with the correct URL:
https://your-tenant-name.b2clogin.com/your-tenant-name.onmicrosoft.com/your-policy-name/oauth1/authresp
#please-close


Issue on IOS - The default Firebase app has not yet been configured.

I have the following message on my iOS build when I run the application:
The default Firebase app has not yet been configured. Add `FirebaseApp.configure()` to your application initialization.
This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:)` (or the `@main` struct's initializer in SwiftUI).
Read more: https://goo.gl/ctyzm8.

If I add [FIRApp configure]; to my AppDelegate.m file the build works and the message is gone, but I get no permission prompt on iOS.
I have use the following code:
cordova.plugins.firebase.messaging.requestPermission({forceShow: false}).then((permission) => {
    if (permission) {
          console.log('permission');
    } else {
          console.log('no permission');
    }
}

I don't get any console.logs in Xcode

My issue was not having the requestPermission inside of the deviceReady eventListener (vue-cordova application)


wayland-scanner: use for nativeBuildInputs

Motivation for this change
$ nix-build -A wayvnc -A wf-recorder -A cage -A sway -A tinywl -A weston -A libva -A libxkbcommon -A mesa -A wayland-utils -A wev -A wlsunset -A wob -A wshowkeys
/nix/store/5q7zmgxcwizl69qwgcv5ncrniv1i3ncb-wayvnc-0.4.0
/nix/store/km93hm94zmsmrd10qi2jcn4wkq05zxk7-wf-recorder-0.2.1
/nix/store/g1mcvi0v0k545x0hxcg0br7b12cxm32a-cage-0.1.4
/nix/store/0q7n7caxp1jjzrr0phdnq3l3sya95bpi-sway-1.6.1
/nix/store/zp3hyb50plxrjsslsvwg84p9dzv413za-tinywl-0.14.0
/nix/store/qfvbc88yhdvclbhvk64zfn3h9npsbaiy-weston-9.0.0
/nix/store/yq20s5wx89g1bzdlq2w8ihd687fj4l30-libva-2.12.0-dev
/nix/store/g8y2qfg3b5w60kddvy5s0knxdg63pln2-libxkbcommon-1.3.0
/nix/store/b9cpils284zs6svqmk1xxlfx5c9sbw8q-mesa-21.1.3
/nix/store/2d0vvzkarisfy5p9y9818sy7v32q8v6g-wayland-utils-1.0.0
/nix/store/lqd3i1k5n72jrm4fara6lyfd232dy66g-wev-1.0.0
/nix/store/swy1nmnyccjwlb0zzhj1fvns59f5a57b-wlsunset-0.2.0
/nix/store/ficj19v3wvyrg2q2fxfk4wwmrv16mp0s-wob-0.11
/nix/store/v6sbfkbf746crd20hagmpd3hs8cq05b9-wshowkeys-unstable-2020-03-29

Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[ ] Fits CONTRIBUTING.md.

I'll have to test wshowkeys again. Last time the program didn't work.
It may need to be marked broken/dropped.

@berbiche ok, it would be good to know if wshowkeys is broken. This PR shouldn't have any effect on that though (only the hashes of the Nix store paths should change so the build results remain (almost) unchanged).


why Tips me 'Cannot read property 'push' of undefined' ？

import { observable, computed, action } from "mobx";
import TodoModel from "./TodoModel";
export default class TodoListModel {
@observable todos = [];
@computed
get unfinishedTodoCount() {
return this.todos.filter(todo => !todo.finished).length;
}
@action
addTodo(title) {
this.todos.push(new TodoModel(title));
}
}

Sounds like you are calling addTodo from a place where this is not correctly provided. Using @action.bound might solve your issue.


stats.distributions.Rand not serializable

Is there some reason that this class isn't easily serializable?  If not, it would be nice to make this serializable, so I can, e.g., efficiently sample from a multinomial in spark.
I tried doing this myself, but got an error about there being no default constructor, and I'm not familiar enough with specialized traits and whatnot to be confident about fixing this correctly.

no reason. I'll add it now.


IBM now uses an API key instead of username/password

IBM's cloud services recently switched from a username/pass pair to an API key. Unfortunately, speech_recognition hasn't been updated yet (see open issue). This means we'll need to either switch to using IBM's own client library (probably the best long-term solution) or patch speech_recognition.

On further investigation, it looks like we're not actually using speech_recognition to query the IBM API, but only to encode the audio. I have a vague recollection of you implementing it this way to solve some earlier problem with speech_recognition, @qmac. Either way, should be an easy fix—I'll just change the way we make the request in the IBMSpeechAPIConverter.

Sounds good. Yea I did a split from speech_recognition when we wanted to request timestamps from the API. We could probably remove the dependency and write the audio encoding code ourselves.

I went down a bit of a rabbit hole on this one... I think the IBM APIs for this are in a state of flux—they currently have 3 (!) different ways of authenticating (user/pass, service-specific key, and global IAM api key), and I'm fairly certain that the latest version of the API (released like 3 days ago) isn't actually supported by the watson-developer-cloud client at the moment. I imagine this will get fixed in the next few weeks, so I'll come back to this—just leaving this note to self here for posterity.
(We could also stick with the current approach and keep making direct HTTP requests, but they seem to discourage that now, plus the client library has some other nice features.)


rpopgen docker image needs to be updated with new and development versions

Several of the packages in the rpopgen Docker image have been (and will continue to be) updated since the last build. As a complicating factor, some of these updates are not yet on CRAN and thus would need to be pulled from Github instead, and some of these introduce backwards-incompatible API changes, in particular for adegenet and hierfstat. Arguably there should be a development version of the Docker image, for which most (or all?) of the packages are pulled from Github instead of CRAN and thus represent upcoming changes on CRAN before they happen there.
This is part of gearing up for publication of the PopgenInfo project (NESCent/popgenInfo#76).

Also see inquiries to package developers at thibautjombart/adegenet#102 and jgx65/hierfstat#8.

As a first step, moved hierfstat from installing from CRAN to installing from Github. See v0.2.0.


IE11 - on click the datepicker shows duplicated

Bug description:
When upgrading the bootstrap we found a issue with the datepicker.
On click it shows duplicated in IE 11 and in Edge.
Screenshot when pressing a random date:

Red circles the value i have selected and the duplicated calendar:

Link to minimally-working plunker that reproduces the issue:
Link to demo ui-bootstrap
Version of Angular, UIBS, and Bootstrap
Bootstrap: latest
IE : 11.0.9600
IE Updateversion: 11.0.31
Edge: 25
Edgehtml: 13.10586

I asked @Jefiozie to enter this.  @RobJacobs do you have time to look at this?  I think you have access to IE11.  Thanks.

Duplicate of #5446

@RobJacobs Ah, ok.  thanks.

This comment #5446 helped me for now.


CAN Sim Interface Stubs

Purpose

Create some basic code for the CAN Sim Interface.
Description

Resources

Current status on branch:

Subscribes to topic /Simulator (control will be publishing to that)

Relevant Branches:
user/colinli02/16-CAN-Sim-Interface-Stubs
Current Progress:
Subscribes to ROS topic /Simulator, there is no timer because subscriber will respond to whatever published data.
Looking into logging
Communicate with CTRL team to define other topics required
Note: No more virtual CAN bus. So send between can transceiver internally on CAN.

Known bugs / notes that may be useful in future
void timer_callback under publisher (can_transceiver_ros_intf.cpp)

for loop causes stuck here, maybe have to do separate timer_callback
Possible solution: just hard code [1]. [2], .... etc.

Subscriber callback print not working when ros2 run network_systems can_transceiver

boat_simulator (subscriber end) is not running, won't print anything (Even just normal print without any variables)

Current Status

Both publisher and subscriber working (except one small thing with uint8 and uint64 data types) when running network_systems on ros2
Need to fix a bit of read-ability


Error on compile with ivy

Is it normal?

Which versions of Angular and Material are you using?

With the 8.2.0 update this error disappear but now i have this

Without having access to your code, it's really difficult to diagnose this. Is the error being thrown from one of your components?

I'm seeing this when building the dev-app with Ivy as well:
ERROR: /Users/splaktar/Git/angular/material2/src/dev-app/stepper/BUILD.bazel:5:1: Couldn't build file src/dev-app/stepper/stepper-demo-module.ngfactory.js: Compiling Angular templates (ngtsc - devmode) //src/dev-app/stepper:stepper failed (Exit 1)
src/dev-app/stepper/stepper-demo.html(8,33): error TS2322: Type 'AbstractControl | undefined' is not assignable to type 'FormControlLike | undefined'.
  Type 'AbstractControl' is missing the following properties from type 'FormControlLike': registerOnChange, registerOnDisabledChange
src/dev-app/stepper/stepper-demo.html(26,33): error TS2322: Type 'AbstractControl | undefined' is not assignable to type 'FormControlLike | undefined'.
  Type 'AbstractControl' is not assignable to type 'FormControlLike'.
src/dev-app/stepper/stepper-demo.html(56,13): error TS2739: Type 'FormGroup' is missing the following properties from type 'FormControlLike': registerOnChange, registerOnDisabledChange
src/dev-app/stepper/stepper-demo.html(75,13): error TS2322: Type 'FormGroup' is not assignable to type 'FormControlLike'.

It looks like PR https://github.com/angular/components/pull/16373 has a fix for this.

@devversion I think that the FormControlLike to AbstractControlLike changes in PR https://github.com/angular/components/pull/16373 will solve this. I will pull those changes into PR #17392.


Element = Null

import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import ScrollableSection from 'react-update-url-on-scroll';

import { ViewLanding } from './components/views/ViewLanding';
import { Test } from './components/views/Test';

export const AppRoutes: React.FC = () => {

	return  (
		<Router>
			<ScrollableSection name="Intro" href="/">
				<ViewLanding />
			</ScrollableSection>
			<ScrollableSection name="Test" href="test">
				<Test />
			</ScrollableSection>
		</Router>
	)
};

Console error:
scroll.js:56 Uncaught TypeError: Cannot read property 'offsetHeight' of null
    at doesElementContainScrollTop (scroll.js:56)
    at scroll.js:117
    at Array.forEach (<anonymous>)
    at getBestAnchorGivenScrollLocation (scroll.js:114)
    at Manager.handleScroll (Manager.js:196)
    at later (func.js:18)

has anyone found a solution to this problem?


Array parameters aren't expanded in block calls

Take following code:
ary = [[1, 2], [3, 4], [5, 6]]

# this is just an example
result = ary.map do |(a, b)| # << this part here is the expansion
  # Expected:
  # a: 1, b: 2
  # Actual:
  # a: [1, 2], b: nil
  a + b
end

# Expected:
result #=> [3, 7, 11]

# Actual:
#   ERROR:
#     trace:
#       [4] array_parameter_expansion.rb:5:in Object.call
#       [3] <REDACTED>/mruby/mrblib/enum.rb:79:in Enumerable.map
#       [2] <REDACTED>/mruby/mrblib/array.rb:23:in Array.each
#       [1] <REDACTED>/mruby/mrblib/enum.rb:78:in Enumerable#map
#       [0] array_parameter_expansion.rb:4
#     array_parameter_expansion.rb:5: expected Array (TypeError)

It's duplication of #2720


Enhance logging and bug fixes

Add logs to update, http, ipc-com, ipc-proxy, prompt, module-manager modules.
Enhance logging system by supporting logging caller info.
Implement new getting caller info function and get rid of caller npm package.
Make module manager inherit from DiContainer directly to make it possible to manage the components in separated processes.
Fixed some issues for remote process module management and ipc communication.

Please open an issue to describe the changes this PR carries.

Ok - that's confusing - GitHub says you referenced another PR, but it seems to be an issue...


fix: Paginator always trying to create SelectMenu

What type of pull request is this?

[x] Non-breaking code change
[ ] Breaking code change
[ ] Documentation change/addition

Description
Paginator was always trying to create SelectMenu which caused any Paginator that had over 25 pages to crash.
Changes
fix: Removed all from call to create_components
Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

While this resolves the bug short term, i believe it would break paginators in certain use cases. ie
p = Paginator(...)
p.show_select_menu  = True

In the above code snippet, as the custom id's are cached during initialisation, they would never be added to the callback. So unfortunately this will need a more substantial fix that first expected


updating the text to make it more self explanatory

Hi @ritika2502, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (ritikag). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Add logging to tar, fix extract when parent dir is .

Adds additional methods to the tar interface to log the files being extracted/archived (similar to -v flag on the tar command).
Also fixes name truncation when the parent directory is the current directory.

@bparees or @gabemontero ptal

[test]

lgtm [merge]


Plutus report: Describe plutus app concurrency

Pre-submit checklist:

Branch

[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

If you updated any cabal files or added Haskell packages:

[ ] nix-shell shell.nix --run updateMaterialized to update the materialized Nix files
[ ] Update hie-*.yaml files if needed

If you changed any Haskell files:

[ ] nix-shell shell.nix --run fix-stylish-haskell to fix any formatting issues

If you changed any Purescript files:

[ ] nix-shell shell.nix --run fix-purty to fix any formatting issues

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

Rendered version
plutus.pdf

This model also works nicely with the STM based concurreny that we are building into the PAB.

I don't quite see how the writer state would fit into this. Also, it still leaves us in this position where we can't communicate out to the outside world. Do we need some kind of model where we can emit things during transitions as well?

The writer is just a nice way of encoding this in Haskell. We could do it like
data State = S1 | S2 | S3 | S4

Then we put Writer (Maybe (Last State)) as the writer type. So you don't have to write out a state after every transition, but you can if you want to.

program = do
  _ <- awaitTxConfirmed txId
  tell $ Just $ Last S2
  input <- (Left <$> endpoint @"e1") <|> (Right <$> awaitSlot 10)
  case input of
    Left _ -> do
        tell $ Just $ Last S3
        ...
    Right _ -> do
        tell $ Just $ Last S4
        ...

Okay, and I guess in an ideal world we'd do this automatically somehow, but since we don't actually have the petri net explicitly (it's reified in the program logic), we can't?

Correct, getting the petri net out of the program is not possible. But you could write a property test to check the sequences of States that are observed. (Or maybe the other way around: Extract the petri net from the generated samples)
Or you could build a petri net DSL on top of the Contract type that gives you the net, and the tests.
But the nice thing about writing out the state is that it gives you something to wait for on the client side. So if you have a contract that has no endpoints, but just watches the chain, you can still receive updates from it and react to them. (That's what we're doing for Marlowe).

Hmmm. We could also model it as a petri net that emits things when it changes state, like we do for the constraint-emitting-machines. Then we don't have to say that w is necessarily the state: it's just the thing the machine emits, which could be the state if you want to do that.

(nice diagrams, btw)

petri net that emits things when it changes state

Good idea. I'll do that.

Now it looks like this:

Not sure if here is the right place to ask, but I wonder how the latency between local state machine and on-chain state machine is handled.
For example, in the app node, the user input e1 might happens before slot 10, but when execute the following action on chain, slot 10 might happens first?

@yihuang : That's a good question! Latency could result in the app submitting an invalid transaction due to latency (for example, if an important slot boundary is crossed between user clicking the button and the tx being validated by the node). This wouldn't affect the state of the on-chain state machine, because the invalid transition won't be allowed, but it has to be dealt with on the client side. Most likely the app will notice that the output with the on-chain state was spent by some other transaction. Then the app knows that its own transaction is invalid and it can update its internal state accordingly.


Error when two actors on two Pod providers follow each other

The ActivitiesHandlerMixin doesn't handle well distant URL. It also creates a problem when calling activitypub.actor.getProfile.
[14:02:20.988Z] ERROR BROKER: MoleculerError: Unable to reach SPARQL endpoint http://localhost:3031/john/query. Error message: Not Found. Query:
        SELECT ?p ?v
        FROM <http://semapps.org/mirror>
        WHERE {
          <http://localhost:3000/john/data/activities/63d7cdecd7fa7e47dd8f1078> ?p ?v
        }

    at throw500 (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/middlewares/index.js:37:9)
    at Service.fetch (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/triplestore/service.js:72:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Service.handler (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/triplestore/actions/query.js:40:22)
    at async Service.handler (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/triplestore/actions/countTriplesOfSubject.js:26:21)
    at async Service.handler (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/ldp/services/resource/actions/exist.js:15:17)
    at async Service.handler (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/ldp/services/resource/actions/get.js:85:29)
    at async matchActivity (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/activitypub/utils/matchActivity.js:14:38)
    at async matchActivity (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/activitypub/utils/matchActivity.js:28:43)
    at async Service.activitypub.outbox.posted (/home/tim/Projets/semapps/activitypods/node_modules/@semapps/activitypub/mixins/activities-handler.js:22:17)
    at async Promise.all (index 4) {
  code: 500,
  type: 'INTERNAL_SERVER_ERROR',
  data: { status: 'Server Error', text: 'Unable to reach SPARQL endpoint http://localhost:3031/john/query. Error message: Not Found. Query: \n        SELECT ?p ?v\n        FROM <http://semapps.org/mirror>\n        WHERE {\n          <http://localhost:3000/john/data/activities/63d7cdecd7fa7e47dd8f1078> ?p ?v\n        }\n      ' },
  retryable: false
}

Bug identified for project Smarketplace

We must do https://github.com/assemblee-virtuelle/activitypods/issues/34

Work in progress: https://github.com/assemblee-virtuelle/semapps/pull/1110

Done


Fixed package data config to make template alive

Hi! Thank you for this template!

It has wrong config - fixed
Many improvements to readme

Also please update the description of this repo:
from "A cookiecutter template for xontribs, a.k.a xonsh contributions "
to "Create xontrib from cookiecutter template."

@scopatz or @AstraLuma please merge.

CC @xonsh/xore - I don't really know cookiecutter well enough to evaluate

@scopatz I've tested it 5 times to write a readme. Merge without worries :)

Sorry, I think a real review is needed.  We try not to merge blindly :wink:

Okay, 5 months it was broken, couple of weeks not a problem.
But you can just 5 minute test if you don't trust me:
pip install cookiecutter
cookiecutter gh:anki-code/xontrib-cookiecutter
# enter snail to all lines
pip install -U xontrib-snail
xontrib load snail
# This is snail!

Yeah, I really appreciate all of your effort here!

@AstraLuma Jamie, please take a look.
I'm going to add the info about this template to all of my xontribs that have 8+ stars.

@AstraLuma I fixed your proposal almost immediately. May be the notification missing. Please review.

@anki-code -- a lot of us have 100s, if not 1000s of github notifications, so we tend to turn off commit-level notifications.  Always good to ping us on an issue after pushing up a commit.

@gforsyth many thank! All changes are merged.

Always good to ping us on an issue after pushing up a commit.

Got it! Ready to merge.


Opt handle count pushdown in fe side

Proposed changes
Iceberg count can be regarded as metadata operation, and this can be done in fe side. So we need to pass count push down to fe as well as no need to initialize iceberg spilits.
This optimization can  reduce lots of time when dealing with iceberg count statement.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

cc @morningman

run buildall

run buildall

run buildall

run buildall


Fluentd 1.15 breaks readonlyRootFilesystem with fluentd_lock directory. Need configurable lock directory.

Describe the bug
Hi,
I'm upgrading td-agent from v4.3.2 to v4.4.1.
The td-agent rpm is taken and installed on a centos7 docker image and fluentd image runs as pods in kubernetes env.
One major req is - all containers run with securityContext.readonlyrootFilesystem enabled.
Ref: https://kubesec.io/basics/containers-securitycontext-readonlyrootfilesystem-true/
With this, on runtime, the filesystem of the img is immutable unless the locations are volume-mounts. This has been working fine for us for a while (from many td-agent releases).
But with fluentd gem 1.15.1 update:
https://www.fluentd.org/blog/fluentd-v1.15.1-has-been-released
https://github.com/fluent/fluentd/pull/3808/files - this change in particular creates files under /fluentd-lock- on run-time.
As readonlyRootFilesystem is enabled, this is immuntable filesystem and so fluentd startup fails with this error:
Unexpected error Read-only file system @ dir_s_mkdir - /fluentd-lock-20221020-6-1t5muy4
To address this, we can configure this as an emptydir volume mount at the k8s/helm level so the filesystem location becomes writable for the fluentd process. But today, the file path keeps changing - /fluentd-lock- and so cannot be configured as volume mounts.
The question is - can the location of fluentd lock directory be made configurable?
For ex. can we configure fluentd to use /tmp/fluentd-lock- as the lock directory?
If possible, pls let us know how.
If not possible yet in existing fluentd, this change is definitely needed as atleast with this, we can control the path to be writable and resolve this issue.
To Reproduce

Deploy fluentd (td agent 4.4.1) as a docker container or pod.

Container's securityContext must have readonlyRootFilesystem enabled
securityContext:
readOnlyRootFilesystem: true

Start fluentd container

Expected behavior
Fluentd should work with readonlyRootFilesystem enabled too.
In case the files are needed to be created for lock files, there should be an option to modify the LOCK directory i.e. its path should be user-configurable.
Your Environment
- Fluentd version: 1.15.2
- TD Agent version: 4.4.1
- Operating system: Centos7

Your Configuration
<source>
  @type tail
  path /var/log/containers/*.log
  read_from_head true
  pos_file /var/log/fluentd-container-log.pos
  time_format %Y-%m-%dT%H:%M:%S
  tag kubernetes.*
  format json
</source>
<filter kubernetes.**>
  @type kubernetes_metadata
  kubernetes_url https://kubernetes.default.svc:443
</filter>

<match **>
  @type opensearch
  @log_level info
  include_tag_key true
  host opensearch
  port 9200
  logstash_format true
  reload_connections false
  reconnect_on_error true
  reload_on_failure true
  request_timeout 10s
  <buffer>
    @type file
    chunk_limit_size 8MB
    path /var/log/td-agent/fluentd-buffer/buffer.logging.all
    total_limit_size 1024m
  </buffer>
</match>

Your Error Log
022-10-20 12:49:43 +0000 [info]: starting fluentd-1.15.2 pid=6 ruby="2.7.6"
2022-10-20 12:49:43 +0000 [info]: spawn command to main:  cmdline=["/opt/td-agent/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/sbin/td-agent", "--under-supervisor"]
Unexpected error Read-only file system @ dir_s_mkdir - /fluentd-lock-20221020-6-1t5muy4
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:85:in `mkdir'
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:85:in `block in mktmpdir'
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:129:in `create'
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:83:in `mktmpdir'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:47:in `before_run'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/serverengine-2.3.0/lib/serverengine/server.rb:125:in `main'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/serverengine-2.3.0/lib/serverengine/daemon.rb:119:in `main'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/serverengine-2.3.0/lib/serverengine/daemon.rb:68:in `run'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:883:in `supervise'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:723:in `run_supervisor'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/command/fluentd.rb:361:in `<top (required)>'
  /opt/td-agent/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
  /opt/td-agent/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/bin/fluentd:15:in `<top (required)>'
  /opt/td-agent/bin/fluentd:23:in `load'
  /opt/td-agent/bin/fluentd:23:in `<top (required)>'
  /usr/sbin/td-agent:21:in `load'
  /usr/sbin/td-agent:21:in `<main>'

Additional context
No response

The question is - can the location of fluentd lock directory be made configurable?
For ex. can we configure fluentd to use /tmp/fluentd-lock- as the lock directory?
If possible, pls let us know how.

@aggarwalShivani Yes. Fluentd relies on Ruby's mktmpdir to get a temporary path,
so you just need to do:

Prepare some directory that Fluentd can write.
Set the environment variable TMPDIR to that path

e.g. docker run --env TMPDIR=/tmp/fluentd/

This should resolve the error you encountered.
Technical Note: Fluentd generally assumes that tmpdir (and hence tempfile)
returns a safely writiable path.
This is (and has been) an implicit assumption. Here are some examples:

https://github.com/fluent/fluentd/blob/v1.15.2/lib/fluent/plugin/buffer/chunk.rb#L209
https://github.com/fluent/fluentd/blob/v1.15.2/lib/fluent/plugin/out_exec.rb#L74

So preparing a writable directory as described above is highly recommended.

Thanks @fujimotos for the pointers.
I tried the same, but its still not working
Env TMPDIR is set for the container like TMPDIR=/tmp-fluentd
This directory is a volume-mount in the pod - and it is writable. But the process is still trying to create lock files at /fluentd-lock only. Any ideas on what could be wrong?
What more has to be configured apart from setting the env?
2022-10-21 15:02:05 +0000 [info]: starting fluentd-1.15.2 pid=6 ruby="2.7.6"
2022-10-21 15:02:05 +0000 [info]: spawn command to main:  cmdline=["/opt/td-agent/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/sbin/td-agent", "--under-supervisor"]
Unexpected error Read-only file system @ dir_s_mkdir - /fluentd-lock-20221021-6-yii6xc
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:85:in `mkdir'
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:85:in `block in mktmpdir'
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:129:in `create'
  /opt/td-agent/lib/ruby/2.7.0/tmpdir.rb:83:in `mktmpdir'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:47:in `before_run'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/serverengine-2.3.0/lib/serverengine/server.rb:125:in `main'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/serverengine-2.3.0/lib/serverengine/daemon.rb:119:in `main'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/serverengine-2.3.0/lib/serverengine/daemon.rb:68:in `run'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:883:in `supervise'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:723:in `run_supervisor'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/command/fluentd.rb:361:in `<top (required)>'
  /opt/td-agent/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
  /opt/td-agent/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
  /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/bin/fluentd:15:in `<top (required)>'
  /opt/td-agent/bin/fluentd:23:in `load'
  /opt/td-agent/bin/fluentd:23:in `<top (required)>'
  /usr/sbin/td-agent:21:in `load'
  /usr/sbin/td-agent:21:in `<main>'

The probability is that your env was not passed to td-agent properly.
https://github.com/ruby/tmpdir/blob/master/lib/tmpdir.rb#L23-L39
Here is how Ruby determines the temporary directory. It essentially iterate
a set of envs (such as TMPDIR and TMP) and return the first directory
it could found.
The exact steps largely depends on how you set up the container,
but here is the most common steps:

If you installed td-agent package and use systemd to manage the daemon,
you'll need to add an entry to  /etc/sysconfig/td-agent (RHEL-family) or /etc/default/td-agent (Debian-family).

If you use the stock Fluentd Docker imgage, adding --env would enough.

I can confirm that Fluentd will use the directory on my dev machine,
so make sure that the env is passed to your Fluentd process.

@fujimotos
A similar problem.
I have set the env value in the docker file with ENV TMPDIR=/tmp/fluentd/
And in docker entry point I am able to see the value passed.
echo "Testing output"
echo ${TMPDIR}
exec fluentd -c /fluentd/etc/${FLUENTD_CONF} -p /fluentd/plugins ${FLUENTD_OPT}

output logs:
Testing output
/tmp/fluentd/
2022-10-31 05:32:54 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluentd.conf"
2022-10-31 05:32:54 +0000 [info]: gem 'fluentd' version '1.15.2'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-concat' version '2.5.0'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-kafka' version '0.17.5'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-kubernetes_metadata_filter' version '3.1.0'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-multi-format-parser' version '1.0.0'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-newrelic' version '1.2.1'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-prometheus' version '2.0.3'
2022-10-31 05:32:54 +0000 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '2.4.0'

<Redacted>

2022-10-31 05:32:55 +0000 [info]: starting fluentd-1.15.2 pid=1 ruby="3.0.4"
system temporary path is world-writable: /tmp
/tmp is world-writable: /tmp
. is not writable: /
Unexpected error could not find a temporary directory
  /usr/share/ruby/tmpdir.rb:39:in `tmpdir'
  /usr/share/ruby/tmpdir.rb:115:in `tmpdir'
  /usr/share/ruby/tmpdir.rb:130:in `create'
  /usr/share/ruby/tmpdir.rb:90:in `mktmpdir'
  /usr/share/gems/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:47:in `before_run'
  /usr/share/gems/gems/serverengine-2.3.0/lib/serverengine/server.rb:125:in `main'
  /usr/share/gems/gems/serverengine-2.3.0/lib/serverengine/daemon.rb:119:in `main'
  /usr/share/gems/gems/serverengine-2.3.0/lib/serverengine/daemon.rb:68:in `run'
  /usr/share/gems/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:883:in `supervise'
  /usr/share/gems/gems/fluentd-1.15.2/lib/fluent/supervisor.rb:723:in `run_supervisor'
  /usr/share/gems/gems/fluentd-1.15.2/lib/fluent/command/fluentd.rb:361:in `<top (required)>'
  <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
  <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
  /usr/share/gems/gems/fluentd-1.15.2/bin/fluentd:15:in `<top (required)>'
  /usr/bin/fluentd:25:in `load'
  /usr/bin/fluentd:25:in `<main>'
2022-10-31 05:32:55 +0000 [info]: spawn command to main:  cmdline=["/usr/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/bin/fluentd", "-c", "/fluentd/etc/fluentd.conf", "-p", "/fluentd/plugins", "--under-supervisor"]

Can you provide any more info on how to make sure that the env is passed to your Fluentd process.?

It worked.
Previously it was working fine without setting up the permissions and since we did not set any permission for the directory it did not strike.
Thanks for the help
@fujimotos


Add basic build & flash instructions

Adds basic build & flash instructions using cargo-hf2

Thanks for writing this up. It looks good.
One of the reasons I like this project is that it is a basic example, so as a newcomer to embedded Rust (and Rust itself) it seemed like a good starting point. I was running into problems with my own code. In my case, .cargo/config wasn't right, and that's pretty critical to embedded Rust as it contains special instructions for the linker, which has a big impact on whether hf2 succeeds.
I have no idea if other newcomers have been having the same difficulties, but I would have caught the bug sooner had I read somewhere "make sure .cargo/config has -nmagic". Maybe that's documented somewhere and I just missed it.

Thanks for writing this up. It looks good.
One of the reasons I like this project is that it is a basic example, so as a newcomer to embedded Rust (and Rust itself) it seemed like a good starting point. I was running into problems with my own code. In my case, .cargo/config wasn't right, and that's pretty critical to embedded Rust as it contains special instructions for the linker, which has a big impact on whether hf2 succeeds.
I have no idea if other newcomers have been having the same difficulties, but I would have caught the bug sooner had I read somewhere "make sure .cargo/config has -nmagic". Maybe that's documented somewhere and I just missed it.

Yeah there are definitely quirks. The embedded rust book and the cortex-M Quickstart repo are great places to start from. Starting an embedded crate with cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart will hopefully prevent issues like that in the future!

Yeah there are definitely quirks. The embedded rust book and the cortex-M Quickstart repo are great places to start from. Starting an embedded crate with cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart will hopefully prevent issues like that in the future!


fix: autolayout login screen

Prerequisite

[x] Self-review :monocle_face:
[x] No Crashes ☠

Root cause

https://jira.vmo.dev/browse/YSS23015-233

Solution

auto layout login screen

Impact

LoginContentView

Screenshots (Optional)

iPhone SE (3rd generation):

iPhone 11:

iPhone 8 Plus:

iPhone 12pro max:

Please post a screenshot showing the logo is fixed, both with a small screen like the iPhone SE, and a large screen like the 14 Pro Max. You can use the simulator.


Use macro DEBUGFILE

The macro DEBUGFILE is not used. This corrects it.

LGTM!

@klirichek you are still willing to maintain the repo and source code? otherwise an archival of the project (and maybe a link to a new repo such as the one of @fcollonval or @futurelink) maybe be reasonable


Song list sorted by descending score

Add a song list sorted by descending score in the Songs view.

Done in 3e3af8e


Contributors Screen

Description
Create screen with all the contributors for the app
File Location
- presentation
|__ ui

Requirements

From the Github API, get the current contributors information and display it in form of list with:

User image
User Name
User description

UI

@OldMetalmind We need to analyze this issue:

How are we getting Github data? In the case of FOGOS, they created an endpoint dedicated to this

The copy for this screen must be added

Created two issues to take care of the two pending topics

Issue-42 : List of Contributors
Issue-41 : Copy needed

do u have aoi for this particular app?

We have an API for the app itself, however, for this task at hand, we will be loading the contributors from a JSON file in the assets in this first version.
If you desire to contribute to this task, please recommend a JSON structure for contributors that can have different backgrounds, such as designers, copy, coders.

The issue was updated with the expected JSON object.

@Lima21 Any news on this issue?

closed via #94


Fix inline collection declaration

Add ability to declare some properties and  items on an object which is a collection
Add ability to declare the collection object of a ContentProperty instead of being forced declare only the items to add to the collection

Issue: #176 #177
PR Type
Bugfix
What is the current behavior?
Generated code does not compile
What is the new behavior?
It compiles ;)
PR Checklist

[X] Tested code with current supported SDKs
[X] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[X] Tests for the changes have been added (for bug fixes / features) (if applicable)
[X] Contains NO breaking changes

Other information

You shouldn't use github to merge branch with master.  Prefer a rebase.

Rebased (so @carldebilly will give me a piece of robot :) )


AST: Consolidate queries for @available attributes on Decl

In the near future interpreting some of the properties of an AvailableAttr will require access to the Decl the attribute is attached to. This will mean that queries for AvailableAttrs can no longer be defined on DeclAttributes since it lacks context of the Decl the attributes belong to. Move the queries to Decl instead, which seems more intuitive anyways.

@swift-ci please test

@swift-ci please smoke test


Generate random erdos renyi graphs

Getting quite a lot of duplicated logic in both the Warnet classmethods and the network RPC methods, but will leave this for @pinheadmz 's big refactor coming soon (tm)

@pinheadmz if you review changed some cli commands:
warcli network start -> warcli network create <from-file [graph_file] | random>

@pinheadmz @josibake should we also allow node versionc constriants, "e.g >=0.21.1" or just leave as weighted random over all supported tags?

should we also allow node versionc constriants, "e.g >=0.21.1" or just leave as weighted random over all supported tags?

bitcoind should be free to make these decisions. I think once we have the p2p dns seeder (which can provide service flags) this will evolve on its own
I dont love removing start, would prefer it if create is a new command that once executed either:

also starts the network as if start had also been executed
save the graph file somewhere and tell the user its name so the user can manully call start

this latter option i think is preferable but then i also think well need a directory of graph files and a "list" method for them ?

warcli network start -> warcli network create <from-file [graph_file] | random>

a little confused. you didnt remove/replace the start command ?

should we also allow node versionc constriants, "e.g >=0.21.1" or just leave as weighted random over all supported tags?

bitcoind should be free to make these decisions. I think once we have the p2p dns seeder (which can provide service flags) this will evolve on its own

Whilst the p2p dns seeder will certailny help in making connections, the bitcoind container cannot decide it's own binary version number it's going to run? This PR is about generating a graph file of randomised (or not) node:versions...
My question was about whether we should have warcli network create random take a min_version param (or similar), in the case that people migh tnot want v16.3 nodes for example

I dont love removing start, would prefer it if create is a new command that once executed either:
* also starts the network as if `start` had also been executed

* save the graph file somewhere and tell the user its name so the user can manully call `start`

this latter option i think is preferable but then i also think well need a directory of graph files and a "list" method for them ?

Should we simply remove the grammar at this point, if we are not going to use it for everything? Currently we have:
  debug      Debug commands
   ├─   generate-compose  Generate the docker-compose file for a given...
   ├─   update-dns-seed   Update the dns seed database using a <graph_file> on...
  debug-log  Fetch the Bitcoin Core debug log from <node> in [network]
  help       Display help information for the given command.
  messages   Fetch messages sent between <node_a> and <node_b> in <network>
  network    Network commands
   ├─   down   Run 'docker-compose down on a warnet named <--network> (default:...
   ├─   start  Start a warnet with topology loaded from a <graph_file> into...
   ├─   up     Run 'docker-compose up' on a warnet named <--network> (default:...
  rpc        Call bitcoin-cli <method> <params> on <node> in <--network>
  scenarios  Scenario commands
   ├─   active  List running scenarios on <--network> (default=warnet) as...
   ├─   list    List available scenarios in the Warnet Test Framework
   ├─   run     Run <scenario> from the Warnet Test Framework on <--network>...
   ├─   stop    Stop scenario with <pid> from running on <--network>
  stop       Stop warnetd.

@josibake felt like network was un-intuative here and would prefer start and stop as top-level. I'd argue that create belongs in network, and you now think that start and stop belong in network but not create :P
I am very happy to go with the majority, but I think we should spec out exactly how we want this to operate so that we can build it just so!
My personal perference would be to retain the sub-commands (but use them in all cases), but happy to be out-voted on this one...

ok yeah we got wires crossed.

Create a network with random bitcoind versions: great, got it now. yeah weighting is a cool idea here based on current user agent distribution. This is essentially an automatic warnet generation function and mine as well have this feature. Maybe it can be behind a switch where default is weighted random versions but --allversions=25.0 or something is a flag

grammar:
I DO LIKE:
warcli network create random1
warlci network start random1
warlci network stop random1
I think we could also add, example:

$ warcli network list
  [
    'random1',
    'example_20nodes`,
    'sensitive_relay'
  ]

Just poppin in to say ignore what I was saying earlier, been playing around with the CI more and got a feel for it. I do think more detailed help messages could alleviate any "un-intuitiveness"

OK how about this push? New sub-command graph, which will do graph things. Like generate a random graph!
try
warcli graph generate 20 0.3 to see one spat out to the terminal. or add --file=/path/to/file to have it dumped to a file?

* Create a network with random bitcoind versions: great, got it now. yeah weighting is a cool idea here based on current user agent distribution. This is essentially an automatic warnet generation function and mine as well have this feature. Maybe it can be behind a switch where default is weighted random versions but `--allversions=25.0` or something is a flag

Yeah I think we could add an --allversions flag very easily!

* grammar:
  I DO LIKE:
  `warcli network create random1`
  `warlci network start random1`
  `warlci network stop random1`
  I think we could also add, example:

See latest force-push, again, happy to be overruled on this, but perhaps graph sub-command makes even more sense (but takes more steps to fire up?)

Force-pushed again, ready for review. Updated README, PR description and commits 👍🏼

help?
--> warcli graph create triad_graph
Parsed params: {}
Failed to create graph: triad_graph() missing 1 required positional argument: 'triad_name'
--> warcli graph create triad_graph name1
Invalid parameter format: name1
--> warcli graph create triad_graph --triad_name=name1
Usage: warcli graph create [OPTIONS] GRAPH_TYPE [PARAMS]...
Try 'warcli graph create --help' for help.

Error: No such option: --triad_name

help? pt. 2
--> warcli graph create bull_graph
Parsed params: {}
Traceback (most recent call last):
  File "/opt/homebrew/bin/warcli", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matthewzipkin/Desktop/work/warnet/src/warnet/cli/graph.py", line 173, in create
    pos = nx.spring_layout(graph)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/networkx/utils/decorators.py", line 766, in func
    return argmap._lazy_compile(__wrapper)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<class 'networkx.utils.decorators.argmap'> compilation 8", line 3, in argmap_spring_layout_5
  File "/opt/homebrew/lib/python3.11/site-packages/networkx/utils/misc.py", line 257, in create_random_state
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

import numpy as np

ModuleNotFoundError: No module named 'numpy'

huh, this should have been handled as a dependency when install networkx. @willcl-ark might need to refresh the package dependencies, or @pinheadmz maybe you just need to re-run pip install for the branch?

also, now that we got tests cleaning up properly that don't start networks, I think we should start networks in this test ;-) just to ensure that the generated graph files work.

also, now that we got tests cleaning up properly that don't start networks, I think we should start networks in this test ;-) just to ensure that the generated graph files work.

Also did this now. Make sense to have a total end-to-end test.
While I was toying with how much work it would be to switch to pytest I did notice too that we have many tests which re-use the same TestBase object and so could be influenced by a previous test...

also saw this at the end of the test. I feel like if the test is succesful it should stop the server using warcli stop and not have to kill PID
Stopping network
Error stopping server: 'NoneType' object has no attribute 'read'
Attempting to cleanup docker network
killing server with pid 207604

also saw this at the end of the test. I feel like if the test is succesful it should stop the server using warcli stop and not have to kill PID. although hm. maybe its trying to read log file after its been deleted?

Stopping network

Error stopping server: 'NoneType' object has no attribute 'read'

Attempting to cleanup docker network

killing server with pid 207604

Agree, I'll address later this eve

tried to create a sudoku_graph but failed:
ModuleNotFoundError: No module named 'scipy'

do some of these graphs require certain dependencies? yeesh

Related to this PR: we have example graph files in three places now:
src/templates
test/data
graphs/
The last one is where Martin went to find a graph file to play with. I propose we remove example.graphml entirely and add a default.graphml to graphs/ that is easy (i.e. 12 v25.0 nodes with no branch building) so it can be started wuickly by new users

@pinheadmz updated this for you

need to lxml to requirements

need to add lxml to requirements

₿ pip uninstall warnet; and pip freeze | xargs pip uninstall; and pip install -e .
...
₿ warcli graph create n=100 --outfile=random_internet_as_graph_n100.graphml --random
Generated graph written to file: random_internet_as_graph_n100.graphml

Works for me without that (tm) 🤷🏼♂

OK ready FR FR

hm yeah i didnt get the lxml error this time... ooooohhhkkkaaayyyyyy

YES.


Should sd-timeout be configureable?

Problem
When using a sd-card throught the sdmmc-disk interface from different threads, contention is not managed. Instead if two threads access the card, one of them will fail to get the lock of the sd-card.
Proposed solution
Make the sd-card lock timeout user-configureable via Kconfig ( today it is hard-coded K_NO_WAIT), such that contention can be managed.
Alternatives

Synchronisation on higher levels

file system: Currently the filesystem does no synchronization either, as far as I know. Introducing synchronisation on this level only works if a single filesystem is mounted on the disk.
disk_access: Introduce a lock on the sdmmc-disk level to serialize access to the sd-card?

Additional Context
We use an sd card with multiple partitions and need to manage access to them at some level. We are wondering at what level it is best done and are currently suggesting to do it at the sd-level by changing the timeout of the lock from K_NO_WAIT to some other timeout.
Cocnclusion
Not sure, if my analysis of the problem is accurate and I am curious on your comments.
Thanks in advance.

What would your thoughts be on making the wait duration configurable via CONFIG_SD_DATA_TIMEOUT? Since the mutex is taken in functions reading/writing data, I think that the mutex timing out after the SD data timeout expires would make sense

What would your thoughts be on making the wait duration configurable via CONFIG_SD_DATA_TIMEOUT? Since the mutex is taken in functions reading/writing data, I think that the mutex timing out after the SD data timeout expires would make sense

I do not know enough to give an educated opinion. My only question would be, whether these two would always be correlated? In other words, would a user, who wants to increase CONFIG_SD_DATA_TIMEOUT also want to increase the timeout on the mutex and would a user wanting to increase timeout on the mutex also want to increase CONFIG_SD_DATA_TIMEOUT?

No, IMO your suggestion sounds reasonable.
One detail, that came to mind. In effect the timeout the user might have to wait might now in effect be two times CONFIG_SD_DATA_TIMEOUT because they might wait CONFIG_SD_DATA_TIMEOUT - delta on the mutex and then CONFIG_SD_DATA_TIMEOUT - delta on the card being busy (delta for example is one tick).
Personal preference would be two timeouts. But for our use case, your suggestion would likely be more then enough. We just need to be able to wait more then NO_WAIT, as far as I can see.

One detail, that came to mind. In effect the timeout the user might have to wait might now in effect be two times CONFIG_SD_DATA_TIMEOUT

This is true- for a very slow card, each I/O operation could take CONFIG_SD_DATA_TIMEOUT - 1 ticks- then each I/O request could be blocked for CONFIG_SD_DATA_TIMEOUT - 1 ticks waiting for the prior I/O request to complete, and then CONFIG_SD_DATA_TIMEOUT - 1 ticks waiting for its own I/O request. However, this issue already exists for slow cards, since we wait for the card to be ready after sending data write commands in sdmmc_wait_ready, which could also take up to CONFIG_SD_DATA_TIMEOUT ticks to exit

One detail, that came to mind. In effect the timeout the user might have to wait might now in effect be two times CONFIG_SD_DATA_TIMEOUT

This is true- for a very slow card, each I/O operation could take CONFIG_SD_DATA_TIMEOUT - 1 ticks- then each I/O request could be blocked for CONFIG_SD_DATA_TIMEOUT - 1 ticks waiting for the prior I/O request to complete, and then CONFIG_SD_DATA_TIMEOUT - 1 ticks waiting for its own I/O request. However, this issue already exists for slow cards, since we wait for the card to be ready after sending data write commands in sdmmc_wait_ready, which could also take up to CONFIG_SD_DATA_TIMEOUT ticks to exit

Thanks for explaining. Using CONFIG_SD_DATA_TIMEOUT is probably fine then.

Thank you.


Error when try to add author in the publication

Welcome to Academic's GitHub repo 👋
We use GitHub only for bug reports and feature requests - it's our project management tool.
For help and questions, please join our community chat or use the forum 🚑.
Also, you can search and browse the extensive Academic and Hugo documentation.
For questions on Blogdown, please reach out to the Blogdown community.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

after hugo new ... publication
change the value of authors to any thing like authors: [Ziheng]
See error:

ERROR 2020/11/20 15:26:26 Failed to render pages: render of "section" failed: execute of template failed: template: section/publication.html:65:15: executing "main" at <partial "li_citation" .>: error calling partial: execute of template failed: template: partials/li_citation.html:8:7: executing "partials/li_citation.html" at <partial "page_metadata_authors" .>: error calling partial: "/var/folders/mr/p3yl36c16hn8dys44zc4k8wr0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-modules/wowchemy@v0.0.0-20201113113155-34a48f8670c8/layouts/partials/page_metadata_authors.html:6:30": execute of template failed: template: partials/page_metadata_authors.html:6:30: executing "partials/page_metadata_authors.html" at <.GetTerms>: can't evaluate field GetTerms in type *hugolib.pageState

Expected behavior
A clear and concise description of what you expected to happen.
Technical details:
I init my site according to the workflow on the official website today

Academic Version:
Hugo Version:
Browser/OS:

If applicable, add screenshots to help explain the issue.

Fixed after I upgrade hugo. (Big Sur)


Right Click Menus: Enable Feature Flag

Set Right Click Menu feature flag to default true.
This ticket is to serve as QA for the right click menu feature.
Acceptance Criteria

right click menus enabled by default
QA directions of the feature. @samwhale I know you started this already in a doc.

@csossi this is a massive feature for pea pod in the next release, if there's any way to QA it today so we can get it bug bashed that would be awesome.

How should stickers be handled here? I added a sticker to a page. If I right-click on it, I get the "background" context menu.
I was able to select Scale And Crop here, and the editor crashed. (should the context menu be disabled for stickers?)
https://share.getcloudapp.com/KouJJArE

good find @csossi. Stickers didn't exist when the context menu feature was designed, so I added a menu for stickers too:


Add a reference to the list of available parser hooks

Only on_send was mentioned in this guide, and this is only the tip of the iceberg.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[-] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[-] Squashed related commits together.
[-] Added tests.
[-] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

I'm afraid is not as simple as that. Apart from the callbacks in parser, there are also custom callbacks defined by RuboCop itself (e.g. on_def). See https://github.com/rubocop-hq/rubocop/blob/master/lib/rubocop/ast/traversal.rb for details.

Thanks!
Updated to include the hooks defined by RuboCop AST traversal as well.

Thanks!


Update README.md

Add swagger-ui version requirement

Having looked at this more, there's no reason why a newer swagger-ui shouldn't work. They say they are backwards compatible with swagger-spec 1.2, so there is probably a bug somewhere? Care to debug it?
I added a note that grape-swagger generates 1.2 documentation in https://github.com/tim-vandecasteele/grape-swagger/commit/e77cbbd05b92105a2759c99f78905a2230edd8db, that is definitely useful, thanks for suggesting it.


[AMBARI-21701] Check for import from org.apache.ambari.metrics.sink.relocated

What changes were proposed in this pull request?
Add org.apache.ambari.metrics.sink.relocated to the list of illegal packages to be used in ambari-server.  This package is available only if compiled with ambari-metrics (eg. Jenkins), but is not included in ambari-server dependencies.
How was this patch tested?
Temporarily added unwanted import, then ran check:
$ mvn -pl ambari-server checkstyle:check
[INFO] --- maven-checkstyle-plugin:2.17:check (default-cli) @ ambari-server ---
[INFO] Starting audit...
[ERROR] ambari-server/src/main/java/org/apache/ambari/server/stack/MasterHostResolver.java:33:1: Import from illegal package - org.apache.ambari.metrics.sink.relocated.curator.shaded.com.google.common.collect.Lists. [IllegalImport]
Audit done.

Check on current trunk:
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ ambari-server ---
[INFO] Starting audit...
Audit done.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2404/
Test PASSed.


MInor typos and grammar corrections

MInor typos and grammar corrections
Description
Spelling and grammar issues in https://mudblazor.com/utilities/pointer-events
How Has This Been Tested?
N/A
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

N/A
Checklist:

[X] The PR is submitted to the correct branch (dev).
[ ] My code follows the code style of this project.
[ ] I've added relevant tests.

@c0g1t8 Thanks for your contribution.  Docs corrections always appreciated.  Many eyes as they say.


Validate Accessibility

Run through the website using Axe and Wave devtools and find possible accessibility issues to address.

Done


Kafka commands responding very slowly

Hi All,
I have deployed Apache Kafka 3.0 on Kubernetes Locally with image(izzyacademy/kafka:3.0.0) in leagcy mode, when i logged in to kafka pod and running creating topics, console producer & console consumer commands its time taking around 30 seconds to 1 minute. Can you please help on this.
kafka-topics.sh
kafka-console-producer.sh
kafka-console-consumer.sh
./kafka-log-dirs.sh --describe --bootstrap-server localhost:9092
./kafka-broker-api-versions.sh --bootstrap-server localhost:9092
Thanks.

Hi @bharathreddy901
I think it is because of the settings in the values file.
https://github.com/izzyacademy/kafka-in-a-box/blob/main/kubernetes/helm-charts/desktop/values.yaml
The default values are meant to run it on smaller machines
Try upgrading the memory and CPU numbers for the Zookeeper and Brokers

zookeeper.zookeeperCPU=1000m
zookeeper.zookeeperMemory=2048Mi
zookeeper.zookeeperHeap="-Xms1024m -Xmx2000m"

broker.brokerCPU=1000m
broker.brokerMemory=2048Mi
broker.brokerCPU="-Xms1024m -Xmx2000m"

After you have increased these numbers, please let me know how it went.
Thanks.

Thank you Israel Ekpo for your reply, I will increase the cpu & memory and let you know.

Hi @izzyacademy,
I have increased the numbers for CPU, memory & heap memory as suggested. Now the commands are executing fast when compared to previously. But still i could see there is a lag about 5 seconds,may be I need to need to increase more cpu,memory & heap memory.
Thanks.


Fixes bugs and adds enchanting api partly

Will make a new one later, Voltasalt fixed things too

Will make a new one later, Voltasalt fixed things too


sharing user generated data: always disable possible active tool

workaround for #2480

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 99.652%

Files with Coverage Reduction
New Missed Lines
%

src/modules/olMap/handler/draw/OlDrawHandler.js
1
98.25%

Totals

Change from base Build<PHONE_NUMBER>:
-0.006%

Covered Lines:
12462

Relevant Lines:
12464

💛  - Coveralls


Feature Request: Smart Filter by Account

My NNW setup has two accounts, one being the iCloud account and another the NewsBlur account. I use the iCloud account to subscribe to several high-frequency, “skimmable” feeds that I don’t want to dilute my NewsBlur timeline. As such, it is desirable to have the ability to only view items in a specific account. Currently, I can only view items in a specific folder, which requires me to iterate among all folders under my NewsBlur account to read them all.

Duplicate of #217.


[MINOR][SQL] Throw better exception for Encoder with tuple more than 22 elements

What changes were proposed in this pull request?
This patch proposes to throw better exception with better error message when encoding to tuple which elements are more than 22.
BEFORE
scala> import org.apache.spark.sql.catalyst.encoders._
scala> val encoders = (0 to 22).map(_ => org.apache.spark.sql.Encoders.scalaInt.asInstanceOf[ExpressionEncoder[_]])
scala> ExpressionEncoder.tuple(encoders)
java.lang.ClassNotFoundException: scala.Tuple23

AFTER
scala> ExpressionEncoder.tuple(encoders)
java.lang.UnsupportedOperationException: Due to Scala's limited support of tuple, tuple with more than 22 elements are not supported.

How was this patch tested?
Added UT.

Test build #103288 has started for PR 24046 at commit 8a80438.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thank you for updating, @HeartSaVioR .

Thanks for the quick review, @dongjoon-hyun !

Test build #103289 has started for PR 24046 at commit 2426482.

Test build #103288 has finished for PR 24046 at commit 8a80438.

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

Test build #103289 has finished for PR 24046 at commit 2426482.

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/103289/
Test PASSed.

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/103288/
Test PASSed.

Thanks! Merged to master.

Thanks all for quick reviewing and merging!


If root is not needed anymore, neither is assert_root

assert_root is called even before disable_sudo and the code makes mention of not needing root so the call to assert_root is probably meaningless.

Thanks, but removed in just-merged https://github.com/rust-lang/rustup.sh/pull/73!


[5.5] Automatic self referencing relationships on model getAttribute

This pull request aims to improve Eloquent performance when accessing relationships as an attribute on a model by setting the originating relationship on a newly loaded relationship automatically.
Let's take the following two models as our example.
class User extends Eloquent
{
    public function posts()
    {
        return $this->hasMany(Post::class);
    }
}

class Post extends Eloquent
{
    public function user()
    {
        return $this->belongsTo(User::class);
    }
}

In the following situation, we will be executing unnecessary queries.
$user = User::first();

$posts = $user->posts;
$post = $posts->first();

$postUser = $post->user;

The above will execute a new database call to fetch the user when accessing its relationship as an attribute on the Post model instance.
This pull request will automatically set the relationship user on all posts.
In other words $user and $post->user in the example above, are exactly the same object instance.
This is particularly useful when passing post models to functions or methods elsewhere in your code where you need to access the original user. Before this pull request, a new query would be executed for every $post->user call.
An example where the same effect can be produced without this PR.
$user = User::first();

$posts = $user->posts;
$posts->each($post, function() use ($user) {
    $post->setRelation('user', $user);
});

$post = $posts->first();

$postUser = $post->user;

This implementation will fail for anything more complex than the provided example. What if Post has two user-relations (maybe an author and a last-edited-by reference), how would this work?
You would need to look at all of Post's relations and verify that the column for the Post relation (BelongsTo's getForeignKey()) matches the User relation column (HasMany's getForeignkey()) to make sure you've found the correct relation. This, however, is probably impossible since you would need to use reflection to iterate through all model methods, invoke them and check if they return any relationship objects...
It makes more sense to me (a Doctrine user) to have a cache (what Doctrine calls a identity map) that simplified is a $cache['User:1'] = $user;, and at every automatic lazy-loading we check this cache before issuing database requests. This functionality, however, is not present in Eloquent, and I'm not even sure it would fit into an Active Record setup either.
So...

We cannot guess the relation key. We could either get wrong relation (which is really bad) or just not finding the relation at all.
The new HasRelations::hasRelation method is a lie. It is in no way trustworthy, I bet it would even claim that __toString is a relation...
The new Collection::hasRelation cannot be trusted; it only checks the first model in the collection. The docs is also misleading, it states that it "checks whether a collection has a relationship on it", but collections never have relationships.

May I suggest that you abandon this current implementation and start a new discussion over in https://github.com/laravel/internals to discuss what you want to build and the problems you run into?

This has been suggested before and while the concept as a whole is interesting I haven't seen an implementation I was thrilled with. I know Rails tried an identity map on their ActiveRecord before and ended up pulling it out entirely if memory serves me right.

Thank you @sisve for the comments and feedback. It is really appreciated. The feature was meant to only work for guessing singular named relationships that follow the pattern of naming the relationship after a model. While this use-case may or may not be very limited, it offers some additional performance boosts when often forgotten.
Hi @taylorotwell, interesting to hear about Rails. Thanks!


Check if name is undefined

Closes https://github.com/lensapp/lens/issues/2826

Eventually, we should replace it to https://www.npmjs.com/package/initialism for example.

@aleksfront I don't think so, that package isn't what we want (it only uses spaces for instance). Plus I don't think it handle's non-ascii characters at all.


cannot find documentation for some python api

Description
I read MXNet's module API tutorial and confused to some Python API's usage. On the official python api url I can find many documentations but some are not find.
Environment info (Required)
the environment is not required. I search the python API on your official website.
Build info (Required if built from source)
The build info is not required.  I search the python API on your official website.
Error Message:
There is not error message since no code run.
Steps to reproduce

Go to https://mxnet.incubator.apache.org/tutorials/basic/module.html
Find some functions that don't know their concrete argument meaning
For example, mx.sym.Convolution can be found by typing mxnet.symbol.Convolution; However, mx.test_utils can never be found.

Hoping the documentation can be complete, thanks.

Hi @zchrissirhcz thanks for the question, @sandeep-krishnamurthy requesting this be labeled under Question

For questions, please submit on MXNet discussion forum (https://discuss.mxnet.io), where it will get a wider audience and allow other to learn as well.
@sandeep-krishnamurthy to close this issue now in favor of the discussion forum issue you will file, please feel free to re-open if closed in error.
Thanks!

@aaronmarkham - Can you please help?

@zchrissirhcz a few module are indeed not in the API documentation as top-level packages as they should, for example the mxnet.viz and mxnet.test_utils. This is something we need to be fixed IMO, @aaronmarkham ?
@indhub can you remove the question tag and add a [Bug] tag?
We should also try to handle better the shorthand versions of the modules: e.g sym->symbol viz->vizualisation nd->ndarray

I'm not sure why this is the case. My guess is that it is probably doxygen config. I can tackle it first thing next week. Can you assign the issue to me?

hi @aaronmarkham, what's the status of this?  any updates?


Misleading AHUB licenseType mentioned

Hello
In section "Check the current licensing model of an AHB enabled VM" we have two references for the AHUB setting. It is not clear which licenseType value indicates that we have a AHUB or a BYOS license actvated/in use. It looks like that in one of the parts we have a missing "not". Please check.

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

ID: a237c483-819b-bd1a-6c6d-3eea20b64c42
Version Independent ID: 21469b9a-ad6f-76c6-a26b-4e264dee77df
Content: Azure Hybrid Benefit for Linux virtual machines - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/azure-hybrid-benefit-linux.md
Service: virtual-machines
Sub-service: billing
GitHub Login: @Dhiraj3030
Microsoft Alias: dkulkarni

@AndreasSemmelmann
Thanks for your feedback! We will investigate and update as appropriate.

[heart]         Andreas Semmelmann reacted to your message:

From: Saibaba Balapur Hireka @.>
Sent: Wednesday, December 13, 2023 11:12:34 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Mention @.>; Author @.>
Subject: Re: [MicrosoftDocs/azure-docs] Misleading AHUB licenseType mentioned (Issue #117977)
@AndreasSemmelmannhttps://github.com/AndreasSemmelmann
Thanks for your feedback! We will investigate and update as appropriate.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/117977#issuecomment-1853720182 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT4IAGN6I34Y6UQQJU6PDELYJGESHBFKMF2HI4TJMJ2XIZLTTGBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3DINRVGQ4DSMJTURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2SOBTGY3TAMRXGQZKI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNJHAZTMNZQGMYTSM5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWUTQMZWG4YDIOJZGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRRGQYDIOBZGU2TMMFENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWVDEMRZGYYTQOBQGM4KI3TBNVS2S2DBONPWYYLCMVWKY43VMJVGKY3UL52HS4DFVREXG43VMVBW63LNMVXHJJTUN5YGSY3TTCBKI5DZOBS2U4TFOBXXG2LUN5ZHTJLWMFWHKZNIG4ZDMOBVGAZDNAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMBTHEYTENJZG44IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVE3DINRVGQ4DSMJTQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKJYGM3DOMBSG42DFAVEOR4XAZNFNRQWEZLMUV3GC3DVMWUTQMZWG4YDGMJZGOBKI5DZOBS2K3DBMJSWZJLWMFWHKZNJHAZTMNZQGQ4TSNECUR2HS4DFUVWGCYTFNSSXMYLMOVS2UMJUGA2DQOJVGU3DBAVEOR4XAZNFNRQWEZLMUV3GC3DVMWVDEMRZGYYTQOBQGM4KO5DSNFTWOZLSUZRXEZLBORSQ.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks for reporting this. Looks like a typo. We'll make the suggested correction.

[heart]         Andreas Semmelmann reacted to your message:

From: vvarshney06 @.>
Sent: Thursday, December 14, 2023 7:49:35 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Author @.>; Comment @.>
Subject: Re: [MicrosoftDocs/azure-docs] Misleading AHUB licenseType mentioned (Issue #117977)
Thanks for reporting this. Looks like a typo. We'll make the suggested correction.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/117977#issuecomment-1855343007 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT4IAGJMWEFMNSZFAJIXZPLYJKVRBBFKMF2HI4TJMJ2XIZLTTGBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3DINRVGQ4DSMJTURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2SOBTGY3TAMRXGQZKI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNJHAZTMNZQGMYTSM5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWUTQMZWG4YDIOJZGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRRGQYDIOBZGU2TMMFENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWVDEMRZGYYTQOBQGM4KI3TBNVS2S2DBONPWYYLCMVWKY43VMJVGKY3UL52HS4DFVREXG43VMVBW63LNMVXHJJTUN5YGSY3TTCBKI5DZOBS2U4TFOBXXG2LUN5ZHTJLWMFWHKZNIG4ZDMOBVGAZDNAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMBTHEYTENJZG44IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVE3DINRVGQ4DSMJTQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKJYGM3DOMBSG42DFAVEOR4XAZNFNRQWEZLMUV3GC3DVMWUTQMZWG4YDGMJZGOBKI5DZOBS2K3DBMJSWZJLWMFWHKZNJHAZTMNZQGQ4TSNECUR2HS4DFUVWGCYTFNSSXMYLMOVS2UMJUGA2DQOJVGU3DBAVEOR4XAZNFNRQWEZLMUV3GC3DVMWVDEMRZGYYTQOBQGM4KO5DSNFTWOZLSUZRXEZLBORSQ.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@AndreasSemmelmann
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Hi @AndreasSemmelmann , thanks for your feedback!
Since this issue was raised we've significantly re-worked our AHB docs. This issue has been resolved!
#please-close


input placeholder text styling

Tested on version of nativebase available on the playstore (1.0 built on Oct 14, 2016)
The input placeholder text styling is exactly the same as the input value text styling, this makes the placeholder and the value text indistinguishable (very poor UX/UI).
Both iOS and Android widgets use different styles on placeholder and values on input. The most common styling change is that placeholder text opacity is decreased when the input is focused.

You can add your placeholder color by using the placeholderTextColor prop.

Is 'placeholderTextColor' included in the docs? I can't find it.

http://facebook.github.io/react-native/docs/textinput.html @TsuryKnox

For future people viewing this:
"inputColorPlaceholder" is included in the variables for native base themes now. Took me a few moments to find it. :)


PHP variable with curly syntax

Hello,
I have curly variables in my php code like :
${'foo'}
which are becoming once formatted :
$ {
'test'
}
It seems that these vars are beeing formatted like a if statement.
Is it possible you can look into it ?
Thanks for your help.

+1

CodeFormatter updated to version 3.0.0
Maybe your problems solved
See Release Notes


Forced version update in F-Droid

Currently in F-Droid and in IzzyOnDroid F-Droid Repo the latest version available for installation is 2.0.2. Although, 2.0.3 came out 4 days ago. Not to mention today's 2.0.4. Is it possible to force (accelerate) submit new releases for placement in F-Droid?

According to their FAQ, it can take up to 7 days for F-Droid to detect and publish an update. However, sometimes things seem to get stuck. I'm not sure how it goes with IzzyOnDroid.
I have no idea how to accelerate updates; perhaps the best approach would be to ask on their forums.
In any case, if you would like to receive a notification as soon as a new release is available, you can subscribe to the releases RSS channel and download and install the APK directly. Otherwise, there is an app for that (open source too) named Obtainium.

@Korb new releases should arrive at IzzyOnDroid within 24h of their becoming available here. If they don't, there's some issue. Luckily I just stumbled upon this issue here when looking to file another one, as I was not aware of the problem. It's fixed now (was a wrong parameter for the updater on the IoD end), so starting with the next sync around 6 pm UTC, HealthyBatteryCharging should be updated in timely manner again (to make sure it works properly now, I just manually triggered a scan and it immediately pulled the last version to staging).


Change clanChat to an optional field

Changed clanChat to optional, since this is not a required field in some WiseOldMan groups.
This may be an intended change, reflecting WiseOldMan's updates to require ClanChat associations to groups; however due to the existence of many groups that do not have attached clan chats, this is a problem that can be reproduced by using groups.get_details(any id without an associated clanchat).
Based on my testing, simply updating this to t.Optional resolves the issue.
See: https://api.wiseoldman.net/v2/groups/3896

Looks like the CI broke somewhere along the way. Good catch though. Thanks!

@joelhalen this is released now if you want to pip install -U wom.py


False negatives in unused exports

Hi, thanks for your work on this project. I am using the latest version of knip (5.22.3) and found some false negatives where unused exports were not reported as unused.
Issue 1: name is a substring of a different name when using ignoreExportsUsedInFile
// file: a.ts
export const unusedFunction = () : string => {
    return 'a';
};

export const unusedFunctionUnrelated = () : string => {
    return 'b';
};

unusedFunctionUnrelated()

Knip correctly reports that both functions above are unused when ignoreExportsUsedInFile is false, but does not report either function when it is set to true. If I rename unusedFunctionUnrelated to something else that does not contain unusedFunction within it, knip then correctly reports unusedFunction as unused and the other function as used since it is called within the module.
Issue 2: multiline named exports when using ignoreExportsUsedInFile
const abc = '123'
const def = '456'
export {
  abc,
  def
}

Knip correctly reports that both constants above are unused when ignoreExportsUsedInFile is false, but does not report either constant when it is set to true. Interestingly, knip does report both constants with ignoreExportsUsedInFile set to true as long I remove the multiline exports via
const abc = '123'
const def = '456'
export { abc, def }

or
const abc = '123'
const def = '456'
export { abc }
export { def }

Issue 3: Re-exporting an unused export
If I create a new file b.ts which contains
export { unusedFunction } from './a'

and then my index.ts is
export * from './a'
export * from './b'

unusedFunction is not reported as unused. If I remove export * from './b' from my index.ts, making it so that b.ts is unreachable, knip will then report unusedFunction as unused. None of the flags (ignoreExportsUsedInFile and includeEntryExports) seem to affect this behavior.

In https://knip.dev/guides/issue-reproduction:

Please create minimal issue reproductions
Please create separate issues

Let's keep this one for only the first issue you've mentioned. No need to create a repro for this first one, I'm fixing this one now.

:rocket: This issue has been resolved in v5.23.0. See Release 5.23.0 for release notes.
Using Knip in a commercial project? Please consider becoming a sponsor.