Product List use example

Hello!
First of all, thank you very much for providing this tool which is great. Being quite new to this, my question might be a bit silly...
I seem not to be able to get the mkm.market_place.product_list() function to work properly. Could you provide an example?
Thanks for the support!

Calling mkm.market_place.product_list() should be enough. Why do you think it's not working properly? Are there any errors returned? How is the mkm object created?
Are you using API 1.1 or 2.0? product_list is available only in v 2.0.

I use API 2.0. Here the code I use. Again, I'm new to this, so the function probably works well and I'm calling it in the wrong way.
Below the code I'm using:
"from mkmsdk.mkm import Mkm
from mkmsdk.api_map import _API_MAP
mkm = Mkm(_API_MAP["2.0"]["api"], _API_MAP["2.0"]["api_root"])
response = mkm.market_place.product_list()"
I get the following error:
"mkmsdk.exceptions.ConnectionError: Request failed
Status code: 404
Response message: Not Found"

Fixed by #49.
The endpoint was wrong, it was /productslist instead of /productlist, it should not fail with 404 anymore.
I've already drafted and published a new release.

Thanks for looking into it!
The tool is definitely what I needed.
Le jeu. 8 août 2019 à 11:27, Silvano Cerza<EMAIL_ADDRESS>a
écrit :

Fixed by #49 https://github.com/evonove/mkm-sdk/pull/49.
The endpoint was wrong, it was /productslist instead of /productlist, it
should not fail with 404 anymore.
I've already drafted and published a new release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/evonove/mkm-sdk/issues/48?email_source=notifications&email_token=AMZMXA2ETHFJ63VLXKWZ63TQDPRIDA5CNFSM4IJDQ6O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33BCMA#issuecomment-519442736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZMXA4KLB5TZ4OOYQO4Q7LQDPRIDANCNFSM4IJDQ6OQ
.

Issue solved. :)


Spring roo dependency

What maven repo is this supposed to be resolved from?
springframework.roo:org.springframework.roo.annotations:jar:1.2.3.RELEASE
And is it still needed going forward?

It's an optional dependency for generating Spring Roo metamodel classes using the RooAnnotationProcessor, which handles @RooJpaActiveRecord and @RooJpaEntity annotations.
Version 1.2.3.RELEASE is available in Springs own repository: https://mvnrepository.com/artifact/org.springframework.roo/org.springframework.roo.annotations/1.2.3.RELEASE
We should probably bump it to 1.3.2.RELEASE which is also listed in Maven Central.
It has also been requested to support Spring Roo 2.0.0.RELEASE instead: #2062.


Automatically update virus definitions

Can someone from @RockefellerArchiveCenter/marist confirm/point to code that does this?


Allow import or export blocks

@vncoelho @erikzhang   I will have a test first and please hold on the merging.

Test scenarios all passed:
neo-cli: master #501 + pr 502
neo: 3.0.0-CI00817
os: ubuntu 18.04
current best height: 533

export block Pass

neo> export block
[533/533]

export block 0 30 Pass
export block 30 Pass
export block 0 30 -> export block 30 100, delete seed node in protocol.json, the highest block reach to 129

neo> export block 0 30
[29/29]
neo> export block 30 100
[129/129]

current best height: 414 Pass

neo> export block 450
neo> export block 0 -1
error: Value was either too large or too small for a UInt32.
neo> export block 410 -1
error: Value was either too large or too small for a UInt32.

@cloud8little Merge?


Remove hyphen in formatter-related messages

This PR fixes #83452
I put single quotes around the language ID (e.g. Select a default formatter for 'Flow' files) because that seems consistent with usage elsewhere.

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


Refactor so that serialization is decoupled from the model

When the time will come to implement elasticsearch, this part of the code will already be done.
Think about how the serializers can receive a hash instead of a model.

Correction: previous commit references issue #12, not this one.


Segfault with expr.WithContext

go 1.21, expr 1.15.8
From debugging it looked like type information didn't get set on the second foo call, then the WithContext visitor fails on that call. I wanted to have the context set on every foo call.
https://go.dev/play/p/_LCsz6-0PVV
package main

import (
	"context"
	"fmt"

	"github.com/expr-lang/expr"
)

func foo(ctx context.Context, n int) int {
	if ctx == nil {
		panic("wanted a context")
	}
	return n + 1
}

func main() {
	env := map[string]any{
		"ctx": context.Background(),
		"foo": foo,
	}
	options := []expr.Option{
		expr.Env(env),
		expr.WithContext("ctx"),
	}

	script := "foo(0) | foo()"
	prog, err := expr.Compile(script, options...)
	if err != nil {
		fmt.Println(err)
		return
	}

	out, err := expr.Run(prog, env)
	if err != nil {
		fmt.Println(err)
		return
	}

	fmt.Println(out)
}

Fixed in https://github.com/expr-lang/expr/commit/cda16c21633e49505535aa4c0b70d39fd9640a21
Also added your example as test case to prevent from happening in future.


BioNeRF

It contains the scripts to include BioNeRF (https://arxiv.org/pdf/2402.07310) in nerfstudio.

Thanks Matthew!
By the way, congratulations for NeRF and your outstanding ideas.
Cheers,
Leandro
Em ter., 7 de mai. de 2024 às 02:11, Matthew Tancik <
@.***> escreveu:

Merged #3125 https://github.com/nerfstudio-project/nerfstudio/pull/3125
into main.
—
Reply to this email directly, view it on GitHub
https://github.com/nerfstudio-project/nerfstudio/pull/3125#event-12723373581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACY4IO6EB3ULN7IX5JXZQNTZBBPABAVCNFSM6AAAAABHKDJSUGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSG4ZDGMZXGM2TQMI
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Show more then the first banner

It would be nice, if more then one banner is active, the extension should shows all banners to the user.
Currently it shows only the oldest one.

We are worried that this could create a stack of banners of unbounded height, making Azure DevOps unusable in the same way Internet Explorer with too many toolbars becomes unusable.

Surely if users add 10 banners, and make it unusable, that is their perogative? Only showing one banner is limiting in certain circumstances. What happens when Microsoft service announcements add a banner in addition to those I have configured, are mine overridden by the Microsoft banner, or are they stacked?


Use without Prisma?

Can this be used without Prisma? I already have a Python backend that is doing the authentication and returning the token, and I have no need to connect to a database.

Hi, at the moment this is not feasible. However I'm planning a frontend-only option in v2.4.

I'm also interested in a non-prisma version. I'm interested in mongodb. If possible, please upgrade without using prisma.

@hoanghiep1x0 Prisma does support Mongo DB. The module also provides a Frontend-only option if you need to use your backend docs.
In version 3 I plan to introduce data connectors that allow database-agnostic usage. I cannot make any promises regarding the release date as I currently don't have much time.

It's just that I'm familiar with mongodb queries so I want to switch to ORM. Thank you very much for this useful module.


L1 VTS - Improve L1 based on new header File Updates (1.3.9)

This task is to consider the latest header file updates and consider if there are any changes in L1 concerning the newest header files.

Issue resolved through the pull request https://github.com/rdkcentral/rdk-halif-test-hdmi_cec/pull/38

all changes are now available in tag 1.3.0


OCPBUGS-30930: Add CEL validation for NodePool autoScaling / replicas

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #OCPBUGS-30930
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/jira refresh

/retest-required


What's the full time to execute one quesiton roughly?

Hi! It's a great work. I have used CHESS to solve some question in the finance field and it is so helpful. And my estimated running time of one question about 2～3 tables is about 3 ~ 5min. I am a beginner sry. Is it ok for a natural question?

Hi!
Thanks for your interest in our work, and happy to hear that it was helpful for your usecase.
Our framework consists of a preprocessing phase and an inference phase per query. The first one might take some time, but it's a one-time cost in the preprocessing step. However, the per-query inference is relatively fast and should be under a minute if you're using OpenAI/Gemini APIs. Since it's a bit hard to identify the source of the latency in an end-to-end fashion, I'd recommend enabling the info logging mode and see what step is becoming the bottleneck.
I hope this has helped you! If you still have an issue with the system's runtime, feel free to reach out with the step that causes the latency so we can resolve it.


OCPBUGS-30775: [4.14] bump grpc to 1.60.1, reconnect idle connections (#3147)

Upstream-repository: operator-lifecycle-manager
Upstream-commit: e6d8fb022872af61bd34e80c185ff206d01dabcf

/jira cherrypick OCPBUGS-30219

/jira refresh

/label backport-risk-assessed


Raspberry pi zero W install issues

Hi.
Im getting errors when trying to node-gyp install for arm6 (Raspberry pi zero w)
Could you point me in any direction of that to do, errors:
Node version= v8.9.3
npm version= 5.5.1
../src/BluetoothHciSocket.cpp: At global scope: ../src/BluetoothHciSocket.cpp:365:11: error: expected constructor, destructor, or type conversion before '(' token  NAN_METHOD(BluetoothHciSocket::New) {            ^ ../src/BluetoothHciSocket.cpp:374:11: error: expected constructor, destructor, or type conversion before '(' token  NAN_METHOD(BluetoothHciSocket::Start) {            ^ ../src/BluetoothHciSocket.cpp:384:11: error: expected constructor, destructor, or type conversion before '(' token  NAN_METHOD(BluetoothHciSocket::BindRaw) {            ^ binding.target.mk:93: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory '/home/pi/git/pubnub-ruuvi/node_modules/bluetooth-hci-socket/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack     at emitTwo (events.js:126:13) gyp ERR! stack     at ChildProcess.emit (events.js:214:7) gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.14.52+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/git/pubnub-ruuvi/node_modules/bluetooth-hci-socket gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok

I'm also unable to build on a Pi Zero W or an rPi 3B. Same error.

I had this issue as well when running on node 10.x on a Pi Zero W with Rasbian
Downgrading to node v8.11.1 seemed to do the trick.
Installed following the official docs
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

Downgrading to node v8.11.1 seemed to do the trick.

Yes, this worked for me also.

I had to install sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev

I had this issue as well when running on node 10.x on a Pi Zero W with Rasbian
Downgrading to node v8.11.1 seemed to do the trick.
Installed following the official docs
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

same here

Closing due to age


Fix prow presets configMap

Issue #, if available:
Description of changes:
While working on adding new prow plugins i came across this little dot. I believe it wasn't supposed to be here :)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

It's surprising that this didn't break anything in our prow cluster. Or at least we didn't notice anything wrong..
/cc @RedbackThomson @jljaco


Adding support for arm in setcanary

As discussed in #54 I have added support for arm in setcanary. I have tested it on a raspberry pi.
pi@exos-pi:~ $ head -n 40 z.c
#include <stdio.h>
#include <stdint.h>

#ifdef __x86_64__
#define canary_t     uint64_t
#define INSN_READ    "movq %%fs:0x28, %0;"
#define FMT          "Found canary: %#lx\n"

#elif __i386__
#define canary_t     uint32_t
#define INSN_READ    "movl %%gs:0x14, %0;"
#define FMT          "Found canary: %#x\n"

#elif __arm__
#define canary_t     uint32_t
#define INSN_READ    "ldr r0, =__stack_chk_guard; ldr r0, [r0]; mov %0, r0;"
#define FMT          "Found canary: %#x\n"
#endif

canary_t read_canary()
{
    canary_t val = 0;

    __asm__(INSN_READ
        : "=r"(val)
        :
        :);

    return val;
}

int main(int argc, char **argv)
{
    printf(FMT, read_canary());
    return 0;
}

pi@exos-pi:~ $ gcc -no-pie -fno-pic z.c -o z
pi@exos-pi:~ $ PREENY_DEBUG=1 PREENY_INFO=1 PREENY_ERROR=1 CANARY=1094795585 LD_PRELOAD=~/preeny/build/lib/libsetcanary.so:~/preeny/build/lib/libgetcanary.so ./z
--- Found canary: 0xe14d2500
+++ Overwriting canary with 0x41414141...
Found canary: 0x41414141

As for arm64, it still needs some testing. I'll do it in some time.

Thanks!


Gartner/Forrester research (GCDevEx)

Request from Mathieu to look at what Gartner and Forrester have to say about procurement and if yes, if it is in alignment with our GCDevEx pitch

Gartner has a report called procurement 2020 that provided some very useful insights (and is referenced in our micro-procurement blog post - part one). Also we had a call with a Gartner analyst on July 29 2020. ESDC does not have an account with Forrester so we did not gather any info from them.


Configuration can't choose WHILE IGNITED

Very useful software!
I use "Eye of Innocence Citrine Amulet" & "Mokou's Embrace Ruby Ring" to be ignited to get 70% increase fire damage and 20% attack speed. So, wanna to have a option in WHEN IN COMBAT configuration like "while been ignited".
TYVM

Easy enough. It'll be in the next update.

Nice~


[Feature][JsonSplit-api]processDefinition switch interface

from #5498
Change the request parameter processDefinitionId to processDefinitionCode,including the front end and controller interface

Hi, I will do it.


Easy Anvils are incompatible with apotheosis.

Because of this mod overrides Anvils functionality, Easy Anvils does not provide any functionality the mod adds.
The enchanting part should stay the same, but formatting, keeping items on visuals, etc, should be left in.

Yeah, I think that Apotheosis should yield to other mods overriding the anvil level cap mixin, or remove it entirely due to mod incompatibilities.

Maybe then add formatting and display functionality? At least the formatting would be neat.

Easy Anvils is incompatible with the changes made for the enchanting module, there's no way to rectify that.  The whole "anvils being enchantable" thing was dropped in 1.21 though, so I guess it might work there.


GET doesn't work

When I switch over to GET, I receive:
TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.
    at TypeError (native)
    at Object.graphQLFetcher [as fetcher] (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:18:1115)
    at t._fetchQuery (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:20:17540)
    at _runEditorQuery (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:20:9601)
    at Object.u [as executeDispatch] (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:1:7795)
    at C.executeDispatch (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:17:25964)
    at a (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:1:7727)
    at Object.s [as executeDispatchesInOrder] (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:1:7848)
    at c (file:///Users/todd.berman/Downloads/GraphiQL.app/Contents/Resources/app/dist/bundle.js:2:22666)
    at Array.forEach (native)

in the response window.

I missed your PR - I'll take a look now.

Fixed by #13.


Fix up missing notes when using an ingress

When deploying this chart I noticed that I got a broken/incomplete output message.
Release "kafka-ui" has been upgraded. Happy Helming!
NAME: kafka-ui
LAST DEPLOYED: ...
NAMESPACE: ....
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:

It looks like at the time this was developed it was uncertain if hosts should be a list or single path.
How does the following fix strike you?
I've also added a comment about setting the config value SERVER_SERVLET_CONTEXT_PATH for when the server is running at a subpath as this tripped me up when testing this.

@cadnce hi there, as this repo is not maintained (https://github.com/provectus/kafka-ui/discussions/4255), can I suggest you raise one at https://github.com/kafbat/helm-charts/ instead?


feat: add common dynamic versioning workflow

This takes the dynamic versioning publish workflow from target-snowflake and makes it available as a shared workflow for other repositories.

@kgpayne and @WillDaSilva - This is a quick proof of concept of where I'd like to go with common (aka "required" workflows) across MeltanoLabs taps and targets.
In a single place, I'd like to have workflows which manage the basic functions of PR validation, release drafting, and release publishing.
Note: per each workflow and repo, the behavior is 'opt in'. I've given you both Admin access so you should be able to maintain the settings via this screen.

While I understand this sacrifices control, it reduces overall surface area to maintain by at least one or two orders of magnitude. With specific expectations and assumptions established ahead of time, we should be able to iterate on improvements from a single location, and benefit all "opted-in" repos simultaneously. While this approach sacrifices some control in the default cases, the savings of applying and maintaining changes across 20-40 repos' workflows independently, I think, is well worth the tradeoff, and will keep our practices uniform and streamlined.
Knowing at the same time that there may be sharp edges and/or learnings to have along the way, I'd like to start this with 4-5 repos that each have


No occurredAt field in THE_LAST_SEEN_EVENT

Hi Adriano,
there is currently no occurredAt-field in the last seen event in the revision-collection.
I couldn't find this string in the codebase, too - have you removed it at some time?

no, but probably all of your events will not have it...
It's (optionally) set in the domain

You have to configure the commitStamp in the event definition

{
"correlationId": "correlationId",
"id": "id",
"name": "name",
"aggregateId": "aggregate.id",
"context": "context.name",
"aggregate": "aggregate.name",
"payload": "payload",
"revision": "aggregate.revision",
"version": "version",
"meta": "meta",
"commitStamp": "occurredAt"
}

Perfect, thanks for the quick reply!
Haven't seen this option.


Add extra fields to weather card

closes #39
Added the following fields to the weather card:

humidity
pressure
windspeed
sunrise
sunset

Looks like this currently

I like it a lot! The stats look great!
It does look like the item icons aren't centered vertically, which looks a little strange. Is it possible to center them?

Looks awesome .. and the changes in the files looks fine to me ..
But as Keaton said .. if you're good at using CSS can you center the required items? .. i have noticed this problem especially in mobile mood .. but i made it hard coded as i wasn't able to solve it

Been too long in opened state, so will merge, and those suggested updates can be made after in a new issue/pull request, and doesn't have to be strictly by omeir since we have no time.


Error in Chrome only secure enabled or not.

Current Behavior
receiving error when loading page in chrome, just started a few days ago.

Still seems to work in firefox, i tried a few older versions of the image. Also tried with SECURE = 0. Not sure how to bypass for Chrome. This is the only service i use that has this error, likely a chrome update but cannot mitigate it.

the error itself
Unexpected error encountered:
Uncaught TypeError: e.map is not a function
http://cluster.tech-i.ca:5900/:83:80688
TypeError: e.map is not a function
at t.default (eval at buildCode (:606:31), :83:80688)
at Function.value (eval at buildCode (:606:31), :88:950470)
at Object.getScriptList (eval at buildCode (:606:31), :88:952758)
at p (eval at buildCode (:606:31), :88:927330)

Where the error is coming from ? Can you share a screenshot ?
Do you have any issue when you use the IP of the host running the container ?


Adding image to tag template

Turns out tags can have images now! Stolen the image tag from the post template and replicated here however in the {{tag}} context.

nice! Can you post an image preview related with the change? :)

hmm I don't remember exactly the version, but I refactor post/tag view and is more clean. You can see a demo
In this new approach I don't think that include a image isn't align with the minimalist objetive.
But thank you think in create this PR and you can use it in your fork :-)

Ahh yes, I forgot I reverted that change!


Add Settings Screen

It should look like the RootsWallet Settings screen
https://user-images.githubusercontent.com/681493/196707356-36e15220-88df-4d2a-a31c-4a0835f47d5c.mov
https://github.com/roots-id/rootswallet/blob/main/src/screens/SettingsScreen.tsx

You should be able to get to the settings screen from every screen (either the Settings Button or the Cog symbol)

Hey @2byrds ,
I am working on this one, you can add the rest of the tickets. I'll pick up as soon as I am done with this.

Sorry @HunnySajid I meant to create the whole batch but got pulled into a meeting.  I'll create them soon

@2byrds  you can review and roll out this one.

Great work by @HunnySajid https://github.com/roots-id/roots-react-native/pull/15


Add Successor and Predecessor tests to a Version

I wanted to do refactoring of a predecessor method and found that there is no unit test for it.
First, I've added tests and I found 2 issues:
Version(0,1,Int.max).successor()  ==  Version(0,1,0)
Version(0,0,0).predecessor() == Version(0,Int.max,Int.max)

I've added FIXME comments but not sure what is a correct behaviour. Here are some ideas:
The successor could increase the parent number.
And predecessor maybe could return the same 0,0,0 version.
Version(0,1,Int.max).successor()  ==  Version(0,2,0)
Version(0,0,0).predecessor() ==  Version(0,0,0)

I wonder if bad things happen if predecessor returns the same value? /cc @dabrahams

@mxcl predecessor() should return a distinct value, unless the index is the start index.  In the case of start index, one is just not allowed to call predecessor(), so the method can return anything, or just trap (preferably).


add a usc test for 16 USC 460nnn-101

16 USC 460nnn-101 is an actual citation, and is, by my somewhat old data, the longest citation to an actual section in the USC.
http://uscode.house.gov/view.xhtml?req=(title%3A16 section%3A460nnn-101 edition%3Aprelim)
http://www.gpo.gov/fdsys/pkg/USCODE-2013-title16/html/USCODE-2013-title16-chap1-subchapCXXV-partF-sec460nnn-101.htm
https://www.law.cornell.edu/uscode/text/16/460nnn-101
This PR just adds a test for the citation, so we don't lose track of a really gross one. Everything was working.

:+1:


feat: create visualize nearest neighbor related functions and tests

This PR includes two functions _plot_spatial_distance_dispatch and visualize_nearest_neighbor, as well as corresponding unit tests.
I am not sure the unit test coverage, and need some guidance here:

Prior coverage of helper functions: If _prepare_spatial_distance_data and _plot_spatial_distance_dispatch were already thoroughly tested in their own respective test suites, and confirmed that their inputs/outputs are correct and robust, then retesting their internal logic here might be redundant. Like we don't include unit tests for utils functions.
However, since visualize_nearest_neighbor is a user-facing function, it makes sense for these tests to confirm that the function integrates everything correctly:

It calls _prepare_spatial_distance_data with the given parameters.
It dispatches to _plot_spatial_distance_dispatch correctly.
It applies transformations (like log) and respects stratify_by, facet_plot, etc.
so TestVisualizeNearestNeighbor serve as higher-level integration tests.

Thanks @fangliu117 , for 1, yes, in a unit test, you don't need to re-test other functions you use.


Unable to use ComponentProps without TS error

Bug report
In a recent discussion thread, it was noted that as of v1.0.0 users were able to use ComponentProps to access all component props types. Others have noted they are having similar issues as well.
To Reproduce
I've provided a link to a small starter design system library I started making. Install instructions are on the README. Once installed go to packages/core/src/components/Box/Box.tsx and note the change made to to add the ComponentProps type. Then go to packages/core/stories and notice the errors on the Box story.
Type 'CSS<{}, { colors: { black: string; white: string; gray: string; blue: string; red: string; yellow: string; pink: string; turq: string; orange: string; }; fonts: { sans: string; }; fontSizes: { 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }; ... 11 more ...; transitions: unknown; }, DefaultThemeM...' is not assignable to type 'InterpolationWithTheme<any> & {} & { alignContent?: AlignContent | Globals | ScaleValue | Index; alignItems?: AlignItems | ... 2 more ... | Index; ... 425 more ...; vectorEffect?: VectorEffect | ... 2 more ... | Index; } & { ...; } & { ...; } & { ...; }'.
  Type 'CSS<{}, { colors: { black: string; white: string; gray: string; blue: string; red: string; yellow: string; pink: string; turq: string; orange: string; }; fonts: { sans: string; }; fontSizes: { 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }; ... 11 more ...; transitions: unknown; }, DefaultThemeM...' is not assignable to type 'InterpolationWithTheme<any> & {} & { alignContent?: AlignContent | Globals | ScaleValue | Index; alignItems?: AlignItems | ... 2 more ... | Index; ... 425 more ...; vectorEffect?: VectorEffect | ... 2 more ... | Index; } & { ...; } & { ...; } & { ...; }'.
    Type 'CSS<{}, { colors: { black: string; white: string; gray: string; blue: string; red: string; yellow: string; pink: string; turq: string; orange: string; }; fonts: { sans: string; }; fontSizes: { 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }; ... 11 more ...; transitions: unknown; }, DefaultThemeM...' is not assignable to type '((theme: any) => Interpolation<undefined>) & {} & { alignContent?: AlignContent | Globals | ScaleValue | Index; alignItems?: AlignItems | ... 2 more ... | Index; ... 425 more ...; vectorEffect?: VectorEffect | ... 2 more ... | Index; } & { ...; } & { ...; } & { ...; }'.
      Type 'CSS<{}, { colors: { black: string; white: string; gray: string; blue: string; red: string; yellow: string; pink: string; turq: string; orange: string; }; fonts: { sans: string; }; fontSizes: { 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }; ... 11 more ...; transitions: unknown; }, DefaultThemeM...' is not assignable to type '(theme: any) => Interpolation<undefined>'.
        Type 'CSS<{}, { colors: { black: string; white: string; gray: string; blue: string; red: string; yellow: string; pink: string; turq: string; orange: string; }; fonts: { sans: string; }; fontSizes: { 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }; ... 11 more ...; transitions: unknown; }, DefaultThemeM...' provides no match for the signature '(theme: any): Interpolation<undefined>'.ts(2322)
index.d.ts(96, 7): The expected type comes from property 'css' which is declared here on type 'IntrinsicAttributes & { children?: ReactNode; } & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<...>> & { ...; }, "css"> & TransformProps<...> & { ...; } & { ...; }'
(property) css?: InterpolationWithTheme<any> & {} & {
    alignContent?: Property.AlignContent | Globals | ScaleValue | Index;
    ... 426 more ...;
    vectorEffect?: Property.VectorEffect | ... 2 more ... | Index;
} & {
    ...;
} & {

I wasn't getting this before.
Note that a similar TS error happens if you apply ComponentProps to the Button component as well. Then reference the Button story.
Expected behavior
No TS errors when adding ComponentProps
Screenshots

Version
Using<EMAIL_ADDRESS>

Upgrading to 1.2.1 seems to have fixed it?


fix(super-linter): disable Checkov and JSCPD linters

Checkov and JSCPD linters ignore the FILTER_REGEX_EXCLUDE, FILTER_REGEX_INCLUDE and VALIDATE_ALL_CODEBASE environment variables. Explicitly disable these linters to prevent them from being run when they should not.

For reference, the fact that these linters ignore these environment variables is specified per environment variable here.


Feedback for “Bridge tokens”

When using the bridge, the bridge button does not turn on time without selecting the maximum amount. I have to select max. first and then enter the amount I want. Is it normal? Thank you.

What do you mean by "does not turn on time" ?
To bridge tokens:

sorry to poor english. I mean sometimes when i enter the amount that i want to brigde, bridge button doesn't show up, then i click to max to solve the problem. after that i enter the amount that i want to bridge. maybe it's an issue with my internet connection, i don't know.

Bridge UI v1 has been deprecated, please try v2 with the next testnet.


feat: 🎸 Add prop for SQForm fields to allow 'validation' as inf

Jira Description:
We need to implement design and business requirements that require informational text to a SQForm field, similar to Validation.
Any place there is validation we need the ability for informational text, including to SQFormMultiselect, since there is currently no mechanism to override what the form engine is doing for validation text generation.
This is needed for the following input types:

Figma Fields examples: SC3 DESIGN LIBRARY
Loom Video: https://www.loom.com/share/1f883c4f27e342099f40eefab4fbb130
Other Notes : I have added the “informationalText” prop for both SQFormDropdown and SQFormTextField. Now if we will send this prop to these fields we will get the helper text under the field. let me know if we need to update the component.
Design Review : Approved by UI/UX
✅ Closes: SSR-14

Looks good. Thanks @malikfarhan183!


ftp.write

it does not write files larger than 63K
and  the semi-finished file is released
Are there limits defined for this part FTP.write

Is it a question or a statement?
It's not clear to me your comment. Can you please post an example?
Do you have enough heap memory to hold 64k of data?

sorry for my bad explanation. I have to send about 700k file (that's come from sd) to my server but, it only moves up to 63k and no more data is sent
File fie = SD.open(temp);
String jib = fie.readString();
ftp.Write(jiboty.c_str());
ftp.CloseFile();

700K of String??
Anyway, clearly you don't have enough free memory to allocate the SD card content.
You can check that by 'ESP.getMaxAllocHeap()'

How did u then send the file ? @ldab


Upgrade sonar-maven-plugin <IP_ADDRESS>4 -> <IP_ADDRESS>22

This PR contains the following updates:

Package
Type
Update
Change

sonar-maven-plugin (source)
build
minor
<IP_ADDRESS>4 -> <IP_ADDRESS>22

Release Notes

SonarSource/sonar-scanner-maven (sonar-maven-plugin)
v<IP_ADDRESS>22
Compare Source
Release notes - Sonar Scanner for Maven - 3.11
Bug
MSONAR-205 Undesired behaviour when sonar.projectKey is specified in root pom or as user property
Documentation
MSONAR-203 Update license headers
Task
MSONAR-208 Migrate tests to JUnit 5
Improvement
MSONAR-202 Improve logging : log information about Maven options,  Java version and the OS
MSONAR-204 "SonarQube version" is not displayed when communicating with SonarCloud
MSONAR-207 The scanner for Maven collects files outside of conventional sonar.sources
v<IP_ADDRESS>94
Compare Source
Release notes - Sonar Scanner for Maven - 3.10
New Feature
MSONAR-193 Set property `sonar.java.enablePreview` when Java's enablePreview feature is set
Task
MSONAR-184 Properly escape multi-valued properties if some paths contain comma
MSONAR-187 Upgrade github-action_release to v4
MSONAR-188 Stop leaking Maven classes in the scanner engine classloader
MSONAR-189 Add ITs with java 17
MSONAR-192 Run all tests nightly
MSONAR-195 Reduce the scope of the maven-compat dependency
MSONAR-198 Add Maven 4 tests to the pipeline
MSONAR-199 Use master build for peachee jobs
Improvement
MSONAR-190 Default sources to "src/main" instead of "src/main/java"
MSONAR-197 Maven Scanner relies on old slf4j version

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade sonar-maven-plugin <IP_ADDRESS>4 -> <IP_ADDRESS>22

See:
- https://github.com/SonarSource/sonar-scanner-maven/releases/tag/<IP_ADDRESS>94
- https://github.com/SonarSource/sonar-scanner-maven/releases/tag/<IP_ADDRESS>22
- https://github.com/SonarSource/sonar-scanner-maven/compare/<IP_ADDRESS>4...<IP_ADDRESS>22

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


backend:gce opencensus trace- add time.Sleep calls to processor.Run root span

Refs https://github.com/travis-ci/reliability/issues/199
What is the problem that this PR is trying to fix?
Even though we have sleep times as constants during a job run, we don't have any indication of how many times those sleeps are called as a result of retries.  This adds them to worker trace to give us that data.
What approach did you choose and why?
Passing in context to time.Sleep calls in the same manner as https://github.com/travis-ci/worker/pull/528, so that we don't orphan any outside of the Processor.Run
How can you test this?
Staging worker with time.Sleep spans added here

What feedback would you like, if any?
I'm not entirely sure if this is the way I should be doing this, I simply followed patterns and this is the only thing that compiled. 😅

Better! This is actually a cool way to visualize defer function calls in a stack trace btw


Need to move the releases onto this repo since this is the public source now.

Need to consider the impact on auto updates for the existing desktop app, need to push a final update to the existing releases to point to the new releases for future versions.
At that point I will lightly make the old repo private due to the fact that the old release versions are broken now and are only used by pirates to sidestep safeside.

I have move the website to point to the new releases on the new repo, i will do a dummy release on the old repo soon to trigger update notifications.

done!


Remove conflict typedefs with XCode 11.1.

This may resolve the problem of https://github.com/apache/incubator-brpc/issues/952 .

It is strange, that this test does not fail in my Mac.


Implement C-x C-right for NEXT_BUFFER

NEXT_BUFFER and PREVIOUS_BUFFER are C-x right and C-x left respectively. But C-x C-right should also work. Currently that does nothing.

It works in Google Cloud Shell but not in MSYS2 nor when ssh into Linux from Powershell nor or WSL.


[otbn] Add FPGA register file and use it on FPGAs

This PR adds a second implementation of the OTBN register files that will infer RAM primtives on FPGA. The reduces logic resource utilization of otbn by ~10% and gives us back around 4-5ns on the critical path.
To control the selection, a new parameter is added that is propagated to the top level. The FPGA register file is selected only on FPGA platforms. I successfully tested the new register files in simulation using the smoke test.
This is related to #3636.

Thanks for the review @GregAC


Issue 885 - Output Bulk Import validation in ingest reports

Resolves #885

Approved, although it's my PR so I cant mark it as approved


Inconsistency between paper and code

It seems that the labels in output target are either rand or fake, without any ground truth in it which is different from the paper in the end of section 2.3 that  After noise objects are synthesised and discretized, we then append them in the end of the original input sequence.
https://github.com/google-research/pix2seq/blob/6d45f77fcbb1905aca3e42678a2a079907ad17d0/tasks/object_detection.py#L399

apologies for late reply. The response_seq_class_m is used for the input sequence (the stuff that transformer decoder sees), the label/target sequence (the stuff that transformer decoder is asked to predict) is from response_seq which is either real tokens or fake class token. hope that clarifies it.

apologies for late reply. The response_seq_class_m is used for the input sequence (the stuff that transformer decoder sees), the label/target sequence (the stuff that transformer decoder is asked to predict) is from response_seq which is either real tokens or fake class token. hope that clarifies it.

Why do I randomly change the label of the Input Sequence? I don't really understand.


Complete planner data.

Current data for the planner is incomplete and needs to be finished. Some of the old data also doesn't use newly added functionality and would be nice to update, although it continues to work fine.
It's boring but rather easy work, just base yourself on the data already there (specifically Revenant weapons as they are newest) and update any templates of constants as needed.

Working on adding items to planner, added part of the core for Revenant 5* but still missing character specific items.

Considering this finished with d4d2e99901b8be8371035962abf81e635144a11b.
Misc crafts may still be added, but all big weapon series are in now.


Don’t clear the entire table when doing incremental updates

Fixes #5264
also index() is a void function so changed the returns to breaks
The increments are obviously numbers, so use number formatting

The increments are obviously numbers, so use number formatting

Os this necessary? Translators will have to re-translate this string...
Furthermore, I do prefer %s because it allows me to format the numbers (eg thousands separator)

You got it, we might want to update this translation anyway due to
singular/plurals, right now it will say "1 Sites" which is not correct.
Same with the other types. I'm not sure how that exactly works but I know
you do 😀
On Sat, Apr 1, 2017, 12:35 AM Michele Locati<EMAIL_ADDRESS>wrote:

The increments are obviously numbers, so use number formatting
Os this necessary? Translators will have to re-translate this string...
Furthermore, I do prefer %s because it allows me to format the numbers (eg
thousands separator)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/concrete5/concrete5/pull/5271#issuecomment-290894402,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAM-qYxv1jo2i6_WxjI5LvWuOe4CjW63ks5rrdQBgaJpZM4MwSBU
.

Well, we could use a series of t2 calls to build an array of strings, then merge this array with Punic\Misc::join

See https://github.com/Mnkras/concrete5-5.7.0/pull/2

Looks like a good fix :+1: thanks!


Add Absolute Page Start to book array config

Add the page number that each chapter starts on to the object within the config file

name this new field startPage


iOS 13.3 not working.

Hello guys!
I've set up a React Native app to read NFC tags but it doesn't seem to work. The Reader dialog shows up, but nothing gets read.
Here is my code.
import React, { Component } from "react";
import { View, TouchableOpacity, Dimensions, Image, Platform } from 'react-native';
import NfcManager, {NfcEvents} from 'react-native-nfc-manager';
class RFIDREaderScreen extends Component {
  componentDidMount() {
    NfcManager.start();
    NfcManager.setEventListener(NfcEvents.DiscoverTag, tag => {
      console.warn('tag', tag);
      this.setState({ text: tag });
      NfcManager.setAlertMessageIOS('I got your tag!');
      NfcManager.unregisterTagEvent().catch(() => 0);
    });
  }

  componentWillUnmount() {
    NfcManager.setEventListener(NfcEvents.DiscoverTag, null);
    NfcManager.unregisterTagEvent().catch(() => 0);
  }
  _cancel = () => {
    NfcManager.unregisterTagEvent().catch(() => 0);
  }

  _test = async () => {
    try {
      await NfcManager.registerTagEvent();
    } catch (ex) {
      console.warn('ex', ex);
      NfcManager.unregisterTagEvent().catch(() => 0);
    }
  }
}

I'm using an iPhone 11 Pro with iOS 13.3
Here is my env info.
System:
OS: macOS 10.15.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 49.49 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.1 - /usr/local/bin/node
Yarn: 1.19.2 - /usr/local/bin/yarn
npm: 6.13.6 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
I'm not sure what I'm missing here...

Hi @jbejas ,
For iOS, there're some extra configurations required.
First, we need to enable the NFC capability in Apple developer site:

Also need to add the app's entitlement through Xcode:

Then we also need to add NFC privacy statement into Info.plist:

I have put a repo for your reference. Please feedback if there're any other issues.

Hi @whitedogg13 , same as @jbejas , the v2 example not working on iphone7 and iphoneXS IOS 13.3.1
I have as you mentioned activated the NFC capability and added the permissions needed.
the app show the reading screen, but it's not detecting anything.

Hi @yassine-be please try to use this example to see if it works.
(in issue #250, some developer reports the issue been fixed by trying above example, although the root cause is not identified)

the example does not seem to work for me ( though working on android ).
can someone @whitedogg13 and @jbejas please confirm if scan is working on ios 13.3.1 for them.
i tried another app ("decode" from apple store) and it is not scanning either.

Hi @yassine-be The example does work for me, on iOS 13.3 + iPhone 11.
Can you check if your entitlement is correct like this?

(This file is automatically generated when we add our NFC capability in Xcode's Signing & Capabilities tab)

thanks @whitedogg13 for your help, the example is working for me now.
it turns out the tags i was testing with were not working on ios. I got some new ones and it's going smooth now.
i'm not sure as to why they worked only for android. I'll update my post if i find out.


ARROW-14722: [R] Fix altrep vector negation modifying original

Got a test reproducing the issue.

@romainfrancois Got a test reproducing the bug, but not sure where the -b_int is actually dispatching to. You have an idea on that?

Thanks @wjones127 I'm on it

Should be fixed now. For the record, the relevant R code: https://github.com/r-devel/r-svn/blob/1a9b0f70744608548b8d6e7869c3930e3881edab/src/main/arithmetic.c#L793
static SEXP integer_unary(ARITHOP_TYPE code, SEXP s1, SEXP call)
{
    R_xlen_t i, n;
    SEXP ans;

    switch (code) {
    case PLUSOP:
	return s1;
    case MINUSOP:
	ans = NO_REFERENCES(s1) ? s1 : duplicate(s1);
	int *pa = INTEGER(ans);
	const int *px = INTEGER_RO(s1);
	n = XLENGTH(s1);
	for (i = 0; i < n; i++) {
	    int x = px[i];
	    pa[i] = (x == NA_INTEGER) ?
		NA_INTEGER : ((x == 0.0) ? 0 : -x);
	}
	return ans;
    default:
	errorcall(call, _("invalid unary operator"));
    }
    return s1;			/* never used; to keep -Wall happy */
}

Removed "WIP" in title to un-skip CI builds.

Should this be merged? Also cc @jonkeane @thisisnic

@ursabot please benchmark lang=R

This should be ready to be merged.


Merge fork back into repo

This is a pull request to merge the maintenance that was done on a separate branch back into this repo

Hi,
@pkempenaers : Well done!
@dotansimha : It's been a while since the last update, is there any schedule to see other issues considered? You merged the bower name in the main repo, does that mean that future of the component will be taken over as a new package?
Thanks

I'm planning on cleaning up this pull request (so that it reflects this repo, the other repo will probably stop being maintained as I'm not going to maintain the same component on 2 separate repos)


refactor: return enum in CL verifying code, apply for submitchainlock

Issue being fixed or feature implemented
Currently by result of submitchainlock impossible to distinct a situation when a signature is invalid and when a core is far behind and just doesn't know about signing quorum yet.
This PR aims to fix this issue.
What was done?
Return enum in CL verifying code chainlock_handler.VerifyChainLock.
The RPC submitchainlock now returns error with code=-1 and message no quorum found. Current tip height: {N} hash: {HASH}
How Has This Been Tested?
Functional test `feature_llmq_chainlocks.py is updated
Breaking Changes
submitchainlock return one more error code - not really a breaking change though, because v21 hasn't released yet.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone

Guix Automation has began to build this PR tagged as v21.0.0-devpr6096.c36c8c71. A new comment will be made when the image is pushed.

Please object if there is a reason for this to be back ported to v21.0

@PastaPastaPasta Currently, we have a bug in Drive when we submit chainlock we get the same error in case if Core is not synced up to the height when this CL quorum is created or if a malicious proposer sends a malformed signature. In the first case, we would like to wait a bit and try again. In the second case, we want to reject a proposal immediately. It opens an attack vector if we wait in both cases or often leads to multiple rounds per height if we reject blocks for both.

back ported in #6115


Add support for configuring multiline parsers

This PR adds support for configuring multiline parsers.
Checklist

[X] PR contains a single logical change (to build a better changelog).
[X] Update the documentation.
[X] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[X] Link this PR to related issues or PRs.

Thanks @simu :) I have applied the suggestion. Would mind having a look again?


Passive joints don't work with position or velocity interface

As indicated with #172, passive joints not being part of a kinematic chain (a pendulum for example) do not work properly if anything except effort interface is used.

If the position or velocity command interface is used instead, the motion of the pendulum is not calculated correctly and does not move at all, see the following example. This also holds true if a mimicked joint with position or velocity interface is used.

I'm not sure how gazebo with gz_ros2_control behaves with passive joints. But one suggestion for gazebo_ros2_control would be to implement a high-gain feedback on the effort interface from position and velocity commands, similar to the position interface of gz_ros2_control
But I'm not certain about if this will end up in a stable simulation.


Silee2/python binding

This is a proposal for what the python binding code and package structure should be like.
The PR builds and functions correctly.
The main ideas is to

put all c++ pybind code under python/pyngraph
put all the low level direct wrappers under python/ngraph/impl
put the high level pythoninc API under python/ngraph

Most users can just add
import ngraph as ng
And enjoy the pythonic API
This is an alternative to #667
The PR looks big but most of the changes are just for updating docstrings
By the way, I slipped in a patch to make ngraph build again on Mac. (the first commit)
Some SDL-3 Linker options are only applicable to ELF based systems. And MacOS it not one of them.
The patch enables those linker flags only if the system is not a Mac.
Should I split the PR?

Matching changes for ngraph-neon are here:
https://github.com/NervanaSystems/ngraph-neon/pull/85


Implement ceil function.

This PR implements ceil function with covering test for input of dtype float16, float32 and float64.

It looks good except comments.
And, please fix docs/source/reference/functions.rst.

Thank you for checking my PR.
I fixed docs/source/reference/functions.rst.
Can you check it?

Thank you for checking my PR
I fixed implementation and comment, reference.
Can you check it?

LGTM except one comment.

LGTM!


"Show/change your API key" not working

In account settings, clicking "Show/change your API key", first refreshes the page, then clicking once the page has reloaded just makes the API key box disappear.
I'm using ZulipRemoteUserBackend so no password is needed for the API key.
It looks like https://github.com/zulip/zulip/blob/9a09513b4d5570f56ef62ce7132893885aa652ac/static/js/settings_account.js#L182 calls submit on the form, but since https://github.com/zulip/zulip/commit/3654d4f92d4b666412d803587a722f8c35c3ee90#diff-eb66ec579679b9074c352fc03dc54f76 there is no longer an ajaxForm to capture submit, only click events on the button are caught.
Simple fix seems to be to call $("#get_api_key_button").click() instead of doing submit on the form when there is no password, but there may be other cases (pressing enter?) where a submit on the form is being called instead of the click event.

I think this is an duplicate of #6341 and possibly related to #9277; maybe this should be closed?

Yes, this is a duplicate of #6341, let's move discussion there.


Node.js not working

I'll admit I've got no experience in this area and the tutorial says its for people who have some experience, but I'm a quick learner and I would really like to continue this project so any help would be amazing.
I went and searched through all the other errors like this and I've come to the point where I can't find any more possible fixes and I keep getting this error in the CMD:
C:\Users\Adam\Desktop\DiscordBot>node bot.js
module.js:549
throw err;
^
Error: Cannot find module 'winston'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\Adam\Desktop\DiscordBot\bot.js:2:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
I tried to use #44 and #48 to fix it but I've got no idea what to do now. Does anyone have a clue? I've reinstalled git a few times already and I've installed it to run with the cmd but that didn't change anything.

Nevermind! I decided to dig a little further and read every "node.js not working" thread I could and #88 absolutely saved me!


write stream fails to output end tag when piped from read stream

Caused by substack/html-select#16, just logging here.

Any ETA on this?


Please add a command !profiles help

I see there's now a !profiles command, but nobody knows how to use it.  Please add a !profiles help command that documents the options.  Thanks.  :)

Is this message good?
Enable a profile using: !profile enable <name>. Disable a profile: !profile disable <name>. List the enabled profiles: !profile enabled. List all profiles: !profile list.


Characters that cannot be modified in the language text

  petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%'

97beb812a24b43e7adfdd01f2e3313fad06bb5ad


Add use case in Meitu Inc.

Contributing guidelines
Please read our contribution workflow before submitting a pull request.

@shafreeck change  the commit title to to doc: Add use case in Meitu Inc.

@shafreeck also resolve the merge conflict.

@fanminshi Thanks for your suggestions, the typo was fixed, and conflicts were resolved.  I rebased my branch according to upstream and made a force push to keep a clean commit history.

Codecov Report

Merging #7438 into master will decrease coverage by -0.48%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7438      +/-   ##
==========================================
- Coverage   70.89%   70.42%   -0.48%
==========================================
  Files         237      237
  Lines       21226    21226
==========================================
- Hits        15049    14949     -100
- Misses       5055     5140      +85
- Partials     1122     1137      +15

Impacted Files
Coverage Δ

proxy/grpcproxy/register.go
60.71% <0%> (-17.86%)
:x:

mvcc/watchable_store.go
72.72% <0%> (-14.62%)
:x:

pkg/fileutil/purge.go
73.68% <0%> (-7.9%)
:x:

pkg/adt/interval_tree.go
84.12% <0%> (-4.4%)
:x:

mvcc/watcher.go
95.65% <0%> (-4.35%)
:x:

pkg/testutil/recorder.go
66.66% <0%> (-3.71%)
:x:

clientv3/txn.go
96.36% <0%> (-3.64%)
:x:

rafthttp/msgappv2_codec.go
69.56% <0%> (-3.48%)
:x:

clientv3/watch.go
90.33% <0%> (-2.62%)
:x:

lease/leasehttp/http.go
62.59% <0%> (-1.53%)
:x:

... and 7 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 320768b...3fa3d7d. Read the comment docs.

LGTM. Thanks!


500 Unexpected Error for a nonexistent GTM Listener

What did you do?
Call the exists method for a nonexistent GTM Listener.
What did you expect to see?
False
What did you see instead? Under which circumstances?
I got a 500 Unexpected Error.
Text: u'{"code":500,"message":"Specified listener does not exist","errorStack":[]}'

Steps to reproduce the issue
>>> from f5.bigip import ManagementRoot
>>> mgmt = ManagementRoot("x.x.x.x", "admin", "admin")

>>> print mgmt.tm.gtm.listeners.listener.exists(name='my_listener', partition='Common')
/home/erjac/ansible/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/erjac/ansible/venv/local/lib/python2.7/site-packages/f5/bigip/resource.py", line 1054, in exists
    session.get(base_uri, **kwargs)
  File "/home/erjac/ansible/venv/local/lib/python2.7/site-packages/icontrol/session.py", line 272, in wrapper
    raise iControlUnexpectedHTTPError(error_message, response=response)
icontrol.exceptions.iControlUnexpectedHTTPError: 500 Unexpected Error: Internal Server Error for uri: https://x.x.x.x:443/mgmt/tm/gtm/listener/~Common~my_listener
Text: u'{"code":500,"message":"Specified listener does not exist","errorStack":[]}'

If the listener is present, the  exists method returns True as expected.
>>> from f5.bigip import ManagementRoot
>>> mgmt = ManagementRoot("x.x.x.x", "admin", "admin")

>>> listener = mgmt.tm.gtm.listeners.listener.create(name='my_listener', partition='Common', address='<IP_ADDRESS>')
/home/erjac/ansible/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
>>> print mgmt.tm.gtm.listeners.listener.exists(name='my_listener', partition='Common')
/home/erjac/ansible/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
True

@erjac77 what version of bigip and f5-sdk is this?

i see it return a
u'{"code":400,"message":"Specified listener does not exist","errorStack":[],"apiError":26214401}'

on 12.1.2. Still not the right code though. It should be returning 404

@caphrim007
bigip: 11.6.0
f5-sdk: 2.2.2

on 12.1.2 this appears to fix it for me.
Adding the following to the class Listener(resource) class to the following file

/home/erjac/ansible/venv/local/lib/python2.7/site-packages/f5/bigip/tm/gtm/listener.py

    def exists(self, **kwargs):
        # This endpoint does not return status 404 if the GET request
        # does not find the resource. On one installation it returned
        # 400, and on another it returned 500
        try:
            super(Listener, self).exists(**kwargs)
        except iControlUnexpectedHTTPError as ex:
            if 'listener does not exist' in str(ex):
                return False
        return True

@erjac77 can you confirm whether this also addresses 11.6.0?

I confirm, it works on 11.6.0.
Thanks again for your prompt response!

@erjac77 i will commit this fix in a moment. i'll close the issue when that happens


notebook 6.5.0

Recipe directory diff between current master and this update:
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 645b98b..3a616eb 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -1,5 +1,5 @@
 {% set name = "notebook" %}
-{% set version = "6.4.12" %}
+{% set version = "6.5.0" %}

 package:
   name: {{ name|lower }}
@@ -7,7 +7,7 @@ package:

 source:
   url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/notebook-{{ version }}.tar.gz
-  sha256: 6268c9ec9048cff7a45405c990c29ac9ca40b0bc3ec29263d218c5e01f2b4e86
+  sha256: c5b747b047aa934da5f8f52d3b7219e7338684890d8dd6d9cac5d67d4513f924

 build:
   number: 0

Recipe directory diff between current conda-forge/master and this update
Feedstock not rebased against upstream

Links:

Concourse pipeline
Update branch
Anaconda Recipes feedstock
None feedstock
PyPI
Diff between upstream and feature branch
Diff between origin and feature branch

Updating the recipe:
If the recipe needs additional modification the update branch can be modified.Note that the PR diffs are not updated with these changes.
git clone -b 6.5.0 git@github.com:AnacondaRecipes/notebook-feedstock.git

or
git clone -b 6.5.0 https://github.com/AnacondaRecipes/notebook-feedstock.git

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_88j5vzhdw5/clone/recipe/meta.yaml:80: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_88j5vzhdw5/clone/recipe/meta.yaml:80: missing_description: The recipe is missing a description
Warnings were found


builder, makefile, lint: Introduce golangci-lint

What this PR does / why we need it:
Introduce golangci-lint [1] into the builder image in order to start
using a linter to detect common mistakes and attempt to place some
order in the code.
Include golangci-lint in the makefile lint target and a basic
configuration file.
At this stage, it processes only tests/libvmi folder.
[1] https://github.com/golangci/golangci-lint
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/test pull-kubevirt-code-lint

It seems there is a need to adjust the job at project-infra to support running DinD.
Thank you @enp0s3 for the finding.

Now that the job got updated, lets try again:
/test pull-kubevirt-code-lint

/test pull-kubevirt-code-lint

I'm interested in this PR but I get the feeling it will spam my email until you get it right...
I will un-follow the PR.
Please add me back once the linters are executed.
Good luck.

/uncc

/test pull-kubevirt-code-lint
Re-running the job to get logs on the cluster

Lets try again:
/test pull-kubevirt-code-lint

/test pull-kubevirt-code-lint

It finally worked!!! Huray :)
I will adjust the configuration now so it will not shout on things I think are ok, but I think I should not fix the other things in this PR.
I will wait others opinion on this one.
Keeping the PR in draft so it will not trigger the other jobs.

/test pull-kubevirt-code-lint

/sig code-quality
/cc @maiqueb , @dankenigsberg , @enp0s3

/lgtm

/test  pull-kubevirt-e2e-kind-1.22-sriov

/cc

Looking at the artifacts:

I do not see dmesg logs about the mac change at all now.
The mac address does appear in another VF, but it is not the one plugged into the pod/guest.
I cannot see any SR-IOV CNI logs, nor something about kubelet in the journal.

/test pull-kubevirt-e2e-kind-1.22-sriov

@EdDev We don't have the sriov-cni logs yet, once https://github.com/kubevirt/kubevirt/pull/7931 will get in we can export Multus logs (which include the sriov-cni logs) to artifacts for debugging.
In this case, it seems that the custom MAC address is not applied (on time?) causing the interface to end up with unexpected MAC and eventually the test to fail.

/approve


.NET Native optimization breaks an application

In one of the applications I've encountered an error associated with the optimization of code.
I tried to repeat this behavior in the test application. The test application is available on GitHub: https://github.com/altk/NullableError
The error occurs only when you compile using .NET Native, but not everywhere. Error reproduces on few PCs.
The application code is very simple. It must prints to the console:
-------------- ELSE --------------
-------------- SUCCESS --------------
But by reason of the optimization it prints:
-------------- ELSE --------------
-------------- FAIL --------------
#define DEBUG
using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace NullableError
{
    sealed partial class App
    {
        private readonly Dictionary<String, String> _dictionary = new Dictionary<String, String>();

        public App()
        {
            InitializeComponent();

            Execute();
            Exit();
        }

        private Int64? NullableInt64
        {
            get
            {
                var resultString = this[nameof(NullableInt64)];
                return String.IsNullOrEmpty(resultString) ? default(Int64?) : Int64.Parse(resultString);
            }
            //-----FIX VARIANT------
            //UNCOMMENT NEXT LINE TO FIX
            //[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoOptimization)]
            set
            {
                //-----FIX VARIANT------
                //REPLACE WITH
                //this[nameof(NullableInt64)] = value != null ? value.Value.ToString() : null;
                this[nameof(NullableInt64)] = value?.ToString();
            }
        }

        private Int64? AnotherNullableInt64
        {
            get
            {
                var resultString = this[nameof(AnotherNullableInt64)];
                return String.IsNullOrEmpty(resultString) ? default(Int64?) : Int64.Parse(resultString);
            }
            set { this[nameof(AnotherNullableInt64)] = value?.ToString(); }
        }

        private void Execute()
        {
            //-----FIX VARIANT------
            //REPLACE WITH IF-ELSE WITH
            //NullableInt64 = (DateTimeOffset.Now - DateTimeOffset.MinValue).TotalMilliseconds < 0 ? (Int64?) 125 : null;
            if ((DateTimeOffset.Now - DateTimeOffset.MinValue).TotalMilliseconds < 0)
            {
                Debug.WriteLine("-------------- IF --------------");
                NullableInt64 = 125;
            }
            else
            {
                Debug.WriteLine("-------------- ELSE --------------");
                NullableInt64 = null;
            }

            //-----FIX VARIANT------
            //REPLACE WITH
            //AnotherNullableInt64 = 0;
            AnotherNullableInt64 = null;

            Debug.WriteLine(String.Format("-------------- {0} --------------", this[nameof(NullableInt64)] == "0" ? "FAIL" : "SUCCESS"));
        }

        private String this[String key]
        {
            get
            {
                String result;
                return _dictionary.TryGetValue(key, out result) ? result : null;
            }
            set { _dictionary[key] = value; }
        }
    }
}

@altk Could you please open this bug using http://connect.microsoft.com/ instead?
We are only tracking issues that reproduce on CoreRT here.

cc @MattWhilden

@altk Thanks for the bug report. Looks like something we'll need our optimizer folks to look in to.
This repo is only for the ahead of time compiler work happening for .NET CLI ("CoreRT"). We're happy to support you with the UWP ahead of time compiler (".NET Native") if you send us a mail at<EMAIL_ADDRESS>I'm closing the issue here and look forward to following up with you via email.

I've reproduced this issue and set it to some folks to get looked at. Sounds like you're able to unblock yourself with one of the various workarounds but if you need further assistance please feel free to send us a mail.
Again, really appreciate the bug report!

There is a bug where certain optimization were not properly handling the Nullable here. This will be fixed in Update 2 for .NET Native.

@jkotas i already opened bug at http://connect.microsoft.com.
https://connect.microsoft.com/VisualStudio/feedback/details/2164313/net-native-optimization-breaks-an-application#
I opened issue here, because the employee Microsoft Russia recommended to open bug here.
@MattWhilden great news, thank you!
In my code I workaround problem, so I don't need support.

No worries. I'll take care of the paper trail. Feel free to mail us directly for .NET Native issues in the future. Love getting good bug reports!


Not sure how to use the GraphQL Playground through this package

I've installed the addon and tried to use the graphql playground functionality but unfortnunately I am not sure how. Can you please give a more detailed instructions?
I've run the Graphql Playground: Create config command which opens a file which i'm not sure what to put in there. I've tried putting
{
"schema": "http://localhost:8080/graphql"
}
Which is the endpoint that i have exposed my local graphql schema but nothing happens.
Can you please specifically show how to setup and run the graphql playground? Thanks a lot in advance!

Try rick and morty 👉 https://rickandmortyapi.com/graphql
The plugin depends on LSP-graphql which internally uses https://the-guild.dev/graphql/config/docs


⚠ SolarOscp has degraded performance

In 2a13dfc, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 402 ms

Resolved: SolarOscp performance has improved in ad0692d after 12 minutes.


Bootiso: add the option to compress using lz4

This might need to wait for https://github.com/osbuild/osbuild/pull/949 (but that's not mandatory), For now I'm keeping the commits from that PR in it to have some logs in composer's CI

It might make sense to split this out so we can land it before the logs rework, just in case that requires more review.


Fix event linking to a disconnected VM

When linking events to a VM we first try [ems_id, ems_ref] which fails
to find a disconnected VM because the ems_id is nullified.  Next we try
by uid_ems but no one was setting the field that we were using so this
standardizes on an event key :vm_uid_ems (similar to :vm_location) which
can be set by the EventParser to allow events to be connected to VMs
after they are disconnected.
Depends:

[x] https://github.com/ManageIQ/vmware_web_service/pull/32
[x] https://github.com/ManageIQ/manageiq-providers-vmware/pull/179

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1538996

gaprindashvili/yes ?


Registers for 80MHz Koolertron - 23 is 13

Hey Kristoff,
Great job with this code. Love your clean code style.
I have been using your code with a Koolertron 30 MHz and a SeeSil 60 MHz generator and just started testing with a 80MHz Koolertron, but the command registers are off.
It looks like for the 80MHZ generator, read Frequency register 23 is 13.
I was wondering how/where you got the register list. I am going to test and see if there all off by 10.
Thanks for sharing your code,
Joe
Update:
Kristoff, yes it looks like for the 80MHz unit all of the command registers are shifted down by 10, even parameters like ACTION and MODE. The register values under 10 look to be the same.
still testing. I will post any anomalies if I find them.
Thanks again.

Hi Joe,
It has been a long time, but as far as I remember, the 'trick' I used is that I ran the windows application to control the JDS6600 with wine on linux and then used a tool to snoop the traffic that went over the serial port.
A tool like 'socat' should be able to intercept / sniff traffic on serial ports.
Another trick is to direct the traffic to a USB-over-serial device and use a tool like usbsnoop or wireshark to intercept the traffic on the USB bus.


feat(rpc): implement the get_address_tx_ids RPC method

Motivation
This PR adds a state query function and RPC method for the get_address_tx_ids RPC in ticket #3147.
Specifications
RPC:

https://zcash.github.io/rpc/getaddresstxids.html

But only the arguments and fields in ticket #3147.
Designs
There are a few tricky parts of this PR:

making sure the tx IDs from the finalized state are consistent with each other
combining the finalized and non-finalized tx IDs

We could try to hold a database read snapshot, but that could cause locking issues. Instead, I just retry a few times if the tx IDs might have changed. (If the query fails for this reason, Zebra is still syncing, and the results would probably be wrong anyway.)
But this is easier than the previous PR, because we can just combine the tx IDs, as long as there is chain overlap, or as long as we are querying a single address.
Solution

Add the get_address_tx_ids RPC method

Add a query function for address tx IDs
Add a query method for finalized tx IDs
Combine tx IDs in a way that makes sure they are consistent

Retry interrupted finalized tx ID queries

Closes #3147.
Review
Anyone can review this PR, it's not urgent.
This PR is based on PR  #4111.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work
Do a bunch of RPC testing:

TODO: open tickets for snapshot and zcashd comparison tests

Full validation sync failed due to #3991:
https://github.com/ZcashFoundation/zebra/runs/6018643300?check_suite_focus=true#step:9:5643


Arbitrary attribute support

Summary
The attributes are just stored as a JSON object in order to support arbitrary object structure. It will be up to the exporter to do more sophisticated processing of this object if/when there are cases where that is necessary.
At first with this task I went down the road of trying to come up with more elaborate deserialization, AKA attempting to deserialize things into their actual types when possible. I later came to the conclusion that that gave little-to-no-benefit at the cost of complexity and so this approach made more sense. Please let me know if you think I missed the mark and there's a better way to do this.
To Test

I pushed up a test branch arbitrary_attributes_test off of this one that has code to test that this does what it should.
Pull that branch and run Synthea like: ./run_synthea -p 10 -a 51-51 -m "EXM130-r4*"
You should see the arbitrary attribute JSON Object printed to the console for each patient that has it. (Note that you will not find it in the actual exported FHIR patient yet)
If you want to try modifying the additional_attributes object, it should work with any arbitrary JSON object.

I noticed that additionalAttributes is not set on any HealthRecord entry in the Onset states (Condition, allergy). I imagine we do want this? It could be set on the entry variable in both of those states respectively.

Good call @mgramigna. I missed those because they don't have a corresponding Entry subclass (instead they just use the plain Entry class).


chore(covid-19-policy): add health declaration form link

Types of changes

[ ] Bugfix
[ ] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[x] Other (add link)

Description
Add the health declaration link on the COVID-19 guidelines page. It could possibly accelerate the registration process.
Steps to Test This Pull Request
Steps to reproduce the behavior:

Go to <host>/<lang>/covid-19/guidelines/

Expected behavior
The viewers should be able to link the form
Related Issue
N/A

Codecov Report

Merging #936 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #936      +/-   ##
==========================================
+ Coverage   75.00%   75.04%   +0.03%
==========================================
  Files          80       80
  Lines        3081     3081
==========================================
+ Hits         2311     2312       +1
+ Misses        770      769       -1

Impacted Files
Coverage Δ

.../proposals/management/commands/recent_proposals.py
98.76% <0.00%> (+1.23%)
:arrow_up:

Continue to review full report at Codecov.

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


Audience Always None

Hello 👋 ,
I am trying to extract audience from JwtClaim in order to assert value in some test cases. I have run into the issue where audience (and id too actually) always return None.
Is there anything I am missing or is this a bug?
import java.time.Clock

import pdi.jwt._

implicit val clock: Clock = Clock.systemUTC()

val claim = JwtClaim(
  issuer = Some("issuer"),
  subject = Some("subject"),
  audience = Some(Set("audience"))
).withContent("""{}""")

val secretKey = "test"

val token = Jwt.encode(claim, secretKey, JwtAlgorithm.HS512)

val raw = Jwt.decodeRaw(token, secretKey, Seq(JwtAlgorithm.HS512))

println(raw)

val decoded =
  Jwt.decode(token, secretKey, Seq(JwtAlgorithm.HS512))

println(decoded.get.audience)

Might be worth adding that:
println(decoded.get.issuer)
println(decoded.get.audience)

returns:
Some(issuer)
None

It looks like you are not using a JSON library. The pure Scala implementation as some severe limitations as I am not planning to re-do a JSON library. Could you try to use one?

@pauldijou Makes sense! Thanks for quick reply.


No project directory on Android

I am calling the following on Android
directories::ProjectDirs::from("me", "nikl", "game");

and get back None. The package identifier is me.nikl.game and the app is running on a real device with Android 12.
Is there anything I need to setup or configure to get a proper project directory on Android?

Hi @NiklasEi,
that should work, can you check whether BaseDirs and UserDirs also return None?

Hey @soc,
I just checked and yes, both BaseDirs and UserDirs return None. The same goes for dirs::home_dir().
I am testing this on a galaxy S10+ if that's of any help.

I suspect that home_dir is the culprit and everything else are just the result of that returning None.
Does Android have any sensible definition of a home directory?
Looking at the implementation, https://github.com/dirs-dev/dirs-sys-rs/blob/main/src/lib.rs#L33, we rely on the environment variable and do not offer a fallback. Can you check whether the env var is set on Android?

Running adb shell with my device connected via USB followed by echo $HOME I get / back, which is not the correct directory for an app to write to or read from.
It seems that the intended way of getting the correct directory is calling Context#getFilesDir, which according to the android stackexchange can point to /data/data/<app>/files or /data/users/<n>/<app>/files depending on your setup.
I tried some paths in my app and managed to write and read from /data/data/me.nikl.game/files :partying_face:

I might have found something with env variables: https://cs.android.com/android/platform/superproject/+/refs/heads/master:frameworks/base/core/java/android/os/Environment.java;drc=a3bb1640c5a3422645b8493ee0bb00eab4266c32;l=98
The env variable ANDROID_DATA is set to /data on my device. It still might be an issue to hard code the /data/<identifier>/files in case we should be using /users/<n>/<app>/files instead.
There seem to be multiple possible directories for a given application and I cannot see another way to get the intended one from a simple environment variable. See https://cs.android.com/android/platform/superproject/+/refs/heads/master:frameworks/base/core/java/android/app/ContextImpl.java;l=2950

I ended up using the actual app context via android-activity. Interestingly, this returns /data/user/0/me.nikl.game/files and not /data/data/me.nikl.game/files (which also works though).

I think it would make sense to generally use Android-level APIs in the implementation instead of trying to pretend that Android is just another Linux as dirs or std does ... :thinking:

I might have found something with env variables: cs.android.com/android/platform/superproject/+/refs/heads/master:frameworks/base/core/java/android/os/Environment.java;drc=a3bb1640c5a3422645b8493ee0bb00eab4266c32;l=98 The env variable ANDROID_DATA is set to /data on my device. It still might be an issue to hard code the /data/<identifier>/files in case we should be using /users/<n>/<identifier>/files instead. I haven't understood in what scenario the second path is chosen.
There seem to be multiple possible directories for a given application and I cannot see another way to get the intended one from a simple environment variable. See cs.android.com/android/platform/superproject/+/refs/heads/master:frameworks/base/core/java/android/app/ContextImpl.java;l=2950

iirc some android phones offer multi-user functionality and this is why they have this structure

@NiklasEi here you can see how the tauri project looks up directories on Android https://github.com/tauri-apps/tauri/blob/48b1fd74b1df5c3628d00aaae9371dd094466fe5/core/tauri/src/path/android.rs

I would recommend against implementing this in directories. It will require FFI calls to JNI, at a minimum, and will significantly increase the complexity of the library. Android is definitely not just another linux, certainly not in terms of userspace, and definitely doesn't implement the XDG Base Directories spec.
Another point against this is that the actual location that an app can write to on Android is an implementation detail. I'm pretty sure it's not guaranteed anywhere, so it can be altered by the device vendor. Android fragmentation is a massive problem and it's not a maintenance burden that directories should take on, IMHO.
Trying to bypass the Android APIs to get this implemented in directories is just asking for trouble. Google breaks things like this on each new version of Android, and it's painful enough if you are using the offical APIs!

I am also against adding complexity via FFIs.
It's probably better to have something that works on a number of devices than none.
What do you think about trying to detect write access heuristically?
/data/user/0/me.nikl.game/files and not /data/data/me.nikl.game/files (which also works though).

Wouldn't /data/data simply be a physical link or a symbolic link to /data/user/0/.... which makes it possible to simplify usage when a person connects in an authorized manner on a android? I haven't checked.
We could start from the existence of ANDROID_DATA:

choose ANDROID_DATA/data or ANDROID_DATA/user as root by simply reading the existence of these folders.

2.1 if "user" loop over the  in descending order
2.1.1 Check the existence of a folder "me.nickl.game"/file/.directory-rs/ or try to create it? -> OK = path found
2.2 if not "data", Check the existence of a folder "me.nickl.game"/file/.directory-rs or create it? -> OK = path found
This location could then serve as the root for the lib?
What do you think ? Do you see any contraindication?

I see ANDROID_STORAGE and EXTERNAL_STORAGE we can use too.

I have done a small piece of code to review: here


Bob's network joining problems

Bob is struggling to get it to connect to his network.
Possible causes:
Watchdog timer - likely network scan task stuck in a loop
Mutex locks relating to system time - main clock process vs nimble
WEP
Network characteristic over-subscribing to network events

Another possible cause might be hidden SSIDs

We can safely discount WEP. Did a bunch of tests on it and it was fine.

Closing this as I presume it's fine now.


KAFKA-15853: Move OffsetConfig to group-coordinator module

blocker for #15158
Committer Checklist (excluded from commit message)

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

@mimaison
@ijuma
This PR are ready for merge for me. Please, take a look.

@dajac Can you confirm if org.apache.kafka.coordinator.group is the best place to put the OffsetConfig class?

That seems fine. We also have GroupCoordinatorConfig. I hope that we can eventually consolidate them but we can look into this afterwards. We already have a Jira for reworking the group coordinator configs: https://issues.apache.org/jira/browse/KAFKA-15089.


Convert script as a console entry point

I want to do
pip install ansys.mapdl.core
convert-to-pymapdl mapdl_input.inp

See flit - scripts section.


unregister command

Some way to unregister commands pls.

The BukkitFrame or BungeeFrame already has the method called unregisterCommand, no need to add extra methods.


Build builder with 'build' instead of TryInto

This is a little bit of cleanup to be more consistent in our (non)use of TryInto.
No functional change, JMM

This seems like a fairly reasonable use of TryInto, I'm not entirely sure why it needs to be fixed?

Yea, this is mostly about semantics and Rust idiom. I think this has come up before, but TryFrom is specifically about conversions between types that may fail in specific, controlled circumstances. The docs do a better job than I of explaining: http://doc.rust-lang.org/1.72.1/std/convert/trait.TryFrom.html


ClusterLoader2 assumes ssh service should be available

What happened?
In our cluster, ssh is not available. However, clusterloader2/pkg/measurement/util/ssh.go:88 assumes every master should own an available ssh service.
Errors occurred as follow,
[root@Betula-L kubernetes]# ./clusterloader --kubeconfig="${HOME}/.kube/config" --testconfig=testing/density/config.yaml --provider=kubemark --masterip=<IP_ADDRESS> --mastername=localhost
E0201 11:30:17.948014   11090 test_metrics.go:127] TestMetrics: [unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider kubemark: 'error reading SSH key /root/.ssh/google_compute_engine: 'open /root/.ssh/google_compute_engine: no such file or directory''"}]
E0201 11:30:17.948183   11090 kubemark.go:50] error when trying to SSH to master machine. Skipping probe. error getting signer for provider kubemark: 'error reading SSH key /root/.ssh/google_compute_engine: 'open /root/.ssh/google_compute_engine: no such file or directory''

What you expected to happen:
We may run clusterloader on master without ssh. If parameter masterip==localhost, clusterloader could execute func execLocal()  rather than func SSH()

The requirement for ssh is limiting (I agree), but it should break your test.
If anything is failing due to that reason, then we should fix that.
Otherwise (if these are only error lines in the log file), you can probably ignore them.
@krzysied

I think it's hard to be ignore. i can't acquire most of results if errors occurred.

The most crucial one (e.g. those validating SLOs, etc.) should be available.
Those "auxiliary" ones (like profiles, etc.) won't be, which is kind of expected.
I guess I'm trying to set expectations right.
Also, running tests on your master machine is really bad idea due to resource consumption of the tests itself.

@wojtek-t , could provider kubemark acquire SSH_KEY_FILE from env KUBEMARK_SSH_KEY rather than constant string google_compute_engine?
case "kubemark":
  keyfile = os.Getenv("KUBEMARK_SSH_KEY")
  if len(keyfile) == 0 {
  	keyfile = "google_compute_engine"
  }

https://github.com/kubernetes/perf-tests/blob/6c738e30dc1277abf7ae8c069a6d3b62b78d1703/clusterloader2/pkg/measurement/util/ssh.go#L85

Why not those ssh key configs use the same environment variable, such as "CLUSTERLOAD_SSH_KEY".

@wojtek-t , could provider kubemark acquire SSH_KEY_FILE from env KUBEMARK_SSH_KEY rather than constant string google_compute_engine?

SGTM - feel free to change that, I'm happy to review this.


Link tables by terminals, not initials

[x] make initials deterministic, not random
[x] make cross-table arguments compute terminal quotients instead of initial quotients
[x] only compute one terminal quotient, which is a verifier-randomized non-linear sum of all cross-table links (#52)
[x] rename running sum to running evaluation (#57)
[x] merge evaluation arguments between processor and hash coprocessor (#58)
[x] drop unnecessary row-compression columns (#45)

It might make sense to incorporate #71 in this PR also. Let me know what you think.


Background job to pull jobs from removes older saved jobs

There is a background job that runs on a heroku scheduler that calls the rake task rake jobby_job:process_job_sites. This basically removes that are a month old and pulls them from the job boards. The removal of older postings is done to keep the database from getting very large.
To Reproduce
Steps to reproduce the behavior:

Run $ rake jobby_job:process_job_sites
Create a user and login
Scroll down to the last jobs and save some
Run $ rake jobby_job:clear_job_sites
Click on My Jobs and the jobs are gone.

Expected behavior
My Jobs should not be removed.
Additional context
I think the best option is to change how jobs are saved. Maybe updating the saved_jobs table to store the job posting information instead of the reference to the id of the job post. This way all the data is still saved and can be queried against. Then updating the My Jobs page to pull job postings from the information saved in saved_jobs.

Hey @willywos
I'll take it up
Will fix it over the weekend

Thanks @neeraj-joshi01.
Let me know if you have any questions or need any clarifications.

@willywos Have submitted the PR: #23
I have added the is_saved column to job posting and have added a check to clear only unsaved jobs in the rake task rake jobby_job:clear_job_sites

Hey @neeraj-joshi01 thanks for taking a look at this one. I'm unsure of this approach though. I had a couple of questions.

If another user saves a job, does that mean that the job is going to show up for all users even after they are older than a month because it's been flagged as saved for one user?

The alternative to this approach, the one I mentioned above in the additional context. What are you thoughts on doing that instead? Could add some columns to the saved jobs table and basically make a copy of it that's associated to the user. Then would just have to update the my jobs page to pull from that location instead of job postings.

Thanks

@neeraj-joshi01 ok well lets try it out and see how it goes.


Make chat more intuitive

Makes more sense for incoming messages to rise from the input box.

screenshot?

hard to screenshot without a recording;
previously, when you talked in that chat, the messages would come from the top of the box and push the others downwards.
This changes it so that new messages are added down the bottom and they push the old ones up.

great work.

Seems like you're deleting the previous messages that way? What about adding a y-overflow so people can scroll up and down the messages, and start deleting the previous once a limit of, say, 100 messages is hit?

Ooops sorry for closing it, missclicked the button ;P

i think that this is more economic.

I'm working on this.

Great @ZeHaxor ! Thank you so much
Please add yourself as a contributor in package.json

And please make a new pull request for the next fix (the scroll up feature)


test CL_QUEUE_ARRAY_PROPERTIES query

This is an updated and rebased version of #869.
It starts with the changes from @gwawiork, addresses a few review comments, fixes a few bugs, and aligns similar queries for CL_SAMPLER_PROPERTIES and CL_MEM_PROPERTIES to make the tests consistent and easier to follow.

@kpet I think I've addressed all review comments - please take a look.  Thanks!


error: nan y-range delta

Could you explain what this means?
Grafana can read the field - float64.
code is here:
https://github.com/5k3105/genchart

It ran correctly last night once for some reason but checking this morning, it's not working.

nan range delta means, for a given chart, either the x or y range has a x/0 difference between the min and max values. in order to draw a chart, you need the minimum and maximum to be different (otherwise it's a one dimensional line).
my sense looking at your chart is that there is a very very small difference (approaching zero) between the min and max of a single series.
are you mapping that series to the secondary y-axis?

 It's sitting at 24.6 for the time range, so it's a flat line. The y-range check doesn't like it I guess. Is there a way to fix this?
Thanks

I'm also having this issue. In some cases my data would print a flat line, but instead go-chart does not print it, showing a white image. I also get the 'not a number y-range delta' error.
Is there a workaround to draw a chart with no delta between the values?

@danielbk18 the workaround is to manually set a y-axis range (usually continuous) with a small delta above and below the constant value. i can have the range estimator do this automatically, as well, but for now a manual range is the easiest way to get it to draw.

Hi, thanks, but still I can't make it work.
I've tried using the 'ContinuousRange' as my YAxis range.
`graph.YAxis.Range = chart.ContinuousRange{Max: val[0] + 2, Min: val[0] - 2}`

But then this gives me the error `cannot use chart.ContinuousRange literal (type chart.ContinuousRange) as type chart.Range in assignment:
    chart.ContinuousRange does not implement chart.Range (SetDomain method has pointer receiver)`

I went to your code in continous_range.go to try changing it, removing the pointer in the object method declaration:
`func (r *ContinuousRange) SetDomain(domain int) {`  to
`func (r ContinuousRange) SetDomain(domain int) {`

Obviously I should'nt be doing that, since it applies also to the SetMin and SetMax funcs, but I tried it anyway (also removing the pointer from these functions). So I was able to compile and run, but this time I couldn't print any graphics at all (even the ones working before) with the error

zero x-range delta; there needs to be at least (2) values
I've also tried manually setting the XAxis range with max and min values of the series, but the error persisted. I didn't try to implement my own 'Range' because it would probably get into the same pointer problem.
Maybe I just attacked it from the wrong perspective. Suggestions?

@wcharczuk Thanks! It's working now.

Any news on this? How can I render a flat line with a chart.TimeSeries? Is manually adding a value the only solution to this?

My code is like:
graph := chart.Chart{
	Width:  1480,
	Height: 720,
	DPI:    110,

	Background: chart.Style{
		Padding: chart.Box{
			Top:  20,
			Left: 270,
		},
	},

	XAxis: chart.XAxis{
		Name:      "time",
		NameStyle: chart.StyleShow(),
		Style:     chart.StyleShow(),

		GridMajorStyle: chart.Style{
			Show:        true,
			StrokeColor: chart.ColorAlternateGray,
			StrokeWidth: 1.0,
		},

		ValueFormatter: chart.TimeMinuteValueFormatter,
	},

	YAxis: chart.YAxis{
		Name:      leftaxis,
		NameStyle: chart.StyleShow(),
		Style:     chart.StyleShow(),

		Range: &chart.ContinuousRange{
			Min: min - 0.25,
			Max: max + 0.25,
		},
	},

	Series: charts,
}

yet it still does not render, all values are 0, and when compiled does not produce an error -- it produces a 5k file that will not display.

Seems to fix this
if miny == maxy {
	miny -= 0.05
	maxy += 0.05
}

(chart.go):
			} else if vp, isValuesProvider := s.(ValuesProvider); isValuesProvider {
				seriesLength := vp.Len()
				for index := 0; index < seriesLength; index++ {
					vx, vy := vp.GetValues(index)

					minx = math.Min(minx, vx)
					maxx = math.Max(maxx, vx)

					if seriesAxis == YAxisPrimary {
						miny = math.Min(miny, vy)
						maxy = math.Max(maxy, vy)

						if miny == maxy {
							miny -= 0.05
							maxy += 0.05
						}

					} else if seriesAxis == YAxisSecondary {
						minya = math.Min(minya, vy)
						maxya = math.Max(maxya, vy)

						if minya == maxya {
							minya -= 0.05
							maxya += 0.05
						}

						seriesMappedToSecondaryAxis = true
					}
				}
			}

why the range estimator can not deal with a flat line?


Added CONTRIBUTING.md file and defined contribution guidelines

This pr adds the CONTRIBUTING.md file to the project,

@shashankmcode Please don't make PR without being assigned the issue.

my bad.
could you assign this to me? @singodiyashubham87

@shashankmcode This one is already assigned to someone, you can create your own issues too or can comment on other issues to take them up.


CompileAvaloniaXamlTask Bug

I created a Transition with IBrush like this Transition<IBrush> to my controls library, in the avalonia previewer runs okay, but when I compile that give me an error.
The screenshot is this:

And It gives me this error:
error MSB4018: System.ArgumentException: Member 'Avalonia.AvaloniaProperty' is declared in another module and needs to be imported

Kinda need the source code to reproduce, screenshot isn't enough.

Kinda need the source code to reproduce, screenshot isn't enough.

https://github.com/PieroCastillo/Aura.UI/blob/master/src/Aura.UI/TabControlStyles.xaml
the source link is this

Why close this issue?