PETSC_VERSION not set when cmake run second time

Hello,
I have
find_package(PETSc 3.6 REQUIRED)
add_definitions(-DPETSC_MAJOR=${PETSC_VERSION_MAJOR} -DPETSC_MINOR=${PETSC_VERSION_MINOR})
message("PETSC VERSION: " ${PETSC_VERSION} )
message("PETSC VERSION: " ${PETSC_VERSION_MAJOR} " . " ${PETSC_VERSION_MINOR} )

To use some conditional compiling based on the PETSc version. (if there is a better way, let me know please!)
It works fine when cmake is ran on an empty directory:
% cmake ../..
[...]
-- petsc_lib_dir /home/florian/software/petsc/arch-linux2-c-debug/lib
-- Recognized PETSc install with single library for all packages
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal - Failed
-- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes
-- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes - Success
-- PETSc requires extra include paths, but links correctly with only interface libraries.  This is an unexpected configuration (but it seems to work fine).
-- Found PETSc: /home/florian/software/petsc/include;/home/florian/software/petsc/arch-linux2-c-debug/include;/opt/mpich/include (found suitable version "3.8.4", minimum required is "3.6")
PETSC VERSION: 3.8.4
PETSC VERSION: 3 . 8

The define is also set correctly. But when I run the same command a second time
% cmake ../..
-- Build configuration: Debug
-- Special platform settings: none
-- Found PETSc: /home/florian/software/petsc/include;/home/florian/software/petsc/arch-linux2-c-debug/include;/opt/mpich/include (Required is at least version "3.6")
PETSC VERSION:
PETSC VERSION:  .

The values are empty. Also the defines for the following make are set to empty values.
Not really sure, if that is a problem of my config, or cmake or the module...
Thanks!

Applying that fix I get:
CMake Error at tools/cmake-modules/FindPETSc.cmake:71 (set):
  set given invalid arguments for CACHE mode.
Call Stack (most recent call first):
  tools/cmake-modules/FindPETSc.cmake:144 (petsc_get_version)
  CMakeLists.txt:32 (find_package)

-- petsc_lib_dir /home/florian/software/petsc/arch-linux2-c-debug/lib
-- Recognized PETSc install with single library for all packages
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal - Failed
-- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes
-- Performing Test MULTIPASS_TEST_2_petsc_works_allincludes - Failed
-- Performing Test MULTIPASS_TEST_3_petsc_works_alllibraries
-- Performing Test MULTIPASS_TEST_3_petsc_works_alllibraries - Failed
-- Performing Test MULTIPASS_TEST_4_petsc_works_all
-- Performing Test MULTIPASS_TEST_4_petsc_works_all - Failed
-- PETSc could not be used, maybe the install is broken.
CMake Error at tools/cmake-modules/FindPETSc.cmake:327 (if):
  if given arguments:

    "VERSION_LESS" "3.1"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:32 (find_package)

-- Configuring incomplete, errors occurred!

I will try to investigate myself, but I am also open to any input.


Compatibility with editor.codeActionsOnSave

I'm using the extension in editor.codeActionsOnSave to automate the LastUpdated change in XML files.
When I save the file, the extension is executed as expected, but the file is immediately marked as "dirty" again (with the dot in the tab). Because of this behavior, VS Code refuses to close the file tab.
Is it possible to prevent this behavior?

I have seen this in the past but I thought it stopped happening.  And I can't reproduce it now.
If it is still happening for you, can you show the settings you are using and some sample text for then to work on.

Could you provide the setting or keybinding that you are using?  Thanks.

Certainly!
    "findInCurrentFile": {
        "updateLastModified": {
            "title": "Update LastModified Attribute",
            "find": "LastModified=\"(?!${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}${CURRENT_TIMEZONE_OFFSET})[^\"]*\"",
            "replace": "LastModified=\"${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}${CURRENT_TIMEZONE_OFFSET}\"",
            "isRegex": true,
            "preserveSelections": true,
        },
    },
    "editor.codeActionsOnSave": [
        "source.updateLastModified",
    ],

I can't replicate this yet.  What is your "editor.formatOnSave" setting?  Anything else running on a save?

Give v5.3.0 a try, I believe your issue (and more codeAction-related issues) are fixed.  Mostly async issues with the editBuilder function.

The below runs 2 codeActions from this extension and the first codeAction has a "preCommands": "editor.action.formatDocument".

Thank you!


Automatic PR from RestAPI-PR1118

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1118

Codecov Report

Merging #1077 into master will decrease coverage by 0.06%.
The diff coverage is 27.5%.

@@            Coverage Diff             @@
##           master    #1077      +/-   ##
==========================================
- Coverage   56.98%   56.91%   -0.07%
==========================================
  Files        2001     2004       +3
  Lines       56024    56137     +113
==========================================
+ Hits        31927    31953      +26
- Misses      24097    24184      +87

Impacted Files
Coverage Δ

...ure-mgmt-logic/azure/mgmt/logic/models/__init__.py
100% <100%> (ø)
:arrow_up:

azure-mgmt-logic/azure/mgmt/logic/version.py
100% <100%> (ø)
:arrow_up:

...mgmt/logic/models/logic_management_client_enums.py
100% <100%> (ø)
:arrow_up:

...mgmt/logic/models/workflow_trigger_callback_url.py
45.45% <16.66%> (-37.88%)
:arrow_down:

...t/logic/operations/workflow_versions_operations.py
18.42% <4.16%> (-6.58%)
:arrow_down:

...gmt-logic/azure/mgmt/logic/models/retry_history.py
40% <40%> (ø)

...zure/mgmt/logic/operations/workflows_operations.py
18.26% <5.88%> (-2.15%)
:arrow_down:

...dels/workflow_trigger_list_callback_url_queries.py
50% <50%> (ø)

...gic/azure/mgmt/logic/models/workflow_run_action.py
26.31% <50%> (-1.47%)
:arrow_down:

...c/azure/mgmt/logic/models/as2_security_settings.py
33.33% <50%> (-2.39%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


go: move common implementation to generic.nix

Description of changes
This change moves implementation common to all Go versions to generic.nix to avoid duplication. This should also make future changes easier since we don’t have to manually update each individual Go package while keeping in mind all the small differences there were between them.
This is based on and inspired by Node.js package implementation.
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 256961 run on aarch64-linux 1

For context, things that are different between Go versions as they are packaged right now:

Obviously version and hash strings.
Go bootstrap toolchain depends on the version and platform being built for.
Patch sets are slightly different in each version, I’ve opted for accepting patches as an argument for convenience.
Each version needs corresponding buildGoModule.
Before 1.20 we manually removed pkgs/obj.
Since 1.21 we need to copy go.env.

Thank you for the PR but doing something like this have been discussed by the go maintainer previously and decided against.
With the distpack changes in 1.21 I'm planning to revisit that decision in a few months after we remove 1.20 and earlier.

@zowoq, oh, didn’t know that this was intentional. Is there any public discussion available regarding this?

Is there any public discussion available regarding this?

It has been proposed on random go-related PRs a few times so it is public but it has never really much of a discussion and probably not easy to find.
With distpack changes making the install much simpler I do see a benefit in moving to the generic.nix style for future versions but not for 1.18, 1.19, 1.20.


Remove Static Method Requirement for Handler List

The code for retrieving a list of available handlers (currently generated by a static method in the StashHandlers class) should be refactored so it does not require a static call, possibly by moving it into the Stash object.

I'm closing this out for now, as it really has to be static the way it currently works. I think we ultimately need to remove this class altogether and replace it with something else though- another issue along those lines would make sense for discussion.


Gelbooru No API login selection and POST appears to not work right

Bug description
When adding an account/login info for gelbooru there is no selection for API Key. also when using the only selection that it gives (POST) the login works when tested but when I try to search it still returns no result, however when going to gelbooru with the same search it has results. There is an API key on my gelbooru account page so I know it supports it but it appears that there are other sites that also only have POST as a login type like gelbooru. Is this something that isn't supported for Gelbooru based sites at this time or is there something else that I'm missing.
Steps to reproduce

Go to sources
Click on Options
go to the login tab
Login type isn't able to be changed.

Expected behavior
The ability to select API as the login type. and see all posts after adding account information. And or all posts showing up when searching for them.
Context
I am trying to make it so that all posts even ones that are marked contentious content are downloaded. Without a login, Gelbooru and some other sites won't show that type of content. I'm actually using this software to download many of the preadded sites so that I can use the images for a few different AI concepts I'm working on, and need as many images of various kinds with and without good tagging for them.
System information

OS: Ubuntu
Grabber version: 7.3.2

Additional context
I also tried to find a similar problem in the issues that have been submitted already and wasn't able to find anything that was the same. sorry if I'm just missing something.

I was able to work it out turns out that the problem was a layer 8 problem lol but would still like to know why there is no API key support for the gelbooru types of sites.

Indeed, it seems that a new "API key" login was added recently.
I just pushed an update for the Gelbooru source to allow to use it. You'll just have to select "Through URL" for login, and put your user  ID and API key there to use it.

cool and thanks for the info and update!


Drop support for php 5.6 and 7.0

As php 5.6 and 7.0 are nearing end of support (see http://php.net/supported-versions.php), libraries should move on as well. This will open up all the new features given in 7.1+
Consider deprecating php 5.6 and 7.0

It sounds good, but I'm not sure that how many developers still use the php-5.6 and php-7.0 for this package.

Well they can stick around with their current version. We should not be required to support outdated versions, because this might block further development. All the new language feature can not be used.

Hi @TheLevti, you're right.
We can drop these unsupported PHP versions and release latest stable version and developers can still use current stable version to support their old PHP versions.

Well they can stick around with their current version. We should not be required to support outdated versions, because this might block further development. All the new language feature can not be used.

If possible, could you submit PR for resolving this issue?

Version 4.0 have been released - it supports PHP >=7.4 and PHP 8.
If you need support for PHP <7.4 you can stick with version 3.x but it will only be supported until end-of-life of PHP 7.3 (end of 2021).


[Fix #6945] Drop support for Ruby 2.2

Fixes #6945.
This is a big change. The major changes are split into commits and left in the message. Notable changes to users are:
Drop support for Ruby 2.2
By convention, a year after Ruby became an EOL, it seems that the old Ruby version support has been dropped. I'm not sure if it's good to drop Ruby 2.3 support, but it's good time to drop Ruby 2.2 support.
Set default EnforcedStyle to squiggly option for Layout/IndentHeredoc and auto_detection option is removed
Because we no longer use Ruby 2.2, the original default auto_detection  option is never used. Makes squiggly option enabled in Ruby 2.3 or higher a new default.
Set default EnforcedStyle to always option for Style/FrozenStringLiteralComment and when_needed option is removed
Because we no longer use Ruby 2.2, the original default when_needed  option is never used. Makes always option enabled in Ruby 2.3 or higher a new default.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Seems something's wrong with JRuby.

JRuby has a squiggly heredoc feature incompatibility with MRI. I updated it to pass the tests.

Fantastic work! 🙇

JRuby has a squiggly heredoc feature incompatibility with MRI. I updated it to pass the tests.

Incompatible in which way?

Incompatibility have arisen in squiggly heredoc that use single quotes.
# example.rb
source = <<~'RUBY'
  def say
    puts 'hello'
  end
RUBY

puts source

ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin17]
% ruby example.rb
def say
  puts 'hello'
end

JRuby jruby <IP_ADDRESS> (2.5.3) 2019-04-09 8a269e3
% ruby example.rb
def say
puts 'hello'
end

It may be related to the following issue.
https://github.com/jruby/jruby/issues/4260
As a result, RuboCop has not replaced the following test code with squiggly heredoc.
expect_offense(<<-'RUBY'.strip_indent)


Pc suppliers fo real

Defines real-live Suppliers and their concomitant Contact Information.

Models and JSON validation schemas defined for Suppliers and ContactInformation
PUT Route (/suppliers/{id}) creates a Supplier + (potentially multiple) ContactInformation(s) in the database

Notes:

Settled on [PUT]ting with the id in the route instead of [POST]ing Suppliers because we already know their eventual location.  Discussed it with @TheDoubleK, and also read about it on StackOverflow.

Removed the unique constraints for the duns_number and e_sourcing_id in the Supplier Model.  @TheDoubleK suggested that it shouldn't be the responsibility of our app to enforce correct supplementary Id values.  If a Supplier gives us incorrect information, we should just accept it.

null values are not being returned in GET JSON response.

Similarly, Supplier duns_numbers and e_sourcing_ids are not returned in the GET response.

Finally, I also cleaned up the regex in the is_valid_service_id method in app/validation.py
I think it makes the logic more understandable.

Could some of the commits be squashed?

Squashed a bunch of commits together all by myself with no help from @allait!

Incorporated changes suggested by @TheDoubleK:

Import supplier route using json_has_matching_id method
Migration files have been merged into one which has been (re)named more meaningfully
TODOs in import_suppliers.py dealt with
400 responses check for the right error messages.


Some suggested inclusions and updates

Referencing: https://github.com/RitikPatni/Front-End-Web-Development-Resources/issues/44

@AlMilne please resolve the Conflicts and commit again


feat: Add Kinesis, CloudWatch Logs and Network Firewall Controllers

What does this PR do?
🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation

Resolves #73

More

[x] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[x] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

This PR closes issues #66, #73, and #64.


Replace custom async file system wrapper with NIOFileSystem

We currently have our own, not necessarily well-tested or valid implementation of async file system APIs in https://github.com/apple/swift-sdk-generator/tree/main/Sources/GeneratorEngine/FileSystem. With NIOFileSystem now available in SwiftNIO 2.63, we should use that instead.

Hi, I was wondering if I could work on this?
As I was poking around I noticed that running ./Utilities/soundness.sh on main fails for UnixName.swift
=> Checking license headers...
   * swift-or-c... missing headers in file './Sources/SwiftSDKGenerator/SystemUtils/UnixName.swift'!
--- /dev/fd/63  2024-08-03 15:39:55
+++ /tmp/.swift-package-manager-soundness_nooVYa        2024-08-03 15:39:55

Also this is my first time using swiftformat but when running swiftformat . on main, 35 files are reformatted.
➜  swift-sdk-generator git:(main) swiftformat .
Running SwiftFormat...
Reading config file at .../swift-sdk-generator/.swiftformat
warning: --varattributes option is deprecated. Use with `--storedvarattrs` or `--computedvarattrs` instead.
SwiftFormat completed in 0.46s.
34/60 files formatted.

Yes, as this is an issue marked as "good first issue" and is unassigned, it's free for anyone for anyone to work on.
Feel free to fix soundness and formatting issues, but those should be submitted as separate PRs so that those changes don't pollute other PRs one may submit as part of their work.

It won't change the status quo WRT Window support, as Swift SDK Generator already depends on SwiftNIO.

Ah, that's rather unfortunate.

Could the new Foundation help with the NIO dependency? Though it doesn't look like SubProcess has made it in yet.
https://github.com/apple/swift-foundation/pull/439

No, it won't help since relevant Foundation APIs are not async.


Couch potato

Loading seems to be random, sometime it takes like forever. Not sure if it's a htpc manager issue. Check if this happens on others platforms aswell
Check vs https://github.com/RuudBurger/CouchPotatoServer/issues/4337

I have checked 6 days in a row, its always working. Gonna keep checking for errors.

Work fine here. Alltho is is slow if you have added your entire lib.


Production build with AoT throws error - Error encountered resolving symbol values statically

When trying production build with AoT in Angular CLI, it throws the below error:
ERROR in Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol IcDatepickerModule in /node_modules/ic-datepicker/dist/src/ic-datepicker.module.d.ts, resolving symbol IcDatepickerModule in /node_modules/ic-datepicker/dist/src/ic-datepicker.module.d.ts

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '\src'
 @ ./src/main.ts 4:0-74
 @ multi ./src/main.ts

I have imported the IcDatepickerModule module like this in my module:
import { IcDatepickerModule } from 'ic-datepicker/dist';
If I update the import to the following:
import { IcDatepickerModule } from 'ic-datepicker';
and delete all contents of node_modules\ic-datepicker
and then copy paste the contents of node_modules\ic-datepicker\dist in node_modules\ic-datepicker. It works. Can you please have a look?

I'm looking into the build issues now but it's going to take some research from my side - is this not a duplicate of #3?

Yes indeed, I am sorry I just realized.


Always use cmd.exe on Windows

This should be the fix for the broken plugin in our Windows VM. The underlying problem is/was that PowerShell is not the default "shell" in the Windows VM we use. By default, the standard command prompt from Windows is used (which is not able to handle ampersand operator). At this point, I don't think we can continue to rely on this assumption (PowerShell being the default) any longer. Otherwise, students might run into this problem on their machines as well. For that reason, I'm simply forcing the use of cmd.exe if we can't determine the default shell.
I'm also using the default terminal profile (terminal.integrated.defaultProfile.windows) to determine if the default shell is PowerShell. The old setting terminal.integrated.shell is deprecated (or maybe removed entirely). But leaving it in doesn't hurt... What might still go wrong is the detection of the default terminal profile. If someone's default profile has "powershell" in its name despite not using PowerShell in that profile (or vice versa), we have an incorrect detection again. But I suppose that this is rather unlikely. And trying to extract the actual path of the executable out of the profile seemed like too much work for the benefit we get out of it.
I tested this fix on the Windows VM where the plugin broke and everything seems to work again, as expected. I also tested this on my personal Windows installation and it seems to work there as well. Maybe you want to test this on another Windows machine, just to be sure?

I changed the shell invocation on Windows to always use cmd.exe, as discussed this morning. I tested this fix on both the Windows VM and my own local Windows instance and everything still seems to work.


Same account launched from different device.

I'm trying to use V1.10 on a different PC but it says same account launched from different device.

Did you try to join immediately on a new device after leaving the game?

No. I realized it was just this one game.

That happened to me the first time I was testing it, it was temporary and went away after I joined a different game. To this day I don't know the precise cause.

No, it happens every time i join the Realistic Forest Demo.

Have you tried restarting your pc? It's worth a shot.
And maybe go into roblox's settings > Security, and click this button:

I have never gave away ANYTHING that gives ppl access to my acc, also i dont have access to the pc right now. My parents were letting me use their pc.

I have never gave away ANYTHING that gives ppl access to my acc

I haven't either, though it could be something on roblox's end making it think you're still in a game, which is why I suggested that it could be a step in the right direction.

Probabaly, i didn't have my roblox running on any other devices. I made sure to close out roblox on my main computer (thats like 2 years old)

This sometimes happens when you have a "ghost" RobloxPlayerBeta.exe process still running in the background, try typing the following command in RUN (Win+R) and try again
taskkill /f /im RobloxPlayerBeta.exe

This may happen when there is a newer version of Roblox and it is not saying "This is an older version of Roblox"

Woah, this was happened to me. I actually reinstalled Actual ROBLOX since ROBLOX thinks Custom Launcher is older version of ROBLOX. lolmanurfunny hasn't working on this launcher, So ROBLOX thinks custom Launcher is older version! I've been using my Computer since 2013-2014, and joined ROBLOX since 2017.

This may happen when there is a newer version of Roblox and it is not saying "This is an older version of Roblox"

:star:

happened to me but ONE THIS one specific game, every other game works fine except the kool zone

lolmanurfunny hasn't working on this launcher, So ROBLOX thinks custom Launcher is older version!

That is inaccurate. The launcher is not 1:1 with roblox's updates. Since CL-v1.0.0 I have not made any major alterations to the python script.

When updating the client, perhaps because you have to reinstall it cause the update functionality gets removed, joining the same game that prompted the "Roblox version out of date" message before updating throws this error, and any other games work
Then again, I'm using a custom made batch script to automatically download and run the latest version of the installer (according to the zflag endpoint that this thing uses), so this just be my issue, can anyone reproduce?

@zachariapopcorn Can you send me the batch script?

@zachariapopcorn
https://user-images.githubusercontent.com/81264672/197372058-fc262db6-576b-4dea-bb33-176aa969a4a9.mp4
^^, because you wont send the batch script

https://user-images.githubusercontent.com/81264672/197372091-48739b7a-c335-4eed-bacd-727bdbdea318.mp4

When updating the client, perhaps because you have to reinstall it cause the update functionality gets removed, joining the same game that prompted the "Roblox version out of date" message before updating throws this error, and any other games work
Then again, I'm using a custom made batch script to automatically download and run the latest version of the installer (according to the zflag endpoint that this thing uses), so this just be my issue, can anyone reproduce?

 Aren't you the same dumbass that thought this was patched and ran it as admin and thought it wasn't their fault?
 Aren't you the same dumbass that thought this was patched and ran
it as admin and thought it wasn't their fault?
You are receiving this because you commented.Message ID:
@.***
com>

@Bloxxness I will not tolerate being called cap by a script kiddie who I refused to spoon feed. He needs to learn that he can't ask people for code and get it 100% of the time, and if he doesn't get the code, he needs to learn to just deal with it. He may as well learn that now


Feat notification websocket

Also implements

When a notification rule is created it should be added to the store and connect to the websocket
Little red dot for new notifications


Updating to v0.10.3

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Updating to 0.10.3

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11442809167.


Restricts users permissions

Restricts users from modifying/deleting/unpublishing articles that are not their own.

Fixes #111


[darwin-framework-tool] Interactive Mode/OTA Provider: QueryImage command is not implemented on darwin-framework-tool

Testing darwin-framework-tool in interactive mode, to test our OTA Provider implementation. It looks like when the accessory sends a QueryImage command to the darwin-framework-tool we drop it on the floor due to no command being found:
[1655424009368] [81158:22086575] CHIP: [EM] Received message of type 0x8 with protocolId (0, 1) and MessageCounter:12565949 on exchange 39495r
[1655424009368] [81158:22086575] CHIP: [EM] Handling via exchange: 39495r, Delegate: 0x11020c8e0
[1655424009368] [81158:22086575] CHIP: [DMG] InvokeRequestMessage =
[1655424009368] [81158:22086575] CHIP: [DMG] {
[1655424009368] [81158:22086575] CHIP: [DMG] 	suppressResponse = false,
[1655424009368] [81158:22086575] CHIP: [DMG] 	timedRequest = false,
[1655424009368] [81158:22086575] CHIP: [DMG] 	InvokeRequests =
[1655424009368] [81158:22086575] CHIP: [DMG] 	[
[1655424009368] [81158:22086575] CHIP: [DMG] 		CommandDataIB =
[1655424009368] [81158:22086575] CHIP: [DMG] 		{
[1655424009368] [81158:22086575] CHIP: [DMG] 			CommandPathIB =
[1655424009368] [81158:22086575] CHIP: [DMG] 			{
[1655424009368] [81158:22086575] CHIP: [DMG] 				EndpointId = 0x0,
[1655424009368] [81158:22086575] CHIP: [DMG] 				ClusterId = 0x29,
[1655424009368] [81158:22086575] CHIP: [DMG] 				CommandId = 0x0,
[1655424009368] [81158:22086575] CHIP: [DMG] 			},
[1655424009368] [81158:22086575] CHIP: [DMG]
[1655424009368] [81158:22086575] CHIP: [DMG] 			CommandFields =
[1655424009368] [81158:22086575] CHIP: [DMG] 			{
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x0 = 65521,
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x1 = 32773,
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x2 = 0,
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x3 = [
[1655424009368] [81158:22086575] CHIP: [DMG] 						0,
[1655424009368] [81158:22086575] CHIP: [DMG] 				],
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x4 = 0,
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x5 = "XX",
[1655424009368] [81158:22086575] CHIP: [DMG] 				0x6 = false,
[1655424009368] [81158:22086575] CHIP: [DMG] 			},
[1655424009368] [81158:22086575] CHIP: [DMG] 		},
[1655424009368] [81158:22086575] CHIP: [DMG]
[1655424009368] [81158:22086575] CHIP: [DMG] 	],
[1655424009368] [81158:22086575] CHIP: [DMG]
[1655424009368] [81158:22086575] CHIP: [DMG] 	InteractionModelRevision = 1
[1655424009368] [81158:22086575] CHIP: [DMG] },
[1655424009368] [81158:22086575] CHIP: [DMG] No command 0x0000_0000 in Cluster 0x0000_0029 on Endpoint 0x0

Steps to reproduce:

Use darwin-framework-tool to commission the device to the same fabric.
Use darwin-framework-tool to write the default ota provider to the device. Example: ./darwin-framework-tool otasoftwareupdaterequestor write default-ota-providers  '[{"fabricIndex": 1, "providerNodeID": "0x195DD004278F56C2", "endpoint": 0}]' 0x000000000001267B 0
Launch darwin-framework-tool interactive mode.
In interactive mode announce ota-provider. Example otasoftwareupdaterequestor announce-ota-provider 0x195DD004278F56C2 0 0 0 0x000000000001267B 0
Monitor logs, query image appears to come into the darwin-framework-tool, but does nothing.

Seems like receiving the QueryImage command is the first bit of testing OTA provider for a few tests, blocking TC-SU-3.1 through TC-SU-3.4. Looks like there may be additional support needed to handle ApplyUpdateRequest command, NotifyUpdateApplied command, and transferring some sort of "FW Update" file.

No command 0x0000_0000 in Cluster 0x0000_0029 on Endpoint 0x0

That's not right....  Created https://github.com/project-chip/connectedhomeip/pull/19705 to fix the obvious issues there.  With those changes, this lands at:
[1655439413204] [8012:13397990] CHIP: [ZCL] No OTAProviderDelegate set for ep:0

so at least the dispatch plumbing works right to get there.


Rubocop: disable Lint/RescueException

This cop tries to stop rescue Exception. This is generally a good idea in regular Ruby code, but we actually need this pretty often in the specs. Disable it to get it out of the way in this repo.
This is a reaction to #1210, where some extra offenses for this cop are introduced.

Fully agreed, thanks!


tflite model can not inference when use tensorflow op

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
ubuntu 18.04
TensorFlow installed from (source or binary):
source
TensorFlow version (use command below):
2.4.0
Python version:
3.6.0
Bazel version (if compiling from source):
3.1.-

when I convert a tf model to tflite and use tensorflow op with
     converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
                                          tf.lite.OpsSet.SELECT_TF_OPS]
     converter.allow_custom_ops = True

and I managed to get the tflite file, now I want to use the TFlite model for inference.
I add "//tensorflow/lite/delegates/flex:delegate" in tflite_cc_shared_object deps, and rebuild tenosrflowlite lib:
bazel build --config=monolithic --define=with_select_tf_ops=true -c opt //tensorflow/lite:libtensorflowlite.so

and I copy libtensorflowlite.so to /usr/lib.
then, Inference program was compiled using g++, the compilation was successful, an executable program TFlite was generated,I use the ldd command to view the libraries used by tflite:
	linux-vdso.so.1 (0x00007ffe09fb1000)
	libtensorflowlite.so => /usr/lib/libtensorflowlite.so (0x00007f4017d84000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f40179fb000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f40177e3000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f40173f2000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4017054000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4016e4e000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4016c46000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4016a27000)
	/lib64/ld-linux-x86-64.so.2 (0x000055b71a930000)

I executed the tflite executable：
./tflite

but I get error:
ERROR: Op builtin_code out of range: 129. Are you using old TFLite binary with newer model?
ERROR: Registration failed.

Segmentation fault (core dumped)

Which step went wrong?

@thaink @ravikyram @abattery  who can help me？Am I doing the right thing？

@thaink @ravikyram @abattery  who can help me？Am I doing the right thing？

You need to build your binary with TFLite build with the same or newer version of the TensorFlow that were used for the converter. I doubt that your TFLite model is converted by the tf-nightly but your inference program is based on the 2.4.0 verison.

You need to build your binary with TFLite build with the same or newer version of the TensorFlow that were used for the converter. I doubt that your TFLite model is converted by the tf-nightly but your inference program is based on the 2.4.0 verison.

Hi @zhaohb ! Have you checked with above comment ? Thanks!

@mohantym reply was late，I did not verify it. I changed to other way to inference.


Create zip

added custom archiving script
added archive to release
setup archive to have auto-generated manifest and offsets
archiving script only triggers on ubuntu/linux distros and only after firmware build is finished

Note: Do to how the script is currently setup people will no longer be able to build openiris on linux machines

This needs to be fixed - i am not sure how to approach it.

Warning: I discovered a bug today - not sure how to fix it. The script is bundling the main.cpp.o file instead of the firmware binary

Initial review done, just some small tweaks, not major or breaking. I can help debug why the bugs you've mentioned are happening - users not being able to compile it on linux and that main.cpp.o file being packed in, instead of the bin file.
Though, it looks like it builds properly in CI and includes all the bin files, though I did not take a closer look at them yet

I fixed the bin bundling issue - only thing left is to fix the issue with users on Linux not being able to build - we need to find a better way to detect if we are building in CI mode or a user is building it. Right now, I am just detecting the OS since we only build on Ubuntu and 99% of our users build on windows.

we need to find a better way to detect if we are building in CI mode or a user is building it. Right now, I am just detecting the OS since we only build on Ubuntu and 99% of our users build on windows.

Ah, gotcha. One way I can think of,  would be to set an environment variable. So, instead of detecting the os, we could be checking if os.getenv("openIris_ci_build", False) is set, and if so proceed with the command, otherwise just proceed as normal
what do you think?

🤔 Yeah, that's a solid idea. I like it.

@lorow i have cleaned up the script per your suggestions- and have added environment variable detection. Tested build locally and on gh - works great. No bugs that i can see :)


FBTC deeplink.

-When coming back from the FBTC deeplink, the background screen should be the funding sources page.

-Not able to see the funding source page.

@antuz123 this not relevant anymore as we don’t have a funding sources page. I think this should be closed.


Fix broken link to Python smart contracts examples

Thanks for the contribution! It's already been fixed by another PR, but please open another PR again if you see anything to update 👍


issue 12: copy the state before dispatching it to subscribers

Solves issue #12.
TDD driven.

have been tested in real case and work well in main Groupon app

Fixed in #15


DetoxCircus tests are not accepting permissions

Description
A clear and concise description of what the bug is.

[x] I have tested this issue on the latest Detox release and it still reproduces

Reproduction
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.

Using react native 62.2, tests won't run on my iOS device because the permissions are not automatically accepted, even though I am passing them (see code paste below). Tests them timeout
When I run the same tests using a jasmine config, permissions are accepted and the tests work fine

my init.js for jest circus
const detox = require("detox")
const adapter = require("detox/runners/jest/adapter")
const specReporter = require("detox/runners/jest/specReporter")
const assignReporter = require("detox/runners/jest/assignReporter")

const config = require("./config.json")

// Set the default timeout
jest.setTimeout(60000)

// console.log({dto: detoxCircus.getEnv()})

// eslint-disable-next-line
detoxCircus.getEnv().addEventsListener(adapter)
// eslint-disable-next-line
detoxCircus.getEnv().addEventsListener(specReporter)
// eslint-disable-next-line
detoxCircus.getEnv().addEventsListener(assignReporter)

beforeAll(async () => {
    await detox.init({ config, launchApp: false })
    await device.launchApp({
        launchArgs: { detoxPrintBusyIdleResources: "YES" },
        permissions: {
            notifications: "YES",
            camera: "YES",
            medialibrary: "YES",
            photos: "YES",
            microphone: "YES"
        }
    })
}, 60000)

beforeEach(async () => {
    await adapter.beforeEach()
})

afterAll(async () => {
    await adapter.afterAll()
    await detox.cleanup()
})

my init-jasmine.js
const detox = require("detox")
const adapter = require("detox/runners/jest/adapter")
const specReporter = require("detox/runners/jest/specReporter")
const assignReporter = require("detox/runners/jest/assignReporter")

const config = require("./config-jasmine.json")

// eslint-disable-next-line
jasmine.getEnv().addReporter(adapter)

// This takes care of generating status logs on a per-spec basis. By default, jest only reports at file-level.
// This is strictly optional.
// eslint-disable-next-line
jasmine.getEnv().addReporter(specReporter)

// This will post which device has assigned to run a suite, which can be useful in a multiple-worker tests run.
// This is strictly optional.
// eslint-disable-next-line
jasmine.getEnv().addReporter(assignReporter)

// Set the default timeout
jest.setTimeout(90000)

beforeAll(async () => {
    console.log("DETOX init start")
    await detox.init(config, { launchApp: false })

    console.log("DETOX init end")

    console.log("DETOX launchApp start")

    await device.launchApp({
        newInstance: true,
        launchArgs: { detoxPrintBusyIdleResources: "YES" },
        permissions: {
            notifications: "YES",
            camera: "YES",
            medialibrary: "YES",
            photos: "YES",
            microphone: "YES"
        }
    })
    console.log("DETOX launchApp end")
}, 30000)

beforeEach(async () => {
    try {
        await adapter.beforeEach()
    } catch (err) {
        await detox.cleanup()
        throw err
    }
})

afterAll(async () => {
    await adapter.afterAll()
    await detox.cleanup()
})

Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

Detox: 16.7.2
React Native: 62.2
Node: 12+
Device: iphone 11 pro max simulator
Xcode: latest
iOS: latest
macOS: latest

If you are experiencing a timeout in your test

[x] I have followed the instructions under Lower-level Idling Resources Debug and am providing the log below:

I'm pretty sure your issue is  that the config is inside the options object
await detox.init({ config, launchApp: false })
it should be
await detox.init(config, {launchApp: false })

@misoares  thank you!! that fixed this.


Whisper API endpoint and key. Groq, ollama and other custom providers

What is the issue?

Unable to set API key for groq whisper (only text supported by plugin)

Error that shows up:

Error in text:
Gp.nvim: Whisper query, no text:
'{"error":{"message":"Invalid API Key","type":"invalid_request_error","code":"invalid_api_key"}}\n'

Relevant resources:

Groq Speech-text API

My config for reference:
local OPENAI_KEY = env.OPENAI_KEY
local GROQ_KEY = env.GROQ_KEY
local OPENAI_HOST = "https://api.openai.com/v1/chat/completions"
local GROQ_HOST = "https://api.groq.com/openai/v1/chat/completions"
local GROQ_AUDIO = "https://api.groq.com/openai/v1/audio/transcriptions"

local config = {
  providers = {
    openai = {
      disable = false,
      endpoint = OPENAI_HOST,
      secret = OPENAI_KEY,
    },
    groq = {
      disable = false,
      endpoint = GROQ_HOST,
      secret = GROQ_KEY,
    },
  },

  chat_shortcut_respond = { modes = { "n", "i", "v", "x" }, shortcut = "<C-g><cr>" },
  chat_confirm_delete = false,

  -- prefix for all commands
  cmd_prefix = "Gp",

  default_chat_agent = "GroqLLAMA_8B",
  whisper = {
    -- -- TODO: In the future, when gpnvim will support whisper options
    endpoint = GROQ_AUDIO,
    secret = GROQ_KEY,
  },

  agents = {
    {
      provider = "openai",
      name = "ChatGPT4o",
      chat = false,
      command = true,
      -- string with model name or table with model name and parameters
      model = { model = "gpt-4o", temperature = 0.8, top_p = 1 },
      -- system prompt (use this to specify the persona/role of the AI)
      system_prompt = "You are an AI working as a code editor.\n\n"
        .. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n"
        .. "START AND END YOUR ANSWER WITH:\n\n```",
    },
    {
      provider = "openai",
      name = "ChatGPT4o-mini",
      chat = true,
      command = true,
      -- string with model name or table with model name and parameters
      model = { model = "gpt-4o-mini", temperature = 0.8, top_p = 1 },
      -- system prompt (use this to specify the persona/role of the AI)
      system_prompt = "You are an AI working as a code editor.\n\n"
        .. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n"
        .. "START AND END YOUR ANSWER WITH:\n\n```",
    },
    {
      provider = "groq",
      name = "GroqLLAMA_8B",
      chat = true,
      command = true,
      -- string with model name or table with model name and parameters
      model = { model = "llama-3.1-70b-versatile", temperature = 0.8, top_p = 1 },
      system_prompt = "You are an AI helping the user with code and other tasks\n\n"
        .. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n",
    },
    {
      provider = "groq",
      name = "GroqLLAMA_8B",
      chat = true,
      command = true,
      -- string with model name or table with model name and parameters
      model = { model = "llama-3.2-11b-text-preview", temperature = 0.8, top_p = 1 },
      system_prompt = "Given a task or problem, please provide a concise and well-formatted solution or answer.\n\n"
        .. "Please keep your response within a code snippet, and avoid unnecessary commentary.\n",
    },
  },
}

Added a PR: https://github.com/Robitx/gp.nvim/pull/221 w.r.t. this issue. Please review and merge it


How to unbind 9

I want my mask contains only integers.  It looks like "(999) 999-99-99"
But the second symbol must be 9. Not 8, not 7...
I tried to print like this "(\999) 999-99-99", but it was useless.

just double escape (\\999) 999-99-99

i tried this too. But it's not workin.

@Sepaka22 ,
Have a look at http://jsfiddle.net/7jhzf6oh/

May be it's error only in yii2 widget?
http://www.yiiframework.com/doc-2.0/yii-widgets-maskedinput.html

@Sepaka22 ,
Possibly, maybe they need to update to a newer version if the inputmask.  I did some fixes for escaping chars in version 3.2

Yii uses 3.1.x. Is it compatible with 3.2?

Yep
Op vr 9 okt. 2015 om 12:58 schreef Alexander Makarov <
<EMAIL_ADDRESS>
Yii uses 3.1.x. Is it compatible with 3.2?
—
Reply to this email directly or view it on GitHub
https://github.com/RobinHerbots/jquery.inputmask/issues/1069#issuecomment-146833939
.

Updated. This issue should be closed, I guess.

@samdark ,
Ok thx


Access Policy / Client Association Management

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
I have a Pulumi project (i'll call it the Auth Server project) that's purpose is to set up Authorization Servers and their Access Policies on Okta. I then have multiple Pulumi projects, tied to various applications, that among other things, create an associated Okta client for that application.
My issue is, I cannot update the Auth Server Access Policy's "Assigned to clients" to include these newly created clients since that resource is owned by the Auth Server project. It doesn't seem correct to go back to the Auth Server project, and manually associate clients to the Access Policy (the chicken and the egg issue).
I'd want a way to create a Pulumi Resource that represents a single Access Policy / Client association, so that a newly created Client can be associated back to the appropriate Access Policy. Right now, this has to be done manually.

Hi @NArnott
I am not sure if this is supported in the Okta API / SDK - do you know if this is the case? Without support in the API / SDK, this is not something we are able to add
Paul

Hi @stack72,
The API is for an Access Policy, so changing just client assignments on that Policy object would require something closer to a PATCH operation, which the API doesn't appear to support at this point, sadly.

Ah sorry about that @NArnott - unfortunately, this is something we would need Okta to support before we do anything. I will tag this as awaiting-upstream and we can check back in on this
If you have a support contract with Okta then it may be worth you discussing your use-case with them to see if this is on their roadmap
Sorry for an answer that's not of much use to you :/
Paul


Remove obsolete doc workflows

Tickets addressed: N/A
Review: By commit
Merge strategy: Merge (no squash)

Description
This removes doc workflows for the old doc site since we no longer use them.
Future work
Will have a follow-up PR that builds and deploys the EDSL docs to pages on this repo.

@Mythicaeda Yeah I will open a PR for that as well in the near future


Add the endpoints to update 1 or many versions of the app or disable all +  Replacing all asserts for testing in the service tests layer + more tests + remove asserts

Motivation
https://issues.jboss.org/browse/AEROGEAR-8356
https://issues.jboss.org/browse/AEROGEAR-8611
https://issues.jboss.org/browse/AEROGEAR-8612
What

Disable all versions of an app.
Update 1 or many versions of the app
Replacing all asserts for testing in the service tests layer
Improve and increase the tests in the layers
Remove the AppPostgreSQLRepository and PostgreSQLRepositor interfaces from pkg/web/apps/apps_psql_repository.go since they are not needed. The NewPostgreSQLRepository func uses the generic Repository interface.
Remove the unuseful mock from apps_psql_repository since it is not used.

Why

To attend the UI/project actions requirements
To attend project definitions

How

adding endpoints
adding tests
adding service and repository layer implementations

Verification Steps

Verify if it passed in all tests
Verify that the % of tests was increased
Verify that the project is no longer using asserts
The unit-test are covering the points, however, please feel free to test it manually as follows.

Setup project and database to do the tests.

Following the steps described here in the README
Then after starting the server, you can create the mock database
Use can use the [seed] file to do it. See here

Check endpoint to update all versions by POSTMAN

Call the endpoint GET apps in order to get a valid id
Call the endpoint POST /apps/:id/versions/disable with a JSON with the version struct or empty as the following examples.

{"disabledMessage": "text"}

Check that all versions of the app with ID were updated with the message informed and with the disable as true.
The endpoint should return HTTP code 200

Check endpoint to update 1 or N versions by POSTMAN

Call the endpoint GET apps in order to get a valid id
Call the endpoint GET apps/:id to get the version struct
Call the endpoint PUT /apps/:id/versions with a JSON with the []versions ( list of versions ).

[
    {
        "id": "9bc87235-6bcb-40ab-993c-8722d86e2201",
        "disabled": true,
        "disabledMessage": "test message"
    },
    {
        "id": "f6fe70a3-8c99-429c-8c77-a2efa7d0b458",
        "disabled": true,
        "disabledMessage": "test message"
    }
]

Check that all versions sent in the JSON data were updated.
The endpoint should return HTTP code 200

Checklist:

[x] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[X] Finished task

Additional Notes

Coverage decreased (-3.7%) to 86.62% when pulling fac3fbd8c6feb7c379f1817e6154d831f7db3e54 on camilamacedo86:AEROGEAR-8356 into 1d8d2ecd3aae7ace5d39390544d0dc0f979cce17 on aerogear:master.

HI @davidffrench,
All is done here now. Please, could you check it and do a review?
@craicoverflow and @austincunningham I will appreciate a lot if you both are able to review ALL changes performed here as well.

HI @davidffrench,
All is done here now. Please, could you check it and do a review?
@craicoverflow and @austincunningham I will appreciate a lot if you both are able to review ALL changes performed here as well.

Hey @camilamacedo86 I won't be able to look at this immediately as I have my own task to finish but if I get a chance I will.

Hi @craicoverflow,
I agree with your suggestions. It was defined by @davidffrench so I will let it up to him.
Please, let us know if you find any you and/or you were able to verify.

POST /apps/:id/versions/batch-disable
Should this be a PUT? Also a small suggestion - I think you could just have "disable" instead of "batch-disable" as not including a version ID in the path implies that all versions will be disabled. So it would look like:
PUT /apps/:id/versions/disable

Since it is not following REST naming standards, the consensus online was to use a POST for these type of endpoints. I am also not overly comfortable with the name batch-disable or disable. If anyone has a better more generic name for it, i am happy to hear it.

@davidffrench I prefer to use "disable" as suggested by @craicoverflow . Since we have a no better name wdyt over move forward with this one and after if you would like it can be changed.

POST /apps/:id/versions/batch-disable
Should this be a PUT? Also a small suggestion - I think you could just have "disable" instead of "batch-disable" as not including a version ID in the path implies that all versions will be disabled. So it would look like:
PUT /apps/:id/versions/disable

Since it is not following REST naming standards, the consensus online was to use a POST for these type of endpoints. I am also not overly comfortable with the name batch-disable or disable. If anyone has a better more generic name for it, i am happy to hear it.

What do you dislike about "disable". How about "disable-all"?

POST /apps/:id/versions/batch-disable
Should this be a PUT? Also a small suggestion - I think you could just have "disable" instead of "batch-disable" as not including a version ID in the path implies that all versions will be disabled. So it would look like:
PUT /apps/:id/versions/disable

Since it is not following REST naming standards, the consensus online was to use a POST for these type of endpoints. I am also not overly comfortable with the name batch-disable or disable. If anyone has a better more generic name for it, i am happy to hear it.

@camilamacedo86 @craicoverflow disable is perfectly fine with me. Please proceed with this

@austincunningham, @davidffrench and @craicoverflow
Really thank you for your review :-)


Clear _children collection before setting new value

When setting a new value for Children property the property is expected to contain only elements that were set, no disposed ghosts from the past

Great find, thanks!


Multimodal emission probabilites?

Did you ever extend this package to include HDP priors for Gaussian Mixtures for the emission probabilities? I am trying to locate the acceptable probabilities for emission distributions, but can only find Gaussian.
Thanks

The distributions are mostly in pybasicbayes's distributions.py. To make a mixture that can be plugged into an HMM, you'd also want to use the MixtureDistribution class. Something like this:
from pybasicbayes.models import MixtureDistribution
from pybasicbayes.distributions import Gaussian

obs_distns = \
    [MixtureDistribution(
        alpha_0=5.,
        components=[Gaussian(**obs_hypparams) for _ in xrange(5)])
    for state in range(Nmax)]

By default those MixtureDistributions act like weak limit approximations to Dirichlet Process mixture models. If you want to make an HDP model (including multiple mixture models) you'll have to write the hierarchical prat yourself.
You can make mixtures of any of the distributions in pybasicbayes (and it's pretty easy to add new ones).


Added interactive installer package in pkg/installer

This patch introduces a new interactive installation mode for EVE-OS. It allows users to choose the installation parameters in a text-based interface, which is more user-friendly than editing grub.cfg.
We store the installation parameters in a JSON file (installer.json), which we can use for bulk installations with similar configurations.

Dear all, This is a huge PR; unfortunately, I could not do it in parts. Please commend me for any questions or concerns.

We cannot use GPL code in the installer, only permissive licenses compatible with Apache 2.0

@rene which package is GPL? FWIW we do use the large GPL things which everybody thinks is OK (Linux kernel and base Linux packages, and Xen) but we want to avoid any other GPL licences packages.

@eriknordmark , according to @jsfakian he left some comments from sample codes on the sources by mistake, so he cleaned up the code and we don't have this issue anymore.... @jsfakian , please, clarify if needed....

Note that GH is unable to handle a PR this size when it comes to adding comments on particular lines of code.

Dear all, This is a huge PR; unfortunately, I could not do it in parts. Please commend me for any questions or concerns.

Can't you do the vendor additions as a separate commit?
That would at least make it possible to review the diffs for the second commit with your non-vendor additions and modifications.

Given the separate work on configuring the network parameters, do we really want a subset or duplication in here? The key thing we are missing in the installer is selecting disks (by showing which disks are available) and any related ZFS options.
Also, I think this should document the format for the config file so that we can (later) add that as a PXE payload to drive installation parameters across the board.
And if this needs to include network parameters, then I think there should be a common local format for those parameters which can be used by this interactive installer and by the interactive observability and configuration tool. But I actually don't think we need network configuration in the installer until we add the config file as a PXE payload - selecting the disk config and then later selecting (and testing) the network config using the observability tool should be fine when it is done interactively.

I will remove the code then until we need it.

Dear all, This is a huge PR; unfortunately, I could not do it in parts. Please commend me for any questions or concerns.

Can't you do the vendor additions as a separate commit? That would at least make it possible to review the diffs for the second commit with your non-vendor additions and modifications.

I did it, I hope it helps.

@eriknordmark, @deitch, @rene, @rucoder, I think I covered most (if not all) of the comments. Should we merge, or do we need more changes?

I added some comments, so I will sum up here.

README: thank you for updating with how it works. It needs a bit more, primarily anything that isn't clearly obvious, like how you got the vendored dependencies in place.
rust installation: can we avoid doing that explicitly here? This is the first, but not the last, to require rust; we don't want to create new technical debt where each package installs its own rust.
interactive installer on each boot: from what I read, the interactive installer will run on each boot of installed EVE, not just installer EVE. I don't think we want that, I think we want it solely on the installer image. But correct me.

Thank you @deitch.

I will update the README with more information.
I tried to add rust in Alpine as a package, but it installs an old version (for Alpine 3.16), which has issues with compiling. If we upgrade to Alpine 3.20, it will be fine. So, I can either do it when we upgrade or try once more with Alpine 3.16 to see if I can make it work.
For the interactive installer on each boot, we do not need it anymore, because we will not have maintenance mode. I am going to need some help here. I think you (@deitch) did a similar task for @rene, can you help me?

@jsfakian, is this PR still in progress? If so, should we mark it as WIP and convert it to a draft?

@jsfakian, is this PR still in progress? If so, should we mark it as WIP and convert it to a draft?

Hey @OhmSpectator, this PR is still in progress. @deitch is finishing up the separation of the installer and live image. We are debugging now. When it is finished, I will change this PR according to @deitch's PR. We don't need to change anything, IHMO.

We don't need to change anything, IHMO

Actually, I hope it will become much simpler. It will be entirely self-container in pkg/installer as a single container, making it easier. That is my goal, anyways, to help out.

#4248 is in. You should be able to rebase on that one. But... you should not have to change anything except what is in pkg/installer. Everything outside of there should not need changes.
If you need to change how make-raw works, it might, but since you just call that, I wouldn't see why.

#4248 is in. You should be able to rebase on that one. But... you should not have to change anything except what is in pkg/installer. Everything outside of there should not need changes.
If you need to change how make-raw works, it might, but since you just call that, I wouldn't see why.

Thanks, @deitch. I merged my code in pkg/installer. There seems to be an issue with arm build, but I do not understand what it is.

There seems to be an issue with arm build, but I do not understand what it is.

It's the runners' problem. We should resolve it today.

This passed the eden tests. Are there outstanding review comments or is this ready to go?

This passed the eden tests. Are there outstanding review comments or is this ready to go?

It is ready to go.

@deitch @rene can you check your "changes requested" and clear those? I prefer that over me having to delete/ignore those review comments.

Thanks for the reminder @eriknordmark ; I commented.

Almost everything is ready to go. I have one unanswered question:

Final question is vendor.tar.gz. Is that to work around the fact that we have network: no in pkg/installer/build.yml? How big is this thing that we are committing to git?

Can you answer, please @jsfakian ?

Sorry, I forgot. It is 33MB

That grows the size of the repository on disk by ~5%, and the amount to download by 10%:
$ g clone https://github.com/lf-edge/eve.git
Cloning into 'eve'...
remote: Enumerating objects: 124047, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 124047 (delta 4), reused 10 (delta 4), pack-reused 124037 (from 1)
Receiving objects: 100% (124047/124047), 379.12 MiB | 34.38 MiB/s, done.
Resolving deltas: 100% (83305/83305), done.
Updating files: 100% (17094/17094), done.

$ du -s -h eve/
650M    eve/

Are we concerned about that? Should we be? @eriknordmark ?

That grows the size of the repository on disk by ~5%, and the amount to download by 10%:
$ g clone https://github.com/lf-edge/eve.git
Cloning into 'eve'...
remote: Enumerating objects: 124047, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 124047 (delta 4), reused 10 (delta 4), pack-reused 124037 (from 1)
Receiving objects: 100% (124047/124047), 379.12 MiB | 34.38 MiB/s, done.
Resolving deltas: 100% (83305/83305), done.
Updating files: 100% (17094/17094), done.

$ du -s -h eve/
650M    eve/

Are we concerned about that? Should we be? @eriknordmark ?

We could store it on a remote server and have the container download it instead.

remote server

I don't understand?
I guess this is all because of the network: no, so rust cannot just download things?

remote server

I don't understand?
I guess this is all because of the network: no, so rust cannot just download things?

What I mean is, setup an HTTP server, (e.g., http://centaur.med.uoc.gr/files), and add the following to the dockerfile:
# Add the vendor tar file
ADD http://centaur.med.uoc.gr/files/vendor.tar.gz /usr/local/my-installer/vendor.tar.gz
RUN tar xvf /usr/local/my-installer/vendor.tar.gz \
    && rm vendor.tar.gz

FWIW, pkg/pillar/vendor/ is 106MB:
$ du -s -h pkg/pillar/vendor/
106M    pkg/pillar/vendor/

I guess that this is not an issue with rust, it is an issue in general. We should solve it for this repo for rust, but it is no different than what we do for golang.
In that case, the 33MB should not stop us, if the vendor/ in all the others did not.
Question: can we avoid the ugly .tar.gz, and instead use vendoring, like we do with other languages? To keep it consistent and instinctively understood?

FWIW, pkg/pillar/vendor/ is 106MB:
$ du -s -h pkg/pillar/vendor/
106M    pkg/pillar/vendor/

I guess that this is not an issue with rust, it is an issue in general. We should solve it for this repo for rust, but it is no different than what we do for golang.
In that case, the 33MB should not stop us, if the vendor/ in all the others did not.
Question: can we avoid the ugly .tar.gz, and instead use vendoring, like we do with other languages? To keep it consistent and instinctively understood?
(oops, hit the "Comment" button accidentally; continuing)
There is a cargo vendor, could we use that?

It is 328MB uncompressed. I can do that if the size does not matter.

It is 328MB uncompressed. I can do that if the size does not matter.

Git does its own compression on transmission. I think 33MB matters and 328MB matters. Consistent approach matters more. But why is it so big?

@deitch though of a way to remove vendor.tar.gz and add vendor dir instead. So, we chose that approach for consistency.

Drat, that same yetus permissions issue. I think @yash-zededa had figured it out once before?

Getting spdx errors on all of the vendored files. Can you add pkg/installer/vendor/ to .spdxignore?

Yetus still is complaining, but it is not your PR, something broken about yetus. Once the rest are clean, we can run eden tests. Looks great to me.
@rene you still have changes requested. Can you review and either clarify them or approve?

Yetus still is complaining, but it is not your PR, something broken about yetus. Once the rest are clean, we can run eden tests. Looks great to me.
@rene you still have changes requested. Can you review and either clarify them or approve?

Yetus is probably complaining due to the vendor dir. Can we tell it to ignore it?

I thought it was a permissions error. Sure, if that is what it is, tell it to ignore it.

Kicking off Eden tests...

Do we really want to add vendor folder?

Either that or the whole thing is a tgz file. This is better.

The eden tests all passed.

Merged #4308 so this should be rebased on master.


Openssl is not as good as you think

Also the non-pseudo mode is not as secure as you might think (so IMHO a "high" level is too much):

[... The] OpenSSL docs deprecate RAND_pseudo_bytes, but I wondered what is the actual difference between pseudo and non-pseudo.

RAND_pseudo_bytes gets the default rand method which is going to be RAND_SSLeay unless you have an exotic setup
Pseudo or not the same function is called with a final parameter to indicate "pseudo"
pseudo is only referenced once within this function, to suppress an error message. The function returns 1 or 0.
PHP only checks for a negative return value. This can only happen if there is no pseudo-random implementation, or the pseudo-random method is exotic
Other bundled engines also behave this way - Basically, the only way to get a negative return and for PHP to cry about weak crypto is if the pseudorandom function isn't implemented, and you get NO bytes at all from OpenSSL.

https://github.com/paragonie/random_compat/issues/6#issuecomment-119564973
/cc @lt

In https://github.com/paragonie/RandomLib this is downgraded from High to Medium for this and related reasons.


pybullet.error: Not connected to physics server

I run the code
python ravens/demos.py  --assets_root=./ravens/environments/assets/ --disp=True --task=block-insertion --mode=test --n=100
When disp is True, the p.SHARED_MEMORY is True.
client = p.connect(p.SHARED_MEMORY if disp else p.DIRECT)
then run
`file_io = p.loadPlugin('fileIOPlugin', physicsClientId=client)
`
print  'pybullet.error: Not connected to physics server.' )
Something should I run first? Maybe other physics server.

Thanks for the catch. Swap for p.SHARED_MEMORY for p.GUI. We'll add a hotfix.
If you'd still like to run with shared memory, run python3 -m pybullet_utils.runServer& in a separate terminal window.

Now it look like great, thank you!


Improve Authelia logs

Currently Authelia logs are not very good as there is a lot of redundant information and the format is not very user-friendly.

Would also like a way to save logs to file.

That would indeed be a useful feature in some cases. I'll look into it @karan .


x-forwarded-for header is not shown on Envoy response

I want to add x-forwarded-for in the header .
I have a working EnvoyFilter.yaml
Here is my EnvoyFilter.yaml:
kind: EnvoyFilter
metadata:
  name: addheader-into-ingressgateway
  namespace: istio-system
spec:
  workloadSelector:
    # select by label in the same namespace
    labels:
      istio: ingressgateway
  configPatches:
    # The Envoy config you want to modify
    - applyTo: HTTP_FILTER
      match:
        context: GATEWAY
        listener:
          filterChain:
            filter:
              name: "envoy.http_connection_manager"
              subFilter:
                name: "envoy.router"
      patch:
        operation: INSERT_BEFORE
        value: # lua filter specification
          name: envoy.filters.http.lua
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
            inlineCode: |-
              function envoy_on_request(request_handle)
                  local xff_header = request_handle:headers():get("X-Forwarded-For")
                  local first_ip = string.gmatch(xff_header, "(%d+.%d+.%d+.%d+)")();
                  first_ip = string.gsub(first_ip, ",", "")
                  request_handle:headers():add("X-Custom-User-IP", first_ip);
                  request_handle:headers():add("X-Test-User-IP", "<IP_ADDRESS>");
                end

But when I use this configuration  the header "X-Custom-User-IP" response is not shown,Is there anything wrong?
Thank you!

Can istio directly add xff response headers? What is the method?

Please take a look at this: https://istio.io/latest/docs/ops/configuration/traffic-management/network-topologies/ thanks!

Is there further action here?

Thank you for the documentation link, it helped me. @bianpengyuan

@douglas-reid I originally wanted istio to return the response header xff. For this reason, I read a lot of documents and couldn't find a way, but now, I can pass the httbin response header through the above document.

Thanks!


Integrate with run mount mechanism to improve feature configuration abilities

Description
Similar to #345, this proposal seeks to integrate with the Dockerfile Spec's RUN --mount ability.  In this case, I'm proposing additionally exposing the ability to use bind mounts during container build, either fully configurable as in #345, or at minimum just mounting in the whole .devcontainer directory.
Motivation
I'm working on a project to create an Azure IoT device, and part of that includes setting up communication between the code under test and the IoT Hub.  For various testing reasons, it can be advantageous to perform all activities locally, cutting out the need for developers to register their computers with the actual Azure hub.  This is only possible because the remote hub is an MQTT/AMQP broker, so running a replacement broker in a second container is viable (in my case, Mosquitto).
The problem is that one of the things I want to test with my code is endpoint identity setup with certificate/chains, and for patently obvious reasons don't want to put a certificate into my code repository - I create them during container initialization, currently as a postCreateCommand shell script.
Unfortunately, this is actually too late in the process for the Mosquitto container (which accesses the certificates via a shared volume and fails to start because the certificates aren't created yet), and means that after initial devcontainer build the developer must restart their container.  Creating the certificates as a devcontainer-feature would (likely?  need to test) create them early enough, but I want to be able to generalize the solution for future projects (and likely make it public), so that means I need a way to configure the certificates/chains that get created (for example, by specifying an openssl.conf).  And while stuffing entire file contents into a string variable is possible, it's not very user-friendly....
Proposed Solution
At minimum, either default bind-mounting the .devcontainer directory or providing a toggle to do so would allow end-users to specify additional configuration files for cases like this.  Allowing features to be able to specify a build bind mount is also possible, but somewhat less interesting...
{
  "build": {
    "mounts": [
      {"type": "bind", "id": "devcontainer", "source": "${localWorkspaceFolder}", "target": "/some/path", "readonly": "true" }
    ]
  }
}

Verified via experimentation - creating the certificates via a feature does create them early enough.
The only problem is my volume mounting:

With a solitary image, I'd normally want the volume name to append devcontainerId so as not to interfere with other devcontainers.
With a compose distribution, I don't want it appended, because it ends up prepended with other disambiguating stuff when it gets shared with the other services.

... is there any way to control that during feature run?


No managed resources found

following the directions explicitly, I can go through all the motions of adding a workspace including sign in.  It installs, but shows 'No managed resources found" under the Work Resources heading.  Attempting to add the workspace again results in the error message; “You’re already subscribed to this workspace.” I can right click on the Workspace heading and refresh, but results again in "No managed resources found". I can click edit, and see it there. This is super frustrating!

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

ID: 0517ea6a-9417-31a8-39a5-f6128387fee5
Version Independent ID: 7636ec70-e1dd-8c6b-516c-8af324d9f645
Content: Get started with the macOS client
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-mac.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @Heidilohr
Microsoft Alias: helohr

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Ping: have the hability to customize hub/slot number

Related to #52 and  #68
connection closed: Error: Your DC++ tag is reporting less then 0 hubs or slots!

I will leave it open in case we can get a log from another pinger that passes the validation for this hub.

Good luck. New time I'll paste here hub addresses with details when they are concerned with this problem.
/me hoping it's not PtokaX

Now that redirect is implemented, seems this bug is fixed.
Here the details: (and here before the redirect: https://github.com/DCNF/Hublist/wiki/Session-of-May-1rst-2019#connection-closed-error-your-dc-tag-is-reporting-less-then-0-hubs-or-slots)
$ ./dcping ping 'dchub://dc.pashahub.ru:411'
{"name":"Pasha Hub","addr":["dchub://dc.pashahub.ru:411"],"soft":{"name":"verlihub","vers":"v0.9.9a","ext":["OpPlus","NoGetINFO","NoHello","UserIP2","HubINFO","ZPipe"]},"users":0,"redirect":"piter.feardc.net"}

I'm letting you closing the issue


File upload component causing confusion for Dragon users

Description of the issue
The file upload component looks like a button, but does not behave like a button. We have seen instances of Dragon users saying "click button", to which the upload component does not respond.
We have played around with the component, and adding role="button" fixes this particular issue, but the caveat is that we have not done enough testing to know if there are any adverse effects of doing this. Certainly not advocating for just putting this on without testing.
I guess the main argument against changing it, is that the GOVUK upload component just looks like the default upload component you would get if you don't have any CSS at all. So would changing the role actually make it more confusing if people have come across upload components before and have learned that although they look like a button, they don't behave like a button?
I'm wondering if anybody else has encountered this, whether it is a problem to fix, or whether it is a problem which is a hangup of default styling on a component which is outside of the scope of the Design System?

We've also found that Dragon's support for <input type="file"> is extremely poor.
The input element itself seems completely unresponsive - so on this page saying "Click choose file" will result in Dragon asking you to "please say that again". However, asking it to click the label text will activate the control and open the file picker - so if you say "Click upload a file" the picker will open.
Unfortunately you need to say the full text of the label, which is inconsistent with other input types. For example, on a 'First name' text input you'd be able to say "click first" and the input would get focus, but if you just say "click upload" on the file upload page nothing happens. This becomes more of a problem if you use visually hidden text within the label to provide contextual information to screen reader users (eg "Upload a file [for scan of your passport]", where the part in brackets is visually hidden), as Dragon won't activate the control unless you also say the part that's visually hidden.
We've found that Dragon will behave as expected if you add role="link" to the <label>, but it feels like a bit of a hack. We are using a custom file upload where the label is styled as a link, though, so I'm more comfortable doing it in our service than I would be in GOV.UK Frontend as it stands at the moment:

I've put together a CodePen showing the different behaviours: https://cdpn.io/matteason/debug/poWqjdR/yoMZEpdRGLZk
A couple of past issues with some disappointing responses from Nuance:
https://github.com/alphagov/reported-bugs/issues/35
https://github.com/alphagov/govuk-frontend/issues/2065
(Tested on Dragon Home <IP_ADDRESS>, Chrome 97.0.4692.71 with Dragon Web Extension <IP_ADDRESS>34 on Windows 10 Home)

Really interesting @matteason thanks for sharing!


Error on Vagrant up in Windows

Hello, I've been using Vagrantpress for all of the sites I develop. But I've recently come to a project where I have to put the local environment on a Windows PC. (Windows 7)
Vagrant installed with no errors.
VirtualBox installed with no errors.
Hostupdater is installed, BUT i had the define the plugin home directory. Following this answer: (http://stackoverflow.com/questions/26102156/unable-to-install-plugin-hostmanager-in-vagrant-in-windows-8-1)
Downloaded the directory, ran vagrant up, and then I'm hitting an error when downloading the actual box.
default: Downloading: http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box`
default:
An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.
Theres no actual error message after. Has anyone encountered anything like this before? Are there any specific steps I need to take for a Windows enviroment?

Resolved: I needed to download the Microsoft C++ 2010 redistributable
link: https://www.microsoft.com/en-us/download/details.aspx?id=8328


Split authorities.json into a file for each state

Description
We're about to populate authorities for every state's utilities in one
go, and that would make authorities.json unmanageably large. Since its
top-level key is already states, that makes it easy to split into one
file per state.
There's basically no downstream effect in the API server;
authorities.ts just recreates the same map that was previously in
the unified authorities.json. The scripts side is actually simplified
a bit.
The state key in a state's authorities is now optional, because we'll
be generating files with only a utility key.
https://app.asana.com/0/1206661332626418/1206882125337116
Test Plan
yarn lint and yarn test.
Followed the new-state process (running generate-utility-data and then
authority-and-program-updater) for CA to make sure it goes smoothly.

The changes in data are all mechanical; no need to look at them closely. I just ran this:
import fs from 'fs';

const authoritiesByState = JSON.parse(
  fs.readFileSync('data/authorities.json', 'utf-8'),
);

for (const [state, auths] of Object.entries(authoritiesByState)) {
  fs.writeFileSync(
    `data/${state}/authorities.json`,
    JSON.stringify(auths, null, 2) + '\n',
  );
}


Save files break when inserting new objects.

Save file breaks due to object index reordering, such as items, phones and battle fight panels.
Add a string to resource id mapping.
When saving save files, convert the resource id to string.
When loading save files, convert string to resource id.

Changing the fight target object flag to a string worked for me (I then used asset_get_index to convert the string into an asset)

There's two ways to approach this: let the user register the mapping manually or just use the object name.
Items might have a major redesign later, utilizing the new struct feature.

This should be fixed by GameMaker's update since resources are handle instead of real now If you string() it, it won't show a number as before (I can't confirm it since I replaced save file with object/room_get_name long time ago, so it needs to be confirm)

ref can still be change after you added new resources
so this issue still be a issue


Build fixes

This PR tries to fix distribution (after changes to pypi packaging ecosystem) similar to change made in https://github.com/GMOD/dash_jbrowse/pull/45/files (aided by https://github.com/hexylena!)

now runs testpypi on all PR


SyntaxError: Unexpected strict mode reserved word

🐛 Bug Report
The file https://github.com/facebook/jest/blob/7a64ede2163eba4ecc725f448cd92102cd8c14aa/packages/jest-runtime/src/index.ts#L431 defines module, which is not allowed in strict mode.
    SyntaxError: Unexpected strict mode reserved word

      at Runtime.loadEsmModule (node_modules/jest-runtime/build/index.js:577:24)
          at async Promise.all (index 0)
          at async Promise.all (index 2)

Hmm, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode says it shouldn't be an issue. Strange.


Fixing pet-store log-in issue

@cnapagoda I'm getting following log when starting the server.
WARN {org.wso2.carbon.security.caas.internal.config.StoreConfigBuilder} - Connector name is not available in the connector config file: /home/sajith/src/dev/uuf/carbon-uuf/product/target/wso2uuf-1.0.0-SNAPSHOT/conf/security/jdbc-connector.yml.


Remove chat client

Description

Remove chat client
This will save us maintenance effort in the long run, as we will no longer have to bump chat client with every core update etc.
Also, this completely disables chat UI and one would have to go out of their way, modifying source code just to see it. So now it is clearly deprecated/not for public use.
Finally, with the removal of chat client from init logic, we can reduce surface area for bugs and just focus on creating a great notify experience
Most of this code would probably be changed anyway so there is not much point keeping it around commented.
If need be, we can go back to this PR and look at the commits. Having commented code would just make it a hassle to navigate the actual code.

Type of change

[x] Chore
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Draft PR (breaking/non-breaking change which needs more work for having a proper functionality [Mark this PR as ready to review only when completely ready])
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Also nice context on the PR description 💯


Razor HTML Colorization Recognizing Invalid Keywords

Create an empty .razor/.cshtml file
Paste in:

    do string foo something const string you know
    what is going on?

Expected:

no coloring for do, const, going

Actual:

Thank you for your reported issue. We believe this issue is fixed in the latest Visual Studio 2022. If you'd like to try this tooling out you can download the latest VS 2022 and re-try your scenario.
If this issue has been closed and you're still encountering issues feel free to respond to still communicate via the issue and we'll re-open if needed.

@NTaylorMullen I tried out this one when moving it and it looks like it still repros in the new editor

It doesn't seem to repro 100% of the time though, weird

Here is my motivating example in #4462
sample text that is not highlighted if (true)

if (true) // this is highlighted as if it was syntax, but it's text
{

}
else
{

}

@if (true) // this is actually syntax
{

}
else
{

}

And the rendering in 17.4.0 Preview 2.1

@Tragetaschen - I know, right?  Spot the difference.  I actually don't have the little grey dashes displayed in my editor, so there is literally no difference between C# and not C# in my case.  Confuses me more times than I care to admit.

Curse you past Razor designers.. why is this allowed?

What would be so bad about requiring an @ in front of that do????


Accessibility issues - Collapsible

Description
Collapsible should toggle: aria-expanded="true" & aria-expanded="false" on both .collapsible-header and collapsible-body
Additionally, when expanding, focus should shift to .collapsible-body, which should additionally contain a tabindex="-1"  This ensure the body can receive programmatic focus.
On collapse, focus should return to the .collapsible-header, which should also have tabindex="-1"
Also I believe the entire .collapsible-header should be wrapped in an anchor tag with href=""
OR
it should simply be given role="button"

I also found out collapsible & collapsible-accordion does not respond to a keyboard command. I can't press enter to open a collapsible-accordion.


Some URLs not redirected to https

URLs like http://www.ampbyexample.com/samples_templates/live_blog/ are not redirected to their https equivalent:
$ curl -s -D - http://www.ampbyexample.com/samples_templates/live_blog/ | head -1
HTTP/1.1 200 OK
$ curl -s -D - http://www.ampbyexample.com/ | head -1
HTTP/1.1 301 Moved Permanently

Good point.


EDM-417: Centralize API consts

This PR moves several constants defined across internal packages into the API package to as a prep work for PR #668. This is mainly to break import cycles, but arguably these consts are anyway part of the API definition.

Lint!!! :)


original doesn't work?

Hello, I'm getting an error like this, am I doing something wrong?

Have you tried adding height to the options?

Try this:
`

Title

I've updated an example in Readme.md


Issue with form entries (autocomplete) since new release

The autocomplete form entries in the new release are working less good than they were before:

When typing one concept and then wanting to add another, you have to first delete the typed word to get to a new one. Because other than before, when a word is selected the text does not get deleted, see below:

I would like to see that back to concept selected -> text deleted. So you can easily move on to the next concept.

To delete one that you entered by mistake is a bit annoying as well. For example the image below, I will have to enter something close to "land alliance" again, to be able to untick one of these in the list.

I would like to see that back to how it was before, that you can simply click on the name (or hit backspace) to delete an entry that wasn't needed after all.

see also #207 , will try to address this quickly. In the meantime I already have make 2 small adjustments to make it less worth.
closing this ticket, follow-up on #207


#313 Add acme-client module

I have created a new module named acme-client, which will be used for automated certificate management.
RFC DOC

Codecov Report

Merging #569 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #569      +/-   ##
============================================
+ Coverage     50.12%   50.14%   +0.01%
- Complexity     1922     1923       +1
============================================
  Files           266      266
  Lines         11579    11579
  Branches       1647     1647
============================================
+ Hits           5804     5806       +2
+ Misses         5095     5094       -1
+ Partials        680      679       -1

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/com/networknt/utility/HashUtil.java
63.33% <0%> (+3.33%)
11% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Add code coverage to spot untested section

We added quite some code in a rush without tests. Adding code coverage should help detecting what we missed

Done in #41


feat: log parser handling events without an end

Is your feature request related to a problem?
Some events do not seem to have an exit but do take up time I would like to see them reflect on the timeline
An example here would be WF_APPROVAL_SUBMIT events  and basically any event within the code unit workflow
Describe the solution you'd like
I know this might be tricky and it would be great to get SF to add an end however the next best would be to use the next event along as the end time. e,g for a WF_APPROVAL_SUBMIT event the next WF_APPROVAL_SUBMIT might be the end stamp.

Duplicate of #211


Update to point to fork for sample apps.

Checklist

[ ] I've read and followed the Contribution Guidelines
[ ] step.yml and README.md is updated with the changes (if needed)

Version

Requires a MAJOR/MINOR/PATCH version update
Context

Changes

Investigation details

Decisions

This was a draft PR to test the build hence closing it since the build is passing.


docs/user-guide: add lazy-loading.md

Just getting this started and creating a draft PR if anyone has input on what they'd like mentioned.

Marking as ready.. curious if there's anything else other's want added.

Do you have any goals in mind before you undraft?
My preference would be to get an initial version of this guide merged soon and then make improvements to it iteratively.
Thanks for working on this, it's looking amazing! 🚀

Thanks, I realized I had been letting it draft too long so I undrafted it just before your review. :P

@mergify queue


Extract Surface.Catalogue.Server to an .exs file

Try to fix #7
I am not sure it is the right way to do but, it works. The only downside I have identified is that someone who would like to use the the built-in catalogue server, he should also add {:phoenix_live_reload, "~> 1.2", only: :dev} in his mix.exs file.
It tested it with the surface_bootstrap package by updating it's dev.exs and mix.exs files and it seems to work correctly.
@msaraiva if you have a better proposition, I would be glad to tackle this at it's a serious bottleneck to use surface_catalogue in real project except libraries.

@Malian as mentioned in #7, I need to make some adjustments to make sure it's safe to use it in production. I'll keep you updated. Cheers.

@Malian I believe this commit should be enough https://github.com/surface-ui/surface_catalogue/commit/d3746ea05f8ae4b0c732fc1952f28c8992001315. I tested locally and it works just fine. Just waiting for a second confirmation.
Thanks for taking the time to look into this. It was much easier to fix it based on the previous discussion.

Close in favor of https://github.com/surface-ui/surface_catalogue/commit/d3746ea05f8ae4b0c732fc1952f28c8992001315


from_json test on roundtripping double fails

Moonbit info:
moon 0.1.20240910 (0a5e0dc 2024-09-10)

System info:
Linux mechrevo 6.10.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 09 Sep 2024 02:38:45 +0000 x86_64 GNU/Linux

One of relvant code occurence:
inspect!(Syntax::from_json!(["Float", 1.0]), content="Double(1.0)")

test info:
test moonbitlang/minimbt/utils.mbt::1 failed
expect test failed at /home/lyh/Documents/Knowledge/CS/PL/Moonbit/minimoonbit/src/utils.mbt:340:3-345:4
Diff:
----
["App",["Var","f"],[["Int",1.0]]]
----

test moonbitlang/minimbt/utils.mbt::2 failed
expect test failed at /home/lyh/Documents/Knowledge/CS/PL/Moonbit/minimoonbit/src/utils.mbt:391:3-391:70
Diff:
----
Double(1.0)
----

Total tests: 3, passed: 1, failed: 2.

Looks like this also occurs for any ints

建议在大赛中提供稳定版本的编译器套件

This was broken by a recent compiler update that changes Double::to_string implementation to match that specified in JavaScript. We will update this repository, along with other bugfixes, shortly.


Update the Seccomp link.

Update the Seccomp Link in Configure a Security Context for a Pod or Container(https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
Fixes: #28677

Hi @mikedanese @thockin
Could please take a look!


Added troubleshooting for OAuth with git.

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: \ Added troubleshooting info based on customer error.
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[X] Successful preview build.
[ ] Code owner review.
[X] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://662c366a6a97624fcab37dd0--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://662c3ba5636a1d5260b38e94--harness-developer.netlify.app


Join Planet Ethereum

TL;DR: We're starting a community dedicated to the Ethereum ecosystem; we have some ideas, but are also open to new ideas; No matter your background, if you're excited about our goals, we'll be glad to have you onboard :)
Greetings
Hey everyone! :)
Yotam and me are super excited to be participating in ETHBerlin, to get to know you all, and to buidl!
About Us
We ♥ Ethereum, and would like to contribute in our own small way to the flourishing ecosystem, by focusing on devtools/infrastructure, education and more.
We also hope that Ethereum will have a positive effect on everyone, especially that it increases equal opportunities, and are going to try our best to promote these values.
Being new to the ecosystem ourselves, we know the challenges of wrapping one's head around these difficult concepts, and the joy of euphoria when a solution is found. By coming together  and sharing  our experiences, we could all hopefully have more euphoria and less frustration.
You can read our vision, mission and values in the community page.
About You
If you're also excited about our vision, and want to put your skills, whatever they may be, to achieving it, you're more than welcome to join us :) If you're not sure how you might help, write us, and we'll find a way together ;)
Ideas
We have a couple of ideas, and we're already working on some others. In particular, we're quite excited about enabling event-driven smart contract development at the moment (read the proposal).
But, we're quite open to new ideas. That's why, we'd rather wait until the team is complete, and based on everyone's interest choose the idea that we'll be doing at the hackathon. If you think you have an idea that fits our profile, don't hesitate to contact us.
Communication
You can find us in the ETHBerlin - Hackers Riot channel as @hemulin and @sinamahmoodi, or you can drop by our gitter. Or write a comment here.

Hi my name is Gabriel I really like the ethos of the team and the idea you are trying to implement for the hackathon. I been learning about ethereum for about a year and I just finished the ConsenSys Developer Program. I have basic knowledge of front-end and had the pleasure to attend ETHWaterloo and ETHBuenosAires. I will talk you on gitter also

@galactusss Hey Gabriel. Thanks for writing, it's always nice to meet like-minded people. Sure, let's talk on gitter then.