Archive in Xcode is getting failed with error: error node_modules/readable-stream/lib/ours/errors.js: Unexpected token name «n», expected punc «,» in file node_modules/readable-stream/lib/ours/errors.js at 296:28.

Description
After Installing the node_modules I was stuck in a wired situation where the Application is building fine in the device and simulator or we can say the app works fine in debug mode. when I try to produce an archive for the release build app is giving me a strange error.
I checked earlier issues where it was mentioned to update babel and update the config.js file but nothing works for me and I'm still getting this error when I try to produce an archive in Xcode
error node_modules/readable-stream/lib/ours/errors.js: Unexpected token name «n», expected punc «,» in file node_modules/readable-stream/lib/ours/errors.js at 296:28.
Error: Unexpected token name «n», expected punc «,» in file node_modules/readable-stream/lib/ours/errors.js at 296:28
    at minifyCode (/Users/patriksharma/laina-react-native-app/node_modules/metro-transform-worker/src/index.js:99:13)
    at transformJS (/Users/patriksharma/laina-react-native-app/node_modules/metro-transform-worker/src/index.js:317:28)
    at transformJSWithBabel (/Users/patriksharma/laina-react-native-app/node_modules/metro-transform-worker/src/index.js:408:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.transform (/Users/patriksharma/laina-react-native-app/node_modules/metro-transform-worker/src/index.js:569:12)
info Run CLI with --verbose flag for more details.

Version
0.66.3
Output of npx react-native info
System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1
    Memory: 130.80 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.11 - /opt/homebrew/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7935034
    Xcode: 14.0/14A309 - /usr/bin/xcodebuild
  Languages:
    Java: javac 19 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: ^6.3.1 => 6.4.0
    react: 17.0.2 => 17.0.2
    react-native: 0.66.3 => 0.66.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
Open IOS folder.
Click on XXXX.xcworkspace
Choose the Team and Release configuration
Click on Archive

Snack, code example, screenshot, or link to a repository

@patriksharma I'm having the same issue! Did you end up solving it? Any insights would be appreciated.

Thanks for the reply @patriksharma!
I ended up switching out the minifcation lib metro uses which resolved the issue for me:

npm install --save-dev metro-minify-terser.
Added minifierPath: 'metro-minify-terser', to metro.config.js's transformer settings.


Simplify options for all Leshan command line tool.

see #197

rethinking about this, it seems to me that changing port is the main use case and so not sure that merging the option lh and lp  will simply it.
So I close this one.


pkg: images: reuse client

no need to create a specific k8s client to learn the image details, we can safely reuse the manager builtin client.

/hold

/retest

CI failure may be legit, need to investigate

/retest
we had a bunch of infra-related flakes lately

let's rethink the client management entirely


Format for Add Banner option expiration date

Hi !

An expiration date can take many forms.  What is the correct format to use here?

In general, all commands and all their options should have examples

regards
Terje

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fc2defa5-f976-2d8b-0d23-4af1eecf43e3
Version Independent ID: efa5d010-ffb5-9113-3b3a-dff60c160cd7
Content: vsts admin banner
Content Source: src/command_modules/vsts-cli-admin/vsts/cli/admin/_help.py
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

We call dateutil.parser.parse(value) on your date string.  It will except a wide variety of formats.
Docs on dateutil.parser.parse:
https://dateutil.readthedocs.io/en/stable/parser.html
These examples show some valid formats:
https://dateutil.readthedocs.io/en/stable/examples.html#parse-examples


page.bottom_appbar has no visible property

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
Setting page.bottom_appbar visible property fails
does not currently work
Code sample
page.bottom_appbar.visible = False
will produce an error
To reproduce
page.bottom_appbar.visible = False
Expected behavior
page.bottom_appbar.visible = False
should work just as
page.appbar.visible = False
currently does.
Screenshots / Videos

Screenshots / Video demonstration
[Upload media here]

Operating System
macOS
Operating system details
All OSes
Flet version
all flet versions
Regression
No, it isn't
Suggestions
No response
Logs
No response
Additional details
No response

BottomAppBar class has a visible property.
Please share some code, for further assistance.


Line, Ellipse, Rings tab distance fields should handle deleting initial digit of 10000 like Circle tab

In issue https://github.com/Esri/distance-direction-addin-dotnet/issues/278 it was reported that the circle tab had unexpected behavior of setting the distance to "0" when the first digit was deleted from a distance string with multiple zeros. So, for e.g., delete the 2 before 200,000 should leave the 00,000 in the box, so I can add a 3 to make 300,000.
This was corrected for the circle tab in PR#529 but the issue applies to the other distance fields on the Line, Ellipse, and Rings tabs.
Tested ArcMap 10.5, MT 2.0 build from 4/17/18.

We need to update this issue to identify exactly where the fix needs to be applied.

@topowright @kgonzago @lfunkhouser build 12  in ....\Commercial\Solutions\DefenseSolutions\DistanceAndDirection\Testing can be used to test this functionality

There is still a problem with this on the Line tab in ArcMap. All tabs in Pro work correctly, and the Circle, Ellipse and Ring tab work correctly in ArcMap.
Line tab does not draw in ArcMap:

Select From: Distance and Bearing
Enter a starting point
Enter a distance/length of 10,000
Enter an angle of 32
preview draws
Change the distance/length to 20,000 by deleting the 1 and typing a 2
preview updates
Press Enter
no line draws


Getting errors after upgrading to vercel-action

I can build the app and visit it on the link generated by Vercel. But for some reason Vercel can't publish on the production url. Instead it produces an error that it can't find the link it generated.
Error! Failed to find deployment "https://routify-2020-l4pp0d9s5.now.sh" in jakobrosenberg

Logs
Run amondnet/vercel-action@v19
set environment for vercel cli
set env variable : VERCEL_ORG_ID
set env variable : VERCEL_PROJECT_ID
/opt/hostedtoolcache/node/12.16.3/x64/bin/npx vercel --prod -t *** -m githubCommitSha=0087f6d8ff5884ed1f6e39d0ed635eeceb6b2cfd -m githubCommitAuthorName=jakobrosenberg -m githubCommitAuthorLogin=jakobrosenberg -m githubDeployment=1 -m githubOrg=sveltech -m githubRepo=routify-site-2020 -m githubCommitOrg=sveltech -m githubCommitRepo=routify-site-2020 -m githubCommitMessage=bump routify -m githubCommitRef=refs/heads/master
Vercel CLI 19.0.1

Vercel CLI 19.0.1
The `name` property in now.json is deprecated (https://zeit.ink/5F)

The `name` property in now.json is deprecated (https://zeit.ink/5F)
- Deploying sveltaforce/routify-2020

- Deploying sveltaforce/routify-2020

Inspect: https://vercel.com/sveltaforce/routify-2020/l4pp0d9s5 [6s]

Inspect: https://vercel.com/sveltaforce/routify-2020/l4pp0d9s5 [6s]
https://routify-2020-l4pp0d9s5.now.sh
https://routify-2020-l4pp0d9s5.now.sh- Queued

- Queued

- Building

- Building

- Completing

- Completing

Production: https://routify.dev [39s]

Production: https://routify.dev [39s]
set preview-url output
/opt/hostedtoolcache/node/12.16.3/x64/bin/npx vercel inspect https://routify-2020-l4pp0d9s5.now.sh -t ***
Vercel CLI 19.0.1

Vercel CLI 19.0.1
- Fetching deployment "https://routify-2020-l4pp0d9s5.now.sh" in jakobrosenberg

- Fetching deployment "https://routify-2020-l4pp0d9s5.now.sh" in jakobrosenberg

Error! Failed to find deployment "https://routify-2020-l4pp0d9s5.now.sh" in jakobrosenberg

Error! Failed to find deployment "https://routify-2020-l4pp0d9s5.now.sh" in jakobrosenberg
##[error]The process '/opt/hostedtoolcache/node/12.16.3/x64/bin/npx' failed with exit code 1

hi @jakobrosenberg ,
https://github.com/amondnet/now-deployment/issues/50#issuecomment-629592169
This leads to failing builds, because the team project can't be found within your personal scope.
It used to work with now 18.0.0, but fails with now 19.0.1.
Currently, you can do this through a vercel configuration file.
https://vercel.com/docs/configuration#project/scope
{
  "github": {
     "enabled": false
  },
  "version" : 2,
  "scope": "my-team"
}

I will add this feature to the next version.

https://github.com/amondnet/now-deployment/issues/50

@jakobrosenberg
Fixed in amondnet/vercel-action#5
      - uses: vercel-action@v19 //v19.0.1+1
        id: vercel-action
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          vercel-token: ${{ secrets.VERCEL_TOKEN }}
          vercel-org-id: ${{ secrets.VERCEL_ORG_ID_TEAM_SCOPE }}
          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_TEAM_SCOPE }}
          working-directory: example/team-scope
          scope: ${{ secrets.VERCEL_SCOPE }}
```yaml

All of a sudden we're getting this bug again. I've tried updating to v19.0.1+3, but the bug is still there.
Vercel CLI 19.2.0
Error! Failed to find deployment "https://routify-2020-jgai3fuys.vercel.app" in jakobrosenberg

@jakobrosenberg I think this is related #24
This action use scope everywhere npx is used.
Set the scope value and try again.
scope: ${{ secrets.VERCEL_SCOPE }}

I have tested it. If scope is not set, it will not work.
https://github.com/amondnet/vercel-action/runs/980656170?check_suite_focus=true

Hi @amondnet, do I read it correctly, that either scope or vercel-project-name is required, but not both?
Also, what is scope in this context?

Hi @jakobrosenberg
scope is your username or team slug.
https://vercel.com/docs/platform/users-and-teams#

There are identity forms available on Vercel, called "scopes": Users and teams.

https://vercel.com/docs/cli#commands/overview/project-linking

When running vercel in a directory, Vercel CLI needs to know which scope and Project you want to deploy your directory to.

vercel-project-name may be routify-2020.

That seemed to fix it. Thanks @amondnet


[Bug] OperationName is always capitalized

Operation:
mutation foo {
  bar
}

Generates:
res, err := Ξc.Client.Mutation(ctх, "Foo", FooDocument, Ξvars, &data)

Note how the generated operation-name Foo is capitalized while the schema says that it's not capitalized. This is resulting in an error when doing the actual request.

Solution: Remove go-modifier for operation name.
clientgen/template.gotpl:
res, err := Ξc.Client.{{ $op.OperationType|ucFirst }}(ctх, "{{ $op.Name }}", {{ $op.Name|go }}Document, Ξvars, &data)

Reopening until implemented in this repo.


⚠ Spryr has degraded performance

In a763e30, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3900 ms

Resolved: Spryr performance has improved in c6813aa after 31 minutes.


Add sensitivity plots

Fixes #30

Handle the conflicts

Done already?

I don't understand the _ method? It was the same as the non _ method? So I just removed that in the merge fix.


Create Serializers test cases

Hi,
I have completed the changes and requested them to review on Git. Looking
forward to hearing from you.
Thank you.
On Tue, May 16, 2023 at 5:37 AM Sreekanth Reddy Balne <
@.***> wrote:

@.**** requested changes on this pull request.
Could you please write a test case for AuthBackendSerializerMixin? All
these serializers appear to be inheriting from that.
In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1194843675
:

def test_dummy():
assert 1 == 1

Could you please remove this in a separate commit?
In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1194864883
:

import pytest

+from df_auth.drf.serializers import TokenCreateSerializer
+from df_auth.drf.serializers import TokenObtainSerializer
+from df_auth.drf.serializers import OTPObtainSerializer
+from df_auth.drf.serializers import SignupSerializer
+from df_auth.drf.serializers import InviteSerializer
+from rest_framework_simplejwt.settings import api_settings as simplejwt_settings
Unused import. Please remove this statement.
In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1194877801
:

+from df_auth.drf.serializers import TokenCreateSerializer
+from df_auth.drf.serializers import TokenObtainSerializer
+from df_auth.drf.serializers import OTPObtainSerializer
+from df_auth.drf.serializers import SignupSerializer
+from df_auth.drf.serializers import InviteSerializer

minor: I think we should compress these into a single statement.
from df_auth.drf.serializers import (
InviteSerializer,
OTPObtainSerializer,
SignupSerializer,
TokenCreateSerializer,
TokenObtainSerializer,
)

In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1194891087
:

+def test_token_obtain_serializer_validate():

user = @.***', password='12345')
payload = @.***','password':'12345'}
serializer = TokenObtainSerializer(data=payload)
serializer.user=user
assert serializer.is_valid(raise_exception=True) is True

Additional validation is needed here. Please note that the validation
depends on:

api_settings.REQUIRED_AUTH_FIELDS, the serializer should throw an
error if these fields are not provided.
api_settings.OPTIONAL_AUTH_FIELDS, the serializer should be able to
tolerate empty data for these fields.

So, we should patch the api_settings.REQUIRED_AUTH_FIELDS and see if that
is affecting the serializer validation as expected. The same goes for
api_settings.OPTIONAL_AUTH_FIELDS as well.
—
Reply to this email directly, view it on GitHub
https://github.com/djangoflow/django-df-auth/pull/21#pullrequestreview-1428077615,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7TM4HSFQWP3Z55Q7MTZIV3XGNDD7ANCNFSM6AAAAAAX3PASYE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Updated. Please review
On Thu, 25 May 2023 at 1:54 PM, Sreekanth Reddy Balne <
@.***> wrote:

@.**** requested changes on this pull request.
In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1205205519
:

   with pytest.raises(ValidationError):

         assert serializer.is_valid(raise_exception=True)

with pytest.raises(ValidationError):
serializer.is_valid(raise_exception=True)

In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1205207831
:

def test_validate_success(self):

   attrs = {

       'username': 'test_user',

       'password': 'test_password',

   }

   self.serializer.backend_method_name = ""

   with pytest.raises(AuthenticationFailed):

       self.serializer.validate(attrs)

I think a test to check what happens if a backend_method_name is not set,
is required.
—
Reply to this email directly, view it on GitHub
https://github.com/djangoflow/django-df-auth/pull/21#pullrequestreview-1443403851,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7TM4HUFVZTHJMGEGOGXYMLXH4M6BANCNFSM6AAAAAAX3PASYE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Sreekanth,
Can you please merge my code? Thank you
Best,
On Thu, May 25, 2023 at 5:47 AM Hassan Farooq @.***>
wrote:

Updated. Please review
On Thu, 25 May 2023 at 1:54 PM, Sreekanth Reddy Balne <
@.***> wrote:

@.**** requested changes on this pull request.
In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1205205519
:

   with pytest.raises(ValidationError):

         assert serializer.is_valid(raise_exception=True)

with pytest.raises(ValidationError):
serializer.is_valid(raise_exception=True)

In tests/test_app/tests.py
https://github.com/djangoflow/django-df-auth/pull/21#discussion_r1205207831
:

def test_validate_success(self):

   attrs = {

       'username': 'test_user',

       'password': 'test_password',

   }

   self.serializer.backend_method_name = ""

   with pytest.raises(AuthenticationFailed):

       self.serializer.validate(attrs)

I think a test to check what happens if a backend_method_name is not set,
is required.
—
Reply to this email directly, view it on GitHub
https://github.com/djangoflow/django-df-auth/pull/21#pullrequestreview-1443403851,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7TM4HUFVZTHJMGEGOGXYMLXH4M6BANCNFSM6AAAAAAX3PASYE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Linking errors while compiling the echo_server sample with netusb overlay on stm32

Hey!
I'm experiencing some difficulties with stm32f411e_disco , I'm trying to compile the echo_server sample with the netusb overlay, however it throws me linking errors such as:

/home/c456913/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd:zephyr/subsys/usb/device/class/netusb/libsubsys__usb__device__class__netusb.a(function_ecm.c.obj): in functionecm_read_cb':
/home/c456913/zephyrproject/zephyr/subsys/usb/device/class/netusb/function_ecm.c:295:undefined reference tonet_pkt_rx_alloc_with_buffer'
/home/c456913/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd:/home/c456913/zephyrproject/zephyr/subsys/usb/device/class/netusb/function_ecm.c:302: undefined reference tonet_pkt_write'
/home/c456913/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /home/c456913/zephyrproject/zephyr/subsys/usb/device/class/netusb/function_ecm.c:304: undefined reference to net_pkt_unref' /home/c456913/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/subsys/usb/device/class/netusb/libsubsys__usb__device__class__netusb.a(function_ecm.c.obj): in function ecm_send':
/home/c456913/zephyrproject/zephyr/subsys/usb/device/class/netusb/function_ecm.c:260: undefined reference to `net_pkt_read'

Does that mean this board doesn't support netusb and if so how can I fix that?

@roygedge
can you give me more information

what is the exact command you used:
like  : west build -p always -b   stm32f411e_disco  samples/net/sockets/echo_server/
if you add some overlay can you give me the file you use
do you have already use with success  the sample you hope to use  with another board ?


Set up lazy loading for it installs so many libraries right now

The main issue here is that the whole registry system works only when modules are actually imported. How can we handle this?

The latest commits for v0.26.0 is somehow dedicated to this task. Setting up lazy imports the way Transformers does it seems to be overkill for us right now.
In our new implemented schema there is a new class variable in all main modules called required_backends which is a list of libraries that are required for the module to work. Right now some additional libraries like librosa, soundfile, pillow, nltk, etc. are not installed along with Hezar as they used to but instead, they are optional. The users will be notified of any unavailable package only if they use a class that necessarily needs it.
For example if you run the follwing code:
from hezar import Model
model = Model.load("hezarai/trocr-fa-v1")

The following error will be raised:
ModuleNotFoundError: `TrOCRImage2Text` requires `PIL` which is not installed!


feat(schema): allow $client and $server vite env overrides

🔗 Linked issue
https://github.com/nuxt/nuxt/issues/13499#issuecomment-1643476119
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This allows configuring client/server configuration for vite directly in the Nuxt config, without needing to do so in a hook. This is pure convenience, but avoids issues where setting a vite configuration for the client ends up having negative implications for the server configuration, as in the linked issue above.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

This is a nice idea for env (client/server) specific configuration. However, I'm a little bit concerned about making it "vite" specific. It could be extended to other bundlers (webpack) but also possibly for edge cases such as app config which is client/server specific. I think we can move forward with this and always alias only to mention about possibility of a (more generic) feature.

Yes, I think we should support webpack out of the box in this PR 👍

@pi0 Any changes you would suggest? I don't think there's anything blocking us from refactoring to a native c12 feature if we end up building it.


ASP.NET 5 RC2, Azure: "The specified CGI application encountered an error and the server terminated the process."

When I publish to Azure using the latest RC2 I receive the following error message to the browser after an extremely long load time:
The specified CGI application encountered an error and the server terminated the process.

I have ensured I am publishing with the exact correct clr version.
The app sometimes runs after the initial error message, but extremely slowly.
Does anybody have any suggestions?

Did you get any resolution to this? I'm having the same issue with latest RC2.


The virus is in Installer

Please do not submit bugs for unsupported EFT or unstable SPT-AKI versions
Double check the main page for the latest EFT and SPT-AKI versions we support.
Describe the bug
Can't download in Chrome because of virus in latest Installer.zip. Meanwhile there is no problem in Firefox

Can you show us the error/warning you are receiving. I just downloaded the installer zip from the releases page on chrome without any issues.

No problems

Here is the virustotal report for the installer:
https://www.virustotal.com/gui/url/5c0190bcce034300e247c32fb3c1f50ef62ddb9c5dd0eb01c66bd732f490416d
As you can see, all is green.
I already spotted that sometimes, Chrome is temporarily blocking us on a fresh release,  but it settles itself in the next few days


Terminal should support restart/resume

Summary
Terminal should be restartable:

When closed, Terminal should persist it's visual state to a file
When opened, if the Terminal state file exists and contains state data, the TErminal should restore its state from the state data, restoring its visual appearance, text content, etc. mirroring its visual state at the point that the Terminal was closed

Notes:

This does not mean that terminal tabs/panes should re-attach to the connections they were connected to when the Terminal was closed - this may be impossible in some cases - but the user should be able to see the content within each tab/pane, as it was when the Terminal was closed
It may be possible to query the attached shell for environment data, inc. cwd before closing. In which case, Terminal should attempt to cd to the last recorded cwd, restore env-vars, and resume in some cases (e.g. when restoring connection to in-box shells.

When displaying restored content, the text should indicate that it is in read-only state, perhaps by dimming the text's luminance by some visible percentage.

Proposed technical implementation details (optional)

This is a combo of #766 and #961


Why does my Json Deserializer return 0 for all numeric values, but Swagger returns the correct values?

Type of issue
Other (describe below)
Description
I'm working on writing a Blazor app using .NET 8. I've got a database with column names that have embedded whitespace. When I deserialize it all the numeric values (SMALLINT in a SQL Server database) are 0 (for example the column "Video Number"), which is wrong and doesn't correctly show what's in the table. However, when I check the values using Swagger, it is perfectly correct. I had thought that the attribute JsonPropertyName would resolve my issue, but it doesn't. Here's my class
public partial class Entry
{
    [Key, Column("Video Number", Order = 0)]
    [JsonPropertyName("Video Number")]
    public short VideoNumber { get; set; }

    [Key, Column("Entry", Order = 1)]
    public byte Entry1 { get; set; }

    [Required]
    public short ShowCode { get; set; }

    [Required]
    public string EpisodeName { get; set; } = null!;

    public DateTime? ActualPlayTime { get; set; }

    public bool Completed { get; set; }

    public string? Comment { get; set; }

    public TimeOnly? ActualPlayTime1 { get; set; }

    public virtual Show Show { get; set; } = null!;

    public virtual Video VideoNumberNavigation { get; set; } = null!;
}

And here's the code snippet where I'm trying to read the data out of the table:
var contentStream = await httpResponse.Content.ReadAsStreamAsync();
var bozo = await System.Text.Json.JsonSerializer.DeserializeAsync<Entry[]>(contentStream, new System.Text.Json.JsonSerializerOptions { DefaultIgnoreCondition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, PropertyNameCaseInsensitive = true });
return bozo;

Page URL
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/customize-properties
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/serialization/system-text-json/customize-properties.md
Document Version Independent Id
27c18218-d28f-a524-b7e1-8262005b7026
Article author
@gewarren
Metadata

ID: 7bee4ecb-7464-b321-937a-e6d4586556eb
Service: dotnet-fundamentals

Related Issues

@eiriktsarpalis Do you know what's going on here?

If I'm understaning the issue correctly, this is not related to the documentation per se but is a product question. @rfalanga Would it be possible to share the actual JSON you're trying to deserialize, how you're generating swagger files (Swashbuckle? Asp.NET OpenAPI? Something else?) and the expected vs actual results? Thanks.

I'm sorry, I'd forgotten that I posted this question here. Thank you. @eiriktsarpalis, for the reminder.
I've discovered the problem. I had mistakenly tried to retrieve values from the wrong table. And because of that, the numeric values were all 0, since none of those columns were in the table I was trying to pull data from. However, coincidentally, the string values were coming from the table I was pulling data from, thus my confusion.
Bottom line, it was my fault, and I apologize for bringing this up. I'll close this issue now.


fixed buttons size

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #391
Test URLs:

Before: https://main--sling--aemsites.aem.live/
After: https://391-buttons--sling--aemsites.aem.page/

Still WIP.

Ouch I realized where we are already using bold.  Links that are within other text should NOT be given the button-container class.

Yes Charity, i also noticed this.


graphcool setup?

I wanted to test the repo as it is and I was wondering the same. I ended up following the tutorial.
If you want to shortcut a bit:
After creating the project in Graphcool with:
graphcool init --schema https://graphqlbin.com/hn-starter.graphql --name Hackernews

Replace the contents of your local project.graphcool with this (without touching the first two lines):
type Link implements Node {
  createdAt: DateTime!
  description: String!
  id: ID! @isUnique
  updatedAt: DateTime!
  url: String!
  postedBy: User @relation(name: "UsersLinks")
  votes: [Vote!]! @relation(name: "VotesOnLink")
}

type File implements Node {
  contentType: String!
  createdAt: DateTime!
  id: ID! @isUnique
  name: String!
  secret: String! @isUnique
  size: Int!
  updatedAt: DateTime!
  url: String! @isUnique
}

type User implements Node {
  createdAt: DateTime!
  id: ID! @isUnique
  email: String @isUnique
  updatedAt: DateTime!
  name: String!
  password: String
  links: [Link!]! @relation(name: "UsersLinks")
  votes: [Vote!]! @relation(name: "UsersVotes")
}

type Vote implements Node {
  id: ID! @isUnique
  user: User! @relation(name: "UsersVotes")
  link: Link! @relation(name: "VotesOnLink")
}

And then enable the Email&Password provider on Graphcool Console as described in this chapter.

Hi @johnreynolds! In theory you can build the GraphQL server yourself, e.g. by following one of the backend tutorials on How to GraphQL.
However, it's definitely recommended to just use the Graphcool Framework for the tutorial since it saves you a lot of time you'd otherwise spend on the backend! 👍


keras to opencv file format issue

I am faced with the following error while trying to run camera.py script. I guess it is a keras to opencv file format issue and I don't know how to solve it.

ValueError: Error when checking : expected input_1 to have shape (None, 224, 224, 3) but got array with shape (1, 3, 224, 224)

When running the test_imagenet.py getting the error like

Can any one please update why getting the error

@elnas , you can try commenting the following line of the code image = image.transpose((2, 0, 1))

@ManjeeraJagiri  thanx a millie. Problem solved!!!


Is there an easier way to override the default views provided by this package?

Would the easiest way to override views be for me to just fork this project and edit the view files or is there a way to configure some view override class.
I'm sure I could just create a new class and use my own views, but just wanted to ask.

Yeh, in your app, you can override view from this package by putting them in resources/views/vendor/credentials.


Add darwin-arm64 platform

Hello,
I was trying to install this extension https://github.com/dlvhdr/gh-prs and it's not built for darwin-arm64. I've investigated a bit and it led me to open this PR.
I'm not sure if this change is enough, as I'm not familiar with the go ecosystem. I'm available if you need me to test anything :)
Related issue: https://github.com/dlvhdr/gh-prs/issues/10

Hi,
We're matching the platforms that gh itself ships for. I'll happily merge this once we're officially supporting darwin-arm64 over in gh itself. You can comment on or track that work in: https://github.com/cli/cli/issues/2426

@vilmibm even though the linked issue is still open, gh supports Apple Silicon by way of Homebrew.  Would like to see this merged!


🍰 Add Wallet Link To Mails

🍰 Pullrequest

Issues

fixes #1734

Todo

[x] should other e-mails containing this link as well? or other links?

no

[x] set correct client URI
[x] implement EMAIL_CLIENT_URI config

[x] therefore increment CONFIG_VERSION by searching for v4.2022-04-05

[x] test e-mail text and link manually
[x] write tests
[x] clean up: search for Wolle

What do you think about this package?
https://github.com/forwardemail/email-templates

https://github.com/forwardemail/email-templates

We can investigate this for the future. I can make an issue for it? @Mogge
👍🏼
But in this issue just adding a link is the task I do understand.

If I pull the actual master then the frontend tests are not running anymore @ogerly


Adding Fulgor to Bioconda

Hello,
we'd like to plug Fulgor into a workflow that uses Snakemake to install automatically all packages/dependencies from Bioconda.
However, Fulgor doesn't seem to be available on Bioconda, yet (https://bioconda.github.io/search.html?q=fulgor).
Is there a chance it could be added to https://github.com/bioconda/bioconda-recipes?
Thanks!

Hi @karel-brinda, seems a good idea, but I've never done it before.
@rob-p, however, surely knows very well how to do it :)

Drive-by comment: Add it to conda-forge instead. Fairly similar process, but conda-forge is more featureful (it had linux-aarch64 and macos-arm64 much earlier than bioconda, and if you're feeling brave you can even build windows packages :smile: ).
for the user it will still be available for bioconda (because bioconda requires the conda-forge channel to be present)

I started the staged-recipes PR for fulgor in https://github.com/conda-forge/staged-recipes/pull/28343
It might not get approved because conda-forge usually frowns upon bringing dependencies as submodules (instead of actually being dependencies packaged as conda packages), but I think they might open an exception because it would change the build system a lot to make it all work...

linux x86_64 build working, I know how to fix macos x86_64 too. Probably skip windows for now, introduce in the future if needed.
If it is not accepted for merge (due to bringing in deps as pointed above) it will be easy to convert to a bioconda recipe.


<EMAIL_ADDRESS>download via aria2 failed

Scoop Configuration

//# Your configuration here

/verify


Image Format Conversion

Description of the new feature / enhancement
Add support for changing format of images in Image Resizer. A few options:

Add a dropdown menu for image format in the resize menu (same format, PNG, JPG, etc)
Add support for specifying output format in custom sizes (ex. I can say I want output to be <1920x1080 AND .jpeg at 80% quality).

Scenario when this would be used?
I want to bulk convert many PNGs to JPGs to strip the alpha channel (remove transparency).
Supporting information
Here's some current solutions:
https://www.microsoft.com/en-us/p/image-converter/9pgn31qtzq26#activetab=pivot:overviewtab
https://www.techsupportalert.com/use-windows-explorers-context-menu-to-convert-files-on-the-fly/

/dup #2686


C# version configuration intro implies it is discouraged and should be avoided

If you must specify your C# version explicitly, you can do so in several ways:

The wording here with must implies that it should be avoided if possible.
I am currently looking at the using declarations introduced in C# 8.0 in .NET framework projects. We have been using latest in the past, and it automatically worked even for projects targeting .NET Framework 4.0. This tells me no additional requirements are necessary to use this even when the default for .NET Framework is 7.3 (in VS 2019).
Reading this article talking about defaults and Relationships between language features and library types talking about using newer versions for newer features and installing nuget packages where necessary tells me this is a valid use case.
The wording with must implies differently though.
Which one is it? I suspect the “if you must” should be weakened and elaborated to something like the following?

If you decide to use a newer C# version for newer features and to manage where they are not immediately usable (see Managing your dependencies) you can do so in several ways:

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5694e62b-c756-1f62-4014-2ceafa54c011
Version Independent ID: 3f01c378-22e4-197c-a862-ab4a924506c7
Content: C# language versioning - C# Guide
Content Source: docs/csharp/language-reference/configure-language-version.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@ite-klass
The language is correct here. Updating the language version for a different framework has many implications. Therefore, it's not officially supported. For example:
. The libraries for framework have not been annotated with nullable reference types. That means the nullable warnings are much less useful when targeting that framework.
. Some packages for necessary types are provided by 3rd parties. While we welcome that effort, we haven't validated those packages.
. New CLR support is required for default interface members.
What you've described above is an advanced scenario. I'm closing this as by design.


Beta 1.0.0: Fails to provision the Kube on Packet

I am trying to deploy a Kube on Packet.net but the deployment is infinitely provisioning. The Kube config is the following:

Master Node Size - Type 0
Kube Master Count - 1
Node Sizes - Type 0
Packet region - ewr1

This has been merged and will be closed on release.


BIGTOP-3767. Add Spark Thrift Server Puppet Deploy Code

Description of PR
Add Spark Thrift Server Puppet Deploy Code
How was this patch tested?

#972 first should resolve the pr
edit the docker-hadoop.sh

bigtop::hadoop_head_node: $1

hadoop::hadoop_storage_dirs:
- /data/1
bigtop::roles_enabled: true
bigtop::roles:
- namenode
- resourcemanager
- hive-client
- hive-metastore
- datanode
- nodemanager
- mapred-app
- spark-on-yarn
- spark-thriftserver
bigtop::bigtop_repo_uri: ["file:///bigtop-home/output"]
hadoop_hive::common_config::hive_execution_engine: "tez"
hadoop::common::use_tez: true
hadoop::common_yarn::yarn_resourcemanager_scheduler_class: org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
hadoop::common_yarn::yarn_scheduler_capacity_maximum_am_resource_percent: 0.5
hadoop_hive::common_config::hive_tez_container_size: 1024
hadoop_hive::common_config::hive_tez_cpu_vcores: 1
hadoop_hive::common_config::hive_server2_enable_doAs: false

create a docker containner

./docker-hadoop.sh -d -c 1

now you can use beeline to test the Thrift JDBC/ODBC server:

For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[x] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

spark-thriftserver stopped after emitting following log to /var/log/spark/spark-thriftserver.out when I ran smoke-tests of spark. @vivostar
22/08/03 04:35:48 INFO HiveMetaStore: 0: Opening raw store with implementation class:org.apache.hadoop.hive.metastore.ObjectStore
22/08/03 04:35:48 INFO ObjectStore: ObjectStore, initialize called
22/08/03 04:35:49 INFO Persistence: Property hive.metastore.integral.jdo.pushdown unknown - will be ignored
22/08/03 04:35:49 INFO Persistence: Property datanucleus.cache.level2 unknown - will be ignored
Wed Aug 03 04:35:49 UTC 2022 Thread[main,5,main] java.io.FileNotFoundException: derby.log (Permission denied)
Wed Aug 03 04:35:49 UTC 2022 Thread[main,5,main] Cleanup action starting
ERROR XBM0H: Directory /metastore_db cannot be created.
        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
        at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
        at org.apache.derby.impl.services.monitor.FileMonitor.createPersistentService(Unknown Source)
        at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection$5.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.derby.impl.jdbc.EmbedConnection.createPersistentService(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
        ...

You can update the roles_map in bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf and add smoke-tests in follow-up JIRAs.

/var/log/spark/spark-thriftserver.out

The log destination should be /var/log/spark/spark-thriftserver.log rather than spark-thriftserver.out.

/var/log/spark/spark-thriftserver.out

The log destination should be /var/log/spark/spark-thriftserver.log rather than spark-thriftserver.out.

Thanks for your advice, I will fix these problems.

Cleanup

hi, @iwasakims ,  could you give me your deploy yaml so that I can reproduce the problem?

The current spark smoke test doesn't correlate to the spark thrift server, so I think the smoke test shouldn't effect the the spark thrift server.

After running spark smoke test, the thrift server was killed(maybe we should use other database for hive metastore rather than defalt deby). But there is no such log.

I tried this again. spark-thriftserver just stopped even without running the smoke-test. My previous comment was misleading. It looks insufficient configuration for the service.

could you give me your deploy yaml so that I can reproduce the problem?

I modified cluster.pp for local testing. The gateway_server is the same node of hadoop_head_node in the following deployment.
diff --git a/bigtop-deploy/puppet/manifests/cluster.pp b/bigtop-deploy/puppet/manifests/cluster.pp
index b016d6f..c432036 100644
--- a/bigtop-deploy/puppet/manifests/cluster.pp
+++ b/bigtop-deploy/puppet/manifests/cluster.pp
@@ -69,6 +69,7 @@ $roles_map = {
     worker => ["spark-on-yarn"],
     client => ["spark-client"],
     library => ["spark-yarn-slave"],
+    gateway_server => ["spark-thriftserver"],
   },
   spark-standalone => {
     master => ["spark-master"],

$ cd provisioner/docker
$ ./docker-hadoop.sh \
       --create 3 \
       --image bigtop/puppet:trunk-centos-7 \
       --memory 8g \
       --repo file:///bigtop-home/output \
       --disable-gpg-check \
       --stack hdfs,yarn,mapreduce,spark

could you give me your deploy yaml so that I can reproduce the problem?

I modified cluster.pp for local testing. The gateway_server is the same node of hadoop_head_node in the following deployment.
diff --git a/bigtop-deploy/puppet/manifests/cluster.pp b/bigtop-deploy/puppet/manifests/cluster.pp
index b016d6f..c432036 100644
--- a/bigtop-deploy/puppet/manifests/cluster.pp
+++ b/bigtop-deploy/puppet/manifests/cluster.pp
@@ -69,6 +69,7 @@ $roles_map = {
     worker => ["spark-on-yarn"],
     client => ["spark-client"],
     library => ["spark-yarn-slave"],
+    gateway_server => ["spark-thriftserver"],
   },
   spark-standalone => {
     master => ["spark-master"],

$ cd provisioner/docker
$ ./docker-hadoop.sh \
       --create 3 \
       --image bigtop/puppet:trunk-centos-7 \
       --memory 8g \
       --repo file:///bigtop-home/output \
       --disable-gpg-check \
       --stack hdfs,yarn,mapreduce,spark

Hi, @iwasakims , the spark thrift server depends on hive. That's the reason of that error.

And the stacks should exclude the hive server2,  that's because spark thrift server default port is the same with hive server2 defalt port.

According to the dicussion above, I update the pr.

hi, @iwasakims, I have updated the pr(we can bind port manually).

tested on centos-7 x86_64(you can define spark thrift server port by editting the site.yaml)
./docker-hadoop.sh \
       -d \
       --create 2 \
       --image bigtop/puppet:trunk-centos-7 \
       --memory 8g \
       --repo http://repos.bigtop.apache.org/releases/3.1.0/centos/7/\$basearch \
       --disable-gpg-check \
       --stack hdfs,yarn,mapreduce,spark,hive
[root@37a8654d8c5f /]# netstat -an | grep 12000
tcp        0      0 <IP_ADDRESS>:12000           <IP_ADDRESS>:*               LISTEN
[root@37a8654d8c5f /]# beeline
beeline> !connect jdbc:hive2://localhost:12000
0: jdbc:hive2://localhost:12000> show databases;
+------------+
| namespace  |
+------------+
| default    |
+------------+
1 row selected (0.666 seconds)
0: jdbc:hive2://localhost:12000> create database tmp;
+---------+
| Result  |
+---------+
+---------+
No rows selected (0.284 seconds)
0: jdbc:hive2://localhost:12000> create table tmp.person(id string, name string);
+---------+
| Result  |
+---------+
+---------+
No rows selected (0.442 seconds)
0: jdbc:hive2://localhost:12000> insert overwrite table tmp.person select '001', 'Don';
+---------+
| Result  |
+---------+
+---------+
No rows selected (2.69 seconds)
0: jdbc:hive2://localhost:12000> select * from tmp.person;
+------+-------+
|  id  | name  |
+------+-------+
| 001  | Don   |
+------+-------+
1 row selected (1.201 seconds)

tested container debian-10 x86_64, there is an error when start thrift server.
22/08/10 01:56:11 INFO StandaloneAppClient$ClientEndpoint: Connecting to master spark://2d5a19e00c2e.bigtop.apache.org:7077...
22/08/10 01:56:11 WARN StandaloneAppClient$ClientEndpoint: Failed to connect to master 2d5a19e00c2e.bigtop.apache.org:7077
org.apache.spark.SparkException: Exception thrown in awaitResult:
        at org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:301)
        at org.apache.spark.rpc.RpcTimeout.awaitResult(RpcTimeout.scala:75)
        at org.apache.spark.rpc.RpcEnv.setupEndpointRefByURI(RpcEnv.scala:101)
        at org.apache.spark.rpc.RpcEnv.setupEndpointRef(RpcEnv.scala:109)
        at org.apache.spark.deploy.client.StandaloneAppClient$ClientEndpoint$$anon$1.run(StandaloneAppClient.scala:107)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Failed to connect to 2d5a19e00c2e.bigtop.apache.org/<IP_ADDRESS>:7077
        at org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:287)
        at org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:218)
        at org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:230)
        at org.apache.spark.rpc.netty.NettyRpcEnv.createClient(NettyRpcEnv.scala:204)
        at org.apache.spark.rpc.netty.Outbox$$anon$1.call(Outbox.scala:202)
        at org.apache.spark.rpc.netty.Outbox$$anon$1.call(Outbox.scala:198)
        ... 4 more
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 2d5a19e00c2e.bigtop.apache.org/<IP_ADDRESS>:7077
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
        at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330)
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:748)

That's because the defalt spark cluster manager type is standalone instead of yarn. So I should add another config to contral spark cluster manager type.


isfunction does not cover async functions

Returns false.

https://github.com/FormBucket/formula/commit/a667487f8b5256671d0cdbc691e2bb03164577e4


fix(app): specify component for markdown uls

When these are undefined, if react-markdown tries to render them it will throw and that will crash the app. With these implemented with the same StyledText passthrough as other text elements, it won't crash anymore - though our styling rules aren't applied to the actual text in the ul.
Closes RQA-2566
Closes RQA-2587

I've thrown this branch on CI to test it. For some reason, locally building isn't sufficient for reproing the initial error.
https://github.com/Opentrons/opentrons/actions/runs/8820595504

I've thrown this branch on CI to test it. For some reason, locally building isn't sufficient for reproing the initial error, and the modal renders locally without issue despite being undefined.
https://github.com/Opentrons/opentrons/actions/runs/8820595504
Will leave a review after that's done.

It reprod on dev mode for me, but you have to be actually trying to render the elements that are used here, at least for me. So there have to be uls in the release notes.


lacking content

I am trouble shooting an issue and I cannot figure out why the connection is failing, I can make the call in postman, and curl, but I cannot see where Power query is failing. It would be better if there was not a data source setting gui and it was just a console that opened, with the ability to capture log files.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2aed81ee-bc6a-ed81-ba22-591d9cb7dc46
Version Independent ID: 5adb25c0-2a4d-7b3f-df4f-82feb892b768
Content: Troubleshooting dataflow issues - connection to the data source - Power Query
Content Source: powerquery-docs/dataflows/troubleshooting-dataflow-issues-connection-to-the-data-source.md
Service: powerquery
GitHub Login: @bensack
Microsoft Alias: bensack

@grtimis sounds like a decent idea. This forum is for documentation feedback though.
Would you mind tracking the wish in the product feedback page?
Submitting feedback
To submit feedback about Power Query, provide the feedback to the "ideas" forum for the product you're using Power Query in. For example, for Power BI, visit the Power BI ideas forum. If you have one, you can also provide feedback directly to your Microsoft account contact.

#please-close


Prevent events from being fired when programmatically caused

For example you want to achieve the following:
If you seek on the player, you round the currentTime-property.
For this I'm using the 'seeked' event.
But if you call the setter of currentTime, it will also fire the seeked event.
An easy solution would be to have an option: disableEvents which will disable every event while true.

You could when doing your listener store the seeked time inside a variable and do nothing in your listener when it's the same time, no?
let lastSeek = null;
player.on('seeked', () => {
  // do the thing you want to do in the listener...
  if (lastSeek !== player.currentTime) {  // You only change and round the currenTime if it's different from the last time the user seeked
    const timeRounded = Math.round(player.currentTime);
    lastSeek = timeRounded; // Change this before so you don't have race condition
    player.currentTime = timeRounded;
  }
});

I think this feature is unnecessary. Sorry for bothering you.
I use this to prevent events from being fired, which is basically my mentioned solution.
const skipEvent = {};

const onEvent = (eventName, handler) => {
    this.player.on(eventName, (...args) => {
        if (skipEvent[eventName] === true) {
            skipEvent[eventName] = false;
            return;
        }

        handler(...args);
    })
};

onEvent('seeked', () => {
    skipEvent.seeked = true;
    player.currentTime = Math.round(player.currentTime);
});


Links are not very visible

Hyperlinks are currently brown, which makes them difficult to distinguish from the black main text. A different colour could be chosen, like the TYPO3 orange for example. Another possibility could be to keep the existing colour but restore the underlining.

Some manuals are shown with this (experimental) CSS. Is this working better for you? https://docs.typo3.org/typo3cms/CoreApiReference/ Link color has more contrast, is more "aggressive".


[improvement] video and audio are not synchronized

Describe the bug
When watching video (YouTube, Safari browser video, etc...), the audio will be delayed about 1.5s, the experience is not good
iOS 14.3  A14 12mini,  A9 SE
I don’t confirm if it is the problem of car unit, but some others have same problem
Thanks

Ignore this, YouTube is OK, I think it is problem of Apps or system


--------------------

6) DIY Merge Conflicts (partial adaptation from basics-branching)

Literally the same as the last level, but you do it yourself

I'll tackle this issue.

I think that tackling this would depend on #224 being resolved first.

Yes, one assumption is that we can name commits whatever we'd like. It also depends on us being able to set the content of the files within the commit. I can add issues for those later.
Do you feel comfortable resolving this? It definitely gets into the nitty gritty


Support Reaction Arrows

This PR is written to supply reaction arrows for a future mhchem extension. mhchem uses seven reaction arrows. Four of them correspond to extensible arrows already available in KaTeX. This PR creates the other three.
These arrows will also be useful to chemists writing about reactions when mhchem is unavailable.
Three new extensible arrows are introduced: \xrightleftarrows, \xrightequilibrium, and \xleftequilibrium.

These names are not mhchem’s user-facing function names. In mhchem, users would call these arrows with syntax such as: \ce{A<-->B}, or \ce{A<=>>B}, or \ce{A<<=>B}. I’ve provided names that look more like the other extensible arrow names. That’s probably worth some discussion.

@ronkok katex.less has been moved to the src folder.  This merge conflict will be need to be resolved before I can merge this PR.

I just merged local master into this branch. I think that takes care of the katex.less issue. If not, let me know.


SqlUtils @Cacheable / @CachePut not working ？Maybe these are  redundant codes?

In dev-0.3 backend source code 。
SqlUtils is a util，defined with scope “prototype” 。

There're three methods declared with annotation @Cacheable or @CachePut
However ， based on the aop rules in spring framework ， all three method will not be invoked with any cache supports .
In ViewserviceImpl source code .

The sqlutils was an new instance created by member property "this.sqlUtils.init()"
The new instances of SqlUtils is made in builder . So the instance cannot be managed by spring aop features .
By the way , Davinci3 use redis as cache 。Is is necessary to make a local cache using caffeine ?

my approach to solve
extract another util call "LoadDataService" ,in "LoadDataService" add new methods which need executed result to be cached。user "sqlUtils" as the method first parameter。 then use "LoadDataService" replace "sqlUtil" in controller or service。


Cannot get date

I cannot get date after selected

Hello @jack2308, can you provide a more detailed explanation of your problem with steps to reproduce it?

I just lauch your example, and i cann't get date in code below
showMonthPicker(
                  context: context,
                  firstDate: DateTime( DateTime.now().year - 1 , 5),
                  lastDate: DateTime( DateTime.now().year + 1, 9 ),
                  initialDate: selectedDate ?? widget.initialDate
              )
                  .then((date) => () {
                        if (date != null) {
                          setState(() {
                            selectedDate = date;
                          });
                        }
                  });

Hello @jack2308, the example is indeed broken. The then-Part maps date into an anonymous function () {...}.
I'm fixing the example now. Thanks for your hint!

Fixed with most recent commit.


Visual Studio Platform IO  Error with Touch library (solved)

I am using Visual Studio for the CYD, and I have the screen working with the following build flags:
build_flags =
-D USER_SETUP_LOADED
-D ILI9341_2_DRIVER
-D TFT_MISO=12
-D TFT_MOSI=13
-D TFT_SCLK=14
-D TFT_CS=15
-D TFT_DC=2
-D TFT_RST=-1
-D LOAD_GLCD=1
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=55000000
-D SPI_READ_FREQUENCY=20000000
-D SPI_TOUCH_FREQUENCY=2500000
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D TFT_BL=21
-D TFT_BACKLIGHT_ON=HIGH
I did not see the touch_cs defined in the setup, and I am getting build errors trying to run the touch example in here.  I am not sure if the code is wrong, or if I am doing something wrong.  Build log portion is included below
Dependency Graph
|-- TFT_eSPI @ 2.5.33
|-- XPT2046_Touchscreen @ 0.0.0-alpha+sha.26b691b2c8
|-- SPI @ 2.0.0
Building in release mode
Compiling .pio\build\esp32dev\src\main.cpp.o
In file included from src/main.cpp:34:
.pio/libdeps/esp32dev/TFT_eSPI/TFT_eSPI.h:973:8: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
#warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
^~~~~~~
src/main.cpp: In function 'void setup()':
src/main.cpp:66:17: error: no matching function for call to 'XPT2046_Touchscreen::begin(SPIClass&)'
ts.begin(mySpi);
^
In file included from src/main.cpp:28:
.pio/libdeps/esp32dev/XPT2046_Touchscreen/XPT2046_Touchscreen.h:46:7: note: candidate: 'bool XPT2046_Touchscreen::begin()'
bool begin();
^~~~~
.pio/libdeps/esp32dev/XPT2046_Touchscreen/XPT2046_Touchscreen.h:46:7: note:   candidate expects 0 arguments, 1 provided
*** [.pio\build\esp32dev\src\main.cpp.o] Error 1

I think my error is most likely related to the touchscreen library
no matching function for call to 'XPT2046_Touchscreen::begin(SPIClass&)'

Someone on the discord had the same error, point to the GitHub of the touch library

I found the error that witnessmenow mentioned - the platfrom IO library handler does not grab the current version, even when I pointed directly to the git.  I had to fork the library, release it, and then point to my release...

@scudrunner how did you fixed your issue? I have the same error and using platform IO CLI. Thanks

I gave up on platform IO.  It was not loading libraries correctly and was
giving me to many issues.  I was forking libraries and publishing then just
to load the right files….
On Sat, Nov 18, 2023 at 12:12 PM Martin Trigaux @.***>
wrote:

@scudrunner https://github.com/scudrunner how did you fixed your issue?
I have the same error and using platform IO CLI. Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/issues/57#issuecomment-1817573766,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQCYWUZUDXCW5QYAVA3RBLYFDUATAVCNFSM6AAAAAA7NORNQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGU3TGNZWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok I see, pio pkg install -l XPT2046_Touchscreen installs version 0.0.0-alpha+sha.26b691b2c8 from registry.plateformio.org (2019) and not the one from github (1.4).
Installing using pio pkg install -l "https://github.com/PaulStoffregen/XPT2046_Touchscreen.git" does seems to take the latest version<EMAIL_ADDRESS>which is the latest commit as of today) and I can run pio run correctly now.

I was trying to run some other packages as well, and had the same issue, so
I gave up.  If it was only this package, I would have been OK, but it was
to much to deal with.
On Sun, Nov 19, 2023 at 4:16 AM Martin Trigaux @.***>
wrote:

Ok I see, pio pkg install -l XPT2046_Touchscreen installs version
0.0.0-alpha+sha.26b691b2c8 from registry.plateformio.org
https://registry.platformio.org/libraries/paulstoffregen/XPT2046_Touchscreen
(2019) and not the one from github
https://github.com/PaulStoffregen/XPT2046_Touchscreen (1.4).
Installing using pio pkg install -l "
https://github.com/PaulStoffregen/XPT2046_Touchscreen.git" does seems to
take the latest version @.***+sha.5d5120e which is the
latest commit
https://github.com/scudrunner/XPT2046_Touchscreen/commit/5d5120e as of
today) and I can run pio run correctly now.
—
Reply to this email directly, view it on GitHub
https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/issues/57#issuecomment-1817796322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQCYWULUZQNN2VXE2YMA6LYFHE5FAVCNFSM6AAAAAA7NORNQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXG44TMMZSGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Documentation]: How to Debug My towhee Code

Is there an existing issue for this?

[X] I have searched the existing issues

What kind of documentation would you like added or changed?
For ordinary python programs, developers can click on the IDE such as vscode to view the source code, but the package of towhee can't do this. How should I view the source code and do unit tests?
	towhee.glob['video_url'](all_file_pattern).stream()
		.video_decode.ffmpeg['video_url', 'frames'](sample_type='time_step_sample', args={'time_step': 1})
		.get_image['frames', 'images']()
		.flatten('images')
		.drop_empty()

Why is this needed?
Debug is a necessary function developed by every programmer
Anything else?
None

example: https://towhee.io/video-decode/ffmpeg
You can try the new interface （towhee 0.9.0）, compared with the old interface, the new one is more friendly to the IDE
from towhee.dc2 import pipe, ops, DataCollection

p = (
    pipe.input('video_file')
    .flat_map('video_file', 'frame', ops.video_decode.ffmpeg(start_time=10.0, end_time=15.0, sample_type='time_step_sample', args={'time_step': 1}))
    .output('frame')
)

DataCollection(p('./video.mp4')).show(limit=1)

ops code:
ops.{namespace}.{name}
all ops are dynamic import, the code cache in ~/.towhee/operators/{namespace}/{name}

@geekchen007
How is the answer above?

@geekchen007 How is the answer above?

Thank you for your answer. It is recommended to update the tutorial to the wiki to help more new users

@geekchen007 How is the answer above?

Thank you for your answer. It is recommended to update the tutorial to the wiki to help more new users

OK, thanks for your recommendation.

@geekchen007
And could you please close this issue if it solves your problem now, thanks.


Unnecessary dots

Are these dots intended in the switch between tiles and list games?

What language are you using?

english

Ok it actually happens in the window is smaller, but it doesnt need to be super small for this to occur


GPU device instance has been suspended, SharpGen.Runtime.SharpGenException

When testing out the App via a Windows machine this error occurred. I was able to enter the DetailsPage and navigate out a couple of times. Entering the DetailsPage is always very slow (2-3s). Navigating out is rather quick. When clicking on the Sneaker tile for the third or fourth time to enter this error occurs.
SharpGen.Runtime.SharpGenException: 'HRESULT: [0x887A0005], Message: [The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.]'

Hi anose001,
Thank you for your feedback. The delay in loading the detailsPage was due to the simultaneous loading of all 3D resources when navigating to the detailsPage. To address this issue, we have implemented the DetailsPage as a Singleton. Now, you may experience a slow load only the first time, but subsequent navigations will be faster since the Page is loaded.
Additionally, the GPU device instance problem was caused by a memory leak during the unload of the DetailsPage, which has also been resolved with the implementation of the singleton instance too.
The sample has been fixed and updated to incorporate these improvements.
We look forward to receiving your new feedback.
Regards,
Jorge


Move vuex hdWallet methods to SDK wallet lib

During my testing I've constantly got this issue in console, and I think it might be affect all errors that I listed below:
Error: pubkey cannot be null or undefined.

Can't send ae and Fungible tokens:
Verify an amount and Max button isn't working for FT:

https://github.com/superhero-com/superhero-wallet/assets/69896204/d5f810e3-e958-43ed-a1cb-6ff8d2b44828

Set name pointer:

Register a name:

Multisig creation

Generate Gift card

Bid on name

Transactions on DEX:

Interactions with superhero.com  - I can connect my wallet but there is no popup for signing Txs.

@peronczyk please check it.

@Liubov-crypto thank you for your comments. I addressed your feedback. Please retest.

Code changes looks good to me. Apart of that please fix the bugs we discussed.


[1.4.0] Update to support Latest Laravel versions.

Bump minimum to Laravel 5.5 and above.
Test against each version of Laravel.
Bump PHPUnit to support latest versions.

Signed-off-by: Mior Muhammad Zaki<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##             master    #23   +/-   ##
=======================================
  Coverage       100%   100%
  Complexity       14     14
=======================================
  Files             3      3
  Lines            39     39
=======================================
  Hits             39     39

Continue to review full report at Codecov.

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


Lack of clarity with 'Company branding shown on My Apps' or the extent of customization of the page view in general.

Under How is the My Apps portal used? / Administrators can configure:, the final bullet is "Company branding shown on My Apps"
It is unclear how this is done. The page does display the custom branded icon in the top left but no other customization appears possible, no documentation in the Application management documentation heading discusses the application of branding to the myapps portal.
This needs to link to relevant documentation for configuring it that delineates what is or is not currently possible. I've gone through two deployments of Azure as an IDP and in both cases the lack of customization has been a sticking point for the business and making it clear what you can or cannot customize would be enormously helpful in setting expectations.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0e63fbf2-8107-91fa-ea13-d63b4000bab6
Version Independent ID: 2d10442b-0dd4-78b5-51a8-f182ee1ffdf1
Content: Plan My Apps configuration - Azure AD
Content Source: articles/active-directory/manage-apps/my-apps-deployment-plan.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@erishiamu
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Revised the article with the following information:
Banner logo in the My Apps header. For more information about assigning a banner logo, see Add branding to your organization's Azure Active Directory sign-in page
#please-close


Multiple Author Pages

Odd bug with the "people" widget where multiple profiles show on the homepage with correct pictures and properly functioning links to socials, however clicking the picture won't take you to the corresponding page - it takes it to a seemingly random profile, repeatedly.

_index.md/index.md fix for widget pages doesn't fix this issue.

https://github.com/eventer-neuroscience/eventer-fresh/commit/caaf59b60c1d674da0ccef4547b0847885839309 solves this.
It was an issue with config.toml
it pointed to authors when it should point to content/authors


CB-8611. Missing @Valid annotiation from DiagnosticsEndpoints

See detailed description in the commit message.
just find out in sdx diagnostics branch, one of my change was missing
on diagnostics api call, it causes an error as that is redefined in the diagnostics controller call

merging it as it's straight forward change


Deprecate the shorthand w and h props

Close this issue as we will continue supporting w and h style props in v1.


Function re-assignment in another function causes SIGSEGV in Tengo VM

The following Tengo code:
func1 := func(a, b) {
    return a * b
}

func2 := func() {
    test := test(1, 2)
}

func2()

While completely bonkers (re-assigning a function), produces a SIGSEGV, which should not happen.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x52eb39]

goroutine 1 [running]:
github.com/d5/tengo/v2.(*VM).run(0xc000180000)
	/home/runner/work/tengo/tengo/vm.go:542 +0x2ac9
github.com/d5/tengo/v2.(*VM).Run(0xc000180000, 0xc000180000, 0x400)
	/home/runner/work/tengo/tengo/vm.go:77 +0xcf
main.CompileAndRun(0xc0001026f0, 0xc000152000, 0x5e, 0x25e, 0xc0001163d0, 0xc, 0x0, 0xc000104120)
	/home/runner/work/tengo/tengo/cmd/tengo/main.go:144 +0x1d0
main.main()
	/home/runner/work/tengo/tengo/cmd/tengo/main.go:83 +0x420

I stumbled upon this by happenstance as a result of a typo in my code.

func1 := func(a, b) {
    return a * b
}

func2 := func() {
    test := test(1, 2)
}

func2()

Just to clarify, is the body of func2 supposed to be func1 := func1(1,2)? Looks like maybe a copy-paste error

Yes, my mistake when I changed it before posting. Both; test := test(1,2) and func1 := func1(1,2) will cause a SIGSEGV.

Hi, it can be fixed by moving symbol table name resolution after right hand side expression compilation and small symbol table changes. If @d5 accepts I can create a PR to fix it.

yes please

It seems a little tricky. Moving c.symbolTable.Resolve(ident) below the right hand side (RHS) compilation is more idiomatic but this time following code does not work (unresolved reference);
one := func() { one = 1; return one }; out = one()

This must be rewritten as below to make it work.
one := undefined; one = func() { one = 1; return one }; out = one()

I have revised all failed tests due to this resolution error in 5 minutes BUT this is a language change.
OR;
We can check the error returned from RHS compilation and define the variable as usual not to change current usage to support both cases.
What do you think?

It makes sense that the first example would return unresolved reference, doesn’t it?

Wow. All 3 main contributors are commenting on this. I will take a look at this as well!

It looks like the issue here is the symbol resolution of local variables that are not assigned.
This code
(func() {
    fn := fn()
})()

compiles to:
        [Compiled Constants]

        [  0] (Compiled Function|0xc00000e708)
             0000 GETL    0
             0002 CALL    0     0
             0005 DEFL    0
             0007 RET     0

        [Compiled Instructions]

        0000 CONST   0
        0003 CALL    0     0
        0006 POP
        0007 SUSPEND

And
fn := func() {}
(func() {
    fn := fn()
})()

compiles to
        [Compiled Constants]

        [  0] (Compiled Function|0xc00000e708)
             0000 RET     0
        [  1] (Compiled Function|0xc00000e710)
             0000 GETL    0
             0002 CALL    0     0
             0005 DEFL    0
             0007 RET     0

        [Compiled Instructions]

        0000 CONST   0
        0003 SETG    1
        0006 CONST   1
        0009 CALL    0     0
        0012 POP
        0013 SUSPEND

In both scenario, symbol fn in the right-hand side of fn := fn() (inside the function) should be a compile error (the first code; unresolved reference) or should refer to a global variable fn (the second code). But instead it's trying to reference the fn in the left-hand side (that's not yet assigned).
The Tengo compiler has this non-intuitive behavior so it can support the local recursive functions such as
func() {
    foo := func(x) {
        // ..
        return foo(x-1)
    }
}

I will think about the solutions here, but, it should be something like... do not resolve a "local" variable that's not assigned if they're in the same depth.

See https://github.com/d5/tengo/pull/316 and let me know what you guys think.


excludeNotDocumented causes warnings in packages strategy

Search terms
exclude, excludeNotDocumented, packages strategy
Expected Behavior
Should not see any warnings
Actual Behavior
See warnings and quite make out what they are about
Steps to reproduce the bug
See https://github.com/Gerrit0/typedoc-packages-example/pull/2
The code that causes the warnings is
import { SKIP } from "serializr";

/**
 * some comments
 */
type Skipped = typeof SKIP;

export const deserializeArray = (): Skipped => {
  throw new Error("");
};

export const serializeArray = (): Skipped => {
  throw new Error("");
};

export class ActionState {
  private _messageFormatter: ((message: string) => string) | undefined;

  setMessageFormatter(val: ((message: string) => string) | undefined): void {}
}

export class SomeType {
  response!: string & { data?: object };
}

and the warnings that I got
[warning] Serialized project contained a reflection with id node_modules/serializr/lib/constants.d.ts __type 3 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id node_modules/serializr/lib/constants.d.ts __type 6 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts __type 11 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts __type 12 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts message 13 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts __type 17 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts __type 18 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts message 19 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts __type 24 but it was not present in deserialized project.
[warning] Serialized project contained a reflection with id packages/test/src/index.ts __type.data 25 but it was not present in deserialized project.

Note that these warnings original form was something like [warning] Serialized project contained a reflection with id 25 but it was not present in deserialized project., but I poke into the source code to do some debugging and print out the source file as well as the qualifiedName
For the case of message and data, I'm not sure how to fix them, previously on version 0.23.0, I used the legacy packages strategy and excludeNotDocumented worked fine.
Now the warnings from node_modules/serializr/lib/constants.d.ts is odd because I have excludeExternals=true in my typedoc.json
I also bumped into similar warnings when trying to enable flags like excludePrivate
Environment

Typedoc version: 0.24.1
TypeScript version: 5.0.4
Node.js version: 16.8.0
OS: MacOS 13.3 (22E252)

This is probably a bug in the removeReflection routine, where it doesn't fully remove reflections from the project. It didn't show up on the previous version since there wasn't any structure validation.

@Gerrit0 as usual, thanks for your incredible effort and speed 🙏 really appreciate man!

Probably not going to get to release this for a couple days -- I want to get the other issues in this milestone done too, and likely going to be a busy week at work :)


hmmer 3.4 is available, supporting ARM64

Hello Team,
Can you please update the submodule to use the most recent version of hmmer v3.4, which support ARM64 platforms?
Thanks,
Jianshu

Hi Jianshu,
Thanks for pointing this out, this would be a huge and useful change for us as well. Updating is somewhat non-trivial since I had to fork HMMER to fix some small elements in their makefiles to properly build libhmmer. I'm in the middle of finalizing my thesis so I don't have a ton of free time right now. I can get to this in a month or so at the soonest, but I definitely intend to add it and will update the issue when I do.

Mustafa

Hi @mustafa-guler
Good luck with your thesis, my testing on ARM platform (I pulled v3.4 locally) showed that everything works perfectly since the key wrapper function did not change, just the SIMD supported underlying changed without affecting this wrapper. I am definitely happy to wait for the new release!
Jianshu

hi team @mustafa-guler
is there a possibility to allow send & sync trait for the hmm FFI? like the minimap2-rs? Since in a parallel/concurrant settings, each hmm can be shared among threads.
Thanks,
Jianshu

Hi Jianshu,
This library is more in line with minimap2-sys than minimap2-rs. Internally we do have some more idiomatic rust bindings to the underlying C API. I will add releasing these wrappers to my todo list. These make executing hmmscan and hmmsearch from within rust much easier, but the current state of the code requires some cleanup that I can't immediately devote time to. When I get around to the arm64 update I'll also make a libhmmer-rs crate and ping you.

Hi @mustafa-guler,
I pulled request to update to hmmer v3.4, can you please merge and publish a new version in crates.io?
Thanks,
Jianshu


Change codestyle in accordance with laravel codestyle

It's better to use cs_fixer as github service or similar. Also, PR is out of date.


Deprecated/obsolete candidate support!

Some of the candidates in the list are "deprecated/obsolete". e.g. the case of activator. Removing them would  break the usage for some existing users, but it would be nice if it were visible that hose candidates are deprecated for new users. e.g. when sdk ls.
Thank you.

I think the effort involved would be too high for the small benefit we would gain. Candidates are hardly ever removed; so far activator is the only one.
Please follow our new guidelines in future before opening an issues.


Is it possible to add some inital data to the database?

I have finished the schema design.
Is it possible to add some initial data to the concept?
Example: i will add a Usergroup "Administrators" and a User "Admin". This User should be in the Admin-Group. Can i add this data to the database when i execute "Update-Datase"

Please see https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/managing?tabs=dotnet-core-cli


Add configurable upper limit of concurrent event stream clients

This PR introduces a new config option [event_stream_server][max_concurrent_subscribers], which defines the maximum number of clients allowed to subscribe to a single event stream server at any given time.
The limit is coarse-grained, relating to the total number of clients, regardless of which stream(s) are subscribed to.  It is not a per-stream limit.
Tagging @sacherjj and @momipsl to advise of the change to config file options.
Closes #1633.

bors merge


azurekinect.exe cant find cubemos_skeleton_tracking.dll

The sample builds fine. CMake is able to find my Cubemos installation, however when I run azurekinect.exe I get the error

The code execution cannot proceed because cubemos_skeleton_tracking.dll was not found. Reinstalling the program may fix the problem

Thanks so much for the help!

Copying that dll to the folder that contains azurekinect.exe clears that error, but then it complains about the next dll, k4a.dll, then cubemos_engine.dll, etc.
These dlls are in the system path. Is there another way the app expects to find them? Should the build process be copying the dlls over and something is going wrong there? Or should I be doing this manually?
Thanks so much!

You need to set environment variable "Path" to the path of directory that contain these dll files, and restart OS to apply settings.

Hmm unfortunately these dlls are in the system path. The other cubemos and azure kinect samples build fine and copy the dlls successfully, so I thought maybe it was a cmake issue with this project in particular. I'll dig deeper.


Revise release doc

Revert html_theme to default since classic is not supported
in Sphinx 1.1.x
Configure release to a generic account pdc instead of personal
Improve release doc

JIRA: PDC-1014

:+1:

:+1:

Big :+1:


cli v2.1 cmf pack on HTML throws error

Hi,
On both 2.0 and 2.1 I have the following error with cmf pack command on my HTML package:
Generating Cmf.Custom.Html.1.33.0
Generating Presentation config.json
Value cannot be null. (Parameter 'stream') | InnerException: Value cannot be null. (Parameter 'stream')
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> Cmf.Common.Cli.Utilities.CliException: Value cannot be null. (Parameter 'stream')
---> System.ArgumentNullException: Value cannot be null. (Parameter 'stream')
at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
at System.IO.StreamReader..ctor(Stream stream)
at Cmf.Common.Cli.Utilities.GenericUtilities.GetEmbeddedResourceContent(String resourceName) in /home/runner/work/cli/cli/cmf-cli/Utilities/GenericUtilities.cs:line 35
at Cmf.Common.Cli.Handlers.PresentationPackageTypeHandler.GeneratePresentationConfigFile(IDirectoryInfo packageOutputDir) in /home/runner/work/cli/cli/cmf-cli/Handlers/PackageType/PresentationPackageTypeHandler.cs:line 69
at Cmf.Common.Cli.Handlers.PresentationPackageTypeHandler.Pack(IDirectoryInfo packageOutputDir, IDirectoryInfo outputDir) in /home/runner/work/cli/cli/cmf-cli/Handlers/PackageType/PresentationPackageTypeHandler.cs:line 212
at Cmf.Common.Cli.Commands.PackCommand.Execute(CmfPackage cmfPackage, IDirectoryInfo outputDir, Boolean force) in /home/runner/work/cli/cli/cmf-cli/Commands/pack/PackCommand.cs:line 97
--- End of inner exception stack trace ---
at Cmf.Common.Cli.Commands.PackCommand.Execute(CmfPackage cmfPackage, IDirectoryInfo outputDir, Boolean force) in /home/runner/work/cli/cli/cmf-cli/Commands/pack/PackCommand.cs:line 101
at Cmf.Common.Cli.Commands.PackCommand.Execute(IDirectoryInfo workingDir, IDirectoryInfo outputDir, Boolean force) in /home/runner/work/cli/cli/cmf-cli/Commands/pack/PackCommand.cs:line 64
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Delegate.DynamicInvoke(Object[] args)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<b__0>d.MoveNext()--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<b__0>d.MoveNext()
If you need more information please let me know.

Fixed by #130


Support for custom built-in scalars

closes #8
Description

Added support for Timestamp and JSONObject scalars
Moved the graphql schema output to Schema class
Commented some of the arcane-looking boilerpate

Checklist:

[ ] Tests added/updated.
[ ] Documentation updated. Documentation is generated from docstrings - these must be updated according to your change.
If a new method has been added it should be referenced in cognite.rst in order to generate docs based on its docstring.
[x] Changelog updated in CHANGELOG.md.
[x] Version bumped. If triggering a new release is desired, bump the version number in _version.py and pyproject.toml per semantic versioning.

@haakonvt we good to merge?


[Improvement] Gravitino Web UI defaults to login screen if Gravitino server is not running

What would you like to be improved?
If the Gravitino server is not running the Gravitino Web UI shows the login screen on startup.
How should we improve?
Tell the user in the UI that Gravitino is not running or it's unable to connect.

cc @ch3yne


Error when filtering install tags on install targets with no tag

mesonpy\__init__.py", line 860, in _install_plan
    if details['tag'].strip() not in install_tags:
       ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'strip'

ERROR Backend subprocess exited when trying to invoke build_wheel

It occurs because some targets in intall_plan have null tag.
For an example, it occurs when I try to build wheel for https://github.com/bruchar1/pypkgconf

I wonder whether the strip() call is needed at all. Why would introspection data contain install tags with spurious spaces?

I wonder whether the strip() call is needed at all. Why would introspection data contain install tags with spurious spaces?

In theory, it is possible to write install_tag: ' silly ' in the meson.build file, but meson strips values passed to --tags argument of install. Therefore, it wouldn't work...


Can we also fetch geo location of the volunteers?

If we could have geo location of volunteers, we could geo-fence them and show their details to the people in need nearby when they put on a request.

A simple page can do this - but at a later point as this  may be needed only later points.

Does adding geo-location information field in the page, https://keralarescue.in/volunteer/ work?

I guess it would require a migration. Have to store the co-ordinates into the db.

If anyone is working on it, refer #29 for easier integration.

@jinut2 @irshadshalu Working on this one.

Please rebase

@naveenpf https://github.com/IEEEKeralaSection/rescuekerala/pull/175.

@biswaz please merge

@biswaz Updated.

This issue is still reproducible.


2.3.2

2.3.2 Look at incarceration rates (again just whether incarcerated) by race and offense type for these top offenses
Wide format version of the table:

What's the "bw_comb" column here? Is it the index ( or ranking) of the offenses? Do we need to reset the index for this result? Thanks!

@qinip thanks for clarifying!
that's just an arbitrary index that results from the agg statement and yours does NOT need to match --- the important part is cross-checking your results to the "diff" column


Django 2.0 support?

Hi there, has anyone had a stab at getting this to work with Django 2.0?

Hey,
Unfortunatly i am very busy at the moment and have no time to tackle django 2.0. But it is on my todo list :)
But if you have some spare time, feel free to send a pull request! Thanks.


Predicted residuewise errors

Thank you for the nice work! It worked smoothly and was faster than I expected before :)
I have a question about the predicted residue-wise errors. I guess the information is stored in $output_dir/result_model_{1,2,3,4,5}.pkl, but the information is not recorded in the output PDB files. I found that pkl['plddt'] is for the predicted residue-wise errors. Is it the correct thing that I am looking for?

Thank you, I am glad it worked smoothly!
You are right, we don’t set the b-factors to pLDDT in the output PDB file, you will have to do that manually using the information in the pickle file. The correct field is, as you mention, the output_pickle['plddt'] which is a NumPy array of shape num_residues, so it should be straight forward to fill that in the PDB.
I recommend reading the relevant sections on pLDDT in the paper for how to interpret it. Also note that pLDDT is 0–100 where 100 means most confident and 0 least confident.


Radio toggle component

How do you specify the name property to the inner input ? And for value ?
More generally , I expect every parameters except special ones like ripple to be assigned to the input.
m(mdl.Radio, { id: 'radio1', value: '1', name: 'options', checked: true, ripple: true }, 'Radio button 1')

Hmm, I think this is kind of tricky right now. At least to do it nicely.
I guess we could extend baseMixin so we can specify a set of attributes which should be skipped (maybe also a way to explicitly define the allowed ones). This would allow to do something like:
function view(ctrl, srcAttribs) {
    let outerAttribs = {};
    let innerAttribs = {};

    callMixin(baseMixin({only: ['checked', 'name', 'value', 'id']}), srcAttribs, innerAttribs);
    callMixin(baseMixin({exclude: ['checked', 'name', 'value', 'id']}), srcAttribs, outerAttribs);
}

By default all attributes would be copied over.
The exclude parameter would specify a set of parameters which will not be copied over (or parsed).
The only parameter would specify a set of parameters which would be copied or parsed.
All parseable parameters could be exposed as mdl.baseParams, so we could do the following to handle all the defaults and then only id and class.
callMixin(baseMixin({only: baseParams.concat(['id', 'class'])});

I hope I understood your question correctly. Would what I proposed help you?


Ensure message data length is at least 32 bytes

See: https://gateway.threema.ch/en/developer/e2e

Fixed with #39


Feature Request: Scaling/Translation/Rotation of Cells

I am using gdspy to design a reticle for an ASML stepper tool, and I frequently need to scale and translate not just individual polygons, but an entire cell (for example the top-most cell in the hierarchy). The translate method is implemented for a CellReference, so I'm guessing internally all the guts are there to do this.
Why not just use the magnification argument when writing the .GDS file? Because when designing my mask I need to merge it with a few other masks (a template for the fiducials and the barcode written and maintained by others). It would be great if the translate, scale, and rotate methods were implemented for cells. This would make my life much easier.
Why do I need a translate argument for the top-most cell? Well, not really the top-most cell, but the next level down in the hierarchy. Because I have a multi-field mask, I need to split up my mask by layer, magnify those layers, move them into their appropriate fields, and then merge with the mask template (an existing .GDS file). Right now I'm just iterating through all the polygons and doing the translation and scaling manually.

@edmundsj I understand what you're describing, but there is one issue to be aware of: the method that would transform a cell would, in fact, be transforming the elements of the cell. Any of those elements could be used by other cells and, as a consequence would be transformed there as well (this is not usual, but can be effective for memory-constrained layouts).
The solution would be to create a copy of all elements, transform those and substitute the cell elements. In the end it would be less efficient (memory and speed-wise) than your current solution.

In pretty much everything I work on and my colleagues work on (academic setting with MEMS/photonics, not production with very complex masks) the memory hit would be more than worth it to get rid of the complexity involved in my hacky implementation (and I will likely forget that implementation in 6 months when I need to make another mask and have to figure this out all over again). Up to you, I see the trade-off. You could make some note in the docs as to the inefficiency of the methods and a suggested efficient alternative.

@edmundsj Could you please check if this resolves your use case?

Yup, this looks exactly like what I was doing, just crawling through all the objects and transforming them. Thanks for this! It will be very useful when I make my next mask.


Improved permission suggestions

So here we are. The suggestions should be much better now.
I sadly couldn't find an option to make so pressing tab added the current selected choice to the search query or that a button appears. If anyone know how to do that, feel free to either let me know so I can add it or add it themselves.
This change goes towards #316
Technically closes that issue but doesn't take care of the other optional things I mentioned.

Can be tested live here: https://editor.project-creative.net/editor/

I personally quite liked being able to browse through all available nodes... losing that functionality is a step in the wrong direction imo.

Perhaps another button next to "Press enter to select" which allows that node to be expanded?
In my opinion that needs to be solved before this can be merged.

And actually - the "press enter to select" is useless for the nodes which aren't leafs - since (unless you're using Sponge wildcards) they are not going to work as permissions.

The goal here was to declutter the suggestions because it can become too much too quickly.
So the idea was to mimic the ingame completion.
After having used it like that i agree that not being able to select the partial text node makes it almost worse.


Installed library by gradle hasn't ExpandCollapseListener class

Installed this library by gradle (compile 'com.bignerdranch.android:expandablerecyclerview:1.0.3'). However, cannot implement the ExpandCollapseListener interface because installed library doesn't have this class. How can I deal with this problem?

@amnazhatdinov You're right, somehow the aar we uploaded doesn't have the ExpandCollapseListener, I'll see what I can do to get it uploaded again with the correct files.

Is that bug fixed ?

No)
2015-09-07 20:49 GMT+06:00 Florian Henonin<EMAIL_ADDRESS>
Is that bug fixed ?
—
Reply to this email directly or view it on GitHub
https://github.com/bignerdranch/expandable-recycler-view/issues/56#issuecomment-138317216
.

Found the problem, that class wasn't part of the 1.0.3 release, will be updating the releases here and adding a CHANGELOG for better information. Sorry for the confusion!
In the meantime I've uploaded a snapshot with the current changes in master, try adding the following:
compile 'com.bignerdranch.android:expandablerecyclerview:1.1.0-SNAPSHOT'

and to your repositories tag in the root build.gradle:
allprojects {
    repositories {
        maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
    }
}


Propagate context alpha into brushes for per-primitive draw, not layer

This change is

This will be tested by #1348.


dark mode pattern nav

Describe the bug
A clear and concise description of what the bug is.
the dark mode pattern nav key has two drop down
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

assigned to you @Sandeepkumargond ,
Go through contributing guidelines and readme for local project setup.
Add a preview SS or video of your desired change.

@4darsh-Dev I want to work on this issue please assign this issue to me

⚠[URGENT]⚠ Reminder for Closing of Contribution period for GSSoC 24'
Finish your work and raise the PRs ASAP to get your points.
Thanks💗 for your valuable Contributions!

Hey @Sandeepkumargond ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

GSSoC 24 has been completed Finally'
It was a great experience working with you all
Thanks💗 for your valuable contributions!
PA nomination has been started, Do fill out the forms soon. Share your experiences and let's connect on socials


Cannot use stringify! within paste::item! in a #[doc] attribute

This may be an odd edge case, but I want to have this bit of code within a macro:
paste::item! {
    /// The error type returned when a checked
    #[doc = $name_str]
    /// type conversion fails.
    #[derive(Debug, Copy, Clone, Eq, PartialEq)]
    pub enum [< TryFrom $name Error >] {
        /// The error type returned when a checked integral type conversion fails.
        TryFromIntError(TryFromIntError),
        /// The error type returned when a floating point value is outside the range
        /// of the integer type it needs to be converted to.
        FloatToInt,
    }
    impl From<TryFromIntError> for [< TryFrom $name Error >] {
        fn from(e: TryFromIntError) -> Self {
            Self::TryFromIntError(e)
        }
    }
}

It gives this compiler error:
error: unexpected token: `stringify`
   --> src\base\def_macro.rs:714:9
    |
714 | /         paste::item! {
715 | |             /// The error type returned when a checked
716 | |             #[doc = $name_str]
717 | |             /// type conversion fails.
...   |
730 | |             }
731 | |         }
    | |_________^
    |
   ::: src\base.rs:40:1

The $name_str is passed into this invocation as stringify!($name). This works just fine if done outside of a paste::item!, so there must be something going on in the interaction between paste::item!, stringify! and/or #[doc].
It does not work with #[doc = stringify!($name)] either (same exact error), but #[doc = "a regular string"] works just fine.

I published 0.1.13 with a fix.

Thanks, that was fast!  You can see it in action on this playground.
Related discussion @ rust-lang/rust#78835.

Actually, some more in-depth research tells me that this seems entirely unrelated to that Rust issue/version. I just noticed that the issue goes away if I go back to paste v0.1.14, but is present in all versions from v0.1.15 onwards except in 1.0.3, where it works, but then 1.0.4 breaks it again.