[FLINK-11723][network] Remove KvState related components from Network…

What is the purpose of the change
The NetworkEnvironment would be refactored into NetworkShuffleService created by ShuffleManager future. So the NetworkEnvironment should only cover shuffle related components to make the preparation.
Currently KvStateRegistry, KvStateServer, KvStateClientProxy are not related to shuffle process and mainly used to be got in TaskExecutor. So it is reasonable to remove them from NetworkEnvironment.
And then we could introduce a new KvStateService for wrapping these three components and pass it into TaskManagerService. This new service can also be passed into TaskExecutor, Task for use and avoid spreading in messy.
Brief change log

Remove KvStateRegistry, KvStateServer, KvStateClientProxy from NetworkEnvironment
Introduce KvStateService as a component of task manager services
Pass KvStateService into TaskExecutor and Task

Verifying this change
This change is already covered by existing tests, such as NetworkEnvironmentTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks for the review @azagrebin . I agree with your above concern and submit the fixup commit for addressing it. :)

Thanks for review again @azagrebin .
I submitted the fixup commit for removing build from KvStateService as we confirmed. :)

Please also rebase the PR.

@zentol , thanks for the kindly notification and I rebased the latest master to solve the conflict. :)

Thanks for your review @zentol , I submitted the new commit for addressing above comments.


vagrant box add box-cutter/ubuntu1404-desktop results in 403 Forbidden

$ vagrant box add box-cutter/ubuntu1404-desktop
==> box: Loading metadata for box 'box-cutter/ubuntu1404-desktop'
    box: URL: https://vagrantcloud.com/box-cutter/ubuntu1404-desktop
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) parallels
2) virtualbox
3) vmware_desktop

Enter your choice: 2
==> box: Adding box 'box-cutter/ubuntu1404-desktop' (v2.0.0) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/box-cutter/boxes/ubuntu1404-desktop/versions/2.0.0/providers/virtualbox.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 403 Forbidden

Fixed

I am still getting 403 Forbidden.

Ok, It is working this morning.  Thank you so much for the fix!

BTW, What did you do to get this fixed?


Custom Assignments are hard to see in Light or Dark Mode

While in Light Mode, a custom assignment is white and is barely visible. While in Dark Mode, however, the color switches to black, so, again, it is hard to see.

Ah yes. Thanks for the suggestion! I should likely just make the color customizable, but for now swapping the colors on light and dark mode should do the job.
Hopefully that won't take me too long.


Improve README.md

Done !

Thanks @alwibastomi! If you'd like a laptop sticker, fill in this form: https://airtable.com/tblYkXKrZmIVIxrqD/viwhMAgnbDW5nCRGx


Icon Request: Unpin

Icon Request

Icon name: Unpin
Tags of this icon: unpin
Use case: Unpin a card/block/other UI elements on a page and so on...
Screenshots of similar icons:

Thank you for the contribution.
Here are the icons:
https://www.remixicon.com/icon/unpin-line
https://www.remixicon.com/icon/unpin-fill


set lft & rgt if there is no parentId

This mean no parent and this is root node

Thanks @saleh199


Add language names to list box

Add language names to list box based on the language codes derived from the folder names.

I think it is better to just define the languages as list directly. I've linked a file with the definition in it to make your life easier.
I don't know github well enough to know how to modify your PR myself, so I'm afraid I pushing this back to you...
new language dictionary

Please check if you are happy to merge this now.

Looks good. I probably would have just made the table global rather than have a function that returns it, but what you have is fine.

I merged it in. Your code is working, but MathCAT seems to be stuck on
English in NVDA (changing languages works fine stand-alone). We might need
to add a "User Preference" option where the language used matches the
language NVDA is set to use (we'll make up a code like "default" that can't
match anything but has a nice display "User Preference (default)" . Don't
make a change until I figure this out though. I'm off to get some exercise
while the rain (and wind) have stopped, so you probably won't hear from me
until tomorrow your time.
Neil

On Wed, Dec 28, 2022 at 12:39 PM Richard Orme @.***>
wrote:

Please check if you are happy to merge this now.
—
Reply to this email directly, view it on GitHub
https://github.com/NSoiffer/MathCATForPython/pull/41#issuecomment-1366904504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALZM3FMLNINUULBCNXDZYTWPSQQDANCNFSM6AAAAAATKTSBNI
.
You are receiving this because you commented.Message ID:
@.***>


get city, country and ip from a visitor on production mode with rails 3.2

I have installed http://www.rubygeocoder.com/ in a project rails in a production server but this gem in my production server not works fine for me...
I write these methods in views in my development environment and works fine:
<%= request.ip %>
<%= request.location.city %>
<%= request.location.country %>

and I get:  <IP_ADDRESS> Reserved
this result its usually because I am working in localhost.
However after make a deploy with capistrano in the production server in linode I get error with these methods, I can see in my production log the next error:
Completed 500 Internal Server Error in 909ms

ActionView::Template::Error (undefined method `location' for #<ActionDispatch::Request:0x00000005aa8570>):

Why I get this error in my production server for these methods?
Thank you!

Hello @alexreisner !
I want location details while visitor is visiting website.
I have tried Geocoder.search("") query using ip address as parameter. But it doesn't work for production environment.
Can u help me to resolve this? How to get location details in production environment?

@krupali1810 I'm trying to figure out the same thing. @alexreisner

@krupali1810  @adrianvalenz  Did any of you figure out how to do it where I can pass the IP address as the parameter and get the location or country?

@adrianvalenz  @krupali1810 I figured it out. The syntax to get location details from IP is as follows:
Geocoder.address("pass_the _ip_address")

I'm glad that you were able to help each other. Feel free to submit a PR to
update the README so that this is clear to others too.
Thanks!
On Tue, Sep 12, 2017 at 04:10 Arpit Agarwal<EMAIL_ADDRESS>wrote:

@adrianvalenz https://github.com/adrianvalenz @krupali1810
https://github.com/krupali1810 I figured it out. The syntax to get
location details from IP is as follows:
Geocoder.address("pass_the _ip_address")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexreisner/geocoder/issues/239#issuecomment-328820544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBOwVjd1i9mepjyG1SjjBdivYkhN-nHks5shmaLgaJpZM0aXA==
.


Liro

Concerns issue #7

Can you add a tiny space between the search button and the sort dropdown as we did for camerapps.com ?

About the icons maybe we should replace them with something more explicit like  and  and , what do you think ?
I also feel like it would be nice if the sort change could be reflected on the list right after the sorting method is selected.

Can I see your icon propositions please ?

Can I see your icon propositions please ?

Sorry I updated the comment

@dev-liro  are you still willing to work on this PR ?

Hi, yeah. Was caught up in work and health issues. Will handle it tomorrow.
Le 13 févr. 2022 19:15, "Boris Mbarga" @.***> a écrit :
@dev-liro https://github.com/dev-liro are you still willing to work on
this PR ?
—
Reply to this email directly, view it on GitHub
https://github.com/osscameroon/miniyotas/pull/22#issuecomment-1038312994,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUOVWUP27QN6KNRKVBUUWPTU27YKRANCNFSM5LYXVTDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@dev-liro thanks a lot for working on this issue, I will close it as there was no progress on it for sometime now.


Runme server is a singleton - skip launching if it's already running

Currently using the deserialization GRPC API to check if a server's up.

Please review @mxsdev & @degrammer.

Lgtm, the server ping maybe a little bit brittle if the message changes for any reason, at least we should be covered with a unit test on runme project side.

Right. Also, our e2e tests should be able to catch this.

I noticed that the "reload window" of the server-host will fail the notebook view since the server launched but is not ready to accept connections yet. I added some logic to account for that and made it all testable.
Another review please @degrammer & @mxsdev.
Also is intent a common way to describe retries? I followed the same terminology but otherwise would have called it attempt. ESL confusion.

I noticed that the "reload window" of the server-host will fail the notebook view since the server launched but is not ready to accept connections yet. I added some logic to account for that and made it all testable.
Another review please @degrammer & @mxsdev.
Also is intent a common way to describe retries? I followed the same terminology but otherwise would have called it attempt. ESL confusion.

@sourishkrout  there is no official terminology, I think, another common term I see is retryCount

I noticed that the "reload window" of the server-host will fail the notebook view since the server launched but is not ready to accept connections yet. I added some logic to account for that and made it all testable.
Another review please @degrammer & @mxsdev.
Also is intent a common way to describe retries? I followed the same terminology but otherwise would have called it attempt. ESL confusion.

@sourishkrout there is no official terminology, I think, another common term I see is retryCount

Thank you. OK, let's stick with what we have. Just wanted to see if I missed something.

As discussed out of band with @mxsdev, the greatness of vscode.Uri platform independence makes testing impossible due to its coupled nature. We'll defer any more steps on until after end-to-end integration.

LGTM, probably we should remove the binary path from the settings.

Plan on doing this in a separate PR.


Date of payment

Thank you for this great tool.
Is it possible to enter the payment date as well?
Unfortunately I have not found it.
Best regards from St. Gallen
Tarom

You should be able to set the payment date on the PaymentInformation level

$payment = new PaymentInformation(
         'payment-001',
         'InnoMuster AG',
         new BIC('ZKBKCHZZ80A'),
         new IBAN('CH6600700110000204481')
);

$payment->setExecutionDate(new \DateTime());

Thank you very much.
Do you know which date format to use here?

It uses a DateTime class, you can set the date with the following format
$payment->setExecutionDate(new \DateTime('2022-12-31'));

You can also use other/custom format. Refer to the DateTime documentation: https://www.php.net/manual/en/class.datetime.php

The library will format the date for the XML with the following
$this->executionDate->format('Y-m-d')

PaymentInformation.php#L244
If you don't provide an execution date, the library will use the date of today:  PaymentInformation.php#L87

Thank you very much.
Will test it right away.


Add Pyfa 1.21.1

Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

I'm not confident about keeping user files in ~/.pyfa/ on uninstall.

Thank you for the contribution. It needed some fixes, so they were made in 0ed8244441ec63b550d591b3f5b7430b6b7b53d4. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Ok cool

@vitorgalvao can you please answer this? https://github.com/pyfa-org/Pyfa/pull/595#issuecomment-216700441


Leikoilja account transactions

Based on PR #10 from @leikoilja
Just a few improvements

Pull Request Test Coverage Report for Build 369

18 of 61 (29.51%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-14.2%) to 78.755%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

revolut/init.py
18
61
29.51%

Totals

Change from base Build 342:
-14.2%

Covered Lines:
215

Relevant Lines:
273

💛  - Coveralls


feat: add watchexec/cargo-watch

watchexec/cargo-watch: Watches over your Cargo project's source

Hmm, what's wrong with that?

https://github.com/aquaproj/aqua-registry/actions/runs/8534526703/job/23379117166?pr=21531
ERRO[0000] executable files aren't found
Files in the unarchived package:
cargo-watch-v7.5.1-x86_64-unknown-linux-musl/cargo-watch

You have to set files.

Oh Thanks!!

v4.158.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.158.0


Adding more login options to comment

Would it be possible to add gmail / twitter / facebook login to add comments?
I imagine behind the scenes, the utterances-bot could post on the commentator's behalf with identifiers like name or email. Later, it could parse while fetching them on the frontend?

At this time I'm not planning on adding additional login methods.


Add README section on react integration

Add react demo to README
Description
Adds a section to the README linking to ulabel-react-demo,
a project demonstrating integration of ULabel into a React project.
Closes #42 and closes #51. Open new issues if you have a specific use case not covered by the demo.
PR Checklist

[X] Merged latest main
[ ] ~Version number in package.json has been bumped since last release~
[ ] ~Version numbers match between package package.json and src/version.js~
[ ] ~Ran npm install and npm run build AFTER bumping the version number~
[X] Updated documentation if necessary (currently just in api_spec.md)
[ ] ~Added changes to changelog.md~

Breaking API Changes
no API changes

@TrevorBurgoyne there's literally no code changes here, do we want to still bump version/changelog/build a new release or just punt on all that?

nah u good to ship

Can't wait for the workflow to fail


Output file corrupt

Hello @crra
Thank you for making this addition.
There is something about the created output file that Windows Media Player doesn't like, unfortunately. I can play it with VLC though.
Using mpck (https://github.com/Sjord/checkmate) on the built file, it reports the following:
SUMMARY: foo.mp3
    version                       MPEG v1.0
    layer                         3
    average bitrate               -21743 bps (VBR)
    samplerate                    44100 Hz
    frames                        2020051
    time                          -743:-42.-869
    unidentified                  886 b (0%)
    errors                        unidentified bytes
                                  inconsistent frame headers
                                  invalid header values
    result                        Bad

If I use the same tool on the (397) source files, they are all reported OK.
I hope that helps. Please let me know if you need me to run anything else over the files.
Originally posted by @pcolmer in https://github.com/crra/mp3binder/issues/22#issuecomment-1229968819

@crra Please download the following two files from OneDrive:
https://1drv.ms/u/s!AmDqniI9VUvGgZdQ2X2ODQd5QnBnHQ?e=Dy5i8D
https://1drv.ms/u/s!AmDqniI9VUvGgZdPqnAMNw_iS7MBoQ?e=f3JbgG
The links are valid until Saturday.
The original filenames are 'Matthew Reilly - Ice station 01 - 01.mp3' and 'Matthew Reilly - Ice station 01 - 02.mp3'. I then used this command:
mp3binder --verbose 'Matthew Reilly - Ice station 01 - 01.mp3' 'Matthew Reilly - Ice station 01 - 02.mp3' --output ~/tmp.mp3 --lang "en-GB"

and ran mpck over ~/tmp.mp3 and it reported:
$ mpck ~/tmp.mp3
SUMMARY: /home/philip/tmp.mp3
    version                       MPEG v2.0
    layer                         3
    average bitrate               69595 bps (VBR)
    samplerate                    44100 Hz
    frames                        9975
    time                          4:20.571
    unidentified                  473 b (0%)
    errors                        unidentified bytes
                                  inconsistent frame headers
                                  invalid header values
    result                        Bad

I'm running mp3binder in Ubuntu 20.04.4 on WSL2 Windows 11.

Here is a first clue:
$ sox -m M* sox.mp3
sox WARN sox: Input files don't have the same # channels

@crra Here is the third file: https://1drv.ms/u/s!AmDqniI9VUvGgZdO25YHBoV6K8YSqw?e=ekG0ni
$ sox -m 'Matthew Reilly - Ice station 01 - 02.mp3' 'Matthew Reilly - Ice station 01 - 03.mp3' sox.mp3
$ mpck sox.mp3
SUMMARY: sox.mp3
    version                       MPEG v2.0
    layer                         3
    bitrate                       32000 bps
    samplerate                    22050 Hz
    frames                        7080
    time                          3:04.946
    unidentified                  0 b (0%)
    errors                        none
    result                        Ok

However, if I use mp3binder to join these two files, I still have a problem with the created output:
$ mp3binder --verbose 'Matthew Reilly - Ice station 01 - 02.mp3' 'Matthew Reilly - Ice station 01 - 03.mp3' --output ~/tmp.mp3 --lang "en-GB"
The following language will be used: 'en-GB'
The following files will be 'bound' as: '/home/philip/tmp.mp3'
- 1: /mnt/c/Users/phili/OneDrive/Audio books/Matthew Reilly/Scarecrow01 - Ice Station/Matthew Reilly - Ice station 01 - 02.mp3
- 2: /mnt/c/Users/phili/OneDrive/Audio books/Matthew Reilly/Scarecrow01 - Ice Station/Matthew Reilly - Ice station 01 - 03.mp3
Processing stage: 'Bind' and action: 'Binding'
- Binding: 'Matthew Reilly - Ice station 01 - 02.mp3'
- Binding: 'Matthew Reilly - Ice station 01 - 03.mp3'
Processing stage: 'Apply Metadata' and action: 'applying text metadata'
- Adding tag: 'Software/Hardware and settings used for encoding (TSSE)' with value 'https://github.com/crra/mp3binder, 5.0.0+15-g655792e'
- Adding tag: 'Title (TIT2)' with value 'Scarecrow01 - Ice Station'
- Adding tag: 'Track number/Position in set (TRCK)' with value '1'
Processing stage: 'Apply Metadata' and action: 'notify visitor'
Processing stage: 'Build Chapers' and action: 'adding chapters'
- Adding tag: 'Chapter: 1 from '0s' to '3m5s'' with value '2/397 Ice Station'
- Adding tag: 'Chapter: 2 from '3m5s' to '5m34s'' with value '3/397 Ice Station'
Processing stage: 'Write Metadata' and action: 'writing metadata'
Processing stage: 'Combine Id3 And Audio' and action: 'combining metadata and audio'

$ mpck ~/tmp.mp3
SUMMARY: /home/philip/tmp.mp3
   version                       MPEG v2.0
   layer                         3
   average bitrate               58685 bps (VBR)
   samplerate                    44100 Hz
   frames                        12770
   time                          5:33.583
   unidentified                  204 b (0%)
   errors                        unidentified bytes
                                 inconsistent frame headers
   result                        Bad

I hope that helps.

Out of interest, I've just used mp3cat to try joining the two files and it also generates a bad output file. Interestingly, the file generated by sox is NOT variable bitrate. I know I've successfully used mp3cat before with VBR files so I'm curious as to what is "special" about these files :(


[stable/jenkins] Reorder README parameters into sections for readability

What this PR does / why we need it:
Reorder parameters in README to facilitate chart usage and maintenance.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
There are a series of commits to facilitate the review. values.yaml could also be reordered.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @torstenwalter

/retest

Testing infra was fixed, so last failure shouldn't happen again
/retest

Try retest after resolving merge conflict

@torstenwalter this is ready for another review

/retest


digit-separators flag no longer required unless for dart formatcommand

Context
Digit separators are allowed since Dart 3.6 as mentioned in the official documentation here
This feature allow to write large number values like so
int calculate() {
  return 6_000 * 7;
}

Current behavior
The dart format command raise an error when the code contains underscores in number values
For example running command
dart format .

Will produce the output
Could not format because the source could not be parsed:

line 2, column 10 of lib/digit_separator_format.dart: This requires the 'digit-separators' language feature to be enabled.
  ╷
2 │   return 6_000 * 7;
  │          ^^^^^
  ╵
Formatted 2 files (0 changed) in 0.06 seconds.

Workaround
We need to add the --enable-experimental=digit-separators flag in order to format files
dart format --enable-experiment=digit-separators .

Output
Formatted 3 files (0 changed) in 0.05 seconds.
'digit-separators' is now enabled by default; this flag is no longer required.

Note: The --enable-experimental=digit-separators flag produce a message

'digit-separators' is now enabled by default; this flag is no longer required.

But not adding it produces a message asking for adding it. Does not sounds correct.

Expected behavior
--enable-experimental=digit-separators flag should not be required for dart format command starting on Dart 3.6
Current Dart version used
dart --version

Dart SDK version: 3.6.0 (stable) (Thu Dec 5 07:46:24 2024 -0800) on "macos_arm64"

When this is fixed, we should probably CP it too.
FYI @munificent


Cannot install tools such as goreturns, golint, guru, gorename

VSCode Version: Code 1.5.3 (5be4091987a98e3870d89d630eb87be6d9bafd27, 2016-09-22T08:40:08.699Z)
OS Version: Linux x64 3.19.0-58-generic

Steps to Reproduce:

Please file this in the appropriate extension repository: https://marketplace.visualstudio.com/items?itemName=lukehoban.Go


Add setting system/default timezone in logging configuration

Users should have the ability to use the system timezone in the logging configuration. It allows administrators to take advantage of the operation system/JVM time zone management tools and use the same configuration for Dropwizard applications in different time zones.
Resolves #1980.

Coverage decreased (-0.07%) to 84.329% when pulling 7bcd102b85efed035abbbfab9d7befc17634fdca on support_for_system_tz into a8b6bdd9c5de6364ba7c3ea84764c1da3c09f9c6 on master.

@Sijmen, Could you review?

Coverage decreased (-0.07%) to 84.31% when pulling aba9fcf452854833704acbc87691c96f237843be on support_for_system_tz into 8c2710266ed44c0e921e860ffe97a9dc515c6894 on master.

Coverage decreased (-0.03%) to 84.345% when pulling 2ee98a0bd798b8e33da3f362da2000ceafd5550d on support_for_system_tz into 8c2710266ed44c0e921e860ffe97a9dc515c6894 on master.

Coverage decreased (-0.03%) to 84.345% when pulling 4e245fd8b0378a4015756efb383ec2a48572ee49 on support_for_system_tz into 8c2710266ed44c0e921e860ffe97a9dc515c6894 on master.


When running the first job there's a bug in train.py

When running the first job there's a bug in train.py

This code chunk might need some modifications, unless it's just a problem with my environment.

Traceback (most recent call last):
File "/cephfs/tempredict-shared-space/pkasl/Homekit2020/src/models/train.py", line 217, in
cli = CLI(trainer_defaults=trainer_defaults,
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/utilities/cli.py", line 157, in init
super().init(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/cli.py", line 339, in init
self.setup_parser(run, main_kwargs, subparser_kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/cli.py", line 374, in setup_parser
self._add_subcommands(self.parser, **subparser_kwargs)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/cli.py", line 445, in _add_subcommands
subcommand_parser = self._prepare_subcommand_parser(trainer_class, subcommand, **kwargs.get(subcommand, {}))
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/cli.py", line 453, in _prepare_subcommand_parser
self._add_arguments(parser)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/cli.py", line 409, in _add_arguments
self.add_core_arguments_to_parser(parser)
File "/opt/conda/lib/python3.9/site-packages/pytorch_lightning/cli.py", line 394, in add_core_arguments_to_parser
parser.set_defaults(trainer_defaults)
File "/opt/conda/lib/python3.9/site-packages/jsonargparse/core.py", line 845, in set_defaults
raise KeyError(f'No action for destination key "{dest}" to set its default.')
KeyError: 'No action for destination key "trainer.checkpoint_callback" to set its default.'
Originally posted by @mnodini in https://github.com/behavioral-data/Homekit2020/issues/1#issuecomment-1218538645

Would you mind confirming which version of pytorch lightning you're using? I can't reproduce with pytorch_lightning==1.7

Sounds great! Let me know if you need any help reproducing anything

@mnodini
I just updated the master branch to fix this bug. Note that you'll have to rebuild the conda environment to get it to work :)


Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory.

When using the Start-MultipleTestPreMigrations cmdlet a lot of Import-Module errors get thrown up . This is with a fresh install of DLConversionV2 and PowerShell 7 running as administrator. C:\Repository does not exist on the machine the script is running and never has. Snippet of the terminal window below:
Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
3      MultiplePreMig… BackgroundJob   Running       True            localhost             Test-PreMigration -grou…
[03/07/2023 10:54:35] - ********************************************************************************
@{ParameterName=sleepString; Bound=True; ParameterValue=Sleeping after job provioning.} @{ParameterName=sleepSeconds; Bound=True; ParameterValue=5} @{ParameterName=sleepParentID; Bound=False; ParameterValue=0} @{ParameterName=sleepID; Bound=False; ParameterValue=0} @{ParameterName=Verbose; Bound=False; ParameterValue=} @{ParameterName=Debug; Bound=False; ParameterValue=} @{ParameterName=ErrorAction; Bound=False; ParameterValue=} @{ParameterName=WarningAction; Bound=False; ParameterValue=} @{ParameterName=InformationAction; Bound=False; ParameterValue=} @{ParameterName=ErrorVariable; Bound=False; ParameterValue=} @{ParameterName=WarningVariable; Bound=False; ParameterValue=} @{ParameterName=InformationVariable; Bound=False; ParameterValue=} @{ParameterName=OutVariable; Bound=False; ParameterValue=} @{ParameterName=OutBuffer; Bound=False; ParameterValue=} @{ParameterName=PipelineVariable; Bound=False; ParameterValue=}
[03/07/2023 10:54:35] - ********************************************************************************
[03/07/2023 10:54:35] - ********************************************************************************
[03/07/2023 10:54:35] - BEGIN  start-sleepProgess
[03/07/2023 10:54:35] - ********************************************************************************
Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory.
[03/07/2023 10:54:40] - END start-sleepProgess
[03/07/2023 10:54:40] - ********************************************************************************
[03/07/2023 10:54:40] -<EMAIL_ADDRESS>5      MultiplePreMig… BackgroundJob   Running       True            localhost             Test-PreMigration -grou…
[03/07/2023 10:54:41] -<EMAIL_ADDRESS>7      MultiplePreMig… BackgroundJob   Running       True            localhost             Test-PreMigration -grou…
[03/07/2023 10:54:41] -<EMAIL_ADDRESS>Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory.
9      MultiplePreMig… BackgroundJob   Running       True            localhost             Test-PreMigration -grou…
[03/07/2023 10:54:41] -<EMAIL_ADDRESS>Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory.
11     MultiplePreMig… BackgroundJob   Running       True            localhost             Test-PreMigration -grou…
[03/07/2023 10:54:42] - Jobs are not yet completed in this batch.
[03/07/2023 10:54:42] - Number of jobs that are running = 2
[03/07/2023 10:54:42] - Job ID: 9 State: Running
[03/07/2023 10:54:42] - Job ID: 11 State: Running
[03/07/2023 10:54:42] - ********************************************************************************
@{ParameterName=sleepString; Bound=True; ParameterValue=Sleeping waiting on job completion.} @{ParameterName=sleepSeconds; Bound=True; ParameterValue=30} @{ParameterName=sleepParentID; Bound=False; ParameterValue=0} @{ParameterName=sleepID; Bound=False; ParameterValue=0} @{ParameterName=Verbose; Bound=False; ParameterValue=} @{ParameterName=Debug; Bound=False; ParameterValue=} @{ParameterName=ErrorAction; Bound=False; ParameterValue=} @{ParameterName=WarningAction; Bound=False; ParameterValue=} @{ParameterName=InformationAction; Bound=False; ParameterValue=} @{ParameterName=ErrorVariable; Bound=False; ParameterValue=} @{ParameterName=WarningVariable; Bound=False; ParameterValue=} @{ParameterName=InformationVariable; Bound=False; ParameterValue=} @{ParameterName=OutVariable; Bound=False; ParameterValue=} @{ParameterName=OutBuffer; Bound=False; ParameterValue=} @{ParameterName=PipelineVariable; Bound=False; ParameterValue=}
[03/07/2023 10:54:42] - ********************************************************************************
[03/07/2023 10:54:42] - ********************************************************************************
[03/07/2023 10:54:42] - BEGIN  start-sleepProgess
[03/07/2023 10:54:42] - ********************************************************************************
Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory.
Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory.
[03/07/2023 10:55:12] - END start-sleepProgess
[03/07/2023 10:55:12] - ********************************************************************************
[03/07/2023 10:55:12] - The array location is = 5
[03/07/2023 10:55:12] - Job ID: 3 State: Failed
[03/07/2023 10:55:12] - Job ID: 5 State: Failed
[03/07/2023 10:55:12] - Job ID: 7 State: Failed
[03/07/2023 10:55:12] - Job ID: 9 State: Failed
[03/07/2023 10:55:12] - Job ID: 11 State: Failed
5

This particular issue seems to be resolved when using Powershell 5

Current builds test for powershell version and fail if it is not 5.
Tim
==============================
Timothy J. McMichael
Senior Support Escalation Engineer
<EMAIL_ADDRESS>(980)-776-7465
Hours:  Sunday – Wednesday 08:00 – 16:00 eastern time zone.
Manager:  Tom Roughley<EMAIL_ADDRESS>Premier Support -<PHONE_NUMBER>
Broad Commercial Support -<PHONE_NUMBER>
==============================

From: TSide @.>
Sent: Wednesday, July 5, 2023 5:24 AM
To: timmcmic/DLConversionV2 @.>
Cc: Subscribed @.***>
Subject: Re: [timmcmic/DLConversionV2] Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory. (Issue #138)
This particular issue seems to be resolved when using Powershell 5
—
Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/138#issuecomment-1621370094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGTN6LHFCGHRKXXMSK4TKLXOUXE7ANCNFSM6AAAAAAZ4HQMRI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi, I tested the module again in a new environment with only the necessary modules installed, running it in Windows Powershell (5.1) in Administrator mode, and unfortunately the issue above is still persisting.

This does not happen when using Test-PreMigration, Start-DistributionListMigration and Start-MultipleDistributionListMigration, which works fine from testing.

There’s a debug import line I neglected to convert properly before publishing.  Let me fix it today.
==============================
Timothy J. McMichael
Senior Support Escalation Engineer
<EMAIL_ADDRESS>(980)-776-7465
Hours:  Sunday – Wednesday 08:00 – 16:00 eastern time zone.
Manager:  Tom Roughley<EMAIL_ADDRESS>Premier Support -<PHONE_NUMBER>
Broad Commercial Support -<PHONE_NUMBER>
==============================

From: TSide @.>
Sent: Friday, July 7, 2023 9:55 AM
To: timmcmic/DLConversionV2 @.>
Cc: Tim McMichael @.>; Comment @.>
Subject: Re: [timmcmic/DLConversionV2] Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory. (Issue #138)
Hi, I tested the module again in a new environment with only the necessary modules installed, running it in Windows Powershell (5.1) in Administrator mode, and unfortunately the issue above is still persisting.
[image]https://user-images.githubusercontent.com/28244401/251753642-072b09b9-c3be-4c27-b04e-631a821248b3.png
This does not happen when using Test-PreMigration, Start-DistributionListMigration and Start-MultipleDistributionListMigration, which works fine from testing.
—
Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/138#issuecomment-1625454471, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGTN6N7FEH4WENMV4HJHQDXPAINJANCNFSM6AAAAAAZ4HQMRI.
You are receiving this because you commented.Message ID: @.***>

Thank you

Fixed <IP_ADDRESS>
==============================
Timothy J. McMichael
Senior Support Escalation Engineer
<EMAIL_ADDRESS>(980)-776-7465
Hours:  Sunday - Wednesday 08:00 - 16:00 eastern time zone.
Manager:  Tom Roughley<EMAIL_ADDRESS>Premier Support -<PHONE_NUMBER>
Broad Commercial Support -<PHONE_NUMBER>
==============================
From: TSide @.>
Sent: Friday, July 7, 2023 9:56 AM
To: timmcmic/DLConversionV2 @.>
Cc: Tim McMichael @.>; Comment @.>
Subject: Re: [timmcmic/DLConversionV2] Import-Module: The specified module 'c:\repository\dlconversionv2\dlconversionv2.psd1' was not loaded because no valid module file was found in any module directory. (Issue #138)
Reopened #138https://github.com/timmcmic/DLConversionV2/issues/138.

Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/138#event-9755495016, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGTN6N7FEH4WENMV4HJHQDXPAINJANCNFSM6AAAAAAZ4HQMRI.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>


mingw-w64-x86_64-make-4.2.1-1 is corrupted

Hi.
After update to mingw-w64-x86_64-make-4.2.1-1 mingw32-make.exe stop working. I think, that this file is corrupted in package. I have tried many times but got the same result.
d:\devel\msys2\mingw64\bin>.\mingw32-make.exe --help

d:\devel\msys2\mingw64\bin>.\mingw32-make.exe fake-string

d:\devel\msys2\mingw64\bin>.\mingw32-make.exe

d:\devel\msys2\mingw64\bin>

As you can see, i returns nothing and not working totally.

Same report as #842

Thanks for noticing. I advise @zdm to look at the other ticket.


I can't make connection with arduino ID

Hello, I am using version 1.8 of arduino, I have followed all the steps but I get a connection error, does anyone have a tutorial, I have installed drivers, I have put in the battery, it still recognizes the wifi ssid, the crystal, but it shows a time out error, thanks for your help, I'm using w10.

I have tried more than one cable and am able to use cable with other brands C3 boards. I have tried updating serial drivers too

I had somewhat similar experience now with Colin c3 pico but was resolved after performing steps to set that board to DFU mode - any such steps for lilygo t-io plus?


⚠ Shakedown Social - Homepage has degraded performance

In 403b6bc, Shakedown Social - Homepage (https://shakedown.social) experienced degraded performance:

HTTP code: 200
Response time: 10344 ms

Resolved: Shakedown Social - Homepage performance has improved in 233ddd6.


Delete data after submission

Expected behaviour
The user's stored data in the secure cookie should be removed after submission.
Actual behaviour
It's not.
Steps to reproduce the behaviour
Technical information
Browser

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] MS Edge
[ ] Internet Explorer 10
[ ] Internet Explorer 9
[ ] Internet Explorer 8
[ ] Internet Explorer 7
[ ] Internet Explorer 6
[ ] Other (please state below)

Operating System

[x] Windows
[x] OS X
[ ] iOS
[ ] Android

Fixed


Unable to read data from iPhone (Intel Edison/Raspberry Pi)

Hi,
I want to get the battery level of my iPhone with Bluetooth LE with my Intel Edison using noble. I want to read the data of characteristic 2A19 in service 180F (preinstalled in iOS). Now I could connect to the peripheral (iPhone) and could detect the service (180F) and the characteristic. But when I want to read the data of this characteristic, I get no respond. No error too. After some time the iPhone will disconnect from the Edison.
console.log("data is here");
});```

I thought that I made a programming mistake, so I took the code from the Getting started site (https://github.com/sandeepmistry/noble/wiki/Getting-started) and I changed the two UUID's. There's the exact same problem again. The characteristic was found, but it couldn't read the data.

I made this on my Intel Edison (all software up to date) and on my Raspberry Pi. In LightBlue on my mac I could read the value, so it shouldn't be a problem on iOS-side.

Full code:
```javascript
var noble = require('noble');

noble.startScanning([], false);

noble.on('discover', function(peripheral) {
  peripheral.connect(function(error) {
    console.log('connected to peripheral: ' + peripheral.uuid);
    peripheral.discoverServices(['180f'], function(error, services) {
      var deviceInformationService = services[0];
      console.log('discovered device information service');

      deviceInformationService.discoverCharacteristics(['2a19'], function(error, characteristics) {
        var manufacturerNameCharacteristic = characteristics[0];
        console.log('discovered manufacturer name characteristic');

        manufacturerNameCharacteristic.read(function(error, data) {
          // data is a buffer
          console.log('data is here');
        });
      });
    });
  });
});

Thank you for your help and for this library.
P.S. Sorry for the bad english. I'm Swiss ;)

@alexeichhorn is your Mac paired with your iPhone?
Just tried connecting my Nexus 7 (using nRF Master Control Panel app) to iOS (running LightBlue in peripheral mode), and was presented with a pairing prompt.
noble on Linux relies on BlueZ's bluetoothd for pairing. I'm haven't tried to setup pairing with my Intel Edison and iPhone, so don't have any instructions for this yet.
If you run with debug, and provide logs I can confirm this:
sudo DEBUG=l2cap-ble node <your files>.js

The log is:
  l2cap-ble 7A:80:4B:2D:92:98: l2capBle = /home/root/node_modules/noble/lib/linux/../../build/Release/l2cap-ble +0ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "bind success\n" +39ms
  l2cap-ble 7A:80:4B:2D:92:98: line = bind success +2ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "connect success\n" +103ms
  l2cap-ble 7A:80:4B:2D:92:98: line = connect success +2ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 020001 +6ms
connected to peripheral: 7a804b2d9298
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 100100ffff0028" +394ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 100100ffff0028\n" +0ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 100100ffff0028 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: ignoring request/command ... +0ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 039e00\n" +66ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 039e00 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: new MTU is 158 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 100100ffff0028 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data<PHONE_NUMBER>00001806" +402ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data<PHONE_NUMBER>000018060009000118\n" +1ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data<PHONE_NUMBER>000018060009000118 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 100a00ffff0028 +2ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 11140a000e006643ae10" +200ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 11140a000e006643ae107948f8a59145b4bb781e61d00f001800d0002d121e4b0fa4994eceb531f40579\n" +1ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 11140a000e006643ae107948f8a59145b4bb781e61d00f001800d0002d121e4b0fa4994eceb531f40579 +0ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 101900ffff0028 +3ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 110619001c" +197ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 110619001c000f181d0022000518\n" +1ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 110619001c000f181d0022000518 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 102300ffff0028 +0ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 111423002e00dcf855ad02" +201ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 111423002e00dcf855ad02c5f48e3a43360f2b50d389\n" +1ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 111423002e00dcf855ad02c5f48e3a43360f2b50d389 +0ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 102f00ffff0028 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 01102f000a\n" +268ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 01102f000a +0ms
discovered device information service
  l2cap-ble 7A:80:4B:2D:92:98: write: 0819001c000328 +9ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 09071a00121b00192a\n" +193ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 09071a00121b00192a +1ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 081c001c000328 +1ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 01081c000a\n" +201ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 01081c000a +0ms
discovered battery level characteristic
  l2cap-ble 7A:80:4B:2D:92:98: write: 0a1b00 +6ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 010a1b0005\n" +197ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 010a1b0005 +0ms
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "security = medium\n" +2ms
  l2cap-ble 7A:80:4B:2D:92:98: line = security = medium +0ms
  l2cap-ble 7A:80:4B:2D:92:98: write: 0a1b00 +1ms

about 20 seconds later:
  l2cap-ble 7A:80:4B:2D:92:98: buffer = "disconnect\n" +28s
  l2cap-ble 7A:80:4B:2D:92:98: line = disconnect +1ms
  l2cap-ble 7A:80:4B:2D:92:98: close = 0 +18ms

I don't see any informations in these logs. I hope you'll see something ;) Thank you :)

@alexeichhorn definitely looks like a pairing issue.
Did you get a chance to check if your Mac is paired with you iPhone?

@sandeepmistry I could connect from my mac with LightBlue to my iPhone and read the battery level. But it disconnected the iPhone after about 20 seconds (like Intel Edison does). Here's the log:
- Connected to device UUID: 614B6F4B-8D03-41D7-9889-CCD0011B8304 Named: iPhone 6 von Alexander Eichho
- UUID 2A19 Read Value: 0x1D
- Disconnected from device UUID: 614B6F4B-8D03-41D7-9889-CCD0011B8304 Named: iPhone 6 von Alexander Eichho

@alexeichhorn from the log snippet above:

noble sends handle 0x001b

  l2cap-ble 7A:80:4B:2D:92:98: write: 0a1b00 +6ms

iOS device responds with error ATT_ECODE_AUTHENTICATION

  l2cap-ble 7A:80:4B:2D:92:98: buffer = "data 010a1b0005\n" +197ms
  l2cap-ble 7A:80:4B:2D:92:98: line = data 010a1b0005 +0ms

noble upgrades security to medium

  l2cap-ble 7A:80:4B:2D:92:98: buffer = "security = medium\n" +2ms
  l2cap-ble 7A:80:4B:2D:92:98: line = security = medium +0ms

noble retries read handle 0x001b again

  l2cap-ble 7A:80:4B:2D:92:98: write: 0a1b00 +1ms

iOS device connects

1 - 4 is what I would expect from noble. The lower Linux implementation of noble is completely different from OS X. However, I'm not sure what security level OS X uses (maybe high instead of medium?), I had some instability with Linux and high security, so I left it at medium.
You could try experimenting with high security,  in l2cap-ble.c change both BT_SECURITY_MEDIUM 's to BT_SECURITY_HIGH and run node-gyp rebuild (you might have to globally npm install node-gyp).

@sandeepmistry Unfortunately it doesn't work. Still the same error. But I've tried to read a characteristic which I created on LightBlue (on iOS). This worked perfectly. It not even had to upgrade the security.
Probably only the built-in services of iOS have problems. With ANCS (node-ancs) I've the same problems.
I've found something in an Apple document:

iOS devices support Encryption Mode 3, Security Mode 4, and Service Level 1 connections.

Is Security Mode 4 equal to Security Level High?

@sandeepmistry I found out, that the problem occurs only in iOS 8. Unfortunately I couldn't find the reason, but I found an ANCS-Library for Arduino. In an update you could see the changes for iOS 8. It says:

I think I fixed the things that were messing up iOS 8. The forced
disconnect right after connecting was a problem. I think there were
some things with services.h. I extended the delay before security was
required.

Can you change the delay in noble? I searched for that, but couldn't find anything.
Here's the update description and more:
https://github.com/robotastic/ANCS-Library/commit/dff14e98cf0374b38902777bb0d0d7412c7eba45?diff=split

@alexeichhorn
Adding a delay before retrying does seem to help, it allows you to hit the "Pair" button on the iOS dialog.
Replace the following in src/linux/l2cap.js:
   } else if ((found = line.match(/^security = (.*)$/))) {
      this._security = found[1];

      if (this._security === 'medium') {
        // re-issue the current command
        debug(this._address + ': write: ' + this._currentCommand.buffer.toString('hex'));
        this._l2capBle.stdin.write(this._currentCommand.buffer.toString('hex') + '\n');
      } else {
        this.upgradeSecurity();
      }

with:
   } else if ((found = line.match(/^security = (.*)$/))) {
      this._security = found[1];

      if (this._security === 'medium') {
        // re-issue the current command
        setTimeout(function() {
          debug(this._address + ': write: ' + this._currentCommand.buffer.toString('hex'));
          this._l2capBle.stdin.write(this._currentCommand.buffer.toString('hex') + '\n');
        }.bind(this), 10000);
      } else {
        this.upgradeSecurity();
      }

My only issue with putting this is in master is the 10s retry time period, it doesn't guarantee the iOS user has hit the pair button. Also, if you are already paired with the peripheral (iOS or other), there's an n second delay, even though there doesn't need to be.
A better approach is to query the connection to see when security has actually been upgraded, which is what I thought the following sequence in src/l2cap-ble.c was accomplishing already:
        struct bt_security btSecurity;
        socklen_t btSecurityLen;

        memset(&btSecurity, 0, sizeof(btSecurity));
        btSecurity.level = BT_SECURITY_MEDIUM;

        setsockopt(l2capSock, SOL_BLUETOOTH, BT_SECURITY, &btSecurity, sizeof(btSecurity));

        getsockopt(l2capSock, SOL_BLUETOOTH, BT_SECURITY, &btSecurity, &btSecurityLen);

        printf("security = %s\n", (BT_SECURITY_MEDIUM == btSecurity.level) ? "medium" : "low");

@alexeichhorn 20e9af815cc5f55c340352489666b31ced540f92 should help with this.
Could you install noble from master and test it out - npm install sandeepmistry/noble ... I had to click the "pair" button on the iOS dialog every time. Also, make sure bluetoothd is running on your RPi/Edison.


Appointments

Fixes #76, #74, #73, #72, #71, #70, #69, #68, #67

HI Vlad ,
can you confirm that the cancel appointment is included in this RP?


Uri::withPath() method does not support relative paths

Issue summary
PSR-7 and the documentation of the AbstractUri class say about the $path parameter provided to the withPath() method:

The path can either be empty or absolute (starting with a slash) or
rootless (not starting with a slash). Implementations MUST support all
three syntaxes.
If the path is intended to be domain-relative rather than path relative then
it must begin with a slash ("/"). Paths not starting with a slash ("/")
are assumed to be relative to some base path known to the application or
consumer.

But that's not the case currently: using a relative path triggers an exception.
System informations

Information
Description

League\Uri\Schemes version
1.2.1

PHP version
7.2.15 + 7.3.1

OS Platform
Ubuntu 19.04 + Windows 10

Standalone code, or other way to reproduce the problem
Http::createFromString('https://belin.io/api/')->withPath('v1');

Expected result
No exception, just a valid URI: https://belin.io/api/v1
Actual result
League\Uri\UriException : Invalid URI: if an authority is present the path must be empty or start with a `/`

@cedx the behaviour you are experiencing is expected. What you are looking for is URL resolution which is not define in PSR-7 but in RFC3986 instead for instance you can accompish this using the Resolve modifier as explain in the documentation website see https://uri.thephpleague.com/manipulations/1.0/middlewares/#middlewares-which-manipulate-several-uri-components.
<?php

use League\Uri\Schemes\Http;
use League\Uri\Modifiers\Resolve;

$baseUri     = Http::createFromString('https://belin.io/api/')
$relativeUri = Http::createFromString("v1");
$modifier    = new Resolve($baseUri);
$newUri = $modifier->process($relativeUri);
echo $newUri; //displays "https://belin.io/api/v1"

Thanks for the clarification and the solution to my problem 😃
The documentation of the withPath method should probably be modified: the observed behavior is different from the description (i.e. we can't use "rootless" paths).


Distributing Query

if uses DataFusion Ballista, this feature may be easily achieved. not sure who wants to try firstly:)

close for favor #148


Release Google.Analytics.Admin.V1Beta version 1.0.0-beta02

Changes in this release:
New features

Enable REST transport in C# (commit 496c8ab)

Created release for Google.Analytics.Admin.V1Beta-1.0.0-beta02


Updated the TypeScript version

It seems like the original version was still at 1.0 while the Typescript
team has moved to 1.4. Not upgrading to 1.4 means slower compile times
and less features.

:+1:. Thank you.


"Run all cells" ignores exceptions

I noticed there is a difference in behavior between running all cells in a notebook in Jupyter Lab/Notebook and VS Code: when an exception is raised in Jupyter Lab/Notebook, subsequent cells do not run. In VS Code, all cells run regardless of whether any exceptions were raised.
I am sure the former is the correct behavior so can this be considered a bug in the VS Code Python extension? I also see that VS Code itself is adding native notebook support so perhaps this will be addressed in that but I wanted to be sure this issue was recorded somewhere.
I've also verified the same behavior in the latest VS Code Insiders (1.47.0).
Thanks!

@logan-pugh thanks for filing this. I took a look and confirm the same thing that you are seeing. We will discuss this internally, but we probably want to match the way Jupyter behaves here.


"dependencyOverrides"-like feature

I experienced some version issues when importing librairies through ivy. Does something similar to "dependencyOverrides" in sbt is possible with ammonite?

Sounds good


introduce after-animation-callback into ng-include-directive

This pull-request introduces a new callback to the ng-include-directive.
The existing callback in this directive triggers the $autoScroll-function which scrolls to a specific anchor in the document. In my use-case I had to scroll a specific amout of pixels, after animation completes. I could only achive that by introducing the new callback "afterAnimation", which is executed right after the $autoScroll inside the directive.
Maybe this is useful to other developers, hence I packed this into a pull-request :-)
Thank you :-)

scrolling to an anchor-element after the animation has finished just might not be enough. It would be nice to have a custom callback to be fired after the animation has finished. That basically is the purpose of this pull-request :-)
Thank you :-)

You can use animation event callbacks for this use-case:
http://plnkr.co/edit/ZOXeV3fVXDpPchsMCtN1?p=preview


Document whether Windows is supported

I can't tell from the documentation, or the PyPI classifiers, whether Windows is supported. I'd like it if it were, but obviously that's up to you as a developer. But could you document more clearly whether you do, so that I don't have to download the library and try it out to check?

v0.3.3 has fixes for Windows.
Seems solid enough, but it is restricted to what Colorama supports. No italic / bold and only 8 colors (16 if you include bold which is rendered as bright).

Windows PowerShell 7.0.1 look like this screen

Yeah, there's been some changes for the new Windows terminal, which is on par with OSX / Linux now. Old cmd works, with reduced colors.


timeout doesn't seem to work in Popen.wait

See atomic_hpc.context_folder.local.LocalPath.exec_cmnd

maybe use something like this: https://stackoverflow.com/a/4825933/5033292


Add ERC: Minimal Batch Executor Interface

Converted to use 7579 style.

Lemme fix the 7579 issue first. If it is not feasible to be fixed, i'll go back to the original.

Reverting back to original interface.

Ok, let's merge.
This should be good enough.

@abcoathup @xinbenlv
Ready to merge.


Owner Meta motion is 0 if player doesn't change Y

The values of motionX and motionZ are 0 if the player doesn't move in the Y axis.
motionY should also be 0, but is -0.07840000152587890680511151231257827021181583404541015625 instead.

Yes. It's the wrong velocity object entirely.

Pulling this comment from the duplicate, what is the correct place to get the velocity? I was thinking maybe I could make a mixin that hangs onto the pos from the tick earlier, but that didn't seem to work.


Two Bacon objects from different libraries conflict.

I have a library that exports a bacon stream, and it also exports Bacon as well:
My Library
module.exports.sampleStream = Bacon.fromPromise(something);

// for example I also export Bacon object
module.exports.Bacon = require('baconjs');

Now I want to use this library in another project:
My Application
var myLib = require('MyLibrary');
var Bacon = require('baconjs');
var Bacon2 = myLib.Bacon;

// faulty
myLib.sampleStream.flatMap(function(x) {
  return Bacon.fromPromise(something);
});

// correct
myLib.sampleStream.flatMap(function(x) {
  return Bacon2.fromPromise(something);
});

The problem is the first flatMap can't flatten the streams, because it doesn't recognize Bacon.fromPromise event stream.
The second version works because I use the Bacon2.fromPromise which is the Bacon instance from my library.
Particularly this check fails: isObservable = (x) -> x instanceof Observable.
I don't know if I am using the node module system wrong, or this is a bug.

that is known issue in the npm package design. AFAIK there are no way to ensure that the package is present only once in the dependency tree.
with depedency diagram:
app -> lib1 -> bacon
app -> lib2 -> bacon
app -> bacon

you'll end with three Bacons, possibly of different versions too.
The only way to quickly overcome this problem is to make libraries parametric in Bacon:
// MyLibrary
module.exports = function(Bacon) {
  function foo() {}
  return {
    foo: foo
  };
}

// MyApp
var Bacon = require("baconjs");
var MyLibrary = require("mylib")(Bacon);

@eguneys are the version requirements in the library and your application compatible? If so, npm dedupe might help.

Should we replace instanceof checks with smthing smarter?

On 9.1.2015, at 17.31, Oleg Grenrus<EMAIL_ADDRESS>wrote:
that is known issue in the npm package design. AFAIK there are no way to ensure that the package is present only once in the dependency tree.
with depedency diagram:
app -> lib1 -> bacon
app -> lib2 -> bacon
app -> bacon
you'll end with three Bacons, possibly of different versions too.
The only way to quickly overcome this problem is to make libraries parametric in Bacon:
// MyLibrary
module.exports = function(Bacon) {
function foo() {}
return {
foo: foo
};
}
// MyApp
var Bacon = require("baconjs");
var MyLibrary = require("mylib")(Bacon);
—
Reply to this email directly or view it on GitHub.

@raimohanska Two different Bacon's won't work together as they have different private global state. The same issue as with frames https://github.com/baconjs/bacon.js/issues/296.
Changing instanceof to something else won't help here. I guess there are no point to change, as long as Bacon has global private state.

I made BaconCast to handle converting foreign Bacon streams (and RxJS streams too) into Bacon streams usable with a local Bacon library instance. This can allow a library to accept Bacon and RxJS streams passed to it.
However, it doesn't allow the library to pass streams back to the application (unless the application was also using Bacon and BaconCast; if an application and library are going to closely coordinate like that, it makes more sense for the library to not directly depend on Bacon itself, instead only setting a peerDependency, and have the application pass a reference to its Bacon library instance into the library).

I believe marking bacon as a peer dependency in your library will have the desired effect:
"peerDependencies": {
"baconjs": "^0.7.70"
}


Add prepush hook to run tier1 tests

This was added to prevent unnecessary alarm for failing CI tests. I think we discussed that this might not be needed so long as we keep a project in "Draft" until CI passes.
@robinbb to confirm.

One cannot ensure that devs run any hook, so I'm okay not to include any change in the repo.


How to do routing on click of quick buttons

Hey guys,
I need help, i am using react router to route, but i want to create like if user clicks on the quick buttons it should redirect to the particular route.
If anyone can help me on this, i am a beginner.
Thanks.

Me too, I am trying to find something like this on web but react-chat-widget dows not have so many tutorials in internet.

@EdmarPereira , you can use react-router-dom to route based on the selected value from react-chat-widget

Thanks for this information, I will try here and check if it works.


The memory session store has memory leak ?

What version of UAA are you running?
v74.7.0
How are you deploying the UAA?
I am deploying the UAA

using cf-deployment

What is the problem ?
The UAA memory usage got increased constantly, as below, when the memory usage got to about 800M, UAA reported Out Of Memeory exception.

The possible root cause
This line https://github.com/cloudfoundry/uaa/blob/develop/server/src/main/java/org/cloudfoundry/identity/uaa/web/beans/UaaMemorySessionConfig.java#L33, as below, is using ConcurrentHashMap, but the MapSessionRepository doc https://docs.spring.io/spring-session/docs/current/api/org/springframework/session/MapSessionRepository.html says Note that the supplied map itself is responsible for purging the expired sessions.,  the `ConcurrentHashMap' doesn't has the capability to purge the expired sessions, that caused memory leak.
    @Bean
    public MapSessionRepository sessionRepository(final @Value("${servlet.idle-timeout:1800}") int idleTimeout) {
        MapSessionRepository sessionRepository = new MapSessionRepository(new ConcurrentHashMap<>());
        sessionRepository.setDefaultMaxInactiveInterval(idleTimeout);
        return sessionRepository;
    }

The heap dump of UAA shows a lot of MapSession instances, that's possible an envidence about the leak caused by ConcurrentHashMap
2198060 instances of class org.springframework.security.core.authority.SimpleGrantedAuthority
168276 instances of class org.springframework.session.MapSession
115556 instances of class

@mwdb FYI

Thanks for the report.  I think you are correct that this is quite likely the cause.

I have submitted a PR which should resolve this issue. https://github.com/cloudfoundry/uaa/pull/1152
My colleague @joshuatcasey appears to have independently submitted a PR as well https://github.com/cloudfoundry/uaa/pull/1151
So you have options I guess :)

Hi there, there's a new release that addresses this behavior
https://github.com/cloudfoundry/uaa/releases/tag/v74.12.0
I'll close this issue out unless there are other concerns?


SIMSBIOHUB-403: Telemetry Table Upload

Links to Jira Tickets
SIMSBIOHUB-403
Description of Changes

Added support for telemetry table to upload CSV files

Testing Notes

The linked ticket has an example file that can be uploaded
The column validation will work similar to the observations (lat, latitude are both acceptable)
If no deployment can be found from the uploaded data, an error will be thrown and the process will be stopped

Steps to test:

Once the app is running, navigate to a survey
Create an animal in the Marked and Known Animals section
Back at the survey, open the telemetry table with the Manage Telemetry button
Add a deployment with the Add button in the left hand panel, select the animal you created earlier
Copy the device ID from the created deployment and remember the dates associated to the deployment
Download and open the supplied_telemetry on the ticket
Modify device id column in the csv file with the one you copied earlier
Ensure the dates in the file also fit within the date range on the deployment
Upload that CSV file

Confusion around errors when uploading csv file. Better error handling required for when device id in already in use, and date range is incorrect.
Import functioned correctly when deployment record was properly set.


Custom fonts are not encoding correctly

Tried with Lato Google Font, the files are downloaded but there is an encoding issue.
I tried a lot of forman and just it worked in BASE64.
Is there a way to use TTF files?

Thanks.

what version of storybook? any custom webpack config?

Is it that the mime-types are incorrect?
Can you please provide more information and possible provide a reproduction?


Generate features per Android variant

It would be useful to enable generation of feature flags per variant. API could look like this.
laboratory {
  feature("SomeFeature") {
    withValue("Enabled")
    withDefaultValue("Disabled")

    androidVariantFilter { variant -> variant.name == "debug" }
  }
}

It would generate enum class SomeFeature only in debug builds.

It seems disproportionally hard to implement. matchingFallbacks and missingDimensionStrategy basically kill this feature when it comes to generating a sourced storage and a feature factory.

It is even less needed with DefaultOptionFactory.

Nope.


Sparsity fp8 Llama-3-8b on RTX4090 has no speed improvement against dense one

Hi!
I tried Sparsity fp8 Llama-3-8b on RTX4090, but doesn't get performance improvement. I checked the trt-llm build log, which shows that depite there are layers eligible to use sparse tactics, they are not chosen.

I see sparsity example on H100 in the benchmark. I'm wodering why it doesn't work on 4090. And may I ask is there 4090 support plan in roadmap?
Thanks!

@Tracin Could you please have a look? Thanks

@lishicheng1996 Basiclly, this is due to less efficient of sparse kernel compared with dense one, so they are not chosen. Can you verify it on H100? I do not see any plan about FP8 sparsity on 4090.

@lishicheng1996 Basiclly, this is due to less efficient of sparse kernel compared with dense one, so they are not chosen. Can you verify it on H100? I do not see any plan about FP8 sparsity on 4090.
Thank you!


Rename "whitelist"

Resolves #206

@kylebgorman @lfashby Is there a way we could check that these changes haven't broken anything without triggering the "big scrape" process?

You could run the actual scrape (src/./scrape.py) through Armenian (which will at most take a few hours) and confirm there are no obvious regressions, then revert.

My only suggestion would be to run a partial big scrape and then just manually compare the data. It would be nice if we had a way of testing some of these things on the data side of WikiPron.


Login: Login with MFA

As an enduser I want to be able to login my user with multi factor.
Acceptance Criteria

[x] Ui checks what kind of authentication methods should be shown depending on the settings of the organization or instance and the configuration the user has
[x] If settings tell to have mfa and user doesn't have it configured, step up is shown
[x] If otp is configured, input field for code is shown
[x] If webauthn is configured challenges should be started automatically without the user clicking a button
[x] If only one possiblity we show it directly
[x] If both options are configured we show webauthn per default and then otp
[ ] If options are in package, we want to be able to configure the check order  of the factors
[ ] u2f should be implemented as highest priority

If both options are configured we show webauthn per default and then otp
-> a selection option is shown instead. we can implement this at a later point but I'd reduce the overhead for the beginning


Exception when calling RO contract methods with 23.1.0

Description
Since the upgrade to 23.1.0 simple read-only contract calls fail with both JsonRpc and websocket provider (works perfectly when downgrading to 22.10.3)
Steps to Reproduce (Bug)
Using ethers.js (v5.7.2) for simplicity but this fails the same way using rust with ethers-rs, run this on a goerli connected node :

For some reason the sushiswap fails more consistently but both would fail randomly (alot) which doesn't happen on the same node when downgrading to 22.10.3

  // const provider = new ethers.providers.WebSocketProvider("ws://localhost:8546");
  const provider = new ethers.providers.JsonRpcProvider("http://localhost:8545");
  const get = async (addr) => {
    const contract = new ethers.Contract(
      addr,
      [ "function WETH() external pure returns (address)",
        "function factory() external view returns (address)" ],
      provider
    );
    let weth = await contract.WETH().catch((err) => { console.log("WETH err", err); });
    let factory = await contract.factory().catch((err) => { console.log("factory err", err); });
    console.log(addr, "WETH", weth);
    console.log(addr, "factory", factory);
  }
  get("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D"); // uniswap
  get("0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506"); // sushiswap goerli

Expected behavior:
The calls should return the addresses of the router's WETH and factory.
Actual behavior:
An exception is raised, one example of many, all fail with the same error:

ethers.js error

WETH err Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="WETH()", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
    at Logger.makeError (ethers.esm.min.js:1:61127)
    at Logger.throwError (ethers.esm.min.js:1:61305)
    at Interface.decodeFunctionResult (ethers.esm.min.js:1:197645)
    at Contract.<anonymous> (ethers.esm.min.js:1:298164)
    at Generator.next (<anonymous>)
    at fulfilled (ethers.esm.min.js:1:291378)

ethers-rs error:

AbiError(
    DecodingError(
        InvalidName(
            "please ensure the contract and method you're calling exist! failed to decode empty bytes. if you're using jsonrpc this is likely due to jsonrpc returning `0x` in case contract or method don't exist",
        ),
    ),
)

Frequency:
Happens most of the time using the above code.
Versions (Add all that apply)

Software version: [besu --version]
Java version: [java -version]

besu/v23.1.0/linux-x86_64/openjdk-java-17
2023-02-26 09:18:15.237-08:00 | main | INFO  | Besu | Using jemalloc

OS Name & Version: [cat /etc/*release]:  Void Linux
Kernel Version: [uname -a] : 6.1.13

Smart contract information (If you're reporting an issue arising from deploying or calling a smart contract, please supply related information)
Uniswap router on Goerli:
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Sushiswap router on Goerli:
0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506

FYI, this issue seems to be solved with version 23.1.2, I'll leave up to the team to close this issue as perhaps other tests need to be verified before closing.


Closes #52 #40- Hide "Load more" button when there is nothing more to load; Automatically scroll to bottom after clicking on "Load more" button;

Use tmeasday:publish-counts to set an observer on the cursor inside posts.all publication which will return total count for that cursor reactively.
Instead of reloading all posts when a user clicks on the load more button, we will let all the loaded posts remains on the list while slowly adding newly loaded posts to the bottom of the list.

Awesome! :+1:

Code is now live on joingravity.com


Allow user to specify location (datacenter) when creating master or nodes with CLI argument

It's possible by using:
    --facility CODE               Packet facility

The current facilities are:

ewr1 (Parsippany, NJ)
sjc1  (Sunnyvale, CA)
ams1 (Amsterdam, NL)

Ah my mistake, thank you.


add opt-in error notification #30

Hopefully it can be helpful, addresses #30 implementing freedesktop spec notifications.
Also had to change error handling quite a bit. Please, feel free to ask for or make changes.

Hey @MyyPo ! thank you very much for your suggestion and implementation. Unfortunately I personally think it's a little of an overkill to make all these changes and add a new dependency and an option flag just for this. I've implemented a fix here instead: https://github.com/bjesus/wttrbar/commit/8e6df27180edf479c7bcc90cd9f35e1727880b48 . it just shows in the panel directly. This should for everyone regardless of their notifications system or setup.


chore: Unvendor.  Upgrade dependencies.  Make tests pass.

bss requires hms-etcd which has an obsolete dependency chain that is leading to vulnerability assessments.  This PR updates hms-etcd to go 1.23 and resolves obsolete dependency issues.

I included these changes in this PR: https://github.com/Cray-HPE/hms-hmetcd/pull/14


can be replaced to ; i < array.length;

https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L350
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L696
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L709
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L733
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L736
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L756
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L762
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L791
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L833
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L851
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L865
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L897
https://github.com/Maxim280596/yo-smart-contracts/blob/a2f693d30faaabe396396318337b5887cddc0847/contracts/YieldOptimizer.sol#L1023

Corrected


Cloth simulation

Hi, first of all, this looks like an amazing project and would very much like to use it. As the title suggests, I'd like to use it for some cloth simulation. I saw an example of Ammo.js with some cloth and it looks very nice: https://threejs.org/examples/?q=cloth#physics_ammo_cloth
I would like to create something similar in react, but I'm unsure if this project is already fit for such purpose. A nudge in the right direction here would be immensily appreciated!
Thanks in advance!

Hi @DrRonne ,
this should already be possible. The cloth in the example is implemented as a "SoftBody" in ammojs.
The three example uses a specific helper ("CreatePatch") to create the mesh, which use-ammmojs doesn't expose directly yet. Instead arbitrary Meshes can be passed (example) and the result should be identical if you pass in a subdivided plane yourself.
Only caveat is that Textures don't work yet. There's some work to be done to match and map the UV coordinates correctly into the physics buffers in the worker thread.
Attachment points are also demonstrated here.
Hope that helps

Hi, I'm sorry for being late to respond. I did manage to get it working. I would like to have some textures on it as well though. Is there already a plan on implementing this? If needed/wanted, I could perhaps try this as well. Not yet very familiar with the source code here though.


Change warnings from icon to flyouts but it no longer interrupts searching

Summary of the Pull Request
This PR reverts the warning system to flyouts since most of the bug bash feedback revolved around warnings not being visible/noticeable. The main issue with the flyout system was that drop downs were almost unusable since searching on them would trigger flyouts even if you dont select them.

PR Checklist

[X] Applies to #2778 , #2665
[X] CLA signed. If not, go over here and sign the CLA

Detailed Description of the Pull Request / Additional comments

Removed the warning exclamation icon
Added the old flyout design for warnings introduced in #2140
The main issue with the flyouts was that it made searching in drop downs very difficult. The ComboBox.SelectionChanged handler gets called even when searching in the drop down and a selection is highlighted. This would cause the flyout to appear and it would close the drop down. This caused issues such that if the user cannot type A because it's the first drop down, they could not search for Alt either since A would be the first selection and the flyout would pop up.
Based on an idea from this stackoverflow answer, I moved the selection handler to the "Drop Down closed" event. By doing this the selection logic and validation of the shortcut is done only when the drop down is closed, so searching is not affected by this. This however would not work for the following two scenarios:

The user uses Type Key/shortcut to enter a key/shortcut and presses OK. In this case the drop downs get populated but it is never opened/closed so that method would not get triggered
When opening remap key/shortcuts if you have old remappings then those would have to be reloaded. Again in this case dropdownClosed is not triggered.
If the user has keyboard focus on the combo box and just types in something, dropDownClosed isnt triggered.

To handle the above to cases we have to use the SelectionChangedHandler, however we have to ensure we only do this only for those cases. This is done by checking if the drop down is currently closed. This encompasses all the above cases and the only case where it still happens apart from the above list is if we SetSelectedIndex from within the DropDownClosed handler. Since we only set it to -1 there, and we chave checked for SelectedIndex !=-1 in the selectionchanged logic this is not a problem. All other cases where you have to open the drop down and you click something do not trigger SelectionChanged because SelectionChanged is called first, then the dropDownClosed handler is called, so the drop down is considered open during that.
After switching to the flyout case there was one bug with using None. If you would set None and the drop down gets deleted but the resulting shortcut has a conflict with another shortcut then an error would occur because a flyout would try to open on that deleted drop down. This has been resolved by doing the drop down deletion only after ensuring that there are no other errors/conflicts if that drop down was removed.

Validation Steps Performed
Validated all the error messages still appear as before and ensured that warnings appear as they should when using the following:

Type Shortcut/Key
Opening remap keyboard/shortcuts with old remappings and just clicking apply should maintain all the remappings (to ensure selection handlers are correctly called)
Using the entire UI both using keyboard and using keyboard+mouse and navigating with the drop down and searching using them.

It doesn't seem like the flyout appears for some cases when the shortcut is invalid.
To reproduce you can try to remap Ctrl + Shift to any other shortcut, it used to show a warning icon on apply, now it doesn't show a flyout.

This particular case had made sense when we were using the icon, but it doesn't work for flyouts because we aren't displaying flyouts on clicking apply. This scenario is where the user added two modifiers but didnt add an action key so the shortcut is incomplete (and the third box is empty).
@saahmedm how should we handle this case? Since we are planning to have a Remap unsuccessful dialog do we want to show something there?


Haddock internal error during stack hoogle

If I do
$ stack hoogle --stack-yaml=stack-8.0.2.yaml -j 2

in the root of HIE sources, I get the following error:
    haddock: internal error: spliceURL UnhelpfulSpan
 CallStack (from HasCallStack):
      error, called at utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs:79:9 in main:Haddock.Backends.Xhtml.Utils

This is a manifestation of https://github.com/haskell/haddock/issues/565

Is this still a problem?

I guess it's either resolved or nobody cares.


[CARBONDATA-4228] [CARBONDATA-4203] Fixed update/delete after alter add segment

Why is this PR needed?
Deleted records are reappearing or updated records are showing old values in select queries. It is because after horizontal compaction delete delta file for the external segment is written to the default path which is Fact\part0\segment_x\ while if the segment is an external segment then delete delta file should be written to the path where the segment is present.
What changes were proposed in this PR?
After delete/update operation on the segment, horizontal compaction will be triggered. Now after horizontal compaction for external segments, the delete delta file will be written to the segment path at the place of the default path.
Does this PR introduce any user interface change?

No
Yes. (please explain the change and update document)

Is any new testcase added?

Yes

Build Failed  with Spark 3.1, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_3.1/342/

retest this please.

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/4197/

Build Success with Spark 3.1, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_3.1/344/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5943/

retest this please.

Build Failed  with Spark 3.1, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_3.1/345/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5944/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/4198/

Build Success with Spark 3.1, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_3.1/363/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/4218/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5963/

@nihal0107 in Why this PR section of PR description, it's just written that the delete is not working. But that's not enough, can you please mention the root cause also there? Then, in the next section, you add details of fix.

@nihal0107 in Why this PR section of PR description, it's just written that the delete is not working. But that's not enough, can you please mention the root cause also there? Then, in the next section, you add details of fix.

@akashrn5 added the details description and root cause.

retest this please

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/6016/

Build Success with Spark 3.1, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_3.1/417/

LGTM


Organize Wednesday social: Tucson

I'm meeting with Caleb from Snakes & Lattes (Tucson) tomorrow afternoon. He says they have a trivia event on the Wednesday, but I'll find out more tomorrow.


Error: EPERM: operation not permitted, rename

When I try to rename a folder, it takes a long time until an error pops up and says the operation is not permitted.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.63.2 (user setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

OS Version: Win 11

Steps to Reproduce:

Initialize a git repo in the workspace.
Create a folder.
Initialize a git submodule repo inside that folder.
Commit changes.
Try to rename the folder.

Error displayed:
Error: EPERM: operation not permitted, rename

Screenshot:

Dev Tool Console logs:
  ERR [Extension Host] (node:23748) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
workbench.desktop.main.js:77 [Extension Host] (node:23748) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use `Code --trace-deprecation ...` to show where the warning was created)
I @ workbench.desktop.main.js:77
workbench.desktop.main.js:77 [Extension Host] rejected promise not handled within 1 second: Git error {  "exitCode": 128,  "gitErrorCode": "IsInSubmodule",  "stdout": "",  "stderr": "fatal: Pathspec 'c:\\Users\\songy\\Documents\\My Documents\\UDEM\\master thesis\\uml data\\database\\cleaning\\3step\\extraction\\test\\run.py' is in submodule '3step'\n"}
I @ workbench.desktop.main.js:77
workbench.desktop.main.js:577   ERR Git error
20workbench.desktop.main.js:77 [Extension Host] rejected promise not handled within 1 second: Git error {  "exitCode": 128,  "gitErrorCode": "IsInSubmodule",  "stdout": "",  "stderr": "fatal: Pathspec 'c:\\Users\\songy\\Documents\\My Documents\\UDEM\\master thesis\\uml data\\database\\cleaning\\3step\\extraction\\test\\run.py' is in submodule '3step'\n"}
I @ workbench.desktop.main.js:77
workbench.desktop.main.js:577   ERR Error: Error: EPERM: operation not permitted, rename 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\3step' -> 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\three_step'
workbench.desktop.main.js:788 Error: Error: EPERM: operation not permitted, rename 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\3step' -> 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\three_step'
onDidChangeNotification @ workbench.desktop.main.js:788
workbench.desktop.main.js:577   ERR Error: EPERM: operation not permitted, rename 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\3step' -> 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\three_step': NoPermissions (FileSystemError): Error: EPERM: operation not permitted, rename 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\3step' -> 'c:\Users\songy\Documents\My Documents\UDEM\master thesis\uml data\database\cleaning\three_step'
    at c (C:\Users\songy\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:28:3853)
    at l.toFileSystemProviderError (C:\Users\songy\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:31:47228)
    at l.rename (C:\Users\songy\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:31:45218)
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/899d46d82c4c95423fb7e10e68eba52050e30ba3/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout

@lszomoru I am using F2. I tried it again on my repo folder and it works now. Strange. :)


Number of bindings doesn't match the question marks. if sql contains ?

Version: (e.g. 0.5.0-SNAPSHOT)
Module: (e.g. quill-sql)
Expected behavior
 val q = quote {
      query[Order].filter(_.remark == "?")
    }
    val r = QDB.run(q).futureValue

This query should run fine.
Actual behavior
java.lang.IllegalStateException: Number of bindings doesn't match the question marks.

@getquill/maintainers

@jilen the db should not consider '?' as a binding. This could be a driver bug, what module are you using? Could you also share the complete stack trace?

@fwbrasil
java.lang.IllegalStateException: Number of bindings doesn't match the question marks.
[info]   at io.getquill.sources.BindedStatementBuilder.expand$1(BindedStatementBuilder.scala:42)
[info]   at io.getquill.sources.BindedStatementBuilder.build(BindedStatementBuilder.scala:45)
[info]   at io.getquill.sources.async.AsyncSource.query(AsyncSource.scala:82)

It occurs when use mysql-async not sure whether other module has issue.

I think the problem occurs here. While traversing the string, it should ignore anything that is quoted or double quoted like SELECT * FROM People WHERE name = '?whatever?'


⚠ Bofrost.es has degraded performance

In 137c48f, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1400 ms

Resolved: Bofrost.es performance has improved in 313bbbe after 8 minutes.


User account for membership

User model in Prisma schema
Auth: sign up, sign in, sign out
Display members in /members
Display team members in / and /team

To make this finished as soon as possible, I'll be taking care of it. I had been implementing this multiple times with Remix, just need some time to migrate it into this repo.
As we also need OAuth as the method of authentication, not only with password.
Please handle other issues other than this one.
@bandungdevcom/website


Liquibase executing incomplete "create view" ddl and failing with "ORA-00923: FROM keyword not found where expected"

Search first

[X] I searched and no similar issues were found

Description
1> Generated xml using "lb genobject" for a view.
2> Trying to create the view using "lb update" and it's failing with "ORA-00923: FROM keyword not found where expected".
Further investigation showed that it's not executing the complete create view statement though the generated xml file have the complete statement.
Steps To Reproduce
SQL> lb genobject -type view -name SWC_HR_GENERIC_EMP_V -replace
--Starting Liquibase at 15:59:41 (version 4.9.1 #0 built at 2022-05-03 17:23+2221)
Action successfully completed please review created file swc_hr_generic_emp_v_view.xml
SQL> lb update -changelog swc_hr_generic_emp_v_view.xml
Error report -
ORA-00923: FROM keyword not found where expected
00923. 00000 -  "FROM keyword not found where expected"
*Cause:
*Action:
Expected/Desired Behavior
lb update command should have been successful and the view should have been created.
Liquibase Version
--Starting Liquibase at 00:17:33 (version 4.9.1 #0 built at 2022-05-03 17:23+2221)   Liquibase version:    4.9.1 #0 built at 2022-05-03 17:23+2221 Extension Version:   <IP_ADDRESS>
Database Vendor & Version
Oracle Database 19c Enterprise Edition Release <IP_ADDRESS>.0 - Production Version <IP_ADDRESS>.0
Liquibase Integration
CLI
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

@skb877 - It looks like you are using Oracle's SQLcl for Liquibase. Please contact their support team for any issues/questions with this extension - https://docs.oracle.com/en/database/oracle/sql-developer-command-line/19.2/sqcug/preface.html#GUID-70DFC9AC-E321-43FF-B283-23A60A942B0F


Bluetooth Audio over ESP32 C3 (IDFGH-5013)

As ESP32 C3 supports wifi and ble 5.0 and not classic bluetooth.
How can i stream audio from a device to esp32 c3 over ble?
a2dp examples wont work as they are for classic bluetooth.
Kindly suggest the best way to go ahead in this as i am developing a solution involving music streaming over bluetooth and i want to use ESP32 C3.
Thanks

Hi, @jassi00713
It's impossible to stream audio via LE radio with Bluetooth 5.0. You can stream audio with Wi-Fi on ESP32-C3 or you can choose ESP32 and use Classic BT profile A2DP to stream audio.
Bluetooth 5.2 features LE Audio will make it possible to stream audio on LE radio.
Thanks

Thanks for reporting, feel free to reopen.


Documentation improvement: how VDK fits in the market

What is the feature request? What problem does it solve?
From the problem definition interviews:
- From the readme, it is not clear what problem VDK solves and how it fits in the market
- there are lots of solutions, and it's not clear what's the difference
Suggested solution
Improvement suggestions:

the first sentence is good, keep it and then have some bullet point list with vdk features and how they do
Message Like: a step-oriented data pipelines framework could be clear
Explain each part of the ETL ingestion a bit more - how does VDK automate it (how it support data engineers to save time/ lines of code?
Explain what the benefits of using VDK are

Additional context
All of these are the issues/unclarities. The solution is also a suggestion and possibly can be solved otherwise.
!!!this should be implemented after Gary has merged his changes!!!

Duplicate


Most GH error bodies are returned as JsonProcessingException.

Right now we're not making any attempt to read the JSON response bodies returned by GitHub on an error. This means legitimate errors returned by GitHub are coming through as JsonProcessingExceptions.
Seems like an extra domain model or two along with some different logic in the run method in HttpClient would suffice to making a cleaner unhappy path.
Related to #363

I was planning on doing exactly that, the whole error hierarchy needs redoing too.
I was thinking we'd need at least a couple:

Unauthorized
RateLimitExceeded

At that link, it looks like GH also has standard domain errors we could lift into exceptions by checking under the "code" field, things like

MissingResource
MissingField
InvalidFormatting
ResourceAlreadyExists

created #440

done in #440


not opening

it won't open for me?

thank you for providing a whole 0 pieces of useful information

it try open it it then it close it

that's still not any useful information -- we'd need server logs at the very least.
and if you're using pex 1.x that is not supported


Add begin_with methods to support database-specific transaction options

Fixes #481

I'm not sure if the last commit adding sqlite tests is very good. Apparently calling "BEGIN EXCLUSIVE" could cause tests running in parallel to fail with "Database is locked" errors.

Looks like I need to investigate some test failures. Getting a new error in several tests:
got unexpected connection status after attempting to begin transaction

I'm having trouble running the MySQL tests locally. I keep ending up with this error:
error communicating with database: expected to read 4 bytes, got 0 bytes at EOF

Even after I remove the mysql container.


A bug when using protocol-relative paths in assets

I want to inject a script which via HTTPS when needed:
{
	plugins: [
		new HtmlWebpackPlugin({
			template
		}),
		new HtmlWebpackIncludeAssetsPlugin({
			assets: [
				{
					path: '//polyfill.alicdn.com/polyfill.min.js',
					type: 'js',
					attributes: {
						crossorigin: 'anonymous'
					}
				}
			],
			resolvePaths: false,
			append: false
		})
	]
}

But the .html output added a /,  the link was ///polyfill.alicdn.com/polyfill.min.js, It was wrong.

Env
html-webpack-include-assets-plugin    v1.0.7

html-webpack-plugin        v3.2.0

webpack     v4.28.2

Oh interesting, I did not even know protocol relative urls existed! (https://www.paulirish.com/2010/the-protocol-relative-url/)
I'll have a look and see if there's an easy fix. Of course, a PR would be welcome if you'd like to have a look yourself... ;-)

well, I will have a look tommorrow when  I am free.

Actually, there's a very easy fix for this. The / prefix is being added to your url because this is your publicPath from webpack.
If you add publicPath: false to your asset it should work, like this:
{
  path: '//polyfill.alicdn.com/polyfill.min.js',
  publicPath: false,
  type: 'js',
  attributes: {
    crossorigin: 'anonymous'
  }
}

Can you give that a try and let me know if that fixes it?

oh, it works @jharris4

Great, glad it was an easy fix!


Update README to move Rules to independent doc

This pull request aims to improve documentation. By moving the rules to an independent file, it's easier to draw links to this document and reference content.

I kind of like that the npm page show the readme with the rules, so I'm not sure if I agree about the improvement, but I'm open to hear if there is something else that makes this a better way.

I kind of like that the npm page show the readme with the rules, so I'm not sure if I agree about the improvement, but I'm open to hear if there is something else that makes this a better way.

I appreciate your opinion on this. My point is that it's not customary to place all documentation in the README with all other repo information. Placing it into another document resource allows for updates to documentation per the tool not to be muddied with updates to documentation about the repo. This also makes linking to the tool's docs more direct versus linking to the middle of a README.
The most relative example would be stylelint

I will throw in a personal agenda as well. I am building a design system and part of that is using tools like yours to maintain quality. I'd like to showcase the rules in my doc site much as I do with stylelint, but I'd prefer not to have to maintain this myself or have to show the whole README with the rules.

@blackfalcon the list of available rules in the plugin does not mean that this is the list of rules applied in your design system. And each rule is already linkable by being documented in its own readme, so you could link to the rules you enable.

@blackfalcon the list of available rules in the plugin does not mean that this is the list of rules applied in your design system. And each rule is already linkable by being documented in its own readme, so you could link to the rules you enable.

I'd argue that more often than not that all the rules are enabled at first and then paired down individually if needed. The goal I am striving for is to have a centralized list of all the features so that your developers can evaluate as needed.
Having this all in the README is just making them parse through additional content to get what they are looking for.
But this is your repo and if you don't agree with that, please feel free to close my PR.

Closing this per @kristerkari's comments above.


Sci-viz does not properly handle sub directory hosting when making api calls

A previous release addressed the issue of deploying a sci-viz instance under a sub directory,
it seems that this was only partially fixed as one of our users has reported that sci-viz does not make the right api calls when in a subdir.
Current workaround is to set REACT_APP_DJSCIVIZ_BACKEND_PREFIX to = /mysubdir/api instead of /api

Once this is fixed and an image is published the workaround will likely need to be remove when upgrading to the new image.