Update machine-learning-data-science-preprocess-steps.md

Included Xibin's GitHub name as first author

Hi @msolhab, 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 (mohabib). If you're full-time, we DON'T require a contribution license agreement.

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

TTYL, AZPRBOT;


About editing of AFHQW using StyleCLIP global-directions

I have tried the default script (used for FFHQ) but no effect on AFHQW editing.  My guess is the settings of delta_i_c and s_statistics are not properly set.  How could we duplicate the AFHQW editing as included in the paper.  Thanks

You may need to play a lot with the alpha and beta parameters in StyleCLIP. Sometimes with StyleCLIP's global directions, you need test out a lot of parameters to get a combination that behaves well.


How to distingish between an element that was detached and attached and a cloned copy of it?

Let's have an element <custom> and its callback attached. The callback will do some behavior initialization. During the lifetime of the page <custom> can be moved around the dom tree, i.e. it will be detached and then attached again.
Now, let's clone this element (custom.cloneNode()) and attach the clone to the body. Attached is called again.
The question: how do I know in the attach callback whether the element is a copy which has not been initialized?

I'm thinking setting a property (not attribute) like so:
attached: function() {
  if (this.isAttached) return;
  this.isAttached = true;
 ... attach logic ...
}

That'd be one way to do it. What your use case?
On 28 Aug 2015 07:11, "Anton Stoychev"<EMAIL_ADDRESS>wrote:

I'm thinking setting a property (not attribute) like so:
attached: function() {
if (this.isAttached) return;
this.isAttached = true;
... attach logic ...
}
—
Reply to this email directly or view it on GitHub
https://github.com/skatejs/skatejs/issues/296#issuecomment-135555984.

I'm using attached callback to apply jQuery plugin behavior (I know it's a framework but some plugins like magnificpopup or parsley cant be replaces with native js packages easily). And then throughout the life cycle of the page I clone the element to alter some of it contents and reuse it for another purpose.

Yeah, that'd probably be the best way to do it. I've thought about adding something like an attachedOnce callback but it doesn't make sense because you should be undoing your attached changes in detached. Of course, jQuery plugins are the exception to this rule if they require something to have layout and they don't give you a way to unbind stuff.
I'd recommend that if possible, always use the created callback for this. The exception being when you need dom attachment. If you can't cleanup after yourself, using the if (this.isAttached) is perfectly fine.

Cool :)


[FLINK-18242][state-backend-rocksdb] Remove the deprecated OptionsFactory and related classes

What is the purpose of the change
OptionsFactory and related classes have been marked as deprecated since release 1.10.0, and in this change we will remove them completely.
Brief change log
Remove OptionsFactory, ConfigurableOptionsFactory and related adapters and test cases.
Verifying this change
This change is already covered by existing tests for RocksDB backend.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)

OptionsFactory and ConfigurableOptionsFactory are user-facing classes.

The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

CC @StephanEwen

Thanks for the review @StephanEwen !
The ConfigOptionsDocsCompletenessITCase failure in pre-commit check is related to changes here, so I will push another addendum fix to address your comment and the doc issues, and make sure nothing breaks our pre-commit.


knative and kfserving is missing from GCP Blueprint

test knative is deployed is failing.
https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kubeflow-gcp-blueprints-periodic-master/1281020489434664960
I don't think knative is included in the GCP blueprint

This on the master branch of kubeflow/manifests. I want to verify it is working on the master auto deployment before cherry-picking to the 1.1. branch.
Once we verify on master we will need to do the following

Cherry-pick it into kubeflow/manifests 1.1 branch
Create a kubeflow/manifests rc
Update the blueprint to the new RC.

Test is failing against master.
Looking at one of the auto-deployed clusters the knative namespace is empty.
kubectl -n knative-serving get deploy
No resources found in knative-serving namespace.

#1376 had a bug; it would end up installing knative in the kubeflow namespace which isn't what we want.

We will need to update the blueprint Makefile to install knative

knative deployment is failing on master.
Error from server (NotFound): error when creating ".build/knative/~g_v1_configmap_config-tracing.yaml": namespaces "knative-serving" not found

It looks like the knative package includes the namespace resource
.build/knative/~g_v1_namespace_knative-serving.yaml

But we need to apply it in order

The test is still failing but it looks like knative is now installed on master
kubectl -n knative-serving get deploy
NAME               READY   UP-TO-DATE   AVAILABLE   AGE
activator          1/1     1            1           5h12m
autoscaler         1/1     1            1           5h12m
autoscaler-hpa     1/1     1            1           5h12m
controller         1/1     1            1           5h12m
networking-istio   1/1     1            1           5h12m
webhook            1/1     1            1           5h12m

Downgrading to P1 since this looks like an issue with the test.


(micro-)payment channels

Described in example 7 on the Contracts page:

https://en.bitcoin.it/wiki/Contracts

See also Peter Todd's suggestion of how to do multi-party payment channels:

http://sourceforge.net/p/bitcoin/mailman/bitcoin-development/thread/20141213023458.GA961%40muck/#msg33144746

"Bi-directional micropayment channels with CHECKLOCKTIMEVERIFY" http://sourceforge.net/p/bitcoin/mailman/message/33219556/
See related issue https://github.com/ryanxcharles/fullnode/issues/16

Wow, that's awesome! Removes one of the big headaches associated with micropayment: The initial handshake and setup of refund transactions! :D

BitPay's Impulse https://gist.github.com/oleganza/a155c0591262380982df

This is being implemented in a separate repo: https://github.com/yoursnetwork/fullnode-pc


[Testerina] Add diff to the error message when equality assertion fails for anydata map

Purpose
Add diff to the error message when equality assertion fails for anydata map
Fixes #26204 for Json/map/record data types
Approach
When "assertEquals" fails and the types of the compared values are the same, a difference will be shown as in the below samples for Json/map/record data types.
Samples
      >
      json j1 = {name: "Anne", age: "21", marks: 100};
      json j2 = {name: "Anne", age: 21, marks: 100};
      test:assertEquals(j1, j2);

            Assertion Failed!
                expected: '{"name":"Anne","age":21,"marks":100}'
                actual  : '{"name":"Anne","age":"21","marks":100}'
                Diff    :
                --- expected
                +++ actual
                @@ -1,5 +1,5 @@
                {
                name: <string> Anne,
                -age: <int> 21,
                +age: <string> 21,
                marks: <int> 100
                }

      >
      json j1 = {name: "Anne", age: "21", marks: {maths: 100, physics: 90, status: {pass:true}}};
      json j2 = {name: "Anne", age: 21, marks: {maths: 100, physics: 90, status: {pass:false}}};
      test:assertEquals(j1, j2);

            Assertion Failed!
                expected: '{"name":"Anne","age":21,"marks":{"maths":100,"physics":90,"status":{"pass":false...'
                actual  : '{"name":"Anne","age":"21","marks":{"maths":100,"physics":90,"status":{"pass":tru...'
                Diff    :
                --- expected
                +++ actual
                @@ -1,11 +1,11 @@
                {
                name: <string> Anne,
                -age: <int> 21,
                +age: <string> 21,
                marks: <map> {
                maths: <int> 100,
                physics: <int> 90,
                status: <map> {
                -pass: <boolean> false
                +pass: <boolean> true
                }
                }
                }

Remarks
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing this PR to change the diff format for map data.


Bluetooth: Mesh: Modularizing the stack

Introduction
Bluetooth Mesh is a complex component that consumes a significant amount of memory and CPU time. It is currently built as a semi-monolithic subsystem on top of HCI, and must be linked into the application binary, but some configurations could benefit from splitting the mesh stack into smaller components. In this RFC, I'd like to suggest some changes that would allow alternative build configurations without sacrificing the current user experience.
The Zephyr Bluetooth Mesh stack currently keeps most of its state in two places; net.c's bt_mesh structure for keys and book keeping, and the Config Server's bt_mesh_cfg_srv structure for feature management. These two objects are manipulated and passed around the stack pretty liberally. This removes the need for a lot of boilerplate accessor functions, but increases coupling to a point where separating the modules is virtually impossible.
Proposed change
I'd like to break up this monolith a bit, so that the mesh stack can be split into smaller components. My primary goal is to allow a split between the access and transport layers, so that the "core" stack can be compiled as a separate binary with a well defined, serializable interface. In the process, I'd like to reduce the overall internal coupling, so we can simplify testing of individual parts of the mesh stack and be more flexible for new configurations. To accomplish this, I want to propose a series of changes I think would benefit the overall architecture, as they strengthen the separation of concerns and removes unnecessary upward dependencies.
The biggest source of internal coupling is the Config Server's active part in manipulating bt_mesh. It enforces the specification defined rules for keys, features, addresses and states without actually owning this state. Additionally, the Config Server is currently acting as the owner of the feature configuration, the heartbeat state and the virtual address label UUIDs. Most of my proposed changes will revolve around changing the role of the Config Server from state owner to state interface, moving all state storage and spec mandated behavior inside the relevant modules.
In short, the changes are:

Move the Heartbeat state to a separate module in the transport layer.
Move feature configuration states into the core mesh stack, and deprecate bt_mesh_cfg_srv in favor of kconfig entries.
Move virtual address labels to transport.
Move key management into a separate module next to network and transport.
Remove key-objects from access, and operate purely on app_idx/net_idx above transport.
Replace all raw pointer access to bt_mesh from the Config Server, shell and access with public accessor APIs.

Detailed RFC
Reasoning and details for each of the listed changes:
1. Move the Heartbeat state to a heartbeat module
Both in the specification and the Zephyr stack, the Heartbeat module sits in the transport layer. However, both the heartbeat state and its configuration behavior sits in the Config Server. I'd like to unite this behavior in a separate heartbeat module, with a public API for adding callbacks and checking the current state, as well as an internal API for configuration. The Config Server's hb_sub and hb_pub states would be deprecated.
2. Move the feature configuration states
The Config Server owns a few states that the stack currently accesses through foundation.h:

net_transmit
relay
relay_retransmit
beacon
gatt_proxy
frnd
default_ttl

Apart from the configuration stage, these states are only used by the core stack. Storing them in the Config Server creates an unnecessary upward dependency, that separates the core layers from its configuration, and forces applications to include a Config Server model, even when testing. I think these states should be moved into the modules that use them, making the Config Server an interface for the stack configuration, not the owner.
These states are currently stored in the user owned bt_mesh_cfg_srv structure, which provides an easy way of setting the default values and reading their current value. I think these mechanisms should be replaced by kconfig options for the states' initial value, and public accessor functions for reading the states from the application, so we can deprecate this structure. This removes any state duplication, and allows us to remove 20-50 lines of boilerplate in the application. It also prevents anyone from trying to change these states directly in the structure at runtime, which leads to unexpected behavior.
3. Move virtual address labels to transport
This change follows the same logic as the feature configuration states, as it encapsulates the management of state inside the module that is actively using it. An internal API for adding and removing the virtual addresses should be added to transport.h.
4. Move key management to a separate module
Whenever the Config Server deals with subnets and app_keys, it currently manipulates the bt_mesh structure directly, enforcing specification rules and coordinating various required function calls. I would like to move this behavior into the core mesh stack, again strengthening the idea that the Config Server is just an interface for the stack.
To prevent piling onto the already sizable network and transport modules, I propose moving all cryptographic key management into a separate key module. This makes the stack better prepared for future improvements to crypto management, such as trusted execution environments or dedicated crypto hardware, and separates the key management from the packet processing mechanisms of transport and network.
5. Only use key indexes in access
Currently, the access layer must perform subnet and appkey lookup on outgoing messages. Some of these lookups are also repeated in the layers below, and I would argue that it's not actually access's place to determine the validity of the keys. To create a clear separation of concerns, the access layer can instead operate purely on key indexes, and rely on the transport and network layers for translating these into valid key objects. This removes all direct pointers to the bt_mesh structure from access, and isolates the key validity problem to the lower layers. On incoming messages, the access layer currently accepts a bt_mesh_net_rx structure, but only uses the bt_mesh_msg_ctx structure. This can also be simplified.
6. Replace any remaining bt_mesh pointers in access, models and shell
In addition to the aforementioned cases, the Config Server, access and shell modules access raw pointers to core memory directly in a couple of cases. These can all be replaced by simple getter APIs that only fetches the relevant states, instead of passing internal pointers.
Known cases:

Config Server calling bt_mesh_friend_find to get remaining LPN timeout. Can be replaced by a public API.
Shell reading bt_mesh.iv_index directly. Can be a public API.

In addition to these changes, the mesh settings storage can be decentralized, as suggested in #19850. It's not clear whether this is actually necessary for this set of changes, but it fits naturally.
Any input would be appreciated :)

#18326
The friend node and low power node defined in upper transport layer, not in network layer, so split friend_cred_* from net.c to other place .

Some other suggestions during this API revision:
Mesh Beacon
Dynamic enabling/disabling of mesh beacons is currently not canonically possible as the functions required are not accessible by an application. (headers defined in subsys/bluetooth/mesh). Not one of the following commands within my functions are accessible.
void enable_mesh_beacon(void)
{
    struct bt_mesh_cfg_srv *cfg_srv = bt_mesh_cfg_get();
    cfg_srv->beacon = BT_MESH_BEACON_ENABLED;
    bt_mesh_beacon_enable();
}

void disable_mesh_beacon(void)
{
    struct bt_mesh_cfg_srv *cfg_srv = bt_mesh_cfg_get();
    cfg_srv->beacon = BT_MESH_BEACON_DISABLED;
    bt_mesh_beacon_disable();
}

bool mesh_beacon_enabled(void)
{
    return bt_mesh_beacon_get() == BT_MESH_BEACON_ENABLED;
}

GATT Proxy
The GATT proxy feature also cannot be easily dynamically activated or deactivated. It is basically defined by the Config to be on or off all the time. This is very limiting. The necessary functions are also obfuscated and loosely connected. The gatt proxy is a frequent advertiser and uses a lot of power. Would be nice to have a centralized/modular way to activated/deactivate
int enable_gatt_proxy(void)
{
#if CONFIG_BT_MESH_GATT_PROXY
    struct bt_mesh_cfg_srv *cfg_srv = bt_mesh_cfg_get();
    cfg_srv->gatt_proxy = BT_MESH_GATT_PROXY_ENABLED;
    int ret = bt_mesh_proxy_gatt_enable();
    if (ret)
        return ret;
    bt_mesh_proxy_adv_start();
#endif
    return 0;
}

int disable_gatt_proxy(void)
{
#if CONFIG_BT_MESH_GATT_PROXY
    struct bt_mesh_cfg_srv *cfg_srv = bt_mesh_cfg_get();
    cfg_srv->gatt_proxy = BT_MESH_GATT_PROXY_DISABLED;
    int ret = bt_mesh_proxy_gatt_disable();
    if (ret)
        return ret;
    bt_mesh_proxy_adv_stop();
#endif
    return 0;
}

bool gatt_proxy_enabled(void)
{
    return bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED;
}

RELAY, FRIEND, LPN
I also believe there aren't enough functions available to the user for discovering if the device is a relay/friend/lpn or for dynamically setting active or inactive. One has to get the information from the configuration server, which is not accessible.

@MarcianoPreciado Thanks for the feedback. Currently, these things are normally done through the config client model, even if you want to change your own configuration. I haven't made any specific moves towards changing this in #27908, but it's a good point. Essentially, if the config server becomes a front end for the configuration API, it should be possible to use the API directly as well. Could you perhaps take a look at that PR, and comment on the changes? For instance, should the new API in subsys/bluetooth/mesh/cfg.h be public?
The poll can actually be triggered with the bt_mesh_lpn_poll() function already, but there are not control points for the timed polling.

It's true that you can trigger your own poll. However, you cannot stop the application from polling on your behalf. There is also no control over how many times or how often to send friendship requests while in the enabled state. This is also a huge power waster. I'll take a look at the PR as far as cfg goes. Thanks for putting in the work to make the api better!

Non-connected for adv-mesh bearer and proxy connected-adv for proxy or pb-gatt are coupled in adv.c.
I've talked about refactoring the framework a long time ago. After all,  it is an important thing for the overall performance of mesh.
Using a separate task to process, it still takes up a lot of ram and increases the throughput delay of message sending.
For this kind of problem, some people have feedback on slack.

Replay attack table is usually used in the transport layer to prevent replay attacks. However, the specification does not define it in a certain layer, but in a separate security paragraph. Therefore, move Replay attack is decoupled from the network layer by putting it into a separate module is better way.


bar plot help!

I have get the bar plot , but the each bar were close to each other.  how to leaves a gap between each bars

Check out the bar_spacing parameter of Theme so something like this could work:
plot(x=[1,1,2,2],y=[1,2,3,4],Geom.bar, Theme(bar_spacing=5mm))


function in prop :move is never called

Hello. I have an issue where the function checkmove() is never called, unless I change from :move to @move. But then the return false doesn't prevent the move from happening. In the documentation a <preview-list> component is used but I don't know how to import it. Anyway here is my code :
<template>
    <VueDraggable tag="div" v-model="list" group="g1" :move="checkMove">

            {{ el.name }}
            <nested-component v-model="el.children" />

    </VueDraggable>
</template>

Any idea on how to solve this? thanks :)

@move


[digdag-ui] Resolving type issues

In https://github.com/treasure-data/digdag/pull/1698, I leave some type issues (any type and ts-ignore).
We should fix them to make type check more reliable.
Though I'm willing to resolve them by myself later, it is welcome that someone else do it.

Personal note:
I found npm install complains.
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile


Need dark text color.

Snapshot of present text color is as follows.

The text color in this section (and any other section where this color is used) is light and needs to be darkened in order to increase it's visibility.

Though corrected.

@utkarsh2102 Hi, this has already been fixed. Please do a hard refresh as already mentioned by @thisisayush in #31
Do suggest changes with the updated screenshot that you have in mind.

@thisisayush Please change the font used in the description, it is too flimsy and light. How about Merriweather or Roboto, as I use in Mixster.

@vipulgupta2048, a darker version of text was required when she reviewed.
She couldn't read clearly and asked me to make the text (the summary of the activity) more darker to make it's visibility clearer.

Any ETA on this?
@vipulgupta2048 @thisisayush


Support Macos ARM architecture

Hello, would it be possible to add a wheel for macosx arm (m1/m2/m3)?
Right now PyPi only has wheels for x86_64 arch.
Thank you

Just uploaded 2.0.3 with arm mac wheels to PyPI. I hope they work for you.


Added code snippets for new Backdrop APIs in system-backdrop-controller.md

Added sample code for the new XAML Backdrop APIs.
Addressed the old Backdrop Setting Code example with WindowsAppSDK version 1.2.x and the new API's with 1.3.x.
Added new XAML Backdrop Code example for setting MicaAlt as the system backdrop.

@microsoft-github-policy-service agree

@jwmsft What about the Pull Request? Any changes needed?

@CosmicPredator, thanks for submitting this update, and sorry for the delay in reviewing it. It looks like this change is essentially the same as an update made right about the same time that you created this PR, which will cause a conflict with the current doc. If you would like to suggest further improvements to the updated doc in its current form, we'd welcome an updated PR. Thanks

@jwmsft Thanks for notifying me. It seems like the required changes are already made in the docs. So there is no need for my PR to get merged. I'll close my PR now.
A Kind request, try to be as fast a possible next time.🤗


Great project

Just a brief mention of my appreciation for a great project.
I have been a long time user.
Thank you
Fig

Thank you so much @lefig / Fig!
I initially wrote this library as a tool just for me to use, but it's been fun to watch it mature as a public project and I love hearing that other people enjoy using it too! It keeps getting better over time, and I look forward to watching the future of this library continue to unfold!
Thanks again for your inspiring comment.
Scott


update matplotlib

this is a super urgent issue to solve running latest matplotlib 3.8.3 breaks the plotting.
good news is that there's a lot of documentation now
https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.8.0.html
create a branch where you remove the matplotlib version requirement (current <=3.7.3) and test the plot
thanks to @kevinrue ingestion action you should be able to see the failures immediately, i suggest starting from this error and work your way through the code.
thanks!
/home/runner/work/panpipes/panpipes/panpipes/funcs/plotting.py", line 314, in ridgeplot \
#                                       tick.label.set_fontsize(10) \
#                                   AttributeError: 'YTick' object has no attribute 'label' \
#                                    \
python /home/runner/work/panpipes/panpipes/panpipes/python_scripts/run_preprocess_prot.py         --filtered_mudata teaseq_unfilt.h5mu         --figpath ./figures/prot          --channel_col sample_id --normalisation_methods clr --quantile_clipping True --clr_margin 1 > logs/run_dsb_clr.log

also see issue #150
and info on how to ensure installation is consistent for both pypi and conda
https://stackoverflow.com/questions/76722680/what-is-the-best-way-to-combine-conda-with-standard-python-packaging-tools-e-g


[ZEPPELIN-4889] [Flink] Error logs in catch exception

What is this PR for?
Fix error logs in  catch exception
What type of PR is it?
[Bug Fix ]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-4889
How should this be tested?
Screenshots (if appropriate)
Questions:
No questions.

LGTM


[warning] compulsory argument 'phenotype_names_regenie' to task/workflow Plots is missing

When compiling regenie.wdl with dxCompiler 2.4.9 the following warning is produced:
[warning] compulsory argument 'phenotype_names_regenie' to task/workflow Plots is missing

Fixed with the latest commit.


Prevent Slack API rate-limit overflow

I noticed that the current implementation of the Slack bridge is actually likely to exceed Slack's API rate-limit.
When starting up and joining multiple channels multiple JoinChannel events are received which all result in the users and channels being refreshed.

Wouldn't it be better to have one function that gets called from populateUsers and populateChannels ? with just one mutex / time ?

In the handleSlackClient() method we call the populateUsers() without calling the populateChannels() hence they are split out in two functions. This in turn means that they both need to rely on separate mutex / time couples.

Maybe I'm overlooking something, but as the slack API rate is global, why not something like this ?
func refreshAllowed(what string) bool {
	if time.Now().Before(earliestRefresh) {
		b.Log.Debugf("Not refreshing %s list as there was a refresh less than %d seconds ago.",what, int(minimumRefreshInterval.Seconds()))
		return false
	}
	earliestRefresh = time.Now().Add(minimumRefreshInterval)
	return true
}

populateUsers() {
	if !refreshAllowed() { return }
	...
}

populateChannels() {
	if !refreshAllowed() { return }
	...
}

Thanks!


base64 encoded password will contain HTTP URL reserved character

When uses base64 encoded password to send HTTP request in URL. It will have the reserved character in the base64 encoded string, for example, '=' in the coded string. This will be escaped by URL to %37, hence resulting in login failure.
Any idea to bypass that? providing a POST method?

Hi,  just use the base64 encoded password ended with '='.
Although it does not conform with URL standards, but it works.

Fixed it.
BTW,  the URL encoding of character = is %3D.


Make snoc force structure

snoc was much too lazy. It produced thunks all over the place,
including lazily deferring converting the tails to arrays. That may
well explain the poor GC performance with this package. I believe
this should fix it.
Fixes #22

Yikes, thanks!


copy worker ID to clipboard - from Node Information form

Is your feature request related to a problem? Please describe.
Required in order to find the worker ID in KIBANA
Describe alternatives you've considered
Currently we dont have direct solution we bypass by searching for pod ID

implemented in dashboard


Setting up assign and free methods for meta should be done  when they are already placed in heap.

fixed


cmd/compile: out of fixed registers (nested array/slice indexing) on amd64

1. What is a short input program that triggers the error?

http://play.golang.org/p/m59dvc6cXo

Also a reduced example:

package main

type T struct {
	F int
}

func f() {
	var (
		A = [][1]int{}
		B = []int{3: 1, 4: 1}
		X [2]byte
		Y [2]int
		Z []float64
		n int

		S     []T
		Funcs = [0]func() uintptr{}
	)

	var Var813 = Funcs[int(B[Y[S[A[X[int(Z[n])]-1][n]+1].F+1]])]()

        _ = Var813
}

2. What is the full compiler output?

0 0
1 0
2 0
3 40cee6
4 0
5 40a25c
6 0
7 0
8 40a25c
9 412470
10 40a25c
11 40a25c
12 40a25c
13 40999d
14 40ab97
15 40a2f5
bug1.go:20: internal compiler error: out of fixed registers

3. What version of the compiler are you using?  (Run it with the -V flag.)

go version devel +0a0e0c40901d Tue Jul 08 14:47:52 2014 -0400 linux/amd64

From #10088: Make sure this code works as well:
package main
func main() {
    type X struct {
        f int
    }
    var x X
    var xx []X
    var s0 []int
    var s1 []func()
    var s2 [][][]int
    var s3 [][]int
    var s4 [][]int16
    s1[xx[int(s4[0][s0[s3[s0[s2[s3[s0[s0[s0[x.f]]-1]+1][0]-1][0][0]]-1][0]]+1])].f-1]()
}

Fixed with new SSA backend.


FP8 PTQ With Physical Dependency 0515

PR types
New features
PR changes
APIs
Description
PaddleNLP设计逻辑：
llm/fp8quant.py
定义FP8的量化逻辑，将FP8UniformObserver写入QuantConfig中
llm/fp8finetune_generation.py
调用llm/fp8quant.py中的量化逻辑，完成全部量化过程

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


Added captcha in singUp form

Fixes: #642
Screenshot Reference:

@Pranav016 any update on this?

@Pranav016 any update on this?

Sorry for the late reply, yes you can use ALPHAVIO's account to set the domain and make the secret key as an env. You can get ALPHAVIO's account credentials from me on discord

yes

Make the secret as an env variable and resolve conflicts to get it merged


Where is the wasm file?

Hi, this library looks great but I'm a bit confused. Where is the .wasm binary file? You claim to support WebAssembly with asm.js fallback but I only see js files at the moment. The Emscripten compiled WASM binary seems performance critical and using ccall / cwrap.

The WASM file is embedded into the javascript directly as a Uint8Array.
You can see the array in the unminified code here.
If you search the minified code for var wasmBinary you can find it pretty easily.


The getter 'error' is not defined for the class 'Event'.

Hello Rollbar team.
I am using the flutter package for rollbar and came across this error when launching my application:
`Error: The getter 'error' isn't defined for the class 'Event'.

'Event' is from 'package:rollbar_dart/src/data/event.dart' ('/home/yacoublambaz/.pub-cache/hosted/pub.dev/rollbar_dart-1.3.0/lib/src/data/event.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'error'.
final error = event.error;`

It used to work fine a week ago. I ran flutter pub get today and it crashed.
Please advise.

Dependency conflict prevented Rollbar-Flutter from upgrading to 1.3.0
I resolved the dependency conflict and updated Rollbar-Flutter to 1.3.0, which fixed the issue.


endpoints.get_current_user() does not support 3rd-party auth

Currently the get_current_user() method returns a user object only if the user is created from a Google ID token or an opaque OAuth token. We should fix it so that it works for users from a 3rd-party auth provide.

seems related to #32

This is fixed now with version 2.0.5

@Al77056 thank you.

@Al77056 No, with the 2.0.5 endpoints.get_current_user() returns the google user, the same obj of google.appengine.api.users.get_current_user(), which have nothing to do with the 3rd-party user obj (firebase in my case).

@presveva it's not meant to return a third party SDK object, rather user info decoded from the JWT.


Review and revise all annotations - definitions, scope notes, and examples

Many existing definitions include examples that can be broken out into a skos:example. Other annotations are unclear, imprecise, not full sentences, etc.

@rjyounes I'm totally on board with this, but it is a big job. Someone started on it already, with a spreadsheet.   It might make more sense to divide it up into pieces based on topic.


[Event Request] table 5964 "Service Contract Line" - OnBeforeUpdateContractAnnualAmount()

New Event OnBeforeUpdateContractAnnualAmount in function UpdateContractAnnualAmount as follows:
procedure UpdateContractAnnualAmount(Deleting: Boolean)
var
    OldServContractHeader: Record "Service Contract Header";
    ServContractLine2: Record "Service Contract Line";
    LineAmount: Decimal;
    IsHandled: Boolean;  //New Line
begin
    GetServContractHeader;
    // New Event -> Start
    IsHandled := false;
    OnBeforeUpdateContractAnnualAmount(ServContractHeader, Rec, IsHandled);
    if IsHandled then
        exit;
    // New Event <- End
    if not ServContractHeader."Allow Unbalanced Amounts" then begin
        LineAmount := CalculateOtherLineAmounts(ServContractHeader);

        OldServContractHeader := ServContractHeader;
        if Deleting then
            ServContractHeader."Annual Amount" := LineAmount
        else begin
            ServContractHeader."Annual Amount" := LineAmount + "Line Amount";
            if not "New Line" then
                ContractGainLossEntry.AddEntry(4, "Contract Type", "Contract No.", "Line Amount" - xRec."Line Amount", '')
            else
                if ServContractHeader.Status = ServContractHeader.Status::Signed then begin
                    if ServContractLine2.Get("Contract Type", "Contract No.", "Line No.") then
                        ContractGainLossEntry.AddEntry(4, "Contract Type", "Contract No.", "Line Amount" - ServContractLine2."Line Amount", '')
                    else
                        ContractGainLossEntry.AddEntry(0, "Contract Type", "Contract No.", "Line Amount", '')
                end;
        end;
        ServContractHeader.ValidateNextInvoicePeriod;
        ServContractHeader.SuspendStatusCheck(StatusCheckSuspended);
        ServContractHeader.Modify(true);
        if ServContractHeader."Contract Type" = ServContractHeader."Contract Type"::Contract then
            if ServMgtSetup."Register Contract Changes" then
                ServContractHeader.UpdContractChangeLog(OldServContractHeader);
    end;
end;

Event Signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateContractAnnualAmount(ServContractHeader: Record "Service Contract Header"; var ServContractLine: Record "Service Contract Line"; var IsHandled: Boolean)
begin
end;

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


go.mod: upgrade cosmos-sdk to v0.47.1

Thank you for the help!  💐
I had opened #1302 already which includes also the update to the metric


nest es5 as a dep of jsx and es2015

Coverage remained the same at 100.0% when pulling bc774541710876b3fe2d32f3fd901cb6cf541134 on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.

I'm not really sure how eslint resolves multiple/nested config extensions, but I assume rules higher in the extension tree take precedence (i.e. breadth-first traversal order)
For example, if uber-jsx extends uber-es5 and uber-es2015 extends uber-es5 (but changes some rules), then if the user extends both uber-jsx and uber-es2015:
  "extends": [
     "eslint-config-uber-es2015",
     "eslint-config-uber-jsx",
  ]

then the rules in uber-es2015 take precedence over the uber-es5 rules extended by uber-jsx even though the uber-es5 rules are part of the latter entry in the array.
        user_config (1)
       /               \
  es2015 (2)         jsx (3)
       |                |
    es5 (4)          es5 (5)

If this is the case, then I think this looks good, but we should have a test to make sure this works (it looks like there's no test for the usage of es2015 and JSX together).

Coverage remained the same at 100.0% when pulling f154ddc1c6fd2ba5ad3551f380c0cb854543480e on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.

Coverage remained the same at 100.0% when pulling 16f76cfee09e1bdcd408edf5a9c8d51c5c3087cf on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.

Coverage remained the same at 100.0% when pulling 5cf1597e001aa4cfa294310eca7c5b402ee61367 on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.

Coverage remained the same at 100.0% when pulling 6deb412dcb12b10c5fedb0377d0b748a764e0870 on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.

Coverage remained the same at 100.0% when pulling a9513336117ba7f65537c2c47a2d79134580cb9d on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.

Coverage remained the same at 100.0% when pulling 3775941af83973dfeafb0fe82f9e0a22625d1296 on es5dep into 746cf58a78d8f1a35ee37abd9d1a1cf7ef00ffb9 on master.


Portal Pins not removing when destroyed with being set in config too

Is there an existing issue for this bug?

[X] I have searched the existing issue

Mod version
1.4.6
What happened?
Portal Pins not removing when destroyed with being set in config too. I had moved my portals but shows old and new locations. Double checked setting and I enabled to remove destroyed objects. Tried disabling and re-enabling. Was unable to manually remove as well.  Right clicking icons does nothing. Using automatics 1.4.6. Is their a way to clear all static map pins with console? To start fresh.
List of Mods required to reproduce the bug
Automatic 1.4.6
Steps to reproduce the bug
Place portal let save.
Move portal.
Try to remove pin.
File attachments
No response

Before version 1.4.6 of Automatics, there was a bug where pins would duplicate upon registration. I have confirmed that portal pins removed in newly created worlds, so I believe the pins are in a duplicated state due to the bug. Although it is possible to remove the icon by continuously right-clicking, I think that would be troublesome, so I will add a console command.

I added a console command to remove map pins in version 1.4.7. Please read the description of the "removemappins" command in the README before using it.

Worked in a way. Command removed most of pins like 95 percent. Some of portal pins were left behind. But, was able to remove them with a right click. Thank you for update and fix. For now will leave portal pins off. Also, I disabled automatic pins as your readme said. I did not restart game was that required for settings to update? Could be the difference in why some remained.

I have fixed the description of the allow_non_duplicate_pins option in the README, which was not displaying correctly.
As for why some portal pins remained, it is likely because the allow_non_duplicate_pins option was not enabled. When allow_non_duplicate_pins is not enabled, removemappins only removes duplicate pins. This does not completely delete pins that have been identified as duplicates, but rather resolves the duplicates and displays only one. If you want to completely remove a pin from the map, you need to enable allow_non_duplicate_pins. At that time, do not forget to limit the pins by name or distance. If you are not careful, all pins may be deleted.
The reason for disabling Automatic Mapping when executing the command is because the removemappins command and Automatic Mapping function are independent of each other. If the pins that Automatic Mapping has cached are deleted by the command, it will cause problems. It is only necessary to disable Automatic Mapping when executing the command, so there is no need to restart, and it is fine to enable it immediately after executing the command.
I think the behavior of removemappins is a bit unfriendly, so I plan to improve it soon.


Create helenelange

hls school

@RaphaelPenning lib/domains/academy/helenelange: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@RaphaelPenning lib/domains/academy/helenelange: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@RaphaelPenning I changed the filename to conform the repository rules.
Please provide us with:

the school official website URL
the school street address, including the city and the country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

The proof can be any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@RaphaelPenning I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host helenelange.academy not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Update RoboVM to beta-02 and add automatic RoboVM downloading

Closes #28 and #26 .

Thanks for the work. These look great! I will review this weekend.

Oh, I didn't realize that pushing commits into my fork will add it to the pull request, oops. I can create branch with only the advertised commit. However I think it is fine to merge all of it, I push only tested commits. But I'll leave that decision to @ajhager.

This PR is no longer relevant. I have done a lot of work on my cleanup branch, which is (apart from minor details) on par with Gradle plugin. So I'm closing this so I can merge my cleanup branch into master. Merging my whole fork is possible, but too big for one clear PR.


Bug: Breaks with newer GraphQL spec support like interface inheritance

This repository hasn't been updated in two years, with no release in 5 years.  In the meantime, the spec has been updated to support things like Interface inheritance.
voyager.min.js:82 Uncaught (in promise) Error: Interface field PaginatedObjects.results expects type [Object!]! but PagedStudyEventItemChildren.results is type [StudyEventItemChild!]!.
    at voyager.min.js:82:178434
    at voyager.min.js:82:178495
    at Mn (voyager.min.js:82:178663)
    at voyager.min.js:82:185786
    at Qn (voyager.min.js:82:185903)
    at cr (voyager.min.js:82:187521)
    at t.updateIntrospection (voyager.min.js:82:239299)
    at voyager.min.js:82:239160

Is this tool abandoned or are there plans to update it to support newer standards features?

It's resuming. Give us few weeks.
Can you provide more info to reproduce this bug? An example schema would definitely help.

Turns out the latest release candidate supported some of the newer spec features.  I just had to manually update to release candidate 31 to get them.


Backport stdoutpipe 1.10

Same as https://github.com/cert-manager/cert-manager/pull/5795, but for the branch release-1.10.
/kind flake

I mistakenly created this PR twice. I'll close this one in favor of https://github.com/cert-manager/cert-manager/pull/5797.


✨ Improve onborading

The goal is to improve the onboarding experience.
1/ Adding a TypeScript option
2/ Adding the option to write everything or to log what is needed to finish (Aggressive / Less aggressive)
3/ Option for KitQL user to have graphql endpoint in kit
4/ default esm => do not write
5/ default kit => do not write
6/ info about Sapper (deprecated)
7/ remove the schemaPath option. (If they want to change, they will do after?)
What do you think? :)

Definitely some nice additions!
These are my ideas from #382:

setup preprocessor
setup @kitql/vite-plugin-watch-and-run
setup alias
scripts

add "gen"
update "prepare" to also run "gen"

add devDependencies

houdini
@kitql/vite-plugin-watch-and-run

After talking with @jycouet a bit and reading the feedback from @david-plugge we're going to take this PR in a different direction and try to be a bit smarter about what we do. Instead of asking if they are using typescript we should look to see if typescript is a dependency of the project (or maybe its enough to just look for a tsconfig.json).
I'm going to close this PR while we work on the new init but thanks again for the feedback @david-plugge


[Bug]: Attaching files to message in agents chat causes API error

What happened?
Trying to attach a document file inside a chat with an agent causes an API error.
Steps to Reproduce

configure RAG
configure an agent
start a chat with the agent and attach a file

What browsers are you seeing the problem on?
No response
Relevant log output
error: [/agents/:undefined] Error retrieving agent during build options step Cannot read properties of null (reading 'author')
error: [handleAbortError] AI response error; aborting request: Agent not found

Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Not implemented yet, but already taken care of in the dev build:

Not implemented yet, but already taken care of in the dev build:

I'm running from sources and I see recent activity on main branch only, where are the dev builds sources located?

It’s not published yet, though you can try it at https://preview.librechat.ai

It’s not published yet, though you can try it at https://preview.librechat.ai

@danny-avila
Ok thank you, so that preview it's built from a private source repository I guess.
I know from your other comments that you want to keep code interpreter feature closed source, but when do you expect to merge other agents fixes into the public repo?


Exclude words during translation with PyThaiNLP Translate

Hi all, was wondering if you guys have any method to exclude some words during the translation.

its not a bug nor a feature. i am just asking


Unable to change package name for the project

Change packagename of the application project.
After changing packagename, login stops working.

You need to also change all of the URI for the various services.
We are moving to a Gradle-build system which should make this easier moving forward.

@n8fr8 what services do you mean?

@n8fr , is that gradle -build system complete yet?

Yes, see github.com/zom and look at the ZomAndroid project. This is our
new project based on old chatsecure android code.
Also you might want to look at Conversations.im as an option.
On Wed, Mar 2, 2016, at 02:36 PM, AbdulSamadQureshi wrote:

@n8fr , is that gradle -build system complete yet?

Reply to this email directly or view it on GitHub:
https://github.com/guardianproject/ChatSecureAndroid/issues/711#issuecomment-191390755


Update search-filters.md

Updated the Docs to match the Hotels Index data model, cleaned up typos, incorrect cases, search queries return valid results now.

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

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

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

LGTM
#sign-off

https://github.com/MicrosoftDocs/azure-docs/pull/43343


Best practice to store the created diagram

Hello everyone, I'm implementing flowy in an application with Laravel/MySQL backend.
I'm using the flowy.output() function to extract the diagram and send it to the backend through ajax in charge of storing the diagram for future updates.
The issue here is that storing it in the DB easily results in "SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'html' at row 1" (roughly with 8/10 nodes).
I was thinking to store the diagram in a file but first I wanted to ask you if you have a better approach.
Thanks all!

If you want to store the long nodes in the SQL database I prefer to store it in JSON format.
I used in my case 3800 Nodes converted into the json string and stored in the SQL. If you really want to store in the file format indeed can but security and weight of the node is matters.

Hi @ravikoppula thanks for your answer.
So if I understand properly, you didn't store the actual output but you stored a sort of "tree" of the flow into a JSON and then, when reloading, you construct the html you need from the JSON tree and then input it to the flowy. Is that correct?
I was hoping for a quicker solution (like saving the flowy.output() and then importing it with flowy.input(output)) to implement this library into my project as I am not a true lover of Frontend but if this is the best option that I have surely I'll do it.
Thanks again for your help!

@ThomasSquall I believe what @ravikoppula means is to create a MySQL/Postgres column of the JSON data type. This way you can just store the output of flowy.output() (which is a JSON object) and load with flowy.import(output) as you intended.


Dynamic Meta Description for Sub Pages

Subject of the issue
Describe your issue here.
When we share pages online it might be better to have a matching description which fits that page. Like for this URL: https://keralarescue.in/announcements/
It should be something like the following:
"Important Announcements regarding Kerala Rescue Operations"
Your environment

version of your python
which browser and its version
OS Type (iOS/Android/Linux/Windows)

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo as a GIF, if possible.
GO to this URL: https://keralarescue.in/announcements/
Expected behaviour
Tell us what and how exactly is it supposed to  happen
Will have the description as in the following image

Actual behaviour
Tell us what happens instead or what went wrong
We should have a proper description which fits that page.

Hi Team,
I have started on this and raised PR#1062
Please suggest the where all we need description changes

#1062 is merged and hence this can be closed. @jino-qb @tomahawk-pilot @biswaz


setup-root: Create overlay mount for /etc to provide files from /usr

The existing tmpfile logic took care of folders that the ebuild keepdir directive wanted to exist on the OS. However, files and symlinks were not created, causing them to be missing if we didn't explicitly modify the ebuild files in coreos-overlay to use tmpfiles or patching of paths to be in /usr. We need a logic to provide /etc files from the current /usr partition without getting stale. This can be done best with an overlay mount which requires to keep the original /etc files under /usr.
Set up an overlay mount from the initrd after basic root fs preparation (ensure that the user db and machine-id file are as expected and create non-/etc tmpfiles). What we get with an overlay mount is essentially a similar behavior to a 3-way merge because as long as the user didn't change the files, the old version is replaced with the new version and as soon as the user did changes, that file is frozen and wins over the provided old (in case of a rollback) or new versions from /usr. It does not work on file lines but on whole file contents, yet that is also what rpm-ostree does to my knowledge.
How to use
TODO: I would like to add a boot cleanup action before setting up the mount, and it should remove duplicate files to keep the /etc folder clean and actually make use of the up-to-date lower files from /usr/share/flatcar/etc. ← But not a blocker from my point of view
TODO: Find out why systemd-tmpfiles causes upcopies for L and C entries and see if we can avoid it - maybe even upstream or by dropping some rules after we used them to create /usr/share/flatcar/etc (not all because entries with regular cleanup timers is something that we should keep, for example). ← But not a blocker from my point of view
TODO: Identify what downstream modifications in coreos-overlay we can drop now to have config files in /etc for legacy software.
TODO: Write a kola test that checks for unexpected upcopies
Testing done
Jenkins kola tests passed, locally I checked the contents by mounting the image after a boot.

If the syscfg feature turns out to provide something similar, we can migrate - i.e. drop the custom mount command again and turn /usr/share/flatcar/etc into a syscfg folder by adding the metadata file and then setting up a symlink for it from the syscfg config folder.

I now see that the arm64 qemu test for coreos.update.badusr uncovers a continuous loop in the initrd instead of an emergency shell with a timeout. We might need to do some OnFailure thing for the initrd setup root unit or the initrd target in general.

This is really nice! @pothos would this address the current issues with SELinux? that is that enabling custom modules requires removing the (hard?) links from /usr, which effectively limits how updates apply to SELinux policies.
cc @tormath1

Yes, we can review these downstream symlinks and config path changes and make use of /etc now where it makes sense. On the other hand we should also try to push upstream software to finally catch up with modern configuration requirements such as multiple search paths and drop-ins (A ready-made library exists https://github.com/openSUSE/libeconf and this is also captured in the update to the xdg basedir spec https://uapi-group.org/specifications/specs/base_directory_specification/).


HEAD of OpenSSL_1_1_0-stable crashes on macOS when building with "no-dso"

I'm porting an application from OpenSSL 1.0.2 to OpenSSL 1.1.0. Because I need commit 6912debb881e669f7a7fb621588e20347111c4f0 "Add APIs for custom X509_LOOKUP_METHOD creation" I'm working with the current HEAD of the OpenSSL_1_1_0-stable branch, concretely with 0c27d793745c7837b13646302b6890a556b7017a.
I'm experiencing an immediate crash with any application that calls OPENSSL_init_crypto() when I build on macOS with the config options no-shared and no-dso.
How to reproduce:
$ ./config no-shared no-dso
Operating system: x86_64-apple-darwinDarwin Kernel Version 16.7.0: Fri Apr 27 17:59:46 PDT 2018; root:xnu-3789.73.13~1/RELEASE_X86_64
WARNING! If you wish to build 32-bit library, then you have to
         invoke 'KERNEL_BITS=32 ./config  no-shared no-dso'.
         You have about 5 seconds to press Ctrl-C to abort.
Configuring for darwin64-x86_64-cc
Configuring OpenSSL version 1.1.0i-dev (0x10100090L)
    no-asan         [default]  OPENSSL_NO_ASAN
    no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG
    no-crypto-mdebug-backtrace [default]  OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
    no-dso          [option]
    no-dynamic-engine [forced]
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128
    no-egd          [default]  OPENSSL_NO_EGD
    no-fuzz-afl     [default]  OPENSSL_NO_FUZZ_AFL
    no-fuzz-libfuzzer [default]  OPENSSL_NO_FUZZ_LIBFUZZER
    no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-msan         [default]  OPENSSL_NO_MSAN
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-sctp         [default]  OPENSSL_NO_SCTP
    no-shared       [option]
    no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE
    no-ssl3         [default]  OPENSSL_NO_SSL3
    no-ssl3-method  [default]  OPENSSL_NO_SSL3_METHOD
    no-ubsan        [default]  OPENSSL_NO_UBSAN
    no-unit-test    [default]  OPENSSL_NO_UNIT_TEST
    no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS
    no-zlib         [default]
    no-zlib-dynamic [default]
Configuring for darwin64-x86_64-cc
CC            =cc
CFLAG         =-O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall
SHARED_CFLAG  =-fPIC
DEFINES       =NDEBUG OPENSSL_THREADS OPENSSL_NO_DYNAMIC_ENGINE OPENSSL_PIC OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM SHA512_ASM RC4_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM ECP_NISTZ256_ASM PADLOCK_ASM POLY1305_ASM
LFLAG         =
PLIB_LFLAG    =-Wl,-search_paths_first
EX_LIBS       =
APPS_OBJ      =
CPUID_OBJ     =x86_64cpuid.o
UPLINK_OBJ    =
BN_ASM        =asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
EC_ASM        =ecp_nistz256.o ecp_nistz256-x86_64.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-x86_64.o rc4-md5-x86_64.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64.o sha256-mb-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC      =cmll-x86_64.o cmll_misc.o
MODES_OBJ     =ghash-x86_64.o aesni-gcm-x86_64.o
PADLOCK_OBJ   =e_padlock-x86_64.o
CHACHA_ENC    =chacha-x86_64.o
POLY1305_OBJ  =poly1305-x86_64.o
BLAKE2_OBJ    =
PROCESSOR     =
RANLIB        =ranlib -c
ARFLAGS       =
PERL          =/opt/local/bin/perl5.24

SIXTY_FOUR_BIT_LONG mode

Configured for darwin64-x86_64-cc.
$ make build_programs
<make output omitted>
$ apps/openssl version
Illegal instruction: 4

The crash does not occur when doing the same build with OpenSSL_1_1_0h.
git bisect identifies the following bad commit:
bf21fe935a979c08292d06553ef8c9a49382208c is the first bad commit
commit bf21fe935a979c08292d06553ef8c9a49382208c
Author: Bernd Edlinger<EMAIL_ADDRESS>Date:   Sat Apr 21 15:41:42 2018 +0200

    Ensure the thread keys are always allocated in the same order

    Back-port of #5911
    Fixes: #5899

    Reviewed-by: Rich Salz<EMAIL_ADDRESS>    (Merged from https://github.com/openssl/openssl/pull/6037)

This happens on macOS Sierra with the following compiler version:
$ cc --version
Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Ping @bernd-edlinger. Thoughts?

Does it only happen with that combination of options? i.e. if you drop one or the other or both does it still fail?

Does it only happen with that combination of options? i.e. if you drop one or the other or both does it still fail?

The problematic option is no-dso. If I leave that out the openssl binary does not crash. no-shared is necessary because I want a statically linked openssl binary, because this is the same situation with my application that links OpenSSL statically.
But the test case can indeed be reduced by leaving out the no-shared option and by calling the dynamically linked opensslbinary like this:
$ ./config no-dso
<config output omitted>
$ make build_programs
<make output omitted>
$ DYLD_LIBRARY_PATH=$(pwd) apps/openssl version
Illegal instruction: 4

you could try to build with -DOPENSSL_INIT_DEBUG to get some traces from the initialization
code, and maybe with -d to get debug info.
A call stack where this crash happens would be helpful.

I can manage to get linux to show a problem with no-dso on the head of the 1.1.0 branch (but not master), if I apply this patch:
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 7e66705261..1154d84a97 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -627,8 +627,7 @@ sub vms_info {
         thread_scheme    => "pthreads",
         dso_scheme       => "dlfcn",
         shared_target    => "linux-shared",
-        shared_cflag     => "-fPIC -DOPENSSL_USE_NODELETE",
-        shared_ldflag    => "-Wl,-znodelete",
+        shared_cflag     => "-fPIC",
         shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
     },
     "linux-generic64" => {

Building the 1.1.0 branch with the above applied and using the no-dso option results in a hang (not a crash) from commit bf21fe935a97, but not before it. I assume this is the same problem but manifesting itself differently on Linux vs MacOS.

Thanks Matt!
While GNU/Linux hangs on recursive run once functions, MacOS returns a failure.
From the call stack it seems that ossl_init_load_crypto_nodelete calls DSO_dsobyaddr
this calls again ERR_put_error.  That master works fine means probably that I need
to back-port at least the patch which introduced the err_shelve_state.

While GNU/Linux hangs on recursive run once functions, MacOS returns a failure.
From the call stack it seems that ossl_init_load_crypto_nodelete calls DSO_dsobyaddr
this calls again ERR_put_error. That master works fine means probably that I need
to back-port at least the patch which introduced the err_shelve_state.

Great!
Interestingly I noticed that the OPENSSL_NO_DSO guards in init.c do nothing at all. That macro never gets defined. Instead if you ask for "no-dso" you still get all the DSO symbols, its just that you get the "null" DSO method which doesn't do anything. So what is happening here is that we are entering the ossl_init_load_crypto_nodelete run once code, going down the DSO path, and then encountering an error which ultimately results in an ERR_put_error call.

It's 6b49b30811f4afa0340342af9400b8d0357b5291 does the trick.
But probably the NO_DSO needs to be fixed as well.

#6494

I've rebuilt the openssl executable after configuring with ./config --debug -DOPENSSL_INIT_DEBUG no-shared no-dso, then invoked the openssl executable under lldb:
$ lldb apps/openssl
(lldb) target create "apps/openssl"
Current executable set to 'apps/openssl' (x86_64).
(lldb) r version
Process 22123 launched: '/Users/stm/git/openssl/apps/openssl' (x86_64)
OPENSSL_INIT: ossl_init_base: Setting up stop handlers
OPENSSL_INIT: ossl_init_load_crypto_nodelete()
Process 22123 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x00007fff96cffc6e libsystem_platform.dylib`_os_once_gate_recursive_abort + 23
libsystem_platform.dylib`_os_once_gate_recursive_abort:
->  0x7fff96cffc6e <+23>: ud2

libsystem_platform.dylib`_os_once_gate_corruption_abort:
    0x7fff96cffc70 <+0>:  movl   %edi, %eax
    0x7fff96cffc72 <+2>:  leaq   0x207f(%rip), %rcx        ; "BUG IN CLIENT OF LIBPLATFORM: os_once_t is corrupt"
    0x7fff96cffc79 <+9>:  movq   %rcx, 0x8d03640(%rip)     ; gCRAnnotations + 8
Target 0: (openssl) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
  * frame #0: 0x00007fff96cffc6e libsystem_platform.dylib`_os_once_gate_recursive_abort + 23
    frame #1: 0x00007fff96cff984 libsystem_platform.dylib`_os_once_gate_wait_slow + 111
    frame #2: 0x00007fff96d06b2b libsystem_pthread.dylib`pthread_once + 57
    frame #3: 0x000000010026470d openssl`CRYPTO_THREAD_run_once(once=0x00000001003340c0, init=(openssl`ossl_init_load_crypto_nodelete_ossl_ at init.c:103)) at threads_pthread.c:106
    frame #4: 0x00000001001ef4c1 openssl`OPENSSL_init_crypto(opts=0, settings=0x0000000000000000) at init.c:548
    frame #5: 0x00000001001c272a openssl`ERR_get_state at err.c:670
    frame #6: 0x00000001001c250e openssl`ERR_put_error(lib=37, func=105, reason=108, file="crypto/dso/dso_lib.c", line=315) at err.c:364
    frame #7: 0x000000010016f382 openssl`DSO_pathbyaddr(addr=0x000000010033c020, path=0x0000000000000000, sz=0) at dso_lib.c:315
    frame #8: 0x000000010016f3e1 openssl`DSO_dsobyaddr(addr=0x000000010033c020, flags=4) at dso_lib.c:325
    frame #9: 0x00000001001f0165 openssl`ossl_init_load_crypto_nodelete at init.c:137
    frame #10: 0x00000001001efd49 openssl`ossl_init_load_crypto_nodelete_ossl_ at init.c:103
    frame #11: 0x00007fff96d06b8c libsystem_pthread.dylib`__pthread_once_handler + 65
    frame #12: 0x00007fff96cfbac1 libsystem_platform.dylib`_os_once + 36
    frame #13: 0x00007fff96d06b2b libsystem_pthread.dylib`pthread_once + 57
    frame #14: 0x000000010026470d openssl`CRYPTO_THREAD_run_once(once=0x00000001003340c0, init=(openssl`ossl_init_load_crypto_nodelete_ossl_ at init.c:103)) at threads_pthread.c:106
    frame #15: 0x00000001001ef4c1 openssl`OPENSSL_init_crypto(opts=0, settings=0x0000000000000000) at init.c:548
    frame #16: 0x00000001001ea047 openssl`do_ex_data_init at ex_data.c:41
    frame #17: 0x00000001001ea019 openssl`do_ex_data_init_ossl_ at ex_data.c:39
    frame #18: 0x00007fff96d06b8c libsystem_pthread.dylib`__pthread_once_handler + 65
    frame #19: 0x00007fff96cfbac1 libsystem_platform.dylib`_os_once + 36
    frame #20: 0x00007fff96d06b2b libsystem_pthread.dylib`pthread_once + 57
    frame #21: 0x000000010026470d openssl`CRYPTO_THREAD_run_once(once=0x00000001003340a0, init=(openssl`do_ex_data_init_ossl_ at ex_data.c:39)) at threads_pthread.c:106
    frame #22: 0x00000001001e9110 openssl`get_and_lock(class_index=12) at ex_data.c:60
    frame #23: 0x00000001001e9517 openssl`CRYPTO_new_ex_data(class_index=12, obj=0x0000000100700200, ad=0x0000000100700260) at ex_data.c:215
    frame #24: 0x00000001000ffa81 openssl`BIO_new(method=0x0000000100301ce8) at bio_lib.c:29
    frame #25: 0x00000001001054ac openssl`BIO_new_fp(stream=0x00007fff9f9e8110, close_flag=16) at bss_file.c:101
    frame #26: 0x0000000100002d9e openssl`dup_bio_in(format=32769) at apps.c:2388
    frame #27: 0x0000000100024e6b openssl`main(argc=2, argv=0x00007fff5fbff838) at openssl.c:127
    frame #28: 0x0000000100527235 libdyld.dylib`start + 1
    frame #29: 0x0000000100527235 libdyld.dylib`start + 1
(lldb

PR #6494 should fix this.

I raised issue #6495 for the OPENSSL_NO_DSO isn't defined problem.

The crash is fixed by 6b49b30, the remaining issue is tracked in #6495.
Thanks for reporting this issue!


gnome3.webkitgtk: 2.20.5 -> 2.22.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/webkitgtk/versions.
meta.description for gnome3.webkitgtk is: '"Web content rendering engine, GTK+ port"'.

Checks done (click to expand)

built on NixOS
/nix/store/bmmv72lzz75x3pzbmvgpa272i8xnnidv-webkitgtk-2.22.2/bin/WebKitWebDriver passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2.22.2 with grep in /nix/store/bmmv72lzz75x3pzbmvgpa272i8xnnidv-webkitgtk-2.22.2
directory tree listing: https://gist.github.com/64bcd265638dc1ad62ad2935f7140c2b
du listing: https://gist.github.com/d08139797e2f735d1eb422faa587df38

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:
nix-shell -p cachix --run 'cachix use r-ryantm'

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/51f1bb4cee6510bb33fb933cdebe4d56e9377fc7.tar.gz -p gnome3.webkitgtk
ls -la /nix/store/bmmv72lzz75x3pzbmvgpa272i8xnnidv-webkitgtk-2.22.2

2.22.2 was  added in #47949, will be set as default as part of #45950.


index.js:2178 Warning: React does not recognize the computedMatch prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase computedmatch instead. If you accidentally passed it from a parent component, remove it from the DOM element.

this is my homepage routes , not contains login page  and 404 page, I use like this to get my homepage routes,it can work ,but  has a warning
this is my codes

this is  warnings

I must use Switch,how I can do it,thanks!

https://github.com/ant-design/ant-motion/issues/121

我看了#121 但是不行 我直接放更元素就可以了 但是还有个问题 我和react-loadable连用 好像会冲突

please provide your demo, https://codesandbox.io/s/42vvz4j4yx

The solution is simple, just add another layer of <React.Fragment> after <Switch>. Hope it helps.

The solution is simple, just add another layer of <React.Fragment> after <Switch>. Hope it helps.

but what is the deal having a "blind element" in between ?

The solution is simple, just add another layer of <React.Fragment> after <Switch>. Hope it helps.

This worked thank you! but curios to know why its necessary though?

In this case, the child is your , so a non standard props computedMatch are being passed to native dom node , thus React gives you an healthy warning. So, using <> or  will discard the warning.


React getting started improvements

Assume reader knows Typescript.
Introduce createRoomProvider generic types
Defer introduction to Suspense to reduce the noise before we can show the first real time feature (who's in the room)

Thank you both! I included all your recommendation and did a couple of fixes on the code snippets / highlighting


Cannot find my twitter?

I'm not sure what's going wrong here because even if I hit https://get-twitter-username.herokuapp.com/kentcdodds manually I get my correct twitter username. But this extension fails to find my twitter account and add it to my profile page :-(

Same with https://get-twitter-username.herokuapp.com/paulirish and https://get-twitter-username.herokuapp.com/passy.

Actually, it looks like those two return nothing, mine actually does return my twitter username.

Same here too https://get-twitter-username.herokuapp.com/ahmedelgabri

Just to make sure and clarify, I think that @sindresorhus and @ahmedelgabri have found totally different bugs than the one I originally reported. https://get-twitter-username.herokuapp.com/kentcdodds actually returns the correct twitter handle, but that handle doesn't appear on the github profile.
All of these:
https://get-twitter-username.herokuapp.com/paulirish
https://get-twitter-username.herokuapp.com/passy
https://get-twitter-username.herokuapp.com/ahmedelgabri
return nothing. Different bug entirely.

I'm experiencing the same bug as @kentcdodds. The web service returns my Twitter handle correctly correctly (https://get-twitter-username.herokuapp.com/UltCombo) but the extension does not display it in my GitHub profile.

Submitted a fix here: #4

Sweet! Fixed for me. Thanks @UltCombo!


refactor: (useSpeech,usePermission) improved types

Description

fix #2056 and improved
Type of change

[x] 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 before)

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[x] Add documentation
[x] Add hook's story at Storybook
[ ] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[ ] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Test correct rendering of template-based web endpoints

See https://github.com/prometheus/prometheus/pull/4416
The template-based web endpoints such as /alerts, /rules, etc., refer to Go variable and method names that the compiler cannot statically verify. When the Go names get renamed, it breaks the templates without anyone noticing. It would be good to have some kind of e2e test that at least checks whether those pages render without an error.

@juliusv would it be ok for me to pick up this issue?

Please go ahead.

@brian-brazil do you have any advice on how I should test endpoints that have defer h.mtx.RUnlock() in the handler? Like the /config endpoint

I don't see why those would be any different to test.

@brian-brazil I guess this issue can be closed?


Syntax coloring not working for destructuring assignments

When using let with destructuring assignments for arrays, lists or tuples (with parentheses), it is not highlighted as a keyword and retains the default text color. The names being bound are also not highlighted.
With a simple tuple destructuring, coloring is correct:
let a, b = 1, 2 has let highlighted as a keyword and a and b as names bound here.
Coloring does not work for the following:
let [| a; b |] = [| 1; 2 |]
let [ a; b ] = [1; 2]
let (a, b) = 1, 2

All of these will have let as well as a and b in the default text color.

this belongs on https://github.com/ionide/ionide-fsgrammar


Make implementation fully FIPS203 compliant

There's at least one place where our implementation is not FIPS203 compliant: We do not perform the "modulus check" before running the encapsulation step.
The purpose of this issue is to (a) list, and (b) track the implementation of fixes of, the deviation of the current implementation from FIPS203.
Non-Compliances:

[ ] Modulus check on public key before encapsulation

@mkannwischer What other instances of non-compliance with FIPS203 are you aware of?

Ping @mkannwischer


hotfix: 参数校验使用结构体传参

这个 PR 实现什么功能/修复什么问题:
云账号更新密码 参数校验使用结构体传参
是否需要 backport 到之前的 release 分支:
None
/area region
/cc @swordqiu @yousong

Codecov Report

Merging #3461 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #3461      +/-   ##
=========================================
+ Coverage    7.01%   7.03%   +0.01%
=========================================
  Files         496     496
  Lines       82783   82563     -220
=========================================
  Hits         5808    5808
+ Misses      76488   76268     -220
  Partials      487     487

Flag
Coverage Δ

#aFlag
7.03% <0%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudprovider/cloudprovider.go
1.98% <ø> (ø)
:arrow_up:

pkg/compute/models/cloudaccounts.go
0.95% <0%> (-0.01%)
:arrow_down:

pkg/multicloud/aws/aws.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/storagecache.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/loadbalancerbackendgroup.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/loadbalancerlistener.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/cloudsyncelb.go
0% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/managedvirtual.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/loadbalancerlistenerrule.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/image.go
0% <0%> (ø)
:arrow_up:

... and 10 more

Continue to review full report at Codecov.

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

/approve
/lgtm


setup_logging() takes 0 positional arguments but 1 was given

I'm trying to use ncm in neovim, after I add ncm and open nvim, it broken.
os:ubuntu x64
nvim 0.2.1
reproduce ways
add Plug 'roxma/nvim-completion-manager' to init.vim
pip3 install --user neovim jedi mistune psutil setproctitle
nvim

broken message:
Error detected while processing function <SNR>75_on_core_channel_error:
line    1:
Traceback (most recent call last):^@  File "/home/jason/.vim/plugged/nvim-completion-manager/pythonx/cm_start.py", line 81, in <module>^@    main()^@  File "/home/jason/.vim/plugged/nvim-c
ompletion-manager/pythonx/cm_start.py", line 45, in main^@    setup_logging(modulename)^@TypeError: setup_logging() takes 0 positional arguments but 1 was given^@
Press ENTER or type command to continue

python3 pythonx/cm_start.py core  /tmp/nvim84KNeD/0
Traceback (most recent call last):
  File "pythonx/cm_start.py", line 81, in <module>
    main()
  File "pythonx/cm_start.py", line 45, in main
    setup_logging(modulename)
TypeError: setup_logging() takes 0 positional arguments but 1 was given

What about the output of these commands?
$ pip list | grep neovim
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
neovim (0.1.13)

$ python3
Python 3.6.1 (default, Jun  7 2017, 12:32:14)
[GCC 6.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import neovim
>>> foo = neovim.setup_logging('foo')
>>>

pip list | grep neovim
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section)to disable this warning.
neovim (0.1.9)

python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import neovim
>>> foo = neovim.setup_logging('foo')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: setup_logging() takes 0 positional arguments but 1 was given
>>>

Try pip install --upgrade neovim

it work now, nvim version is too low, tks~~


bootstrap collapse does not work with dynamic content

When you first click the link to open the collapsed area, the content is loaded - but the height is determined to be 0, if the request takes any time.   Clicking the link to close and open again causes the loaded content to be shown - because the content was already there and the height is correct.
http://jsfiddle.net/waynebrantley/22pqk/

Hi,
I've simply put a height: auto; into my css for the given collapsing divs.
It works like a charm, cheers.

I've got a collapsible panel whose content is solely dynamically generated. It contains a list of notes generated by the user or retrieved from a back end database. The only way I can get a panel to work is if I set an explicit height on the first element within the panel. height: auto doesn't work for me.
My next step is going to be trying to calculate and explicit size while collapsing and apply it otherwise completely rethink the interface as this limitation is a bit crippling.

it's stil not working...(( i load code
id=accorion....  from site https://getbootstrap.com/docs/4.0/components/collapse/
by ajax and it's "collapse card" not expand... nothing not helped me :-(

Please open a new issue @AndreyChursin and use the latest release of Bootstrap (v4.3.1)


Remove unused LoadJob v1 code

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[x] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Refactor class source since it will be core concept for stream processing

[FE PR Coverage check]
:heart_eyes: pass : 7 / 7 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/load/PartitionLoadInfo.java
4
4
100.00%

:large_blue_circle:
com/starrocks/load/BucketLoadInfo.java
3
3
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 30 / 33 (90.91%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/load/BucketLoadInfo.java
16
18
88.89%

:large_blue_circle:
com/starrocks/load/PartitionLoadInfo.java
14
15
93.33%

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/load/loadv2/LoadJob.java
0
1
00.00%

:large_blue_circle:
com/starrocks/load/loadv2/JobState.java
1
1
100.00%

Why remove BrokerLoadJobTest.java?

[FE PR Coverage check]
:disappointed: fail : 0 / 1 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/load/loadv2/LoadJob.java
0
1
00.00%


Sync Data to GeoDB

Please could you help me sync data from Qfield to a Postgis DB not a Geopackage ?

Thank you for your message. If you have a specific question when using app.qfield.cloud, please contact our support on support.qfield.cloud , or if you need specific support installing QFieldCloud on your servers, please contact<EMAIL_ADDRESS>.


Add external link to OpenShift console in the OpenShift Deployment card

It would be nice if the chosen OpenShift cluster name were a link that would open the console URL (if that is available, since the consoleUrl is an optional attribute)

@gastaldi would be nice if it was a documented property as well


FIT file initialized as cardio?

Thank you for this app, I'm using it almost daily.
I find that when the activity syncs to Connect on my iPhone (iOS), the 'Activity Type' is set to cardio.  I suspect (with no experience programing CIQ apps) that this is the 'Sport Type / Subtype' in the Session record of the FIT file, and might be a default (?) setting when it is initialized.  The type can be edited within Mobile Connect, with yoga and 'breathwork' as relevant options.  It would be preferable to have this match the Yoga / Meditation (breathwork) setting for the activity on the watch without having to edit.
After editing the change is shown in Garmin [Mobile | Web] Connect, but external systems (like FitnessSyncer.com) seem to only get the unmodified file.
Forerunner 645M if that's relevant.

Right now you can change the activity to Yoga. Please have a look at the user guide for that.
Right now the default activity is Cardio because there is no other more appropriate. Yoga activites can only be named Yoga vai the CIQ API. Additionally Breathwork is only produced only by native Garmin apps. There is no sport type and subtype defined for via the official CIQ docs.
In order to generate Breathwork I need its Activity sport and sub_sport enum values. Unfortunately my watch cannot create Breatwork activity natively. Could you please record Breathwork activity and either report here those values or upload the .FIT file?

Thanks for the comments. My watch also does not do breathwork, I edit the
FIT file in mobile Connect on my phone to change the meditation output to
that activity - hmmm, probably that does not sync back to the watch. I will
try to investigate and provide more info.
On Wed, 23 Dec 2020 at 21:12, vtrifonov-esfiddle<EMAIL_ADDRESS>wrote:

Right now you can change the activity to Yoga. Please have a look at the user
guide
https://github.com/vtrifonov-esfiddle/Meditate/blob/master/UserGuide.md#2-configuring-a-session
for that.
Right now the default activity is Cardio because there is no other more
appropriate. Yoga activites can only be named Yoga vai the CIQ API.
Additionally Breathwork is only produced only by native Garmin apps.
There is no sport type and subtype defined for via the official CIQ docs
https://developer.garmin.com/connect-iq/api-docs/Toybox/ActivityRecording.html
.
In order to generate Breathwork I need its Activity sport and
sub_sport enum values. Unfortunately my watch cannot create Breatwork
activity natively. Could you please record Breathwork activity and
either report here those values or upload the .FIT file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vtrifonov-esfiddle/Meditate/issues/5#issuecomment-750415421,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZW3QGVM3XLBHPCFSIG3ALSWIXJFANCNFSM4U2QZUWQ
.

6099691978.zip
There is .fit file of a Breathwork.

6099691978.zip
There is .fit file of a Breathwork.

Thanks the Breathworks FIT! I released a new version that now saves the Meditate activity type as Breathworks. Use the usual place to download the app:
Vivoactive 3 app store link
Other round watches

Thanks the Breathworks FIT! I released a new version that now saves the Meditate activity type as Breathworks. Use the usual place to download the app:
Vivoactive 3 app store link
Other round watches


can't vendor golang.org packages

Hello,
not sure I need to vendor golang.org/x/net,  but it failed..
me@MBP:backend $ manul -I
2016/05/11 01:50:02 adding submodule for github.com/astaxie/beego
2016/05/11 01:50:06 adding submodule for github.com/dgrijalva/jwt-go
2016/05/11 01:50:07 skipping github.com/go-ini/ini, already vendored
2016/05/11 01:50:07 adding submodule for github.com/go-sql-driver/mysql
2016/05/11 01:50:09 adding submodule for github.com/labstack/echo
2016/05/11 01:50:11 adding submodule for github.com/labstack/gommon
2016/05/11 01:50:12 adding submodule for github.com/mattn/go-colorable
2016/05/11 01:50:13 adding submodule for github.com/mattn/go-isatty
2016/05/11 01:50:14 adding submodule for github.com/valyala/fasttemplate
2016/05/11 01:50:15 adding submodule for golang.org/x/net
2016/05/11 01:52:46 exec ["git" "submodule" "add" "-f" "git://golang.org/x/net" "vendor/golang.org/x/net"] error (exit status 128) with output:
Cloning into 'src/backend/vendor/golang.org/x/net'...
fatal: unable to connect to golang.org:
golang.org[0: <IP_ADDRESS>]: errno=Operation timed out
golang.org[1: 2a00:1450:4003:801::2011]: errno=No route to host

fatal: clone of 'git://golang.org/x/net' into submodule path 'src/backend/vendor/golang.org/x/net' failed

exec ["git" "submodule" "add" "-f" "https://golang.org/x/net" "vendor/golang.org/x/net"] error (exit status 128) with output:
Cloning into 'src/backend/vendor/golang.org/x/net'...
fatal: https://golang.org/x/net/info/refs not valid: is this a git repository?
fatal: clone of 'https://golang.org/x/net' into submodule path 'src/backend/vendor/golang.org/x/net' failed

exec ["git" "submodule" "add" "-f" "git+ssh://golang.org/x/net" "vendor/golang.org/x/net"] error (exit status 128) with output:
Cloning into 'src/backend/vendor/golang.org/x/net'...
ssh: connect to host golang.org port 22: No route to host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git+ssh://golang.org/x/net' into submodule path 'src/backend/vendor/golang.org/x/net' failed

P.S.
It's awesome idea to use submodules of git!!!
Thanks!

@ramboza I'm glad to see that you liked it, can you check now? It should be fixed now.

Cool! It works now!


how to get player location at hypixel api?

how to get player location at hypixel api? thank you .I want to make a app show my coop is or isnot online tysm
How?

Issues are for reporting SkyCrypt bugs, suggesting new features, or getting help using SkyCrypt. I recommend asking that question on our discord or if you really want to use GitHub you can use the discussions tab.


Computing residue?

Is there a way to use json-mapper to determine the unmapped residue?  That is, if I create a converter and I map a bunch of fields from one JSON format into a target format, is there a way to get a list of fields that weren't converted (i.e. dropped) from the input?

Hi.
Thank you for question.
Currently out of the box, it is impossible.
But if you want get "unmapped" fields (skipped in output) you can modify the code in function "applySchema", and instead
if ( typeof val !== "undefined" ){ output[par] = val; }
use something like
if ( typeof val !== "undefined" ){ output[par] = val; } else {output[par]='_unmapped_'}
or put unmapped fields in another container.
Another question how to determine what fields from input were skipped.
At first sight need use some mechanism to mark field as "touched", and show "untouched fields" after applying schema, but I must do some research, before present some decision.
Anyway, it good feature request, i think i will implement something like "debug" mode for this case, but i don't know when.
May be on the end of next week(or two).

...and speaking of residue: Is it possible to return the original json and have only the converted values changed? Now everything that is not converted is thrown away...


The client has changes for the incoming tfchain runtime 147 which is not upgraded yet on live networks

➜  grid-client git:(development_fix_grid-client_integration_tests) ✗ go test -v ./integration_tests -run TestBatchGatewayNameDeployment
=== RUN   TestBatchGatewayNameDeployment
batch_gateway_name_test.go:111:
                Error Trace:    /home/eslam/work/tfgrid-sdk-go/grid-client/integration_tests/batch_gateway_name_test.go:111
                Error:          Received unexpected error:
                                unable to decode field 2 event #11 with EventID [27 9], field TFTBridgeModule_BurnTransactionExpired: Unknown byte prefix for encoded OptionBool: 224
                                failed to decode event
                                github.com/threefoldtech/tfchain/clients/tfchain-client-go.(*Substrate).getEventRecords
                                        /home/eslam/.go/pkg/mod/github.com/threefoldtech/tfchain/clients/tfchain-client-go@v0.0.0-20231129121046-56ffc1f8f5c6/utils.go:495

The events need to get synced and tfchain dependency to be upgraded

tfchain and the tfchain-client underwent a change in the burnTransactionExpired event as part of the upcoming runtime 147 update, but live networks have not been upgraded yet.
The current runtime is 146 for dev, qa and test networks. The version used here as shown in the logs is dated November 23, so it is more recent and requires runtime 147 to run.

The chain is updated on devnet and working now


AMQP-770: Re-add constructor with ObjectMapper

Adding the varargs constructor argument breaks reflection instantiation and therefore is a breaking change to the API.

Merged and cherry-picked to 1.7.x as https://github.com/spring-projects/spring-amqp/commit/a723b58621366abb7b4ef3089f3e86d257f1ec05 . Backported to 1.6.x as https://github.com/spring-projects/spring-amqp/commit/21a9efc43893656e8f5092f9434b9967c1f317c3.
@ArloL ,
Thank you very for the contribution.
Looking forward for more!


Add bash completion for docker service {create,update} host options

This adds bash completion for the options added in #28031:

docker service create --host
docker service update --host-add
docker service update --host-rm

For the values it reuses the completion for docker run --add-host: If host is installed, after the hostname and a colon it tries to resolve the preceding hostname to an IP.
Please schedule for 1.13.0.
Ping @sdurrheimer for zsh completion

LGTM


exclude some articles from being picked as a start or goal article

someone got this:

which is not a good time.
i should also look into if there's some sort of content rating mechanism for/on wikipedia again
e; https://github.com/goto-bus-stop/wikibattle/issues/159 also ran into a not very fun article!

maybe a start would be to do a rudimentary filter based on words in the article title … that'll have false positives but that's not the worst thing for a silly game like this

Uhm, I'd consider reopening this for also removing the '-' which is always included in the articles...
If it were "Hyphen", that could technically work, but I think "Goal: - " would be confusing for most users.
I think this can be solved by either adding to the isFunPageName-Method or just starting to search the list at the third entry in loadPages(). The first two seem to be constantly the Start Page and the Hyphen.

The main page is already excluded by isWikiPageLink (maybe a bit strange that there's now two different exclusion paths but ok)
Good call about the hyphen, I hadn't landed on that yet and it's fine as a starting article, but as a goal it's definitely not great!

Just going through the list...

Murder
Death(s) (in 2020, huh! 😳 )
anything containing chronic could be blacklisted, those are predominantly diseases and stuff
definitely Main page. This would be so confusing.

I think there is the chance of blacklisting some kind of film or game - but that's probably acceptable.
Also, for fun you could always add Wikiracing to the list, hehehe. 😁

The main page is already excluded by isWikiPageLink

Yes (in theory) and no (I just spotted it in the actual list that's stored: "Main page")
This is the issue:
function isWikiPageLink (el) {
  const href = el.attribs.href
  return href !== '/wiki/Main_Page' && /^\/wiki\//.test(href)
}

The comparison to '/wiki/Main_Page' should definitely be case-insensitive.

Ohhhhhh I see now, it's on the list twice! That makes sense, thanks lol


Avoid duplicate tests for alert unit tests

Closes https://github.com/prometheus/prometheus/issues/4944
With this PR, alert unit tests will be run only once at a timestamp. Before this PR if multiple alert unit tests had same timestamp, the tests were duplicated for that timestamp.

@brian-brazil is this good to be merged?

Thanks!


Update scalafmt-core to 3.7.5 in master

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.7.1 to 3.7.5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:n:3

Superseded by #197.


Update to require sensu-plugin 2.7

Pull Request Checklist
Is this in reference to an existing issue?
General

[X] Update Changelog following the conventions laid out here

[ ] Update README with any necessary configuration snippets

[ ] Binstubs are created if needed

[X] RuboCop passes

[X] Existing tests pass

New Plugins

[ ] Tests

[ ] Add the plugin to the README

[ ] Does it have a complete header as outlined here

Purpose
Update the gemspec to use sensu-plugin  2.7 which includes the logic to map sensu 2 events into sensu 1.5 events for handlers and mutators based on the sensu-plugin Handler and Mutator classes.
Known Compatibility Issues

no idea why travis builds are failing. the errors are assocatied with kitchen.. so it seams like some sort of travis specific breakage.. not something in the commit.

In the logs it indicates that net-telnet version 0.2.0 dropped ruby support for < 2.3 in https://github.com/ruby/net-telnet/commit/4b5432a1d4f81e6c56bac6e72b0fe27bb8a6dfd8#diff-de0020d29d91153b0fe757ca69118a4e I am looking into what needs to be fixed, might be fastest/easiest to just drop those older versions support, let me get back to you on that one.

Re-running tests as we should now be pinned properly if we pull in specinfra version v2.76.2

Okay made the change in supported ruby versions a breaking change, and bumped major version accordingly.  Let me know if there's anything else.

released: https://rubygems.org/gems/sensu-plugins-logs/versions/2.0.0


Addons Tier

Describe the feature you'd like
In order to have a better machine we need many addons attached to that.
could be possibile having tier of addons sush as
Speed X2 - Speed X3 ...
Efficiency X2 - Speed X3 and other
so we can have more addons in a single space
e.g. A crafting with 2 Speed + another item = Speed X2  and so on
Describe alternatives you've considered
No response
Additional context
No response

PR created https://github.com/Rearth/Oritech/pull/222

Please see the comment in the PR. Direct tiers are not wanted here by design.


Adds more Collision features to CSGShape3D when use_collision is enabled

Context
I'm developing an architectural visualization project where the walls have openings (doors) but must be pickable for editing, even when hovering these openings.
I'm using the CSGCombiner3D nodes to create the walls and settings use_collision=true to make the first-person collision, where the player must pass through the doors, but I'm also creating an Area3D matching the walls' extent to allow the picking action.
Previous Behaviour
There were two issues when performing these actions: first, the camera pick didn't limit the pickable layers so, every physics objects were pickable. And second, despite the CSGShape3D objects creating the physics shapes, they didn't expose the picking properties and the input_event, mouse_enter, and mouse_exit signals.
Solution
I copied the CollisionObject3D properties and signals to the CSGShape3D to make them compatible and also added a picking mask to the Camera3D to allow limiting the physics layers it works on.
The previous behaviour is kept so it doesn't break the compatibility.

@Calinou, docs fixed.

@Calinou, formatting fixed

@Calinou, formatting fixed

No need to ping people individually after applying fixes :slightly_smiling_face:
Reviewing will happen in due time, but please note that the CSG module has no dedicated maintainers.

If the CSG change could not be merged at least the camera picking layer could be split and merged separately?

@Calinou, is this Ok now?