[NETBEANS-1074] Module Review web.jsf.editor

Mavenization of jsf-api-docs.zip to javax.faces-api-2.0-javadoc.jar
Added CDDL-1.1 license for javax.faces-api-2.0-javadoc.jar instead of CDDL-GPL-CP2
Added licenseinfo.xml file for graphic files

Could you please explain the reason to post-process the javadoc file? From a first glance the file from maven central contained more documents, but they are not stripped.

Could you please explain the reason to post-process the javadoc file? From a first glance the file from maven central contained more documents, but they are not stripped.

The new jar from maven central contained many more documents than jsf-api-docs.zip (which only contained the javadoc), so while generating the new generated-jsf-api-docs-2.0.zip, I wanted to mimic the old jsf-api-docs.zip as much as possible. So, I removed all the extra files that were present in javax.faces-api-2.0-javadoc.jar. Which extra files do you see in the generated zip that are not yet stripped?

Sorry - I misread your approach (I overlooked, that you used a different base dir for the new zip). The approach is sound.
One slight nitpick: Could you please move the jsf_editor_api_location into the build dir? That way all temporary artifacts are there. You can also drop jsf_editor_api_target_location if you directly build the zip file without copying files. The zip task can handle excludes itself and supported embedded filesets.

One slight nitpick: Could you please move the jsf_editor_api_location into the build dir? That way all temporary artifacts are there. You can also drop jsf_editor_api_target_location if you directly build the zip file without copying files. The zip task can handle excludes itself and supported embedded filesets.

@matthiasblaesing , You're right. We can drop the jsf_editor_api_target_location and directly build the zip file without copying the files. I have done that and moved the jsf_editor_api_location into the build dir in the latest commit.

Than you Sarvesh. Merging.

I screwed the merged - it should have been a squashed before. Sorry.


Adds metrics framework documentation

Description
Describe what this change achieves.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
Closes https://github.com/opensearch-project/documentation-website/issues/6338
Checklist

[ x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta please take a look.

@Naarcha-AWS and @reta thanks for your help here.


Cannot deploy onto synology - db error

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I am using the Marius guide for installation on my 920+ but I always hit this same error since Jan, so now that dev seems like it is alive again I thought I would try again, but the error is the same.
Expected Behavior
Install stack would deploy in docker
Steps To Reproduce
create yaml file
create empty directories
set security permissions to write enable and include subs
create yaml in portainer
deploy stack
Relevant log output
failed to deploy a stack: Volume "teslamate_teslamate-db" Creating Volume "teslamate_teslamate-db" Created Volume "teslamate_teslamate-grafana-data" Creating Volume "teslamate_teslamate-grafana-data" Created Volume "teslamate_mosquitto-conf" Creating Volume "teslamate_mosquitto-conf" Created Volume "teslamate_mosquitto-data" Creating Volume "teslamate_mosquitto-data" Created Container teslamate-database-1 Creating Container teslamate-grafana-1 Creating Container teslamate-mosquitto-1 Creating Container teslamate-teslamate-1 Creating Container teslamate-teslamate-1 Created Container teslamate-grafana-1 Created Container teslamate-database-1 Created Container teslamate-mosquitto-1 Created Container teslamate-mosquitto-1 Starting Container teslamate-grafana-1 Starting Container teslamate-database-1 Starting Container teslamate-teslamate-1 Starting Container teslamate-mosquitto-1 Started Container teslamate-grafana-1 Started Container teslamate-database-1 Started Error response from daemon: Bind mount failed: '/data/compose/1/import' does not exists

Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
current pull

Please make sure to follow https://docs.teslamate.org/docs/installation/docker.
Please provide your docker-compose.yml file without credentials.

This is what I am using for my yaml file ### has been put in place rather than creds.
I am hoping there is something obvious for you here, as I am at a complete loss on this.
version: "3"

services:
  teslamate:
    image: teslamate/teslamate:latest
    restart: always
    environment:
      - ENCRYPTION_KEY= ###
      - DATABASE_USER=teslamate
      - DATABASE_PASS= ###
      - DATABASE_NAME=teslamate
      - DATABASE_HOST=database
      - MQTT_HOST=mosquitto
    ports:
      - 4000:4000
    volumes:
      - ./import:/opt/app/import
    cap_drop:
      - all

  database:
    image: postgres:15
    restart: always
    environment:
      - POSTGRES_USER=teslamate
      - POSTGRES_PASSWORD= ###
      - POSTGRES_DB=teslamate
    volumes:
      - teslamate-db:/var/lib/postgresql/data

  grafana:
    image: teslamate/grafana:latest
    restart: always
    environment:
      - DATABASE_USER=teslamate
      - DATABASE_PASS= ###
      - DATABASE_NAME=teslamate
      - DATABASE_HOST=database
    ports:
      - 3000:3000
    volumes:
      - teslamate-grafana-data:/var/lib/grafana

  mosquitto:
    image: eclipse-mosquitto:2
    restart: always
    command: mosquitto -c /mosquitto-no-auth.conf
    # ports:
    #   - 1883:1883
    volumes:
      - mosquitto-conf:/mosquitto/config
      - mosquitto-data:/mosquitto/data

volumes:
  teslamate-db:
  teslamate-grafana-data:
  mosquitto-conf:
  mosquitto-data:

Ok, your docker compose looks good.
Seems like an easy fix: you need to create the directory ./import first (see services --> teslamate --> volume entry in your docker compose file). Seems like Synology docker stack won't auto create it.

@sedetweiler do we still need to keep this issue open or did the "mkdir import" failed to fix?

Have you fixed it? I have a Synology 920+, and I encountered the same issue during installation – unable to connect to the database!

Have you fixed it? I have a Synology 920+, and I encountered the same issue during installation – unable to connect to the database!

From what you describe, you do not encounter the same issue as OP. OP should be able to solve the issue by creating the import folder.
If you can not connect to Database, there is an issue in your docker-compose --> Please double-check and open a separate issue if needed.

No, it is still broken.  The db just never seems to get configured properly.

Sorry, I didn't see this before.  Let me try the import fix above.

Ok, your docker compose looks good.
Seems like an easy fix: you need to create the directory ./import (in your case /data/compose/1/import) first (see services --> teslamate --> volume entry in your docker compose file). Seems like Synology docker stack won't auto create it.

I am not sure how to do this.  Is this something I can do from the File Manager?

I am not sure how to do this. Where should this directory be placed? I can SSH in, but I am not sure where this is to be created in relation to anything.

the import directory needs to be in the same folder as the docker-compose.yml

I am using portainer to install the stack, so there is no yml file directly.

Please give complete answers when asking about your setup.
We can either close your issue as you do not use a supported installation method. Or you can post your docker-compose so we can assist.
Side note Portainer use docker-compose


Support for DNS TXT record with master signing key for domain

I was planning to write almost exactly this plugin when I found yours.
My original idea differed a little.  I was thinking to place a public key into DNS that was used to sign any public key on the domain.  I was also thinking an SSH client model for saving public keys, eg:

you have never seen this public key before, do you want to save it?
this public key changed from what you saved?  Continue?
Warning, the public key for this page is not signed by the key specified in the domain

I know this raises a lot of thorny issues code-wise, but I don't think they are insurmountable.  Is this a direction you are interested in taking this plugin?

Hey,
Thanks for reaching out!
I agree that TOFU is great, that's why it was the first (#1) ticket ever to be opened on this repo, so I'd very much love to have that.
I don't think DNS is the best place for this. I think adding meta tags like in #18 is probably the best way forward. It avoids requiring any additional round-trips that may slow down loading and gives much more flexibility. One example would be the ability to sign pages that on domains of which you can't control the DNS. Think github pages, or even public directories (e.g. https://stosb.com/~tom/signed-pages/good.html notice the ~tom, it's just my public directory on the server).
Direction taking this plugin: as above, I don't think DNS is the best solution for the task, but I'm willing to be convinced. My only goal with this plugin is to make it better, so happy to do whatever helps achieving this goal. :)
What are your thoughts on the above? Are you wedded to DNS?

I have a potentially bumpy schedule for the next 1-2 months, but I will look into #1
My original thinking did not include publishing code on pages outside of domains under my control, but your point about shared hosting and github is very relevant.  If DNS remains in the cards, we quickly are approaching an issue something like what SPF solves.
I think meta tags would give us the flexibility to do either way, with DNS or without.  I will look into #18 as well.
I mostly wanted to start a dialog around this, I think any further discussion could happen in other open issues.  I am taking the liberty of closing this issue since there is a button here.

I made plenty of comments on #18 highlighting my views. I think that PR is mostly ready, or at least provides a stable base, but there's still some work to be done. Happy to give you pointers/discuss further if you'd like. You can either chat here (or as you suggested, another issue), reach out by email (available on my website https://stosb.com/about) or IRC (tasn @ freenode).

I am taking the liberty of closing this issue since there is a button here.

Haha, hanks. :P


Return an empty response when an empty inline query is passed.

Prevent an error exception when an empty inline query is being handled.

Wait, I think Telegram expects AnswerInlineQuery even to empty queries, I think with your solution user will see infinity loading icon with empty query!

Aaah yes, you're right!
So we'll need to find a different solution. The problem is, that if the inline query is empty, I get the following error:
{"ok":false,"error_code":400,"description":"Bad Request: Message must be non-empty"}

Maybe just
'input_message_content' => new InputTextMessageContent([ 'message_text' => 'you enter: ' . $query


Quest Issues

CF sprayer quest does not detect when crafted
Squeezer quest is a crafting quest but requires seeds and creo oil bucket

these are all fixed in the next update as well as several other quests


"please install plyvel module"

I had to install plyvel using anaconda cmd prompt. When I try to run python3 bitwarden2hashcat.py I keep getting "please install plyvel module." I have very little knowledge and just trying to get into my bitwarden vault after loosing the master password (may be futile).

Could you please provide the operating system you're working with. Also, what happens if you type import plyvel into a python prompt?

Could you please provide the operating system you're working with. Also, what happens if you type import plyvel into a python prompt?

I am using Windows and I got it to run but it keeps asking for me to do it
manually. I can not find the keyhash entry in the chrome extension to enter
the information.
On Sat, Jan 23, 2021 at 1:53 PM 0x6470<EMAIL_ADDRESS>wrote:

Could you please provide the operating system you're working with. Also,
what happens if you type import plyvel into a python prompt?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/0x6470/bitwarden2hashcat/issues/2#issuecomment-766160403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM7NUDUJ746OP5EEJWUV3UTS3MLKBANCNFSM4WP4CI4A
.

I am using Windows and I got it to run but it keeps asking for me to do it
manually. I can not find the keyhash entry in the chrome extension to enter
the information.
On Sat, Jan 23, 2021 at 1:53 PM 0x6470<EMAIL_ADDRESS>wrote:

Could you please provide the operating system you're working with. Also,
what happens if you type import plyvel into a python prompt?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/0x6470/bitwarden2hashcat/issues/2#issuecomment-766160403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM7NUDUJ746OP5EEJWUV3UTS3MLKBANCNFSM4WP4CI4A
.

Do you get to the part where you see "Inspect views background.html"?

Do you get to the part where you see "Inspect views background.html"?

yes, I get to that part but then I don't see keyhash anywhere. If I open up the extension folder through file explorer, I see 000007.log which has something that says keyhash inside but it's gibberish. I'm guessing that's what I'm really trying to decipher? Sorry, I'm rubbish at all this and I locked my vault and can't get in...I'm hoping there might be a way.

yes, I get to that part but then I don't see keyhash anywhere. If I open up the extension folder through file explorer, I see 000007.log which has something that says keyhash inside but it's gibberish. I'm guessing that's what I'm really trying to decipher? Sorry, I'm rubbish at all this and I locked my vault and can't get in...I'm hoping there might be a way.

The log files don't help you in that case. You should stick to the given instructions and enter the given command into the console (console tab).

The log files don't help you in that case. You should stick to the given instructions and enter the given command into the console (console tab).

I did enter the information in the console. There must be something wrong with my setup because it only shows:
appId: "1094285b-1f25-40e6-a9b5-5b64b3c19136"
biometricFingerprintValidated: false
lastActive:<PHONE_NUMBER>984
lastSync_e6a3921e-656d-4171-bebd-aca4015036fe: "1970-01-01T00:00:00.000Z"
lockOption: null
passwordGenerationOptions: {ambiguous: false, capitalize: false, includeNumber: false, length: 14, lowercase: true, …}
rememberEmail: true
rememberedEmail: "XXXX"
sends_e6a3921e-656d-4171-bebd-aca4015036fe: {}
sitesLocalData: {62430b91-c977-4ae0-be96-aca401538376: {…}, c7a102ac-8cc1-499d-a6da-aca401538376: {…}, f96e3704-ef3a-4510-b1fa-aca401538376: {…}}
vaultTimeoutAction: "lock"
proto: Object

I did enter the information in the console. There must be something wrong with my setup because it only shows:
appId: "1094285b-1f25-40e6-a9b5-5b64b3c19136"
biometricFingerprintValidated: false
lastActive:<PHONE_NUMBER>984
lastSync_e6a3921e-656d-4171-bebd-aca4015036fe: "1970-01-01T00:00:00.000Z"
lockOption: null
passwordGenerationOptions: {ambiguous: false, capitalize: false, includeNumber: false, length: 14, lowercase: true, …}
rememberEmail: true
rememberedEmail: "XXXX"
sends_e6a3921e-656d-4171-bebd-aca4015036fe: {}
sitesLocalData: {62430b91-c977-4ae0-be96-aca401538376: {…}, c7a102ac-8cc1-499d-a6da-aca401538376: {…}, f96e3704-ef3a-4510-b1fa-aca401538376: {…}}
vaultTimeoutAction: "lock"
proto: Object

Thats indeed very strange. You might want to try the following in a python prompt:
import plyvel, os
path = "{}\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Local Extension Settings\\nngceckbapebfimnlniiiahkandclblb".format(os.getenv("userprofile"))
db = plyvel.DB(path, create_if_missing=False)
email = db.get(b"userEmail").decode().strip("\"")
keyHash = db.get(b"keyHash").decode().strip("\"")
iterations = db.get(b"kdfIterations").decode().strip("\"")
print(email, keyHash, iterations, sep="\n")

This is basically the automatic extraction process. You might also want to post the error message - if one occurs - so that the error can be spotted easily.

Thats indeed very strange. You might want to try the following in a python prompt:
import plyvel, os
path = "{}\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Local Extension Settings\\nngceckbapebfimnlniiiahkandclblb".format(os.getenv("userprofile"))
db = plyvel.DB(path, create_if_missing=False)
email = db.get(b"userEmail").decode().strip("\"")
keyHash = db.get(b"keyHash").decode().strip("\"")
iterations = db.get(b"kdfIterations").decode().strip("\"")
print(email, keyHash, iterations, sep="\n")

This is basically the automatic extraction process. You might also want to post the error message - if one occurs - so that the error can be spotted easily.

Unfortunately, I could not figure it out.  I do not have enough technical
expertise. It doesn't seem like I'll ever be able to get into my bitwarden
account. Thank you for your responses and suggestions!
On Sun, Jan 24, 2021 at 10:17 AM 0x6470<EMAIL_ADDRESS>wrote:

Thats indeed very strange. You might want to try the following in a python
prompt:
import plyvel, os
path = "{}\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nngceckbapebfimnlniiiahkandclblb".format(os.getenv("userprofile"))
db = plyvel.DB(path, create_if_missing=False)
email = db.get(b"userEmail").decode().strip(""")
keyHash = db.get(b"keyHash").decode().strip(""")
iterations = db.get(b"kdfIterations").decode().strip(""")
print(email, keyHash, iterations, sep="\n")
This is basically the automatic extraction process. You might also want to
post the error message - if one occurs - so that the error can be spotted
easily.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/0x6470/bitwarden2hashcat/issues/2#issuecomment-766366160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM7NUDVRDHPPGYUIZPJUAHLS3Q2W5ANCNFSM4WP4CI4A
.


Fix: #33

:tada: This PR is included in version 0.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore: npm audit fix

There was task for fixing handlebars but this does entire npm audit fix and covers more.

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Type rename fails on certain programmatically created types

Version and Platform

Binary Ninja Version: 3.5.4299-dev
OS: Windows 11
OS Version: 22H2
CPU Architecture: x64

Bug Description:
After running my C++ plugin that defines user types, any renaming of said type's results in only their definition being renamed, any reference to said type fails to be renamed.
Steps To Reproduce:

Download attached executable and BNDB
Rename type "__offset(0x10) Bird_vfTable" to "Bird::Flying_vfTable"
Observe that the type has not been updated within type "Bird" (field "vft_offset(0x10) Bird") or the data variable located at 0x140011380

Expected Behavior:
I expect for every reference to the renamed type to be renamed.
Screenshots:
Type name "__offset(0x10) Bird_vfTable" not updated to "Bird::Flying_vfTable" within the type "Bird".

Type name "__offset(0x10) Bird_vfTable" not updated to "Bird::Flying_vfTable" for the data variable at 0x140011380.

Additional Information:
Additional slack messages (1, 2)

I believe the problem here is that you're creating your types incorrectly. This is a really tricky part of the API which we have messed up internally frequently. I haven't verified with your scripts but I've seen this enough times to have a strong suspicion.
Your structure member is being created as a struct rather than a NTR to a struct.
>>> bv.types['Bird'].members[1].type.target
<type: immutable:StructureTypeClass 'struct __offset(0x10) Bird_vfTable'>

instead it should be a NamedTypeReference to the Brid_vfTable
Observe:
struct Foo
{
    class Animal* myanimal;
};

Create the above type then look at the member type:
>>> bv.types['Foo'].members[0].type.target
<type: immutable:NamedTypeReferenceClass 'class Animal'>

Hopefully this helps. There is some additional information int the docs here: https://docs.binary.ninja/dev/annotation.html#named-types


Error on create Matrix()

Cannot create Matrix Object
This is the code:
class test(Scene):
    def construct(self):
        matrix = Matrix(["1","0"])
        self.play(ShowCreation(matrix))
        self.wait()

Then run the script and get output:
Traceback (most recent call last):
  File "E:\manim-master\manimlib\extract_scene.py", line 153, in main
    scene = SceneClass(**scene_kwargs)
  File "E:\manim-master\manimlib\scene\scene.py", line 52, in __init__
    self.construct()
  File "example_scenes.py", line 94, in construct
    matrix = Matrix(["1","0"])
  File "E:\manim-master\manimlib\mobject\matrix.py", line 77, in __init__
    self.add_brackets()
  File "E:\manim-master\manimlib\mobject\matrix.py", line 105, in add_brackets
    l_bracket, r_bracket = bracket_pair.split()
ValueError: not enough values to unpack (expected 2, got 1)

Specially，I saw the source code
file on matrix.py
    def add_brackets(self):
        bracket_pair = TexMobject("\\big[ \\big]")
        bracket_pair.scale(2)
        bracket_pair.stretch_to_fit_height(self.get_height() + 0.5)
        l_bracket, r_bracket = bracket_pair.split()
        l_bracket.next_to(self, LEFT)
        r_bracket.next_to(self, RIGHT)
        self.add(l_bracket, r_bracket)
        self.brackets = VGroup(l_bracket, r_bracket)
        return self

file on mobject.py
    def split(self):
        result = [self] if len(self.points + 1) > 0 else []
        return result + self.submobjects

Maybe these has some problem,but I cannot fix it.

Ah, I think it assumes the input will be a 2d array, e.g. Matrix([["1","0"]]).
This seems fixable with the right "reshape" statement somewhere...

Ah, I think it assumes the input will be a 2d array, e.g. Matrix([["1","0"]]).
This seems fixable with the right "reshape" statement somewhere...

Thanks for you reply.But in that case,the error happens again.I tried some ways to show the matrix,and only write the text in latex such as r"\begin{pmatrix} a&b\\c&d \end{pmatrix}\quad", it could display the matrix.
And i saw that in examples,they were also defined by you,like
v = Matrix(["v_1", "v_2", "v_3"])
w = Matrix(["w_1", "w_2", "w_3"])

in example8p2.py
And I try different OS(windows 10 and linux),the error would still happen

Ah, sorry, the problem was with a recent change to TexMobject.  I just pushed a fix.

Ah, sorry, the problem was with a recent change to TexMobject. I just pushed a fix.

No need for apologize,I am happy to find  bug and be a volunteer tester.

Ah, sorry, the problem was with a recent change to TexMobject. I just pushed a fix.

No need for apologize,I am happy to find bug and be a volunteer tester.

I've solved this problem~ There is just a problem to map the strip to split_list with numpy.int64.
In file /manim/manimlib/mobject/svg/tex_mobject.py, about line 159 I think,
change
split_list = list(map(str.strip, split_list))
to
split_list = [str(x).strip() for x in split_list]


Split a sentence

Merge and comment

Awesome contribution!
On Sat, Feb 16, 2019, 18:11 Jasper Sikken<EMAIL_ADDRESS>wrote:

Merged #1 https://github.com/jrsikken/AEMLION/pull/1 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jrsikken/AEMLION/pull/1#event-2144271942, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAlxNIJdGUv0LhBnE2z8K8mqvvWKfhNTks5vODvBgaJpZM4a_FEL
.


Support multibyte lines that are longer than the buffer by several factors

Fixes #63

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 81.935%

Files with Coverage Reduction
New Missed Lines
%

index.js
2
85.17%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
280

Relevant Lines:
331

💛  - Coveralls


[ACR] Add ContainerRegistryModelFactory for Mocking

Per the Azure SDK .NET Guidelines on mocking, provide a ContainerRegistryModelFactory class for creating mock instances of model types.

This will be completed when this PR merges: https://github.com/Azure/azure-sdk-for-net/pull/21225


CardView

app:contentPadding* attributes still missing.

thanks. I will add content padding on the same release i think.


 Smoothing configuration changed: restarting timer.
2023-02-13T21:34:17.185Z [SMOOTHING0] Smoothing queue is cleared
2023-02-13T21:34:17.185Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 300ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 8, antiFlickTime: 500
2023-02-13T21:34:17.185Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 300ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 8, antiFlickTime: 500
2023-02-13T21:34:17.186Z [LEDDEVICE_APA102] Start LedDevice 'apa102'.
2023-02-13T21:34:17.187Z [MUXER0] Register new input 'System/VIDEOGRABBER' with priority 250 as inactive
2023-02-13T21:34:17.188Z [COMPONENTREG0] Video capture device: enabled
2023-02-13T21:34:17.214Z [V4L2:USB3.0 HD VIDE] Multithreading for V4L2 is enabled. Available thread's count 4
2023-02-13T21:34:17.215Z [V4L2:USB3.0 HD VIDE] Found capture device: /dev/video15
2023-02-13T21:34:17.215Z [V4L2:USB3.0 HD VIDE] Found capture device: /dev/video21
2023-02-13T21:34:17.216Z [V4L2:USB3.0 HD VIDE] Found capture device: /dev/video14
2023-02-13T21:34:17.216Z [V4L2:USB3.0 HD VIDE] Found capture device: /dev/video22
2023-02-13T21:34:17.216Z [V4L2:USB3.0 HD VIDE] Found capture device: /dev/video0
2023-02-13T21:34:17.217Z [V4L2:USB3.0 HD VIDE] *************************************************************************************************
2023-02-13T21:34:17.217Z [V4L2:USB3.0 HD VIDE] Starting V4L2 grabber. Selected: USB3.0 HD VIDEO: USB3.0 HD VIDE (video0) [/dev/video0] 640 x 480 @ 30 fps yuyv
2023-02-13T21:34:17.217Z [V4L2:USB3.0 HD VIDE] *************************************************************************************************
2023-02-13T21:34:17.217Z [V4L2:USB3.0 HD VIDE] Set device input to: Camera 1
2023-02-13T21:34:17.218Z [V4L2:USB3.0 HD VIDE] Set resolution to: 640 x 480
2023-02-13T21:34:17.219Z [V4L2:USB3.0 HD VIDE] Set framerate to 30 FPS
2023-02-13T21:34:17.220Z [V4L2:USB3.0 HD VIDE] Brightness set to: -30 (user)
2023-02-13T21:34:17.220Z [V4L2:USB3.0 HD VIDE] Contrast set to: 148 (default)
2023-02-13T21:34:17.220Z [V4L2:USB3.0 HD VIDE] Saturation set to: 180 (default)
2023-02-13T21:34:17.220Z [V4L2:USB3.0 HD VIDE] Hue set to: 0 (default)
2023-02-13T21:34:17.220Z [V4L2:USB3.0 HD VIDE] LUT file is not found here: /home/pi/.hyperhdr/lut_lin_tables.3d
2023-02-13T21:34:18.302Z [V4L2:USB3.0 HD VIDE] Found and loaded LUT: '/usr/share/hyperhdr/lut/lut_lin_tables.3d'
2023-02-13T21:34:18.302Z [V4L2:USB3.0 HD VIDE] Video pixel format is set to: YUYV
2023-02-13T21:34:18.306Z [V4L2:USB3.0 HD VIDE] Started
2023-02-13T21:34:18.307Z [HYPERMANAGER] HyperHDR instance 'Ledstrip' has been started
2023-02-13T21:34:18.308Z [DAEMON] Unload CEC
2023-02-13T21:34:17.188Z [COMPONENTREG0] LED device: enabled
2023-02-13T21:34:17.189Z [EFFECTENGINE0] Run effect "Plasma" on channel 0
2023-02-13T21:34:17.189Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive
2023-02-13T21:34:17.189Z [HYPERHDR] Initial foreground effect 'Plasma' started
2023-02-13T21:34:17.212Z [EFFECT0(Plasma)] Begin playing the effect with priority: 0
2023-02-13T21:34:17.219Z [MUXER0] Priority 0 is now active
2023-02-13T21:34:17.219Z [MUXER0] Set visible priority to 0
2023-02-13T21:34:17.219Z [HYPERHDR0] New priority[0], previous [255]
2023-02-13T21:34:17.219Z [HYPERHDR0] New source available -> switch LED-Device on
2023-02-13T21:34:17.219Z [SMOOTHING0] Clearing queued colors before: enabling
2023-02-13T21:34:17.219Z [SMOOTHING0] Smoothing queue is cleared
2023-02-13T21:34:17.224Z [IMAGETOLED0] Total index number is: 500 (memory: 500). User sparse processing is: disabled, image size: 80 x 45, area number: 136
2023-02-13T21:34:17.240Z [SMOOTHING0] Using alternative smoothing procedure (0)
2023-02-13T21:34:18.308Z [WEBSERVER] Initialize Webserver
2023-02-13T21:34:18.308Z [WEBSERVER] Initialize Webserver
2023-02-13T21:34:18.409Z [WEBSERVER] Apply Webserver settings
2023-02-13T21:34:18.409Z [WEBSERVER] Set document root to: :/webconfig
2023-02-13T21:34:18.409Z [WEBSERVER] Apply Webserver settings
2023-02-13T21:34:18.409Z [WEBSERVER] Set document root to: :/webconfig
2023-02-13T21:34:18.410Z [WEBSERVER] Started on port 8090 name 'HyperHDR Webserver'
2023-02-13T21:34:18.426Z [WEBSERVER] Setup SSL certificate
2023-02-13T21:34:18.427Z [WEBSERVER] Setup private SSL key
2023-02-13T21:34:18.427Z [WEBSERVER] Started on port 8092 name 'HyperHDR Webserver'
2023-02-13T21:34:18.621Z [SIGNAL_AUTO] Calibration data is not meant for the current video stream (different dimensions). Please run the calibration procedure in the panel grabber tab.
2023-02-13T21:34:18.621Z [V4L2:USB3.0 HD VIDE] Detected the video frame size changed (320x240). Cache buffer was cleared.
2023-02-13T21:34:18.621Z [MUXER0] Priority 250 is now active
2023-02-13T21:34:20.217Z [EFFECT0(Plasma)] The effect quits with priority: 0
2023-02-13T21:34:20.217Z [MUXER0] Removed source priority 0
2023-02-13T21:34:20.217Z [MUXER0] Set visible priority to 250
2023-02-13T21:34:20.217Z [HYPERHDR0] New priority[250], previous [0]
2023-02-13T21:34:20.218Z [EFFECTENGINE0] Effect 'Plasma' has finished.
2023-02-13T21:34:20.218Z [EFFECT0(Plasma)] Deleting effect named: 'Plasma'
2023-02-13T21:34:20.218Z [EFFECT0(Plasma)] Effect named: 'Plasma' is deleted
2023-02-13T21:34:20.221Z [IMAGETOLED0] Total index number is: 9280 (memory: 9280). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:34:20.222Z [IMAGETOLED0] Total index number is: 9280 (memory: 9280). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:34:24.006Z [DB] Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2023-02-13T21:35:24.683Z [IMAGETOLED0] Total index number is: 8352 (memory: 8352). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:35:26.183Z [IMAGETOLED0] Total index number is: 9280 (memory: 9280). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:36:16.308Z [V4L2:USB3.0 HD VIDE] Video cache: enabled, size: 1, hits: 3530, needed: 1, cleanup: 0, limit: 8
2023-02-13T21:36:16.311Z [PERFORMANCE] [USB capturing: FPS = 30.00, decoding = 1ms, frames = 1800, invalid = 0], [INSTANCE0: FPS = 30.00, processed = 1800], [LED0: FPS = 30.00, send = 1800, processed = 1800, dropped = 0]
2023-02-13T21:37:00.904Z [IMAGETOLED0] Total index number is: 8400 (memory: 8400). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:37:16.304Z [PERFORMANCE] [USB capturing: FPS = 30.00, decoding = 1ms, frames = 1800, invalid = 0], [INSTANCE0: FPS = 30.00, processed = 1800], [LED0: FPS = 30.00, send = 1800, processed = 1800, dropped = 0]
2023-02-13T21:37:20.902Z [IMAGETOLED0] Total index number is: 9280 (memory: 9280). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:37:35.902Z [IMAGETOLED0] Total index number is: 8400 (memory: 8400). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:37:40.898Z [IMAGETOLED0] Total index number is: 9280 (memory: 9280). User sparse processing is: disabled, image size: 320 x 240, area number: 136
2023-02-13T21:38:16.332Z [PERFORMANCE] [USB capturing: FPS = 30.00, decoding = 1ms, frames = 1801, invalid = 0], [INSTANCE0: FPS = 30.00, processed = 1801], [LED0: FPS = 30.00, send = 1801, processed = 1801, dropped = 0]
2023-02-13T21:39:16.325Z [PERFORMANCE] [USB capturing: FPS = 30.00, decoding = 2ms, frames = 1800, invalid = 0], [INSTANCE0: FPS = 30.00, processed = 1800], [LED0: FPS = 30.00, send = 1800, processed = 1800, dropped = 0]
2023-02-13T21:40:16.316Z [PERFORMANCE] [USB capturing: FPS = 30.00, decoding = 2ms, frames = 1800, invalid = 0], [INSTANCE0: FPS = 30.00, processed = 1800], [LED0: FPS = 30.00, send = 1800, processed = 1800, dropped = 0]
Steps to reproduce
Removed the old HyperHDR with "$sudo apt autoremove HyperHDR". Reboot raspberry pi and installed with "wget https://github.com/awawa-dev/HyperHDR/releases/download/v<IP_ADDRESS>/HyperHDR-<IP_ADDRESS>-Linux-aarch64.deb". After that installed with "$sudo apt install ./HyperHDR-<IP_ADDRESS>-Linux-aarch64.deb". After al this i restarted my raspberry pi model 4B.
What is expected?
After reboot the HyperHDR will start and his server.
What is actually happening?
After restart i must go to the VNC viewer and start HyperHDR manually.
System

HyperHDR Server:

Build:           (HEAD detached at b8c7f04) (Awawa-3141e80/b8c7f04-1676222403)
Build time:      Feb 12 2023 17:40:25
Git Remote:      https://github.com/awawa-dev/HyperHDR
Version:         <IP_ADDRESS>
UI Lang:         auto (BrowserLang: nl)
UI Access:       expert
Avail Capt:      Linux (V4L2)
Database:        read/write

HyperHDR Server OS:

Distribution:   Debian GNU/Linux 11 (bullseye)
Architecture:   arm64
CPU Type:       Raspberry Pi 4 Model B Rev 1.4
CPU Revision:   d03114
CPU Hardware:   BCM2835
Kernel:         linux (6.1.11-v8+ (WS: 64))
Qt Version:     5.15.2
Browser:        Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/110.0.1587.41

Hi

VNC viewer

I guess you are running x server: on default HyperHDR doesn't enable a daemon service and there is a message informing you about it when you install a deb package (you can reinstall HyperHDR to see it) The service can be enabled manually if you want (but some things may not work properly like software screen grabbers, that's why it's disabled on default).

Your right. I'm indeed using vncviewer. After a deb install indeed does the trick. But how can i let it autostart when installing with a command? I don't use the screengrabber, but a hdmigrabber.

If I remember correctly, it should be briefly explained in the installer message. You can use these commands after Rpi reboot if you are using pi user:
sudo systemctl enable hyperhdr@pi
sudo systemctl start hyperhdr@pi


'DataTable' object has no attribute 'output'

Description
I'm using https://microsoft.github.io/sammo/tutorials/example_instruction_optimization.html sample as a sample to create a prompt optimization from a CSV file.
The CSV file contains those columns:

question,
answer,
ground_truth,
statements

I'm using this code to create the dataTable:
def load_data(
    file_path: str
):
    data = pd.read_csv(file_path)

    data['output'] = data.apply(lambda row: {
        'TP': json.loads(row['statements'])['TP'],
        'FP': json.loads(row['statements'])['FP'],
        'FN': json.loads(row['statements'])['FN']
    }, axis=1)

    return DataTable.from_records(
        data.to_dict(orient='records'),
        input_fields=["question", "answer", "ground_truth"]
    )

This seems correctly loaded:

My initial prompt candidate is set as:
class InititialCandidates:
    def __init__(self, dtrain):
        self.dtrain = dtrain

    def __call__(self):
        example_formatter = PlainFormatter(
            all_labels=self.dtrain.outputs.unique(), orient="item"
        )

        instructions = MetaPrompt(
            [
                Paragraph("Instructions: "),
                Paragraph(
                    """
                    Given a ground truth and an answer statements, analyze each statement and classify them in one of the following categories:

                    - TP (true positive): statements that are present in answer that are also directly supported by the one or more statements in ground truth,
                    - FP (false positive): statements present in the answer but not directly supported by any statement in ground truth,
                    - FN (false negative): statements found in the ground truth but not present in answer.

                    If a statement cannot be directly inferred from the ground of truth, if should be classified as false positive FP even if it is a well-known information.
                    Each statement can only belong to one of the categories.
                    Provide a reason for each classification.
                    Your output should always be a json data.
                    """,
                    reference_id="instructions",
                ),
                Paragraph("\n"),
                Paragraph(
                    """
                    ## Output format

                    extracted_statements:
                    {
                        "TP": [
                        ],
                        "FP": [
                        ],
                        "FN": [
                        ]
                    }
                    """
                ),
                Paragraph("\n"),
                Paragraph("Let's start!"),
                Paragraph(InputData(0, "question")),
                Paragraph("\n"),
                Paragraph(InputData(1, "answer")),
                Paragraph("\n"),
                Paragraph(InputData(2, "ground_truth")),
                Paragraph("\n"),
                Paragraph("extracted_statements: "),
            ],
            render_as="raw",
            data_formatter=example_formatter,
        )

        return Output(
            instructions.with_extractor("raise"),
            minibatch_size=1,
            on_error="empty_result",
        )

Now when trying to create the prompt optimize as this:
from sammo.search import BeamSearch

prompt_optimizer = BeamSearch(
            runner,
            mutation_operators,
            accuracy,
            maximize=True,
            depth=3,
            mutations_per_beam=2,
            n_initial_candidates=4,
            beam_width=4,
            add_previous=True,
    )

prompt_optimizer.fit(train_data)
prompt_optimizer.show_report()

Error details
[1](vscode-notebook-cell:?execution_count=6&line=1) from sammo.search import BeamSearch
      [3](vscode-notebook-cell:?execution_count=6&line=3) prompt_optimizer = BeamSearch(
      [4](vscode-notebook-cell:?execution_count=6&line=4)             runner,
      [5](vscode-notebook-cell:?execution_count=6&line=5)             mutation_operators,
   (...)
     [12](vscode-notebook-cell:?execution_count=6&line=12)             add_previous=True,
     [13](vscode-notebook-cell:?execution_count=6&line=13)     )
---> [15](vscode-notebook-cell:?execution_count=6&line=15) prompt_optimizer.fit(train_data)
     [16](vscode-notebook-cell:?execution_count=6&line=16) prompt_optimizer.show_report()

File <@beartype(sammo.search.Optimizer.fit) at 0x2323b93cd60>:31, in fit(__beartype_func, __beartype_conf, __beartype_get_violation, __beartype_object_2414429753760, *args, **kwargs)

File c:\Users\KevinBEAUGRAND\.conda\envs\sammo\Lib\site-packages\sammo\search.py:69, in Optimizer.fit(self, dataset)
     [68](file:///C:/Users/KevinBEAUGRAND/.conda/envs/sammo/Lib/site-packages/sammo/search.py:68) def fit(self, dataset: DataTable):
---> [69](file:///C:/Users/KevinBEAUGRAND/.conda/envs/sammo/Lib/site-packages/sammo/search.py:69)     self.fit_transform(dataset)

File <@beartype(sammo.search.Optimizer.fit_transform) at 0x2323b93ce00>:31, in fit_transform(__beartype_func, __beartype_conf, __beartype_get_violation, __beartype_object_2414429753760, *args, **kwargs)

File c:\Users\KevinBEAUGRAND\.conda\envs\sammo\Lib\site-packages\sammo\search.py:72, in Optimizer.fit_transform(self, dataset)
     [71](file:///C:/Users/KevinBEAUGRAND/.conda/envs/sammo/Lib/site-packages/sammo/search.py:71) def fit_transform(self, dataset: DataTable) -> DataTable:
---> [72](file:///C:/Users/KevinBEAUGRAND/.conda/envs/sammo/Lib/site-packages/sammo/search.py:72)     return utils.sync(self.afit_transform(dataset))
...
---> [23](vscode-notebook-cell:?execution_count=3&line=23)     expected_output = expected_row.output
     [24](vscode-notebook-cell:?execution_count=3&line=24)     generated_output = generated_row.output
     [25](vscode-notebook-cell:?execution_count=3&line=25)     if compare_outputs(expected_output, generated_output):

AttributeError: 'DataTable' object has no attribute 'output'

Can someone help me to understand/fix what is going wrong there?

Hi,
it seems that you use the wrong way to access outputs. If you check the example, the way it computes accuracy is by calling
y_true = y_true.outputs.normalized_values()
y_pred = y_pred.outputs.normalized_values()

Hope that helps!

@t-schn thank you for your answer.
I fully agree with you, I had errors in my accuracy function.


refactor(operators): expand usage of const over let for variables

replaces variable declared by let to const where applicable
use constructor parameter where applicable
minor whitespace, lint, type update

:+1:

Merged with 0bffca6.


Bug: Version mismatch

Version
2.0.240405.15
Summary
This issue produces error that seem to point to CppWinRT and in fact the VS team said it is a CppWinRT issue. I am making a note here for those who might have a reported mismatch with some version of CppWinRT that you don't recall installing.
Visual Studio Installer installs a default version of CppWinRT that is a version that is in their build chain for a particular release. That is the default fallback version used no matter what you may specify as the Windows SDK version for your project. The VS behavior of falling back happens when some project that uses CppWinRT without explicitly declaring a version.
In my case this did not become apparent until I switched a project from a static to a dynamic version for my project. The VS documentation states that it automatically uses CppWinRT but fails to state that it is the install version in spite of the fact that you may subsequently install the correct version on your dev computer. This install is not an update it is a side-by-side additional version, VS continues to use the one defined it its original install.
The solution is to explicitly define the version and propagate that across all your projects that call that code. This may require a new feature branch in your source control, that is a normal problem we must deal with.
You can add the version to your package.config or edit the vcproj file with the matching version.
Reproducible example
#include <winrt/base.h>
#using <winrt/WindowsFoundation>
// if you have other projects that reference this project and in the other projects you specify cppWinRT and a version, // you must ensure that all use the same version.
Expected behavior
Since VS has a default property for WinRT, it should have at least a value for the resolved WinRT version in the General section of the properties to allow developers to see the version. If the developer selects a Vcpkg or a Nuget that has a version. VS should use the resolved value property to indicate a mismatch and list the values of all referenced projects. This would have save me a few days of work searching and CoPiloting.
Actual behavior
Output Window shows error in a WinRT mismatch and the version of the installed VS WinRT. Developer has no way to verify where this version comes from.
Additional comments
This clearly falls into the category VS blogs talk about as quality of life improvements.

I believe it's probably falling back to the version included in the Windows SDK, VS doesn't include its own cppwinrt headers.
The error generated by the #pragma detect_mismatch should identify which files are mismatching, at the very least.

@sylveon I'll start using the pragma you mentioned. You are correct that VS itself does not have its own cppwinrt header, rather it installs a version in the Program Files X86 under the Windows Kits, selected by the user or uses the defaults of VS installer. What it does seem to do is maintain somewhere a default reference to at least what was installed by the VS installer. This is likely because it is the only one VS could "know" about. This naturally would not prevent the developer from removing it - that is another can of worms. Nor does it prevent the developer from installing other versions of cppwinrt or using vcpkg or nuget. That is the problem effectively that I had, is a mismatch between the different sources one of which was the VS default fall back version which I did not know about. I was not aware that cppWinRT was included in the Windows SDK nor was I aware that VS "automatically" created references to cppWinRT.  Automatic, is really the built-in links to the Windows SDK. While id does not matter to me now, I still don't know why VS fell back to a much earlier version unless it uses the minimum target platform specified rather than the target platform version select. I typically use the setting for "latest installed version" rather than a specific SDK. If this is the behavior to fall back to minimum, then using latest really isn't much value.

The pragma is what C++/WinRT uses to generate the error, using it yourself won't do much benefit.
The Windows Kits folder is where the Windows SDK gets installed.
What is happening here is that VS by default adds the folders from the Windows SDK to the include order, and the SDK contains an outdated copy of C++/WinRT headers (even the latest Windows SDK does). When you install the C++/WinRT NuGet, it adds its own set of headers higher in the include order.

I think @sylveon is right.  The Windows SDK includes a bunch of cppwinrt generated headers and the version of cppwinrt used to generate those headers is always going to be older than the latest cppwinrt.  Often a lot older.
I believe the appropriate fix here is to ensure that the include directories are ordered such that the cppwinrt generated outputs local to your project are always used before the versions in the Windows SDK.  That will ensure that the pragma mismatch is satisfied because all generated headers have the exact same version of cppwinrt.  My understanding is that the project templates have the correct include ordering by default.

The NuGet itself ensures it is in the right place in the include order.
"Uses cppwinrt without declaring a version" suggests to me they were mixing projects where the NuGet was installed and others where it wasn't.

In this case the "they" who is using mixed versions is me. I clearly did not understand how VS "decides" how to order things. I also didn't know that in the absence of a specific declaration that it used the Windows SDK, which happens to be listed first in the includes list.
What still is somewhat of a mystery, if I build a dll that depends on CppWinRT and I use a particular version and later we create another dll or a partner creates a dll that uses a different version, that needs to consume our dll, what happens.
What did happen in my case, Microsoft built the project and did not define any version. Later (4 years) I used their source code in my project. Since it was source code VS simply used the local copy version from the SDK but the vcproj had an import statement. One of my projects specifically used the CppWinRT nuget from a much later version. The individual projects would build but because of the references to the projects the linker kept failing on the mismatch.
Tracking these dependencies is painful, curing them is harder, vcpkg and nuget both have their place, but versioning is fragile at best. I don't know of a "best solution" for this?

Yes, mixing TUs with different versions risks running into ODR issues.

Sometimes just finding the edges is the hardest part.


docs: main page updates around support

Description of your changes
As described in #1132 there are some changes related to how to support the project that were made in the Python version of Powertools and that needed to be replicated here. This PR addresses that action item.
This PR also cover some minor housekeeping in 3 more sections of the docs.
How to verify this change
You can verify this change by running docs-buildDockerImage & docs-runLocalDocker while in the root folder (requires Docker).
Or check the screenshots provided below (only for main page):

Related issues, RFCs

Issue number: #1132
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[ ] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have made corresponding changes to the examples
[x] My changes generate no new warnings
[x] The code coverage hasn't decreased
[ ] I have added tests that prove my change is effective and works
[x] New and existing unit tests pass locally and in Github Actions
[ ] Any dependent changes have been merged and published in downstream module
[x] The PR title follows the conventional commit semantics

Breaking change checklist
N/A

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

reading...

@heitorlessa thank you for the review & for spotting the leftover line about pydantic.
I have committed your suggestion!


move to ECS 1.3

Looks good to me, the only thing is I had to manually add some special cases into the generator so that the properties are rendered as string[].
https://github.com/elastic/ecs-dotnet/pull/7/commits/ff92720b40748e76887cb91e810e161af787559f
The specification currently doesn't have an attribute to indicate the property type is an array, but there is somewhat of a pattern where the description will start with "Array of...".


Replace .NET Framework with .NET (C# folders)

Replace .NET Framework with .NET (where appropriate) in docs/csharp folders.
Folders:

[ ] csharp/getting-started
[ ] csharp/how-to
[ ] csharp/language-reference
[ ] csharp/linq
[x] csharp/programming-guide
[ ] csharp/roslyn-sdk
[ ] csharp/tour-of-csharp
[ ] csharp/tutorials
[ ] csharp/whats-new

I want to work on this. Should i get my name added to the contributors list in order to do so. First timer, please excuse if the question is silly.

@ossCodeJourney Thanks for your help! No need to get your name added as a contributor, you can just go ahead and submit a pull request when you're ready. It will probably ask you to sign a contributor's license agreement once you submit the PR.


ERROR in EasyFormsModule is not an NgModule

Installed the package as per the readme and setup following the example, I am using @angular/cli to build and get the following error
ERROR in EasyFormsModule is not an NgModule
Using Angular 2 v4.0.2
Has anyone encountered this issue and how does one resolve?

Hello, I have the same problem. Does anybody found a work arround or something?

HI, I have the same problem.
ERROR in EasyFormsModule is not an NgModule
Using Angular 4.1.2
Any solution please?


MacOS Support

It would be neat if MacOS was supported. Current output when attempting to install via Cocoapods:
[!] The platform of the target `<target name>` (macOS 10.12) is not compatible with `Fuse (1.1.0)`, which does not support `osx`.

Oddly, I used to build this just fine with carthage update --platform Mac but now it fails with Dependency "fuse-swift" has no shared framework schemes for any of the platforms: Mac.


Feature: specify fixed dependency versions in package.json

Dependencies break, especially in minor version releases (see istanbul-lib-instrument), but that shouldn't silently break every Jest consumer that re-installs without shrinkwrap.
Because you can't force everyone to use a 'shrinkwrap'-esque npm package managment system, I am strongly in favor of using specific, explicit dependency versions for Jest.

These things happen from time to time. If you'd like explicit dependencies I encourage you to use Yarn and yarn lockfiles.
The proper fix for issues such as this is for istanbul to also run Jest as part of their integration testing. Maybe file an issue with them to ask about this! :)

These things happen from time to time unless versions are pinned. Adding a shrinkwrap/lockfile obviates the issue, but that requires adding a tool to do what could be done simply at the source - the dependency list is objectively over-general. Converting it to be specific would 'avoid a whole class of bugs' as immutable folks like to say :). There will also be cases where even Yarn users will add Jest as a dependency at just the wrong time (e.g. in the 6 hours or so yesterday that  istanbul-lib-instrument was broken) and it will not work through no direct fault of the tool, which is unnecessary frustration.
Probably best not to require upstream dependencies to run downstream tests - that's one thing that dependency declarations are supposed to make unnecessary (no two-way binding, etc) and would be impractical to maintain with sprawling numbers of downstream dependents.
Hope that doesn't come across as harsh, just wanted to detail my reasoning a little more.

It's not harsh, I appreciate feedback but I think it is not Jest's job to manage dependencies. I am in favor of auditing all of Jest's dependencies and loosen and tighten version ranges where it makes sense and will welcome a PR that does so but I don't believe exact dependencies are a solution to the problem you were experiencing.
I understand a bad patch release of a transitive dependency can break your entire test suite and that is unfortunate. The reason we are unaffected of issues like this at Facebook is precisely because we are using yarn lockfiles and an offline mirror. Version updates are always explicit and run through our entire CI system to make sure they are safe. If you are scared of patch or minor version updates breaking your product, I suggest fixing it in a similar way.

I appreciate feedback but I think it is not Jest's job to manage dependencies

While I agree that its a wider problem with the npm secoystem, its disappointing that this should be considered an acceptable way of dealing with the problem.

I'm open to listen to actual workable solutions to this problem and especially pull requests that don't compromise how semver is supposed to work rather than expressing your disappointment.

@cpojer @mmcgahan my two cents, what I do with nyc is use bundled-dependencies;
I shy away from this for libraries I write with fewer dependencies, but it has been my experience with nyc, which has about 1,000,000 moving parts (the babel ecosystem, the istanbul ecosystem, etc.) that it's very much worth being very explicit with version updates.
The added benefit to this approach with nyc, is that it significantly speeds up install times; hundreds of HTTP requests become 1 or 2.

Having put my two cents out there; I apologize for the regression, I take the release process around Istanbul very seriously and work hard to avoid these sorts of regressions -- Would having Jest itself in my regression testing suite have caught this issue?

@bcoe thanks for the perspective, this is much appreciated. I think running yarn test inside of the Jest repo may have caught this; I guess it shouldn't be too hard to verify.
bundled-dependencies is interesting; I wasn't aware it is a thing. I still do want users to receive patch updates for most things, though.
One thing I was planning on doing is to figure out the biggest dependencies of Jest and how we can trim the fat a bit. Jest is growing and I would like to make sure we don't regress on install times and startup performance.

serves me right for playing Fallout New Vegas for three hours last night; one argument I'll put out there, a 6 hour turn around is pretty darn good -- would have been 2 had it not been for super-mutants.

@cpojer I like the citgm too, and have been thinking of figuring out a way to get a similar suite up and running for babel-plugin-istanbul/nyc.

Ah, I believe the node maintainers said that Jest isn't compatible with citgm because of the monorepo we are using. That seems like something we should figure out so that we don't repeat the node 7.3 + console.log fiasko (OT for this issue).

@bcoe I need to look into bundled-dependencies as well - looks good. And I was definitely happy with the 6 hour turnaround time for the regression fix!
@cpojer depending on how precise you want to get about allowing patch updates, you could keep that available while disallowing minor version updates with ~x.y.z rather than ^x.y.z, but that's probably beside the point :)

One thing I was planning on doing is to figure out the biggest dependencies of Jest and how we can trim the fat a bit.

an interesting approach might be taking a highbred approach; bundle some of the bigger riskier dependencies, e.g., babel-plugin-istanbul, istanbul-lib-instrument (these come along with a chunk of the babel ecosystem, so it would be nice for them to come down in a single HTTP request).

@cpojer would you be able to point me to how I can lock versions for of a dependencies dependency?  I need to lock instanbul-lib-instrument to 1.7.0 in jest-cli. Currently anything higher or lower breaks collectCoverage.

@athomann mind openin an issue on Istanbuljs with a reproduction of this issue? The fact that both higher and lower versions are causing you issues sounds odd; I wonder if it's some sort of cache issue.
If you provide a repo having issues I'm sure I can debug for you.

Here's the open issue.  I'll try and get a repo open to replicate. https://github.com/istanbuljs/istanbuljs/issues/73


ios simulator arm64 and arm64e support

Update cmake to consider platform passed as argument for building 1DS for ios simulator m1(arm64 and arm64e) architecture

Changes look good to me. But it is important to get the approval from @eduardo-camacho before merging it. As mentioned in the mail discussion:
Please make sure to have tested following scenarios (actually linking library and makes sure it works; lipo checking might not be enough):

Simulator on M1
Simulator on Intel
Physical device on M1
Physical device on Intel

Do you have an update on testing scenarios above?

Changes look good to me. But it is important to get the approval from @eduardo-camacho before merging it. As mentioned in the mail discussion:
Please make sure to have tested following scenarios (actually linking library and makes sure it works; lipo checking might not be enough):

Simulator on M1
Simulator on Intel
Physical device on M1
Physical device on Intel

I have tested with and without optional deployment target paramter by linking library on Simulator and Physical device with both M1 and Intel

I have tested with and without optional deployment target paramter by linking library on Simulator and Physical device with both M1 and Intel

Have few comments.

Resolved

Changes look good to me. But it is important to get the approval from @eduardo-camacho before merging it. As mentioned in the mail discussion:
Please make sure to have tested following scenarios (actually linking library and makes sure it works; lipo checking might not be enough):

Simulator on M1
Simulator on Intel
Physical device on M1
Physical device on Intel

Do you have an update on testing scenarios above?

I have tested with and without optional deployment target paramter by linking library on Simulator and Physical device with both M1 and Intel.

@swasti29  - Changes look good now. You should be able to merge this PR once CI checks are completed ( you may have rerun the check incase of transient failures ).

@swasti29 - Changes look good now. You should be able to merge this PR once CI checks are completed ( you may have to rerun the CI check incase of transient failures ).

I approved yesterday night, we are good to go. Thanks!


Improving update contact option

The update contact field doesn't show the data in the corresponding fields. It pops up like a add contact form. I want to show the data on existing fields as well. User may want to update a specific field.

The update contact field doesn't show the data in the corresponding fields. It pops up like a add contact form. I want to show the data on existing fields as well. User may want to update a specific field.

Ok

The update contact field doesn't show the data in the corresponding fields. It pops up like a add contact form. I want to show the data on existing fields as well. User may want to update a specific field.

Ok

I have modified that. Please check my PR.
One more thing,
/emergency_contact/ is showing all the saved contacts, but /emergency/ is not showing any at first. I think it's another bug. Can you please assign that task also? Should I create an issue?

I have modified that. Please check my PR.
One more thing,
/emergency_contact/ is showing all the saved contacts, but /emergency/ is not showing any at first. I think it's another bug. Can you please assign that task also? Should I create an issue?

I have modified that. Please check my PR.
One more thing,
/emergency_contact/ is showing all the saved contacts, but /emergency/ is not showing any at first. I think it's another bug. Can you please assign that task also? Should I create an issue?

Yes create another issue

I have modified that. Please check my PR.
One more thing,
/emergency_contact/ is showing all the saved contacts, but /emergency/ is not showing any at first. I think it's another bug. Can you please assign that task also? Should I create an issue?

Yes create another issue

Issu resolved by @djm-1

Issu resolved by @djm-1


Add support for forcing output of ANSI colors

Sometimes you want to do following and still see colors:
watch -c watson report -dGc

What I propose is --force-ansi:
watch -c watson --force-ansi report -dGc

Please let me know what do you think.

oh my... just found another PR for this https://github.com/TailorDev/Watson/pull/350
closing


Test fixture for problems with forward proxy pattern

The implementation of a forward proxy pattern leads to Error 5: Memory out of bounds for functions returning a string (most likely this is a problem for all functions returning dynamic types).
This PR adds a test fixture to reproduce the problem.
Signed-off-by: Jan Hendrik Scheufen<EMAIL_ADDRESS>

closing for #947


README.md / comments

I don't like configuration JSX and I prefer composing function
JSX is for graphical purpose
Show that TITLE configuration is way more powerfull than route configuration

cc @hgwood

see #41


chore: indicate list objects v2 as not implemented

PR has been updated. Reviewers, please be cautious.


Question on RP partial view discovery

Is this a Bug or Feature request?:
Possible bug; possibly an ID-10T error
This is for work on the partial views doc expansion that covers RP: https://github.com/aspnet/Docs/issues/8188
Steps to reproduce (preferably a link to a GitHub repo with a repro project):
https://github.com/guardrex/PartialViewsSample
Description of the problem:
The RP app here mirrors the layout and functionality of our current MVC partial views sample app.

Pages

ArticlesRP

ReadRP.cshtml
ReadRP.cshtml.cs

Shared

_AuthorPartialRP.cshtml

_AuthorPartialRP.cshtml

The ReadRP page (Pages/ReadRP.cshtml) calls for the partial by name (without a file extension):
@page
@model ReadRPModel

<EMAIL_ADDRESS>@*Pass the author's name to Pages\Shared\_AuthorPartialRP.cshtml*@
@await Html.PartialAsync("_AuthorPartialRP", Model.Article.AuthorName)
@Model.Article.PublicationDate

The code file (ReadRP.cshtml.cs) provides Article as a property of the page model ...
public class ReadRPModel : PageModel
{
    public Article Article { get; private set; }

    public void OnGet()
    {
        Article = GetArticle();
    }

    private Article GetArticle()
    {
        var article = new Article
        {
            ...
        };
        article.Sections.Add({ ... });
        article.Sections.Add({ ... });
        article.Sections.Add({ ... });
        return article;
    }
}

_AuthorPartialRP exists in two files:

In the Shared folder (Pages/Shared/_AuthorPartialRP.cshtml):
@model string

@Model

    This partial view from /Pages/Shared/_AuthorPartialRP.cshtml.

In the Pages folder (Pages/_AuthorPartialRP.cshtml):

Microsoft Docs (Razor Pages)

    Follow us at twitter.com/docsmsft.

Unlike the MVC approach, where the Shared partial view is used, the call in the ReadRP page for  _AuthorPartialRP actually renders the _AuthorPartialRP.cshtml file in the Pages folder and not from the Shared folder. It's not discovering/using the partial in the RP Shared folder.

Have I missed a concept? ... or is this a 🐞 candidate?
Version of Microsoft.AspNetCore.App
2.1.3

Partial discovery in Razor Pages is not the same as in MVC (where there is no Pages folder by default). The search locations for partials in RP are (in order)
The current page's folder (if not Pages)
/Pages/_AuthorPartialRP.cshtml
/Pages/Shared/_AuthorPartialRP.cshtml
/Views/Shared/_AuthorPartialRP.cshtml

Change the name of the partial in the PartialAsync call to one that doesn't exist and re-run the page. You will get an error message detailing all the locations that were searched.
If you want to force the framework to pick one of a number of partials that share the same name, you can pass a relative path as the first parameter instead:
@await Html.PartialAsync("/Pages/Shared/_AuthorPartialRP", Model)

Thanks @mikebrind ... by-design then. I'll document it this way. Thanks again.


Side menu component

Here's Jouni's mockup of expanding app layout out to a side menu variant.

May be, collapse feature can be added for groups (STARRED, TOOLS, ADMIN)


Feature Request: MCmmo Overhaul support

Same things as the MCmmo classic but with overhaul
Skill requirements for quest, Skill Level requirements for quest, Skill/ability rewards for quests

Supporting two version of the same plugin is difficult (though not impossible, i.e. WorldGuard 6/7). Will update once I have a plan on how to approach this.

Would like to see this implemented too.

Supporting two version of the same plugin is difficult (though not impossible, i.e. WorldGuard 6/7). Will update once I have a plan on how to approach this.

Just break it into two different modules, similar to how you have it with the ParticleProviders.

I think that is more so the plan to split it in too but it would require building an entire module for MCoverhaul due to the amount of changes the dev made to that plugin. Def gonna take a good while to get done I imagine but glad to hear more then just I would like to see it.

I think that is more so the plan to split it in too but it would require building an entire module for MCoverhaul due to the amount of changes the dev made to that plugin. Def gonna take a good while to get done I imagine but glad to hear more then just I would like to see it.

I've successfully compiled a version that works with the overhaul version. Tested and can confirm it works without bugs. It does not have support for the original (classic) version. It's on my server GitHub organization.

Do you mean you have the 3.7.0 quests working with MCmmo overhaul? I was trying to do it so that you need to have a certain level in a skill to do a quests but cant until it is support.

Do you mean you have the 3.7.0 quests working with MCmmo overhaul? I was trying to do it so that you need to have a certain level in a skill to do a quests but cant until it is support.

Yep. Just take a look at the GitHub page for my server and go to the overhaul branch.

I would love to see this. The classic is not as supported and the current mcmmo overhaul does not work with quests in 1.14.3

Quests has recently made an effort to use only free plugins as dependencies, hence moving GPS support to a module. To wit, the plan is now to create a (free) module for the premium mcMMO Overhaul. This will satisfy this issue while also maintaining support for mcMMO Classic, in-line with the project’s goals.
Sent with GitHawk

This would be awesome. Is there an estimate or is this just an idea for now?

Module is now available at https://www.spigotmc.org/resources/mcmmo-overhaul-quests-module.69548/


OP balance checking

Server operators should be able to see other players account balance by typing:

/bal player

As of now, the command returns an error;

"An internal error occured while trying to perform this command"

This feature has now been added in commit 8d85e6b.


fix: Missing LibraryConfiguring Injection in DesignToken.razor.cs

🐛 Bug Report
This issue occurs exclusively in version 4.9.2, downgrading to 4.9.1 resolves the issue.
When injecting any design token and calling .SetValue() with any element reference, the DesignToken class fails to inject the registered LibraryConfiguration causing an Object reference not set to an instance of an object  exception to be thrown inside UrlFormatterExtensions.cs.
💻 Repro or Code Sample
Component:
@using Microsoft.FluentUI.AspNetCore.Components.DesignTokens

<div class="container">
	<FluentTextField @ref="Test" @bind-Value=Title></FluentTextField>
</div>

@code {
	[Parameter, EditorRequired]
	public string Title { get; set; } = null!;

	FluentTextField Test;

	[Inject]
	private Density _density { get; set; } = default!;

	protected override async Task OnAfterRenderAsync(bool firstRender)
	{
		if (firstRender)
		{
			await _density.SetValueFor(Test.Element, 10);

			StateHasChanged();
		}
	}
}

Startup:
    public static class MauiProgram
    {
        public static MauiApp CreateMauiApp()
        {
            var builder = MauiApp.CreateBuilder();
            builder
                .UseMauiApp<App>()
                .ConfigureFonts(fonts =>
                {
                    fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                });

            builder.Services.AddMauiBlazorWebView();
	    builder.Services.AddHttpClient();
            builder.Services.AddFluentUIComponents();

#if DEBUG
            builder.Services.AddBlazorWebViewDeveloperTools();
            builder.Logging.AddDebug();
#endif

            return builder.Build();
        }
    }

🤔 Expected Behavior
Calling .SetValue() on any DesignToken should not throw a null reference exception.
😯 Current Behavior
LibraryConfiguration is injected as null into DesignToken.razor.cs causing a null reference exception when attempting to set any DesignToken value.
🌍 Your Environment

OS & Device: Windows
.NET MAUI desktop application
.NET and Fluent UI Blazor library Version: .NET 8 / Fluent UI 4.9.2

I went ahead and checked out this repository to see if I could find the issue and I was able to locate the issue and confirm the fix locally. I was not able to push a branch to this repository due to permission issues so I will simply post my perhaps naive fix here.
It appears there was an existing DI constructor in DesignToken which set the IJSRuntime, but not the LibraryConfiguration which was introduced in 4.9.2.
I modified the constructor for DesignToken as well as the DesignTokenGenerator to add the DI for LibraryConfiguration for all design tokens:
diff --git a/src/Core/DesignTokens/DesignToken.razor.cs b/src/Core/DesignTokens/DesignToken.razor.cs
index b06b05e2d..ec5142d8a 100644
--- a/src/Core/DesignTokens/DesignToken.razor.cs
+++ b/src/Core/DesignTokens/DesignToken.razor.cs
@@ -51,9 +51,10 @@ public partial class DesignToken<T> : ComponentBase, IDesignToken<T>, IAsyncDisp
     /// <summary>
     /// Constructs an instance of a DesignToken.
     /// </summary>
-    public DesignToken(IJSRuntime jsRuntime)
+    public DesignToken(IJSRuntime jsRuntime, LibraryConfiguration libraryConfiguration)
     {
         JSRuntime = jsRuntime;
+        LibraryConfiguration = libraryConfiguration;
     }

     /// <inheritdoc/>
diff --git a/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs b/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs
index 48f8a01d1..baf0345d6 100644
--- a/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs
+++ b/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs
@@ -66,7 +66,8 @@ public class DesignTokenGenerator : IIncrementalGenerator
             sb.AppendLine($"\t/// Constructs an instance of the {name} design token");
             sb.AppendLine("\t/// </summary>");
             sb.AppendLine("\t/// <param name=\"jsRuntime\">IJSRuntime reference</param>");
-            sb.AppendLine($"\tpublic {name}(IJSRuntime jsRuntime) : base(jsRuntime)");
+            sb.AppendLine("\t/// <param name=\"libraryConfiguration\">LibraryConfiguration reference</param>");
+            sb.AppendLine($"\tpublic {name}(IJSRuntime jsRuntime, LibraryConfiguration libraryConfiguration) : base(jsRuntime, libraryConfiguration)");
             sb.AppendLine("\t{");
             sb.AppendLine($"\t\tName = Constants.{name};");
             sb.AppendLine("\t}");

This works as expected locally.


cannon/change-e8a6e3ae

Changes applied by commit-cannon:

Replaced file .github/workflows/publish.yaml
Created file .github/workflows/get-charm-paths.sh
Created file .github/workflows/publish-bundle.sh

Bundle publish did not work because the charmcraft upload failed with "Missing reuqired file: metadata.yaml".  Not sure what is causing that, as it seemed ok testing locally...

@ca-scribner Each bundle.yaml file needs a sibling charmcraft.yaml file containing the text type: bundle. Otherwise charmcraft assumes it's a charm

Makes complete sense, but the charmcraft.yaml exists and the error still occurs..


Be able to always convert a Typescript class using a JsonConverter

Is there way to always convert a Typescript class using a JsonConverter?  For example, if you always wanted a Date to use the DateConverter from your README file here?  This could be accomplished by either decorating the class or by configuring the JsonConvert object.  Note that you can't decorate Javascript's Date class, but the class I'm interested in using this for is my own class, which I could decorate.
I am trying to avoid having to specify it as JsonProperty for each and every place I am using the class... I'd rather just configure it once.
If this or a similar feature does not exist, could it be added?

Ok, thanks for the feedback.  I am somewhat new to Javascript and Typescript (though plenty of experience with Java), and I don't know anything about reflect-js.  My experience thus far tells me that trying to keep external dependencies out is a good thing (conflicts/bloating), so I appreciate your priorities.


Fix issues with polymorphic associations with counter_cache

Should fix #77

Apologies for not getting to this sooner, @drakmail . Looks great! Merging.


Update 2023 CF Workshop page with a summary

Draft summary of 2023 CF Workshop.
All: if you presented at the workshop, please upload your presentation to a repository like Figshare or Zenodo and send us the DOI for inclusion in the workshop page.
Organizing committee (@czender @sadielbartholomew @kevin-obrien @cofinoa @erget @japamment @castelao @davidhassell @larsbarring): let's discuss this at our wrap-up meeting (and here in the PR).

Thanks @czender. Thanks @sadielbartholomew. Both your updates are in the PR now.


Automated cherry pick of #5159

Cherry pick of #5159 on release-5.22.

#5159: - Fix channel header popover

/cc  @nevyangelova

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 9c27306d6da294190c53af89a5d71c0923970613


Docs improvement

Solves https://github.com/ts4nfdi/terminology-service-suite/issues/119

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


bt_buf: use small lock to protect bt_bufferlist_s

Summary
bt_buf: use small lock to protect bt_bufferlist_s
reason:
We would like to replace the big lock with a small lock.
Impact
bt_buf
Testing
ci

[Experimental Bot, please feedback here]
No, this PR does not fully meet the NuttX requirements. While it provides a basic summary and mentions testing through CI, it lacks crucial details.  Here's a breakdown of the missing information:

Summary:  While it states the "what," it doesn't adequately explain the "why."   What are the benefits (e.g., performance improvement, reduced contention)?  How exactly does the change work?  What code was modified to use the small lock? Are there any related NuttX issues?
Impact: The impact section is far too brief. It just mentions bt_buf, which isn't helpful.  It needs to address all the specific points listed in the requirements (impact on the user, build, hardware, documentation, security, compatibility).  For each, a "YES" or "NO" should be provided, and a description is required for every "YES."
Testing:  Simply stating "ci" is insufficient.  The requirements explicitly ask for testing logs before and after the change.  This demonstrates that the change had the intended effect and didn't introduce regressions.  Also, information about the build host and target(s) is missing.

The PR needs significant revision to meet the NuttX requirements.  More details and specifics are necessary to allow reviewers to properly assess the change.


nRF52 UART can read, but can't enable notifications or write descriptor

I have nRF52832 programmed with OEM UART code example.
I have no problems connecting and writing to peripheral, but I can't enable notifications, read RX characteristic or write to descriptor.
When I call bleRxCharacteristic.monitor(transactionId: "1") I get positive response: setCharacteristicNotification() - uuid: 6e400003-b5a3-f393-e0a9-e50e24dcca9e enable: true, but if I read descriptor 0x2902 - I get [0,0], which means notifications are still disabled. So the monitor method didn't work.
If I try to write to descriptor to enable notification, like await blePeripheral.writeDescriptor(bleServiceId, bleRxCharacteristicId,         bleNotifDescriptorId, Uint8List.fromList([enable ? 1 : 0, 0]));, - I get BleError 506.
I hope that makes sense.
Also documentation is fuzzy on bonding, so I can't try to bond and read.
Hardware: Google Pixel 5 with Android 11.
nRF-specific data:
final String bleServiceId = '6E400001-B5A3-F393-E0A9-E50E24DCCA9E';   final String bleTxCharacteristicId = '6E400002-B5A3-F393-E0A9-E50E24DCCA9E';   final String bleRxCharacteristicId = '6E400003-B5A3-F393-E0A9-E50E24DCCA9E';   final String bleNotifDescriptorId = '00002902-0000-1000-8000-00805f9b34fb'; //this is where you set [1,0] to get notifications
Thanks.

@pavel604 I am having a similar issue. Could I ask how you fixed your problem?

Firmware needed tweaking. I don't know exactly what the embedded dev did, unfortunately. but it was not the ble plugin that caused the headache


PostGIS with sqlite for unit testing purposes

Hello,
I use database memory for unit testing but obviously sqlite don't know public.ST_GeogFromText what is it.
It is possible to mock this call or something like that?
Thanks for reply.

Postgis is an extension to postgresql, naturally sqlite doesn't know about it.
I think you should mock your entire database layer instead of trying
to mock database functions.
On 04/03/2019, Loïc Lopez<EMAIL_ADDRESS>wrote:

Hello,
I use database memory for unit testing but obviously sqlite don't know
public.ST_GeogFromText what is it.
It is possible to mock this call or something like that?
Thanks for reply.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/njbarrett/laravel-postgis/issues/107

@phaza  thanks for reply, Is it possible with laravel ?

I haven't used laravel professionally in 3 years, so I can't tell, but
I assume you can somewhow,
On 04/03/2019, Loïc Lopez<EMAIL_ADDRESS>wrote:

@phaza  thanks for reply, Is it possible with laravel ?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/njbarrett/laravel-postgis/issues/107#issuecomment-469345286

@phaza  Do you know http://www.gaia-gis.it/?

No, and that would be the wrong solution to your problem.
If you use postgresql in production, you should use postgresql in testing too.
On 04/03/2019, Loïc Lopez<EMAIL_ADDRESS>wrote:

@phaza  Do you know http://www.gaia-gis.it/?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/njbarrett/laravel-postgis/issues/107#issuecomment-469346822

thanks for advice i will think about that because we have a continuous integration and it's very restrictive

You can run a test instance of postgresql, do all testing in
transactions, and just roll them back after each test. Postgresql is
one of the few databases which actually supports this very well.
On 04/03/2019, Loïc Lopez<EMAIL_ADDRESS>wrote:

thanks for advice i will think about that because we have a continuous
integration and it's very restrictive
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/njbarrett/laravel-postgis/issues/107#issuecomment-469349060

If i understand well:
First step:
php artisan migrate
and run tests ?

Need to wrap it all in a transaction, which means you should probably run
artisan via code, not command line
On Mon, 4 Mar 2019 at 18:55, Loïc Lopez<EMAIL_ADDRESS>wrote:

If i understand well:
First step:
php artisan migrate
and run tests ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/njbarrett/laravel-postgis/issues/107#issuecomment-469350639,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAARyV-Lhivih8-_PT8r4kVnEX-PtF-kks5vTV4BgaJpZM4bc24P
.

@phaza thanks for help


feat: Sync from noir

Automated pull of development from the noir programming language, a dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
feat: visibility for impl functions (https://github.com/noir-lang/noir/pull/6179)
feat: Inclusive for loop (https://github.com/noir-lang/noir/pull/6200)
chore: Release Noir(0.35.0) (https://github.com/noir-lang/noir/pull/6030)
chore: revert mistaken stack size change (https://github.com/noir-lang/noir/pull/6212)
chore: fix typo in code snippet (https://github.com/noir-lang/noir/pull/6211)
feat: Sync from aztec-packages (https://github.com/noir-lang/noir/pull/6210)
fix: ignore compression of blocks after msg.len in sha256_var (https://github.com/noir-lang/noir/pull/6206)
feat(perf): Optimize array set from get (https://github.com/noir-lang/noir/pull/6207)
chore(refactor): Array set optimization context struct for analysis (https://github.com/noir-lang/noir/pull/6204)
fix: type variables by default should have Any kind (https://github.com/noir-lang/noir/pull/6203)
feat: remove orphaned blocks from cfg to improve simplify_cfg pass. (https://github.com/noir-lang/noir/pull/6198)
fix(ssa): Check if result of array set is used in value of another array set (https://github.com/noir-lang/noir/pull/6197)
fix(docs): Rename recursion.md to recursion.mdx (https://github.com/noir-lang/noir/pull/6195)
feat: skip remove_enable_side_effects pass on brillig functions (https://github.com/noir-lang/noir/pull/6199)
feat!: Syncing TypeVariableKind with Kind (https://github.com/noir-lang/noir/pull/6094)
feat(perf): Simplify the cfg after DIE (https://github.com/noir-lang/noir/pull/6184)
feat: refactor SSA passes to run on individual functions (https://github.com/noir-lang/noir/pull/6072)
chore: Remove macros_api module (https://github.com/noir-lang/noir/pull/6190)
fix: ensure to_bytes returns the canonical decomposition (https://github.com/noir-lang/noir/pull/6084)
chore: rename DefinitionKind::GenericType (https://github.com/noir-lang/noir/pull/6182)
END_COMMIT_OVERRIDE

This needs some stuff which got deleted in the sync to be restored. A merge won't fix these errors.


disconnect metamask wallet option

how can a user disconnect metamask wallet their is no option..
and secondly in tabular view connect wallet option is not visible at frontend..
i can improve these issues kindly grant me the permission.

Go ahead
I have assigned it to you

sure! i can do it @Mayank2808sharma .

One doubt @Mayank2808sharma, are these issues included under GSSoC'24? Because then there should be label for GSSoC'24. If so, can you please assign it appropriate labels so that my contribution counts. Looking forward to your response.

hey i am also want to work on this please assign it to me also

@vasusaini701
I change the label accordingly
Dont worry


feat(tutorial): complete step 5

Closes #
{{short description}}
http://carbon-tutorial-rolando77.mybluemix.net/
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Congratulations! 🥇 You have successfully completed all 5 sections of the carbon tutorial.  One day you will get a tshirt and badge.


Upgrade lodash to ^4.17.14

Address lodash vulnerability found in lodash versions before 4.17.12
https://npmjs.com/advisories/1065
Fixes #2773

I think there are a few changes in package-lock.json because I ran the install with npm version 6.9.2. Let me know if they break compatibility and I can roll them back
This really should just be a one-line change (+- a few lines in package-lock.json)

Done @sankhadeeproy007
Thanks

Hi @jeremyhon and @sankhadeeproy007  - does this pull out lodash 4.17.11 for you? I'm seeing it pulled in by native-base-shoutem-theme:

and by react-native-easy-grid:
<EMAIL_ADDRESS>  version "0.2.1"
  resolved "https://registry.yarnpkg.com/react-native-easy-grid/-/react-native-easy-grid-0.2.1.tgz#23e386db0e4d0d46d7da30f7b628e28cd354d5ad"
  integrity sha512-u90U4lf5L/PUmq7HoczFKgyElmBCpb3gu21TOWL7pq4gSH2Hz0EGm1Bgu0SQacO9v6jfQbS7JfE+xtMg6MHluQ==
  dependencies:
    lodash "4.17.11"


Update T2WML tutorial by Dec 1

Need to update annotations to include tag row.
Explain date type that automatically guess date formats

Updated in https://github.com/usc-isi-i2/t2wml/commit/f76a634a564e9155813b83350e1b8df8ea45d863. See https://github.com/usc-isi-i2/t2wml/tree/master/tutorial


💚 Change repository from koj-co/upptime to upptime/upptime

The configuration in the .upptimerc.yml file is causing the tests to fail. And this causes the release pipeline to fail.
Failed action log: https://github.com/upptime/status-page/actions/runs/3107092856/jobs/5034781782

I have read the CLA Document and I hereby sign the CLA


Multi satisfaction produces stack with first empty push (instead of no of sigs)

PSBT before finalization with miniscript::psbt::finalize:
    partial_sigs:
      0205efb64c44daa17b4d4c31d7c28d29c67436e1abb210b643dd0db821519760b5:<PHONE_NUMBER>caf663e54a66114e885eef077f6b433f8712858d3fc8a38c35f6c2847098a3070220727fcff222f8987b417ba172845153a4d08157fa926decacb8d0b4eef289cfc201
      026b20fd92363a0e52828c4efad920674f7d9b46f6c490e6c6cedb87b5c0860362:<PHONE_NUMBER>965c2f264932239e033078a27980580fbfbf014c76d2b91b4aea1648b386803e02204470cccd18a28f6fc2fccf4f5b9d7975ae00ee88663bf24786395e769e9cc00e01
      02c91b249d51bf9fdb8d6865f63a179765f6120f3eb8d1ac36fdfb8ece687d31f0:<PHONE_NUMBER>53b8d94838f0e758f02f25f1b8e83e520981901d6f5d10e3ca67a26037457a022075caa3dfbe456728eb94220df3a69a6e96192280df05995e6a68676a4415fba301

After finalization:
      "txinwitness": [
        "",
        "3045022100caf663e54a66114e885eef077f6b433f8712858d3fc8a38c35f6c2847098a3070220727fcff222f8987b417ba172845153a4d08157fa926decacb8d0b4eef289cfc201",
        "3045022100965c2f264932239e033078a27980580fbfbf014c76d2b91b4aea1648b386803e02204470cccd18a28f6fc2fccf4f5b9d7975ae00ee88663bf24786395e769e9cc00e01",
        "304402202653b8d94838f0e758f02f25f1b8e83e520981901d6f5d10e3ca67a26037457a022075caa3dfbe456728eb94220df3a69a6e96192280df05995e6a68676a4415fba301",
        "53210205efb64c44daa17b4d4c31d7c28d29c67436e1abb210b643dd0db821519760b521021fc09a33786a14b9a632ab756d8b1b8fa5f387d76972d8812ba25f5add78fa3c21023b50d2c56277114d595e4c456673aebfe74839cc2fcdd579db97e289d16c91a221026b20fd92363a0e52828c4efad920674f7d9b46f6c490e6c6cedb87b5c08603622102c91b249d51bf9fdb8d6865f63a179765f6120f3eb8d1ac36fdfb8ece687d31f02102cbff21a1c6ad8a94b3cc80164f770dc7b8d69a262f9bd5979b85af4415af24fe56ae"
      ],

Bitcoin Core does not accept this finalized tx, since it contains zero push as a first witness element:
Electrum(Protocol(String("sendrawtransaction RPC error: {\"code\":-26,\"message\":\"non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation)\"}")))
I believe the source of the bug is this:
https://github.com/rust-bitcoin/rust-miniscript/blob/ea7170ee1868f45067b6e84ebdd5672bbc610d05/src/miniscript/satisfy.rs#L943-L945
Specifically, the fold operations starts with Witness containing single empty push, which never gets replaced by the actual number of signatures.

Thank you, it was caused by a bug on my side which I finally spotted. Sorry for distraction.


Adding user input String and Integer for each cell by holding cell index

HELLLPP!!! This isn't an issue but something that is worth looking over
I am fairly new at programming however have some relative background in objective C, this may not be an issue as such however i believe would be something others may have considered!
It doesn't necessarily have to be a hold option, but i want to make it so that, not only does the cells in the Listview contain the date and segment count, but also a String that lets users label the video and an integer that users can put in (what ever number they want) for that particular cell. My lack of knowledge prevents me from completing this task, but im wondering if there is anyone out there who has done this or can do this that may help me? :(
Kind regards, from Australia!

This probably isn't the best place to look for help on programming... What you want to do is definitely possible and wouldn't be too difficult to implement. I recommend just following some UIKit tutorials, in this case one's that cover the UITableView.
For storing information (Strings, Ints & so on) for each clip maybe look into Core Data, or if you want something a little easier to start with, try Realm.
I was once in your position learning programming, just keep watching tutorials and read plenty of Objective C books!
Kind Regards, from Australia as well ;)


hub pull-request for existing pull request

I'm wondering if there's a way for me to open up an existing pull request using hub. I can go to the branch page using hub browse or hub compare but I want to be able to see my existing PR when  I run hub pull-requestand it detects a pr, it would open that page up in a browser for the developer to inspect

Agreed! This is a duplicate of #897.


linalg.svd fails with a normal np.ndarray

A while ago I submited #9620. I overtook that problem by installing Anaconda, since it was a problem about a linked library from PyPI, and with the Anaconda installation it did not fail.
Well, now I came across with another another ndarray for which svd fails. Again, it does not contain NaNs. It is this one:
problematic_array.zip
For the previous issue I found it did not fail in all machines, even when I installed from PyPI.
It fails with with the scipy and the numpy versions of svd
Reproducing code example:

import numpy as np
from numpy.linalg import svd as numpy_svd
from scipy.linalg import svd as scipy_svd

path = 'problematic_array.npy'
X = np.load(path)

print(np.isnan(X).any())
# False

scipy_svd(X)
# Fails

numpy_svd(X)
# Fails

Error message:

---------------------------------------------------------------------------
LinAlgError                               Traceback (most recent call last)
<ipython-input-9-2829ad873ab1> in <module>
      9 # False
     10
---> 11 scipy_svd(X)
     12 # Fails
     13

~/anaconda3/lib/python3.7/site-packages/scipy/linalg/decomp_svd.py in svd(a, full_matrices, compute_uv, overwrite_a, check_finite, lapack_driver)
    130
    131     if info > 0:
--> 132         raise LinAlgError("SVD did not converge")
    133     if info < 0:
    134         raise ValueError('illegal value in %d-th argument of internal gesdd'

LinAlgError: SVD did not converge

Scipy/Numpy/Python version information:

import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)
1.1.0 1.15.4 sys.version_info(major=3, minor=7, micro=1, releaselevel='final', serial=0)

I'm not sure if it would be better to comment on the previous issue. It seems to be a different problem, since it fails in a different ndarray

One more, thing, what is np.show_config()?

... and does it work with scipy.linalg.svd(x, lapack_driver='gesvd')?

I ask because if you are on Intel hardware running MKL, it could be related to https://github.com/scipy/scipy/pull/5994, https://github.com/ContinuumIO/anaconda-issues/issues/695, and https://software.intel.com/en-us/comment/1869912.
FWIW I cannot reproduce on Linux x86_64 built with Ubuntu system OpenBLAS.

One more, thing, what is np.show_config()?

>>> np.show_config()
mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/hobber/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/hobber/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/hobber/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/hobber/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/hobber/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/hobber/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/hobber/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/hobber/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/hobber/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/hobber/anaconda3/include']

... and does it work with scipy.linalg.svd(x, lapack_driver='gesvd')?

Yes, it does work with that driver. However, numpy version doen't have that option
BTW, I'm also in Ubuntu
$ uname -a
Linux hal 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Can you try the .npy arrays I posted in the Intel issue, and if some of them fail, report so there? It would be good for them to know that other people have this problem, too. Feel free to also give them a link to your failing npy file.
In the meantime I'll close since this seems to be an MKL gesdd issue.

I could not reproduce in ANY of the arrays, neither in the Intel issue nor in the Anaconda issue. I don't know if it is supposed to be fixed or not, but svd worked perfectly with all of them.
Maybe this issue is not related.
I tested this one in a different machine (also Intel and Anaconda) with Windows 10, and svd worked fine.
@larsoner, do you still think it is a good idea to submit that matrix in Intel issue? It would be good to find more people who can reproduce this issue.

Oh I remember there was a workaround -- try running Python with OMP_NUM_THREADS=1 python and see if it works. If it does, then it's probably the same bug, just manifesting differently on different hardware. (I got the error on different arrays with different CPUs.)

With OMP_NUM_THREADS=1 python it worked fine. I'll submit it then

Now I have a real problem, since OpenBlas fails with #9620 and MKL fails with this one. It fails in a long process in Scikit-learn which doesn't give me direct access to svd, so I can not use lapack_driver='gesvd'. Also, it is a costly process about Machine Learning, and so I guess using OMP_NUM_THREADS=1 python will increase a lot the computation time.
Would you advice me on what to do?

For confirmation, I don't have any problems with the recent OpenBlas Win 10, SciPy dev, NumPy dev versions with either of the issues. Both give me sensible numerical results (didn't check their correctness),

In fact, I was updating to NumPy 1.16 when it came to my mind switching to Anaconda. As it seemed to work, I forgot about NumPy 1.16. It does work with the current version, so I'll come back.
Only problem is that scipy version doesn't work yet, and scikit-learn uses the that version. Maybe the idea is to update OpenBlas for the next release. In the meantime, I guess I will have to modify scikit's .py file to use the NumPy version of svd


Installing dependencies takes much longer during builds

Installing dependencies takes much longer during builds.
See https://github.com/cusec/2021/runs/1366985806?check_suite_focus=true versus https://github.com/cusec/2021/runs/1344483283?check_suite_focus=true on Install Dependencies step (3m 35s and 20s respectively).
The extra time seems to be from falling back to source compile due to grpc pre-built binaries not being found.
><EMAIL_ADDRESS>install /home/runner/work/2021/2021/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.24.2/node-v83-linux-x64-glibc.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/home/runner/work/2021/2021/node_modules/grpc/build'

Potential solutions:

https://stackoverflow.com/questions/52164351/pre-built-binaries-not-found-for-grpc1-10-1-and-node10-9-0
https://stackoverflow.com/questions/51107020/error-during-npm-i-node-pre-gyp-install-fallback-to-build-library-static-l

Currently our builds uses the Ubuntu 18.04 environment provided with GitHub actions, which recently switched the default version of Node.JS to 14.x from 12.x. See:

https://github.com/actions/virtual-environments
https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
https://github.com/actions/virtual-environments/issues/1953 (this recommends using the setup-node action to switch back to Node 12)

The version switch caused these compatibility issues with @grpc/grpc-js (which recommends using Node 12). This explains why the CI suddenly started taking longer during npm ci dependency installation on the grpc step.

https://github.com/grpc/grpc-node/tree/master/packages/grpc-js

From my testing on my machine, Node 14 is where the issues start with the dependency.