Buttons for copy login or password to clipboard [feature request]

It shoud be very useful to have buttons for copy login or password to clipboard in list and\or in card.
Without this the app is quite unuseful on mobile devices.

To copy login, or password, or any field, click its title. No buttons will be added.
It's not so clear for now, that's why I've planned help/tips task, so the user will see a tip "You can click me to copy" the first time he opens the app.
On mobile devices, it can be buggy for now (I've tested only iOS Safari), as mobile devices have very basic support, mobile bugfixes are planned for Jan'16.

To copy password from list, select entry ant hit Cmd/Ctrl-C.

ok. if you want to test something on Windows 10 Mobile with Edge browser - just say me!

Yes, thanks, I'm planning to test on iOS, Android and Windows Mobile. Currently I have no Win devices. I'm going to test this in emulator first and hope it will work but real device of course can have some issues...


ci: flaky dns-etc-resolv-conf test

Flaky test run: https://github.com/firezone/firezone/actions/runs/7926850764/job/21642509280?pr=3663
After restart: https://github.com/firezone/firezone/actions/runs/7926850764/job/21642630025?pr=3663

I think I know what's happening here. It only happens for relayed connections.
The following sequence of events causes the test to pass:

API starts up first
relay starts up, receives init from portal with credentials
client / gateway start up, receive relay credentials to connect with, and TURN binding succeeds.

The following sequence of event causes the test to fail:

API starts up first
relay starts up
client / gateway starts up, receives relay credentials
relay restarts
client / gateway have wrong TURN credentials and cannot allocate

Because the client and gateway cannot request new TURN credentials from the portal, any time we restart the relay after the client or gateway start, this test will fail.
I can refactor the test to enforce the correct start order, but the real issue here seems to be that restarting the Relay will break all connected clients relying on TURN to communicate until they themselves are restarted, correct?
I think this is an issue we've discussed before, curious if it's been solved if I have this wrong.
cc @AndrewDryga @thomaseizinger

Actually, yeah, I think this is the same bug customers reported

It's strange because it looks like what's happening is that those tests aren't being forced through the relay, but TURN allocation failures look to be preventing any further communication, even using non-relay candidates.

@AndrewDryga Does the portal broadcast new TURN credentials to connected clients if a Relay joins?

@AndrewDryga Does the portal broadcast new TURN credentials to connected clients if a Relay joins?

No but in snownet, we share an allocation across all connections and will update it upon every new connection that we make.

hm I couldn't get it to replicate with those steps. I'll work on something else for now since #3671 is open

Yeah I could very well be wrong here. I'm adding some more tests to validate this and other hypotheses.


Not able to launch

Ubuntu 18.04
Not able to launch app

+1

+1

Probably the same issue: https://github.com/klaussinani/tusk/pull/260


[881] Fixed dead persona

Context
Dead persona
Changes proposed in this pull request
Easter is still sometime away, performing dark magic instead
Guidance to review
https://rtt-review-pr-402.herokuapp.com/personas
It broke all the other review apps

Let's not divert too far from the current pattern. I'd suggest this:

Let's not divert too far from the current pattern. I'd suggest this:

Let's not divert too far from the current pattern. I'd suggest this, although it still tells us nothing about what a sys admins access means.
EDIT: Updating this to remove the word 'system'

@jesseyuen - @edwardhorsford  was quite keen the avoid adminstrator for this role as it might clash with something we want to use in the future for users. Probably not 'a biggy' here though.

Let's not divert too far from the current pattern. I'd suggest this, although it still tells us nothing about what a sys admins access means.
EDIT: Updating this to remove the word 'system'

@jesseyuen - @edwardhorsford  was quite keen the avoid adminstrator for this role as it might clash with something we want to use in the future for users. Probably not 'a biggy' here though.

 Persona is broken

 Persona is broken

Let's not divert too far from the current pattern. I'd suggest this, although it still tells us nothing about what a sys admins access means.
EDIT: Updating this to remove the word 'system'

@jesseyuen - @edwardhorsford was quite keen the avoid adminstrator for this role as it might clash with something we want to use in the future for users. Probably not 'a biggy' here though.

Agreed, it's a bit ambiguous. Let's review roles/names etc sometime soon?

Let's not divert too far from the current pattern. I'd suggest this, although it still tells us nothing about what a sys admins access means.
EDIT: Updating this to remove the word 'system'

@jesseyuen - @edwardhorsford was quite keen the avoid adminstrator for this role as it might clash with something we want to use in the future for users. Probably not 'a biggy' here though.

Agreed, it's a bit ambiguous. Let's review roles/names etc sometime soon?


OCM-2683 | feat: include policies,namespace,name,in-use when listing …

…operator roles

SGTM, could you include an example output to help others in checking how it is now?

@gdbranco - Here is the current output

/lgtm


Some xwayland applications seem to have broken dragging functionality

STEPS TO REPRODUCE:

Open Ardour, create a project, and drag a plugin in a track mixer
Open Yoshimi, attempt to adjust a knob

EXPECTED OUTCOME:

Ardour's plugin is dragged without issue
Yoshimi's knobs are adjusted without issue

NOTED OUTCOME:

Ardour's plugin seems to gain, and then lose focus, resetting the position of the plugin
Yoshimi's knobs seem to gain, and then lose focus, leading to a very small adjustment of the knob

possibly related to #1120 and #1083

make sure you're on -git
find the class of the window that is opened when you drag
use the nofocus rule on it
should fix it.
For finding the class: check the log, and search for matching

The window class of the draggable plugin seems to be the same as Ardour's window class. When applying the nofocus rule, it unfocuses all Ardour windows, though the plugin drags correctly since the ardour window spawned before the rule was made.

try matching with v2 then, adding a title and possibly a floating: param

I was able to solve my problem with ardour by also including the title of the plugin window. The yoshimi knob however had a window class of null so a rule could not be made for that.

This fixes the issue but if the windowrule is active before opening Ardour, the window can't be interacted with.

yeah same, for me its WebStorm though (jetbrains)

I have solved this with what I consider a fairly elegant window rule.
windowrulev2=noinitialfocus,xwayland:1
tested on both ardour and yoshimi and works without issue. there could potentially be some problems with this rule, but I am satisfied with this.

windowrulev2 = float, class:^(jetbrains-.*),title:^(win.*)
windowrulev2 = noinitialfocus, opacity 0.9 0.9, class:^(jetbrains-.*)

this fix all dragging issues


Map 139/validation all frontend forms

Maybe you made the pull incorrectly, because all forms works correctly.
I can demonstrate.
The only thing I missed was the validation of the comment, but now I will fix it


Where is pcb?

Hello, I really like this open source project, I want to know how to find the PCB? I am in China, I think my manufacturing costs are lower.

Those PCBs were not created by us.  We purchased them from ODrive, so we do not have the design for them. You can find more information about them here: https://odriverobotics.com/

Thank you~


Unknown prop warnings

Got this warning:
warning.js:44Warning: Unknown prop `stylesheet` on <pre> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in pre (created by SyntaxHighlighter)
    in SyntaxHighlighter ...

Oh, version mismatch, my bad.


ninja: error: loading 'build.ninja': No such file or directory (Linux 4.13.0-37-generic , ubuntu 16.04)

The build steps given on front page give me following errors-
git clone --recursive https://github.com/b9org/b9.git
cd Base9
git submodule update --init
ataware@peabody:~/b9/build$ cmake –GNinja –DCMAKE_BUILD_TYPE=Debug ..
-- OMR: The CPU architecture is x86
-- OMR: The OS is linux
-- OMR: The tool configuration is gnu
-- Starting with CMake version 3.11.0-rc3
CMake Warning at third_party/omr/cmake/modules/OmrTracegen.cmake:31 (message):
OMR: No trace root has been set.  Defaulting to
'/home/ataware/b9/build/third_party/omr'
Call Stack (most recent call first):
third_party/omr/CMakeLists.txt:37 (include)
-- SRC = /home/ataware/b9
Creating static library for jitbuilder
jitbuilder_ROOT = /home/ataware/b9/third_party/omr/jitbuilder
-- Set SPP defines to PROD_WITH_ASSUMES;JITTEST;LINUX;_FILE_OFFSET_BITS=64;J9HAMMER;UT_DIRECT_TRACE_REGISTRATION
-- Set SPP defines to PROD_WITH_ASSUMES;JITTEST;LINUX;_FILE_OFFSET_BITS=64;J9HAMMER;UT_DIRECT_TRACE_REGISTRATION
Made jitbuilder into a compiler target,for jitbuilder.
Defines are PROD_WITH_ASSUMES;JITTEST and -DSUPPORTS_THREAD_LOCAL;-DLINUX;-DTR_HOST_X86;-DTR_TARGET_X86;-DTR_HOST_64BIT;-DTR_TARGET_64BIT, arch is x and amd64, compile options are -Wno-write-strings
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ataware/b9/build
ataware@peabody:~/b9/build$ ninja
ninja: error: loading 'build.ninja': No such file or directory

Hi, when I copy and paste your command, I get the same error.  Try deleting the command and manually typing it in.  It could be an issue if you copied the command from a presentation or something, the - (U+002D) gets converted to a long - (U+2013) character, which is different.

It looks like the wrong dash character is baked into README.md.

Should be fixed now! Let me know if it works.  Thanks for reporting!

Thanks for quick help. It did work. Here are last few messages from Ninja command -
[708/737] Building CXX object third_party/omr/jitbuilder/release/CMakeFiles/pow2.dir/src/Pow2.cpp.o
../third_party/omr/jitbuilder/release/src/Pow2.cpp: In function ‘int main(int, char**)’:
../third_party/omr/jitbuilder/release/src/Pow2.cpp:122:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t {aka long int}’ [-Wformat=]
printf("pow2(45) is %lld\n", r);
^
[734/737] Building CXX object b9disassemble/CMakeFiles/b9serializeTest.dir/testModule.cpp.o
In file included from /usr/include/c++/5/backward/strstream:50:0,
from ../b9disassemble/testModule.cpp:9:
/usr/include/c++/5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning
^
[737/737] Linking CXX executable third_party/omr/jitbuilder/release/worklist
ataware@peabody:~/b9/build$ echo $?
0
This is probably a first step for me to look at what OMR is all about.

  The output Hello world! and the return value of an (integer 0) is the important part, it looks like everything is working!
This is a great way to get started with OMR.  Most of the presentation material we have here focuses on using the jitbuilder component of OMR.  We are currently in the process of adding true javascript objects b9 using the OMR garbage collector, and the documentation and tutorials will hopefully come concurrently.


Please set  ELF interpreter so things work, i.e. to output or prefix.

Preferably when I run make install, but even if before that, ok.
I'm giving up a nd trying musl-cross instead of musl-cross-make.
CFLAGS=-static didn't work in my build environment and I'm not sure I want it anyway.
Also putting muslc in /lib didn't work. I didn't debug  it.

the elf interpreter is already set correctly, it is set to /lib/ld-musl-XXXX.so.1
so when you cross-compile for some target, you need to install the interpreter manually to that target in that path (you can grab it out of the cross-compiler prefix)

Not cross compiling. A parallel system on current debian/ubuntu/glibc. I had it working well but I forget how. Trying Alpine instead now. :(

I mean, I understand it is a fine
line between cross & chroot, but I don’t even want chroot. Another angle is the “gcc wrapper” doesn’t support C++. I need C++. I prefer dynamic for overall size optimization. Would prefer to stay in Ubuntu but will use Alpine again.

if you need C++ support, then you need a full musl-targeting toolchain (in other words, a cross-compiler; and that nomenclature stands even if you want to produce binaries for the same architecture). and as said previously, you need to copy the libc.so and ld-musl-ARCH.so.1 symlink from the cross-compiler directory structure to the target.

If I set prefix, and make install..? Like, the interpreter path should be what? I guess again it is a fine line, like prefix for the compiler vs. prefix for its outputs. I did try copy & it didn’t work, got a jump to null I think. Maybe I’ll try again.
I get that a partial musl system within a complete glibc system isn’t really valid. I’ll try alpine..

if you want to use a different "prefix" to install your libs and headers into than the one the cross-compiler natively uses, than that's not really what the compiler authors had in mind. It is possible to some extent by using custom LDFLAGS and CFLAGS that use -isystem and -L directives that point into your desired prefix, but that usage is quite advanced (if you want to know in detail how it works, then checkout the README from the sabotage-linux repo, read the section about cross-compilation, and take a look at KEEP/config.cross).
i would however recommend you to install all libs into the cross-compiler "prefix" and copy them to the target once everything's built. here's a script i made for someone else, maybe you can adapt it to your needs: http://ix.io/1dDU

Where is the ELF interpreter set? The executables that are being produced by my build have it set as /lib/ld-.


⚠ Bofrost.fr has degraded performance

In 99df2fb, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1158 ms

Resolved: Bofrost.fr performance has improved in aca91bf after 9 minutes.


Avoid caching presto worker worker nodes

@stagraqubole - not sure about the test integration failure.

@shubhamtagra - I can put this change behind a config flag so that it maintains the current implementation if you're worried about it. We'd really like to have this capability it in the next release to test out in conjunction with your other fixes.

WDYT @shubhamtagra?

@shubhamtagra - I've updated the PR as we've discussed. Please review when you have a chance.

To use SyncPrestoCM, you plan to use rubix.cluster.manager.presto.class config?

Yes, exactly.
Thanks again for the code reviews.

Merged, thanks @JamesRTaylor. I will release a new version so that this could be picked up in Presto.


Fix dynamic redis key in redis_datastore.py

The PR is trying to fix the wrong redis key in the query api. When I was using provider redis and updated REDIS_DOC_PREFIX, the  index in redisearch was created as expected, however doc prefix is hard coded in upsert api, it should be controlled by REDIS_DOC_PREFIX.
Let me know if something wrong, Thank you.
>FT.INFO MY_INDEX_NAME

 5) index_definition
 6) 1) key_type
    2) JSON
    3) prefixes
    4) 1) MY_PREFIX
    5) default_score
    6) "1"

<IP_ADDRESS>:6379> keys *
2) "doc:198850882159:chunk:198850882159_0"

I was just coming here to submit this exact fix. Good catch!


Fixed error on double left click and right click in inventory.

Added required '%s' in strings.

Thanks a lot!


No way to know if there is a playback error

I noticed there is no way to know if a video is not supported (iOS and android) or even if the sourcePath doesn't have a video file (iOS). The ValueNotifier NativeVideoPlayerController.onError never notifies to it's listeners in these cases.
Is there any way of knowing if there is a playback error? In case of unsupported file type, the video is blank and the audio plays on both iOS and Android.

I could not find a way to fix the issue for Android since I'm not familiar with Android dev.


⚠ Bofrost.es has degraded performance

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

HTTP code: 200
Response time: 1634 ms

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


Add examples for mesheryctl commands

Description
This PR fixes #3978
Notes for Reviewers
Quick check list...

[x] global
[x] system (some commands)
[x] system-context
[x] system-channel
[x] perf (--file flag is pending...)
[x] mesh
[ ] pattern
[ ] app

Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 33acf001de3991290b21355cb1467e2b2c13285b at: https://6153fa192e049b8efa8d102d--meshery-docs-preview.netlify.app

🚀 Preview for commit 67bea2edf0ebb2d8bbd0918118ace4d512a292fd at: https://615408c266f6dd956f62792e--meshery-docs-preview.netlify.app

🚀 Preview for commit 3a3eebd6e062ebda9079b17a4c05e6f877e46ad0 at: https://615475d06e6a851358226c9b--meshery-docs-preview.netlify.app

@navendu-pottekkat could you tell what are the file formats for the SMI conformance file and patterns? For some commands, it's needed and I'm clueless about them. Plus, even the patterns too are bit hard to understand at first glance, like a novice user finds it difficult to implement.

@alphaX86 some good stuff happening here!

could you tell what are the file formats for the SMI conformance and patterns? For some commands, it's needed and I'm clueless about them. Plus, even the patterns too are bit hard to understand at first glance, like a novice user finds it difficult to implement.

@leecalcote could you answer my query so that I can move on?
//cc: @sayantan1413 (since you worked with patterns)

@alphaX86 great question. We should not only add examples to mesheryctl on these, but also in the Pattern Management and other pages.

patterns are of the file format yaml. Here are sample patterns: https://github.com/service-mesh-patterns/service-mesh-patterns. Each of these must contain a name property and should contain one or more services.
applications are of the file format yaml.
filters are of a binary file format.

https://github.com/meshery/meshery/pull/4269/files#diff-da82e4d8bc231e812de092c80bcf1c565619d07b14d2852ddb730396e16f84dbR38 the description is inaccurate.
this command confirms the version number of meshery client installed on the user's system and the meshery server version of their current context. It also verifies whether the user is running the latest release version or not.

🚀 Preview for commit 43b6b1e69349b0bf4ed60aa8533a9c129efc95d9 at: https://61594c350e0b4899c3be48b0--meshery-docs-preview.netlify.app

🚀 Preview for commit dd123087dff8e33d361de54481c8b21763fb4b04 at: https://6159508319ab3e9600fde837--meshery-docs-preview.netlify.app

🚀 Preview for commit 30693f5e52d5235c58bdfd668dfbbca2715b88d1 at: https://615e661c75213464fb0219e1--meshery-docs-preview.netlify.app

And BTW @navendu-pottekkat you didn't answer this question yet. What's the file format for a SMP compatible configuration file? I need to use it for perf --file I tired but only GUI approach I could do and for CLI approach I'm confused for that alone

The other comment that you only see it in the main page alone. Cool. No problem.
Please ping when you make the edit in perf like you mentioned and we can merge this PR/

@navendu-pottekkat it's done...
@leecalcote help here! DCO again! :')

yay!


runtime: sigprof handler crashes backtracing runtime.nanotime

If a sigprof is received while runtime.nanotime is executing, the runtime may crash with a stack like this:
runtime: invalid pc-encoded table [...]
runtime.throw(0xc52c894, 0x1c)
  src/runtime/panic.go:622 +0x8a fp=0xc435e35260 sp=0xc435e35240 pc=0x26adb4a
runtime.pcvalue(0x119a4080, 0x15ea31c0, 0xc401b4e585, 0x39ad635, 0xc435e35488, 0x15ea3101, 0x0)
  src/runtime/symtab.go:763 +0x529 fp=0xc435e35310 sp=0xc435e35260 pc=0x26cc029
runtime.funcspdelta(0x119a4080, 0x15ea31c0, 0x39ad635, 0xc435e35488, 0xb0080b1a00000000)
  src/runtime/symtab.go:815 +0x5f fp=0xc435e35380 sp=0xc435e35310 pc=0x26cc4df
runtime.gentraceback(0x26dfd17, 0x7fc8115df708, 0x0, 0xc43e926300, 0x0, 0xc435e356f8, 0x40, 0x0, 0x0, 0x6, ...)
  src/runtime/traceback.go:249 +0x1873 fp=0xc435e35698 sp=0xc435e35380 pc=0x26d38d3
runtime.sigprof(0x26dfd17, 0x7fc8115df708, 0x0, 0xc43e926300, 0xc43b160c00)
  src/runtime/proc.go:3755 +0x3e9 fp=0xc435e35938 sp=0xc435e35698 pc=0x26b81f9
runtime.sighandler(0xc40000001b, 0xc435e35bf0, 0xc435e35ac0, 0xc43e926300)
  src/runtime/signal_sighandler.go:33 +0x678 fp=0xc435e359b8 sp=0xc435e35938 pc=0x26c3218
runtime.sigtrampgo(0x1b, 0xc435e35bf0, 0xc435e35ac0)
  src/runtime/signal_unix.go:349 +0x21c fp=0xc435e35a68 sp=0xc435e359b8 pc=0x26c3c2c

To add the running stack trace to the profile, the handler needs to walk the stack frame-by-frame, and to do that it needs to know how big each stack frame is. The compiler records that information in the pc-to-sp table, but runtime.nanotime does manual stack alignment:
https://github.com/golang/go/blob/0a4b962c17a9584a177c06b3c0c3119f250bbbaa/src/runtime/sys_linux_amd64.s#L258-L259
which isn't (can't be) tracked in the table. When the signal handler walks the stack, it computes the wrong size for that frame, and then reads the wrong place looking for the return address, finding stack garbage instead and crashing.
The problem was introduced in a158382b1c9c0b95a7d41865a405736be6bc585f, which shipped in 1.10, so this should be considered for a backport for 1.10.2.

Dup of #24142?

Well, not a dup as such, but perhaps fixed by https://golang.org/cl/97315.

Nope, it turned out we needed a very small additional change, which I'll mail out shortly.

Hey, was this ever cherrypicked into an official release?
I unfortunately had a service running with 1.10.1 that crashed a few times daily if I enabled pprof with the same stack trace above. I took the cherrypick from https://golang.org/cl/107778 and it fixed it for good.
I didn't see this CL referenced in the Go 1.10.2 or 1.10.3 milestones. Looking over the source (below), I don't see it there either (or was this abandoned for another way to fix it?)
From runtime/proc.go in 1.10.3 line 3689 - 3691:
  if gp == nil || sp < gp.stack.lo || gp.stack.hi < sp || setsSP(pc) {     traceback = false   }

@jgracenin This will be fixed in 1.11, but it is not in any earlier releases.


delete invalid function

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2811/
Test PASSed.


JSONDecodeError while trying to get data

Hi,
I'm facing an issue with execute_view_dataframe_pivot. So i have my TM1 instance running on cloud machine, and i install and do some code using jupyter on the same machine. Here is the code.
ADDRESS = "localhost"
PORT = 5060
USER = "admin"
PWD = "123123"
SSL = False
tm1 = TM1Service(address=ADDRESS, port=PORT, user=USER, password=PWD, ssl=SSL)
cube = 'Source Cube'
view = 'Datasource'
table = tm1.cubes.cells.execute_view_dataframe_pivot(
cube,
view,
private=False)
This code run perfectly. I got the data in pandas format.
But, when i try to run the same code from my laptop also with jupyter, it give JSONDecodeError message. I've change the host to my server ip address. So, the initial setup connection is executed successfully, but when the code run the execute_view_dataframe_pivot part. It gives the error.
Here is the error trace

JSONDecodeError                           Traceback (most recent call last)
 in
7     private=False,
8     dropna=False,
----> 9     fill_value=None
10     )
C:\ProgramData\Anaconda3\lib\site-packages\TM1py\Services\CellService.py in execute_view_dataframe_pivot(self, cube_name, view_name, private, dropna, fill_value)
396         :return:
397         """
--> 398         cellset_id = self.create_cellset_from_view(cube_name=cube_name, view_name=view_name, private=private)
399         return self.extract_cellset_dataframe_pivot(
400             cellset_id=cellset_id,
C:\ProgramData\Anaconda3\lib\site-packages\TM1py\Services\CellService.py in create_cellset_from_view(self, cube_name, view_name, private)
891             cube_name=cube_name,
892             views='PrivateViews' if private else 'Views', view_name=view_name)
--> 893         return self._rest.POST(request=request, data='').json()['ID']
894
895     def delete_cellset(self, cellset_id):
C:\ProgramData\Anaconda3\lib\site-packages\requests\models.py in json(self, **kwargs)
895                     # used.
896                     pass
--> 897         return complexjson.loads(self.text, **kwargs)
898
899     @property
C:\ProgramData\Anaconda3\lib\json_init_.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
346             parse_int is None and parse_float is None and
347             parse_constant is None and object_pairs_hook is None and not kw):
--> 348         return _default_decoder.decode(s)
349     if cls is None:
350         cls = JSONDecoder
C:\ProgramData\Anaconda3\lib\json\decoder.py in decode(self, s, _w)
335
336         """
--> 337         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338         end = _w(s, end).end()
339         if end != len(s):
C:\ProgramData\Anaconda3\lib\json\decoder.py in raw_decode(self, s, idx)
353             obj, end = self.scan_once(s, idx)
354         except StopIteration as err:
--> 355             raise JSONDecodeError("Expecting value", s, err.value) from None
356         return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
------------------------ End Stack Trace ---------------------
I'm using TM1py version 1.4.1 and my TM1 version is 11.6. I'm still learning in python, but had few years experience in TM1. Thanks for kind help.

Hi @donny-jo,
could it be that you have different versions of pandas installed in these two setups?
You can find out by executing: pip show pandas
We haven't changed anything wrt to that function in the recent versions but it may help to upgrade to the latest version of TM1py (= the master branch here at GitHub).
pip install https://github.com/cubewise-code/tm1py/archive/master.zip
One more thing:
From my personal experience, I would not advise to use pandas pivot tables.
More than once we have monitored bad performance compared to normal data frames.
There are other ways to build data frames with TM1py:
if you upgrade to the latest version of you could use the execute_view / execute_mdx method from the PowerBiService.
with TM1Service(address=ADDRESS, port=PORT, ssl=SSL, user=USER, password=PASSWORD) as tm1:

mdx = """
SELECT {Tm1SubsetAll([}Clients])} ON 0, {TM1SubsetAll([}Groups])} on 1 FROM [}ClientGroups]
"""

data = tm1.power_bi.execute_mdx(mdx)

print(data)

It returns a data frame in the shape of the cube view but ignores the title selections and assumes there is only one dimension on the columns.
You can also use the execute_view_dataframe function from the CellService or use the execute_view method to create a dictionary and then use the build_pandas_dataframe_from_cellset method on the result to create a data frame.
Both functions return the data in a flat structure.

Hi @MariusWirtz ,
Sorry just to get back.
I think i now why it doesn't work properly.
tm1 = TM1Service(address=ADDRESS, port=PORT, user=USER, password=PWD, ssl=SSL)
the 'tm1' object above is still empty. Thats why the error said, it expect a value. Then i tried to restart my jupyter (even my laptop), and then try again... Then i got this error connection refuse error... I dont know why at first attempt i didn't get this error.
Anyway, when i try to telnet the host using specified port for the tm1 instance, the port is listening. So, i don't know why the server is refusing the connection request from jupyter. Tried to run using python console and got same error.. So, right now i still try to figure out why the connection doesn't take place....
Thanks for your input regarding better way to grab the data from TM1. I'll give it a try.
Cheers

Hi @donny-jo,
I don't quite understand. What do you mean by 'empty'?
I would like to take a closer look at this.
Can you post the full code snippet and the error message that you get?
Cheers,
Marius

@donny-jo I believe your laptop and the cloud machine are not using the same Network.
So you won't be able to connect to a TM1 instance running in your cloud machine.
Try running the same code via Python IDLE. you will be able to view the ConnectionError

@donny-jo did you find a solution to your problem? if yes, please post the solution here for future reference.


chore: remove .opentrons_config directory

Overview
These files were checked in by me by mistake.
Changelog
remove redundant files.
Review requests
Risk assessment
None

Thanks for the cleanup!


Add Semantic release

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


update travis.yml

I've added node >= 6 & <= 9, I'm not sure if that's intended.

Thanks for your effort! However, I'm closing this now as we're going to move to Circle CI.


Refresh the main page of the repository

Suggestion to update the settings like in the screenshot

The result will look like this.

This will provide the following benefits:

Quick access to the site with a link
Keywords and description for better search and promotion on GitHub
Hiding unnecessary information

Done.  Thanks!


fnan and float('nan') behaves differently with math.copysign

Consider this:
>>> import math
>>> from mpmath.libmp.libmpf import fnan
>>> from mpmath.libmp import to_float
>>> math.copysign(1.0, to_float(fnan))
-1.0
>>> math.copysign(1.0, float('nan'))
1.0

I would have expected fnan and float('nan') to behave in the same way here.
This C program:
#include <math.h>
#include <stdio.h>

int main(){
    double result = copysign(1.0, NAN);
    printf("%f", result);
    return 0;
}

gives:
$ ./a.out
1.000000

This came up in sympy/sympy#14010

Since the sign bit for NaNs is not specified by IEEE 754, you cannot expect consistent behavior when copying the sign of NaNs in general. However, I can change the fnan representation to match that of the platform's float('nan'). Note that the second result could have been -1 as well on a different platform.

I see, thanks. If it's undefined behavior I suppose there is no need to enforce the same result.


release:announce:blog: fix problems

Closes GH-119

Contributors list isn't generated
Markdown error
Overview is missing
Release note link is wrong
Commits link is wrong
Install information is missing

+1


[BUG] Segmentation fault (possibly related to memoryviews in list comprehensions)

Describe the bug
Iterating over a memoryview in a generator expression causes a crash (on cleanup I think). https://github.com/pandas-dev/pandas/pull/46029#issuecomment-1051074676
To Reproduce
Code to reproduce the behaviour:
# testmviewbug.pyx
def f(const double[:] qs):
    wrong = [x for x in qs]
    raise ValueError()

Build it with cythonize -if testmviewbug.pyx
and run it in python to give:
>>> import testmviewbug
>>> import numpy as np
>>> testmviewbug.f(np.array([1.,2.,3.0]))
Fatal Python error: Acquisition count is -1 (line 3433)
Python runtime state: initialized
Traceback (most recent call last):
  File "testmviewbug.pyx", line 3, in testmviewbug.f
    raise ValueError()
ValueError
Aborted (core dumped)

Expected behavior
No crash
Environment (please complete the following information):

OS: [e.g. Linux, Windows, macOS]
Python version  3.8.12
Cython version  current master

Additional context
Bisect says it started in ab1d7284f79794d075e79c87df671a87ae8b2b4b, which makes sense because it's a commit that'd significantly change what was generated.

This only happens on the exception path. I think the issue is the line:
__PYX_XCLEAR_MEMVIEW(&__pyx_t_2, 1);

which only appears on the exception path and doesn't seem to be matched by an associated incref

I do have a fix for this which I'll submit in a bit (once I've got some proper tests for it)


TASK: Add Codeblocks to README.md

Hi @crydotsnake
Your pull request has minor updates and I think this is not really important one at this time.
If you really want create a pull request, then create a documentation for this template. Please, make a separate folder docs and place your all readme files within that folder.
Thank you for the commit ❤

This has nothing to do with documentaion 🤔?

This PR is for the README.md to make the YAML Code look nicer ;).

This PR is for the README.md to make the YAML Code look nicer ;).

I agree, But we changed readme code-blocks, then the look of the blocks also change in website. That's why I don't.

This has nothing to do with documentaion 🤔?

We can document on,

how to use this theme with hugo?
How edit your data?
how to deploy?

Note: I will bring some new features in two weeks.


Fix ClusterRoleBinding for kubeless chart

What this PR does / why we need it:
Enabling RBAC for incubator/kubeless causes the following error:
    Error: release kubeless failed: ClusterRoleBinding.rbac.authorization.k8s.io "kubeless-kubeless-controller-deployer" is invalid: subjects[0].namespace: Required value

This is caused by referencing invalid value from the ClusterRoleBinding.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/assign @prydonius @tompizmor @sameersbn

/ok-to-test

It seems good to me and all the tests have passed correctly.
@sameersbn, it would be ready to /lgtm

/lgtm


Missing conversion rule for bytea in postgres

Error message:

Can't run dispatcher: ConnectorX(NoConversionRule("ByteA(true)", "connectorx::destinations::arrow::typesystem::ArrowTypeSystem"))

Linked to https://github.com/sfu-db/connector-x/issues/148 and https://github.com/pola-rs/polars/issues/1805.

Fixed in v0.2.0.


how to get all types in one index?

how to get all types in one index?
i want to do a query like "show tables" in sql

You have to create an Elasticsearch alias containing the indices (and hence their types) you want. Then you can connect to the alias in the same way as you would connect to an index and list the tables to view all types.
Visit https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html to learn about aliases.


Create a Global Modifier Box

In GitLab by @brunocalado on Feb 25, 2021, 09:06
Summary
Sometimes you just want to apply a modifier to a move, but you can't.
Create a box where you can type a number and it change the roll would be very useful.
Labels (do-not-change)
/cc @Asacolips

In GitLab by @brunocalado on Feb 25, 2021, 10:57
Maybe, but I'm not sure. Maybe It's duplicate, but that one looks like a new box poping up. This is something static.
When a PC need to roll with bonus (+1, -1, etc) you can't do anything about. But, a little box in the sheet or in the canvas could make this easier.
Example from sandbox:

In GitLab by @Asacolips on Feb 25, 2021, 09:11
This is likely a duplicate of #9 depending on what the actual implementation for that ends up looking like.

In GitLab by @Asacolips on Mar 8, 2021, 08:38
@brunocalado you're right, this is slightly different, but I think it's adjacent to the other issue's goal and should be solved at the same time. I've expanded #9 to cover this use case as well, and I'll close this issue in favor of it.

In GitLab by @Asacolips on Feb 25, 2021, 09:11
marked this issue as related to #9


DOC-4173: Clarify how to use mmctl with non-email authentication systems

Summary
This PR adds new documentation to use mmctl to authenticate with non-email authentication systems by generating and using a personal access token or by granting the ability to generate tokens by individual users on the mmctl command line tool page.
Ticket Link
Fixes #4173

[x] This PR follows Mattermost Contributing Guidelines.
[x] The changes are tested in a local docs build.

Hello @Rutam21,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@cwarnermm Please review and suggest changes, if any. Thanks.
@lindy65 Please add this to my queue for QA Testing, if needed. Thank you.

Assigned to you for testing @Rutam21 👍

@cwarnermm No worries, and thanks for the update! I have to say, this PR doesn’t even feel like mine anymore 😂 — it’s all your hard work now.

@Rutam21 - It's a team effort end-to-end. Without your willingness to take this issue on, we wouldn't be ready to merge now. So thank you!


App crashing due to memory issue IOS (ImagePicker)

Environmental Details:
IOS version: ios13
Iphone: 8
My code:
await ImagePicker.pickImage(source: ImageSource.camera);
Description:
In my case, its crashing randomly. I have an app where I'm adding image one by one,
Random crash scenarios

While adding 250th image
While adding 350th image

Can anyone help me to solve this? I'm not getting any logs.

I found the issue. While adding each image, some garbage collection is happening. Due to that when it reached 250th image, there is no memory to access. Due to memory issue app is crashing. If we open app again, it will work till it reaches to 250 - 350 images, again it will crash due to memory issue.
Any quick solution?
Originally posted by @Dinesh41 in https://github.com/flutter/flutter/issues/34691#issuecomment-703195506

@Dinesh41
Please provide flutter doctor -v, flutter run --verbose and a minimal code sample that shows the issue.
Thanks,

same issue here

@darshankawar  https://github.com/flutter/flutter/issues/54757#issuecomment-703362583
The above method solved this issue.

@Dinesh41
Thanks for confirming. Given your last message, I am going ahead and closing this as solved.
If you disagree, write in comments and I'll reopen.
Thanks.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Create module with CLI for annotation of all images in a directory

Create a module with CLI for annotating all images in a directory. CLI arguments will be the weights, configuration, and labels files as well as the images directory and output destination. Perhaps include an option for specifying the annotation format (Darknet, KITTI, PASCAL VOC, COCO, etc.), although it may be more reasonable to just provide Darknet format and leave any format conversion to other packages such as cvdata.

Resolved by PR #8


feat(atomic,headless): add search box to insights

https://user-images.githubusercontent.com/30511433/177362508-4a0a8a26-7032-4cff-ae81-1ae728733d5e.mp4

Nice ! So the API call that you show in your small screen recording, are they hitting /search/insight/${insight} in dev ?
Or /search directly ?

this is the URL https://platformdev.cloud.coveo.com/rest/organizations/orgId_xxxxxx/insight/v1/configs/insightId_xxxxxxxx/search

@olamothe
I renamed InitializationOptions and Bindings to InsightInitializationOptions and InsightBindings and SearchInitializationOptions and SearchBindings as I noticed that the components file was appending a 1 to the duplicated name but not importing it correctly in the component
I noticed it when renaming from atomic-svc-insight-interface to atomic-insight-interface, as it went up the alphabetical list (i < s) which meant atomic-search-interface was now importing the insight InitializationOptions and requiring an insightId together with accessToken and organizationId
I've split into different commits to make review easier. Please let me know what you think :)


dx serve seems to recompile server dependencies every time

Problem
When I run dx serve on my fullstack project which has the surrealdb dependency enabled behind the server feature, it will recompile that dependency every time. I choose surrealdb as an example because it has a very long compilation time, but I think this applies to any dependency, probably on the web feature as well.
Steps To Reproduce
Steps to reproduce the behavior:

Run dx new.
Choose "Fullstack".
Call the project "test".
Choose "true" for using Dioxus router.
Choose "Vanilla" as CSS.
Add surrealdb as dependency only on the server feature.
Run dx serve --platform fullstack.
Make any compilable change in main.rs and save.
Observe surrealdb being recompiled.

Expected behavior
Only our crate should recompile and none of its dependencies.
Environment:

Dioxus version:  0.5.1
Rust version:    1.79.0
OS info:         macOs
App platform:    Fullstack

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

I cannot reproduce this issue on the main branch of dioxus with a simple dependency: https://github.com/ealmloff/dioxus-recompile-test
This issue may have been fixed or your dependency may have a build script that reruns too often. Build scripts can watch specific parts of your environment for changes and recompile the crate when a change is observed

I cannot reproduce this with a dependency with a simple build script: https://github.com/ealmloff/dioxus-recompile-test
Build scripts can watch specific parts of your environment and recompile when they change. SurrealDB may be watching something dioxus is chaninging


Invalid argument(s): Failed to load dynamic library 'cpp_library.dylib': dlopen failed: library "cpp_library.dylib" not found

I make library:
okji@Mac-mini-Dmytrij build % cmake ../
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/okji/self/flutter/vote_race/cpp/build
okji@Mac-mini-Dmytrij build % make
[ 33%] Building CXX object CMakeFiles/cpp_library.dir/src/add.cpp.o
[ 66%] Building CXX object CMakeFiles/cpp_library.dir/src/subtract.cpp.o
[100%] Linking CXX shared library cpp_library.dylib
[100%] Built target cpp_library
okji@Mac-mini-Dmytrij build %

MR from repo:
https://github.com/Okladnoj/vote_race/pull/1/files
Use
 CppWrapper get cppWrapper {
    final nativeLib = Platform.isAndroid
        ? DynamicLibrary.open('cpp_library.dylib')
        : DynamicLibrary.process();

    return CppWrapper(nativeLib);
  }

adb shell getprop ro.product.cpu.abi
arm64-v8a
uname -m
arm64

I face the same issue.
@shoumo680 @dodgog @Jos-Sea did you find any way to solve the issue?


How to deploy Farm vibes on Existing on-premises OpenShift or Kubernetes cluster

Topic
No response
Ask away!
"When executing the Farmvibes local setup command, it automatically generates its own k3d cluster. Is it possible to manually deploy Farmvibes on an existing Kubernetes or OpenShift cluster , could you provide guidance along with the deployment YAML file?"

Hello @click2cloud-kaliram, unfortunately, this is not supported by our current code, and I'm afraid we don't have the bandwidth to implement such a feature (I would be willing to review a PR that added support for that, though).
The main reason we don't support this is because we can't know how kubernetes node pools and persistent volumes would work in arbitrary clusters.
Although unsupported by the scripts, if you look at the setup function, you will see that we use Terraform to ensure a local cluster is setup. (We have similar code for the AKS clusters, but that code is a bit more complex.)
If you are proficient with TerraForm, you can try applying the scripts to your existing cluster to deploy FarmVibes.AI to it.
You will probably have to edit the terraform files to suit your cluster, but again, we can't provide support with that.
You would have better luck setting up an AKS cluster specifically for FarmVibes.AI.


Simplify the engine requirements for easier maintenance

@panva wdyt?
fixes #41

@adamjmcgrath This would be incorrect.
From https://github.com/panva/jose/issues/262

Node.js LTS versions ^12.19.0 (Erbium), ^14.15.0 (Fermium), and ^16.13.0 (Gallium) are supported. Future LTS versions will be supported as soon as they get released.

Node.js versions that are odd-numbered, or even-numbered before they become Active LTS, may work fine

Do you think it's reasonable to relax the engine requirements for this SDK so we don't have to keep updating it every 6 months?

Node.js versions that are odd-numbered, or even-numbered before they become Active LTS, may work fine

Do you think it's reasonable to relax the engine requirements for this SDK so we don't have to keep updating it every 6 months?

A new LTS release is cut every 12 months. I'd stick with just LTS releases as that is what our dependency actually guarantees support for.

Will do 👍


Add 2023 array methods to target features

Fixes #52220
Adds es2023 array methods to target features.
I haven't added any unit tests for this - I couldn't find anything that tests this already, and I'm afraid I don't know enough about the repo to determine where these would make sense. Any pointers would be much appreciated :)

@OliverRadini - Take a look at indexAt.ts. You would need to write a similar file for findLastIndex. Afterwards, run hereby runtests-parallel and hereby baseline-accept to create the baseline files.

@OliverRadini - Take a look at indexAt.ts. You would need to write a similar file for findLastIndex. Afterwards, run hereby runtests-parallel and hereby baseline-accept to create the baseline files.

@Tobeyyyyy brilliant, thanks - I'll take a look and add that in

@Tobeyyyyy Just taken a look, slightly confused though as it seems as though it may already be covered by the tests in findLast.ts. I'm probably getting things confused but I'm not sure what I'd add additionally to that.

@OliverRadini - Ah, was not aware that a file like that already exists. The first line of the file defines all the targets for which baselines will be created. Right now, the only target in findLast.ts is esnext. You could now add es2022 to this list. Running the tests would generate a baseline like indexAt(target=es2021).errors.txt which includes the error message.

@Tobeyyyyy ah brilliant, thanks. I amended the line as suggested and indeed did see the errors as expected. Is this the normal behaviour for the tests? I added the line, but now there are failing tests. I suppose I don't quite yet understand the workflow. The errors I get are:

tests/cases/compiler/findLast.ts(1,44): error TS2550: Property 'findLast' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
tests/cases/compiler/findLast.ts(2,51): error TS2550: Property 'findLast' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
tests/cases/compiler/findLast.ts(3,17): error TS2550: Property 'findLast' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.

So, what I would expect to see after the change I added on a version which doesn't yet have findLast. Is this the expected behaviour?

Run > npx hereby baseline-accept

@microsoft-github-policy-service agree

@Jack-Works Great, thanks - ran that and all good now. Thanks for the help

Hopefully this is in a better state now, once I figured out a bit more about how the baseline stuff works 😂


Automate dev node redeploy

TODO:

[DONE] Copy pr.yml to master.yml
[DONE] Add validation that pr.yml copy in master.yml is authentic (identical)
[DONE] Fix INSTALL.rst to use deploy.sh
[DONE] Every merge to master must redeploy the node
[DONE] Blockchain genesis state must be updated from latest account root file

Partly done here:
https://github.com/thenewboston-developers/thenewboston-node/commit/a1939f1d886c82d64cdf0d23ff60212b1c060932
https://github.com/thenewboston-developers/thenewboston-node/commit/2fa928072c80605e73d0b0730ec943bc26dac8fd
https://github.com/thenewboston-developers/thenewboston-node/commit/d39c7c10a301d35177ad1f1d28a3ae20877ad1b3
https://github.com/thenewboston-developers/thenewboston-node/commit/4fe4158a5d67af195625338e9d5115f4be3ce0b5
https://github.com/thenewboston-developers/thenewboston-node/commit/63b9fb85f5b2a15af7fe861f2e4f332bad01358c
https://github.com/thenewboston-developers/thenewboston-node/commit/49dc3449277e7d716812d8b18b50ca3d4a3e4af5
https://github.com/thenewboston-developers/thenewboston-node/commit/c6508b5f870601b9dac42c85c95545cf03bde2e8
https://github.com/thenewboston-developers/thenewboston-node/commit/7d728d60fb71b95e5cb996bee1ef90e768d3bfd8
https://github.com/thenewboston-developers/thenewboston-node/commit/0e09dc62b350628362f5c8384a9af9c36268c502
https://github.com/thenewboston-developers/thenewboston-node/commit/143ec194af81566f4bb6cdb24165c08c9ee0f855
https://github.com/thenewboston-developers/thenewboston-node/commit/112dadebf77e5a8165e9ec48f6fecc0d52c0a596
https://github.com/thenewboston-developers/thenewboston-node/commit/42a5e375b6697016d8fa40acebab4e0c69583280
https://github.com/thenewboston-developers/thenewboston-node/commit/f9b684767c86b08e99e1c45518f3d38e313b732d
https://github.com/thenewboston-developers/thenewboston-node/commit/f8b376b8b0f8bdebeffb6be480124c6d29dea36c
https://github.com/thenewboston-developers/thenewboston-node/commit/6cfafbfd36f38cc0a13b73419479417073988ea5
https://github.com/thenewboston-developers/thenewboston-node/commit/d09d150e79fd737efc85a3390b4edfd99e1c195c
https://github.com/thenewboston-developers/thenewboston-node/commit/0335a9a662bf127d0b339aee267bfdf64645a1de

more: https://github.com/thenewboston-developers/thenewboston-node/commit/3ded3ab5a729255977d7aa0f7182cb6381f0b58b

https://github.com/thenewboston-developers/thenewboston-node/pull/254

https://github.com/thenewboston-developers/thenewboston-node/commit/542d6baebed741394f49d6da77fd17566457f8d3

https://github.com/thenewboston-developers/thenewboston-node/commit/30c5a9a0e40c23461f92421927ba0ddf3c480445

https://github.com/thenewboston-developers/thenewboston-node/commit/9f53249550405ec3ad2ce4a113881b99f096160a

https://github.com/thenewboston-developers/thenewboston-node/commit/33089fb10d03154fd3ead6f0905d4dee79052661

https://github.com/thenewboston-developers/thenewboston-node/commit/9e8fa5fcd63d669d136ce6fde06df010545c6f17


domd-set-root: expand boot options

Note:
    this commit have been ported from repo:
        "xen-troops/meta-xt-prod-devel-rcar-gen4"
    hash of the commit:
<PHONE_NUMBER>4d9e1cc037d8b9098a10c094e124e5

domd-set-root scripts can enable NFS boot, but prior to this
patch it had all configuration options hardcoded.

Now server ip, board ip and NFS path can be set via device tree.

New properties:
    - /boot_dev/my_ip
    - /boot_dev/server_ip
    - /boot_dev/nfs_dir

Signed-off-by: Volodymyr Babchuk<EMAIL_ADDRESS>Signed-off-by: Mykola Kvach<EMAIL_ADDRESS>

note: changes are under testing

Hi @xakep-amatop, thanks for the change.
As you are making those commit as EPAM employe, could you please change your email in Signed-off-by tag to @epam one? The same is for patch author (git commit --amend --reset-author) should help.
Also, please update doc/u-boot-env.md to reflect the changes.

Hi @xakep-amatop, thanks for the change.
As you are making those commit as EPAM employe, could you please change your email in Signed-off-by tag to @epam one? The same is for patch author (git commit --amend --reset-author) should help.
Also, please update doc/u-boot-env.md to reflect the changes.

Done

Also, please don't join commit descriptions while squashing commits. Just write one, comprehensive description for changes you are making.

Done

Thanks for the update. Now it looks almost right.  Instead of something meaningful, like "dom0: expand boot options for domd" I am seeing "changes are mostly based on commit" :)
(try git log --oneline to see what I am mean).

Thanks for the update. Now it looks almost right.  Instead of something meaningful, like "dom0: expand boot options for domd" I am seeing "changes are mostly based on commit" :)
(try git log --oneline to see what I am mean).

I can see "something meaningful" with command which you shared with me:
db6c846 changes are mostly based on commit 82f3030bfe0b ("dom0: upgrade domu-set-root script")
b98cc76 changes are mostly based on commit<PHONE_NUMBER>4d ("domd-set-root: expand boot options")

so, do I really need to modify commit messages?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?h=v6.2-rc6#n143 :

A one-line description of what the patch does.  This message should be
enough for a reader who sees it with no other context to figure out the
scope of the patch; it is the line that will show up in the "short form"
changelogs.  This message is usually formatted with the relevant
subsystem name first, followed by the purpose of the patch.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.2-rc6#n94 :

Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
to do frotz", as if you are giving orders to the codebase to change
its behaviour.

Also, take a broader view:
db6c846 changes are mostly based on commit 82f3030bfe0b ("dom0: upgrade domu-set-root script")
b98cc76 changes are mostly based on commit<PHONE_NUMBER>4d ("domd-set-root: expand boot options")
04e4dab Set priority of layers to 12
e248827 README: update instruction for prebuit graphic binaries
9ffd020 yaml: Use `https://` instead `git://` for fetching
6665ba9 [Workaround] Use `meta-oe-fixups` to solve srecord issue
e906a32 domu: remove u-boot from build as not used
a1ce50b yaml: remove `|` from BBMASK
1d433d9 doc: minor reformatting of Docker.md
5710f63 yaml: android: zero `rpmbemul` and `misc` partitions
c70fbdd yaml: Fix usage of domz.cfg
a0c2009 Set systemd init manager by INIT_MANAGER variable
6ea2e5c domd: add meta-xt-rcar-domx layer for optee-os
dd0ba28 domd: Remove not used domd-h3ulcb.cfg
aa1903d Remove support for Salvator 4GB boards
eb53269 README: update info
596d9c3 Remove `h3ulcb` as not supported
4f68fa9 yaml: Use variables to specify paths to domains
7162eaa doc: Update README.md

I am sure, you are seeing some discrepancy :)

And one more thing: length of commit description header is limited to 65 characters

And one more thing: length of commit description header is limited to 65 characters

done

Thank you.
Acked-by: Volodymyr Babchuk<EMAIL_ADDRESS>Please insert the above acked-by tag into your commit messages, so I can merge the changes.
In this way, git commit history itself will track who approved the change.

Thanks for the contribution! :+1:


This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/64


Fix request vs. response in ExpirationPlugin docs

If the request has a "Date" header was particularly confusing and led me down the wrong path
Prior to creating a pull request, please follow all the steps in the contributing guide.
R: @jeffposnick @tropicadri

Thanks for catching—and fixing—this!


Customizable socket permissions

Summary: Customizable socket permissions
Type: Feature
Test Plan: UT
Jira: None

https://jenkins.code.rdkcentral.com/job/github-triggered/35868/ started

https://jenkins.code.rdkcentral.com/job/build-component/73823/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/3561/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/6572/ started.

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15461/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15462/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15467/

https://jenkins.code.rdkcentral.com/job/github-triggered/36017/ started

https://jenkins.code.rdkcentral.com/job/build-component/73925/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/3681/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/6643/ started.

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15686/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15685/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15714/

'['BCM Reference Refapp2']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-brcm-refboard/4243
Flash BCMREF [SUCCESS]
BCMREF - Video Test [FAILURE]
RefApp Movie Session Mgr VoD Test [SUCCESS]
RefApp Movie Firebolt MP Encrypted VoD Test [FAILURE]
RefApp Channel Change Video Tests [SUCCESS]
RefApp Lightning Bouncing Ball App Launch and Exit Test [SUCCESS]
Video local (H264) using gst-play-1.0 [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
PLAYREADY_DRM Video Streaming using aamp-cli [FAILURE]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-bcmref-refapp2-flow/3190/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15754/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15755/

'['BCM Reference Refapp2']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-brcm-refboard/4243
Flash BCMREF [SUCCESS]
BCMREF - Video Test [FAILURE]
RefApp Movie Session Mgr VoD Test [SUCCESS]
RefApp Movie Firebolt MP Encrypted VoD Test [FAILURE]
RefApp Channel Change Video Tests [SUCCESS]
RefApp Lightning Bouncing Ball App Launch and Exit Test [SUCCESS]
Video local (H264) using gst-play-1.0 [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
PLAYREADY_DRM Video Streaming using aamp-cli [FAILURE]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-bcmref-refapp2-flow/3207/

'['BCM Reference Refapp2']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-brcm-refboard/4243
Flash BCMREF [SUCCESS]
BCMREF - Video Test [FAILURE]
RefApp Movie Session Mgr VoD Test [SUCCESS]
RefApp Movie Firebolt MP Encrypted VoD Test [FAILURE]
RefApp Channel Change Video Tests [SUCCESS]
RefApp Lightning Bouncing Ball App Launch and Exit Test [SUCCESS]
Video local (H264) using gst-play-1.0 [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
PLAYREADY_DRM Video Streaming using aamp-cli [FAILURE]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-bcmref-refapp2-flow/3208/


Migrate application to Next.js

Problem
This application is currently rendered on the client side and bootstrapped using create-react-app which is no longer being maintained.
Solution
The application should be migrated to Next.js.
Additional context
No response
Code of Conduct

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

We are developing a new dashboard with Next.js (https://github.com/StanfordSpezi/SpeziTemplateWebDashboard) which will  support SMART on FHIR. Therefore, we will keep this as a React template.


File is not able to make IRM enabled using IpcfEncryptFileStream()

Hello,
I am trying to do create a IRM protected file using the method SafeFileApiNativeMethods.IpcfEncryptFileStream().
I have written a code as below.

Collectiontemplates = SafeNativeMethods.IpcGetTemplateList(
connectionInfo: conn,
forceDownload: false,
suppressUI: false,
offline: false,
hasUserConsent: false,
parentWindow: IntPtr.Zero,
cultureInfo: null);
Console.WriteLine("Loaded Templates {0}", templates.Count);
var template = templates[1];
Stream connStream = File.OpenRead(filepath);
Stream connOutputStream = new MemoryStream();
var handle = SafeNativeMethods.IpcCreateLicenseFromTemplateId(template.TemplateId);
string outputFilePath = SafeFileApiNativeMethods.IpcfEncryptFileStream(connStream, filepath, handle, SafeFileApiNativeMethods.EncryptFlags.IPCF_EF_FLAG_KEY_NO_PERSIST_DISK,ref connOutputStream);

This will return the IRM enabled stream in variable conOutputStream.
But when i am save retrurn stream in file it will write junk characters and RMS template information in XML strings.
Code to write the stream in file as below.

var f = new FileStream("C://test1.docx", FileMode.Create, FileAccess.Write);
connOutputStream.CopyTo(f);
f.Dispose();
connOutputStream.Close();

Is it necessary to write the stream to the file ? as when i am using the ipcfEncryptFile() file is encrypted successfully but i want t o encrypt it using IpcfEncryptFileStream() method?
How can i make file to IRM Protected file (.Docx) using method IpcfEncryptFileStream()?
Is it correct way to write the file from the IRM Returned stream from the RMS method?
Thanks
Dipen Shah

why are you targeting the FileStream for a Office file ? What  are you trying to accomplish using file stream with an office file ?

Did you look at the documentation for the function
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/msipc/ipcfencryptfilestream


Detect hanging async operations

Clear and concise description of the problem
As a developer using Vitest I want to be able to detect if an async operation that was started during a test case hasn't completed at the end of that test so that I can catch hanging promise bugs. I am willing to contribute a PR if there is interest.
Suggested solution
We could provide a --detect-async-leaks flag to turn on this type of detection. Node.js's builtin async_hooks module provides the necessary functionality
Alternative
Alternatively, we could make this the default and provide an option to turn it off.
Additional context
For example in Deno the following test fails with the message "Test case is leaking async ops":
Deno.test("hanging interval", () => {
  setInterval(() => {}, 1000);
});

This helped me catch a few particularly hard to find bugs in a streaming form data parser I was working on. Web streams are particularly prone to this type of error but there are many other cases where such detection would be useful.
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Do you have some feedbacks on this issue ?

node:test & Mocha also detect those cases (without any particular CLI option or config)

Cannot confirm that this is true. In mocha I get the error "after tests are done" which does change processExit, but doesn't print any information about leaking. node:test just hangs for me (probably because of setInterval).

mocha

node:test (Node 20.11.0)

Hey, this is currently blocking adoption of Vitest for one of our projects. If not to much to ask, would love to know:

How likely is this issue to being acted on by the core maintainers
If it's not being acted upon because it's not seen as valuable, could you share a few reasons you think why that is. It might help shift our team's thinking to stop relying on that Jest feature.
If it's not being acted upon because of core team time constraints, would be a PR be welcome for this?

Thanks!

Hey, this is currently blocking adoption of Vitest for one of our projects. If not to much to ask, would love to know:

How likely is this issue to being acted on by the core maintainers
If it's not being acted upon because it's not seen as valuable, could you share a few reasons you think why that is. It might help shift our team's thinking to stop relying on that Jest feature.
If it's not being acted upon because of core team time constraints, would be a PR be welcome for this?

Thanks!

I'm not a maintainer, but:

Unlikely, there's an existing PR and this is only p2.
I can't speak for the Vitest team, but I'd guess that there's just more important stuff for the them to focus on, like stabilizing browser mode and the Node API.
It has the PR accepted label, so yes.


Merge pull request #386 from MicrosoftDocs/master

Deploy live site May 2021

Docs Build status updates of commit 28e474d:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel