Remove the last uses of big_messaging

Looking through the codebase, the only remaining uses I see are:

inference manager -> palette inferrer
images merger -> images ingestor

Those are both sending images, which to my eyes can be sent directly over SNS, and don't need big messaging.
I'd like the pipeline to be a little more stable (i.e. deployable) before we look at this. It will simplify the codebase, but I don't think it will have any impact on pipeline performance.

As well as taking out the Scala code, we need to expunge it from the Terraform.

As well as taking out the Scala code, we need to expunge it from the Terraform.

We still have some S3 buckets in the Terraform.

We still have some S3 buckets in the Terraform.

Ah :+1:

Ah :+1:


Profile tool and improve performance

The tests are taking longer. Maybe this is because of some change in resources over at Azure or wherever the GitHub actions run, but maybe the tool has become slower.
It should be profiled so we find out. If there is low hanging fruit on the optimisation front, we should optimise.

Recent profiling done, optimisations made to substitute_original_strings. Other parts of codebase seem hard to optimise, we're limited mostly by isinstance() and issubclass() checks in the pattern matching logic (match_template) in the end. Tried adding regexes as a bypass for these, but this was slightly negative for performance.


Maintenance Status

flurry has been a very interesting concurrent hash table experiment and has driven a lot of innovation in that space. However, at this point, flurry suffers from performance as well as memory usage issues under load. These are likely artifacts of the underlying implementation being geared for a garbage collected language and difficult to solve without a design overhaul. dashmap and papaya provide better performance and memory usage across the board. flurry is still a very popular crate, does it make sense to bring attention to some of these issues in the README?

Yes, I think it does! I don't feel strongly that flurry must be an "equal competitor" in the space, so would happily take a PR that adds a "better alternatives" section to the readme and crate docs.


No sound on MHRise Sunbreak Demo

This happens with the 1832eef build
I can run the game with the REF dinput8.dll. but no sound in game

Sunbreak demo is no longer relevant. Open a new issue if this still persists.


tar error while building openshift

While applying the Terraform project, the process terminated with the following error
Error: Error running command 'tar zxvf install/openshift-install-*-4*.tar.gz -C install': exit status 2. Output: tar (child): install/openshift-install-*-4*.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

It's not clear to me where this error originated, so I'm not certain what troubleshooting / error localization steps to take.

What OpenShift version are you working with? Did you change that in the variables?

No reply - closing


GitHub Actions follow-up

[x] Remove Travis-CI and encoded tokens for doctr
[x] Factor installation of system and Python packages into a standalone bash script that can be reused between workflows.
[x] Make __version__ set correctly so that the version shown in the documentation is correct. (The issue was that we have to fetch the tags and the most recently tagged commit so that git describe works.)
[x] Extract the name of the repo ('ophyd' in this case) from the environment to determine the destination_dir for published docs. By avoiding hard-coding the repo name, we make publish-docs.yml portable without changes. This is of particular interest because we learned how easy it is to copy publish-docs.yml to another repo, not notice that the destination_dir needs to be updated, and then overwrite a different project's documentation.
[x] Run tests on a daily schedule (as well as on push and pull_request). This is like the Travis-CI CRON we used to run.

Thanks for the close read, @prjemian. All suggestions addressed.

I noticed that by default GH Actions are will cancel all jobs if one of the jobs fails ('fail-fast' mode is ON), which I find very annoying. If this behavior is not wanted, 'fail-fast' mode can be disabled as this: https://github.com/bluesky/bluesky-queueserver/blob/0a5f34a7246cca29babb0c9064d237595f27eba2/.github/workflows/testing.yml#L12

That makes sense to me. Updated. Thanks, @dmgav.

For future reference: https://www.edwardthomson.com/blog/github_actions_6_fail_fast_matrix_workflows.html. That's where we originally found it for the queueserver.


Weird behavior when widget is not const

I do not have a smaller sample but below is some example where I encountered a weird error. If I don't have Positioned marked as const the hearts are not appearing at all (animation not starting). If I make it const, it works just fine.
Video shows how it should behave (it has hardcoded svgImage set to null so it can be const)
          if (rightButtonActive)
            /// does not animate
            Positioned(
              bottom: 105,
              right: 20,
              child: _HeartSpray(svgImage: Assets.illustrations.games.swing.rightWindHeart),
            ),
          if (leftButtonActive)
            /// works as expected, as in the video
            const Positioned(
              bottom: 105,
              left: 20,
              child: _HeartSpray(svgImage: null),
            ),

class _HeartSpray extends StatelessWidget {
  const _HeartSpray({required this.svgImage});

  final SvgGenImage? svgImage;

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        // spawn 10 hearts
        for (var i = 0; i < 10; i++)
          Padding(
            padding: EdgeInsets.only(
              left: i.isEven ? math.Random().nextDouble() * 50 : 0,
              right: i.isEven ? 0 : math.Random().nextDouble() * 50,
            ),
            child: (svgImage ?? Assets.illustrations.games.swing.rightWindHeart)
                .svg()
                .animate(
                  delay: (i * 0.1).seconds,
                  onPlay: (controller) {
                    // repeat animation when finished
                    controller.repeat();
                  },
                )
                .fade(duration: 0.3.seconds)
                .scale(duration: 0.15.seconds)
                .slideY(begin: 1.0, end: -15, duration: 0.9.seconds)
                .shakeX(hz: 1)
                .fadeOut(delay: 0.2.seconds, duration: (0.9 - 0.4).seconds),
          ),
      ],
    );
  }
}

https://user-images.githubusercontent.com/67197047/216783971-be1d3cd8-4810-42a7-b224-9c91fdf6dc3e.mp4
Thanks for this package btw. Doing animations is much easier and more joyful and we can do magic stuff in just a few lines

Is there any chance something is causing your content to be rebuilt (thus restarting the animation)? Perhaps the const is keeping that outer widget from being rebuilt? Just taking a quick guess. You could try assigning a static key to the animation to test this.
As a random aside: Based on your video, you may find my particle_field package fun as well. :)
https://pub.dev/packages/particle_field

Closing for now. Feel free to reopen with more information.

Is there any chance something is causing your content to be rebuilt (thus restarting the animation)? Perhaps the const is keeping that outer widget from being rebuilt? Just taking a quick guess. You could try assigning a static key to the animation to test this.
As a random aside: Based on your video, you may find my particle_field package fun as well. :) https://pub.dev/packages/particle_field

Thanks, that's interesting, I did not know that there can be a such difference in the behavior with const widgets :O. Yes the whole screen is Stateful so the changing states probably reset the animation while when it is const it does not redraw


Refactor UP FHIRFunctions and Downstream Code

User Story

As the Universal Pipeline, my pipeline steps should be architected so that there is no redundancy between the various step functions and each step should fully complete before kicking off the next step.
Description/Use Case

This ticket is a result of https://github.com/CDCgov/prime-reportstream/issues/9778. While investigating this defect, it was determined that the issue is more pervasive than just the defect and the solution will require a larger refactor of FHIRFunctions and downstream code, hence this ticket.
The cause of the defect is that one pipeline step starts running before the prior step has had a chance to commit to the database. See below for details on the specific exception referenced by the defect:

Convert Function, the step that runs before route, looks like this (FHIRFunctions.kt):

internal fun doConvert(
    message: String,
    dequeueCount: Int,
    fhirEngine: FHIREngine,
    actionHistory: ActionHistory = ActionHistory(TaskAction.convert)
) {
    val messageContent = readMessage("Convert", message, dequeueCount)
    try {
        fhirEngine.doWork(messageContent, actionLogger, actionHistory)
    } catch (e: Exception) {
        logger.error("Unknown error.", e)
    }
    recordResults(message, actionHistory)
}

In general, all UP steps defined in FHIRFunctions.kt follow this pattern. The problem here is the DB write happens in recordResults but the next task gets scheduled in fhirEngine.doWork, hence the next step running before the prior step can wrap up its work. This is an issue for ALL steps, but is coming up in convert/route recently.
insertReportFile is the function that updates the report_file table, and that gets called eventually from doConvert's recordResults, but doConvert's fhirEngine.doWork schedules the route step before recordResults gets called:
messagesToSend.forEach { this.queue.sendMessage(elrRoutingQueueName, it.serialize()) }

Risks/Impacts/Considerations

Dev Notes

Potential Solution:
We need to redesign the pattern of FHIRFunctions.kt in such a way that pipeline steps make sure to complete all DB writes prior to scheduling the next step via AQS.
The doWork for each FHIRFunction has redundant code, we should look to reduce the redundancy by factoring out and reusing the common code. It would be great if the code to update the DB could happen in one place, instead of being split between the doWork functions of each step and the doStep function in FHIRFunction.kt via recordResults.
Perhaps consider the template pattern as part of a potential solution? Have a base converter class that implements the common functionality between the converters but has a method called "doWork" that needs to be implemented by each child.
A solution should also examine

making sure all inserts happen with the same transaction for a function invocation
exceptions cause a transaction to be rolled back
messages and blob store items are only added after a transaction has committed

Acceptance Criteria

[ ] Refactored UP FHIRFunctions and downstream code to eliminate redundancy between functions and fix race condition
[ ] Removed Visibility timeout that was implemented in https://github.com/CDCgov/prime-reportstream/pull/10656 as a work around

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @jack-h-wang @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @mkalish @thetaurean

We will revisit this ticket and use as a case study to see if it expands across multiple sprints.


ISSUE: Pull requests from Chaemin

Chaemin requested a merge of codes that can verify his new entropy algorithm called MFDE from the forked environment to the main repository.

Merge complete.


ARROW-7199: [Java] Fix ConcurrentModificationException in BaseAllocator::getChildAllocators

synchronize on childAllocators map when iterating on its entries using keySet/entrySet views

done. Thanks for reviewing

Thanks @pprudhvi!


Owable.sol missing functionality .

With the latest implementation of Ownable.sol , there is no way straight fwd way to set owner other than the deployer.
https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/blob/master/contracts/access/Ownable.sol#L23
One need to deploy and then need to transferOwnership from the deployer account.
This is not so optimal pattern , especially , if using the upgradable proxy pattern where the actual deployer..is the a contract which does not provide a way to do that ...like this
In the previous implementation of Ownable there was an initilize function which enable that.
/**      * @dev Initializes the contract setting the deployer as the initial owner.      */     function initialize(address sender) public initializer {         _owner = sender;         emit OwnershipTransferred(address(0), _owner);     }

Hi @orenyodfat. Thank you for reporting.
This has changed from 2.x because we're trying to keep this package as similar as possible to the "vanilla" OpenZeppelin Contracts package, in order to make it easier and less error-prone for us to maintain it, and this was one of the differences. Unfortunately we didn't foresee this issue with App.
It is an issue in vanilla Contracts which I have reported in https://github.com/OpenZeppelin/openzeppelin-contracts/issues/2236.
Please take a look over there for the potential workarounds that you can use until we release a fix, and let's continue the discussion over there.


Spec for opcode DELEGATECALL

Related upstream issue - https://github.com/privacy-scaling-explorations/zkevm-specs/issues/293
Referenced go-ethereum DELEGATECALL and function asDelegate.

others LGTM!

Thanks @DreamWuGit help code review. Moved to upstream - https://github.com/privacy-scaling-explorations/zkevm-specs/pull/294


Adds Cookbook for Geodesic distance.

This adds a cookbook for Geodesic distance.

@vigsterkr @karlnapf @lgoetz
Please review and comment. I would like to improve and merge this cookbook.

@vigsterkr @karlnapf @lgoetz
Please review and comment. I would like to improve and merge this cookbook.

Closing this PR for now and will reopen it soon.


Add Instagram Support

Instagram Support

Adds Support for Instagram by adding a new channel: Messaging::Channels::Instagram
Tests for Messages contents edge cases for text, image, audio and video

Usage
vonage_client = Vonage::Client.new(...) # auth credentials
message = Vonage::Messaging::Message.instagram(
  type: 'text',
  message: 'This is an Instagram text message sent using the Messages API'
)
vonage_client.messaging.send(
  from: 'YOUR-INSTAGRAM-ID',
  to: 'USER-INSTAGRAM-ID',
  **message
)

Feature is not yet GA. Don't merge.


Never leak api_key to Logger in Amplitude.php

Upon failure, the api_key is written to the log.
This should never be done.

@ruudk Many thanks for raising this issue. This has been resolved in v1.0.1


Cores and threads appear to be swapped in the CPU and thermal sensors widgets

Reporting 4 cores and 2 threads for 11th Gen Intel Core i3-1115G4.
Should be 2 cores and 4 threads.
Similar in thermal sensors widget reporting 4 cores and 2 zones.
24.7
Reference source:
https://ark.intel.com/content/www/us/en/ark/products/208652/intel-core-i3-1115g4-processor-6m-cache-up-to-4-10-ghz.html

fixed 6 hours ago 678eaf2fb99afc

Fixes CPU widget but not Thermal Sensors widget.  Thermal Sensors widget still shows 4 cores (0,1,2,3) and 2 zones (0,1).

I did a tweak for thermal sensors but af74aa42ab from the looks of it it just reports what you have. Might be worth checking sysctls:
# configctl system temp

Cheers,
Franco

Doesn't resolve the issue and seems to randomly inflict some strange behavior.
Mostly displays this:

Infrequently displays this:

The configctl system temp command seems to report threads as cores.  Every thread pair is a single core though.
How about if hyperthreading enabled return only every other "core"?  i.e. the even or odd numbered "cores".
11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
(2 cores, 4 threads)

The configctl system temp command seems to report threads as cores. Every thread pair is a single core though.

Dude, just post the actual output. I don’t have time for this.

configctl system temp
dev.cpu.0.temperature=49.0C
dev.cpu.1.temperature=49.0C
dev.cpu.2.temperature=57.0C
dev.cpu.3.temperature=57.0C
hw.acpi.thermal.tz0.temperature=27.9C
hw.acpi.thermal.tz1.temperature=10.1C

Your first screenshot kooks correct. If you apply the patch I mentioned does it still jump around between both screenshots? I tried to adjust the logic in the widget that wasn't fully accurate.
Maybe we should replace "Core" with "CPU" since we don't know if it's core or thread for one reason or another (as shown by the duplicated temp readings between 0/1 and 2/3 here it's likely a thread).

After applying the patch is when first noticed the jumping around.
Here is what I consider to be correct for this CPU.
(11th Gen Intel Core i3-1115G4)

Reworked /usr/local/opnsense/scripts/system/temperature.sh to return only one "cpu" temperature per core if hyperthread enabled.  i.e. multiple threads per core.  Pretty concise to filter for 2 threads per core.  Just exclude those ending with odd digit.  '[0-9]*[13579]'

Still tinkering on it a bit.
More than 2 threads per core is a little involved but doable.  Is support for more than 2 threads per core needed?

Yeah that is calling for trouble trying to undo how the system expands the temperature readings. May consider merging in the widget like it's already doing for when all CPUs detect the same temperature, but then you also have to adjust the numbering again as it would say CPU 0, CPU 2. Frankly this is not worth the effort and will break for the next person.

From working with this I've come to the conclusion that threads are considered to be "CPUs" by sysctl.
For 2 threads (cpus) per core, just excluding the odd numbered "cpus" seems pretty safe.
Don't like the dynamic nature of not reporting if same temp.  Keeps changing the number of items shown.

But I'm not sure what this is:

It should try to condense all CPU readings into 1 and if it fails display all, which would only be problematic when the temperatore matches up for both of your cores.
But that screenshot is strange, because the zone reading is duplicated which is never handled except being pushed through as is.

That snapshot is from before any of my changes.  Only with the patch that you made a few days ago.  It is strange for sure.
With my changes a similar thing also happens but differently.  It sometimes displays only "Core 0", "Zone 0", "Zone 1" and then "Zone 0" again.  Like since it received 4 items it insists on displaying 4 items.

I saw this happen now once, one of the four cpus was a different temp and it expanded correctly but then glitched as you posted earlier. Safe to assume this is a JS glitch. I'll fix this and close when I manage to reliably reproduce.


connect maxHeartbeats in CoreM to kernel variable max_heartbeats

The basic approach looks good (assuming it works :) ). Is there anything left apart from cleaning up the PR?

For "quick guesses", --output-on-failure would have been helpful :) . And the CI won't run until you address the merge conflicts.

@bollu Are you still planning to work on this PR, or should I close it?

@leodemoura Closed to clear Lean's PR queue; I shall send a completed PR once the solution does not fail on seemingly unrelated test cases.


Bug: Adding GPU Temperature Sensor will Brick Hass Agent

I have an issue where If I add the "GpuTemperature" sensor HASS agent will crash.
It will continue to crash every time it's opened making it not possible to remove the sensor and making the program no longer usable.
This can be bypassed by removing the sensor manually from sensors.json.
My GPU is a Radeon 5700 XT running driver version 22.11.2
My CPU is  Ryzen 7 5800X

[x] Installed via installer
[ ] Installed manually
[x] Problem occurs in HASS.Agent
[ ] Problem occurs in Satellite Service

I have added the sensor while debugging and its provided the following information:

Note that this crash happens when pressing "Store & Activate Sensors" not on "Store Sensor" itself
It's also possible that the crash sometimes doesn't happen and add the sensor is added successfuly.

same here i was told to delete my sensor file and that should fix the issue but no everytime i put even 1 single sensor up or all after 1 to 2 days it will auto crash and will keep crashing after that. not a thing has helped and i dont "code" so dont have a clue, really starting to hate hass.agent because it never stays running at all, will also crash and force new windows install to fix after you update any driver of a device such as both my CPU and GPU's drivers updated 3 days ago and now keeps crashing after opening app or system reboot "start on windows" it will crash.

Hi @Jezza1232, I'm sorry to hear that. I'll address this to both of you:
For GPU sensor values, I'm relying on LibreHardwareMonitor's library. So I can only support what LHM supports, and I can't debug every single GPU that doesn't work with LHM because that would be a fulltime job on itself.
The first year I hardly got any complaints from using LHM, but lately the number has been increasing, so I might need to switch away from it. For now, all I can recommend is using the standalone version of LHM or OpenHardwareMonitor or the likes, and use the WMI sensor to integrate their sensors:
https://hassagent.readthedocs.io/en/latest/wmi-examples/#fetch-gpu-temp-from-librehardwaremonitor

I would recommend the open hardware monitor to switch into home assistant I
don't believe that LHM is working very well
On Thu, 26 Jan 2023, 7:09 pm LAB02 Research | Sam, @.***>
wrote:

Hi @Jezza1232 https://github.com/Jezza1232, I'm sorry to hear that.
I'll address this to both of you:
For GPU sensor values, I'm relying on LibreHardwareMonitor
https://github.com/LibreHardwareMonitor/LibreHardwareMonitor's library.
So I can only support what LHM supports, and I can't debug every single GPU
that doesn't work with LHM because that would be a fulltime job on itself.
The first year I hardly got any complaints from using LHM, but lately the
number has been increasing, so I might need to switch away from it. For
now, all I can recommend is using the standalone version of LHM or
OpenHardwareMonitor https://openhardwaremonitor.org or the likes, and
use the WMI sensor to integrate their sensors:
https://hassagent.readthedocs.io/en/latest/wmi-examples/#fetch-gpu-temp-from-librehardwaremonitor
—
Reply to this email directly, view it on GitHub
https://github.com/LAB02-Research/HASS.Agent/issues/259#issuecomment-1404669120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFHHS2EOPVWTLPFNLYQQCTWUIWKNANCNFSM6AAAAAAT4FVXT4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Enhance About, and start a Telegram channel to stay updated with the app. (see example below)

About
Current Version: 2020.11.07-a54b8a786e
deemix lib version: 1.5.19
This app uses the deemix library, which you can use to make your own UI for deemix.
Thanks to rtonno, uhwot and lollilol for helping me with this project and to BasCurtiz and scarvimane for making the icon.
Stay up to date with the updates by following the news channel on Telegram.

News Channel and Chat Group were created, links to be added to the app later.

About page changed on upcoming push. Other branches need to be updated as well (maybe) at least the main branch


Update release notes and documentation

Summary
This PR formats the release notes for 0.5.1 and updates places in the README and setup.py that were still configured for Terra instead of Experiments, in addition to some formatting fixes and adding RoughEFFrequencyCal to the documentation. There will be another PR to the 0.5 branch to make the 0.5.1 release notes and bump the patch version.

That's a good point. I'd also like to regularize experiment docstring descriptions in general. I'll merge this for now and let's discuss descriptions with the team.


CSS and Javascript

Hey Guys! It's the first time i write, this project is amazing! I want to know how to insert some CSS and Javascript inside the program, if anyone have some examples to share.
Best regards from Brazil

I want to know how to insert some CSS and Javascript inside the program, if anyone have some examples to share.

If you mean in your code/project, you can inject your JS/CSS code as you would in HTML:
'<script>alert("JStests");</script><!--JS these tags-->
'<style>body{color:blue;}</style><!-- CSS in these tags-->

I want to know how to insert some CSS and Javascript inside the program, if anyone have some examples to share.

If you mean in your code/project, you can inject your JS/CSS code as you would in HTML:
'<script>alert("JS tests");</script><!--JS these tags-->
'<style>body{color:blue;}</style><!-- CSS in these tags-->

Thank you, i will study more these subjects


JWT Token not found

Hi,
As the title says I have a 401 when trying to contact my API. I can get the token of User without any problem but when I try to use it it's not working properly.
I am using SF 2.8 + lexik/jwt-authentication-bundle v2.1.0.
Thank you in advance.
My VHOST includes:
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
The curl command line:
curl -H "Authorization: Bearer my_token" http://localhost/api/user/some-user-request
Config:
lexik_jwt_authentication:
private_key_path: '%jwt_private_key_path%'
public_key_path:  '%jwt_public_key_path%'
pass_phrase:      '%jwt_key_pass_phrase%'
token_ttl:        '%jwt_token_ttl%'
token_extractors:
authorization_header:
enabled: true
prefix:  Bearer
name:    Authorization
Security:
login:
pattern:  ^/api/login
stateless: true
anonymous: true
provider: fos_userbundle
form_login:
check_path:               /api/login_check
success_handler:          lexik_jwt_authentication.handler.authentication_success
failure_handler:          lexik_jwt_authentication.handler.authentication_failure
require_previous_session: false
    api:
        pattern:   ^/(api)(?!/doc)
        stateless: true
        guard:
            authenticators:
                - lexik_jwt_authentication.jwt_token_authenticator

Thank you in advance.

Just a quick note, I tested by enabling the token through parameter and it's working.

Hi, I think you can found an answer to that common error on search on the issues or stackoverflow :)

Hello
Sorry I totally forgot to come back to close the issue, and yes I found the answer through google etc ...
Thanks !

I have the same problem. What was the answer?

@Adraesh Can you share with us the solution

Well it's been a long time but still I can share with you some config which is actually working:
Vhost:
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "OPTIONS, GET, PUT, POST, DELETE, PATCH"

web/.htaccess must includes (newer SF version include it by default):
RewriteCond %{HTTP:Authorization} .
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

config.yml
# LexikJWTAuthenticationBundle
lexik_jwt_authentication:
    private_key_path: '%jwt_private_key_path%'
    public_key_path:  '%jwt_public_key_path%'
    pass_phrase:      '%jwt_key_pass_phrase%'
    token_ttl:        '%jwt_token_ttl%'
    #user_identity_field: [username, email]
    token_extractors:
        authorization_header:
            enabled: true
            prefix:  Bearer
            name:    Authorization

security.yml (Adapt your patterns based on your needs. In my case the api is not under mydomain.com/api but directly callable from mydomain.com):
login:
            pattern:  ^/login
            stateless: true
            anonymous: true
            provider: fos_userbundle
            form_login:
                check_path:               /login_check
                success_handler:       lexik_jwt_authentication.handler.authentication_success
                failure_handler:          lexik_jwt_authentication.handler.authentication_failure
                require_previous_session: false

api:
            pattern:   ^(?!.*(\/test|\/security\/login))
            stateless: true
            guard:
                authenticators:
                    - lexik_jwt_authentication.jwt_token_authenticator

Hope it helps.

I faced the same issue, so you should check if it is not due to redirection, because by default Alamofire doesn't pass authorization field in header to another request ( this seems to be reasonable behavior in such case).
So to make authorization transmissible you can do it like:
Alamofire.SessionManager.default.delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
    var redirectedRequest = request

    if let originalRequest = task.originalRequest,
        let headers = originalRequest.allHTTPHeaderFields,
        let authorizationHeaderValue = headers["Authorization"]
    {
        var mutableRequest = request
        mutableRequest.setValue(authorizationHeaderValue, forHTTPHeaderField: "Authorization")
        redirectedRequest = mutableRequest
    }

    return redirectedRequest
}

//now use your requests  i.e:
Alamofire.request(url, method: .post, parameters: params, encoding: JSONEncoding.default, headers: header)
    .validate()
    .responseJSON(completionHandler: { (response) in
        switch response.result {
        case .success:
            //success
            break
        case .failure(let error):
            //fail
            break
        }
    })

If you want to return to default behavior just simply:
Alamofire.SessionManager.default.delegate.taskWillPerformHTTPRedirection = nil


CORS error in WebGl build.

Hi,
I'm building player for WebGL and when playing video I get CORS error when playing the video url under [play][progressive] in response Json. How do I solve this issue?
[EDIT]
Tried AvPro Video too but getting the same error.
I'm using Unity 2019.2.17f1.

Hi,
I'm building player for WebGL and when playing video I get CORS error when playing the video url under [play][progressive] in response Json. How do I solve this issue?
[EDIT]
Tried AvPro Video too but getting the same error.
I'm using Unity 2019.2.17f1.

Hey Did you manage to get it working? It seems like everyone has this issue and hasn't figured out a way to fix it. Would be great if we could get this fixed and update this repo.

I chased Vimeo support.
Part of my message to them:

This appears to be a problem on Vimeo's side in relation to the
server's CORS policy. [I may be wrong but] it would be out of control
of the Vimeo-Unity-SDK client.
There are plenty of unclosed issues in the Vimeo-Unity-SDK relating to
the issue I am facing:
https://github.com/vimeo/vimeo-unity-sdk/issues?q=CORS

And this is Vimeo's official response:

Taylor T. (Vimeo Support) Aug 4, 2020, 5:36 PM EDT
Hi, Understood. We're aware of this issue, however we cannot
provide any ETA for a potential fix or any changes. Our apologies for
any inconvenience this causes you!
Sincerely, Taylor T. Specialist, Vimeo Developer API + Apps

Maybe, if you have control over the server that you're hosting your app from, you maybe can rewrite the headers to always return the missing headers.
This was also a problem i faced.
Also Fiddler is a great program to know what happens and goes wrong with debugging WebGL builds with "outside" connections.


Split YAML file

It's super annoying to have a huge YAML file, and it's only going to get worse.
This PR puts partial YAML files into a schema subdir and then $ref them into an index YAML file.
Definitions, Paths, and Info are broken out.
The build script is update to use bundle which also converts to json (eliminating the js-yaml dep).
I also store the generated json file into a dist directory, making it clear what is the source and what is the built distributable (it's not super clear right now).

So much 👍

👍 💃

Okay, I think this is good to merge once the sdk repo has been corrected.  In any case, 1.0.0 is what is being used in prod by people AFAIK.

So much 👍


does not detect file that has been deleted and recreated

./gotail -F /root/messages
Jun 22 14:42:43 node-247 SWARM: time="2017-06-22T14:42:44.507886233+08:00" level=debug msg="3"
when delete /root/messages  and recreate it, gotail not detect file, sos

I test poll mode will trace delete and reopen ok. but Inotify does not

hope fix Inotify

我也遇到了这个问题，调试之后发现
在 hpcloud/tail/vendor/gopkg.in/fsnotify.v1/inotify.go文件中，rm文件操作 默认走到了
if mask&syscall.IN_ATTRIB == syscall.IN_ATTRIB {
        e.Op |= Chmod
 }

这个逻辑上
加上判断修改如下：
if mask&syscall.IN_ATTRIB == syscall.IN_ATTRIB {
        _, statErr := os.Lstat(e.Name)
        if os.IsNotExist(statErr) {
            e.Op |= Remove
        } else {
            e.Op |= Chmod
        }
 }

测试删除和然后新创建文件，然后新增内容可以获取到

@yutengwan  提交merge request呀

可以先用Poll的方式

@yayuntian  @yutengwan  原因是这个。https://github.com/fsnotify/fsnotify/issues/194。试试修改下面的代码。
// If the event is not a DELETE or RENAME, the file must exist.
// Otherwise the event is ignored.
// *Note*: this was put in place because it was seen that a MODIFY
// event was sent after the DELETE. This ignores that MODIFY and
// assumes a DELETE will come or has come if the file doesn't exist.
if !(e.Op&Remove == Remove || e.Op&Rename == Rename) {
	_, statErr := os.Lstat(e.Name)
	return os.IsNotExist(statErr)
}


Examples update

This PR updates the examples by addressing the change of results outputs from dictionary of dates to list of epochs, fixing "timestamps" nomenclature and adding the blacksheep feature example.
In addition, it updates the plotting file by incorporating the above changes to the plotting functions.

General
really nice with the visual example!
Changes

set the atypical thershold lower than 0.2, e.gf 0.1
0.2: {'atypical_assets': ['u0003', 'u0002', 'u0006', 'u0005']}
0.1: {'atypical_assets': ['u0003', 'u0002']}
0.05: {'atypical_assets': []}

Blacksheep example updated to reduce the atypical threshold to 0.1


panic: parsing time "-1" as ""2006-01-02T15:04:05Z07:00"": cannot parse "-1" as """

Thought I'd fixed it - I haven't. As the title. Running latest golang.

In my case, I disallowed access to the birth date and the profile request was unable to parse the returned JSON document.
"banned":true,"bio":"","birth_date":-1,"can_create_squad":false

I got the same problem.
I try to comment the line 28 (checkError(err)) but it does not give me anything :
Name:

|                             Your Friend|                                                      Last Time Online|
|                                        |                                                                      |

@Saberino See golang#9346 for more info. I seems that your time format is wrong.

Please see #12


Calling getVolume causes a crash on iOS on new architecture, React Native 0.76

Calling getVolume causes a crash on iOS with the following error observed in XCode logs:
AVAudioSession_iOS.mm:2386  Failed to set category, error: -50

Steps to reproduce:

Initialize a new React Native v0.76 project
Install react-native-volume-manager
Run getVolume

The app crashes.
The following snippet is enough to confirm it crashes when calling getVolume
import React from 'react';
import {Button, View} from 'react-native';
import {getVolume} from 'react-native-volume-manager';

export default function App() {
  return (
    <View style={{flex: 1, justifyContent: 'center'}}>
      <Button
        title="Get volume"
        onPress={async () => {
          const volume = await getVolume();
          console.log('Volume:', volume);
        }}></Button>
    </View>
  );
}

This library is not compatible with the new arch yet.

@hirbod Are you planning to add support for the new architecture soon?

I am planning since 2022, but no-one stepped in so far to help, I don't have any knowledge. I have hopes that expo-audio might deprecate my library soon though.

Hi @hirbod , we are finishing to migrate our ble library with RN 0.76 (https://github.com/innoveit/react-native-ble-manager/pull/1285), you can take a look in the changes to support this lab. I can help if you have problems.

@hirbod I'd be happy to help. And for the last few days I've been trying to get the library to work with the new architecture while remaining backwards compatible.
So far I have a solution for iOS, but it's kind of complex when I try to keep it backward compatible. Would you be ok with having a breaking change and forcing RN76 users to use the new library version and <RN76 users would stay on the current version?

hey @hirbod any news regarding new arch support and RN0.76?

I refactored a lot of code and made everything more robust. v2 will be released in ~30 minutes


Cannot add abilities to occupations

I am creating a new occupation, I don't seem to be able to add abilities to this.  When I go to the Abilities tab of a new item (occupation), the cross appears but does nothing when I click on it.

You should be able to drag abilities onto the sheet and they then appear. The + should work to but I think I should remove it as it's redundant.


Remove webpacker as a dependency

Fixes #145
This PR removes webpacker as a Ruby dependency to prevent conflicts in apps that are moving from Webpacker to Shakapacker.
Changes:
Please ensure that:

[ ] Changelog is updated if not a minor patch
[ ] Ruby linting is ok: rubocop is all green
[ ] Javascript linting is ok: cd javascript/webpacker_react-npm-module/ && yarn lint is all green
[ ] Tests are all green

I've also done some work to upgrade development dependencies and the CircleCI config to get tests passing.

Hi @rossta and thanks for your PR.
As you saw in #139, I plan to rename this gem to react-components-rails soon after a full rewrite. It no longers depend on Webpacker (or any Rails JS integration) and only contains light helpers to use React components in rails.
A beta version is release (and I have been using it in my projects) and I would encourage you to try it and tell me if it works for you. I am a bit overwhelmed with other work lately, but I still plan to make the big move in the coming weeks and deprecate webpacker-rails (with a message on gem install saying so on the linked PR).
I do not really want to make any change to the current webpacker-rails gem, so I will not merge your PR, as I think react-components-rails will give you what you want with far less code and dependencies.


Add webhook integration tests

Includes kafka integration test from PR12 since both tests share the same utils.

@Alex-Izquierdo please review.

@ttuffin please rebase.


why Jenkins not Drone.io

I wonder what makes docker from drone to Jenkins, I googled it but didn't get much info :)

Hi!
We switch because we were already using a fork to run docker in docker and
we needed the Dockerfile to actually be built for each PR. We also wanted
distributed builds and to test across matrices.
On Tuesday, March 10, 2015, HuKeping<EMAIL_ADDRESS>wrote:

I wonder what makes docker from drone to Jenkins, I googled it but didn't
get much info :)
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11304.

See drone/drone#1

Ok, thanks.

Hi @jfrazelle ,What does the "test across matrices" mean? Different hosts? I can't understand your meanings. Any advantage from jenkins?

Yes we get to test different operating systems and storage drivers as well
as exec drivers
On Wednesday, March 11, 2015, HuKeping<EMAIL_ADDRESS>wrote:

Hi @jfrazelle https://github.com/jfrazelle ,What does the "test across
matrices" mean? Different hosts? I can't understand your meanings. Any
advantage from jenkins?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/11304#issuecomment-78263362.


Feature request: use scaled_dot_product_attention()

It would be great if this repo used torch.nn.functional.scaled_dot_product_attention() where possible to minimize memory consumption and optimize speed.

yes, that is in my plans!

Awesome! I really struggle to use transformers practically. They are impossible to train on even a couple of 12GB cards.

haha yea, transformers are a beast to train
rewards are obviously great if you can do it though

I think we need more transformer primitives that are end-to-end defined in either c++ or cuda to really minimise memory as much as possible.

@pfeatherstone ok it is done! https://github.com/lucidrains/x-transformers#flash-attention

Nice I'll give it a go


chore: move queries to commands

Description
Put all server actions in one folder called "commands". (I could also rename the folder to "actions"?)
References
n/a
Review Checklist

[x] I have added documentation for new/changed functionality in this PR or in openfga.dev
[x] The correct base branch is being used, if not main

Codecov Report

Merging #23 (8d648db) into main (74c30d4) will increase coverage by 0.07%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   72.36%   72.43%   +0.07%
==========================================
  Files          71       71
  Lines        8492     8492
==========================================
+ Hits         6145     6151       +6
+ Misses       1924     1920       -4
+ Partials      423      421       -2

Impacted Files
Coverage Δ

server/commands/check.go
85.58% <ø> (ø)

server/commands/check_utils.go
91.23% <ø> (ø)

server/commands/expand.go
85.37% <ø> (ø)

server/commands/get_store.go
94.73% <ø> (ø)

server/commands/list_stores.go
67.85% <ø> (ø)

server/commands/read.go
83.60% <ø> (ø)

server/commands/read_assertions.go
72.22% <ø> (ø)

server/commands/read_authzmodel.go
92.85% <ø> (ø)

server/commands/read_authzmodels.go
77.77% <ø> (ø)

server/commands/read_changes.go
90.62% <ø> (ø)

... and 16 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 680ec3c...8d648db. Read the comment docs.


feat: use gitlab api to get username

In this PR the gitlab api is used to get the username, instead of manually set the username with an env variable.
Resolves #63

Thanks for your contribution first, but can we have this feature optional?


Add support for HMRC Manuals API web stack

Depends on: https://github.com/alphagov/hmrc-manuals-api/pull/577

Tested with the following API call and by going to the home page in a browser:
curl -d '{"description":"foo","details":{"child_section_groups":[]},"update_type":"major","title":"foo","public_updated_at":"2019-10-12T07:20:50.52Z"}' -H 'Content-Type: application/json' -X PUT 'hmrc-manuals-api.dev.gov.uk/hmrc-manuals/foo'

Thanks for the review @thomasleese!
Would you like to merge/deploy https://github.com/alphagov/hmrc-manuals-api/pull/577? (I don't have access.)


Allow to use a custom layout in the top level pages view

Currently only top level pages are displayed in the side menu. It would be great to contribute custom layout so that other elements like eg. the currently signed in user could be shown there.

As colors, background and fonts!

This has been implemented previously.


Use new directories directive in dependabot

Proposed changes
Dependabot now supports adding multiple directories in the same ecosystem.
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[ ] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that all unit tests pass after adding my changes
[ ] I have updated necessary documentation
[ ] I have rebased my branch onto main
[ ] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

Will this mean it can update multiple directories in a single PR?


allow ipv6/esp/ah protocol passthrough for ufw

Description
allow ipv6/esp/ah protocols for ufw as per http://manpages.ubuntu.com/manpages/precise/man8/ufw.8.html
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[X] New functionality includes testing.
[X] New functionality has been documented in the README if applicable
[ ] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Obvious fix. (ref https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD)

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@erkki

Please sign the CLA here.

Hello! This has been open for a while, but the CLA isn't signed and the builds are currently failing. Please re-open when you have a chance to address these issues. Thank you!

Hello, I thought the "obvious fix" disclaimer would void the need for an CLA, correct/incorrect?

Hi @erkki -- Ah, I do see you mentioned that in your commit message. TBH, I don't even read those until I see the tests are passing and the checklist is checked off. I can reopen this if you'd like to rebase and get the tests passing?

Noted, I don't think the travis failures have anything to do with the diff. I'll rebase against latest master and see if that helps.

Looks like it's passed now. Thank you!


Full iteration details not available for project configuration teams iteration under teamsettings/iterations rest api

I want to pull start date and end date of parent iteration. Lets say if we have iteration path as x/y/z then i am able to pull z information using teamsetting/iterations rest api but if i want to get the y informtion like start date and end date how i can get. I didnt find in the iterations rest api

Cosing as i found the link to the correct api. https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/classification nodes/get classification nodes?view=azure-devops-rest-6.0#get-the-iteration-tree-with-2-levels-of-children

Cosing as i found the link to the correct api. https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/classification nodes/get classification nodes?view=azure-devops-rest-6.0#get-the-iteration-tree-with-2-levels-of-children


Refactoring hooks to run before event dispatching

This is for https://github.com/feathersjs/feathers/issues/248 and solves it specifically when using hooks by pushing it before all other mixins. This also allowed to refactor hooks processing itself into a smaller and more straightforward module.

:+1: works great! The only thing I noticed is that you have to return data from a filter. It's not like hooks where you can just return nothing and they'll still work but that's an issue for socket-commons.
:shipit:


Change Catalog Dropdown design

Related issue: https://github.com/CartoDB/design/issues/1744

This PR includes:

Use Perfect Scrollbar module (we've our own fork and we're using it in other views, like in Builder) to change the scrollbar style and make it compatible with different browsers. It also includes the feature that when hovering the scrollbar, it gets a bit wider.

Set a max height for height-limited dropdowns in smaller screens using media queries, and apply the limit to both dropdowns in the catalog

Adds a couple of small changes regarding responsive design (like setting a smaller font in the dropdown items, this needs to be reviewed)

Screenshots:
Tablet:

Mobile:

Desktop (small):

PR updated! some notes here:

Could we configure the scrollbar to be visible by default?

I tried this by setting scrollToTop to 1 to the dropdown list to make Perfect Scrollbar visible, but it does not work for that, I've been trying it also by overriding the styles but I couldn't :(

I'm not sure if I'd change the font size in the dropdowns for smaller devices

Reverted!

Remove the Search on the Category dropdown

Understood and fixed! The only issue here is that it does not detect window changes, which means, that if you increase or decrease the page height it will keep the initial state (showing or not the input), but if you reload the page it works. I think it doesn't worth it to listen to window changes 👍

Add another breakpoint:

Done! Now we've 3 breakpoints:
Small: shows up to 3 items

Medium: shows up to 5 items

Default: shows up to 8 items

Click outside to close the dropdowns

I've encountered some errors when using the directive and I've removed it, not sure how to make it work better after trying several options.

retest this please

retest this please

retest this please

Awesome 🎉 we're going to wait for design acceptance to merge it 👍 cc @csubira

Hi @urbanphes 👋 could you please do the acceptance of this task? :)

Staging: https://catalog-dropdown.carto-staging.com/
User: catalog-dropdown
Pwd: catalog-dropdown123

Nice job although I saw some things:
1. Extra Space
Between the title "Select a category" or "Select a country" and dropdown, there is an extra space

2. Icon missing
When a category or country is selected, the icon is missing

3. Change hint
On the country dropdown, the hint should say: "Select a country" and the color is grey.

4. Indicator scroll always visible
The indicator only appears when making scroll inside the dropdown, this one should appear always.

Normal state

Scroll inside the dropdown
5. Flags & Icons same size
On the Country dropdown, the Flags and the icons should the same size. Also, it will be awesome if we can implement all the flags.

6 You can't write anymore
In the country dropdown, it doesn't let put more characters

If you have doubts or need to clarify some point, tell me

According to the acceptance below, the latest commits include:

Extra Space ✅
Icon missing ✅
Change hint ✅
Indicator scroll always visible 👎 -> Talked to @elenatorro and conclude that the way that the perfect scrollbar works it cannot be visible as desired.


drawBars and drawWave share some code... combine it + other optimization.

drawBars and drawWave share some code on top. I refactored and then offloaded that into a new function called routeAndClear.
I also reworked/streamlined the rest of the code slightly. Will add the single canvas if OK.
Shouldn't affect anything else...

OK, this needs to be put on hold because the request animation frame change just really is a big change.

I'm also really reluctant to make these changes without any unit tests that verify it works as expected. Can you take a look at that?

I made way too many changes for now, and partialRender doesn't work... although I am not sure how well it worked before. Let's wait for the smaller changes to go through.

This is redundant since #1198 was merged, no? Sorry I didn't see this PR before doing the refactor, otherwise I would have reused some of the stuff. Can we close this now @agamemnus ?

My code would probably need too much work by now. I'll stick with my version, though...


"NoSuchFile: [ONNXRuntimeError] : 3" error on macOS when trying to initialize the model

I'm trying to run this code snippet:
from vosk_tts import Model, Synth

model = Model(model_name="vosk-model-ru-0.42")
synth = Synth(model)

synth.synth("Привет, мир! Меня зовут Михаил!", "out.wav", speaker_id=2)

But, unfortunately, I get such error:
NoSuchFile: [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from /Users/username/.cache/vosk/vosk-model-ru-0.42/model.onnx failed:Load model /Users/username/.cache/vosk/vosk-model-ru-0.42/model.onnx failed. File doesn't exist
At the same time, if I just type "vosk-model-tts-ru-0.6-multi" in model_name, everything works just fine. The info about "vosk-model-ru-0.42" model is taken from https://alphacephei.com/vosk/models
I'm using macOS Sonoma 14.5, with chip M3 pro, python 3.9, if this information somehow helps.
Not sure if it's mine mistake or some kind of bug. Anyway, I will appreciate any answers :)

O god it's ASR model not TTS

O god it's ASR model not TTS


Configure basic GitHub Actions workflow: release-drafter

Configured basic release-drafter for the master branch.

It's a simple but super handy GitHub Actions automation that does a mutable accumulation on the diff between tags, and prepares a handy release draft.
Merge, wait for a second and look for a ready release draft 🎉
I based the template on this release's notes: link.
It will probably need some tuning, but I think it could potentially save a lot of time by automating the tedious job of gathering all the changes, or the list of contributors.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #2538   +/-   ##
=========================================
  Coverage     93.04%   93.04%
  Complexity     5294     5294
=========================================
  Files            89       89
  Lines         12762    12762
  Branches       1603     1603
=========================================
  Hits          11875    11875
  Misses          702      702
  Partials        185      185

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 556db11...5f8ddf5. Read the comment docs.

Let me know if that really works (works in my projects!), I can't access drafts of vavr :)

Will do! 😊

@danieldietrich did it work? :)

It works like a charm, awesome!


Fix

Updated endcases validations.
Also, there is a new folder .vscode, in which editor settings are mentioned. Tab = 2 space, different tab spaces were giving errors in validations.

Tab = 2 space, different tab spaces were giving errors in validations.
why is that ?

Tab = 2 space, different tab spaces were giving errors in validations.
why is that ?
.vscode, in which editor settings are mentioned. Tab = 2
It's prettier config for consistency in the codebase

It was because I didn't check \t in the compiler. It is resolved now though. I will remove this .vscode folder in the next commit.

The way workflow is set is that we never push changes/make pr directly to master branch, develop branch(i.e can be considered as a staging branch where all the changes go which will, later on, get merged to master after proper testing) so please, never make pr directly to master.

Ask:
Make sure put it to code section for all the chapters are written with empathy for users to follow it
Have empathy for the user and try to complete all the chapters from a user's point of view as if you are going over the chapters for the first time --> i.e run user test --> push changes if any --> then I will review this again & merge the changes @surajsingla333
Awesome work, the offline compiler is now coming together 🎉


no avaliable backend found.ERR

引用ort.js文件部分手机报这个错误，该如何解决

引用ort.js文件部分手机报这个错误，该如何解决

Please provide a clear description of the issue and information on how to reproduce it.

"Uncaught (in promise) Error: no available backend found. ERR: [wasm] RuntimeError: memory access out of bounds, [cpu] Error: previous call to 'initializeWebAssembly()' failed., [xnnpack] Error: previous call to 'initializeWebAssembly()' failed."

ort create failed on some phones from realme, Samsung, vivo

Please provide a clear description of the issue and information on how to reproduce it.

how to solve.

Please provide a clear description of the issue and information on how to reproduce it.

"Uncaught (in promise) Error: no available backend found. ERR: [wasm] RuntimeError: memory access out of bounds, [cpu] Error: previous call to 'initializeWebAssembly()' failed., [xnnpack] Error: previous call to 'initializeWebAssembly()' failed."


Fix for zig master

Zig compiler now checks if a local variable is mutated so that variable needs to be const.
On a side note I don't understand why there is this check at the end
    if (passed_count != 1 or skip_count != 1 or fail_count != 1) {
        std.process.exit(1);
    }

I think ors should be replaced with ands otherwise the process will always exit with 1.

Good to know, thanks!
Regarding the check, I am dumbfound, cannot explain it either. 😅
Changed it to something similar to Zig's standard test runner:
    if (fail_count != 0) {
        std.process.exit(1);
    }


[Question] How to hook "PostRender"?

Branch or Release
commit: https://github.com/UE4SS-RE/RE-UE4SS/commit/a19565b426f06570b4c1ab034aa647f98ecd0505
Describe the problem
I want to draw something on the screen by hooking "PostRender", but it reports an error that UFunction does not exist.
My Codes
RegisterHook("/Script/Engine.UGameViewportClient:PostRender", function(self, canvas)
    local GameViewport = self:get()
    print(string.format("[PostRenderMod] GameViewport [0x%X]\n", GameViewport:GetAddress()))
end)

Error Log
[15:27:17] Error: [Lua::execute_file] lua_pcall returned Tried to register a hook with Lua function 'RegisterHook' but no UFunction with the specified name was found.
stack traceback:
	[C]: in function 'RegisterHook'
	...awler\Binaries\Win64\Mods\PostRenderMod\scripts\main.lua:1: in main chunk

You cannot hook purely native functions with Lua unless there's an interface for that specific function, which there isn't.
The RegisterHook function hooks UFunctions that can be found in UE4SS_ObjectDumper.txt.
That file can be generated by hitting the J shortcut while ingame.


One-click copy to clipboard

Clicking the HEX value or the pound sign should copy directly to the clipboard.
Is the Flash-thing really the only way to accomplish this?
Also, add some UI to confirm successful copy.

No, Flash is not needed. https://twitter.com/rauchg/status/601187683529039872

Thanks for the tip!


Project Contributor add block move to person

If you add a contributor, then add another contributor it is possible to lose the list of people you have added if you accidentally click a persons details
add contributor> find name, add them with the plus,then add another, click that persons description, yu navigate to the person details, and the you have lost the list of people you add people you added.

This issue should now be resolved (clicking to view a user profile opens in a new tab). Please try it out and let us know what you think.


Add more ci builds

This PR adds several extra CI builds for Mac and Linux.
I have added several basic builds to test the following:

gcc 7-10 and clang 6&8-10 on Ubuntu 18 (for basic compiler compatibility)
gcc-9 and apple-clang-11 on Mac OS 10.13, 10.14, and 10.15 (for OSX compatibility)
A very small subset of the CMake options this project offers, on clang-9 and gcc-9 on Ubuntu 18

I did not go very far with regard to testing different combinations of the CMake options. There are 2^n possible ways to choose these options; complete coverage would be absurd.
Similarly, there's a combinatorial explosion of different possible OS/compiler setups to use, and I'm not going to try for complete coverage there either.
I have noticed that the more CI builds you attempt at once, the higher the chance that a few of them will fail due to package manager timeouts. At this stage, I have to re-trigger several builds manually before they all pass.
I feel that several (if not all) of these CI builds are necessary, just so we know what environments this project does and does not work in. However, I'm not convinced that these extra builds are useful to our users. I would expect most users to rip out most of these builds as soon as they begin their projects.
I am posting this as a draft PR because I need feedback: This is definitely not ready to merge.

I’m thinking about closing this, even though it might be useful for some people. Travis CI recently added limits to the amount of time that can be spent running CI tests for a free open-source account; this PR will eat up all those minutes real quick. Normally, one build of the project takes around 10 min; this PR takes nearly an hour.


Add prop 'scrollViewProps'

It allows us to override the props of the ScrollView, for instance setting horizontal=false.

@janoist1 tks for your contrib!


avm.CreateAddress not working

Describe the bug
avm.createAddress not working
To Reproduce
Follow Getting Started.
Run Gecko with /build/ava
Run sh keys/genStaker.sh
Run
curl -X POST --data '{
>      "jsonrpc": "2.0",
>      "id": 1,
>      "method": "avm.createAddress",
>      "params": {
>          "username": "testuser",
>          "password": "pass"
>      }
> }' -H 'content-type:application/json;' <IP_ADDRESS>:9650/ext/keystore

Response {"jsonrpc":"2.0","error":{"code":-32000,"message":"rpc: can't find service \"avm.CreateAddress\"","data":null},"id":1}
Expected behavior
Some sort of retuning of address
Operating System
Mac OS
Additional context

Can I fire curl command from anywhere or it has to be from specific location ?
Can I fire curl command with same username multiple times ?
What are the list of errors and descriptions ?

By submitting this issue I agree to the Terms and Conditions of the Developer Accelerator Program.

go version go1.13 darwin/amd64

@kushptlapigarage Hi, thanks for taking the time to submit an issue.
This problem is occurring because the test network is down, and your node is unable to bootstrap into the network.
We will work to improve the user experience and messaging so this is more obvious in the future.


feat(connector): add nats integration test

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
Add integration test for nats source/sink.
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

You may need to add query.sql and data_check files, please refer to the ci/scripts/integration-tests.sh for the steps of integration test.

Hi @yufansong, do you plan to go on this work?

Hi @yufansong, do you plan to go on this work?

Oh, almost forget this one. I can continue this one in next week. Currently busy with some more urgent task. Thanks for remind. @StrikeW

You may need to add query.sql and data_check files, please refer to the ci/scripts/integration-tests.sh for the steps of integration test.

@StrikeW I have checked the ci/scripts/integration-tests.sh logic. Currently I test it manually by running the run_demo.py, check_data.py and clean_demos.py. Is there anything I need to test?

You may need to add query.sql and data_check files, please refer to the ci/scripts/integration-tests.sh for the steps of integration test.

@StrikeW I have checked the ci/scripts/integration-tests.sh logic. It can run correctly in run_demo.py, check_data.py and clean_demos.py. Is there anything I need to test?
But I didn't directly run the ci/scripts/integration-tests.sh locally because of some env parameter configuration. Is there any way to run it directly?

You can build a docker image against your branch then trigger the integration test pipeline manually from buildkite and specify your image via the RW_IMAGE parameter.

You may need to add query.sql and data_check files, please refer to the ci/scripts/integration-tests.sh for the steps of integration test.

@StrikeW I have checked the ci/scripts/integration-tests.sh logic. It can run correctly in run_demo.py, check_data.py and clean_demos.py. Is there anything I need to test?
But I didn't directly run the ci/scripts/integration-tests.sh locally because of some env parameter configuration. Is there any way to run it directly?

You can build a docker image against your branch then trigger the integration test pipeline manually from buildkite and specify your image via the RW_IMAGE parameter.

Yeah, I test it in buildkite intergration-test workflow and the result is correct.

basically LGTM, are there related tests in CI?
@tabVersion I manually trigger the test here


Trait method getAttribute has not been applied, because there are collisions with other trait methods

Trait method

getAttribute
and -  setAttribute
and -  save
and -  toArray
and -  __isset
has not been applied, because there are collisions with other trait methods
with laravel-translatable  in dimsav/laravel-translatable.
how should i use it ??

Here the answers:
http://php.net/manual/en/language.oop5.traits.php#example-208
https://github.com/dimsav/laravel-translatable/issues/242
http://stackoverflow.com/questions/25064470/collisions-with-other-trait-methods
there is no solution :(


How can miss point to draw line to next point?

Hi, Gion!
For example, I have 12 label and 12 points. Let's pretend that one+ are missed.
Are there any possibilities to draw line from last existing point to first existing point ?
Thank You.
Screenshot 1 - Desirable behavior

Screenshot 2 - No point at all makes points pulling to left

Screenshot 3 - No x or y breaking the line

Sorry, Gion!
My bad!
Good chart.

Hey, Gion.
It's me again.
I have another issue.
Here's my code:
new Chartist.Pie('.ct-chart-pie',
{
labels: ['14%', '7%', '8%', '71%'],
series: [
{
className: 'affiliate-affiliate-pie',
value: 14
},
{
className: 'other-affiliate-pie',
value: 7
},
{
className: 'jv-affiliate-pie',
value: 8
},
{
className: 'product-affiliate-pie',
value: 71
}
]
},
{
donut: true,
donutSolid: true,
donutWidth: 65,
width: '242px',
height: '242px',
}
);
I want to get pie chart with donutSolid: true, but it's doesn't work for me.

https://www.npmjs.com/package/chartist-plugin-fill-donut
Is it possible you needed this? I don't really know anything about it, but I came across it so I thought I'd mention it.

NetherGranite, plugin is not what I need. Documentaion says "No need any plugins".
Found another issue.
Labels are placed incorrect.


Add an allocator test that backtracks across claims

Adds an allocator test to backtrack not only across requests within the same claim, but across two different claims.

Looks like the commit was pulled in, closing.


Barrel Shaders added into Godot

I've made a barrel shader and put it in the folder, Shaders.
You can load those shaders somewhere else, if its not meant to be on the chessboard node.
Link to the Godot shader: https://gist.github.com/quiglemj/971f4cec1b128c58b4864c5200bfc579

The feeling of this shader is not that smooth, unfortunately. Thank you, though


Content guidance needed for notifications and graphical examples should match the guidelines

There doesn’t seem to be explicit guidelines about how notifications should be worded.
Are we to use these "Informational notification", "Error notification", "Warning notification", and "Success notification" as titles?

Are we supposed to use complete sentences and punctuation in notification titles or no?

Are exclamation marks ok to use? Typically supposed to avoid them (IBM Style).

Or even punctuation after incomplete sentences (notice how the visual style is different too):
Should titles be complete sentences with verbs and with/without punc or no?

We have to add to this guidance: https://carbondesignsystem.com/components/notification/usage

and scrub the CDS guidelines for examples that don't follow the guidance.

Revised 3rd bullet under "Title" in https://carbondesignsystem.com/components/notification/usage -https://github.com/carbon-design-system/carbon-website/pull/3904. Awaits @laurenmrice's review.


Upgrade ffmpeg to 4.4.x for AV1 decoder enablement.

AV1 encoding with and without HW acceleration is only supported in ffmpeg 4.4 versions and above. Also this needs installing libdav1d which worked only from source installation in my experement.
@kiritigowda : can you please try putting this in setup scripts.

@rrawther -- Testing with this version -- https://github.com/FFmpeg/FFmpeg/releases/tag/n4.4
Is this good?

FFMPEG -- 4.4.2 set as the default install. Missing libdAV1D install

@rrawther do you still need any updates or current TOT changes in setup good?

@rrawther please reopen this issue if the setup is not installing the required deps.


Character falls through the ground upon floor transtition

While I played OTC 1.1.1 on Windows, it occasionally happens that the character falls through the ground, while moving on to the next floor. Therefore, the episode terminates.

redundant #22


fix when value is object, oldValue always equal value.

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information: fix when value is object, watcher value is reference，so cb function  oldValue always equal value.

fix when value is object, watcher value is reference，so cb function oldValue always equal value.

Thanks for the PR but this is expected, the object is mutated but it's the same, so oldValue will be equal to value in watchers


Profile configuration example (formatter)

Hi,
I can't find any example resources for the profil configuration. I'm hitting a wall for the formatter configuration.
I want to translate in v3 the following profiles (which were written for 2.x) under behat.yml but the formatter key isn't recognized
local:
    formatter:
        name: progress,html
        parameters:
            output_path: ,ci/build/behat/index.html
            language: en
    extensions:
        Behat\MinkExtension:
            selenium2:
                wd_host: http://<IP_ADDRESS>:4444/wd/hub

build:
    formatter:
        name: progress,junit,html
        parameters:
            output_path: ,ci/build/behat/junit,ci/build/behat/index.html

I think it is already merged

Configuration:
default:
  formatters:
    progress: true

works for me.
One issue for me is Behat configuration is validated by https://schemastore.azurewebsites.net/schemas/json/behat.json schema.
I don't know there that validation is defined, but that schema has a typo: "progress:" instead of "progress"
It is may be some PhpStorm plugin...
Anybody knows who/where should/can to fix it?


is it wrong to get oauth code

when i want to get auth code,but need access token in authenticate.

I agree, the authorization_code grant flow seems to be broken. I'm currently writing up an overview of the problem that I will post in #304 once I'm done. I'll provide a fix if nobody tells me that there is a better one (something that works with the current implementation.

Correction: Broken was a bit of a strong wording. You can override the default behavior by providing your own authenticateHandler to OAuth2Server#authorize. It has to implement a handle function like this:
.authorize({
  authenticateHandler: {
    handle: function(req, res) {
      // get authenticated user or return falsy value, e.g.:
      return req.session.user;
    }
  }
});

@maxtruxa , your response is very insightful, but I would like to add a small clarification/explanation: when the authorize handler object attempts to get the user, it defaults to the original authenticate handler (as in the authenticate handler object in the library). This handler, in turn does its job by looking for tokens throughout the http request. Here, we have the chicken-before-the-egg conundrum between the token and code. The solution @maxtruxa is suggesting (which I really like), is to reset the "authenticate handler" to one that just looks at the current session (courtesy of passport or whatever session middleware there's available). I think this is a good approach because by this point, you're POSTing to the oauth server (they already clicked the "yes, let so-and-so app see my data" button), meaning that you must have already gotten the person logged in, so you should have their session.
These are my thoughts after scrambling around for a couple of hours. I'm pretty sure I got a couple of things wrong, and would love feedback!

You're absolutely right. The default handler would work if you already had an existing access token, but I don't think it's a good idea to allow refreshing of said access token by just posting it to the token endpoint. That's what refresh tokens are for.
Depending on feedback I'll probably propose to remove the default handling; simply because it doesn't make sense.

Personally I'm all for removing that default, and it might be worth pointing out that this is not the first time similar thoughts and questions have been raised: https://github.com/oauthjs/node-oauth2-server/issues/264 :)

Closing in favor of #264.


Launch position of PowerToys Settings window is quite Unpredictable

ℹ Computer information

PowerToys version: 0.29.0
PowerToy Utility: PowerToys Settings Window
Running PowerToys as Admin: True
Windows build number: 19042.685

📝 Provide detailed reproduction steps (if any)

Launch the PowerToys Settings from System Tray / Notification Area
Try the changing the Window Position or Maximize the window
Close and Reopen it.

✔ Expected result
The Window Should remember it's last position and size before closing.
❌ Actual result
The Result is mostly as shown in below ScreenShot. The Window doesn't remember it's last position or size.
📷 Screenshots
1920x1080 Screen

This is tracked in https://github.com/microsoft/PowerToys/issues/3685


Single tech/databricks 182 linters

Purpose

Adding the Markdown Linter mentioned in #159

Does this introduce a breaking change?

[X] No

Author pre-publish checklist:

[X] No PII in logs
[X] Made corresponding changes to the documentation

@xinsnake quick idea, let's add this extension on vscode yzhang.markdown-all-in-one it helps to see what's wrong in the markdown when writting.


Fix broken package v0.7.4

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy
[ ] Ensured the license file is being packaged.

Fix broken package (see https://github.com/conda-forge/r-pillar-feedstock/issues/4).
The most recent version 1.0.0 is being updated via the master branch in PR #2. The branch 0.7.4 and this PR were created to fix the older version 0.7.4.

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) and found it was in an excellent condition.


update references to EEA Community Projects

Noticed one or two instances of governed by the Ethereum-Oasis Project'. These should be changed to 'governed by EEA Community Projects' and link to https://entethalliance.org/eeacommunityprojects/.

@OASIS-OP-Admin - This is addressed in PR#63: https://github.com/eea-oasis/baseline-standard/pull/63/commits/d1462742f5a6de6fb4381e32c8bfda9c879aa89d


ROX-11317, ROX-11316: Adding filter select and default category functionality to Policy Categories

Description
As title suggests -- also adding default category select dropdown as well. Should function as expected and look like below:

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

/retest


[fix](local exchange) fix bug of accesssing released counter of local data stream receiver

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


[question/feature request] keyed services in delegate resolution

is it possible to use keyed services in delegate resolution?
what i mean is like this:
var c = new DryIoc.Container();
c.RegisterInstance("firstInstance", serviceKey: "firstInstance");
c.RegisterInstance("secondInstance", serviceKey: "secondInstance");
c.RegisterDelegate(([Keyed /* key resolved from parameter name */]string firstInstance,
    [Keyed("secondInstance")]string sec) => firstInstance, serviceKey: "test");

Assert.AreEqual("firstInstance", c.Resolve<string>("test"));

passing parameters could go along the lines of wrapping values like "myparameter".WithKey("key") that would create a key-value tuple.
i understand that this would create some runtime overhead, however that's a price the user could choose to pay.
being able to resolve dependencies from parameters would also be nice. (see ninject parameters)

@kicsiede Looking...

I did a small change to enable this scenario you may look at my commit, especially into the test.
I still need to fix one regression. But acshually the change simplifies and speedups the Delegate registration.
So thanks for bringing my attention to it.

i guess in the changed version i get the ParameterInfo instances of the original delegate.method now, so i can default to par.Name like this:
  var c = new Container(Rules.Default.With(parameters: static request => static par /* note in v5.4.3 par.Name == "par1" instead of "first" */ =>
      {
          var attr = par.GetCustomAttribute<KeyedAttribute>();
          return attr != null ? ParameterServiceInfo.Of(par, ServiceDetails.Of(serviceKey: attr.ServiceKey ?? par.Name)) : null;
      }));

how would you go about passing instances / keyed instances when resolving? for single resolutions should i create a copy of the container and add new registrations there, or is there a more efficient way?

how would you go about passing instances / keyed instances when resolving? for single resolutions should i create a copy of the container and add new registrations there, or is there a more efficient way?

What do you mean?, provide the example please.

var c = new Container(Rules.Default.With(parameters: static request => static par =>
{
    var attr = par.GetCustomAttribute<KeyedAttribute>();

    return attr != null ? ParameterServiceInfo.Of(par, ServiceDetails.Of(serviceKey: attr.ServiceKey ?? par.Name).RequiredServiceType, ServiceDetails.Of(serviceKey: attr.ServiceKey ?? par.Name)) : null;
}));
//c.RegisterInstance("firstInstance", serviceKey: "first");
//c.RegisterInstance("secondInstance", serviceKey: "second");
c.RegisterDelegate(static ([Keyed /* key resolved from parameter name */]string first, [Keyed("second")]string sec) => first, serviceKey: "test");

c.Resolve<string>("test", args: ["firstInstance".AsKey("first"), "secondInstance".AsKey("second"), /* some keyless service */42]);

@kicsiede Key resolved from the parameter name does not look so robust to me.
Maybe you can do [Keyed(nameof(first)]string first...
c.Resolve<string>("test", args: ["firstInstance".WithKey("first"), "secondInstance".WithKey("second"), /* some keyless service */42]);

For this feature I have an issue opened: https://github.com/dadhi/DryIoc/issues/222
Now I need to think if I need to do that for the upcoming release or stop adding the features :)

regarding the parameterless keyed attribute: yeah, that was my first thought as well, but then i realized that i cannot reference the name at the registration site anyway, so a proper error message is needed for failed binding in either case. (as a side note the key-type coupling in itself is also a kind of fragile construct imho)

I have cleanup the fix for all things related and will close the issue. I likely will look into #222 before release, because I stumble on tests for #191 with passing the arguments, and it happens to be related to the other stability fixes I am working on.


Fully-functional and easy-to-use Sticky Sidebar available

Hello,
I needed a good working sticky sidebar for FoundationPress and now that it is working, I thought I should make it available for anybody who might be interested. You will find it here:
Code: https://github.com/HenkBarreveld/FoundationPress-Sticky-Sidebar
Demo: http://fpdemo-ss.urbino.nl/

Please be aware: this only works with FoundationPress up to v1.7.2
FoundationPress v2.0.0 and later, based on Foundation 6, use a different html structure for which Sticky Sidebar still has to be adapted.

:+1: Cool! You should consider adding your plugin to the WordPress plugin repository.


Support for environments in private non-enterprise repos

Currently, environments API is only available in public and enterprise repos. This makes GDC unusable for private non-enterprise repos.
Look into making a fallback to parsing environments from releases, as it used to be.

Fixed in v49.


[fix-5107]: PagerDuty data collection limit with service filtering

Does this close any open issues?
Closes #5107
Screenshots
Wrote a script to generate a little over 10k incidents on my account. The reported error was reproduced with the original code, and resolved by the fix. Exactly up to 10k latest incidents will now get returned.

Other Information
Any other information that is important to this PR.

@keon94 Please cherrypick this to release-v0.17 if needed.


Add an explorer/title menu contribution point

Currently extensions can't contribute to the Explorer's title menu

It would be great to allow this. For example it would allow for a better UX in the Toggle Excluded Files to add the toggle there rather than omni-present in the statusbar (See #103536 for an ask)

@eamodio I think this is a fair request.
However, I would be worried that too many actions end up being there which would lead to too many details.
So for now no immediate plans but let's leave in the backlog and I am open to allow this in the future if there are more good use cases.

😢

However, I would be worried that too many actions end up being there which would lead to too many details.

@isidorn that could be mitigated by implementing a '...' secondary actions menubutton which would appear if at least one contribution to explorer/title specified a group that disqualifies it from being a button on the title. The `scm/title' menu operates this way.

An "Add config files to project" extension would be a good client of this menu, probably others. Following SCM view's lead as @gjsjohnmurray suggests sounds reasonable.

🙏 Please reconsider for the backlog @vscode-triage-bot

On Deck is higher than Backlog

Awesome thank you @JacksonKearl! Maybe for the December 2021 milestone then 😁 🙏

'...' secondary actions menu button

It would be nice if this operated as an overflow -- e.g. 3 buttons can appear in the bar but on the 4th it appears in the ... section.

Explorer panel only. Some of the other panels already support contributions, such as SCM.

Do custom panels support buttons @JacksonKearl? We couldn't find anything about it.

@jaredbroad yes, I know GitLens's panels have actions, I assume the code is pretty much the same as core's panels.

Just to add to the mix with a use case we have in mind in educational contexts, Codespaces tends to assume that a user's default workspace is /workspaces/foo, but users can open a specific subfolder therein, as file File > Open Folder. E.g., if a user opens bar, they'll find themselves at a URL like https://{name}.github.dev/?folder=%2Fworkspaces%2Ffoo%2Fbar. Once there, though, it's not particularly obvious in GUI how to pop the stack to escape bar, except via, e.g., File > Open Folder again or by changing the URL to https://{name}.github.dev/?folder=%2Fworkspaces%2Ffoo.
Via an extension, then, we're hoping to add a "parent folder" icon to Explorer that takes students to .. with a single click or perhaps even a "home folder" icon that takes students back to /workspaces/$RepositoryName.
We can contribute such now via view/title, but the icons then end up appearing in multiple views, not just Explorer. Ideally, it'd be possible to scope such to that specific view, a la:
{
  "command": "extension.home",
  "group": "navigation",
  "when": "view == explorer"
}

Many thanks!
CC @rongxin-liu @jkeech

We can contribute such now via view/title, but the icons then end up appearing in multiple views, not just Explorer. Ideally, it'd be possible to scope such to that specific view, a la:

The explorer already has 4 icons which is where we normally cap number of displayed icons in a view panel. As @gjsjohnmurray stated once this is implemented these contributions are likely to exist as a ... menu within the explorer. I'm curious if you feel this will hinder student's discovery of the action


Document side effect: specifying no valid gateway causes libnetwork to create a new interface

Document side effect introduced by #535 where not providing a valid gateway will cause an additional interface to be created to maintain external connectivity.
Context:
10:04 <fkautz> madhu: working on a simple network plugin using docker's master branch. have you seen a case where docker will add an additional ethX into the instance?
10:05 <madhu> yes.
10:05 <fkautz> e.g. if i add an "eth" end point, i'll see eth0 and eth1 where eth0 is the one i added and eth1 looks like it is hooked up to bridge
10:05 <fkautz> is this expected behavior?
10:05 <madhu> fkautz: its the case where the network plugin doesn’t return with a valid Gateway
10:05 <madhu> if the network plugin doesn’t handle the default gateway for the container
10:05 <madhu> libnetwork will provide that as a service to the container so that it gets external connectivity
10:06 <madhu> if the plugin returns a valid default gateway, then libnetwork will NOT add that extra interface
10:06 <fkautz> does docker test the gateway?
10:06 <fkautz> or just returning a valid ip in the same subnet counts?
10:06 <madhu> fkautz: no. we don’t test the gateway. a valid ip will count
10:06 <madhu> this was introduced as part of https://github.com/docker/libnetwork/pull/535

Required information was added to the remote.md by #796


Getting images with hashtags seems to only work for recent images

For some reason I only get two images with this however there are definitely more that have been hashtagged.  The only thing I can think is that images older than a certain age are not reviewed.  Can you help with this?
var feed = new Instafeed({
get: 'user',
userId: ,
accessToken: '********',
limit: '4',
template: ' Image code in here',
filter: function(image) {
return image.tags && image.tags.indexOf('thetagname') >= 0;
}
});
feed.run();

Assuming you have only 2 images with your specific hashtags within the 4 loaded. Try to increase the limit option to get more images with the hashtag.

Cheers that kind of makes sense however I thought this command would only return the first four images that had the hashtag 'thetagname' rather than return the first four images and if some happened to have that hash tag in then great you get some images if not then bad luck!  So if I expand to say 100 then I may get four but I might get thirty!  How do I then limit the display to four if I have 30!

If you look at the source code you will see that the limit is applied just before the call of the filter function, it may has been right after.
Anyway, you can use the following trick to limit the result and achieve what you want :
var limit = 4, // set here the number of images you want to display
    count = 0;
var feed = new Instafeed({
    get: 'user',
    userId: ******,
    accessToken: '**************',
    limit: 50, // or even more
    template: ' Image code in here',
    filter: function(image) {
        count++;
        return count <= limit && image.tags && image.tags.indexOf('thetagname') >= 0;
    }
});
feed.run();

I appreciate your comments thank you.  I will give it a go.


[UI] Add ability to edit table description

Working on the ability to update table description.
#436
PR Checklist

[x] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added or modified a feature, documentation in docs is updated

Description of changes
Continue working on issue. I am still unable to update it.

The back end work is not in place for this feature yet. I'm not sure where it falls on the roadmap.

The back end work is not in place for this feature yet. I'm not sure where it falls on the roadmap.

That's what I thought when I encountered the same error again. Please keep me posted. Thanks!


nixos/flexget: add package option

Description of changes
Adds the nixos option services.flexget.package.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] 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

[ ] 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.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Will the failing documentation check get fixed with a rebase? It seems mkPackageOption uses docbook.


Offline Dataset download links have expired

As the title says.

Hi @mickelliu ，
Sorry this is a bug in the disk. we have fixed it in the latest commit, check the new link in the README.
Hope this can help you.

many thanks.

I still have difficulties downloading from PKU drives, as it disconnects frequently. I have tried to download on multiple devices but all failed.
Preheps you can host these files to an object storage service like Aliyun OSS or AWS S3? Google drive might be an option, but IIRC free account has a storage limit up to 15 GB.

HI, @mickelliu @cypypccpy  have you fix this prblem? The OpenDoor link listed in README.md has expired, can you update a new downlaod link or recover it?
Thanks.


Webpage is not rerun after changing code

Checklist

[X] I have searched the existing issues for similar issues.
[X] I added a very descriptive title to this issue.
[X] I have provided sufficient information below to help reproduce this issue.

Summary
In this navigation bar environment, if I change the code and refresh the webpage, the webpage is the same, I am using the example sample code and its behavior is the same, this is not what default Streamlit is doing, I am using the latest Streamlit code (v1.35) and the default behavior is whenever you change the Streamlit code, and refresh the browser, the webpage will update to reflect the changing code, however, if I use the Streamlit Navigation Bar, no matter how much I change the code, the webpage is static and never change
Reproducible code example
No response
Steps to reproduce
No response
Expected behavior
No response
Current behavior
No response
Is this a regression?

[ ] Yes, this used to work in a previous version.

Debug info

Streamlit version:
Streamlit Navigation Bar version:
Python version:
Operating System:
Browser:

Additional information
No response

report bug


Test if unpause prevents events allowed in paused state

Just a minor update to fully cover all of the possible execution branches. There was no testing scenario to check whether unpause resume blocking execution of methods marked as whenPaused.

Great addition, @jakub-wojciechowski. 😄


Not working with DataBinding

The inclusion of the new version of Kotlin introduced a bug where there is some incompatibility with data binding (discussion of the issue in the official bug tracker).
https://youtrack.jetbrains.com/issue/KT-8007

I hope JetBrains or Databinding team will fix it soon....

Is this issue resolve now ? I am current facing the same issue . Binding file is not generating . If you need more details then please ask .


[MNT] Fix workflow concurrency

#339 did not cancel the previous run on main when a new PR was merged. This attempts to fix that.

This does work for PRs at least, I read up a little bit more and I imagine  ${{ github.workflow }}-${{ github.run_id }} is always going to be unique. ${{ github.workflow }}-${{ github.ref }} should cancel all runs for this workflow on the same branch, which is what we want I'm pretty sure if ${{ github.workflow }}-${{ github.head_ref }} fails.


Extend tests to test node 18

Node 18 is officially released. The CI should be updated to test it and node 16 should be added to the backwards-compatiblity tests.

@dyladan just attended the SIG for the first time and looking to get involved. I can take this one, if that is okay.

I've extended tests for node 18. But npm install breaks with node 18. Should investigating this be a part of this issue? Don't mind digging in further and including fixes in the PR.

Closing as https://github.com/open-telemetry/opentelemetry-js/pull/3048 has landed.


works great on android chrome, but unexpected shift in safari and ios chrome

Could you explain what you mean with 'shift', @jasan-s ?


 Doesn't inspire too much confidence.

Thank you for the contribution!


[MM-43349]: fixes posting edited code-blocks

Summary
fixes posting the edited message with enter when editing messages that contain code-blocks
Ticket Link
MM-43349
Related Pull Requests
n/a
Screenshots
n/a
Release Note
NONE

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/192242

Cherry pick is scheduled.


Add N notification styling

[x] I have verified there are no duplicate active or recent bugs, questions, or requests

Include the following:

PlaylistCore version: 1.1.1
Device OS version: 6.0
Devide Manufacturer: Huawei
Device Name: Nexus 6P

The notification doesn't follow the new android N styling.  See Google Play Music for an example

We should be using the media template provided (see https://material.google.com/patterns/notifications.html#notifications-templates)


listMetrics failed in each Compartments in profile DEFAULT/

I installed Grafana (latest version) from the OCI marketplace.  Dynamic group and policy set up and verified.  When attempting to add datasource with instance principal authentication, get the following error:
listMetrics failed in each Compartments in profile DEFAULT/
Using OCI credentials works fine and allows a datasource to be created.
Could this policy autocreated by the stack not be sufficient?
Allow group grafana-dynamic-group to read all-resources in tenancy |

Hi @eshneken . Well, depends also how your dynamic group is setup, stated you are using instance principals in this case. However the policies which are confirmed to work are the following:
allow group grafana to read metrics in tenancy
allow group grafana to read compartments in tenancy
where "grafana" in this case is the name of the dynamic group

yes but I think there is a mismatch here between group and dynamic group. Are you assigning this policy to a group (users) or a dynamic group(instances) ?

I was getting the same error in Grafana, listMetrics failed in each Compartments in profile DEFAULT/
It turned out I had used the wrong OCID in my Dynamic Group definition.
I found this out by installing OCI CLI, setting the env var export OCI_CLI_AUTH=instance_principal and running the command:
oci monitoring metric-data summarize-metrics-data \
  --compartment-id [insert compartment id here] \
  --namespace oci_computeagent \
  --query-text 'CpuUtilization[1m].mean()'

At first I was getting 404 Not Found or Not Authorized. After I corrected the Dynamic Group rules, I started getting back proper answers.
You can use the above command to validate access from your Grafana instance, in terms of it being able to read metrics.


Using Kinect2 with the JETSON TX2

Hi,
Instead of using the onboard camera, i am working on using the Kinect2 to stream the video.
I used iai_kinect2 driver to get Kinect image as ROS messages, then use ros-virtual-cam package to bind the ROS message to /dev/video1.
However, I get the problem of image format YV12 is not supported, when running the imagenet demo.
Any experiences using Kinect2 with Jetson TX2?
Thank you!

Hi, here is a JetsonHacks article about using Kinect2 with Jetson TX1 (TX2 should be similar):
http://www.jetsonhacks.com/2016/07/11/ms-kinect-v2-nvidia-jetson-tx1/
Are you able to use libfreenect2 to interface with the Kinect2?