Multivariate time series using Auto ARIMA

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #6995

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hello @hectorkambow, I have updated my article to remove the similarities that were in the introduction part.
This PR is a duplicate of #7239.

Plagiarism check complete

@Bayler can we get an update on this PR?
It may just be the labels that need to be updated?
Just want to make sure no extra edits are needed?

@jamesomina99 Please take note of all the commits made in this tutorial to better your next article.

We will be reviewing this (& publishing if it is ready) ASAP.


feat(CSI-227): allow host networking via configuration

TL;DR
This pull request introduces a conditional configuration to enable hostNetwork support for the csi-wekafsplugin Helm chart. The changes involve adding conditional checks in the templates to apply the hostNetwork settings based on the values provided.
What changed?

Added conditional statements to controllerserver-statefulset.yaml and nodeserver-daemonset.yaml to apply hostNetwork settings.
Updated security context constraints templates to allow host networking when the hostNetwork value is true.
Modified port numbers in the nodeserver-daemonset.yaml to accommodate the hostNetwork setup.

How to test?

Set hostNetwork: true in the values.yaml file.
Deploy the Helm chart.
Verify that the necessary resources are deployed with the hostNetwork configuration.

Why make this change?
This change is motivated by the need to support host networking for specific environments where pod networking might be insufficient or problematic, such as Weka clusters running on top of Kubernetes. Allowing conditional hostNetwork configuration provides greater flexibility and control over the networking setup of the CSI driver components.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#288  👈
#287
#286
#278
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sergeyberezansky and the rest of your teammates on  Graphite

Merge activity

Jul 31, 6:51 AM EDT: @sergeyberezansky started a stack merge that includes this pull request via Graphite.


status: handle errors when writing output

The outputters in status.go are ignoring the error returned while writing the output. These errors should be handled and not ignored. Some of the functions that are returning error are fmt.Fprintf(), json.Encoder.Encode() and template.Template.Execute().

I'd like to tackle this one if it's okay. If I don't have anything by mid-next I'll release it for someone else to take.


Add support for Docker and Kubernetes

Changes

Add Dockerfile and .dockerignore to build a Docker image
Add kube-deploy.yml file to deploy the demo to a Kubernetes cluster. Includes a service, deployment and ingress configuration
Update URls to use the new cloud.ibm.com
Update .travis and semantic-release to build and publish the docker image
Add jest and codecov to track our code coverage

Related to: https://github.ibm.com/Watson/developer-experience/issues/6230

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d4b1a0c). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #139   +/-   ##
=========================================
  Coverage          ?   97.77%
=========================================
  Files             ?        4
  Lines             ?       45
  Branches          ?        3
=========================================
  Hits              ?       44
  Misses            ?        1
  Partials          ?        0

Impacted Files
Coverage Δ

config/express.js
92.85% <100%> (ø)

config/i18n.js
100% <100%> (ø)

config/error-handler.js
100% <100%> (ø)

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 d4b1a0c...c9e99b7. Read the comment docs.

@mediumTaj the credentials aren't real. They were there to show show the real ones look


Due date sort not working

Description
When accessing the issues tab within a repository and attempting to sort by due date (nearest and farthest), the issues are listed in an incorrect order. I'm also filtering the issues by milestone and assignee, while trying to sort by due date. The issue occurs in this URL: Host/Organization/Repository/issues?q=&type=all&sort=nearduedate&state=open&milestone=Milestone&assignee=Assignee
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
I'm currently running Gitea on a container.
Database
PostgreSQL

Apperently, by removing the deadline from the milestone, the sort by issue due date works fine. I understood the sort behavior by reading this file.


nixos/luksroot: Support adding a list of credentials to fido2luks

This adds support for using multiple fido2 keys for luks decryption
Description of changes

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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

How do I re-add @dasJ as reviewer? I see I accidentially removed him, and the cog on the reviewers list is not there.


[Feature]: Separate device & user installers

What is your feature request?
It would be useful and if somehow possible to differentiate the following two installer types with it's own attribute e.g. Context, one for device and one for user:

Not sure if this has been requested before, and if it's automatically detectable from the source.
Have you tested against the current version?

[X] Yes, I've updated Evergreen and tested against the current version.

Have you reviewed the documentation?

[X] Documentation at: https://stealthpuppy.com/evergreen/

There's other apps that need something similar, so I'd need to come up with a way to provide an extra property for all apps hosted on GitHub in Get-GitHubRepoRelease.ps1

Fixed in v2305.795

Thanks! Will test it out and ensure its possible to specify this in the Intune App Factory. Great work!

Here's what you get:
Version       : 0.69.1
Platform      : Windows
Architecture  : ARM64
Type          : exe
InstallerType : Default
Date          : 12/4/2023
Size          : 210938448
URI           : https://github.com/microsoft/PowerToys/releases/download/v0.69.1/PowerToysSetup-0.69.1-arm64.exe

Version       : 0.69.1
Platform      : Windows
Architecture  : x64
Type          : exe
InstallerType : Default
Date          : 12/4/2023
Size          : 217025656
URI           : https://github.com/microsoft/PowerToys/releases/download/v0.69.1/PowerToysSetup-0.69.1-x64.exe

Version       : 0.69.1
Platform      : Windows
Architecture  : ARM64
Type          : exe
InstallerType : User
Date          : 12/4/2023
Size          : 210938496
URI           : https://github.com/microsoft/PowerToys/releases/download/v0.69.1/PowerToysUserSetup-0.69.1-arm64.exe

Version       : 0.69.1
Platform      : Windows
Architecture  : x64
Type          : exe
InstallerType : User
Date          : 12/4/2023
Size          : 217025584
URI           : https://github.com/microsoft/PowerToys/releases/download/v0.69.1/PowerToysUserSetup-0.69.1-x64.exe

And for another app:
Version       : 3.9.9
Platform      : Windows
Architecture  : x86
Type          : exe
InstallerType : Portable
Date          : 19/4/2023
Size          : 70314744
URI           : https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.9.9/Beekeeper-Studio-3.9.9-portable.exe

Version       : 3.9.9
Platform      : Windows
Architecture  : x86
Type          : exe
InstallerType : Default
Date          : 19/4/2023
Size          : 70477640
URI           : https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.9.9/Beekeeper-Studio-Setup-3.9.9.exe

Excellent work!


Feature Request: Assign existing issue

A nice addition would be if it would be possible to assign an existing Jira issue to a Sentry group.

+1

+1


Improve error for invalid vmq_diversity modifiers

Make the vmq_diversity errors more meaningful when returning an invalid or unknown modifier from a hook implementation

Thanks to @xbugster for making us aware of this

Cool, thank you.


[Documentation] Hydrogen Tab redirects to legacy gitbook

Description
The 'Hydrogen tab' in the Documentation takes you to an empty Legacy Gitbook.
Here if you click on "READ" you are redirected back to the Documentation.
Expected behavior
Should be removed(does not serve any purpose), if not it should simply return to the Home of the documentation (Introduction)
Screenshots

@Purukitto This is added by gitbooks, and if this is possible to remove only @BenRussert or @rgbkrk would probably have access to change it and find out how to change it.


Code on Expert Specialization Experiments

Great work! And I am particularly interested in the section about "Expert Specialization".
I am reaching out to inquire if there is any publicly available code or additional material related to the experiments conducted in this section of the paper?  Alternatively, if the code is not available, any additional insights or tips on replicating the experiments would also be extremely helpful.
Thank you !

@Spico197  Please help

Hi there, thanks for your attention to our work~
You may check the code here to reproduce the visualization on gate loads:
https://github.com/pjlab-sys4nlp/llama-moe/blob/b17aff436cce58e2fcd7327789c7fadafe15d19e/smoe/entrypoint/analysis/gate_load_vis.py#L108-L116


chore: upgrade dependencies

#191  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pevisscher and the rest of your teammates on  Graphite


keptn upgrade should not display the warning about CLI and cluster mismatch

Enhancement
The keptn upgrade command should not display the warning: *Your Keptn CLI version (0.13.1) and Keptn cluster (0.12.0) don`t match ... * because at this point of time the CLI will always be ahead of the cluster:

Defintion of Done:

[ ] keptn upgrade does not display the warning message.

I would like to work on this issue

This ticket is superseded by the work done in https://github.com/keptn/keptn/issues/7846


Submit Validation does not clear Login failed! message

http://redux-form.com/5.2.1/#/examples/submit-validation?_k=dpmq4k
What is the recommended way to clear the Login failed! message?  In the example above, once the user starts editing the form again that message is no longer valid.

@jcalfee currently you can't do that as _error is already set and it will not go until you have another successful submit. You are correct , it is no longer valid but in any login screen if you retype the message doesn't go aways. Like try logging in gmail.

We just need to know if it is touched... So, this is the current display:

{error}

Adding another object should do the trick:

{_error.touched && _error.value}

End user experience is the think to consider here.

Yes, a CHANGE action will remove the submit or async error from a field, but not for the whole form.
I recently added an anyTouched flag to v6. It sounds like what you want is an anyTouchedSinceLastSubmit flag that gets set to false on every submit fail, and set to true any time any field changes.

Yes it is.. Ok, I'll look at how you did that may be I can figure out how to do something like that on the current release.  Thank you..

Hi @jcalfee
Have you figured out how to implement a anyTouchedSinceLastSubmit in the 5.x release ?
Thx


Update dependency for docker-py

Missing dist-requirements.txt.  I think it's more common too to not put spaces around ==


nodetool: parse and forward -h|--host to nodetool

Our launcher script (bin/nodetool) currently silently ignores the host parameter and nodetool will use the default value (<IP_ADDRESS>). This patch parses and forwards the host parameter to nodetool, so that it is possible to start JMX on other ips than <IP_ADDRESS>.

@scylladb/scylla-tools-maint please review/merge

@scylladb/scylla-tools-maint ping.


Paket pack: Duplicate files being archived when specified multiple times in templates

I came across an issue where files being specified more than once result in the same file being included multiple times in the nupkg archive. The behaviour can be reproduced using this commit. For instance, In FsPickler.fsproj, the paket template contains the following declarations:
type project
id FsPickler
...
files
    ../../bin/FsPickler.dll ==> lib/net45
    ../../bin/FsPickler.pdb ==> lib/net45
    ../../bin/FsPickler.xml ==> lib/net45
    ../../bin/net40/FsPickler.dll ==> lib/net40
    ../../bin/net40/FsPickler.pdb ==> lib/net40
    ../../bin/net40/FsPickler.xml ==> lib/net40

This will cause the net45 FsPickler.dll to be bundled twice, but not the same for net40.

The obvious fix here would be to omit the net45 declarations, but I would prefer the explicitness of the current version.
Taking this issue to the extreme, it is possible to do the following:
files
    ../../bin/FsPickler.dll ==> lib/net45
    ../../bin/FsPickler.dll ==> lib/net45
    ../../bin/FsPickler.dll ==> lib/net45
    ../../bin/FsPickler.dll ==> lib/net45
    ../../bin/FsPickler.dll ==> lib/net45

which yields the following result:

4e2547a  should do the trick

Hmm, the problem still reproduces with 1.9.2.

ah found another thingy

could you please try 1.9.3 - looks good for me

It seems to be working, however now the net40 files have disappeared from the archive - as if the files in the template are being completely ignored.

after running build.fsx PaketNugeton your branch and unzipping I see:

LGTM

Ok, so I ran clean/reset in my local repo and everything seems to be working fine. Thanks!


Impersonating

VSCode Version: 1.14.2
OS Version: Windows 10

Steps to Reproduce:

We have local TFS and logging to this through impersonating. Team Explorer work fine with it, but Visual Studio Team Services doesnt work. When i try "Team: signin" nothing are happening. Nothing is in log too.

Please file the issue against the https://marketplace.visualstudio.com/items?itemName=ms-vsts.team extension.


MAC removed from logs uploaded to Dasharo cloud

Resolves Dasharo/dasharo-issues#92

@kotylamichal are there any other sensitive informations worth dropping?

@kotylamichal are there any other sensitive informations worth dropping?

In my opinion, any other data cannot be recognized as sensitive or confidential. For sure MAC address doesn't exist in other log files which we collect.

Merging it to hcl-report-improvements. Edited issue description. adding - Resolves Dasharo/dasharo-issue#NUMBER we are able to automate closing given issues while merging the PR

Merging to hcl-report-improvements. Added resolves to description. Thanks to this this PR will be mentioned in issue. When we merge it to the main, issue should be automatically closed.


JAVA-2148: Migrate driver examples to driver 4

Two invocations are blocked on the https://github.com/datastax/java-driver/pull/1207, but once it will be merged it will work.
Besides that PR is ready to review.
Please feel free to suggest additional examples that could be specific to 4.x

We've agreed to create a follow-up ticket for the "custom concurrency" examples, let's take a bit more time to reflect on what we want to demonstrate. I've removed them for now, I have a backup local branch if someone needs them.

We've agreed to create a follow-up ticket for the "custom concurrency" examples, let's take a bit more time to reflect on what we want to demonstrate. I've removed them for now, I have a backup local branch if someone needs them.

I've pushed those examples here as a separated branch if someone want's to take a look at them:
https://github.com/datastax/java-driver/compare/java2148-async_examples?expand=1


feat: Add rclone package for file synchronization and remote cloud storage mounting

This is the same justification as https://github.com/ublue-os/ucore/pull/125/. Because of the way that rclone works, it cannot run within a distrobox container in order to mount the remote cloud storage, for instance:
rclone mount onedrive:/ /mnt/OneDrive (after setting up a "onedrive" remote).

This needs to run on the host system, similar to for instance, samba. I think it should be added to the base image to avoid layering.
https://rclone.org/commands/rclone_mount/

This is out of scope for the main images.


Custom logging backends

Currently, the logging backends are hardcoded. If the user wants something not supported, the only way to add it is by patching this crate. It would be nice to find some way to make the logging configuration & backends pluggable.

Somewhat done in recent spirit-log. It allows plugging other loggers in.


cross-process caches

I'm uncertain if this is a possibility, or even a good process.
I have a RESTful service running in Express that has multiple instances through pm2.
I use your library to create an in-memory cache for various items in the project, and use the file-cache package to save a token / credentials for a user on disk.  The reason I do this separately is I am afraid that a client request may hop between processes (it shouldn't, but it could).
For example:
Client authenticates, gets dashboard, sits idle for 2 minutes, goes to client page, gets different server.   At this point their token is no longer valid as the token seems to exist only on the first process they were on.
I was hoping creating a common folder with the processes all pointing to it might create a "shared" cache, but this doesn't seem to be the case.  If I authenticate in one browser, then switch browsers, I have to re-authenticate (different process).   If I run a single process, this isn't the case, I can switch between browsers fine as they all go to the same process.
Is it possible to have a "shared" cache between two processes in this case?
Thank you in advance.

It probably depends on how pm2 is creating separate processes.  If it's "manually" running two separate processes, I can't think of any way to do this with an in-memory cache.  But if it's running a master process and forking a child process from it, you could share the cache between the processes.
I haven't used this, but it might work for you if you are forking a child process: https://github.com/robby/node-lru-cache-cluster
You'd have to create your own wrapper for it, similar to https://github.com/BryanDonovan/node-cache-manager/blob/master/lib/stores/memory.js, but change lru-cache to lru-cache-cluster.
It would be worth a shot I think.

It looks like pm2 actually creates individual processes for each instance.  Thanks for your quick response!

No problem!


fix: typo

Thank you for your contribution! I applied this fix in #3112 because I could not edit your PR. For next time, please use conventional commit messages so that CI passes :)


relates to issue #9922

see issue #9922
this PR describes the test case where a parent directory is not a valid workspace, hence the crate in the sub folder valid is a valid standalone crate and should build correctly.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.
Please see the contribution instructions for more information.


onclick events possible?

Hi,
I'm wondering if there is an easy way to manage onclick events on certain points or bars or segments in a pie like shown here in a flot chart: http://www.flotcharts.org/flot/examples/interacting/
This would be awesome, thanks for your help!

I couldn't get the onclick method to work at all..
But I finally managed to run it using the click method:
$("#canvas_id").click(function(e) {
   var activeBars = myBarChart.getBarsAtEvent(e);
   console.log(activeBars[0]);
});

Hello, sorry to bother you but I can't figured out how to get the label on a click event, I created a little fiddle where you can see that when i tried a console.log it returns undefined, I would like to get an specific value on click, let's say something like this console.log(getSegmentsAtEvent.label), any help would be appreciate, thanks.

onClick events are also being simplified in 2.0.  You will already have access to the clicked elements in a variety of ways in the callback function, without having to retrieve those elements yourself.  Try it out on the latest alpha release!

Thanks for the quick reply, unfortunately I didn't quite get what you mean... I think I am using the latest version, am I? I donwload the plugin from here http://www.chartjs.org/, am I missing something?

I was hoping someone could help me as I have spent all day trying to get the onclick event in version 2 alpha referenced above to locate the users point data they clicked on in a radar chart. I am sure it is something simple I am missing though am unable to find documentation for this (which is fair enough for an alpha release) and would appreciate any help.

@ryansegus you just need to reference the array element for the object.
change:
console.log(activePoints[0].label);
to:
console.log(activePoints.label);

@ryansegus you just need to reference the array element for the object.
change:
console.log(activePoints.label);
to:
console.log(activePoints[0].label);

Thanks, it worked.

From the two bars stacked side by side, can I get the handle on one? When I use getBarsAtEvent(), it gives me both the bars but I want the exact one that I clicked.
Any idea?

Hi @Vipsy1982 , I have the same troube ... in stacked bars, I can't handle in which bar I clicked.

hi @silvioq , did you manage to solve this issue?, got the same problem

@yoav-w
I solved partially in this way, I don't know if it's correct ...
    barChart = Chart(ctx).bar( data, options );
    $("canvas#my-bar").on( 'click', function(e)
    {
        var bars = barChart.getBarsAtEvent( e );
        if( bars.length == 0 ) return;
        var best = null;
        var ctx = bars[0].ctx;
        var rect = ctx.canvas.getClientRects();
        if( rect.length == 0 ) return;
        var x = e.clientX - ( rect[0].x ? rect[0].x : rect[0].left );
        var y = e.clientY - ( rect[0].y ? rect[0].y : rect[0].top  );
        for( var i = 0; i < bars.length; i ++ )
        {
            if( bars[i].inRange( x, y ) )
            {
                best = bars[i];
                break;
            }
        }
        if( best === null ) return;
        // now "best" has the desired bar
 });

@silvioq Hey.. i try to run your code but the log said that I doesn't have getBarsAtEvent(e), so I change that with getElementsAtEvent(e) from ChartJS 2.0 docs.
and then the log said that there is no getClientRects() method, and I checked it on http://cheatsheetworld.com/programming/html5-canvas-cheat-sheet/
there is no getClientRects() method at all..

I already fixed the problem by using only getElementAtEvent(e)
` $("canvas#" + id).on('click', function (e) {
var bars = myChart.getElementAtEvent(e);
if (bars.length == 0) return;
            var element = null;
            element = bars[0];
            if (element === null) return;

            var labelElement, dataElement;
            labelElement = config.data.datasets[element._datasetIndex].label;
            dataElement = config.data.datasets[element._datasetIndex].data[element._index];

});`

this is my fix :
`
var myChart = new Chart(ctx, config);
$("canvas#" + id).on('click', function (e) {
var bars = myChart.getElementAtEvent(e);
if (bars.length == 0) return;
            var element = null;
            element = bars[0];
            if (element === null) return;

            var labelElement, dataElement;
            labelElement = config.data.datasets[element._datasetIndex].label;
            dataElement = config.data.datasets[element._datasetIndex].data[element._index];

        });

`

I think in each column plus a tags, each link that is

I have been working on a mobile application, where I use chart JS. I am stucked at one place where I need to draw chart by clicking on a icon.
The problem is, the icon is at template1.html and the chart should be drawn at template2.html. I am using angularJS. Therefore, every chart has its controller.
Therefore, all the code for the chart is at template2Controller. The question arrises, how to I draw the chart at template2.html by clicking an icon at template1.html.
template1.html
`

`

template2.html

                         <canvas id="dailyChart" ></canvas>

template2Controller
 $scope.daily = function() {     $http.get(jsonAPIURL`, {
}).success(function(response) {

   var dailyCoffee = [];

// console.log(dailyCoffee);
  angular.forEach(response, function(value, key) {
    dailyCoffee.push(value.ReadCurrency);
  });

  var daily = {
    labels: ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23'],
    datasets: [{

      backgroundColor: "rgb(3,191,179)",
      data: dailyCoffee
    }]
  };
  var ctx = document.getElementById('dailyChart').getContext('2d');

  var chartDaily = new Chart(ctx, {
    type: 'bar',
    data: daily,
     options: {
        responsive: true
          }
  });

});

};
`

Hi,
All the examples for onclick i've seen are either for plain HTML or something like Vue. Not much experienced with react, i was wondering if there was a way to get onClick for bar chart in react?
My code currently looks this (a very simple bar chart):

                 <Bar                     data={this.state.chartData}                     options={{                         title:{                             display:this.props.displayTitle,                             text:'Commission per order',                             fontSize:25                         },                         legend:{                             display:this.props.displayLegend,                             position:this.props.legendPosition,                         }                     }}                 />

Just wanted to know how to log the bar user clicks in. I am aware of the onClick prop but I can't seem to figure out how to use it.
Thanks in advance.

Okay, once I get the elements, how can I use them? I couldn't find anywhere on the docs documenting the methods and properties of the elements.

I used stacked bar. How can I know which bar is clicked
var ctx = document.getElementById("canvas1").getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels:months1,
datasets: [ vpndatasets, securitydatasets]
},
options: {
responsive: true,
legend: {
position: 'right'
},
onClick: graphClientEvent,
title: {
display:false,
text: 'IT & Security Forms Summary'
},
hover: {
mode: 'index'
},
scales: {
xAxes:[{
stacked: true
}],
yAxes: [{
stacked: true,
scaleLabel: {
display: true,
labelString: 'Form ID'
},
ticks: {
beginAtZero:true
}
}]
}
}
});
});
function graphClientEvent(event, items) {
    if (items.length == 0) return;  //clicked outside any bar

    console.log('event', event);
    console.log('array', items);

}


⚠ Bofrost.at has degraded performance

In c36b935, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2506 ms

Resolved: Bofrost.at performance has improved in b7d7a09 after 11 minutes.


Ruby on Rails capstone project - Budget app

Features included in this application are as follows:

[x] Interactions

A simple page with the name of the app and links to the sign-up and log-in pages.

[x] Sign up and login pages

The user is able to register in the app with full name, email and password (all mandatory).

The user can log into the app using email and password.

If the user is not logged in, they can't access pages that require the user to be logged in

When the user logs in, they are presented with the categories page.

For each category, the user can see the category's name, icon and the total amount of all the transactions that belong to that category.

When the user clicks (or taps) on a category item, the application navigates to the transactions page for that category.

There is a button "add a new category" at the bottom that brings the user to the page to create a new category.

[x] Transactions page

For a given category, the list of transactions is presented, ordered by the most recent.

At the top of the page, the user could see the total amount for the category (the sum of all of the amounts of the transactions in that category).

There is a button "add a new transaction"  that brings the user to the page to create a new transaction.

When the user clicks on the "Back" button (<), the user navigates to the home page.

[x] "Add a new category" page

The user fills out a form to create a new category, indicating their name and icon (both mandatory).

The user clicks (or taps) the "Save" button to create the new category, and is taken to the home page on success.

When the user clicks on the "Back" button (<), the user navigates to the home page.

[x] "Add a new transaction" page

The user fills out a form to create a new transaction with:

name (mandatory)
amount (mandatory)
categories (mandatory at least one)

The user clicks (or taps) the "Save" button to create the new transaction, and is taken to the transactions page for that category.

When the user clicks on the "Back" button (<), the user navigates to the transactions page for that category.

[x] Testing requirements

Unit and integration tests were written for all the most critical components of the RoR application.

[x] Technical requirements

Postgres was used as the database.

Devise was used for authentication.

All user inputs were validated to ensure that anyone with bad intentions cannot compromise the app.

The project is deployed and accessible online.

The database schema reflects the given structure

[x] A video of the description of the application is given here

Thank you so much @Olamarx for your review. It was so unfortunate that you could not actually see the app. So I have gone ahead to make a video of me signing into the application from scratch and creating categories as well as products.
Please watch and let me know what you think.
https://github.com/Bestbynature/SpendWise/assets/104390780/e74bbccb-c406-4ec7-8116-6d68a21ecaa9

Good one @Bestbynature and from our discussion, I don’t know what happened from my end but I it was strange, anyways let’s hope the next reviewer could get through it.

Concerning the render issue, I believe the problem is on their side. I said that for two reasons:

[x] Render has had issues since last week that even Marco from Student Success was asking questions about it on Slack. He was trying to know if some other students were facing problems with their deployed apps on render.

[x] Secondly, I tested it when I finished deployment and it worked as fine as it did on my local machine. So if their system has suddenly made it unavailable again, I guess it's beyond my power. Isn't it?

Thank you so much for your time @Olamarx . I will resubmit now


WIP - Rpm experiments with symlinks

The symlink code that I have in here now seems to fix the CPIO issues - but it needs more cleaning up (i.e., a single call to a function instead of the cut-copy-paste code)

@tst-dsheremata: I've incorporated the changes from this pull request into #562.


tox - pylint integration

With the help of tox, we can test unit tests on different version of python on our local machine.
A decent amount of linting applied to the code with the help of pylint report which can be retrieved by running "pylint leexportpy" in the project directory OR by running tox(this will run unit tests on different python version too so it will take longer)

@StephenHynes7

LGTM


Update ServiceAccountTokenJTI, ServiceAccountTokenPodNodeInfo, ServiceAccountTokenNodeBindingValidation to stable

Description

Issue

The upstream K8s PR:

https://github.com/kubernetes/kubernetes/pull/128169

/cc @munnerz
/lgtm

Just the one pending comment, otherwise looks great, thanks! ☺
/lgtm

ping @tengqm
for approval

/approve


Add a changelog

Sounds reasonable to me. We can add one, especially since #828 changes everything.
https://blog.dbrgn.ch/2015/12/1/rust-crates-keep-a-changelog/
http://keepachangelog.com/

Hmm, there is a simpler way, I suppose - have a special "breaking" label for PRs. Each of them would have a "User breaking changes" list at the top of the description (like #828). One would be able to get a list of them with a simple search, and it doesn't require any maintenance.

See this thread on the reddit thread of that changelog post for the pros and cons of the labelling/tagged commit approach. tl;dr; a curated, high-level changelog that is diligently kept up to date is easier from the user's perspective.


the delay before displaying the name

 Issue by UsulPro
Friday Nov 25, 2016 at 08:59 GMT
Originally opened as https://github.com/storybooks/storybook-addon-options/issues/10

when set option
setOptions({
    name: 'React Theming',
})

it displayed with a slight delay, during which present title "React Storybook". This is repeated each time the page is refreshed

 Comment by arunoda
Friday Nov 25, 2016 at 14:51 GMT

@mnmtanish Is there anything we could do about this.
I hope this is something related to core Storybook UI.

 Comment by mnmtanish
Saturday Nov 26, 2016 at 11:36 GMT

The name is set by sending a message over the channel at the moment. I see 2 possible ways to avoid that and fix this issue right now:

call setOptions from addons.js file
use environment variables to set options

I prefer the first option because we can avoid adding more stuff to npm script line on the package.json file. The addons.js file usually stays out of the way so adding code we don't change often there is not an issue.

 Comment by arunoda
Saturday Nov 26, 2016 at 14:02 GMT

I also don't like the env vars.
Using addons.js is a good idea for now.

 Comment by UsulPro
Saturday Nov 26, 2016 at 14:34 GMT

Is this solution related to https://github.com/storybooks/react-storybook/issues/604?

 Comment by arunoda
Saturday Nov 26, 2016 at 23:09 GMT

@UsulPro I don't think it's directly related.

 Comment by christophior
Wednesday Apr 12, 2017 at 07:04 GMT

Can I get an example of doing this using the addons.js file option? I've given it a try but don't see it working for me.
Thanks!

 Comment by UsulPro
Wednesday Apr 12, 2017 at 11:04 GMT

@christophior unfortunately this delay is still present


Transaction too large error - using the latest wallet adapter

Describe the bug
Using the latest wallet adapter I am having the following error (Slope/Solflare):
"WalletProvider.tsx:153 WalletSendTransactionError: Transaction too large: 1288 > 1232"
Phantom:
inpage.js:315 Phantom - RPC Error: Transaction creation failed. {code: -32003, message: 'Transaction creation failed.'}
The snippet of my code is the following (this is using ORCA swap https://github.com/orca-so/typescript-sdk):
                const tokenPairA = tokenPoolA.getTokenB(); // USDC
                const tokenAmount = new Decimal(amountToSwap); // amount in USDC
                const quote = await tokenPoolA.getQuote(tokenPairA, tokenAmount);
                const convertedAmount = quote.getMinOutputAmount();
                const swapPayload = await tokenPoolA.swap(publicKey, tokenPairA, tokenAmount, convertedAmount);
                swapPayload.transaction.partialSign(...swapPayload.signers);
                 const signedTransaction = await sendTransaction(swapPayload.transaction, connection);
                await connection.confirmTransaction(signedTransaction, 'processed');

Previous wallet adapter this worked fine:
    "@solana/wallet-adapter-base": "^0.7.0",
    "@solana/wallet-adapter-react": "^0.13.1",
    "@solana/wallet-adapter-react-ui": "^0.6.1",
    "@solana/wallet-adapter-wallets": "^0.11.3",

Wallet Adapter used:
    "@solana/wallet-adapter-base": "^0.9.1",
    "@solana/wallet-adapter-react": "^0.15.1",
    "@solana/wallet-adapter-react-ui": "^0.9.2",
    "@solana/wallet-adapter-wallets": "^0.14.1",

I do believe that this may be caused by the partial sign - any feedback would be much appreciated

Could you link a repo with a reproduction? Happy to take a look at this.

Thanks alot for the super quick response just uploaded it
Full code for this is here:
https://github.com/Grape-Labs/OrcaSwap/blob/main/OrcaSwap.tsx
call would be:
<OrcaSwap swapfrom={"USDC"} swapto={"GRAPE"} portfolioPositions={portfolioPositions} />
variable for positions would be:
let portfolioPositions = { "portfolio":[{"mint":"8upjSpvjcdpuzhfR1zriwg5NXkwDruejqNE9WNbPRtyA","symbol":"GRAPE","coingeckoId":"grape-2","balance":1,"price":0.053341,"value":0.053341,"tokenInfo":{"chainId":101,"address":"8upjSpvjcdpuzhfR1zriwg5NXkwDruejqNE9WNbPRtyA","symbol":"GRAPE","name":"Grape","decimals":6,"logoURI":"","extensions":{"coingeckoId":"grape-2","website":"https://grapes.network"}},"usd_24h_change":-2.61696938875755},{"mint":"So11111111111111111111111111111111111111112","balance":1,"price":141.94,"value":141.94,"tokenInfo":{"chainId":101,"address":"So11111111111111111111111111111111111111112","symbol":"SOL","name":"SOL","decimals":9,"logoURI":"","extensions":{"coingeckoId":"solana","serumV3Usdc":"9wFFyRfZBsuAha4YcuxcXLKwMxJR43S7fPfQLusDBzvT","serumV3Usdt":"HWHvQhFmJB3NUcu1aihKmrKegfVxBEHzwVX6yZCKEsi1","website":"https://solana.com/"}},"usd_24h_change":-3.1622724372417026}}] }

Thanks for the response, but there's a lot going on in this code, and this repo is missing the entire project structure necessary to test this.
To spend time looking at this, I'll need to see an isolated piece of code that is runnable on its own and produces the issue.

Jordan thanks again for taking the time, here is a full version of the specific implementation including the wallet adapter (same error):
https://github.com/Grape-Labs/orca-swap

just a small update I downgraded my code (not the repo) - to the older wallet adapter - transactions not throwing that error and go through fine

These lines look suspicious:
                swapPayload.transaction.partialSign(...swapPayload.signers);

                const signedTransaction = await sendTransaction(swapPayload.transaction, connection);

You're partially signing a transaction without setting the recent blockhash or fee payer on it directly. I'm not sure if Orca's SDK sets these, but it needs to be done before signing or else the signature will change (and be invalid).
This is what sendTransaction is expected to do: https://github.com/solana-labs/wallet-adapter/blob/468815e6f6e722ca3e711f674c26a524f3ec921e/packages/core/base/src/signer.ts#L21-L29
Additionally, sendTransaction takes an options param which does partial signing:
https://github.com/solana-labs/wallet-adapter/blob/468815e6f6e722ca3e711f674c26a524f3ec921e/packages/core/base/src/adapter.ts#L14-L16
I would try just calling sendTransaction(swapPayload.transaction, connection, { signers: swapPayload.signers }) to use this functionality, and don't partial sign first.

Jordan I cannot thank you more for your recommendation! this works:
sendTransaction(swapPayload.transaction, connection, { signers: swapPayload.signers })
(no partial signing) - quite odd that this was not causing and issue before in the older wallet-adapter


Signed commit validation

This is a signed commit

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Validate WebSocket resources at compile time

Purpose

Resolve https://github.com/ballerina-platform/ballerina-lang/issues/6109

Goals

The resources are now validated at compile time and not during runtime

Approach

Write a WebSocketCompilerPlugin class

Shoudn't we validate the HTTP to WebSocket upgrade resource in the same PR. If not can we create a issue to track it.

Created issue to track it. https://github.com/ballerina-platform/ballerina-lang/issues/7222


support mocha reporters

Currently only "spec" is supported.

Most of the built-in reporters are supported since v1.1.1.

Custom reporters, such as mocha-junit-reporter, and reporter options supported since v1.3.0


the fusion.h file is mssing from Akagi

(Visual Studio 2019)
Cannot open include file: 'fusion.h': No such file or directory

https://github.com/hfiref0x/UACME/issues/126


Add tokio Semaphore to EthStateCacheService

Describe the feature
there's currently no ratelimiting in place when data is fetched via the EthStateCacheService
which can result in issues under heavy load.
TODO
integrate a semaphore in the EthStateCacheService which is then used to acquire permits before hitting the database.
Additional context
No response

Hi @mattsse I could take this one

cool,
todos basically

add config value for sempaphore, maybe 512 by default
integrate EthStateCache, await in spawned futures


Updated TupleExpr's getSourceRange to inspect child elements source ranges

In a TupleExpr, if the parens are both invalid, then you can only have a
valid range iff both the first element and last element have valid ranges.
Source ranges also have the property:
  Start.isValid() == End.isValid()
For example, given the buffer "one", of the form:
(tuple_expr
  (declref_expr range=[test.swift:1:0 - line:1:2] ...)
  (declref_expr range=invalid ...))
the range of this TupleExpr is SourceLoc() (invalid).
      v invalid                v invalid
      (     one,         two   )
      valid ^    invalid ^
COL:  xxxxxx012xxxxxxxxxxxxxxxxx
but the SourceRange of 'one' is 1:0 - 1:2.

Also added triple and quadruple tests.

@jrose-apple thoughts?

Looks good. Can you add a test for a tuple of all-invalid-location elements?

Yup sure thing.

I do already have a test for a tuple of invalid source ranges.
SmallVector<Expr *, 2> subExprsInvalid({ two, three });
 +  SmallVector<Identifier, 2> subExprNamesInvalid(2, Identifier());
 +  auto allInvalid = TupleExpr::createImplicit(C.Ctx, subExprsInvalid, subExprNamesInvalid);

But I did notice I had a typo in one of the strings.

Ah, whoops. Sorry to miss that.

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge


WIP: Add TypeScript definition

Closes #26

@drcmda still WIP 😢 but should be usable for Spring, animated and interpolate.

Oops, 😓could you make another? I thought this is only targeting Spring for now ...
Thanks for putting work into this!

@drcmda np,i'll make a PR soon.


Issue initializing LAN8720A in 4.0.1 (IDFGH-3465)

I have a custom designed board with an ESP32-WROOM-32D and a LAN8720A PHY. As clock I use the clock output of the ESP on GPIO17.
Most times I call esp_eth_driver_install I will get this error:
E (389) lan8720: lan8720_pwrctl(333): power up failed
E (399) lan8720: lan8720_init(369): power control failed
E (399) esp_eth: esp_eth_driver_install(193): init phy failed

As the board worked without any issue with the Arduino core, I did some debugging an found the issue inside lan8720_pwrctl: On powerup the power_down register is written and directly read out to check, if the the chip is correctly powered up. Unfortunately, it takes about 10msec for the register to update (like the reset register in lan8720_reset).
After finding that, I modified the lan8720_pwrctl to have a timeout for the powerup in the same way, as in case of reset:
static esp_err_t lan8720_pwrctl(esp_eth_phy_t *phy, bool enable) {
    phy_lan8720_t *lan8720 = __containerof(phy, phy_lan8720_t, parent);
    esp_eth_mediator_t *eth = lan8720->eth;
    bmcr_reg_t bmcr;
    PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK,
              "read BMCR failed", err);
    if (!enable) {
        /* General Power Down Mode */
        bmcr.power_down = 1;
    } else {
        /* Normal operation Mode */
        bmcr.power_down = 0;
    }
    PHY_CHECK(eth->phy_reg_write(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK,
              "write BMCR failed", err);
    if (!enable) {
        PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK,
                    "read BMCR failed", err);
        PHY_CHECK(bmcr.power_down == 1, "power down failed", err);
    } else {
        /* wait for reset complete */
        uint32_t to = 0;
        for (to = 0; to < lan8720->reset_timeout_ms / 10; to++) {
            vTaskDelay(pdMS_TO_TICKS(10));
            PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK,
                    "read BMCR failed", err);
            if (bmcr.power_down == 0) {
                break;
            }
        }
        PHY_CHECK(to < lan8720->reset_timeout_ms / 10, "power up failed", err);
    }
    return ESP_OK;
err:
    return ESP_FAIL;
}

With this modified method, there is no issue anymore on esp_eth_driver_install.
Because I'm not complettly aware, how such bugfixes can be integreated in all affected release branches, I opened this issue and I hope, that you can include that fix in all releases beginning with 4.0.
Thanks,
Alex

Thank your for your rich debug information. We will take a look soon @alexreinert

Yes, we have added the fix in one of recent commit, but it's still not get merged and updated to Github, sorry for the inconvenience. :cry:

Knowing, that it will be fixed in the next release is absolutly fine to me. Thanks!

Very sad, that the fix is not included in the new 4.1 release. :-(

So sorry, the 4.1 release test has just started before we merged that fix. But we have merged the fix to release/v4.1 in our internal channel, and will be pushed to github soon.

please provide a link to the revised library.

Where can i find "lan8720_pwrctl" functions?

Where can i find "lan8720_pwrctl" functions?

\esp-idf\components\esp_eth\src\esp_eth_phy_lan8720.c


[DO NOT MERGE] Drop Linode card view

Up for debate

Coverage decreased (-0.2%) to 83.619% when pulling bace1488eb973cca4cab93b00bd8b287225a0647 on eatonphil:drop-linode-card-view into c962a2bcadac580ba4631e682a0bc6e6d5205ca3 on linode:master.

Coverage decreased (-0.2%) to 83.613% when pulling e6dd1a7e2258f31b8d9d4bac946302d9a4536fde on eatonphil:drop-linode-card-view into c962a2bcadac580ba4631e682a0bc6e6d5205ca3 on linode:master.

thanks!


ModuleNotFoundError: No module named 'datasets.factory'

Hello,
I am getting the following error when I run 'python demo.py'：
Traceback (most recent call last):
File "demo.py", line 25, in
from roi_data_layer.roidb import combined_roidb
File "ptah_of_project/Stereo-RCNN/lib/roi_data_layer/roidb.py", line 9, in
from datasets.factory import get_imdb
ModuleNotFoundError: No module named 'datasets.factory'
And my environment of python is same to the source code.
Before I run "python demo.py", I have build successful by "python setup.py build develop",
I hope you can give me some  suggestions to fix the problem. Thanks
!

add /lib dictronary to environment use:
export PYTHONPATH=～/Stereo-RCNN/lib
and it works


how can we create CMS using admin bro???

you can create Page model and use rich text editor like that:
const adminBroOptions = {
  resources: [
    { resource: Page, options: { properties: {
      content: { type: 'richtext' },
    }},
  ],
}


Add a sentence about possible error conditions in SSL_shutdown

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Closed in favor of #5823 that's been merged


fix "exception if modify 2 map objects in diffirent documents in lis…

fix "exception if modify 2 map objects in diffirent documents in list" bug

Fixed here: https://github.com/OrienteerBAP/Orienteer/commit/bd820c520f15ec430ba3f629c333edf0ef7baa16


Update to latest major versions of dependencies.

Seems like this and #1003 both have to wait for us to drop Rust 1.80 support before they can merge.


[Enhancement] 'catch' branch identical to 'SocketException' branch

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/utils/IPUtils.java line 115
analysis and explanation:
'catch' branch identical to 'SocketException' branch
Describe the solution you'd like
reference:

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

i want to fix it


Added rename AdopterFosterAccount migration

🔗 Issue
https://github.com/rubyforgood/pet-rescue/issues/449
✍ Description

📷 Screenshots/Demos

@kasugaijin
Please review and let me know if this approach seems appropriate.
This adjustment involved only altering the model name, so I updated the wording in the model files accordingly while keeping the relationships unchanged.
Planned Steps:

Rename AdopterAccount to AdopterFosterAccount across the entire application.
This renaming will necessitate a series of migrations. Execute these migrations and address any resulting errors.
Ideally, all tests should pass after these changes. If not, we will tackle the failing tests next.

Let me know your thoughts.

notes

Yes your steps seem appropriate. I have left a series of comments. One thing, while you have started a new branch, it looks like you have not reset your database and you have committed schema changes from the old PR where we were going to use polymorphic association. Note that your database, unless you create a new one for a separate branch, or recreate it entirely, will still have the schema from whatever migrations you have run on it. In this case, it has the changes from the migrations in the old PR. So please drop and recreate your db, paying a mind to which migrations you have in this branch, and ensure you only have the migrations from main branch + whatever you need for this PR. That will re-write the schema and remove the unwanted changes we have above. Thanks!

@kasugaijin I hope I've left this ticket in a decent spot for you. The schema should now reflect the correct changes. The next steps involve updating the seed file and modifying all instances of the adopter_accounts.

@kasugaijin I hope I've left this ticket in a decent spot for you. The schema should now reflect the correct changes. The next steps involve updating the seed file and modifying all instances of the adopter_accounts.

Thanks @ErinClaudio! You did most of the work. Just two quick commits after.

Great job! Would it be possible to combine all the migrations into one migration file? I think we can also rename columns which would help retain data

Great job! Would it be possible to combine all the migrations into one migration file? I think we can also rename columns which would help retain data

Done. I split the table rename and column renames into two files. I also added foreign key constraints for the belong_to relationships.

lgtm! I think we should update the authorization permission names to reflect the AdopterProfile to AdopterFosterProfile name change, but I can do that in a separate PR once this is merged.
Thank you for all the work, Erin!

Good point! This branch needs main merging in and then running find and replace again. I can do that.

@mononoken I made the change to add unique constraint on index for adopter foster profile on adopter foster account.
With find and replace, I only found one filename to change to the new naming. Am I missing something else that needs changing?
FYI I am finishing this off for Erin as he is away for 10 days - @ErinClaudio is aware I was taking over :)

@mononoken I made changes to policy permission names (commit below) and added unique constraint to the index as suggested.
FYI I am finishing this off for Erin as he is away for 10 days - @ErinClaudio is aware I was taking over :)

Thanks for taking over, @kasugaijin ! The new changes look good.

@mononoken I made changes to policy permission names (commit below) and added unique constraint to the index as suggested.
FYI I am finishing this off for Erin as he is away for 10 days - @ErinClaudio is aware I was taking over :)

Thanks for taking over, @kasugaijin ! The new changes look good.

@mononoken feel free to approve and merge if you want to!

Nice! This unblocks a lot of work!


git checkout via ssh insecure

BUG REPORT:
argo doesn't validate the ssh host key when checking out artifacts from git:
https://github.com/argoproj/argo/blob/master/workflow/artifacts/git/git.go#L37
This poses a huge risk given that it's not uncommon to execute the artifact. That allows a simple man in the middle attack to run code in the context of a pod. I would have disclosed this privately given how severe I consider this, if it weren't for the fact that this is intentionally setup that way.

FWIW, the reasoning behind this change is described here: https://github.com/argoproj/argo/pull/939
My mistake was taking following statement at face value:

Even if we allow then to add a list of keys and dynamically get it it's gonna be the same level of security as InsecureIgnoreHostKey

Now that I understand the problem, I believe the proper solution is to bake in the well known provider's SSH keys into the executor, and provide an insecure option as an escape hatch for users who need this behavior.

Yes, that's true, using ssh-keyscan as before isn't more secure either. Baking in some default seems sane. In prod I'd just mount a configmap to /etc/ssh/ssh_known_hosts (in fact I'm doing that for argo-events sensors)


Replace dynamic with static og:image links

This PR replaces the og:image links from the dynamic ones to static, to tackle the issues presented in #280 an #281.
This is not an optimal implementation in the long run, but better an imperfect implementation that works in a stable manner.

@nsunami would you mind double checking a link or two on the facebook one? (the images aren't perfect but that's a different issue :))
https://researchequa-fix-290-4z6naq45m.herokuapp.com/modules/jk4a-xts7
https://researchequa-fix-290-4z6naq45m.herokuapp.com/ceot

I used the Meta's Sharing Debugger for these URLs, but it seems like the images are not showing up:
https://researchequa-fix-290-4z6naq45m.herokuapp.com/modules/jk4a-xts7

Note that og_image is correct: https://ucarecdn.com/f65e7eca-bd38-48ab-ad79-ddcafa184431/

https://researchequa-fix-290-4z6naq45m.herokuapp.com/ceot

Thanks @nsunami!
I went and tried to find another tool and dug up https://opengraph.xyz - it seems like there these run fine there?

It may be a quirk of the facebook validator. How do you feel about merging and seeing how things go? We'll need to revisit this at some point regardless, as these images are not really enticing :')
(fixing one problem to create another 😉 )


Set initial route on split scenes

Version
Tell us which versions you are using:

react-native-router-flux v3.37.0
react-native v0.37.0

Looking at the example for splitting scenes into separate modules, I don't see how it is possible to set the initial route via the file that exports the router configuration.
How would I go about setting the initial route in the file that combines the root scenes?

nvm. I worked it out. I can create Scene with no component and to wrap the required scenes and  set the wrapping Scene as initial = true


Pull and compile most recent translations

The language selection for the login page and the user settings
'Switch Language' dropdown were listing language options using the
cryptic language codes instead of human friendly locale names.
This change pulls down the latest translations from Zanata and
recompiles the json translation files along with
available_languages.json which is used to populate the language
switching choices.
https://bugzilla.redhat.com/show_bug.cgi?id=1389224

@jjlangholtz can you add to the docs how to do this?

@chriskacerguis I mostly followed the guidelines that @mzazrivec started on the guides repo. There is already a link there from the Code Tour doc.
There were a few minor adjustments that I had to make. I didn't do the extract/push to Zanata because I'm fairly sure I need to be credentialed for that. Also, for some reason, when pulling the files from Zanata they were named incorrectly (self_service instead of service) so I had to rename them.
Should I just make a PR for those updates to the guides repo?

if you could do a separate PR to update the docs, that'd be great.

Backported to Euwe via #324


Typings not working on TypeScript 2.3

Hello,
I believe the typings for the project are no longer working in TypeScript 2.x.
My stack is<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>.
Importing it with
import EventEmitter = require('wolfy87-eventemitter');

Results in
Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.

Importing it with
import * as EventEmitter from 'wolfy87-eventemitter';

Results in
EventEmitter" resolves to a non-module entity and cannot be imported using this construct.

Importing it with
import {EventEmitter} from 'wolfy87-eventemitter';

Results in
EventEmitter" resolves to a non-module entity and cannot be imported using this construct.

And finally, importing it with
import EventEmitter from 'wolfy87-eventemitter';

Results in
/EventEmitter"' has no default export.

Setting the tsconfig.json module format to "commonjs" does not fix the issue as well.

The declaration files from eventemitter3 work flawlessly with an
import {EventEmitter} from 'eventemitter'

Their API is the same so perhaps copying them is an idea?

Oh, that's bad. I don't use TypeScript and I don't intend to. Does this work for you? https://www.npmjs.com/package/@types/wolfy87-eventemitter
Maybe I can just delete the definitions from this repo and let people rely on those. I'd rather delete the types in this repository since I don't understand the syntax.

Hey Olical,
There's a pretty big typescript community now so I would recommend making your library to work out-of-the-box :) . I have updated the type definitions and opened PR #139 . These are the definitions of eventemitter3 as I mentioned previously and work perfectly.
Cheers.

Yep, I realise that there is a rather large community, I don't trust myself to write support for them though, I'd rather someone that knows what they're doing did that 😄
I don't even write JavaScript anymore, hah.
So, does this new definition file work for you if you install it locally? I thought the APIs differed slightly...

It does change a little bit, I'll add the remaining interfaces in the weekend.

@lifenautjoe Hero 🎉
Obviously no pressure, I just don't trust myself to make these changes. Someone who actually knows TypeScript will be so much better at this 😄

I think this PR is the best of both worlds. It has your fixes for the package structure as well as the original method typing. Does it work for you, @lifenautjoe? :) https://github.com/Olical/EventEmitter/pull/140

Fixed with https://github.com/Olical/EventEmitter/pull/140

Hey man! Sorry, I did checked it out but forgot to report back. It works!
Thanks for the fix.

No problem! Glad it works now 😄


[EventHub] EventHub T2 perf test

The PR is to implement a minimal version of the perf test for the track2 EH library.
This PR DOES NOT include: Track1 perf test scripts
T1 perf test will be added in another PR

/azp run python - eventhub - ci


Add organization type enum

Description
Add an enumerated value for a new field in the schema called "organization_type". The enumerated values are "GOVERNMENT, "NGO", "RESEARCHER, and "OTHER".
Type of change

[] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A - Manual
[ ] Test B - Automated

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

This branch was forked off of Josh's "organize-be" branch. That branch made significant changes to how the backend was structured and did some refactoring on the front end as well, resulting in breaking changes on the frontend. As such, this PR shouldn't be merged to master until those front end fixes are resolved.


Typings of aggregate functions (count, max etc.) are missing options object ("as" alias)

Environment
Knex version: 0.21.13
Database + version: N/A
OS: N/A
Issue is about TypeScript definitions, @lorefnon
Bug
As stated in the documentation, count, min etc. take an optional options object, with the key as specifying an alias for the aggregate value. However, the types AsymmetricAggregation and TypePreservingAggregation only have the ...columnNames parameter; the options object is missing from the typings.

@tkalliom Would you be open to sending a PR for this?

Released in 0.95.7


feat: adds global Footer

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


Typo?

https://github.com/ClassicOldSong/eft-parser/blame/b94f0a1962ebfaa0a79ac02e25dc438f1d46f244/README.md#L12
https://github.com/ClassicOldSong/eft-parser/blame/b94f0a1962ebfaa0a79ac02e25dc438f1d46f244/README.md#L20

Typo, will fix later

Fixed https://github.com/ClassicOldSong/eft-parser/commit/6e5f699304d2830efe9a992cfc665c8e9a78f0f2


Implements ManualPairingCodeSchema.decodeInternal()

Implements the missing decode functionality for pairing codes and allows passing in a code to the ControllerNode.ts class.  Tested on a Philips Hue bridge, using the pairing code generated in their IOS app.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

So, writing the tests was useful , it made me look back at the spec more closely. Would like a second opinion on this.
According to section § <IP_ADDRESS> Table 38, the manual pairing code only uses the 4 MSB of the discriminator value, so their instructions to encode use the full discriminator and then use only the 4 MSB out of it.
For reference, the current ManualPairingData type looks like:
export type ManualPairingData = {
    discriminator: number,
    passcode: number,
    vendorId?: number,
    productId?: number,
};

So when we take the encoded string and decode it back, we will have a different discriminator value from what was in the ManualPairingData data type, so something like:
export type ManualPairingDataDecoded = {
    discriminator: number, // now only the 4 MSB , not the original value.
    passcode: number,
    vendorId?: number,
    productId?: number,
};

Not sure if we should have two different data types ( one that goes in, one that goes out) ?

and i guess looking at this again, ManualPairingData should really only contain the 4 bit discriminator code so its the same going in and out, and we should have some other helper method to create a ManualPairingData  type from a more generic PairingData type ?

Hm, ok I checked the code also where we use discriminator:

The matter message to open a new commissioning window gets a "long discriminator" but limits value to 4095 (which is 12bits) and this long value is used for announcements
The "Long" discriminatpr is then contained in _L record
The Short one is used in _S record

Maybe then really decode to "shortDiscriminator"? It can still be used for the lookup we want to do with it next step.
PS: With this being said: Could you please add also a check to DeviceNode and ControllerNode if discriminator is >4095 then error and stop? ;-)

Maybe then really decode to "shortDiscriminator"? It can still be used for the lookup we want to do with it next step.

PS: With this being said: Could you please add also a check to DeviceNode and ControllerNode if discriminator is >4095 then error and stop? ;-)

Sounds good, thanks!

@digitaldan When you have udpdated the PR just poke me or re-request review

PR is updated, let me know if this is what you were thinking.  Thanks!

Perfect that way, thank you! I just added the value info to readme too ..


Format project URLs to improve their appearance on PyPI

Closes #49

Codecov Report

Merging #50 (d4e8cc2) into main (85027ce) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #50   +/-   ##
=====================================
  Coverage   9.38%   9.38%
=====================================
  Files          4       4
  Lines        373     373
=====================================
  Hits          35      35
  Misses       338     338

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Plugin too verbose

Hi,
When using the plugin, it returns a "true" and a newline for every checked item. This is filling up my logs wth more than 2 million lines per hour...
When looking at the code, I saw you are using standard puts statements, rather than using the logging framework, and making this e.g. log.debug(valid).
   def filter_stream(tag, es)
      new_es = MultiEventStream.new
      es.each { |time, record|
        new_record = record.dup
        begin
          valid, error_msg = validate(record)
          puts valid
          puts error_msg

Can you please fix this?

@ansoni can you confirm whether you read the issues in this list, since I don't see much action in any of your projects since July, I would like to know whether you still maintain them actively.

This fix was merged and a new gem released awhile back.


Unmet peer dependencies trigger failure; even when unnecessary

Npm does not install peerDependencies of direct dependencies; it emits warnings if the expected peer dependency is not installed.
Npm itself does not provide a mechanism to define a peer dependency as optional.  As such, it seems common (anecdotally) in cases where a peer dep is not actually used, for projects to simply ignore the unmet peerdep warning. However, licensed considers this a hard error:
* github.npm.@react-native-community/async-storage
  filename<EMAIL_ADDRESS>    - cached dependency record not found

Considering that npm itself does not consider an unmet peer dependency to be an error, it seems that licensed should also not consider this an error.

@jasonkarns just to make sure I understand the scenario - the peer dependency is optional and not included in any shipped product, but licensed doesn't understand this case and still thinks the dependency should be logged?

@jonabc correct.
I haven't dug into licensed to see how it interrogates npm for the list of deps; but as far as npm is concerned, the dep is not in the tree:
$ npm ls --json @react-native-community/async-storage
{}

@jasonkarns :wave: I think what you're proposing, to treat missing peers as optional, makes sense.  The user has decided not to install the package, and if it won't ship with the product it shouldn't raise an error.  If the package is installed, it should continue to be reported 👍


Apostrophe de-Escaper for output

Hi (it's me again :)
My first test with a big model (english to french) seems to output with no escaper at detokenization step.
egs:
l'intention
instead of
l'intention
unless there is an option to force it.
Cheers,
Vincent

Hi vince (again :) )!
probably you meant that the output is: l'intention instead of l'intention.
This is not a bug: the output of MMT is XML, in fact you can request the translation of text with html or, more in general, xml.
Because of this feature, MMT must escape raw text as defined in the XML standard, otherwise you won't be able do distinguish between text and xml.
e.g.
Click the red <button>, is <button> xml or text? - parser will consider it an xml tag.
Click the red <button>, <button> is text for sure
You can find more info on the in/out standard of MMT in the Wiki API Documentation.

oh this was in command line ./mmt translate
are you saying this has also to be XMLed for input and output ?
thanks

oh yes, sorry for not mentioned it.
mmt translate is just a "nice interface" to MMT Translation API, so it supports all the features of the regular MMT translate.
Event with mmt translate you can safely pass xml text and it will translated without problems!


ELU Activation api doesn't allow alpha to be set

While adding gradients, I noticed elu, doesn't allow alpha to be set. Strangely, even tensorflow doesn't allow this. Not sure why.
I can take this one up if we decide to include this.
Reference: https://arxiv.org/pdf/1511.07289.pdf

Let's stay true to TF here and not implement this for us.


Upgrade Jest + Fix Memory Leak

This change upgrades jests to 26.1 and attempts to fix the memory leak
that has been causing flakiness.

No longer needed.


feat: add cert-sidecar

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Is there any issue related to this PR? (Link to an issue, e.g. #99999)
#1629

Other information:

Change the sidecar default heathcheck port to avoid conflict

I think I'm going to delete these kubernetes example files or change the strategy to something like the maximum lifetime of a pod.
I also need to rethink what I did at compose.

I think I'm going to delete these kubernetes example files or change the strategy to something like the maximum lifetime of a pod.
I also need to rethink what I did at compose.

I'm going to set up a meeting to talk about.

I'm going to set up a meeting to talk about.


Explain the purpose of using unstable_batchedUpdates when already using redux-batched-subscribe

@tappleby What is the difference between a generic handler such as debounce/ throttle and use of batchedUpdates to control dispatching of events?

Using reacts batchedUpdates will prevent cascading renders in react components if dispatching in componentWillMount or componentDidMount see these for more details:

http://fluxxor.com/guides/react.html
https://github.com/reactjs/redux/issues/125#issuecomment-112779483

I haven't confirmed this recently but I remember when first working on this package, batchedUpdates would trigger the callback right away when outside the render cycle, which meant dispatching consecutive actions right after each other would still trigger multiple subscription notifications; This is where debounce is useful since it will ensure only 1 subscription notification happens per tick.

Using reacts batchedUpdates will prevent cascading renders in react components if dispatching in componentWillMount or componentDidMount see these for more details:

Ok. This is the key information. Please add it to the documentation.
Thank you for explaining.


4.1.3: JAVA_HOME not working on Linux or Zip

JAVA_HOME does not appear to be working on Linux. I have tried both the DEB and the Zip archive (64-bit).
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ./dbeaver
From the log file:
!SESSION 2017-08-27 09:01:13.056 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_95
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

(The workaround is obviously to update the java alternative)

This is how Eclipse platform works. Java must be in the PATH (i.e. setting JAVA_HOME is not enough).

Do you think you can document that here as many of us are used to JAVA_HOME working?

I will. In fact JAVA_HOME value isn't relevant at all.
The only important thing is current Java version (the one which is in PATH).


Cbs create update

Few modifications :

Fix a bug when we sourced the SIG/PROJECT config too late
Added a new variable to configure TESTING_TAG_INHERITED
Enabled TESTING_TAG_INHERITED for cloud/openstack

Please review

LGTM, thanks ! Let's merge and test in dev/stg kojihub instance and we can then merge in main branch too

LGTM, thanks ! Let's merge and test in dev/stg kojihub instance and we can then merge in main branch too


Missing info

Issue description

To modify the throughput of the target that is missing, refer to source documentation. https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/749638060e8746e48b0f9bf0e50c6d0c.html
Also, we need to mention SAP's recommendation that source and target threads should be the same, to have consistent throughput.
Feedback Type (Optional)
outdated information
Page Title on SAP Help Portal (prefilled)
Add a Target
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/ab490fb4d083442197e2ba3b92079734.html

Dear SAP Datasphere user
We are looking at the issue and will provide feedback soon
thank you for your feedback
best regards
Cindy for the UA team

Do you what's the ETA here?

Dear SAP Datasphere user
The issue has been corrected with wave 04  that was delivered on wave 04. Please check the documentation https://help.sap.com/docs/SAP_DATASPHERE/c8a54ee704e94e15926551293243fd1d/749638060e8746e48b0f9bf0e50c6d0c.html?locale=en-US and let us know if something is still missing from your side.
Sorry I am not sure what you mean by ETA?
Thank you and best regards
Cindy for the UA team


constraints 0.8

constraints-0.8 depended on by:

[ ] lifted-async-0.8.0 (>=0.2 && < 0.7). No maintainer. @maoe

Released lifted-async <IP_ADDRESS>.


image build broken, urbackup-server not installed

starting the image fails with
container_linux.go:247: starting container process caused "exec: \"/usr/bin/urbackupsrv\": stat /usr/bin/urbackupsrv: no such file or directory"

which had me scratch my head, also, since it's the entry point, i can't start it with bash to investigate, but the build log here, indicates that the package doesn't install correctly, and is removed by apt install -y -f
https://hub.docker.com/r/tristanteu/urbackup-docker/builds/b22g8sjrg3263x9hhtus5s/

thx for reporting. if i have some free time i will fix the build. if you have already fixed it - please share your code :+1:

i fixed the build ⚡


Change the image

Proposal:
Proposal written by Wandi#9576
What is the title of your proposal?: Change the image
Is it a suggestion for the website or for the bot?: Trello website
Explain your proposal more accurately (It's best to give as much information as possible, so that we can implement the proposal better): Change the old LenoxBot image to the new one
Why we should add this feature?: cause it looks more identicly
ReportID: 64

➤ LenoxBot commented:
Approve:
good idea
Dadi#7808

➤ LenoxBot commented:
Approve:
Good suggestion
Nickkel#6515

➤ LenoxBot commented:
Approve:
Good idea!
JUV#4292


Remove java.desktop module dependency

Which version and edition of Flyway are you using?
latest
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using? (Type & version)
n/a
Which operating system are you using?
n/a
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Creating a smaller JRE using jdeps and jlink, or creating a native-image both offer ways to reduce deployment size. Unfortunately Flyway still pulls in the entire java.desktop module due to a single usage of java.beans.Expression:

https://github.com/flyway/flyway/blob/5511c696a0057a9db744cfa0a2c78ac83c7eef82/flyway-core/src/main/java/org/flywaydb/core/internal/util/ClassUtils.java#L22

What did you expect to see?
This should be rewritten to no longer depend on the java.beans package, which in turn won't require the java.desktop module anymore in custom jlink JREs.
What did you see instead?
A reference to an obsolete class from a different era, which unnecessarily bloats jlink JREs. It's 2024. It's time for java.beans usages to go the way of the dodo.

Hi @axelfontaine ,
Glad to receive your request. We have got this done and should be included in next release.


Fix tasks that last>1s started every second

Simple test application:
package main

import (
        "log"
        "time"
        "github.com/rakanalh/scheduler"
        "github.com/rakanalh/scheduler/storage"
)

func TaskWithoutArgs() {
        log.Println("TaskWithoutArgs is executed")
        time.Sleep(5*time.Second)
        log.Println("TaskWithoutArgs is ended")
}

func main() {
        s := scheduler.New(storage.NewMemoryStorage())
        s.RunEvery(5*time.Second, TaskWithoutArgs)
        s.Start()
        s.Wait()
}

Output showing TaskWithoutArgs  running every 1s instead of 5s:
2017/11/20 03:19:46 Scheduler is starting...
2017/11/20 03:19:51 TaskWithoutArgs is executed
2017/11/20 03:19:52 TaskWithoutArgs is executed
2017/11/20 03:19:53 TaskWithoutArgs is executed
2017/11/20 03:19:54 TaskWithoutArgs is executed
2017/11/20 03:19:55 TaskWithoutArgs is executed
2017/11/20 03:19:56 TaskWithoutArgs is executed
2017/11/20 03:19:56 TaskWithoutArgs is ended
2017/11/20 03:19:57 TaskWithoutArgs is executed
2017/11/20 03:19:57 TaskWithoutArgs is ended
2017/11/20 03:19:58 TaskWithoutArgs is ended
2017/11/20 03:19:59 TaskWithoutArgs is ended
2017/11/20 03:20:00 TaskWithoutArgs is ended
2017/11/20 03:20:01 TaskWithoutArgs is ended
2017/11/20 03:20:02 TaskWithoutArgs is ended

2017/11/20 03:20:26 TaskWithoutArgs is executed
2017/11/20 03:20:27 TaskWithoutArgs is executed
2017/11/20 03:20:28 TaskWithoutArgs is executed
2017/11/20 03:20:29 TaskWithoutArgs is executed
2017/11/20 03:20:30 TaskWithoutArgs is executed
2017/11/20 03:20:31 TaskWithoutArgs is executed
2017/11/20 03:20:31 TaskWithoutArgs is ended
2017/11/20 03:20:32 TaskWithoutArgs is executed
2017/11/20 03:20:32 TaskWithoutArgs is ended
2017/11/20 03:20:33 TaskWithoutArgs is ended
2017/11/20 03:20:34 TaskWithoutArgs is ended
2017/11/20 03:20:35 TaskWithoutArgs is ended
2017/11/20 03:20:36 TaskWithoutArgs is ended
2017/11/20 03:20:37 TaskWithoutArgs is ended

After applying fix:
go run main.go
2017/11/20 03:25:44 Scheduler is starting...
2017/11/20 03:25:49 TaskWithoutArgs is executed
2017/11/20 03:25:54 TaskWithoutArgs is executed
2017/11/20 03:25:54 TaskWithoutArgs is ended
2017/11/20 03:25:59 TaskWithoutArgs is executed
2017/11/20 03:25:59 TaskWithoutArgs is ended
2017/11/20 03:26:04 TaskWithoutArgs is ended
2017/11/20 03:26:04 TaskWithoutArgs is executed
2017/11/20 03:26:09 TaskWithoutArgs is executed
2017/11/20 03:26:09 TaskWithoutArgs is ended

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master       #2   +/-   ##
=======================================
  Coverage   90.93%   90.93%
=======================================
  Files           6        6
  Lines         298      298
=======================================
  Hits          271      271
  Misses         21       21
  Partials        6        6

Impacted Files
Coverage Δ

task/task.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you!


FlexIO as SPI Master

I am currently working on a project that will use a teensy 4.1 to control about 100 SPI devices and plan to use the FlexIO periphial to minimize daisy-chaining by driving up to 16 devices in parallel (only one channel select though). I have already hacked together a version that basically writes the constants from the SPI Master example into the registers with a bit of extra configuration.
Does it make sense to include a FlexIOasSPI periphial here? I think I lack the experience to write a useful general FlexIO abstraction as this is my first embedded project.

Sorry for the delayed response! Hope your project is making progress.
I'd be interested in studying your SPI-specialized FlexIO driver. It could give us the chance to use an otherwise unused peripheral for something, even if it's not generalized. I'm particularly interested if it

supports the embedded HAL SPI I/O traits, clock phase / polarity configs
has some kind of imxrt-iomuxc FlexIO pin support


Use the same message formatting for the text editor

So we can get color in usernames etc. while editing.

This isn't really feasible, but we now have optional message previews.


Exposing js/sass files for customization

Hi
I'm wondering if you have plans for exposing js/sass files into resources folder optionally, using --tag=assets.
after publishing this assets, need to add platform's package.json requirements to root package.json using a single npm install ... and then adding webpack.mix.js configurations.
This can be useful for per-project customization of front-end behaviors.
Currently it needs to be copied and configured by user completely.

Yes it is in the plans

If it is the same routine as I described I can make a PR.

I think we can do the same as laravel does with its presets. For example https://github.com/laravel/ui/blob/master/src/Presets/Bootstrap.php
I will be glad if you do this.

Hi, I returned to this topic again and am ready to work it out more thoroughly.
I think you need to make 2 presets:

To work as a stimulus.js user, without changing the source code
And more advanced already with the publication of all source code on js and css

Accordingly, there will be two command artisan preset orchid and artisan preset orchid-source

I was thinking it is some sort of misleading to call them presets since it is actually possible to use them in existing assets and they do not remove all existing assets.

Yes it is, but in reality when the user does: php artisan vendor:publish for view/css/js/etc he refuses to receive updates, because his files will be used


pyenv section not being displayed correctly

Bug Report
Current Behavior
When I activate a Python virtual environment, the name of the environment appears on the line above the prompt, devoid of any styling save for a pair of parentheses. AFAIK, this is just the default way Python displays a virutalenv.
Expected Behavior
I would expect the virtualenv section to appear inline with the rest of prompt and be formatted correctly.
Relevant Fish Configuration

set SPACEFISH_PROMPT_ORDER time user dir host git package node golang haskell pyenv exec_time line_sep battery jobs exit_code char
set SPACEFISH_CHAR_SYMBOL ∫

Environment

Spacefish version: [the output of echo $SPACEFISH_VERSION] 2.6.1
Fish version: [the output of fish --version] 3.0.2
Fish plugin manager: [e.g. oh-my-fish, fisher, fin] fisher
Terminal emulator: [e.g. iTerm, Hyper, Terminator] iTerm2
Operating system: [e.g. OSX 10.13.4, Windows 10] macOS Mojave v10.14.3

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
Before activating the virtual environment:

After activating the virtual environment:

Thanks!

Hi @ccarterlandis. Thank you for opening an issue.
Unfortunately spacefish is no longer under active development, but I suggest you take a look at its successor https://github.com/starship/starship, which has similar pyenv support built-in.
That said, if someone comes around with a PR to fix this bug, I'll gladly review and merge it. 😄

@matchai oh wow, I had no idea there was a successor! I found a link to this prompt here and liked it so much I instantly downloaded it! I would have preferred to just start with the sucessor but the install was so easy I don't think I'll have to worry to about installing a new one. Thanks for letting me know!

For future people - rather than pyenv in SPACEFISH_PROMPT_ORDER you need to set venv. :)

And for future readers, you also need to set VIRTUAL_ENV_DISABLE_PROMPT to 1 to disable the default fish prompt integration done by venv.

And for future readers, you also need to set VIRTUAL_ENV_DISABLE_PROMPT to 1 to disable the default fish prompt integration done by venv.


API Version deprecated tag not affected document

[Related to #1355 ]
Hi,
Been using Nswag instead of other options as I like how it automatically pulls in XML comments without additional setup or configuration.
As part of the project that I'm using NSwag with we are creating different versions of a Web API.  The original v1 endpoints are deprecated and I've added the necessary ApiVersion attribute
[ApiController]
[ApiVersion("1.0", Deprecated = true)]
[Route("api/v{version:apiVersion}/[controller]")]
public class ValuesController : ControllerBase
{...`

Using the example project from AspNetCore.Tests.Web, and reading the reponses to a few other Api Versioning issues here, I got the swagger document to display the different versions of the endpoints through the dropdown on the generated Swagger page
While working to get ApiVersioning working with NSwag I noticed some examples using Swashbuckle that would render the endpoints and method with a visual strikethrough if they were marked as deprecated.   However with NSwag there is nothing shown.
You can add a Swagger Tag
[SwaggerTag("VersionedValues", Description = "Old operations")]
but it doesn't have the same effect, and the value of the ApiVersion attribute doesn't seem to be shown anywhere on the generated page.
Is there any option or code I'm missing, or is that something that could be added as an enhancement?  Perhaps as a tag beside the document info at the top?
Many thanks
Joey

[Obsolete] attribute? Otherwise a custom operation processor...

Why would [SwaggerTag("VersionedValues", Description = "Old operations")] mark an operation as deprecated?

Hi,
Thanks for the reply

Why would [SwaggerTag("VersionedValues", Description = "Old operations")] mark an operation as deprecated?

In answer to your question - I wasn't thinking it would mark the operation as deprecated.
Just noting that in the example NSwag solution code (ASpNetCore.Tests.Web) there doesn't seem to be any effect if a version is marked [...Deprecated = true]
In the example code that SwaggerTag seemed to the only way to mark an operation as old/deprecated

[Obsolete] attribute? Otherwise a custom operation processor...

Thanks, hadn't noticed that was an attribute I could use (new to NET Core Api).
Tried that and it provides the behaviour I was looking for - strikethrough text on the Swagger page.  It at least shows me how to achieve a similar effect to Swashbuckle.
The only thing is [Obsolete] marks the operation regardless of whether it's mapped to a deprecated version or a live version, which sadly won't fit my needs.
(If I had v1.0 and v1.1 api versions setup in a single controller and wanted to mark operations mapped to v1.0 as deprecated/obsolete(strikethrough), but show operations mapped to version 1.1 normally (no strikethrough) I'd have to split them into separate methods/operations, because the [Obsolete] attribute doesn't have a way to limit itself to a single version)
It looks like if I want that functionality I'll have to switch, which is a shame because apart from the Api Versioning setup/handling it has really nice clean setup compared to Swashbuckle
Thanks for your help,
Joey

Can you post a screenshot of how this looks like in the Swagger UI? How do you mark a version as deprecated in ASP.NET Core? I think this must be just a simple config which has to be set in the Swagger spec or in the Swagger UI config...

You mark a version as Deprecated by using the optional Deprecated parameter in the ApiVersion attribute on the controller:
[ApiVersion("1.0", Deprecated = true)]
https://github.com/microsoft/aspnet-api-versioning/wiki/Deprecating-a-Service-Version
Note that it appears that this is controller-specific - you can deprecate v1.0 of one controller, while not deprecating it for another.
I've just come across the same issue where deprecating an API version for a controller doesn't mark the methods mapped to that version as deprecated in SwaggerUI.
The UI for deprecated methods can be seen in the Swagger Petstore demo here (the /pet/findByTags method) https://petstore.swagger.io

Is this fix supposed to be in NSwag.AspNetCore version 13.1.3?
It currently has no effect for me, like the original poster.
I have [ApiVersion("4", Deprecated = true)] on all of the Sales controllers, but it has no effect on the OpenAPI doc:

Yes should be in the patest version

Just chiming in with others, using API Versioning:

[ApiVersion("1.0", Deprecated = true)]

Deprecating controllers or actions does not work with NSwag. Tested with NSwag13.1.3 and 13.2.

I'm doing this with NSwag 13.5 and still not seeing it deprecate them.
I ended up doing this to fix it for now:
document.AddOperationFilter(genericContext => {
                            // TODO: This should work by default, but doesn't.  Remove this once this is working correctly in the library.
                            var context = genericContext as AspNetCoreOperationProcessorContext;

                            var apiDescription = context.ApiDescription;

                            var operation = context.OperationDescription.Operation;

                            operation.IsDeprecated |= apiDescription.IsDeprecated();
});

operation.IsDeprecated |= apiDescription.IsDeprecated();

Not sure but maybe this line is not in nswag out of the box, can you check and maybe create a PR + test?

I created a simple operation processor which marks Obsolete methods or Controllers or deprecated:
/// <summary>
/// Marks actions (or controllers) with the <seealso cref="System.ObsoleteAttribute"/> as deprecated in the API
/// </summary>
public class DeprecatedOperationProcessor : IOperationProcessor
{
    /// <inheritdoc/>
    public bool Process(OperationProcessorContext context)
    {
        bool obsolete = IsObsolete(context.ControllerType) || IsObsolete(context.MethodInfo);
        if (obsolete)
        {
            context.OperationDescription.Operation.IsDeprecated = true;
        }
        return true;
    }

    /// <summary>
    /// Determines whether the specified custom attribute provider is obsolete.
    /// </summary>
    /// <param name="customAttributeProvider">The custom attribute provider.</param>
    /// <returns>
    ///   <c>true</c> if the specified custom attribute provider is obsolete; otherwise, <c>false</c>.
    /// </returns>
    private static bool IsObsolete(ICustomAttributeProvider customAttributeProvider)
    {
        return customAttributeProvider.GetCustomAttributes(typeof(ObsoleteAttribute), true).Any();
    }
}

@RicoSuter I figured out that depreciation does not work if GroupNameFormat is used.
I was using this:
.AddVersionedApiExplorer(o => o.GroupNameFormat = "'v'VVV")

And so, here the condition in Any was not true:
https://github.com/RicoSuter/NSwag/blob/f7a396f6ea21aef95594b5f7d9b8ef455dba959b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs#L264-L266
Because v.ToString() is "1", and "apiDescription.GroupName" is "v1"

@hazzik is there a way to fix this in a "generic" way, i.e. that it just works as expected?

Hello guys, I face with same problem now. Any updates?

We are facing the same issue. We are using the ApiVersion annotation with Deprecated = true and it is not showing as deprecated in the Swagger UI. We have resorted to adding the Obsolete annotation as well, but this is not quite correct and has some disadvantages. We are using GroupNameFormat as mentioned above.
Can this issue be re-opened as it is not fixed yet?

I guess I need to troll here more often 😛. I just happened be looking for something else and came across this issue.
API Versioning provides the built-in extension method ApiDescription.IsDeprecated that performs this logic for you, which was introduced in 4.0.0.  If you adapt over that, you should always get the right answer without having to duplicate the logic. It will also protect you from any underlying changes in patches.

still encountering this issue... Any news/workarounds? I do not want to remove the GroupNameFormat  definition...

Here a quick dirty fix with an operation processor I made
internal class ApiDeprecatedOperationProcessor : IOperationProcessor
{
    public bool Process(OperationProcessorContext context)
    {
        var aspNetCoreContext = (AspNetCoreOperationProcessorContext)context;
        var apiDescription = aspNetCoreContext.ApiDescription;
        var operation = context.OperationDescription.Operation;

        var apiVersionModel = aspNetCoreContext
            .ApiDescription
            .ActionDescriptor
            .GetApiVersionMetadata()
            .Map(ApiVersionMapping.Explicit);

        var isDeprecated = apiVersionModel != null &&
            apiVersionModel.DeprecatedApiVersions.OfType<object>()
            .Any(v => $"v{v}" == aspNetCoreContext.ApiDescription.GroupName);

        context.OperationDescription.Operation.IsDeprecated = isDeprecated;

        return true;
    }

From https://github.com/dotnet/aspnet-api-versioning/issues/1026#issuecomment-1748319326, it looks like we have a breaking change to get ApiVersionModel that Nswag doesn't seem to have integrated yet.
Based on https://github.com/RicoSuter/NSwag/issues/2012#issuecomment-851743109, I prefixed the deprecated version found in ApiVersionModel with the letter "v" to match GroupName, I don't know if there's a cleaner way to do it.


[Feature]: Fix typos in Publish-helm-chart.md: depencies -> dependencies

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
This PR corrects typos in the Publish-helm-chart.md file.
Changes made:

Line 12: Corrected "depencies" to "dependencies".
Line 79: Corrected "depencies" to "dependencies".

Why should this be worked on?
These changes help improve the readability and accuracy of the documentation.

Could you please merge my PR? Thank you!

@hydrationn can you link your PR here

I'm sorry for the delay. Here is the link. Thank you!
https://github.com/appsmithorg/appsmith/pull/33889