arch

Thank you very much for the work you do. I would like to ask why 'Unet' and 'qna' are alone in the architecture parameter (--arch), while in the article it is a combination of the two to achieve the effect in the description. If I want to combine the two, as in the article, how should I choose the values of the parameters?Looking forward to your reply.

Hi @ZyzJinQu and thank you for your interest.
To use the UNet architecture with qna blocks, one should specify the following arguments in the command-line:
--arch_unet --use_attention --use_qna.
I will change the documentation to explain this better.
Please let me know if this worked for you.
Best,
Sigal

Thank you very much for your reply, but I am getting the following error in my attempts, looking forward to your reply, thank you very much!

Correction: use_attention and use_qna are already True by default, so you don't need to specify them.
The reason for the error you have seen is that these two arguments expect an argument, such as False or True.
But anyhow, you don't need to specify them.

Does this mean that (--arch unet) already combines unet with qna? without needing to specify otherwise.

Thank you very much for your reply! But my attempts in practice always produce a sudden turn at some point, and the overall effect doesn't live up to the natural presentation shown in your document. Hahahahahaha!

I am sorry to hear that. This happens in rare cases. On some motion sequences, alternate architectures work better. I suggest you try --arch qna OR --arch unet --channel_mult 1,2 OR --arch unet --num_res_blocks 2.
Please let me know if any of these alternatives produced better results.

I will try that, thank you very much for your reply!

Hello author, thank you for your outstanding work! I would like to see the log message (log.txt progress.csv), but for some reason it is always empty.

Hello,
The messages are printed out to the console, you can save the stdout to a file if you would like.
Could you please point us to where you see the files log.txt and progress.csv?

Thank you very much for your outstanding work! I found the file in the following directory. logging to /tmp/openai-2024-03-09-16-14-08-187133

I am sorry to hear that. This happens in rare cases. On some motion sequences, alternate architectures work better. I suggest you try --arch qna OR --arch unet --channel_mult 1,2 OR --arch unet --num_res_blocks 2. Please let me know if any of these alternatives produced better results.

--arch unet --channel_mult 1,2   It feels like it produces better results.

--arch unet --channel_mult 1,2 It feels like it produces better results.

According to these results, a slightly wider receptive field (obtained with a deeper network) works better for your skeleton. I guess you either have a skeleton with many joints (say, more than 100) and/or a motion with abrupt changes. But it is hard to tell without seeing the input motion.

Thank you very much for your outstanding work and also for your detailed answers.

I am sorry to hear that. This happens in rare cases. On some motion sequences, alternate architectures work better. I suggest you try --arch qna OR --arch unet --channel_mult 1,2 OR --arch unet --num_res_blocks 2. Please let me know if any of these alternatives produced better results.

i saw the qna in your train_eval_humanml_benchmark.sh. but the arch in the pretrained models is unet?
what is the final hyperparameter in your paper?

Hello,
The provided script is an example, you can change the parameters to train different versions of the model.
The uploaded pretrained models use the unet architecture, which is also the architecture we describe in the paper. Please see the paper appendix for details of other hyperparameters used.


New batch operations on the statement list: "relate to SOE", "classify"

Rationale:
Statements can be composed into Events. In fact, any statement which denotes action is a micro-Event on its own. For example WW2 or a dinner can be described in 1-N statements, and all of them can belong to the broader Event of WW2 or "this dinner".
Feature request:
To the batch operations, add the following two:

"relate to superordinate event". This will be similar to "replace R", i.e. a suggester accepting only Events and suggesting only Events will appear, and user will be able to relate all selected statements to this event.
 This will create, between each of the statements and the target Event, the SOE relation. I.e. each of these statements - SOE - E the selected event.
"classify as". This will make a Concept-only suggester appear, where I can put a C and thus add a meta CLA relation to them towards this Concept (of course, only to those which don't yet have it - but I guess one cannot add one twice anyway, so this is already taken care for). Typical use: batch classification into trial/non-trial statements.

Notes:
@katalinsuba in the Consolamentum project will know what I am talking about.

While implementing, probably do also this minor label change: #2098.

@Ptrhnk this would involve a modal window, the header would be the same as the option label and the footer would involve "confirm" and "cancel" buttons. Let us know if you need a new API call for this.

@adammertel Seems you want to look at it more quickly than for 1.5 - ok, then please put in a correct milestone where you want it.

@adammertel I actually need this quite early on, moving.

Chane label: not superordinate event, but superordinate entity!


Brush selection span is ignored, startup with zero length

[ x] I updated the card to the latest version available
[x ] I cleared the cache of my browser
[x ] I verified that I'm really running the lastest version in my browser console
[x ] I checked if there is another issue opened with the same problem

Describe the bug
brush:
selection_span: 2h
is ignored in newest version (v2.01) Bug was not present in v2.0
Now the display length is something about zero. Without draging a span unusable.
Version of the card
Version: 2.01
Expected behavior
old behaviour. ;-)
Desktop (please complete the following information):
Browser firefox

Smartphone (please complete the following information):
Device: [e.g. iPhone12]
Homeassistant App

this bug seems still present in v2.1.2
experimental:   brush: true brush:   selection_span: 24h graph_span: 160h
In the preview, it looks correct.
But when I leave lovelace edit mode, the selection_span is considered as 0.


Suggest New Features

Suggest a new feature but please try to explain your feature a little bit as well.

here you are using white color as the eraser.. its bit nervous... what if can add a eraser tool...?

Hey @buddhikac96 . The purpose of adding the white color was that at that time we were not able to add the eraser tool in the Android App. You can go ahead and add the eraser. Just remember to send the white color to the server when erasing so that same effect can be achieved in the App.

Hey, there!
So, I think that most of these features are already considered or planned, but I will go ahead and list the features that I would love to see:

support to touchscreen, so we can draw using a touch screen pen;
support for keyboard, as an option to write something in the board by typing;
a chat to talk to everyone connected in the session;
support for saving what is on the screen;
support for pasting images (so you can "crtl + c" something and paste on the board);
support for different board background colors;
support for going back to a session that was used before.

I have no idea about the challenges behind implementing those features, so I'll just leave them here as ideas that would be great if achieved, but it is up to you to say which are possible and which ones would be too complicated to do. ;)

suggest different  pen sizes for the whiteboard.

@marcosvital Thank you for all the suggestions. Will start on implementing these.
@tharindumalshan1 It has already been added in the project. Thank you for your suggestion.


"Interrupt=b  Error=402

Is this the same issue as the other one? You haven't added any description.

Yeah, sorry... I made this issue my mistake when creating the other one.


install-kubeadm.md: generalize the list of distributions and install options

I just tested the Installing kubeadm procedure on Amazon Linux 2. It worked well, so I thought that adding it to the list of operating systems in that procedure would be a good way to do my first PR here for a couple of years. I'm looking to do more docs contributions, so please let me know if I have missed anything in your process.

remove all distro forks and be more generic

That approach works for me.

@neolit123 I'm glad to make the changes you suggest. Should I make the changes in this PR or should I create a new one?

thanks @chrisnegus making the changes here and retitling the PR / commit is fine.
/retitle install-kubeadm.md: generalize the list of distributions and install options

LGTM, could you please squash the commits.

@neolit123 After some stumbling around, I think I got the commits properly squashed. I think it's ready to merge.

/lgtm
Thanks
Approval is up to the EN docs owners.

Page preview:
https://deploy-preview-26715--kubernetes-io-master-staging.netlify.app/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

/lgtm
/hold cancel


Support a way to ignore found issues in the future.

Let's say I in general want to run the rule that checks for missing default values in non-required function arguments.
But I might have a few custom instances for which I don't want this rule to be applied - maybe because it's been taken care of in the code. So we'd want to exclude a certain function from triggering it.
As far as I can see there's no way to currently do that. Is there any option to implement something like this with Annotations, similarly to how Java linters do offer that (for instance in Android linting). I'd annotate a function so that it ignores a specific rule for future runs.

I know how an empty log file in the search for errors feels but I believe it's deceptive to disable checks.
If you for instance log CFLint output as JSON and import in somwehere you might exclude results based on the data provided. filename and function name are output in most cases.
If you look at the raw output you would still see there's an issue - whether it's bad/important or not.

Sure, I could build all sorts of solutions on top of the cflint output and manually filtering out results I don't want.
But having a way to annotate parts of ones code with instructions to not check and apply certain rules is really the norm. The fact that you find it deceptive to disable checks is appreciated, but you wouldn't have to use that feature if you don't like it. The option should be there nevertheless.

@TheRealAgentK , I hear you.  We haven't supported code annotations yet.  But you can accomplish some of this with the cflintexclude.json file
https://github.com/cflint/CFLint/wiki/Are-There-Any-Recipes-Out-There%3F
You can filter out codes by file, function name, and line number.

Added support for
//cflint ignore:line
which suppresses all messages for that line.
and
//cflint ignore:MISSING_VAR
which suppresses a comma separated list of message codes for that line.

What syntax would you suggest for function annotations?
something like:
/*
@CFLintIgnore MISSING_VAR
*/
function somefunction(){
myVar = 123;
}

Yes, I like that.
In Android for instance, it'd be:
...
@SuppressLint("NewApi")
public void onBackStackChanged() { ... }
...
This syntax would obviously not work in CF, so it'd have to be in a comment as you've shown it.
One question: What would the syntax look like if I wanted to suppress multiple lint rules for a function?
In Android that'd work via:
@SuppressLint({"NewApi","StringFormatInvalid"}), but I find this syntax rather clunky and convoluted
Going with your example, I'd like to be able to just use a comma-separated list:
@CFLintIgnore MISSING_VAR,SOMETHINGELSE,ANOTHERTHINGTOIGNORE

Support added at the line level in cfscript:
 someVar = 123; // cflint ignore:line
at the component and function level in cfscript:
	/*
	other comments....
	@CFLintIgnore SOMETHINGELSE,MISSING_VAR,ANOTHERTHINGTOIGNORE
	*/
         component{
      ......

at the component and function level in CFML:
       <!---
       	other comments....
       @CFLintIgnore SOMETHINGELSE,MISSING_VAR,ANOTHERTHINGTOIGNORE
       --->
         <cfcomponent>
          .....

Is there any support for lines in normal tag-based code outside ignoring a whole function or a whole component?

Yes @TheRealAgentK ,
only at the component and function level in CFML:
       <!---
       	other comments....
       @CFLintIgnore SOMETHINGELSE,MISSING_VAR,ANOTHERTHINGTOIGNORE
       --->
         <cfcomponent>
          .....

I think that's working.  There's a test here:
https://github.com/cflint/CFLint/blob/cc45d5646dca6dd1a3a89854bead5b60bc6eebbd/src/test/resources/com/cflint/tests/Ignores/ignoreCFMLComponent2.cfc

the project is sadly in need of some documentation....

The current mechanism doesn't seem to work across all rules.
In my case I can't get CFQUERYPARAM_REQ to be ignored at all. Added test case demonstrating the issue to dev (https://github.com/cflint/CFLint/commit/c88b366a23e53ac8b4bc2079fbbb3d864c2ae6ec).
I'm not sure if there are any other places I could possibly put the @CFLintIgnore annotation :)
I noticed that all the test cases were for MISSING_VAR only - is there some dependency on a certain category of rules in the implementation of this?

Is this one all set now?

I think from the reoccured issue of CFQUERYPARAM_REQ point-of-view, yes!


testCreateUploadedFileWithString deprecated

Has of the latest version of PSR-17 UploadedFileFactoryInterface no longer accepts string but only SteamInterface. Therefore this test should be removed.
PSR-17 snipped:
    public function createUploadedFile(
        StreamInterface $stream,
        int $size = null,
        int $error = \UPLOAD_ERR_OK,
        string $clientFilename = null,
        string $clientMediaType = null
    ): UploadedFileInterface;

Thank you. This was fixed by #32

Thx!


REQUEST

Hello..i m new to GitHub community and i shall be really obliged if anyone of you could tell me how this project works...i mean the algorithm used or the idea used to check resemblance between two images. It would be a great help.

Best to have a look at the code. But basically, the code iterates over every pixel in the image (an array of values, Red, Green, Blue, Alpha for each pixel) and then compares those values to the values of the pixel at the same index in the array of the other image.  It's not a simple equality check though, it checks that the values are "close enough".  There is a subsequent check for anti-aliasing in one or both of the images, where for each pixel all immediately surrounding pixels are checked to see if they are a similar hue (to the source pixel), if a certain number of pixels are of a similar hue the pixel is discarded from the comparison because it is considered unreliable.  The anti-aliasing algorithm was developed through trial-and-error with no prior art as reference.


Ensure alignment with mod-camunda and data-import-processing-core in Nolana

https://github.com/TAMULib/mod-camunda/blob/main/pom.xml#L173
acceptance criterium: purchase order workflow

The purchase order workfllow is working successfully in Nolana


Image clipboard not working in xfreerdp 3.0.0 beta

Summary
Copied image is not being pasted to freerdp app. What is not working are the following:

Copy paste from host browser to freerdp guest app. It just paste a blank box
Copy paste from host file manager to freerdp guest app. It just paste the URL

What works?
When the app is opened from within the KVM, copying image from host browser to guest app works as expected.
 Do you mean with "guest" the client side here?

Which RDP server are you using here (MS Windows RDS on Win10/Win11, ogon, g-r-d, xrdp, ...)? Do you mean with "guest" the client side here?

updated, tested on ms windows rds on win10

@jobs-git then a log with /log-level:debug or /log-level:trace might help here.
I´ve tested this (as mentioned above) and can not reproduce, so it might help to know if there is something in the log indicating what is going on.

@jobs-git as for the first scenario, works fine here, copy from chromium or firefox to remote mspaint

@jobs-git also, looks like you already did have similar questions and we´re waiting for feedback there #7270

this is the /log-level:trace:
[21:01:37:839] [13092:00003325] [DEBUG][com.freerdp.core.heartbeat] - [rdp_recv_heartbeat_packet]: received Heartbeat PDU -> period=1, count1=8, count2=8
[21:01:39:449] [13092:00003325] [DEBUG][com.freerdp.core.heartbeat] - [rdp_recv_heartbeat_packet]: received Heartbeat PDU -> period=1, count1=8, count2=8
[21:01:41:449] [13092:00003325] [DEBUG][com.freerdp.core.heartbeat] - [rdp_recv_heartbeat_packet]: received Heartbeat PDU -> period=1, count1=8, count2=8
[21:01:43:465] [13092:00003325] [DEBUG][com.freerdp.core.heartbeat] - [rdp_recv_heartbeat_packet]: received Heartbeat PDU -> period=1, count1=8, count2=8
#heartbeat
[21:01:43:989] [13092:00003325] [DEBUG][com.freerdp.client.common.cliprdr.file] - [cliprdr_file_context_clear]: clear file clipboard...
[21:01:43:989] [13092:00003325] [DEBUG][com.freerdp.client.common.cliprdr.file] - [cliprdr_file_context_clear]: clear file clipboard...
[21:01:43:989] [13092:00003325] [DEBUG][com.freerdp.channels.channels.cliprdr.client] - [cliprdr_client_format_list]: ClientFormatList: numFormats: 2
[21:01:43:989] [13092:00003325] [DEBUG][com.freerdp.channels.cliprdr.client] - [cliprdr_packet_send]: Cliprdr Sending (42 bytes)
[21:01:43:993] [13092:0000336f] [DEBUG][com.freerdp.channels.cliprdr.client] - [cliprdr_order_recv]: msgType: CB_FORMAT_LIST_RESPONSE (3), msgFlags: 1 dataLen: 0
[21:01:43:993] [13092:0000336f] [DEBUG][com.freerdp.channels.channels.cliprdr.client] - [cliprdr_process_format_list_response]: ServerFormatListResponse
#hearbeat
[21:01:44:981] [13092:00003325] [DEBUG][com.freerdp.core.heartbeat] - [rdp_recv_heartbeat_packet]: received Heartbeat PDU -> period=1, count1=8, count2=8

I only copied the most relevant, this is right after right click copy image from Linux host browser, the clipboard context is sandwitch in between the heartbeat:
[21:01:44:981] [13092:00003325] [DEBUG][com.freerdp.core.heartbeat] - [rdp_recv_heartbeat_packet]: received Heartbeat PDU -> period=1, count1=8, count2=8

@jobs-git seriously? nice that you prefiltered the log, but you managed to eliminate everything slightly interesting to analyze.

90% of the clipboard related messages that are printed during session establishment are missing
suggest using /log-level:trace as xfreerdp only then prints details about Atom events

According to that log, there is no copy action happening (e.g. CTRL+C not pressed on either side or via some context menu -> copy (or other way to copy something to the clipboard)). The only format list that is sent here is the initial obligatory one, that is part of the CLIPRDR initialization sequence. But actual clipboard interaction is not happening, otherwise we would see that in the log here.

exactly, tnx for explaining why I cant paste the image. The clipboard interaction is not happening, now not sure what is causing this

@jobs-git well, thank you for the update.
but you still did not run with /log-level:trace which would include some details about X11 atom events

@akallabeth here is the trace log
trace.zip

@jobs-git thanks. can´t find any clipboard related events there though, which is really unexpected.
so, only option left is testing with a build with -DWITH_DEBUG_X11=ON which dumps every X11 event that happens.
if then there is still nothing I don´t know if we can help :/

Here is it with -DWITH_DEBUG_X11=ON, note that if the app is not launched via freerdp, aka, opened inside the KVM, the copy-paste function works as expected:
both /log-level:debug and /log-level:trace outputs:
debug_trace.log.zip

@jobs-git see only 2 events, and one time the number of formats is 0 the other time 2 (check for cliprdr_client_format_list) and no XGetWindowProperty events matching anything clipboard related.
can you check what is actually in the clipboard with xclip -o -t TARGETS -selection clipboard to be sure there is image data available
I´ll do a test run on my systems tomorrow, don´t have time now, but it looks like there is not data in clipboard (or no supported format)
only thing I can tell is that on my systems  (debian 12 and fedora 38 as well as various ubuntu vm) this works and I get a lot more clipboard related events from X11

here is the result of xclip -o -t TARGETS -selection clipboard
TIMESTAMP
TARGETS
SAVE_TARGETS
MULTIPLE
image/png
text/html
text/x-moz-url

@jobs-git ok, that might explain it.
in your case only image/png is announced which we do not directly map (as windows clipboard uses image/bmp or image/tiff for most stuff)
If I copy an image in firefox I have the following:
08:45 $ xclip -o -t TARGETS -selection clipboard
TIMESTAMP
TARGETS
MULTIPLE
SAVE_TARGETS
image/png
image/jpeg
image/bmp
image/x-bmp
image/x-MS-bmp
image/x-icon
image/x-ico
image/x-win-bitmap
image/vnd.microsoft.icon
application/ico
image/ico
image/icon
text/ico
image/tiff
image/webp
audio/x-riff

also, if I select some HTML and copy it:
xclip -o -t TARGETS -selection clipboard
TIMESTAMP
TARGETS
MULTIPLE
SAVE_TARGETS
text/html
text/_moz_htmlcontext
text/_moz_htmlinfo
UTF8_STRING
COMPOUND_TEXT
TEXT
STRING
text/plain;charset=utf-8
text/plain
text/x-moz-url-priv

@jobs-git fyi, same is true for chromium

What is the resolution? How do we fix it?

no, idea, check with your distro.

Should png be implemented before closing?

@jobs-git have fun patching windows ;)
aka, you can add a new format, but all client applications where you want to paste need to support it.
(there is also png mapping, but bmp is always required, if not then no image is announced)

@akallabeth Trying to understand a potential way to fix/workaround, the mapping for image/bmp and image/tiff must be done by configuring the X11 server's clipboard or would we need to add those formats to xclip and patch it in order to have it supported ? I'm sorry if this question makes no sense, I am not familiar with X11 internals, I will try and dig up some documentation on the clipboard.

@AkechiShiro what is there to fix?
just use FreeRDP 3.x and it will work (assuming you have a version that has support for these formats compiled in)
you can´t change how to transfer the image, but you can convert later on - which happens.

You are correct there is nothing to fix, I've seen that there are even tests for the clipboard for copying images and I saw code that does the conversions handling, regarding the formats compiled in, would you know which flags ?
I've tried looking in the changelog but only found this :

FUSE for file clipboard support (linux/mac os, disable with -DWITH_FUSE=OFF)

This flag may also be important :

WINPR_WITH_PNG


Upgrade issuers to cert-manager v1

Description
This upgrades the issuers in ingress apps to v1 cert manager API
Tested by installing and creting ingresses with arkade
Signed-off-by: Alistair Hey<EMAIL_ADDRESS>
Types of changes

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

Fixes #253
Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

[ ] I have tested this on arm, or have added code to prevent deployment

More than the namespace changed. There are links to details on the issue #253
You'll see a similar schema change made for the inlets docs here too -> https://github.com/inlets/docs/commit/39e997de746c8183eb360e12492139d13420d7ce

ok, i looked through and the only change in our configs is adding the selectors to the issuers

Do they apply + work after the change?

yes, works with new change of selector

Thank you


⚠ ClamAV has degraded performance

In b6db91f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 453 ms

Resolved: ClamAV performance has improved in 3472b5f.


Is start/stop VMs v2 available in China?

Some of the available regions are mentioned on the overview page, including China.

But the regions mentioned here do not include  China.

Is this article not updated in time? Or is it just this feature (Zone Redundant plan) that can't be used in China?
I'm confused, please help to confirm.
Thanks a lot.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 472a3f66-eb6d-4699-5a5d-558b69c60b4f
Version Independent ID: 9529161c-f2b8-0c5b-e62a-dcee86601d47
Content: Deploy Start/Stop VMs v2 to an Azure subscription
Content Source: articles/azure-functions/start-stop-vms/deploy.md
Service: azure-functions
Sub-service: start-stop-vms
GitHub Login: @ggailey777
Microsoft Alias: glenga

@AdamGuan13 Thanks for reaching out. We will review and update you.

@AdamGuan13 Start/Stop VMs v2 feature is available in all regions listed in Products available by region page but Zone Redundant plan is not yet available in China. As you mentioned, the available regions for this plan are listed in the doc.
I hope this answers your question and feel free to add a comment if any questions. Would be happy to assist. We will now proceed to close this request.

Got it. Thank you.


Why is AbstractValidatingBuilder.internalBuild() public?

Do we use it somewhere outside? I did not find such usages in the generated code.

This method allows to obtain the current state of a message, even if the message violates the constraints.
It is used in Transaction for two reasons:

to log an invalid Message state if its validation fails;
to feed the invalid Message state into onRollback listener.

Of course those calls are performed from outside of the AbstractValidatingBuilder package. That's why the method is marked @Internal and documented accordingly.

@alexander-yevsyukov FYI.


Read through Finnish issues

@ocrasborn I had a look, and if you're going to have a talk with Henri I would be interested in:

How he plans to do permissions.
How his user friendly batch upload system looks and works.

The other open issue I think are less relevant to us.
Also, say hi from me :) .

Will do!


False-positive validation errors when using base + slug

Describe the bug
In case of using the base configuration parameter (needed for GH Pages deployment) and explicit slug for a page, the validator fails.
To Reproduce

Set the base parameter for the site. (e.g. base: 'project')
Define a slug for a page in the Frontmatter part. (e.g. slug: reference)
Reference the page. e.g. [Reference](/project/reference/)
Run npm run build and see the validation error:

 validating links
12:05:19 [ERROR] ✗ Found 1 invalid link in 1 file.
12:05:19 ▶ project/
12:05:19   └─ /project/reference/ - invalid link

Expected behavior
The validator does not fail on such links. It works well when navigating through the UI.
How often does this bug happen?
Every time
System Info
No response
Additional Context
Stackblitz reproducible example: https://stackblitz.com/edit/github-td5cw8

Thanks for the report :raised_hands:
This should now be fixed in the version 0.12.2 that I just published.

Thank you for the quick fix 🚀


Copy the oneAPI Release Package MPI examples to this repository

Three examples have been copied to this repository. The Readme has been updated with a description about them including linking back to the Codeplay oneAPI release package documentation for NVIDA MPI for GPUs.

There's also a typo in the directory name, it's MPI instead of MIP


displayaddress displays mainnet address on testnet (Ledger Nano X)

I don't know if this is Ledger or HWI bug. It also returns the mainnet address. I happens with --desc and --path

Are you using the testnet app?
On Wed, Jun 17, 2020, 2:01 PM Sjors Provoost<EMAIL_ADDRESS>wrote:

I don't know if this is Ledger or HWI bug. It also returns the mainnet
address. I happens with --desc and --path
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bitcoin-core/HWI/issues/344, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMAFU2EYPHBUYLQVMQG56DRXEAGBANCNFSM4OA2WSTQ
.

Facepalm...


Possible error:"Could not find class 'android.graphics.drawable.RippleDrawable' ... "

Sometimes I get this error in the logs:
E/dalvikvm(10222): Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method com.getbase.floatingactionbutton.FloatingActionButton.setBackgroundCompat
Please check it out.

I have no idea how this might happen, I do not reference RippleDrawables anywhere in my code. I have also run the sample app on pre-Lollipop devices and nothing like this ever happened.
Which version of library do you use? Can you add a reproduction steps to sample app?

@chalup Oh, you are correct. I did this:
https://github.com/futuresimple/android-floating-action-button/issues/35
Can you tell me what could cause it?

The code you posted in #35 looks ok, but I didn't dig into this issue. I'll handle this issue with ripple/elevation support.

ok, sorry for this, and thank you.


3.01 - Kik - Message with multiple hero card attachments w/buttons

Due to how Kik tends to work, sending a button causes a popup. If you send a message with say 3 attachment hero cards, each with a button, then only one popup will show, and is only there temporarily.
My requirement is for the cards to link out to an external url. In v1 this was ok, I simply disabled buttons (actions) for kik and the setting of the titleLink property caused the card itself to link out to the right URL. However in V3, there is no such property, and in the case of the below code, the card links out to the image.
        var att = new builder.HeroCard(session)
            .title(myTitle)
            .text(myText)
            .images([
                builder.CardImage.create(session, myLogoUrl)
            ])
            .buttons([
                builder.CardAction.openUrl(session, myExternalUrl, myButtonText)
            ]);

        attachments.push(att);

As far as I can tell none of the other attachment types allow the card to link out to a url.

Closing this as I worked it out, apologies for any time wasted.
The answer for interested parties was to add a call to .tap(myExternalUrl) to the declaration of the hero card.

Hi @stevepkr84, can you tell how did it worked for you ? please send the syntax ?


Account for right panel like nvim-tree

I use nvim-tree on the right side, and what happens is that notifier will overlap with it, when it display notifications.
Is it possible to configure the offset from the right edge of the screen?

In lualine I'm doing this to account for the file tree:

local nvim_tree_shift = {
  function()
    local empty_space = string.rep(" ", vim.api.nvim_win_get_width(tree_view.get_winnr())
    return empty_space
  end,
  cond = require("nvim-tree").view.is_visible,
}

In bufferline (which I don't use) they do it this way:

>
    offsets = {
        {
            filetype = "NvimTree",
            text = "File Explorer",
            highlight = "Directory"
            separator = true -- use a "true" to enable the default, or set your own character
        }
    }
<

The `filetype` is used to check whether a particular window is a match, the
`text` is *optional* and will show above the window if specified.

I like this approach.
WDYT?

Hi, this indeed seems to be a concern.
As of now, the position of the UI is computed relative to the editor window (see here).
I see two paths to be taken:

either allow an offset (maybe static first) as a configuration option, to allow for this kind of behavior
allow to chose how we display the UI: relative to the editor or the current window.

The general idea though is a 100% valid, and I'll classify that as a bug.


How to trigger reload of data using v-server-table?

How do one go about reloading vue-table from parent

Assign a v-ref to the table, fetch it using this.$refs, and call the
refresh() method on it
On Apr 21, 2016 10:34 PM, "Clevon Noel"<EMAIL_ADDRESS>wrote:

How do one go about reloading vue-table from parent
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/matfish2/vue-tables/issues/37

Can you expand on this matfish2?
I am able to set av-ref on the table.  Then I click a button, it sends parent a message to run a method.  I run this code in the method:
this.$refs.file_manager.refresh()
where file_manager is the v-ref on the server table
that returns:
Uncaught TypeError: this.$refs.file_manager.refresh is not a function
Any ideas?

@matfish2 maybe put this in the options description because this is something used a lot I think. Was searching for this quite a while...

This is not an option. It is a method, which is documented in the methods section of the readme.


[WIP] Python Wrapper for FHEcontext

This PR adds a Python wrapper for FHEcontext. This turned out to be much harder than expected due to many linker issues. Python's distutils support for building C/C++ extensions is really kludgy in places and not super documented. Managed to get it working on my laptop, but lots of hardcoded paths.
Marking WIP till travis passes.

Build now functional on Linux but failing on Mac due to strange linker issues. Since none of us are developing on Mac, I'm going to just turn off the OSX build for time being. We can come back and fix this later.


Environment variable configuration for record_once

It would be nice to be able to specify a global record_once from environment variable. Something like VCRPY_RECORD_ONCE is unique enough not to conflict with anything.
Would you consider this feature?

How about something like this:
import vcr

my_vcr = vcr.VCR(
    record_mode=os.environ.get['VCR_RECORD_MODE']
)

with my_vcr.use_cassette('test.json'):
    # your http code here

I know I can do it in my code, I just believe this could be a nice feature and would integrate well with Travis for example without extra code.

But then the question is if we do it for record_once why not for other configuration options? That's why I opened the discussion on this feature.


Fix typo in scsicommands.go

fix typo occured -> occurred
Signed-off-by: vikash srivastava<EMAIL_ADDRESS>fixes: #109

Codecov Report

Merging #113 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   55.77%   55.77%
=======================================
  Files          41       41
  Lines        1533     1533
=======================================
  Hits          855      855
  Misses        621      621
  Partials       57       57

Impacted Files
Coverage Δ

pkg/smart/scsicommands.go
0% <ø> (ø)
: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 00217f8...9c00c9b. Read the comment docs.


I as Zeebe user want to set backoff timeout between failed tasks

Problem you would like to solve
I want to set up backoffs for failed tasks but via BPMN XML, as described here. We need to support it in the Camunda Modeler because it is the primary editor for Zeebe's BPMN diagrams. We are ready to take it because the BPMN API negotiated.
Proposed solution
I see the flow as something like this:

[ ] https://github.com/camunda/zeebe-bpmn-moddle/issues/42
[ ] https://github.com/bpmn-io/bpmn-js-properties-panel/issues/860
[ ] https://github.com/camunda/zeebe/pull/11339
[ ] and update the corresponding libraries and test it end to end

Feel free to correct me if you see that that could be improved :)
Alternatives considered
I can't see any decent alternatives for this task, I think that it should be implemented :)
Editing BPMN XML in the text editor, maybe 🙈
Additional context
This is for Camunda 8 a.k.a. Zeebe.

@aivinog1 Is this issue already defined (https://github.com/camunda/zeebe/issues/11101)? If not, let's consider it once it becomes actionable for us.

Closing this as the engine PR is closed.


'singleQuotes' option not applied on keys

This could be enhancement.
I thought setting 'singleQuotes' to false will make all keys as well as values string.
const logMessage = {name:'vishal'};
console.log(stringifyObject(logMessage, {singleQuotes: false}));

Actual:
{
        name: "vishal"
}

Expected:
 {"name":"vishal"}

Force-quoting object keys are out of scope of this module. The point of this module is to generate a JS object. If you need quotes keys too, you can just use JSON.stringify().

Okay.
The stringify gives double quoted keys but doesn’t stringify nested object values. I thought this package solves that issue, giving true string value.


1kb?

here it says 2.4kb not 1kb:
<EMAIL_ADDRESS>

In fact, after tree-shaking helloworld project can achieve 1kb.  1kb is our goal, but the premise is not to sacrifice readability.

In fact, after tree-shaking helloworld project can achieve 1kb.  1kb is our goal, but the premise is not to sacrifice readability.

I have to say that in the past, the algorithm of fre1 can achieve 1kb, but for fre2, I reimplemented the reconciliation algorithm, and it can’t go back to 1kb. Maybe we have to compromise on the size, 2kb is also small.

I have to say that in the past, the algorithm of fre1 can achieve 1kb, but for fre2, I reimplemented the reconciliation algorithm, and it can’t go back to 1kb. Maybe we have to compromise on the size, 2kb is also small.

I guess that's fine than :)
So all we need to do is to upgrade the readme

I guess that's fine than :)
So all we need to do is to upgrade the readme

The readme has been changed, close the issue first, until we come back.

The readme has been changed, close the issue first, until we come back.


SCRIPT ERROR: @esx_skin/server/main.lua:49: attempt to index a nil value local ('user') #34

I have a problem with this error. I can't solve this problem so I need help to solve it. I noticed that It happens due to 'esx_kashacters'. When I try to delete the 'esx_kasharacters', It works clearly.

open issue one more time = ban

Why did you close 2 times? I didn't do anything wrong. You are closing and
you don't say why. I have a problem and I'm asking to the people. I want to
solve it

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ESX-PUBLIC/esx_scoreboard/issues/35#issuecomment-609744460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APCCR3ZBFX65KYACUAQD2VLRLG6HPANCNFSM4MCGJ7CA
.

Clearly if the issue is solved by removing esx_kasharacters then the problem is with that script. It's best u contact the person that made that script and have them fix it.


Enhancement: Support binary SQL representation

Binary UUID format in SQL has much better performance than text UUID format in SQL. Could we get support for seamless binary UUID marshaling?

Can you please describe what "Binary UUID format in SQL" means and what "seamless" marshaling might look like?


Is there any way to free up memory?

I want to implement the function of switching models, but after switching the model, the memory is not released, and the memory accumulates. May I ask if there is any way to free memory?

I think that is probably working as intended if you are showing the total memory there.  See these:

https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlx/running-on-ios
https://github.com/ml-explore/mlx-swift-examples/issues/17#issuecomment-1981367931

You could try setting the cache limit to 0 and the active memory should go up and down.

I think that is probably working as intended if you are showing the total memory there. See these:

https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlx/running-on-ios
LLMEval: Memory usage mlx-swift-examples#17 (comment)

You could try setting the cache limit to 0 and the active memory should go up and down.

Is there a method to manually free memory other than cache limit?

FWIW I think this new method will do what you were asking about:

https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlx/gpu/clearcache()


Package 'autopep8' shouldn't need to be required when installing django-silk

Since autopep8 is purely for Python code formatting, the installation of autopep8 should be optional/maybe be provided via extras instead. Maybe something like pip install django-silk[dev]

django-silk supports generating a python snippet to refire a request - https://github.com/jazzband/django-silk/blob/ed3e3261af96dc054fe72b80cd567313f835515b/silk/code_generation/django_test_client.py#L44
This python snippet gets run through autopep8 so autopep8 is a runtime dependency of django-silk, not just a test dependency.


tag with semver to take advantage of bower

I took the liberty of registering this repo on bower.
Now you need only tag the repository with a valid semver version to make it available.

Fixed

Thanks


LNK1104 cannot open file x64-windows/lib/Qt5Widgetsd.lib

Describe the bug
Creating a new Qt5 project using Qt Tools for Visual Studio 2022, with Qt5 installed using vcpkg, fails to link with Qt5Wigetsd.lib
Environment

OS: Windows 11 x64
Compiler: MSVC 2019 x64

To Reproduce
Steps to reproduce the behavior:

vcpkg install qt5 --triplet x64-windows
Install Qt tools for Visual Studio 2022
Add qmake.exe from D:\dev\vcpkg\installed\x64-windows\tools\qt5\bin\qmake.exe to available Qt versions.
Create a new Qt Widgets Application
Build and run.

Expected behavior
The same setup works fine with Qt Creator (by using vcpkg-installed Qt5 instead of using Qt installer). Visual Studio should compile the Qt widgets application too.
Also, it seems Qt5Widgetsd.lib should be in the lib folder but it's missing. Only Qt5Windgets.lib is there.
Failure logs
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK1104	cannot open file 'D:\dev\vcpkg\installed\x64-windows\lib\Qt5Widgetsd.lib'	QtWidgetsApplication1	D:\projects\QtWidgetsApplication1\LINK	1

Can you please close your anti-virus then try again?
Thanks.

I disabled Windows Defender and reinstalled qt5. The library is still missing. The library is also missing from x64-linux.
Since it works when using Qt Creator, could this be a problem with VS Qt Tools instead of vcpkg?

Maybe.
 Please feel free to complain upstream about not simply accepting a qt.conf for different configurations (debug/release) but requiring an explicit qmake.exe binary in a bin directory.
D:\dev\vcpkg\installed\x64-windows\tools\qt5\bin\qmake.exe will only work with release.
for debug use
D:\dev\vcpkg\installed\x64-windows\tools\qt5\debug\bin\qmake.exe (or where ever i put the debug version; needs to have /debug in the path)
Basically you need to feed qmake and all the other tools a different qt.conf

for debug use D:\dev\vcpkg\installed\x64-windows\tools\qt5\debug\bin\qmake.exe
this solved the issue. I didn't see the debug folder earlier. Thanks a lot!


WebSession event not getting triggered

Hello all, and thank you in advance :)
I am attempting to create a trading bot, I set up a trade offer manager just like the example yet the 'webSession' event doesn't get fired.
The logged on event fires and returns an eresult of 1 which is a normal log on. I am new to steam trading bots so it could be something retarded but I feel like its all correct and the webSession event is not being fired.
Just so you know I need this event so that I can load the inventory and make offers, if there is a work around to getting the cookies I could use that but this seems like some issue.
Code:
var SteamUser = require('steam-user');
var TradeOfferManager = require('steam-tradeoffer-manager');
var fs = require('fs');

var SteamClient = new SteamUser();

var offers = new TradeOfferManager({
    steam: SteamClient,
    language: "en",
    pollInterval: 10000,
    cancelTime: 300000
});

if(fs.existsSync('polldata.json')){
	fs.readFile('polldata.json', function (err, data) {
	    if (err) {
        console.log('Error reading polldata.json. If this is the first run, this is expected behavior: '+err);
	    } else {
	        console.log("Found previous trade offer poll data.  Importing it to keep things running smoothly.");
	        offers.pollData = JSON.parse(data);
	    }
	});
}

SteamClient.logOn({
	account_name: 'xxxxxxxxxxxxxxxx',
	password: 'xxxxxxxxxxxxxxxx'
});

SteamClient.on('loggedOn', function (response) {
    console.log("Logged into Steam with result: " + response.eresult);
});

SteamClient.on('webSession', function (sessionID, cookies) {
	console.log("Got web session event:" + sessionID);
});

It's accountName, not account_name. It's logging on anonymously because you aren't passing the account name properly.


Roll engine 5aff31194809..41b371d0b0be (22 commits)

https://github.com/flutter/engine/compare/5aff31194809...41b371d0b0be
git log 5aff31194809..41b371d0b0be --first-parent --oneline
2020-03-07<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from K1wwe... to FGMpI... (flutter/engine#17007)
2020-03-07<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from 95geB... to hW33F... (flutter/engine#17006)
2020-03-07<EMAIL_ADDRESS>Roll src/third_party/skia 24a8e9e170f7..cf573d844da6 (4 commits) (flutter/engine#17004)
2020-03-07<EMAIL_ADDRESS>Started deleting .DS_Store files so licenses can run on mac os x. (flutter/engine#16998)
2020-03-07<EMAIL_ADDRESS>doxygen tooling updates and doxygen for FlutterCodecs.h (flutter/engine#16947)
2020-03-06<EMAIL_ADDRESS>[web] Engine integration test (flutter/engine#16930)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 6e58290ba639..24a8e9e170f7 (5 commits) (flutter/engine#16996)
2020-03-06<EMAIL_ADDRESS>documented fluttertexture.h (flutter/engine#16950)
2020-03-06<EMAIL_ADDRESS>fushia licenses fix (flutter/engine#16992)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia beaaf4700f50..6e58290ba639 (9 commits) (flutter/engine#16990)
2020-03-06<EMAIL_ADDRESS>remove 10s timeouts from tests (flutter/engine#16988)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 54de2fa48d85..beaaf4700f50 (3 commits) (flutter/engine#16987)
2020-03-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from cTw2C... to K1wwe... (flutter/engine#16984)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 74055566bd14..54de2fa48d85 (3 commits) (flutter/engine#16983)
2020-03-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from J6ct_... to 95geB... (flutter/engine#16982)
2020-03-06<EMAIL_ADDRESS>[web] Fixes IE11 crash due to missing canvas ellipse support and font polyfill failure (flutter/engine#16965)
2020-03-06<EMAIL_ADDRESS>Fix issue viewdidload call while init FlutterViewController (flutter/engine#16672)
2020-03-06<EMAIL_ADDRESS>[fuchsia] fix broken flows when under high load (flutter/engine#16834)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 93a2a6b8badb..74055566bd14 (2 commits) (flutter/engine#16981)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 012f8497802e..93a2a6b8badb (4 commits) (flutter/engine#16974)
2020-03-06<EMAIL_ADDRESS>fix shadows and mask filter blurs (flutter/engine#16963)
2020-03-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from cXgMr... to cTw2C... (flutter/engine#16970)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Gold has detected one or more untriaged digests on patchset 22.
Please triage them at https://flutter-gold.skia.org/search?issue=52165.

Commit queue failed; closing this roll.


Allow arbitrary "user data" in EC2 host container

As an operator there are niche cases that require me to add arbitrary user data to EC2 host instances.  This user data is typically in the form of Bash commands.
This is somewhat related to #136.

 I basically need to create a directory on the host before I mount it as a volume in docker.

@rafkhan can you elaborate on how it blocked you from the Augury stuff, and exactly what your end goal was?  I'm curious if there's another (existing) way to maybe solve that problem.


Erela.js unmaintained

Keep getting this error :
ERROR >> Node lavalink.techpoint.world had an error: Unexpected op "ready" with data: [object Object]
Erela.js is unmaintained, you should switch to a maintained library when possible

He said he doesnt want to work on the bot anymore, but you can just do "npm i Tomato6966/erela.js"

is it solved or any other similer items found


Minimum hardware requirements

What are the minimum requirements to run this in any machine project? How much RAM? Is GPU required? The processor expected?

You can even run this on a raspberry pi!
GPU is not required, I am not using it at all.


Fix inputs of kloppy.helpers.transform

The kloppy.helpers.transform method now allows changing the orientation without having to specify to_pitch_dimensions or to_coordinate_system.
The kloppy.helpers.transform method now allows that to_pitch_dimensions is specified as a PitchDimensions object
The kloppy.helpers.transform method now allows that to_coordinate_sytem is specified as a data provider string
Removes unused and duplicate code
Additional typing and typing fixes
Improved exception handling

Closes #177

Thanks a lot Pieter!
I’ll review this PR the next couple of days.


proposal: x/pkgsite: Enhancing with Markdown and Mermaid Diagram Support

Proposal Details
Introduction
This proposal suggests enhancing the Go pkgsite documentation by adding support for Markdown rendering and Mermaid diagrams. This feature aims to improve the readability and visual appeal of Go documentation, making it easier for developers to understand complex processes through graphical representations.
Motivation
Currently, the Go pkgsite supports plain text documentation, which can limit the ability to convey complex ideas effectively. By integrating Markdown and Mermaid diagrams, we can:

Enhance the clarity of documentation.
Provide visual representations of algorithms and processes.
Improve the overall user experience for developers using Go packages.

Proposed Solution
The solution involves extending the pkgsite's documentation rendering capabilities to include:

Markdown Support: Allowing developers to use Markdown syntax for formatting text, including headings, lists, code blocks, and more.

Mermaid Diagram Support: Enabling the use of Mermaid syntax to create flowcharts, sequence diagrams, and other graphical representations directly within Go documentation comments.

Implementation Details
Markdown Support

Rendering Engine: Integrate a Markdown rendering engine into the pkgsite to parse and display formatted text.
Syntax: Support standard Markdown syntax, enabling features like bold, italics, lists, and code blocks.

Mermaid Diagram Support

Diagram Parsing: Incorporate a Mermaid parser to convert Mermaid syntax within comments into rendered diagrams.
Example Integration: Developers can include Mermaid diagrams in their code comments as shown below:

package docs

// Mermaid diagram:
//
// graph TD
//     A[Start] --> B[Set baseCount to 1]
//     B --> C[Set maxCount to 100000]
//     C --> D[For each key pattern]
//     D --> E[Initialize cursor to 0]
//     E --> F{Has cursor reached 0?}
//     F -- No --> G[Scan keys with current count]
//     G --> H{Performance check}
//     H -- Fast --> I[Double count]
//     H -- Slow --> J[Halve count]
//     I --> K{Is count > maxCount?}
//     K -- Yes --> L[Set count to maxCount]
//     K -- No --> M[Continue with current count]
//     J --> N{Is count < baseCount?}
//     N -- Yes --> O[Set count to baseCount]
//     N -- No --> M
//     M --> P[Delete found keys]
//     P --> E
//     F -- Yes --> Q[Move to next pattern]
//     Q --> D
//     D --> R[End]

Rendering Example: The above comment would render as:

graph TD
    A[Start] --> B[Set baseCount to 1]
    B --> C[Set maxCount to 100000]
    C --> D[For each key pattern]
    D --> E[Initialize cursor to 0]
    E --> F{Has cursor reached 0?}
    F -- No --> G[Scan keys with current count]
    G --> H{Performance check}
    H -- Fast --> I[Double count]
    H -- Slow --> J[Halve count]
    I --> K{Is count > maxCount?}
    K -- Yes --> L[Set count to maxCount]
    K -- No --> M[Continue with current count]
    J --> N{Is count < baseCount?}
    N -- Yes --> O[Set count to baseCount]
    N -- No --> M
    M --> P[Delete found keys]
    P --> E
    F -- Yes --> Q[Move to next pattern]
    Q --> D
    D --> R[End]

Benefits

Improved Comprehension: Visual aids can significantly enhance the understanding of complex logic.
Enhanced Documentation: Markdown allows for more structured and readable documentation.
Developer Engagement: Encourages developers to document their code more thoroughly with better tools.

Conclusion
Integrating Markdown and Mermaid diagram support into the Go pkgsite will modernize Go documentation, making it more effective and engaging. This enhancement aligns with the ongoing efforts to improve developer experience and code quality within the Go community.

Duplicate of #67339


The math formula can not render

This plug is wonderful, thank you for this awesome work. I meet a problem, the latex or math can not render, such as
@startuml
skinparam handwritten true
:<math>int_0^1f(x)dx</math>;
:<math>x^2+y_1+z_12^34</math>;
note right
Try also
<math>d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math>
<latex>P(y|\mathbf{x}) \mbox{ or } f(\mathbf{x})+\epsilon</latex>
end note
@enduml

just show a normal text, Thanks!

I find that the plantuml in VSCode have the same problem, however, it provides a optional that one can  select the plantuml.jar file to render the picture.

The plantuml server is able to parse math functions only if it is working in PNG mode.

PNG Mode
SVG Mode

In Joplin select the PNG mode from the plugin settings

Then you will be able to render math functions:

Thank you, I got it.


Annotate tags with a cardinal number that represents total files that match the tag

What feature or improvement do you think would benefit Files?
I want all the tags to be annotated with a cardinal number, enclosed in a circle (or badge?), that represents how many files have been tagged with that specific tag. Much like the way Windows 10/11 shows the number of new notifications at the bottom right hand corner of the desktop. Much like many applications display notifications these days. Another example can be seen on Microsoft's "Mail" application.
A color of green on the badge could indicate everything appears legit. A red color could mean that there is a mismatch in the database of tagged files where the number of expected tagged files does not match.
Requirements

This proposal will allow users to see number of files with a selected/specific tag
This proposal will alert users to possible tag issues when there is a cardinal mismatch between expected/actual tagged files
This proposal will add consistency between applications in their approach to displaying meta-data.

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3208
Comments
No response

Thanks for the report, I've added this to the project board.

Thank you for the feedback, we'd like to learn more about your use case for displaying the count on the sidebar.

It's just meta-data. I'm sure what else I can tell you. But if you have a specific question I can try to answer it. Microsoft Mail is an example of my feature request. It tells me how many new emails you have waiting unread. Same thing with the Windows 10/11 notifications in the bottom right corner of the desktop. It tells you how many new notifications you have that are unread. That's all this feature request is. A visual cardinal number indicator telling how many files are tagged with a specific tag. So, there would be one for each unique tag displayed over the tag in the most appropriately aesthetically pleasing manner left up to the developers.

I understand what you're asking but I'm trying to understand the use case for displaying the number on the sidebar. Unlike notifications which require action, tags are just a way of organizing files, and the number of tagged items doesn't need to be displayed on the sidebar.

Who makes the decision about whether it's required or not? Its just meta-data. When you click on a file you see meta-data about the file. It's just an interesting piece of data which would be pleasing to know at times. It could be a setting which is clicked on or off at will by the end-user. Let the user decide whether it needs to be displayed or not.

I might have misunderstood the original request, I thought you were referring to the sidebar but looking at it again I see you didn't mention anything about the sidebar. You can find the count on the status bar when viewing the search results for a tag. Is this what you were looking for?

They say a picture is worth a thousand words so let me try that:

Ah, so this was referring to the sidebar. I still don't see how the meta data is important enough to always display it on the sidebar, and I'm struggling to see a use case where seeing the number helps with productivity.
I'm not trying to shoot this down, but it might help if you explain how this feature would improve your workflow when using Files. Understanding the way you use the app will help me consider this request in the proper context.

@ObiW4nKenobi


merge dynamic import foo.test.ts without export default {} leads to wrong type union

🔎 Search Terms

dynamic import

type union

no export

export {}

export default {}

🕗 Version & Regression Information

⏯ Playground Link
No response
💻 Code
reproduce.ts
async function optionalImport(id: string) {
  switch (id) {
    case 'a':
      return await import('./a.js')
    case 'a.test':
      return await import('./a.test.js')
  }

  throw new Error()
}

export { optionalImport }

a.ts
export const foo = 42

🙁 Actual behavior

When a.test.ts

import { foo } from './a.js'
describe('reproduce', () => { it('reproduce', () => { foo }) })

type is
function optionalImport(id: string): Promise<typeof import("/path/to/reproduce/a.test")>

When a.test.ts

import { foo } from './a.js'
describe('reproduce', () => { it('reproduce', () => { foo }) })
export {}

type is
function optionalImport(id: string): Promise<typeof import("/path/to/reproduce/a.test")>

When a.test.ts

import { foo } from './a.js'
describe('reproduce', () => { it('reproduce', () => { foo }) })
export default {}

type is
function optionalImport(id: string): Promise<typeof import("/path/to/reproduce/a") | typeof import("/path/to/reproduce/a.test")>

🙂 Expected behavior
When a.test.ts
import { foo } from './a.js'
describe('reproduce', () => { it('reproduce', () => { foo }) })

type is
function optionalImport(id: string): Promise<typeof import("/path/to/reproduce/a") | typeof import("/path/to/reproduce/a.test")>

Additional information about the issue
No response

You have two modules shapes here:

The one from a, which has a foo: number property
The one from a.test, which has either nothing, nothing, or a default: {} property

The "nothing" variants supertype the { foo: number } property, so the union import(...) | import(...) gets reduced to the more-general of the two (nothing)

@RyanCavanaugh
But if a.test don't have export statement, I think it should be something like Record<string, never>.
Because the only way to let ESM module have X property, is using export statement, right?

Change to a.test.mts

still get typeof import("/path/to/reproduce/a.test")

instead of  something like  {foo: 42} | Record<string, never>.

That would be a very bad type; given x: Record<string, never> you can write nonsense like Math.sin(x.foo) without error

https://github.com/typescript-eslint/typescript-eslint/blob/609a0003663e0409f1d277a3f7649d17b98b5cdb/packages/eslint-plugin/src/rules/ban-types.ts#L101
Quote recommendation from @typescript-eslint/ban-types

If you want a type meaning "empty object", you probably want Record<string, never> instead.

The TypeScript maintainers have a... let's say... contentious relationship with the ban-types rule, specifically the part about it banning {}
Either way, Record<string, never> doesn't mean "empty object", regardless of what eslint recommends.  It actually means "object where accessing any property throws an exception".  Reading a property from an empty object doesn't give you a value of type never (i.e. an exception), it gives you undefined.

But, compared with {} which means any-alike, Record<string, never> seems to be yet the most correct type, to describe empty-object, maybe say always-zero-key-object, which describe an ESM module without any export statement.

If you want a type meaning "empty object", you probably want Record<string, never> instead.

The typescript-eslint maintainers are uncharacteristically super wrong about this. { } is a valid type with a valid meaning and it's just wrong for them to ban it. Unfortunately we haven't had much luck changing their minds.

👋 typescript-eslint maintainer here. The ban-types rule's default options were formed many years ago when TypeScript had less fleshed out rules around {}, object, and related. If there's evidence that the rule's options are now and/or always were wrong about something, we'd happily take an issue to improve them. The dev lead for TypeScript saying the rule is super wrong is pretty compelling evidence. 😄
Also looking at https://github.com/typescript-eslint/typescript-eslint/pull/5018#issuecomment-1132380660:

There's just a lot of confusion likely to come down the road on this specific ban in general, since we're likely to change the definition of NonNullable to T & { } in 4.8, and are already in 4.8 going to change the default narrowing rules such that a truthy narrowing of a value of an unconstrained type parameter becomes T & { }. Having typescript-eslint, out of the box, ban you from writing a type that TypeScript itself is inferring under totally normal operation, is awkward.

TypeScript did in fact ship the change to make type NonNullable<T> = T & {}; in #49119 -along with a host of other {} improvements- I'd wager that there's even more evidence we should revisit the ban.
Three related issues on our side:

https://github.com/typescript-eslint/typescript-eslint/issues/5947: the most recent example I know of around making the rule move away from Record<string, never>
https://github.com/typescript-eslint/typescript-eslint/issues/8697: sparked by Ryan generally referencing ban-types and {} vs. Record<string, never>
https://github.com/typescript-eslint/typescript-eslint/issues/8700: sparked by this discussion too

For context: typescript-eslint is a separate maintenance team from TypeScript. Our opinions can sometimes fall out of sync with TypeScript best practices because we -like many independent open source projects- generally only take action in response to user prodding. We haven't been prodded about ban-types (that I know of) in quite a while. If there's anything ban-types or any other rule is doing that's out of sync with how TypeScript is meant to be, and TypeScript's handling of that rule's area has changed since the last time that rule was discussed, we'd happily take an issue prodding us to change. ❤

As far as I see, maybe should split empty object type into another issue, if needed, as there are now two issue?
@JoshuaKGoldberg

The original issue is
Actual
ESM X.test which have zero export statement, is actually super type of ESM X which have at least one export statement
Expected
ESM X.test which have zero export statement, should be sub type of ESM X which have at least one export statement

There's no type in TypeScript that means "a type that is guaranteed to be completely empty" because TypeScript doesn't have sealed/exact types


Set default evidence project/zone values based on server config

Right now the GoogleCloudDisk and GoogleCloudDiskRawEmbedded evidence types require the zone and project to be passed in.  We should set these to the values used by the server by default since Turbinia doesn't currently have a way to copy from other zones/projects by itself anyway.

Fixed in https://github.com/google/turbinia/pull/427


Profile Card added

I have added my profile card. Please review it and guide me if any changes needed

@Ashish-khanagwal Thank you for your valuable contribution. As I found, they(Hacktoberfest) are verifying the code in the PR so I recommend that you add your code to a "code folder" as well to avoid any consequences (your code should be in a folder named after you). Sincerely apologize for the inconvenience.


Add  button on noneResultsText

I am using data-live-search = "true"
And its working perfectly.
I need something like, when noneResultsText is returned, to append button on that, that will add that new result(that is not in options)  as new option
Is it possible ? :)
And is it possible to have click event on start of opening select.
I wont to populate select when click is fired.
Populate it by ajax. That may be slow, i don't know yet
I can add 'open' class and open select, but i need event when is clicked  on that DIV mask.
I am not shure how smart is to manualy trigger change event on select

i use noneResultsText to add button link and create function for on click
 $('.selectpicker').selectpicker({
  noneResultsText: 'I found no results  Add New Client'
});

Closing this in favor of #990. While slightly different functionality, it will be easy enough to implement both at the same time.

i use noneResultsText to add button link and create function for on click
 $('.selectpicker').selectpicker({
  noneResultsText: 'I found no results  Add New Client'
});

Your idea really helped me
Here is my code
$('.selectpicker').selectpicker({
			  noneResultsText: 'No result found <button class="btn btn-light" onclick=(add_opt(this))>Add new option</button>'
		});

	function add_opt(event){
		var value = $(event).parents('div').siblings('.bs-searchbox').find('input').val();
		$(event).parents('div').siblings('.selectpicker').append($("<option></option>").text(value)).val(value);
		$('.selectpicker').selectpicker('refresh');
	}


Custom Wheel not showing tabs

So I've created the new custom folder and added the config.ini file with everything it needs, but when I click on “Reload custom wheels” I don't get any new tabs.
I'm using the latest pre-release version of gw2 radial → Version 2.3.0 Pre-release 8
Any work around to this ?

What does your folder structure look like? Each custom wheel needs to be in its own folder within the "custom" folder, e.g. custom/My_Wheel/config.ini


Leaks

Our project have used Alamofire, but i find some leaks when i use Instruments to test our project.

Can you be more specific? There are some known leaks that show up that are false positives (some of which are fixed in Xcode 8.3 / Swift 3.1), but unless you provide a detailed report there's nothing we can do here. What versions of Xcode, Swift, and OS are you using? Can you post the leak report?

I'm closing this issue for now. If you can provide some documentation for this issue, I'll gladly reopen it.


A feature request?

Hi! I would like to use the custom buttons located on my Behringer WING board to trigger functionality through Companion...like H2R or OBS Studio etc. But to receive OSC commands from the WING seems to be impossible in the current implementation - so that is my feature request.
Best Regards
Anders

I believe you'll need to setup the buttons as MIDI outputs and have a program to handle the MIDI inputs on your USB connected PC to use the buttons for anything outside the console.

Anders, I am working on this very thing.  Triggering companion buttons via custom buttons on the WING.  I believe the right module is midi relay together with your Wing connected to a computer (ideally the same computer running companion, but shouldn't need to be) via USB.  In my case, I can successfully see Midi CC commands over USB on Win 11 using Midi View.  I have not gotten Midi Relay up and running in Companion yet.


feat: Extract references in code with AST

Description
Parsing the code with AST and getting better support of extractions instead of regex
Fixes #2435
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Jest

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: feat/ast-reference-extraction

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
54.87 (0.07)
36.6 (0.05)
33.57 (0.12)
55.41 (0.07)

:red_circle:
app/client/src/sagas/PostEvaluationSagas.ts
17.36 (-0.25)
0 (0)
0 (0)
21.19 (-0.36)

:green_circle:
app/client/src/utils/DynamicBindingUtils.ts
89.93 (0.07)
83.54 (0)
78.26 (0)
88.55 (0.09)

:red_circle:
app/client/src/workers/DataTreeEvaluator.ts
81.23 (-0.7)
63.24 (0.1)
80 (0)
80.68 (-0.77)

:sparkles: :new:
app/client/src/workers/ast.ts
93.75
71.43
100
93.42

:sparkles: :new:
app/client/src/workers/constants.ts
100
100
100
100

/ok-to-test sha=6346db5

/ok-to-test sha=f4ccc10


Weaver Fabric Driver changes for events

Changes address (pertaining to Fabric Driver):

Event subscription
Event unsubscription
Event listing

Subscription addressed from these issues #270 @271


backup from 3.6.5 not working in 3.7.0

Checklist

[X] I am able to reproduce the bug with the latest version.
[X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
[X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
[X] This issue contains only one bug, that only occurs in Squawker

Affected version
3.7.0
Steps to reproduce the bug

install V3.6.5 and do a backup
try to import it in V3.7.0
doesn't import

Expected behavior
import all the subscriptions and saved posts
Actual behavior
doesn't import anything
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
the backup works with previous versions of squawker, I think it's 3.6.4 / 3.6.3 anyway I think it is the last version from 17.01.2024 (date of the backup that works) the backup made within 3.6.5 can be imported successfully in 3.6.5 but not in 3.7.0 and it doesn't even give me the check that data was imported successfully. I'm not a fan of the new account method since I think it makes it less privacy oriented app because you need a X account now while on the other versions you don't need any account to browse twitter.

Without giving any details, can you show the structure of the file you are trying to import in version v3.7.0?
As for the new account method, using regular Twitter/X account, I'm not a fan also but unfortunately this is now enforced by Twitter/X API since it is not possible to create guest accounts anymore.

@j-fbriere

kinda hard to look into that wacky backup structure and remove my personal data, I'm gonna do that tho when I have the time and let you know

You could view this "wacky backup structure" with a Json File Viewer app.
You could install one from Play store in your device.
I just installed Json File Viewer Reader Editor on my device and selected a Squawker exported file, took a screen shot and it looks like this (there is no personal info at the first level of the Json tree):

Could you show me how your file looks at the first level of your Json file?

Oh, thanks, this is the structure of the json I can't import in V3.7.0 or V3.7.1 now.

looks like mine has guest account instead of twitter token so this might be an issue in not loading the backup correctly

The version v3.7.2 fixes this issue.

yes 👍 :))


Ability to show Discrepancies / Unknown / Unaccounted entities

When there are two sets of values in two columns sourced from separate sensors, it is inevitable that there will be discrepancies.
For example, if I have my own calculations of the estimated total energy use and also have the smart meter reading from my electric company, the two values will likely not add up. It will be helpful sometimes to have the ability to show that discrepancy as a branch without the need to create another template sensor for that discrepancy.
Describe the solution you'd like
It would be probably be something along the lines of...
sections:
  - entities:
      - entity_id: sensor.total_energy_use_on_fossil_fuel
        name: Fossil Fuel
        children:
          - sensor.total_energy_use
      - entity_id: sensor.total_energy_use_on_renewables
        name: Renewables
        children:
          - sensor.total_energy_use
  - entities:
      - entity_id: sensor.total_energy_use
        name: Est. Total
        children:
          - sensor.a_plug_smartenergy_metering
          - sensor.d_plug_smartenergy_metering
      show_discrepancies: true
      discrepancies_name: Unknown Appliances
  - entities:
      - entity_id: sensor.a_plug_smartenergy_metering
      - entity_id: sensor.d_plug_smartenergy_metering

Describe alternatives you've considered
The alternative is to create template sensors of all the discrepancy values, which is a workable solution, but sometimes feel redundant. Besides, it wouldn't work if the discrepancy is sometimes a negative number.
Thank you! The chart looks awesome😁

I have actually been thinking about this since the beginning but it is not a priority.
It would be useful to show an 'Other' branch even if it not a discrepancy but just consumption/generation which is not monitored with a sensor.
I am still not 100% confident in the size calculations in order to do this but once these are stable it would be a cool feature indeed.

added in v0.6.0

I don't seem to be able to get this working correctly:
type: custom:sankey-chart
show_names: true
height: 300
round: 2
wide: true
sections:
  - entities:
      - entity_id: sensor.energy_from_grid_daily_peak
        name: Grid Peak Energy Used
        color: '#488fc2'
        children:
          - sensor.energy_imported_daily_total
      - entity_id: sensor.energy_from_grid_daily_offpeak
        name: Grid Offpeak Energy Used
        color: '#2f5f82'
        children:
          - sensor.energy_imported_daily_total
      - entity_id: sensor.energy_inverter_daily
        name: Solar Energy Produced
        color: '#ff9800'
        children:
          - sensor.energy_to_grid_daily
          - sensor.self_solar_consumption_daily
  - entities:
      - entity_id: sensor.energy_imported_daily_total
        name: Daily Imported Total
        children:
          - sensor.energy_consumed_daily_total
      - entity_id: sensor.self_solar_consumption_daily
        name: Self Consumed Solar
        color: '#ff9800'
        children:
          - sensor.energy_consumed_daily_total
      - entity_id: sensor.energy_to_grid_daily
        name: Solar Energy Exported
        color: '#8353d1'
  - entities:
      - entity_id: sensor.energy_consumed_daily_total
        name: Total Energy Used
        color: '#488FC2'
        remaining: Unmonitored
        children:
          - sensor.bar_fridge_daily_energy
          - sensor.cinema_av_daily_energy
          - sensor.comms_rack_daily_energy
          - sensor.dishwasher_daily_energy
          - sensor.electronics_bench_daily_energy
          - sensor.fridge_daily_energy
          - sensor.energy_downstairs_heat_pump_daily
          - sensor.energy_hot_water_daily_peak
          - sensor.energy_hot_water_daily_offpeak
          - sensor.led_table_daily_energy
          - sensor.lounge_av_daily_energy
          - sensor.lounge_dehumidifier_daily_energy
          - sensor.electric_blanket_daily_energy
          - sensor.mechanical_bench_daily_energy
          - sensor.pc_monitor_daily_energy
          - sensor.rack_fan_daily_energy
          - sensor.rumpus_dehumidifier_daily_energy
          - sensor.spb_electric_blanket_daily_energy
          - sensor.cinema_subwoofer_daily_energy
          - sensor.energy_upstairs_heat_pump_daily_peak
          - sensor.energy_upstairs_heat_pump_daily_offpeak
          - sensor.washing_machine_daily_energy
  - entities:
      - entity_id: sensor.bar_fridge_daily_energy
        name: Bar Fridge
        color: '#039BE5'
      - entity_id: sensor.cinema_av_daily_energy
        name: Cinema AV Gear
        color: '#039BE5'
      - entity_id: sensor.comms_rack_daily_energy
        name: Comms Rack
        color: '#039BE5'
      - entity_id: sensor.dishwasher_daily_energy
        name: Dishwasher
        color: '#039BE5'
      - entity_id: sensor.electronics_bench_daily_energy
        name: Electronics Bench
        color: '#039BE5'
      - entity_id: sensor.fridge_daily_energy
        name: Fridge
        color: '#039BE5'
      - entity_id: sensor.energy_downstairs_heat_pump_daily
        name: Downstairs Heat Pump
        color: '#039BE5'
      - entity_id: sensor.energy_hot_water_daily_peak
        name: Hot Water (Peak)
        color: '#039BE5'
      - entity_id: sensor.energy_hot_water_daily_offpeak
        name: Hot Water (Offpeak)
        color: '#039BE5'
      - entity_id: sensor.led_table_daily_energy
        name: LED Table
        color: '#039BE5'
      - entity_id: sensor.lounge_av_daily_energy
        name: Lounge AV Gear
        color: '#039BE5'
      - entity_id: sensor.lounge_dehumidifier_daily_energy
        name: Lounge Dehumidifier
        color: '#039BE5'
      - entity_id: sensor.electric_blanket_daily_energy
        name: Master Bedroom Elect Blanket
        color: '#039BE5'
      - entity_id: sensor.mechanical_bench_daily_energy
        name: Mechanical Bench
        color: '#039BE5'
      - entity_id: sensor.pc_monitor_daily_energy
        name: PC Monitor
        color: '#039BE5'
      - entity_id: sensor.rack_fan_daily_energy
        name: Rack Fan
        color: '#039BE5'
      - entity_id: sensor.rumpus_dehumidifier_daily_energy
        name: Rumpus Dehumidifier
        color: '#039BE5'
      - entity_id: sensor.spb_electric_blanket_daily_energy
        name: Spare Bedroom Elec Blanket
        color: '#039BE5'
      - entity_id: sensor.cinema_subwoofer_daily_energy
        name: Subwoofer
        color: '#039BE5'
      - entity_id: sensor.energy_upstairs_heat_pump_daily_peak
        name: Upstairs Heat Pump (Peak)
        color: '#039BE5'
      - entity_id: sensor.energy_upstairs_heat_pump_daily_offpeak
        name: Upstairs Heat Pump (Offpeak)
        color: '#039BE5'
      - entity_id: sensor.washing_machine_daily_energy
        name: Washing Machine
        color: '#039BE5'

Now that I think about it, this should actually be an error or working

Other is working here, but is displayed wrongly:

Or is this the planned way?

this doesn't look planned at all :)

@tomlut  try v0.6.1 . it should work with the config you posted

Still the same. The calculated difference is way off:

I did clear my browser cache.

Found the problem. It was the conversion from kWh to Wh. Fixed in v0.6.2

Yep all good now. Thanks.


Webpack problem - Cannot resolve module 'videojs'

Description
I am using webpack with babel es2015 loader and getting a compile error due to the AMD import in videojs.record.js.
Seems to be related to #123.
Steps to reproduce
(after installing recordrtc, videojs and videojs-record via npm)
index.js
require('recordrtc');
const  videojs = require('video.js');
require('videojs-record');

const player = videojs('auth-video-player', {
  // video.js options
  controls: true,
  loop: false,
  width: $('#auth-video-container').width() || 320,
  height: $('#auth-video-container').height() || 240,
  plugins: {
    // videojs-record plugin options
    record: {
      image: false,
      audio: true,
      video: true,
      maxLength: 5,
      debug: true
    }
  }
});

// error handling
player.on('deviceError', function() {
  console.log('device error:', player.deviceErrorCode);
});

player.on('error', function(error) {
  console.log('error:', error);
});

// user clicked the record button and started recording
player.on('startRecord', function() {
  console.log('started recording!');
});

// user completed recording and stream is available
player.on('finishRecord', function() {
  // the blob object contains the recorded data that
  // can be downloaded by the user, stored on server etc.
  console.log('finished recording: ', player.recordedData);
});

I have tried with and without the ProvidePlugin with no change in results:
webpack.config.js
plugins: [
  new webpack.ProvidePlugin({
    $: 'jquery',
    jQuery: 'jquery',
    'window.jQuery': 'jquery',
    videojs: 'video.js',
    'window.videojs': 'video.js'
  }),
]

Results
Expected
It should be able to import the video.js dependency which has already been required.
Actual
webpack cannot compile due to module error.
Error output
webpack error
Module not found: Error: Cannot resolve module 'videojs' in [...]/app/node_modules/videojs-record/src/js

Additional Information
I'm able to compile successfully by changing line 6 of video.record.js to reference video.js instead of videojs, which is the name of the package in node_modules. However, I get a console error in the browser when I try to enable the video:
device error: ReferenceError: MRecordRTC is not defined
    at subClass.setup (main.js:79422)
    at constructor.onDeviceReady (main.js:80035)

I'm requiring RecordRTC before video.js and videojs-record so not sure why this is happening here.
versions
videojs
5.16.0 (latest on npm)
browsers
Chrome 56
OSes
Mac OSX 10.12.3

I was able to resolve the issue by using CDNs for the dependencies (not ideal):
<script src="https://cdn.WebRTC-Experiment.com/RecordRTC.js"></script>
<script src="https://vjs.zencdn.net/5.11/video.min.js"></script>

Another option is to add
    new webpack.ProvidePlugin({
        videojs: 'video.js', 'window.videojs': 'video.js',
        RecordRTC: 'recordrtc', 'window.RecordRTC': 'recordrtc'
    }),

in plugins section in webpack config ( , plugins: [ ... ], )

There's a webpack tutorial in the wiki now: https://github.com/collab-project/videojs-record/wiki/Webpack

Works fine for me with resolve: {alias: {videojs: 'video.js'}}
Thanks for the tutorial

@jonathanfallon Please help me where I need to keep that resolve? is it in video-record.js? am also facing the same issue

@phanikumarballa see https://github.com/collab-project/videojs-record/wiki/Webpack#webpack-config


MongoDB - Impossible to connect without admin privileges

On connect, DBeaver executes a show dbs request in the form of either db.adminCommand('listDatabases') or db.getMongo().getDBNames(), but both of these require admin privileges, which results in the connection attempt failing.

Thanks for report! That was very helpful. I knew there were problems with authentication in Mongo but I didn't realize that's because of admin commands.

No, thank you!  I am seeing a lot of discrepancies with the Mongo behaviour versus other connections, so far I have only filed the major ones, is it helpful if I file the others as well? (and is this the right spot to be filing them)

It will be helpful, definitely.
But it doesn't make sense to report minor issues because that'll distract
from serious problems.
Mongo and Cassandra extensions are poorly tested. There should be many
major issues.
Last months I'm not using none of them in my daytime job so they looks a
bit abandoned.
2015-12-18 0:07 GMT+03:00 codebling<EMAIL_ADDRESS>
No, thank you! I am seeing a lot of discrepancies with the Mongo behaviour
versus other connections, so far I have only filed the major ones, is it
helpful if I file the others as well? (and is this the right spot to be
filing them)
—
Reply to this email directly or view it on GitHub
https://github.com/serge-rider/dbeaver/issues/121#issuecomment-165582342
.

--
Thanks,
Serge Rieder
mail<EMAIL_ADDRESS>web: http://jkiss.org

That's what I figured. Mongo seems useable but is definitely lacking a lot functionality compared with the SQL connections supported by DBeaver, so a lot of the things I'm noticing fall in the grey area between issues and features. I will file them here and in the worse case these issues can be closed as "won't fix".


dcp: Restore UID/GID after setting with --uid/--gid

When --uid or --gid is used, MPI_Init() is called as the original user. The original uid/gid is not being restored prior to calling MPI_Finalize(), which leads to cleanup issues.
Resolves #585.

I'm not sure who I should ask to take a look so taking some guesses based on previous PRs: @ofaaland @gonsie

I'm not sure who I should ask to take a look so taking some guesses based on previous PRs: @ofaaland @gonsie

Thanks Blake, I'll look

Thanks @bdevcich for debugging this! I have just one nit.

It was my bug, so I felt obligated! 😄

Hi @bdevcich can you squash these commits and re-push?  Thanks

@ofaaland done!

@ofaaland can you merge? I don't have permission to do so.

@ofaaland can you merge? I don't have permission to do so.

Odd, I thought I already had.  I'll try again.

@bdevcich there you go.  Thanks again!


Persist search results in workspace when closing/re-opening

I have tried to look around, and can't seem to find any other requests for this. What I'd like is for VS Code to save the global search results in a workspace after closing. So that when you re-open it will present you with the same results, and at the same position you were previously.
My use-case for this:
I'm currently working on a project to review all of the translatable strings in a web application for grammar, capitalization, etc. I search VS Code for a function, and it returns a little over 3,000 results. As I look through all the items I can dismiss them, and remove from the search results. If I close VS Code, it will remove all the results, and I'll have to start over, or remember at which file I left off at. Or I suppose I can just make sure I don't close out and restart my computer until I finish.
I can't simply export the results, because there's a lot of other code in there and syntax highlighting is useful, plus I often need to know the context of where the string occurs which may be on the previous line to the result.
This is a single most extreme example, but there are also lots of other times where I'd like to just be able to continue where I left off.

@roblourens , Is this something I can take up ?
Please help me if you think yes :)

I don't want to do this now. A naive approach could use quite a lot of space. I'd rather keep it open for feedback or 👍s.

This will hopefully be solved by being able to get search results in a text format in the editor, where you will be able to save them and still navigate after restoring them.


Force update of zha remotes to make automation easier

Description:
Because these are "remotes" and not true switches each button press should result in a state change. This may not be necessary once zha supports groups.
addresses: https://github.com/zigpy/zigpy/issues/55

This is because a button/remote is represented as a binary sensor, that's wrong to begin with. Those should be converted to just fire events by the zha.py component and not be entities.

@ballob I’m willing to fix the issue. Can you provide any guidance? Or is there a particular platform that has an example of how you expect this to be implemented? I understand that the implementation isn’t correct (I was kinda confused myself when I initially saw it) but I’m unsure of how to have a component that fires events without a backing entity.

I don't know how zha works, so I can only give you global guidance:
The logic should live components/zha.py. Listen to zha to when the button is pressed. When pressed, run hass.bus.fire('zha.button_pressed', { 'node_id': 'some_node_id' })

@dmulcahey I use xiaomi switches with the xiaomi_aqara component.  The switch will show up as a binary_sensor but that doesn't serve a purpose.  All of my automations are based off the events that are sent to HA.  deconz also does things in a similar fashion too.

@balloob can you take a peek at https://github.com/home-assistant/home-assistant/pull/14902 and let me know if this is headed in the right direction? Thanks!


bug(): Multiselect missing right icon like select

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Multiselect is missing the right arrow icon similar to select:

Expected Behavior

Steps To Reproduce
Multiselect: https://www.blazor.zone/multi-select
Select: https://www.blazor.zone/select
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response

@eramosr16 hi. this is not a bug it's by design.

Sorry perhaps the word "bug" is misleading, I'll try to make it work on my side, thanks for adding my as contributor, sometimes I missed some tests in my pr due to time constraints, I hope you understand.
From the user perspective visually MultiSelect is like a Select, so we need to signalize to the user that he had to click and select things similar to what we had on the Select component and also to be consistent on the UI.
I'll create a PR to address this. Thanks


Add support for replaceOne

Resolves #24

Coverage increased (+0.04%) to 96.675% when pulling f5f78a36171aa2f8219a4c2bdd56b17887a2787c on ttacon:trey/add-support-for-replace-one into 90dd80bd1cfe812be0746ce99f6ec15a886f15d5 on saintedlama:master.

Any thoughts on this PR @saintedlama ?

Any updates on this @saintedlama

Added documentation to the README.


automatically set default env in a project without manually selecting

there could be a feature that set the env to default if there's only one env config.
for example in the config http-client.env.json below, there is only one env defined, so the plugin can be smart enough to set dev as default env
{
  "dev": {
    // ...
  }
}

I do not find the feature useful. No environment is a valid environment for me (my default with local settings). Another point is that I want to minimize resource usage. I would have provided different alternatives that also achieve your desired behavior.

use setting httpyac.environmentSelectedOnStart
use .env instead of Intellij Config Files
add a custom plugin using .httpyac.js which automatically sets your default environment, if it is not set

module.exports = {
	configureHooks: function (api) {
		api.hooks.parseEnd.addHook('set_env', function (context) {
			if (!context.httpFile.activeEnvironment || context.httpFile.activeEnvironment.length === 0) {
				context.httpFile.activeEnvironment = ['dev']
			}
		});
	}
}


[Event Change] Codeunit 12 "Gen. Jnl.-Post Line", OnBeforeDeferralPosting

Please change the AccountNo parameter to 'var' so that we can update the value from the event, without having to set IsHandled to true and duplicate code.
Current definition:
    [IntegrationEvent(false, false)]
    local procedure OnBeforeDeferralPosting(DeferralCode: Code[10]; SourceCode: Code[10]; AccountNo: Code[20]; var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var IsHandled: Boolean)
    begin
    end;

Requested definition:
    [IntegrationEvent(false, false)]
    local procedure OnBeforeDeferralPosting(DeferralCode: Code[10]; SourceCode: Code[10]; var AccountNo: Code[20]; var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var IsHandled: Boolean)
    begin
    end;

Reference: https://github.com/microsoft/ALAppExtensions/issues/11254
Reference: https://github.com/microsoft/ALAppExtensions/issues/16062
Example subscriber:
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Gen. Jnl.-Post Line", 'OnBeforeDeferralPosting', '', false, false)]
 local procedure OnBeforeDeferralPosting(DeferralCode: Code[10]; SourceCode: Code[10]; AccountNo: Code[20]; var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; var IsHandled: Boolean);
 var
     rlVATPostingSetup: Record "VAT Posting Setup";
 begin
     if DeferralCode <> '' then begin
         if not Balancing then begin
             IF GenJournalLine."VAT Calculation Type" = GenJournalLine."VAT Calculation Type"::"Full VAT" THEN BEGIN
                 rlVATPostingSetup.GET(GenJournalLine."VAT Bus. Posting Group", GenJournalLine."VAT Prod. Posting Group");
                 rlVATPostingSetup.TESTFIELD(rlVATPostingSetup.XXX_ProrateFullVATPurchAcc);
                 AccountNo := rlVATPostingSetup.XXX_ProrateFullVATPurchAcc;
                 //PostDeferral(GenJournalLine, AccountNo); //Impossible from eventsubscriber
                 //IsHandled := true;
             END;
         end;
     end;
 end;

We are currently with an OnPrem-Italy-18.5 Instance
Thanks

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


Data formatting broken on datatable

Bug Description
Severity

[ ] Medium - I'm able to use Evidence, but a feature I need to use is not working

Steps To Reproduce
Let us know the steps we can take to reproduce the issue you're seeing. Sample data helps speed up the process of reproducing.

Create a MD file as follows

<DataTable data={income_vs_rent}/>

```income_vs_rent
select 'Location A' as geo_location, 371 as median_rent_usd, 12279 as income_per_capita_usd  union all
select 'Location B' as geo_location, 1434 as median_rent_usd, 33882 as income_per_capita_usd  union all
select 'Location C' as geo_location, 698 as median_rent_usd, 26386 as income_per_capita_usd  union all
ORDER BY geo_location ASC```

Expected: First row DataTable shows income_per_capita as $12.0k
Actual:  First row DataTable shows income_per_capita as $12,279
Note that the formatting shows up correctly on the query viewer table.

It turns out I missed adding the columnUnitSummary to the formatValue call in DataTable. Should be a straightforward fix, but will double check to make sure that adding it back in doesn't negatively affect any non-numeric types or the search functionality.

Fixed by #624


Added option to validate any phone locale

This PR will add locale option 'any'. It will pass if any of the given mobile phone locales are valid. I find it very useful in situations where users can insert just a phone number regardless of locale.

Coverage remained the same at 99.129% when pulling df8e0701ff491d5eb4ebfbea90c18b763845b55a on RichieRock:master into fb2ae42df7925117749971e8ce10317791135736 on chriso:master.

Coverage decreased (-0.2%) to 98.957% when pulling 5773c0e409bda56887971d51aa466d913edd64a8 on RichieRock:master into fb2ae42df7925117749971e8ce10317791135736 on chriso:master.

Could you add a test case and also make a note in the README? Thanks.

@chriso I have added tests for 'any' locale. There is also a note in README. For maintainability, I moved all valid/invalid phonenumbers in the tests into their own variables and use them when testing 'any' argument.

Perfect. Thanks!

Thanks! When will you do a new minor release which would include this?

Probably not for a little while since I just tagged 7.1.0.


adding debounce to watch prop of renderless data components

I'm creating a pull request soon for this, just wanted to inform you and also ask if should I go for debounce instead of debounceWatch name for the new prop ? I'm going for debounce myself because I think the component doesn't fetch again without watch prop, right ?
new prop is going to accept number in milliseconds and use lodash's debounce
It's pretty much straightforward. but also I didn't see any test for the watch prop of renderless component, so I didn't write any tests either
any thoughts will be appreciated.

actually, I go for debounceWatch , since it may confuse the behaviour of normal usage without the watch property


[Suggestion] command placeholder

add placeholder to command system
placeholder will  be replaced to Bukkit.getWorlds()

I added a better system than you wanted, you can create your custom placeholder in command class.
https://github.com/hakan-krgn/hCore/commit/cf454601961c417ed22e9ef2b91e0b60f90f8686
Example usage:
@BaseCommand(
        name = "eco",
        usage = "/eco",
        description = "Eco command"
)
public class EcoCommand {

    @SubCommand(
            args = {"set", "<%player%>", "<%amount%>", "deneme"},
            permission = "test.command",
            permissionMessage = "You don't have permission to use this command!"
    )
    public void testCommand(Player player, String[] args) {
        player.sendMessage("test command");
    }

    @Placeholder(
            name = "player"
    )
    public List<String> getPlayers() {
        List<String> players = new ArrayList<>();
        for (Player player : Bukkit.getOnlinePlayers())
            players.add(player.getName());
        players.add("hakan");
        return players;
    }

    @Placeholder(
            name = "amount"
    )
    public List<String> getAmount() {
        List<String> amounts = new ArrayList<>();
        amounts.add("100");
        amounts.add("200");
        return amounts;
    }
}