Design spec of buddy-mlir

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Thank you for the wonderful project. Can you provide a specification of  the design specification of Buddy-MLIR? I really want to learn how to add feature into MLIR.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the feature request here.

Hi @ColdCodeCool , thanks for your issue!
There are some descriptions on our website. At present, the content on the website is still limited, and some of our documents are still in development progress.
Currently, if you want to know the details of our project, the best way is to discuss and share ideas in our slack group. Here is our slack invitation link.
And I highly recommend you to participate in our open source project activities, there will be mentors to guide the project. Now we have the OSPP 2022 activity in the candidate application stage. Apart from that, you can also find other open projects here.

Welcome @ColdCodeCool ! Looking forward to your discussion and contribution.


Add tests for DaemonSet lvmd

ref: #195
old PR is here: #265
Hi, I added tests and doc for DaemonSet lvmd.
The details are as follows:

Added tests for DaemonSet lvmd(using minikube in this tests because lvmd container can't use on kind cluster).
Added github action jobs for running DaemonSet lvmd tests.
Added the description about how to deploy DaemonSet lvmd.

@bells17
This is redundant If you miss my comment.
In clean_test.go, all It blocks are skipped, so can we group them by context or it and use just one skipping function instead of using a bunch of skips?

This is redundant If you miss my comment.
In clean_test.go, all It blocks are skipped, so can we group them by context or it and use just one skipping function instead of using a bunch of skips?

Sorry, I missed your comment. And I fixed this point like follow: https://github.com/topolvm/topolvm/pull/285/commits/a51043c8fb645d80d35200fc15e44d7071a4ba0f
I tried 2 pattern skips to fix codes:

nested it
Context("context", testHook)
  It("parent it", func() {
    skipIfDaemonsetLvmd()
    It("child it", func() {
      ..
    })
  })
})

use skip in context
Context("context", testHook)
  skipIfDaemonsetLvmd()
  It("it", func() {
    ..
  })
})

However, I got an error with these patterns, so I modified the code using BeforeEach.
ref: https://github.com/kubernetes-csi/csi-test/blob/v4.1.0/pkg/sanity/controller.go#L158-L162


Add Assemble Arcade games

Hello there! Sending this pull request to add Assemble Arcade games to the gallery!  It also featured stuff like game progression and cross-game points, so it was pretty cool!
To add to the gallery, I had to remove some of those features :(
And for the second game (Among Us maze) I even had to add a virtual mouse...
I tested all 3 games on Sprig (vanilla Sprig) before making this pull request, but if there is anything wrong, please lmk!

Thanks so much for submitting Adriano! It was super satisfying to see you guys spend time working with Sprig at Assemble.
I removed "games_are_easy" from the gallery because I don't think it makes as much sense there as it did in your arcade (where it added nice comedic effect). I also added a tag to the maze that it's web-only. The document API isn't exposed on the embedded runtime so it will crash the Sprig Console. I just made note of this with a tag: "web-only". If you want to make the game run on the device you'll have to stick to the virtual mouse. We're still having debate about how to sync the device and the web engine (or make it clear where they aren't).
Hopefully I'll be able to beat platform_rogue at some point!

Just thought I'd mention three people in the office just spent the last half hour replaying your assemble games. The ads in the arcade were such a nice touch!
We also have a known issue generating the thumbnail for the among_us_maze which prevents it from showing up in the gallery. We'll address that soon.

Here is the form to get on the Sprig waitlist.
https://airtable.com/appN9cSnDgORAM2bp/tblYLyzi8RySfkONg/viwMrglQ6x9pBSE0O?blocks=hide

@farreltobias You can use the above link as well.


improve search and navigation

This adds some more supplementary shortcuts and overhauls the search functionality to allow wrapping, repeated, and directional search.

Thank you for your contribution :smile:  It's really nice to see someone implement some of the features I had in mind when I would (eventually) get to improving search (like the / and n and p)!
I'll try and spend some time this weekend to thoroughly look over this, but at first glance it seems very solid. Thanks again :)

Sorry again for the delays, thanks so much for adding tests and the PR! I think after the other open PR is merged, I'll create a new version with these improved search changes.
It really makes my day to see contributions like this :) merging!


help with use

im very sorry if this is a really fucking basic thing but i cannot for the life of me understand how to work this

you gotta use the edit system variables thing

Closing as the previous message answers your question, if you need further help feel free to reopen :)


units should be included with all values in doc strings

For example, in the CageWithGuest API, there are no units given for the angle.
This is a minor problem but would make the code much more user-friendly.

Can you add a specific list please, so that I know what to tick off?

I'm gonna reopen this if you add the list.


Feature request: Provide ARM binaries

As title says, it would be nice to have binaries for ARM Linux.
And thanks for the project 👍

Thanks they are added to the makefile and will be released with the next official release


Moved code to apache-solrj from spring-data-solr, updated code to 6.4.0 solrj, fixed dependencies in both modules

Fixed the pom.xml, was able to mvn build locally. Let me know if still broken.


create Session from dynamic routing ephys rigs

Partially addressed by: https://github.com/AllenNeuralDynamics/aind-metadata-mapper/pull/17


Error and MySQL sync money?

Thanks for update 2.14.0! I have error in launch server: https://gist.github.com/PixelmonPRO/601699f322e165e8d63e203fa648e5bc
And a very big problem. MySQL update money, but not sync in game. I have a trading module on the my site, and after the trade a new balance in the game will not be established, and if I make any economic actions in the game - the balance will be updated with a new one (and the money received from the site will be lost). Example: i have 2000 money -> sell minecraft blocks in my site -> new balance 3000, MySQL table money update to 3000 -> in game i have 2000 (no update), any eco operation in game, bal in game now 2100, and MySQL update table money to 2100.

This should be fixed in version 2.14.1. Let me know if it works for you!


Add USE Together SVG logo

https://github.com/vert-x3/vertx-web-site/pull/217#issuecomment-612600494
Thanks!

Thanks for the quick response!


operationId must be unique over complete swagger.json

Following check is not performed:
Each operation may specify a unique operationId.
see spec: https://swagger.io/docs/specification/2-0/paths-and-operations/

@wrssmi I'm almost sure this check was performed, could you please provide an example?

I see, currently the errors is raised only if the operation id is duplicated on the same path, not across all the paths in the doc.
Need to think about best way to solve it.

@sylvainlaurent I think that this issue can be closed too


Slow down pedestrians when they're on a crowded sidewalk. #859

The original idea in #859 was to emit overcrowding events when people are clumped into crowds, and maybe to slow them down. This PR starts with a simpler idea. Based on the people per square meter on an entire sidewalk segment when someone enters, we emit an overcrowding event and slow them down.

The widened pavement means people experience much less crowding. Some people happen to wind up on other sidewalks at different times and actually experience more crowding -- in other words, fixing one area can move a bottleneck. And there's a feedback loop -- now people spend longer on crowded sidewalks, which makes the crowding last longer. I think this is all realistic.
CC @Robinlovelace, @lucasccdias, and @ChristinaLast (if you're interested in pedestrian modelling in A/B Street, I'm going to be pushing through some changes in the next week)
Some next steps:

Fix the distribution of default walking speeds
Manually set correct sidewalk widths in São Miguel Paulista based on the GIS data
Work on better behavior for pedestrians to cross the street

Looking good! Happy to test.

Oh yeah, and the "problem map" showing where overcrowding is concentrated:

:heart_eyes:

Looking good! Happy to test.

Thanks! Once I get more of the related changes pushed through, I'll take you up on that offer. The "story" we can tell in the report is where overcrowding happens now, based on real sidewalk width data and the demand models from OD2017. Then we can widen the pavement, see how travel times and risk exposure changes overall, look at sample people who have a different experience, see if the crowding gets pushed elsewhere, etc.


Detach instance from ASG if ASG_NAME is available

After an instance is terminated, it takes time for ASG to identify this and launch a new replacement instance.
To cater to this time window, this PR makes sure that before triggering kubectl drain on the instance, the instance is detached from that ASG. ASG will itself launch the replacement instance (this availability chances are now more after the release of https://aws.amazon.com/blogs/aws/new-ec2-auto-scaling-groups-with-multiple-instance-types-purchase-options/)
Changes:

Take an environment variable "ASG_NAME" to which instance is attached.
If the environment variable is set, detach the instance from that ASG

I've based my PR #15 on your idea, @Sudiksha - hope this works for you?


typo: fix python client demo

tikv-client modified parameter type ？I am using tikv-client-0.0.3.
client = RawClient.connect("<IP_ADDRESS>:2379")
...
Exception: Please use list as pd_endpoints. For example: `RawClient.connect([<IP_ADDRESS>:2379])`.

LGTM. Thanks for your contribution.
In order to pass the DCO check, please rebase the commit message with sign. You can do this by the following command:
git commit -s --amend
git push your-remote branch_name --force

LGTM. Thanks for your contribution. In order to pass the DCO check, please rebase the commit message with sign. You can do this by the following command:
git commit -s --amend
git push your-remote branch_name --force

This problem has been solved. 😄

/test


Add MoviePy as post-processor to make YT-DLP works without having to install/compile/etc FFMPEG

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
You probably know that for some people it's hard to install FFMPEG, and one of the reason IS that these people are not the machine owner so they can't install apps or programms in the PATH. But what if it did not needed FFMPEG or any external binary ? It could be a lot better I think ! Could you add MoviePy as post-processor please ? And maybe as fallback to FFMPEG and/or AVConv ? Becaude MoviePy supports converting video between multiple formats, audio between multiple formats and even video to audio ! I think it could be really great to add it, what do you think about it ?
BTW, for the next of the issue, I did not really put things because it's a feature request, not a bug report.
Provide verbose output that clearly demonstrates the problem

[x] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
This is a feature request, not a bug request.

moviepy depends on ffmpeg:

The software FFMPEG should be automatically downloaded/installed (by imageio) during your first use of MoviePy

can't install apps or programms in the PATH

as far as yt-dlp is concerned, ffmpeg doesn't need to be in your PATH. you can use:
--ffmpeg-location "/path/to/ffmpeg/bin"

or the python API equivalent:
'ffmpeg_location': '/path/to/ffmpeg/bin'

Ah, sorry. I did not knew that moviepy depends on FFMPEG, since I ran Python code with moviepy without having to install FFMPEG (I ran the code on a computer without it).


Refactor validateState method to utils

Curent wait time between api calls to validate state is 60 seconds, and that is not parametric. This PR reduces it to 5 seconds and makes it possible to customise.
There are also unit tests fro marvin now. Run them with nosetests tests/lib/base.py

This has been tested in cosmic: https://beta-jenkins.mcc.schubergphilis.com/job/cosmic/job/0020-tracking-repo-build/5/
the 4 failing integration tests are also failing in master.
ping @wilderrodrigues


Add tests for sl-pagination-per-page-select component

Closed by https://github.com/softlayer/sl-ember-components/pull/344


Added pooling to locking to reduce memory allocations; ConfigureAwait(false)

Moved from #540 as advised.

OK @waelkdouh ?

Thanks @MarkCiliaVincenti. Once we are done with testing v6 we will take a look at your PR. We really appreciate your contributions.

Hi we just released v6 release candidate. Can you please try to apply your PR on the new code base?

Should this be merged to main?

It will be. We're still doing development work on the v6 branch, will periodically merge those changes to back to main.
Thanks again for the PR!


New version: DataKnots v0.7.0

Registering package: DataKnots
Repository: https://github.com/rbt-lang/DataKnots.jl
Created by: @xitology
Git reference: register/DataKnots/v0.7.0
Version: v0.7.0
Commit: 3b33b015cf231a5b8ffc8eb09c9d34195fe8d266
Reviewed by: @xitology
Reference: https://github.com/rbt-lang/DataKnots.jl/commit/3b33b015cf231a5b8ffc8eb09c9d34195fe8d266#commitcomment-33529972

Please consider enabling TagBot on your package to create tags and releases for your registered versions.

Stefan, Thanks, but it's trivial enough to tag, I'm not sure what advantage TagBot provides. Perhaps if we had dozens of packages we might find it attractive.  - Clark

Sure, you can tag manually as well.


README.md: expand credit for original

Sudo was invented on Berkeley Unix on a VAX, and the current version is maintained by Todd Miller of the OpenBSD Unix project. It is thus correct to refer to the original as Unix/Linux as it is not a project originated by the Linux developers.

@omnivagant Point taken, 2nd commit revises accordingly. Thanks.


Downcase inputs

This downcases all Inputs for symmetry with Observable Plot (e.g., Inputs.table and Plot.barY). This will be a “major” version change to 0.8, and I will keep the symbols as uppercase in the Observable Inputs notebook for backwards compatibility. Once this is published, I will update https://github.com/observablehq/stdlib/pull/207.

Deprecating the uppercase aliases would have been nice. :(

@mootari They are deprecated in the notebook, but not in the npm package.

They are deprecated in the notebook, but not in the npm package.

Yes, I noticed. :) The deprecation in the notebook only extends to direct imports though, as widget references through the Inputs import (e.g. Inputs.Checkbox) are also now broken.
I prefer requiring the library over static notebook imports due to the smaller overhead and the lazy dependency. That I didn't pin the version is 100% my fault. I also recognize that Inputs hasn't reached 1.0 yet and can thus make fewer commitments to backwards compatibility.
However, I feel that in this particular case a fallback could have been provided at minimal cost, giving users more time to adapt their code. This could have been coupled with a deprecation notice in the console.
Inputs has been pushed heavily (and rightfully so), and has become an integral part of hundreds of notebooks. The beta status may therefore no longer reflect reality.

@mootari Apologies, I didn’t anticipate that folks would import Inputs from the notebook, nor did I expect folks to require the library directly from npm without pinning a version, since that wasn’t the documented way of doing it. The nature of notebook imports is that everything is exposed by default, so you can’t control what people can access — you can only document it. Whereas with the library, we can be more explicit. We want version pinning ASAP…


Adding memory/cpu statistics and gateway information

This PR will add memory and cpu information in the diagnostics .
Also currently we are not capturing diagnostics in case of gateway mode , this PR will add those.
This PR will be followed immediately by  at least two PR on diagnostics which will add retry and query pipeline latency information.

/azp run java - cosmos - tests

2. stigated the p

We are calculating this on toString() method and non in the our regular api.
I can spend some time on reading other libraries , do have any suggestion ?

Naveen,
Two questions around using com.sun.management.OperatingSystemMXBean:

as this is not a default java lib (it is specific to oracle/sun) I am not sure if we should rely on that or not, Could you please check what other popular metrics libraries (i.e, dropwizard (https://www.dropwizard.io/en/stable/), micrometer (https://micrometer.io/)) do in regard to cpu measuring? Do they use this?
as per the discussion on the stackoverflow thread using this may have 30-40% perf impact. Have we investigated the perf impact?

have observed that running this code increases CPU utilization by 30-40%. This means that we get increased CPU Utilization whenever we run this code

from:
https://stackoverflow.com/questions/19781087/using-operatingsystemmxbean-to-get-cpu-usage

We are calculating this on toString() method and non in the our regular api.
I can spend some time on reading other libraries , do have any suggestion ?

Naveen,
Two questions around using com.sun.management.OperatingSystemMXBean:

as this is not a default java lib (it is specific to oracle/sun) I am not sure if we should rely on that or not, Could you please check what other popular metrics libraries (i.e, dropwizard (https://www.dropwizard.io/en/stable/), micrometer (https://micrometer.io/)) do in regard to cpu measuring? Do they use this?
as per the discussion on the stackoverflow thread using this may have 30-40% perf impact. Have we investigated the perf impact?

have observed that running this code increases CPU utilization by 30-40%. This means that we get increased CPU Utilization whenever we run this code

from:
https://stackoverflow.com/questions/19781087/using-operatingsystemmxbean-to-get-cpu-usage

We are calculating this on toString() method and not in the our regular api flow.However I tested the latency for these method, it was in fraction of ms.
I can spend some time on reading other libraries , do have any suggestion ?

Micrometer is using sun and ibm package, which ever first will give the result, and doesn't able to find any thing dropwizard
https://github.com/micrometer-metrics/micrometer/blob/72924823327e63f4d93f6bf2b88d3fffe1523af6/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/system/ProcessorMetrics.java#L50
https://github.com/micrometer-metrics/micrometer/blob/72924823327e63f4d93f6bf2b88d3fffe1523af6/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/system/ProcessorMetrics.java#L97

Naveen,
Two questions around using com.sun.management.OperatingSystemMXBean:

as this is not a default java lib (it is specific to oracle/sun) I am not sure if we should rely on that or not, Could you please check what other popular metrics libraries (i.e, dropwizard (https://www.dropwizard.io/en/stable/), micrometer (https://micrometer.io/)) do in regard to cpu measuring? Do they use this?
as per the discussion on the stackoverflow thread using this may have 30-40% perf impact. Have we investigated the perf impact?

have observed that running this code increases CPU utilization by 30-40%. This means that we get increased CPU Utilization whenever we run this code

from:
https://stackoverflow.com/questions/19781087/using-operatingsystemmxbean-to-get-cpu-usage

We are calculating this on toString() method and not in the our regular api flow.However I tested the latency for these method, it was in fraction of ms.
I can spend some time on reading other libraries , do have any suggestion ?

Micrometer is using sun and ibm package, which ever first will give the result
https://github.com/micrometer-metrics/micrometer/blob/72924823327e63f4d93f6bf2b88d3fffe1523af6/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/system/ProcessorMetrics.java#L50
https://github.com/micrometer-metrics/micrometer/blob/72924823327e63f4d93f6bf2b88d3fffe1523af6/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/system/ProcessorMetrics.java#L97

DropwijardMetrics have sun package dependency https://github.com/dropwizard/metrics/blob/3336d1aae5d94cf94a73db52526fc437a19b9287/metrics-jvm/src/main/java/com/codahale/metrics/jvm/FileDescriptorRatioGauge.java#L34

Naveen Could you please run the ReadThroughput workflow of the benchmark and see if this change has any impact on the throughput?
this is to verify this claim:
have observed that running this code increases CPU utilization by 30-40%. This means that we get increased CPU Utilization whenever we run this code
from:
https://stackoverflow.com/questions/19781087/using-operatingsystemmxbean-to-get-cpu-usage

Below numbers look good
-- Meters ----------------------------------------------------------------------
#Successful Operations
count = 1000000
mean rate = 101.00 events/second
1-minute rate = 100.73 events/second
5-minute rate = 100.85 events/second
15-minute rate = 101.13 events/second
#Unsuccessful Operations
count = 0
mean rate = 0.00 events/second
1-minute rate = 0.00 events/second
5-minute rate = 0.00 events/second
15-minute rate = 0.00 events/second

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

GatewayAddressCacheTest ran locally, passes fine. Other failed tests are queryLargeDocument known issues.


KOBman utility setup error

We regret for the issue that you are facing, Thanks for helping us by raising an issue so that we can improve ourself to do the best.
Please tick one according to the issue you are facing with:

[x] Issue facing with installation or setup.
[ ] Issue facing while running a environment.
[ ] Issue facing while adding a new environment or new file.
[ ] Other issues: please provide the issue in the comment box

Please explain the Issue / Feature Request here:
the 'environments' file have only one environment .

Please provide the necessary screenshots or documents regarding the issue:

Closing this as it has not been reported lately


Using a component as an icon?

Reference: https://bootstrap-vue.org/docs/icons

Is this a bug report or a feature request. I don’t add features myself at this point but consider pull requests.


Format of JSON not as expected

Expected Behaviour
For an object Person, that has an Address I expect to see it logged like this -
When logging using Logger.LogInformation<Person>(person, "{Name} and is {Age} years old", new object[]{person.Name, person.Age}); I expect the output to look like -
"person": {
    "name": "Alan Adams",
    "age": 11,
    "address": {
        "street": "123 Main Street",
        "city": "Boston"
    }
},

Current Behaviour
Instead the output is -
"name": "Alan Adams",
"age": 11,
"address": {
    "street": "123 Main Street",
    "city": "Boston"
},

Person is lost.
Code snippet
using Amazon.Lambda.Core;
using AWS.Lambda.Powertools.Logging;

// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]

namespace ThreeSimpleWaysToLog;

public class Function

{
    [Logging(LogEvent = true, LoggerOutputCase = LoggerOutputCase.CamelCase)]
    public void FunctionHandler(string input, ILambdaContext context)
    {
        Person person = new Person { Name ="Alan Adams", Age = 11, Address = new Address{ Street = "123 Main Street",  City ="Boston" } };
        Logger.LogInformation<Person>(person, "{Name} and is {Age} years old", new object[]{person.Name, person.Age});

    }
}

public class Person
{
    public string Name {get ; set;}
    public int Age { get; set; }
    public Address Address { get; set; }
}
public class Address
{
    public string Street { get; set; }
    public string City { get; set; }
}

Possible Solution
I would expect the log out to look the same as it does when using like this -
Logger.AppendKey("Person", person);
Logger.LogInformation("{Name} and is {Age} years old", new object[]{person.Name, person.Age});
Logger.RemoveKeys("Person");

The output from this is -
{
    "coldStart": true,
    "xrayTraceId": "1-642b077d-0e615d154a66119a5585838b",
    "person": {
        "name": "Alan Adams",
        "age": 11,
        "address": {
            "street": "123 Main Street",
            "city": "Boston"
        }
    },
    "functionName": "ThreeSimpleWaysToLog",
    "functionVersion": "$LATEST",
    "functionMemorySize": 256,
    "functionArn": "arn:aws:lambda:us-east-1:694977046108:function:ThreeSimpleWaysToLog",
    "functionRequestId": "5bf50f21-2c0e-4327-82df-fd0939bf6aa5",
    "timestamp": "2023-04-03T17:06:07.0296164Z",
    "level": "Information",
    "service": "ThreeSimpleWaysToLog",
    "name": "AWS.Lambda.Powertools.Logging.Logger",
    "message": "Alan Adams and is 11 years old"
}

The Person is clearly shown.
Steps to Reproduce
Deploy the code provided and invoke.
AWS Lambda Powertools for .NET version
latest
AWS Lambda function runtime
dotnet6
Debugging logs
No response

@bjhogan thanks for reporting. Having a look

Related to #116

Hi @bjhogan, thanks for opening the issue. The extraKeys parameter in Logger.LogInformation(extraKeys, "message"), expect dictionary or a list of key/value pairs. So the object also be treated as a bag of key/value pair and will be logged in the root level. You can pass "person" object as value in combination with the key name to achieve the desired outcome.
var extraKeys = new { Person = person };
Logger.LogInformation(extraKeys, $"{person.Name} and is {person.Age} years old");

On a separate notes, we have already another issue https://github.com/awslabs/aws-lambda-powertools-dotnet/issues/166 to improve the documentation.


Arbitrary Subquery Unnesting

Implement unnesting of arbitrary subqueries, as described in the following papers:
http://www.btw-2015.de/res/proceedings/Hauptband/Wiss/Neumann-Unnesting_Arbitrary_Querie.pdf
http://btw2017.informatik.uni-stuttgart.de/slidesandpapers/F1-10-37/paper_web.pdf

This is finished


Bad alignment in organization profile picture and logo text in non-English languages

There are a few formatting issues with the Organization profile settings in non-English languages (tested in Russian).

Bad alignment for hover text on the organization profile picture.
Bad alignment for hover text on the organization logo pictures.
Bad alignment of "Day logo" / "Night logo" labels.

It would be great to fix all these.

@sayamsamal I've assigned this issue to you, since I think you'd be in a great position to fix it. Please feel free to unassign yourself if you are not up for woking on this.

@alya I will definitely like to work on this issue as it is relevant with the past issues I have worked upon, thanks.


[Twitter] Auth sometimes returns Code 101

Sometimes while working in simulator I get this error in the debugger:
Response: (null) Error: Domain=SimpleAuthErrorDomain Code=101 "(null)" UserInfo={SimpleAuthErrorStatusCode=429}
If I wait maybe 5 minutes it will come back and work just fine.

The HTTP status 429 means  "Too Many Requests", you're probably being rate limited by the Twitter API (https://dev.twitter.com/rest/public/rate-limiting)


Fix inconsistent state after error

There are two places where we could end up with inconsistent state between what the DB has and what the incremental copy state/ the file dependency hashes know about:

Incremental copy: If one would do a TRUNCATE/rebuild of the target table and the resulting full load would error, the next run would be an incremental one (as the old comparison value would still be there) despite the table not fully loaded
file dependencies: if you do a deploy, which results in a rerun and this rerun fails + this deplyo is then reverted, the old file dependencies would match and not trigger a rerun despite the DB not be in a fully functional state

In both cases, we now simply delete the old state before the action (copy/execute) is attempted. This should trigger a full copy in case the copy is not successful/ a full run if the deploy is reverted.
Closes: #18

This is up to now untested. I will test this in our setup and trigger a few aborts locally. I will report back in a few days...

I've tested this now locally for about a week worth of loads (most if not all of them not triggering the new codepaths itself, as the loads were without problems). In artificial runs which simulated the error conditions it worked as intended. So I feel comfortable to merge this.


Made Alchemy Protect

Alchemy Protect is a plugin that protects selected items against accidentally being alched.
It uses the same CSV based item list with default wildcard functionality as the Ground Item plugin.
 Not anymore with this plugin (if you add them)!

pretty much already exists, just right click the spell

pretty much already exists, just right click the spell

The in game feature only has untradable protection and price-based protection. It does not allow you to specify specific items. With this plugin you can protect certain items without losing the ability to alch more other items with higher prices (Very usefull to ironmen).

seems like a good idea :D


HBASE-27273 Should stop autoRead and skip all the bytes when rpc requ…

…est too big

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  7s
Docker mode activated.

The failed UTs should not be related, and I tried it locally several times, all passed. Let me merge. Thanks @sunhelly !


Morning Peer to Peer to review

Appreciation👏

Awesome readme
Good Commit messages
Good implementation of the good

Optional Changes

I think for better user experience, it would be better if the To-Do list didn't have the reload after checking each item. This affects both  the performance of the website and the user experience

Resolved


New openmpi conda-forge version does not install libmpi.so.40

Hi, I've solved the issue, but thought it was worth flagging the bug:
I just installed cellrank using:
conda create -n cellrank python=3.9
conda activate cellrank
conda install -c conda-forge -c bioconda cellrank-krylov
conda install jupyter

When I run g.compute_schur(n_components=20) I get the following error: ImportError: libmpi.so.40: cannot open shared object file: No such file or directory. When I checked /software/conda_envs/cellrank/lib I could not find libmpi.so.40
I noticed that openmpi=4.1.3 was only uploaded in the last week, so downgraded to openmpi=4.1.2. Now I do have the libmpi.so.40 file, and g.compute_schur works :)
So in case anyone else has this issue: conda install -c conda-forge openmpi=4.1.2 does the trick!

Thanks for pointing this out! Will adjust the conda yaml file for the next release.

Thanks also from my side @leahrosen!

lt seems that the openmpi=4.14 still does not install libmpi.so.40
(xxx) dell@dell:~$ python -c "from mpi4py import MPI"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libmpi.so.40: cannot open shared object file: No such file or directory
(xxx) dell@dell:~$ conda list openmpi
# packages in environment at /home/dell/anaconda3/envs/etLUmpi:
#
# Name                    Version                   Build  Channel
openmpi                   4.1.4                external_0    conda-forge

What's your opinion on this @michalk8 ?

Since I found your issue while trying to solve a very similar issue (https://github.com/pyiron/pyiron_atomistics/issues/681) - I just wanted to let you know that install -c conda-forge openmpi=4.1.4=ha1ae619_100 (on linux64) solved the issue on our end.

Great, thanks @niklassiemer

Since I found your issue while trying to solve a very similar issue (pyiron/pyiron_atomistics#681) - I just wanted to let you know that install -c conda-forge openmpi=4.1.4=ha1ae619_100 (on linux64) solved the issue on our end.

@niklassiemer it works well, thanks for your response!


feat: merge next into main

Description
This PR adds the following features:

add loading spinner to source dropdown (ef2a4d2)
show loading spinner on source change (9ce7345)
load previously selected source after image select (e9ac2e1)
keep previously selected asset populated (ddbf1e3)

Before

Source had to be selected each time modal opened.
Field would get cleared on cancel

After

Field source is loaded into modal, so user doesn't need to select it again
Field does not get cleared on cancel

Screenshots
https://user-images.githubusercontent.com/16711614/206080041-d469db7d-1487-4faa-adf1-150acf7f413e.mov

Current dependencies on/for this PR:

main

PR #194   👈

PR #190

PR #191

PR #192

PR #193

This comment was auto-generated by Graphite.

@sherwinski I had to roll-back the slectedSource?id === this.props.selectedSource.id && !this.props.assets.length because that always evaluated to true since it would be undefined && undefined && true


Improve docker instructions in docs

Added missing steps for docker compose.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #934   +/-   ##
=======================================
  Coverage   59.56%   59.56%
=======================================
  Files         114      114
  Lines        6020     6020
  Branches      739      739
=======================================
  Hits         3586     3586
  Misses       2292     2292
  Partials      142      142

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 8b096fa...e8c44ce. Read the comment docs.

@bogdal Changed!


Navigation menu - Update

@codiebeulaine @KaitCrawford
Please review | Position section on part of the menu

@KaitCrawford The {% content_is ...%} tag checks for a keyword (Provided in  English) match / existence  against all translated languages by True or False. I need this to separate a section or place it on a different part of a page ie. Events section from the returned   {% for section_cat in sections %} loop of section indexes on the general navigation menu.
{# {% get_translation section_cat as section %} #} Is commented out until I've tested and made sure there are no translations side-effects in QA.


Problem with docker when using a reverse proxy

Version
@nuxtjs/strapi: v0.1.6
nuxt: v2.14.5
Steps to reproduce
I have a docker-compose with nuxt and strapi, on the top a reverse proxy that handle routing using Virtual hosts that use http://my.project.test for nuxt and http://api.my.project.test for strapi.
If I call on the client http://api.my.project.test everything is going ok.
If I made the same call on the server tries to connect to the 80 port instead of 1337
FetchError: request to http://api.my.project.test/users/me failed, reason: connect ECONNREFUSED xxx.xx.xx.xx:80
If into server I call to http://strapi:1337 everything is going ok, but the client is broken.
I read this is a common problem with docker, nuxt and strapi (you can look also at this: https://stackoverflow.com/a/55090981)
So debugging the source I checked the http-module. It should give you the opportunity to set both client and server url, but strapi-module set a unique url and with this line (https://github.com/nuxt-community/strapi-module/blob/c65a31cd5518f3387855a741a1dac7618958c93e/lib/plugin.js#L19) it override http-module settings.
What is Expected?
I expect to use the nuxt http: {} config (https://http.nuxtjs.org/api/#baseurl & https://http.nuxtjs.org/api/#browserbaseurl) or strapi module could proxy these settings.
What is actually happening?
In server mode, fetchUser is going to fail.

I think the temporary workaround would be by using reverse proxy (nginx) on your docker containers and reference client-side link on both server and client.

This has been closed for a while - but I've struggled to configure the proxy module. Is there any config examples out there with .env setups?


How to train on multi-GPU？

Hello, because my hardware is limited, there is not enough memory to test on the domain net dataset, so parallel multi-GPU training is required, but it cannot be done according to the code
algorithm = torch.nn.DataParallel(algorithm, device_ids=range(torch.cuda.device_count()))``
Do you have any good suggestions？
thanks！

Most simply, you can reduce the batch size for the DomainNet (e.g. use B=16 or B=24). This will affect the performance, but I don't think it is significant. Or, if you want to use DataParallel, it seems to pull the model update code from the algorithm.

Thank you for your reply. In fact, I wrote my own method in the algorithm.py. If I use batch_size=16 or 24, would it be unfair compared to the other methods? Or, I need to retest all methods at batch_size=16 or 24, which may be time-consuming and costly. Therefore, in order to alleviate the insufficient memory of a single GPU, I wanted to solve the problem with multiple Gpus, but I tried some methods, but always failed.

I think you need to separate model update code (including loss backward and optimizer step) from the algorithm, to use DataParallel. Since the codebase is not designed for the multi-gpu originally, there may need several additional modifications.

I think you need to separate model update code (including loss backward and optimizer step) from the algorithm, to use DataParallel. Since the codebase is not designed for the multi-gpu originally, there may need several additional modifications.

Ok, thank you. I'll try.


With yt-dlp assigning a key to a command in mpv input.conf doesn't work?

I'm trying to run this command from the input.conf in mpv to save videos. The problem is
with youtube-dl it works fine but with yt-dlp it isn't working?
CTRL+c run "cmd.exe" "/d" "/c" "chdir /d C:/Users/aydin/Desktop && yt-dlp ${path} -f '(bv*+ba/b)[format_id!*=hardsub]' --cookies C:/Users/aydin/Desktop/yt-dl/cookies.txt --all-subs --write-sub --remux mkv --embed-subs --force-ipv4 --http-chunk-size 10M --external-downloader aria2c --external-downloader-args -x 16 -s 16 -k 10M --max-tries=1000000000 --log-level=error --log=log.txt"

What Is input.conf?

What Is input.conf?

Sorry forgot to write it for mpv I mean

I don't know what is the syntax for mpv config file. The issue is probably that you need to escape some characters or quote arguments. If you were directly running this, the correct syntax would be:
cmd.exe /c "chdir /d "C:/Users/aydin/Desktop" && yt-dlp ${path} -f "(bv*+ba/b)[format_id!*=hardsub]" --cookies "C:/Users/aydin/Desktop/yt-dl/cookies.txt" --all-subs --write-sub --remux mkv --embed-subs --force-ipv4 --http-chunk-size 10M --external-downloader aria2c --external-downloader-args "-x 16 -s 16 -k 10M --max-tries=1000000000 --log-level=error --log=log.txt""

I don't know what is the syntax for mpv config file. The issue is probably that you need to escape some characters or quote arguments. If you were directly running this, the correct syntax would be:
cmd.exe /c "chdir /d "C:/Users/aydin/Desktop" && yt-dlp ${path} -f "(bv*+ba/b)[format_id!*=hardsub]" --cookies "C:/Users/aydin/Desktop/yt-dl/cookies.txt" --all-subs --write-sub --remux mkv --embed-subs --force-ipv4 --http-chunk-size 10M --external-downloader aria2c --external-downloader-args "-x 16 -s 16 -k 10M --max-tries=1000000000 --log-level=error --log=log.txt""

Yes thank you very much that solved it.👍🙂


color change for reset and home button

reset button is now red and test button is green. reset and home button sizes are now fixed on final page.


sayonara: 1.6.0-beta7 -> 1.7.0-stable3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for sayonara is: "Sayonara music player"
meta.homepage for sayonara is: "https://sayonara-player.com/"
meta.changelog for sayonara is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3/bin/sayonara passed the binary check.

/nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3/bin/sayonara-query passed the binary check.

/nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3/bin/sayonara-ctl passed the binary check.

/nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3/bin/.sayonara-wrapped passed the binary check.

2 of 4 passed binary check by having a zero exit code.

2 of 4 passed binary check by having the new version present in output.

found 1.7.0-stable3 with grep in /nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3

found 1.7.0-stable3 in filename of file in /nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3

directory tree listing: https://gist.github.com/b5d01e3e40a79f32d3d14d6bade751fd

du listing: https://gist.github.com/dee3330d5b98ab5d57a79565351ff56d

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
sayonara

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sayonara https://github.com/r-ryantm/nixpkgs/archive/4d25b19c2b605c118c17e1eaab182ec17d70ee88.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3
ls -la /nix/store/k9k5knawkybw2hswfkiddi1ijy35za94-sayonara-1.7.0-stable3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sayonara

Maintainer pings
cc @deepfire for testing.

Result of nixpkgs-review pr 137752 run on x86_64-linux 1

1 package built:

sayonara

Result of nixpkgs-review pr 137752 at 4d25b19c run on x86_64-linux 1

1 package built successfully:

sayonara

1 suggestion:

warning: unclear-gpl
gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/audio/sayonara/default.nix:74:5:
   |
74 |     license = licenses.gpl3;
   |     ^


Provide a commented list of lessons and resources

This suggestion came up in a discussion with @rkdarst who made the good suggestion that we should not only list a number of good resources created by us or others but expand this list with comments where we can highlight how the lessons differ, who might most benefit from them, how they can build on each other, etc.

I am interested in this. How large operation is is? Which material to go through and where the list should be made?

It is to add 1-sentence comments to these two lists:

https://coderefinery.org/lessons/
https://coderefinery.org/lessons/other-projects/

Estimated time investment: 2 hours to 1 day, maybe more (depending on how deeply one dives into possibly unknown material)

Also this https://coderefinery.org/lessons/from-coderefinery/ does not list all. I was looking for our instructions on how to organise the workshop.


Integrating Ionic NavController into onComplete

I'm still learning the ropes of surveyJS and Ionic/Angular, so this might be a silly question and hopefully you don't mind. I'm also duplicating this request from an ionic surveyjs example.
I'm trying to integrate the navcontroller into my survey component:
// src/components/survey/survey.ts
import {Component, Input} from '@angular/core';
import * as Survey from 'survey-angular';
import {NavController} from "ionic-angular";

/**
 * Generated class for the SurveyComponent component.
 *
 * See https://angular.io/api/core/Component for more info on Angular
 * Components.
 */
@Component({
  selector: 'survey',
  templateUrl: 'survey.html'
})
export class SurveyComponent {

  surveyJSON: any;

  @Input()
  set json(surveyJSON) {
    Survey.Survey.cssType = "bootstrap";
    Survey.defaultBootstrapCss.navigationButton = "btn btn-green";
    this.surveyJSON = surveyJSON;
    let surveyModel = new Survey.ReactSurveyModel(surveyJSON);
    // Progress Bar.
    surveyModel.showProgressBar = 'bottom';
    // surveyModel.onComplete.add(this.sendDataToServer);
    surveyModel.onComplete.add(this.doPop);
    Survey.SurveyNG.render('surveyElement', {model: surveyModel});
  }

  constructor(public navCtrl: NavController) {
    console.log('survey component loaded');
    console.log(this.navCtrl);
  }

  doPop() {
    console.log(this.navCtrl);
    this.navCtrl.pop();
  }

}

When the page gets rendered I see the navcontroller in the console as expected from the constructor. However, once the survey is complete this.navCtrl is undefined inside doPop():
TypeError: Cannot read property 'pop' of undefined
    at Array.webpackJsonp.287.SurveyComponent.doPop (http://localhost:8100/build/main.js:1053:22)
    at Event.fire (http://localhost:8100/build/vendor.js:122947:47)
    at ReactSurveyModel.SurveyModel.doComplete (http://localhost:8100/build/vendor.js:126150:25)
    at ReactSurveyModel.SurveyModel.completeLastPage (http://localhost:8100/build/vendor.js:126102:14)
    at SurveyNavigation.handleCompleteClick (http://localhost:8100/build/vendor.js:131314:21)
    at HTMLInputElement.eventProxy (http://localhost:8100/build/vendor.js:131937:39)
    at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15040)
    at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4238:33)
    at t.invokeTask (http://localhost:8100/build/polyfills.js:3:14961)
    at r.runTask (http://localhost:8100/build/polyfills.js:3:10214)

It seems the issue is that the this context gets lost once the doPop() is added to onComplete. Any suggestions on how to integrate the navcontroller into my surveyModel.onComplete call?
Thanks!

It could be caused by the wrong context. Could you check in the browser debugger console - what the "this" object is inside the doPop(), when it's being called?
If the "this" object is not an instance of the SurveyComponent, you can fix it using fat arrow function declaration:
  doPop = () => {
    console.log(this.navCtrl);
    this.navCtrl.pop();
  }

That did the trick! Thanks!
It seems like at that point in time the context is a list of functions with the first being doPop.  So it's definitely not an instance of SurveyComponent.
Seems like I need to understand ES6 better. Going to dive into that.


Bandpass filter frequency settings

It looks as if the Bandpass Filter sets upper and lower frequencies symmetrically (arithmetic mean) around the centre frequency, width defined by the widthFrequency - is that correct?
For an Octave Band Filter I need a Geometric Mean centre frequency - the upper frequency cut-off to be further away from the centre frequency than the lower frequency cut-off
Does the IIRS filter library allow for this type of bandpass filter? Thank you, Michael

At the end you can always convert it to f1 = f0 - 1/2 bw and f2 = f0 + 1/2 bw and then work out the new centre frequency. Internally the BP is generated by transforming a lowpass response into a BP response:
https://dsp.stackexchange.com/questions/22016/how-is-the-lowpass-to-bandpass-transformation-derived
The bandwidth is defined by the lowpass cutoff and the centre frequency by the shift variable f0. This also means that if you use a 4th order bandpass or a chain of two 2nd order high/lowpass filters won't make a difference.

Hello Bernd
Thanks very much for your quick response
For the ‘one octave' bandpass filter the frequencies will be f1 = f0/√2, and  f2 = f0*√2
So on a logarithmic freq scale they are visually ‘symmetrical' around the centre frequency,
but on an actual linear scale they will be ‘off-centre’, non-symmetrical, with more on the f2 side
Do I understand you well that in the code somewhere, the f1 and f2 frequencies can be set independently as  f1 = f0/√2, and  f2 = f0*√2 (i.e: not symmetrical around f0) and then the bandwidth can be set as BW= fo/√2 ?
Thanks again
Kind regards
Michael

On 30/04/2019, at 01:57, Bernd Porr<EMAIL_ADDRESS>wrote:
At the end you can always convert it to f1 = f0 - 1/2 bw and f2 = f0 + 1/2 bw and then work out the new centre frequency. Internally the BP is generated by transforming a lowpass response into a BP response:
https://dsp.stackexchange.com/questions/22016/how-is-the-lowpass-to-bandpass-transformation-derived https://dsp.stackexchange.com/questions/22016/how-is-the-lowpass-to-bandpass-transformation-derived
The bandwidth is defined by the lowpass cutoff and the centre frequency by the shift variable f0. This also means that if you use a 4th order bandpass or a chain of two 2nd order high/lowpass filters won't make a difference.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/berndporr/iirj/issues/13#issuecomment-487772361, or mute the thread https://github.com/notifications/unsubscribe-auth/AK7AB6HU64YA6TQ6UMHYBDTPS54OFANCNFSM4HJFJ3JQ.

Check this out: It's basically shifting a lowpass in the frequency domain:
http://slideplayer.com/slide/4468758/14/images/21/Low+Pass+to+Band+Pass:+The+tranformation+maps.jpg

Sorry that's too abstract for me! I just want to find out if i can specify the lower and upper frequencies, rather than centre freq +bandwidth approach - anyway thanks for your time

Short answer: no. The whole internal calc works with center/bandwidth. It never has f1/f2 at any point so just use your formulas above to map from f1/f2 to f0/bw.

Thank you


Revamp feature page

Is your feature request related to a problem? Please describe.
Revamp feature page.
Describe the solution you'd like
Make it responsive for small screens.
Describe alternatives you've considered
NA
Additional context
No response

i want to contribute


Support for CUDA 10.1 version?

When I install the environment using instructions in README.md, libraries are setup to use CUDA11. But I setup CUDA10.1 on my system, so things don't work off the bat. Is there an easy way to get acme to work with CUDA10.1? I've spent a couple of hours trying different things with little success.

Hi! Unfortunately I think the answer to this is no and you'll have to upgrade CUDA.
To provide some more context: technically acme doesn't really care what version of CUDA you have. HOWEVER we rely on tensorflow (or jax in some situations, but it sounds like you're using tensorflow) for GPU support. If you were able to install tensorflow in a way that works with CUDA 10.1 that might work. Unfortunately, I think the current versions of tensorflow only support CUDA 11, and because of our reliance of reverb (and some other compiled components) there's a somewhat tight window around the versions of TF that work with acme.
As a result, I think you'll have to upgrade CUDA. While I don't want to entirely rule out the possibility that this could be made to work... I do think it's unlikely and even if so it will be harder than upgrading CUDA and not something that we'd be able to help with.
If you're not already running under a docker image (see https://www.tensorflow.org/install/docker) that might also help. This is what I'd usually recommend as a way to avoid any version mismatches with your system. Unfortunately though this will likely require the CUDA driver to be updated---but that's it!

This is great information, thank you @mwhoffman! Helps me think much more clearly.


Brightness to 100% on Fire HD 7

Describe the bug
When ever the app gains focus it overrides the system setting for brightness, and increases the brightness to 100%.  This appears to occur regardless of whether the camera based dimming behaviour is enabled.
To Reproduce
Steps to reproduce the behavior:

Set the system brightness to ~50%
Open the wallpanel app
Note sudden burning sensation in retinas as the screen brightness is increased to 100%

Expected behavior
Either the system brightness should be honoured, or some option to disable the override behaviour should be made available.
Smartphone (please complete the following information):

Device: Amazon Fire HD 7
OS: Fire OS
Version <IP_ADDRESS>

I have the Fire HD 8 and I think I'm running into a similar problem. It seems like whatever brightness you had your screen at when you first launched the app, it will revert to that brightness if you change it.
I initially had the problem where my screen brightness kept getting changed to 50% when the screen is on. I uninstalled the app, set my brightness to 75%, re-installed the app, re-configured it, and now when I change the brightness to 50%, it will revert back to 75%.

I have the same issue on a Samsung Galaxy A3 that was working fine before the last update of the app

I need to know the application version number.  You can find the version number of the application in the settings, from the about section.   For the application brightness change to work, you need to change the brightness of the device, before going into the settings.  It's funky, but its the only way to know you intent do reset the brightness.  Under normal conditions, you would already have the brightness set before entering the settings.  The other option is to use the MQTT command to adjust the brightness level to what you want.

The version is 0.8.6 Build 2
I don´t change the settings, either if I quit the app, adjust the brightness of the device to auto, and restart, or if I do the same thing in the configuration menu (without changing anything, simply goiing back from the panel and reloading it) the auto brightness is unselected and changed to 100%

There seems to be some interference with the screen brightness level and when a user is present, so it resets the screen brightness to the default before a user can enter the settings to save the new screen brightness level.   I will issue a new update shortly!!

Same behavior...I´ve just updated the app

I have not seen this issue under v0.8.6 Build 3.  Be sure you are not setting the screen brightness using MQTT commands.   If you change the devices brightness level before entering the application settings, the screen brightness level is respected.  If you manually change the screen brightness level using MQTt command, that level is respected.

I´ve never used the brightness command trough MQTT, I only use the 'Wake' command

The brightness wake is redundant now if you use the screensaver.  The screen dims automatically when the screensaver is on and brightens back to normal (your last saved brightness level) when awake.  Can you confirm your version number, go into app settings and then about.

I don´t use the screensaver nor the brightness wake, just the wake....this is my command in HA.
{
"payload": "{'wake':True}",
"retain": "false",
"topic": "a3/command"
}
The screen sleeps through Android config, not HA Dashboard.
The version is 0.8.6 B3.
Restarted the phone, just in case.
And I can confirm that the Android auto brightness is working, because if I exit the Dashboard app, it addapts to the ambient brightness during wake or when I wake up with the side button

So the auto brightness is working?  You have an issue with the wake, is that correct?

The wake itself works fine, the issue is that doesn't honour the Android brightness, for example:
If I set the phone brightness to 50%, then load the app, when the wake command is sent, the screen is activated but at 100% of brightness

Ok that is different than what the ticket states that is why there is a confusion.  The issue you have is different than the one fixed and it’s the first time It’s been reported.  I will take a look at the wake code but the original issue for this ticket has been addressed.

Can I provide you with further info? A video maybe? So there is no confusion about what´s happening

@djchen @HFsi Some mqtt broker submit there last value on client connect. May this be the reason?

This issue has been fixed for me with the latest version. I don't use it with MQTT yet.

Not for me.
For now I'm sending the wake command, followed by a brightness command to lower it down


Server reset

Has the addition of the issuing of F21 Participant roles been considered for resetLevels.ts?

Has the addition of the issuing of F21 Participant roles been considered for resetLevels.ts?

This is a "config file on gold" thing. If you check out here you can see the config values. We'll have to manually make the F21 participant roles and fill in the config ids on gold.

Has the addition of the issuing of F21 Participant roles been considered for resetLevels.ts?

This is a "config file on gold" thing. If you check out here you can see the config values. We'll have to manually make the F21 participant roles and fill in the config ids on gold.

Got it. Thanks!


add task to write relatedness check to tsv

Yep this looks great!  one small question but otherwise that's it.


Preserve jobs on server restart. Fixes #752

WIP #752 Updated config.local.js setting

There is still another case to handle; namely the resuming of executions on server restart, etc


Remove incorrect instruction for pushing to external feeds

@ramiMSFT

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Memory leack in concurent build proccess.

Hi, i have been using this and just restarting in my dev proccess ;) but am trying to track down why my concurrent bundling is leaky. to tighten up the whole process. Does anyone have insight into this problem.  I am watching many code files for different bundles
Running "concurrent:bundle" (concurrent) task
Verifying property concurrent.bundle exists in config...OK
Files: [no src] -> bundle
Options: limit=16, indent, logConcurrentOutput
>> Warning: There are more tasks than your concurrency limit. After this limit
>> is reached no further tasks will be run until the current tasks are
>> completed. You can adjust the limit in the concurrent task options
(node:22429) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
    at _addListener (node:events:587:17)
    at WriteStream.prependListener (node:events:619:14)
    at prependListener (/home/mango/git/plan-webmap/node_modules/readable-stream/lib/_stream_readable.js:92:69)
    at Pumpify.Readable.pipe (/home/mango/git/plan-webmap/node_modules/readable-stream/lib/_stream_readable.js:644:3)
    at /home/mango/git/plan-webmap/node_modules/grunt-concurrent/tasks/concurrent.js:70:15
    at /home/mango/git/plan-webmap/node_modules/grunt-concurrent/node_modules/async/dist/async.js:2588:44
    at replenish (/home/mango/git/plan-webmap/node_modules/grunt-concurrent/node_modules/async/dist/async.js:446:21)
    at /home/mango/git/plan-webmap/node_modules/grunt-concurrent/node_modules/async/dist/async.js:451:13
    at Object.eachLimit$1 (/home/mango/git/plan-webmap/node_modules/grunt-concurrent/node_modules/async/dist/async.js:2718:34)
    at Object.awaitable (/home/mango/git/plan-webmap/node_modules/grunt-concurrent/node_modules/async/dist/async.js:211:32)
    at Object.<anonymous> (/home/mango/git/plan-webmap/node_modules/grunt-concurrent/tasks/concurrent.js:38:9)
    at Object.<anonymous> (/home/mango/git/plan-webmap/node_modules/grunt/lib/grunt/task.js:252:15)
    at Object.thisTask.fn (/home/mango/git/plan-webmap/node_modules/grunt/lib/grunt/task.js:70:16)
    at Object.<anonymous> (/home/mango/git/plan-webmap/node_modules/grunt/lib/util/task.js:294:30)
    at Task.runTaskFn (/home/mango/git/plan-webmap/node_modules/grunt/lib/util/task.js:244:24)
    at Task.<anonymous> (/home/mango/git/plan-webmap/node_modules/grunt/lib/util/task.js:293:12)
    at /home/mango/git/plan-webmap/node_modules/grunt/lib/util/task.js:220:11
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
(node:22429) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit

Looking into this it might be related to
https://github.com/node-fetch/node-fetch/issues/1295#issuecomment-921178548
//line 38
		async.eachLimit(tasks, options.limit, (task, next) => {
			const subprocess = grunt.util.spawn({
				grunt: true,
				args: arrify(task).concat(flags),
				opts: {
					stdio: [
						'ignore',
						'pipe',
						'pipe'
					]
				}
			}, (error, result) => {
				if (!options.logConcurrentOutput) {
					let output = result.stdout + result.stderr;
					if (options.indent) {
						output = indentString(output, 4);
					}

					grunt.log.writeln(`\n${output}`);
				}

				next(error);
			});

			if (options.logConcurrentOutput) {
				let subStdout = subprocess.stdout;
				let subStderr = subprocess.stderr;
				if (options.indent) {
					subStdout = subStdout.pipe(padStream(4));
					subStderr = subStderr.pipe(padStream(4));
				}

				subStdout.pipe(process.stdout);
				subStderr.pipe(process.stderr);
			}

			subprocesses.push(subprocess);
		}, error => {

//...
			if (options.logConcurrentOutput) {
				let subStdout = subprocess.stdout;
				let subStderr = subprocess.stderr;
				if (options.indent) {
					subStdout = subStdout.pipe(padStream(4));
					subStderr = subStderr.pipe(padStream(4));
				}
//line 70
				subStdout.pipe(process.stdout);
				subStderr.pipe(process.stderr);
			}

Will keep poking around but it seems over time my project crashes.  not sure exactly where the leak is this is just one lead.

Ok so I think I fixed this with the fallowing simit added around line 40
if(tasks.length > 10) {
					let newListenerLimit = tasks.length + 10; // do we need 10 more maybe not but maybe oher things are using the normal 10 limit
					grunt.log.oklns(
						'Warning: There are more tasks than your event listener limit. Incresing this to '+ newListenerLimit
						+ "// process.stdout.setMaxListeners(newListenerLimit);"
					);
					process.stdout.setMaxListeners(newListenerLimit);
					process.stderr.setMaxListeners(newListenerLimit);
				}
//just above async.eachLimit(tasks, options.limit, (task, next) => {


Timer behavior

Describe the bug
Timer stops working when one sound is cancelled and another is played.
To Reproduce
Steps to reproduce the behavior:

Click on any card
Click on the card after some time when the sound starts playing
Click on another card

Expected behavior
Timer should continue if the sound is playing

I would like to work on this issue.

Hey @ayushichoudhary-19 I have assigned an issue to you. You can pick this one up after completing that one. Till then it's open for contributors.
Thanks

I would like to work on this issue.

Issue assigned to @KaushikKundu. Thanks for contributing to Focusly :)

After thoroughly reviewing the code, I found the 'handlePause' and 'handleStart' functions and associated state changes a little confusing in the "focusSoundCard.js" file.
LIke, handlePause function is setting 'isPaused' state false, which is counterintuitive as it's pausing the timer. Also, in handleStart function 'isPaused' is set to true, but the timer is not paused.
Can you please explain their intended logic? I can modify but I'm afraid it might break the core logic of timer.

Hey @KaushikKundu the intended aim of having handle pause was to handle the management of audio when the audio is paused (not closed), so that audio starts from where it was paused. While handle start takes care of audio being started and closed.
Note : by close here I mean when the user closes the card.

but I see, that in handleStart function, IsPaused is set to true, it also checks and starts the timer.
const handleStart = () => {
setIsActive(true);
setIsPaused(true);
if (timer === 0) {
countRef.current = setInterval(() => {
setTimer((timer) => timer + 1);
}, 1000);
}
};

I believe this line might be causing the issue of timer.

Yeah, guess so. I saw same kind of counterintuitive logic in other parts. Lets see if I can fix this.

Hey @Utkarshn10 can you assign it to me i think i might fix this

hey @Utkarshn10 i will solve it

Hey @KaushikKundu are you working on this issue?

Hey @Utkarshn10 , I think it'd be better to unassign me for this issue.  I tried but couldn't solve it completely.

Hey @Mohit-0918 assigning this to you. Thanks


Mutliple dots for multiple events on the same day

Love this library ! Currently using it in my app :)
Would be great to add the capability of having multiple dots when there's multiple events for a day. See image example image below.
Thank you !

There seems to be some more interest on this issue. I will start thinking on how I can do this. Shouldn't been too difficult :).

I think I'll add the ability to add multiple days, where  you can configure the color for the event and pass in an optional extra Object type. This will be a breaking change for the api (probably rename the event class name), but will probably be nessiary for it to work. Something like this:
CalendarEvent(int color, long timeInMillis, Object data) looks like from Goolge calendars, they draw a plus sign when there are 3 or more events. I'll probably do the same, however, if the screen size is large enough to show more. Then we can draw more indicators till there is no more room.

I've added some basic code to draw multiple events, you should be able to set the colour for each event as well.

I think I've done with most of the implementation, I think I'll be releasing a beta for this today. If your interested, you can test things out.

Il would be great if the app in the future could recognise automatically the event for the same days.

Hi @simoneluconi, would you be able to give a little more info on what you mean by automatically recognise events?

I mean that if i add some events, and some of this are of the same days, the app automatically add more dots. It isn't clear if the app already work in this way or some others.

Added beta:
dependencies {
    compile 'com.github.sundeepk:compact-calendar-view:1.8.4-beta-multiple-event-support'
}

Note the api has change to allow for this, and it should be more clear when updating events.
            List<Event> events = new ArrayList<>();
            events.add(new Event(Color.BLUE, System.currentTimeMillis()));
            compactCalendarView.addEvent(new CalendarDayEvent(System.currentTimeMillis(), events), false);

If you want to update event:
        CalendarDayEvent calendarDayEvent = underTest.getCalendarDayEvent(new Date());
        Event updateItem = new Event(Color.GREEN, System.currentTimeMillis());
        calendarDayEvents.getEvents().add(updateItem);
        // now you have 2 choices
        compactCalendarView.invalidate();
       // or to replace the calendar event
         compactCalendarView.addEvent(calendarDayEvent);

Can you give more information? when compactCalendarView.addEvent(new CalendarDayEvent(System.currentTimeMillis(), events), false); should be called? and what System.currentTimeMillis() should represent? the list "events" should be cleared when i add some event for the day? i can't get it to work

I've released a beta, but it's not yet published on maven. It usally doesn't take very long, but If you check maven repo, its not there so you cant use it. However, you can clone the repo and try looking at the sample.

i added the new version (compact-calendar-view:1.8.4-beta-multiple-event-support) in the dependencies on android studio, and it compile it correcly, but simply, i don't understand how it work. I have the list with the events of the day, i call compactCalendarView.addEvent(new CalendarDayEvent(c2.getTimeInMillis(), events), false); but it only draw a random red dot in the day. This is the code:

In the 19 of september i have only an event, it goes on events.add(new Event(Color.YELLOW, c2.getTimeInMillis())); because it don't respect the condition of the if statment, but in the calendar i have a red dot. In the 24 of septermber i have multiple event, i only have one dot.

if i remove the "events.clear()" this appen

I don't understand

Ok lets take a step back :)
CalendarDayEvent takes a list of events for a particualr day. I want to think of a better a name, but will do that later.
Each CalendarDayEvent represents a list of events for a particular day so it requires it's own list. You cannot share this list with other days  because it is specific to that day.
Each day requires a new CalendarDayEvent which you are doing, but you are also sharing the event list assuming the library will make a copy of the initail list, it does not.
Each time you create a new CalendarDayEvent, make sure you create a new event list as well. Then query the calendar for the event to update or remove from it.
when you call events.clear() you are removing all the events, but you also shared the reference to this same list to all the CalendarDayEvent objects and so removed all the event as well, it's just how references work in java.
Have a look at the MainActivity.java example to see how event adding works.

Thanks! Sorry but i'm a bit new in java and i didn't know the reference thing.

Now i have solved the problem! Another question, there is some way to change the "plus" color?

Not currently, but I can add that feature in. Also I noticed the day indicator overlaps the event indicator. I will try fixing that as well. I shifted some values around for this beta and didnt check all the cases.
Thanks for trying it out and giving some feedback.

you're welcome ;)

I've added the functionality so that you can change the color on the plus. The property is confiurable in the xml for example:
 app:compactCalendarMultiEventIndicatorColor="#fff"

Have a look, I also tried to make the drawing of the indicator circle at little more consistent. Have a look, its the same version. However, just refresh gradle dependencies. It may also take a few hours for the changes to be available from.

Can you change the version name please? In android studio i can't refresh gradle dependencies. Just got A LOT of error! When i try to solve one, i get a new one! it's an infinite loop.

ok I've released version. I though replacing would just at like a snapshot and just replace what was already there. I've added -1 to the end of it.
dependencies {
    compile 'com.github.sundeepk:1.8.4-beta-multiple-event-support-1'
}
```

Also try restarting android studios or you machine as well.

Thanks! But the correct dependencies is:
dependencies {
    compile 'com.github.sundeepk:compact-calendar-view:1.8.4-beta-multiple-event-support-1'
}

Works perfectly ;)

cool, But it seems the indicator for the day is very big compared to phones I have tried. Which is samsung galaxy s3 and nexus 6 plus. They looked ok to me. What phone are you using? Or emulator? It will cause it to overlap the other indicators which looks odd.

My phone is a Xiaomi Mi3, but i have the dpi changed to 440dpi and i have reduced the size of the characters. But this is how it looks like in the nexus 5 emulator, it's pretty much the same :/

Ah ok that looks ok, does it overlap indicators? I will do some testing with the emulator you mentioned. Thanks!

Yes it operlap the indicators

Another question. I need to update some events for the day. You say that it is  CalendarDayEvent calendarDayEvent = underTest.getCalendarDayEvent(new Date());...but, what is "underTest"?

Ah, I forgot to expose that method in the calendar so that you can get events :( unfortunately, I can do this tomorrow
What you are looking at is the unit tests :).
The calendar is split into two components. The main calendar view and a controller class which does the actual processing. I added a methods to the controller class but didn't expose it via the main calendar view.

Ook, i will wait for tomorrrow ;)

@SundeepK
Please note that it does not make sense if the current or selected day indicator (the big ones) overlap the row of the event-indicators!

@simoneluconi  I've uploaded the screenshot below of nexus 5 emulator, the big indicator doesn't overlap small event indicators above or below. However, If you select a day with events, it will disappear and overlap the small indicators, this is expected behaviour for now.
Is it because you are embedding the calendar within a card layout of some sort? Because I am running the sample app from the project and it looks ok.

@XxGoliathusxX At some point I will look at that issue. Probably after this issue has been fixed, maybe make it configurable so that people can decide if they want it to draw over small indicators or not.

Maybe it's because I have set the height of the calendar to a low value because it occupy a large portion of the screen. But it's OK. The only problem is that I need to update the event hahah

Exposed the get/remove methods via the main Calendar view, have a go.
dependencies {
    compile 'com.github.sundeepk:compact-calendar-view:1.8.4-beta-multiple-event-support-2'
}

I can't see the method getCalendarDayEvent()

It has a simpler name: getEvent(date)
https://github.com/SundeepK/CompactCalendarView/blob/%40enhancement/%2352_add_multiple_event_indicators/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarView.java#L193

@SundeepK What is the difference between a CalendarDayEvent and a normal Event?
Can you explain how to add events to a specific day?

Ok I think I got it even if I am a bit confused.
I got one problem:
When I open the CalendarActivity I load the events like this:
List<Event> le = new ArrayList<>();
                    for(int i = 0; i < amount; i++) le.add(new Event(Color.BLUE, d.getTime()));
                    compactCalendarView.addEvent(new CalendarDayEvent(d.getTime(), le), false);

The amount of dots per day are correct. But when I select a day that has events and then select another one, it adds one more dot.
Example:
Ive got one event on 03.05.2016 placed.
I start the activity, and exactly one indicator is drawn on that day.
Then I select the day(03.05.2016) and then I select another one afterwards. Then there are two indicators drawn. But I didnt do anything!

Maybe the loop of events adding is repeting every time you click on another day?

@simoneluconi It only happens once! When I select and deselect it again it doesnt change(its still the correct amount + 1).

Edit: How do I change the color of the "+"?

To change the color see: THIS
For solve the problem i think that it's better that you post the all code.

I already finished my project. I just want to update the calendar from the one-event indicator to the multiple indicator version.

It's a bit confused (maybe), but i solve the problem like that:

If calendarDayEvent != null there are already some events for the day, so update the events. If not there is no event, so add a new one.

When do you use this? If you load your events or if you add a new event?

Then I load the event and when I add a new event, but when I add a new event it don't create the dot. I don't know how to solve that yet. :/

Here is my code:
Initialisation:
for(Date d : dates){ //Every date that has events to load
                int amount = getEvents(d).size();
                if(!(d.before(firstDayOfMonth)) && !(d.after(lastDayOfMonth)) && amount > 0){
                    //Date is inside the current shown month

                    List<Event> le = new ArrayList<>();
                    for(int i = 0; i < anzahl; i++) le.add(new Event(ContextCompat.getColor(this, R.color.accent), d.getTime()));
                    compactCalendarView.addEvent(new CalendarDayEvent(d.getTime(), le), false);
                }
            }

Adding:
public void addEventToDate(Date date){
Event event = new Event(ContextCompat.getColor(this, R.color.accent), date.getTime());
        eventDots.add(event);
        CalendarDayEvent calendarDayEvent = compactCalendarView.getEvent(date.getTime());
        if(calendarDayEvent != null){
            calendarDayEvent.getEvents().add(event);
        }else{
            List<Event> le = new ArrayList<>();
            le.add(event);
            calendarDayEvent = new CalendarDayEvent(date.getTime(), le);
            compactCalendarView.addEvent(calendarDayEvent, false);
        }
        compactCalendarView.invalidate();
}

@simoneluconi and @XxGoliathusxX I think adding CalendarDayEvent object was a bad choice here because it seems to cause confusion. The idea was that you can logically groups events per a day. So you have one object containing all the actual events for a specific day and you use this object to update and delete events from its list.
There are a few choices to improve the api I think.

Have only one event class which represents an event occurring in time. For example, you can have an event at at 2pm and 4pm in the same day. You add these to the calendar and the it will automatically detect it is for the same or different day and apply those changes automatically. It will look something like this:

//Thu, 05 May 2016 14:00:00 GMT
Event event1 = new Event(Color.BLUE,<PHONE_NUMBER>000L, null);

//Thu, 05 May 2016 16:00:00 GMT
Event event2 = new Event(Color.RED,<PHONE_NUMBER>000L, null);

calendar.addEvent(event1, false);
calendar.addEvent(event2, false);

// use Thu, 05 May 2016 14:00:00 GMT as the date, it will get both events
List<Event> events = calendar.getEvents(new Date(1462456800000L));
// remove first event will automatically remove from calendar
events.remove(0);

//remove all events for a single day
calendar.removeEvents(new Date(1462456800000L));
calendar.invalidate();

2.We could just have a single event class which takes an int number of events for the day:
//Thu, 05 May 2016 14:00:00 GMT, where 3 is the number if events for the day
DayEvents event1 = new DayEvents(Color.BLUE,<PHONE_NUMBER>000L, 3, null);

//Thu, 05 May 2016 16:00:00 GMT
DayEvents event2 = new DayEvents(Color.RED,<PHONE_NUMBER>000L, 4, null);

calendar.addEvent(event1);

// below will replace the above event because it's for the same day
calendar.addEvent(event2);

// use Thu, 05 May 2016 14:00:00 GMT as the date
DayEvents events = calendar.getEvent(new Date(1462456800000L));

//return 4
events.getEventCount();

// remove event for the day
calendar.removeEvent(new Date(1462456800000L));
calendar.invalidate();

The second approach will probably be the simplest because you just set the number of dots you want to show below a day. But the first allows you to use the calendar as a way of storing actual events. What do you guys think? I think a wiki will be a good idea once I finish this issue.
Thanks for the input, I'm sure other will appreciate it as well :smile:

The second one is the better one in my opinion too. For me, the data behind a event I handle myself. I just want the calendar to notice: "Hey I got two events here. Mark them for me!".
Not more not less.

There is the problem that people can't have different colours for each event with the second approach. And using a map to store the color inside the even object is going to increase memory alot.

But I really need the color for each event :/ this library in my project works as a school calendar, so red dots for class test and yellow for others events.

Yeah, I think the first option is the best then. It will be closest to Google calendar aswell and it's flexible so you can have specific color.
I'll refactoring the code sometime today then since it won't take too long.

Why you dont add a list to every event that holds the color?

Hi, I've made some changed to make the api a little simpler now. Now you only create Event and add them to the calendar. There have been some method renaming, but nothing drastic. Quick example usage:
        Event updateItem = new Event(Color.GREEN,<PHONE_NUMBER>000L);
        calendar.addEvent(updateItem);

        // get all events for date can use epochMillis as well
        List<Event> calendarDayEvents = calendar.getEvents(new Date(1433701251000L));
        //calendarDayEvents.size() will be one
        //you can directly make changes to the list and it will be reflected in the calendar on next draw

        //below will remove all events by day or epoch millis
        //remove events by millis
        calendar.removeEvents(1433712261000L));
        //or remove by date
        calendar.removeEvents(new Date(1433712261000L));

Hopefully it will be simpler to understand now :). Try cloning the repo and switch to branch  @enhancement/#52_add_multiple_event_indicators  to test it out and import it as a local gradle dependency. I can release another testing version sometime soon but testing the branch directly will help me since I dont have to relase a new version incase there are more things to improve.

I do I remove a single dot?

How*

You can do to remove the first indicator for example:
        List<Event> calendarDayEvents = calendar.getEvents(new Date(1433701251000L));
        calendarDayEvents.remove(0);
        calendar.invalidate();

Just iterate the list using an iterator and remove the element just like any java list object. The list return is the same that is used by the calendar so any changes made will reflect in the calender.

Ill check that on sunday

@SundeepK  Which is the new compile version???

@XxGoliathusxX I didn't have a chance to release a new version. You can checkout the branch I mentioned earlier and reference it as a local project. Otherwise I'll try getting another testing release out sometime today.

Ok I will wait for that!

Have a look at:
dependencies {
compile 'com.github.sundeepk:compact-calendar-view:1.8.4-beta-multiple-event-support-3'
}

Perfect! Now its all more easy!  It will keep updating the same list for you just as long as the date is the same for the other events. For example, if you call:
        // Add event on Sun, 07 Jun 2015 18:20:51 GMT
        Event ev1 new Event(Color.GREEN,<PHONE_NUMBER>000L);
        underTest.addEvents(ev1);

        // Added event 2 GMT: Sun, 07 Jun 2015 19:10:51 GMT
        Event ev2 = new Event(Color.GREEN,<PHONE_NUMBER>000L);
        underTest.addEvents(ev2);

         List<Event> events = underTest.getCalendarDayEvent(1433701251000L);
         // events is now a list of 2 events

So you don't need to remove events if you want to in order to add more for the same day.

i have a list with all the events downloaded from the internet, so i don't know how much events there are for the same day, so i had to do that in that way.

addEvent is deprecated for me

@SundeepK Works as expected. Great Job!

Thanks for the testing help. Will do some testing on different devices and release soon.

@SundeepK Thanks for your hard work, I'll test the new version :)

Thanks. I have tested it on 2 different devices and it seems to work ok. I will do some final testing on some emulators as well to see if I can find any inconsistencies.

Great :) Any idea when it will go up on Maven?

Hopefully in the next few days, I just want to make sure its consistent between different phones, which means manual testing with a few differen emulators.

released under:
dependencies {
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
}

Hello Sandeep,
i am using your calender event library.. i change all those things .. which i want  but i cant find a solution to change color of those dates who's have events.... it's possible to change color of that particular dates.
please help me.. and response me ..
Thanks

Hi,
Can we select multiple dates in this library?
Thanks

Hi Sandeep,
I am Using your calender library ,It is very useful to me.
I have to show different events on one date with three different dots and different colors.
I dont find any solution. So will you please help
I am sending you the type of response i have to set on my calender
"appionments": [
{
"requestId": 13,
"subject": "try",
"description": "Huh",
"approved": false,
"deleted": false,
"appionmentType": 2,
"requestTime": "2017-12-26T00:00:00",
"createdOn": "2017-12-08T10:37:21.043"
},
{
"requestId": 12,
"subject": "gshsh",
"description": "Hdhshs",
"approved": false,
"deleted": false,
"appionmentType": 2,
"requestTime": "2017-12-25T00:00:00",
"createdOn": "2017-12-08T10:34:23.123"
},
{
"requestId": 10,
"subject": "new",
"description": "12/14/2017",
"approved": false,
"deleted": false,
"appionmentType": 2,
"requestTime": "2017-12-14T00:00:00",
"createdOn": "2017-12-07T11:27:24.78"
},
{
"requestId": 8,
"subject": "test",
"description": "Hdhd",
"approved": false,
"deleted": false,
"appionmentType": 2,
"requestTime": "2017-12-11T00:00:00",
"createdOn": "2017-12-07T10:23:15.263"
},
{
"requestId": 7,
"subject": "test",
"description": "Hdhd",
"approved": false,
"deleted": false,
"appionmentType": 2,
"requestTime": "2017-12-07T00:00:00",
"createdOn": "2017-12-07T10:23:05.173"
},
{
"requestId": 6,
"subject": "hzhbs",
"description": "12/15/2017",
"approved": false,
"deleted": false,
"appionmentType": 2,
"requestTime": "2017-12-15T00:00:00",
"createdOn": "2017-12-01T11:26:58.117"
}
],
"tasks": [
{
"taskId": 13,
"title": "nnfn",
"description": "fnfgngngfn",
"status": 1,
"startDate": "2017-12-14T00:00:00",
"endDate": "2017-12-30T00:00:00"
},
{
"taskId": 14,
"title": "nnfn",
"description": "fnfgngngfn",
"status": 1,
"startDate": "2017-12-14T00:00:00",
"endDate": "2017-12-30T00:00:00"
}
],
"events": [
{
"eventId": 1,
"title": "Event1",
"description": "Description1",
"startDate": "2017-12-20T05:41:59.43",
"endDate": "2017-12-22T05:41:59.43",
"startTime": "9:30 AM",
"endTime": "5:30 PM"
},
{
"eventId": 2,
"title": "Event2",
"description": "Description2",
"startDate": "2017-12-26T05:41:59.63",
"endDate": "2017-12-29T05:41:59.33",
"startTime": "9:30 AM",
"endTime": "3:30 PM"
}
]
i have to set these dates on my calender with different dots and colors.

hey can you just add number instead of dots in place of event indicator....Help needed

@SundeepK  I want to show only one dot when multiple events are there in same date. i have tried but no results are found please help me for the same.
Thank you.!


Fix over-ride of Csynonym checkbox to other checkboxes to return correct results

When Csynonym is checked the right kind of results should still appear in each query in UI, not just Term list

This depends upon #2 being completed first


Add LANG=C to shell execution

Prefix the shell command with LANG=C - so the output should be always English and easier to parse.

see PR


How to do NSGA3 survival selection ?

Hi!
First of all I want to apologize for my ignorance regarding this library. I just found out about it and I have little knowledge about how to use it.
I have the following situation:

I have a list of multi-objective fitness values obtained previously from N Individuals. For example with five individuals and three objectives I have the following list:
[ [f1_1, f1_2, f1_3] , [f2_1, f2_2, f2_3] , [f3_1, f3_2, f3_3], [f4_1, f4_2, f4_3], [f5_1, f5_2, f5_3]],
where fi_j  indicates the objective's j  fitness value of individual i.

I wanted to ask if it's possible to apply only the survival selection (non-dominated sorting + Reference points based selection as presented in the paper ) from NSGA3 to select the best k individuals from a list of N individuals based on their pre-computed fitness values.
I am greatly thankful for any help, tips and advice.
Thank you everyone for your time.

Hi! Sorry for my late reply. Sure it is possible, see the code below.
import numpy as np
from pymoo.algorithms.nsga3 import ReferenceDirectionSurvival

from pymoo.factory import get_reference_directions, Problem
from pymoo.model.population import Population

F = np.random.random((182, 3))

pop = Population.new(F=F)

ref_dirs = get_reference_directions("das-dennis", 3, n_partitions=12)

survival = ReferenceDirectionSurvival(ref_dirs)
survivors = survival.do(Problem(n_var=-1, n_obj=3, n_constr=0), pop, 91)

Hi julesy89.
Thank you very much for your reply.
I will test it as soon as possible and see what happens.
Stay safe and healthy,
Best Elly.

Great! Glad I could help.


Improve vendor syncing

Only sync vendor folder when it is allowed to change.
Signed-off-by: Roman Mohr<EMAIL_ADDRESS>

@rmohr what about when i switch between branches with different vendor dir contents? I'd want vendor synced then wouldn't I?  It's not just when the deps are being updated.

Everything is still copied in, so that should work like you expect it.

ah, i see now. Looks great!


eslint not showing as a formatter

hi, I am having a problem with eslint not showing as a formatter.
Version: v2.2.2
vcode: v1.62.3
First, it started showing errors that it could not be used as a formatter, then when I switched to a default js formatter, I cannot see eslint in the menu anymore. it seems like it doesn't register itself as a formatter
in the settings I have Eslint > Format > Enable set to true.
tried disabling/enabling and reinstalling.
eslint server seems to be starting correctly.
thanks, cheers
dan

Can you please provide me with a GitHub repository I can clone that demos what you are seeing, including steps on how to reproduce it in the repository. Thanks!

hi, I am not sure what happened but I upgraded everything (vsc + extension + restored node_modules) and suddenly it started working again.
so it might have been some problem on my side maybe.. or maybe some incompatible versions..
thanks anyway!
dan


Analyzer requires matching generic types on both sides of if-null operator

Given the following code the analyzer complains that:
WARNING: The argument type 'EfficientLength' cannot be assigned to the parameter type 'Iterable'

class Bar {
  final List<String> content;

  Bar(List<String> content)
      : this.content = new List.unmodifiable(content ?? []);
}

I can make this go away by removing the generic type on the constructor param or add it to the default empty list literal in the if-null operator: https://dartpad.dartlang.org/b94dd63ebef7ef8c16ee
Please disregard that there would be better ways to express this particular behavior, this is just a boiled down example.

This is a known problem with the way the language specification defines the least upper bound of List<dynamic> and List<String> - it happens to be EfficientLength (an otherwise completely irrelevant private class defined somewhere in the List type hiererchy). See #19425.
The analyzer is required to give this warning by the language semantics, so if anything needs to change, it's the semantics.


Add flink-1.13 to ci build and test

Signed-off-by: Xiaoguang Sun<EMAIL_ADDRESS>

/run-all-tests


Display Revision

Description
As a user I want to be able to see the Revisions for each Service.
Acceptance Criteria

It should display the Revisions under the Service in the tree view

added Revision support


Backport matrix runner scripts into v1.0.x

Backport PRs #8141, #8275, #8276, #8278.
Allows running pull request tests with run_tests_matrix.py against the v1.0.x branch.

interop tests are being fixed in #8289


DailyProgress_0805

NFT token bible 👍

intresting path:  solana oracle -> chainlink ---> opensea
bible means history
NFTs are currently sold primarily for ETH on decentralized exchanges

more

Oracle
ChainLink provide Oracle and VRF service for Blockchains
Oracle is kind of real world data collector and provide these data feed into blockchain service;  data is such as BTC vs USDT price or Equities data, or Sport, Weather data
The important aspect Oracle is resistant to manipulation(especial malicious manipulation), so oracle data are collected from various sources and the data of the source also be constantly chaning...ok, ChainLink do more...
but now the only Cryptocurrency with USDT pair is available for Solana.
Yes, Chainlinks provides more data for Etherum...Etherum is always first-class citizen.

How to read data from ChainLink
if we don't care too much about How Chainlink works and deeper tech details(

Basic Request model

proxy contract, aggregator contract
OCR(Off-Chain Reporting)

On Solana, we could make a Vue App to read price data, eg. SOL / USD from the ChainLink Oracle, the key point is:

ChainLink data feed contract on Solana network(Mainnet or Devnet, ...) address
Which data we want to read, eg. SOL/USD or BTC/USD, specified as DataFeed Address


another case where secret indexing doesn't seem to work

Issue Type
Bug
Source
binary
Secretflow Version
1.4.0b0
OS Platform and Distribution
Linux
Python version
3.8.19
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
Got below runtime error when running the code in both simulation as well in production. Seems like secret indexing will fail when we do indexing on both dimension for a array with shape [1, x].

RuntimeError: what:
	[Enforce fail at libspu/core/ndarray_ref.cc:300] (end_indices[idx] <= shape()[idx]). Slice end at axis 0 = 2 is larger than input shape 1
Stacktrace:
#0 spu::kernel::hal::slice()+0x7f0fab0a693e
secretflow/secretflow#1 spu::kernel::hlo::SecretDynamicSlice()+0x7f0faafbc6f2
secretflow/secretflow#2 spu::kernel::hlo::DynamicSlice()+0x7f0faafbd540
secretflow/secretflow#3 spu::device::pphlo::dispatchOp<>()+0x7f0faa9b63fa
secretflow/secretflow#4 spu::device::pphlo::dispatchOp<>()+0x7f0faa9b80e4
secretflow/secretflow#5 spu::device::pphlo::dispatchOp<>()+0x7f0faa9b9f93
secretflow/secretflow#6 spu::device::pphlo::dispatchOp<>()+0x7f0faa9bbfe9
secretflow/secretflow#7 spu::device::pphlo::dispatchOp<>()+0x7f0faa9be2f0
secretflow/secretflow#8 spu::device::runBlock()+0x7f0faaaf9f05
secretflow/secretflow#9 spu::device::runRegion()+0x7f0faaafbf93
secretflow/secretflow#10 spu::device::executeImpl()+0x7f0faa4e27f0
secretflow/secretflow#11 spu::RuntimeWrapper::Run()+0x7f0fa9cc710c
secretflow/secretflow#12 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f0fa9c9b5b5
secretflow/secretflow#13 pybind11::cpp_function::dispatcher()+0x7f0fa9c9085e
secretflow/secretflow#14 PyCFunction_Call+0x4f5412

Reproduction code to reproduce the issue.
sim = spsim.Simulator.simple(2, spu_pb2.ProtocolKind.CHEETAH, spu_pb2.FieldType.FM64)

rand_array = np.random.rand(1, 5)
rand_array_i = [0]

def fn_test(arr1, arr2):

    result = []

    for i in arr2:
        feature, split_point_idx = jnp.divmod(i, 2)
        x = arr1.at[feature.astype(jnp.int8), split_point_idx.astype(jnp.int8)].get()

        result.append(x)

    return result

result = spsim.sim_jax(sim, fn_test)(rand_array, rand_array_i)

Hi @linzzzzzz
Thanks for reporting, will take a look.

Hi @linzzzzzz , this issue has been fixed in the recent SPU versions (>=0.8.0b0) but python 3.8 is no longer supported. You can try with the latest SPU.


Fix use-after-free in EditorHelp

Fixes #95306.
This adds a zeroing out of the EditorHelp::doc variable after it's been freed, to prevent any use-after-free from happening in places like EditorHelp::remove_class.
While this does fix the issue at hand, there are quite a lot of places in EditorHelp that use this doc variable without checking if it's nullptr first, so I'm not sure if there's a bigger problem lurking here or not.

While this does fix the issue at hand, there are quite a lot of places in EditorHelp that use this doc variable without checking if it's nullptr first, so I'm not sure if there's a bigger problem lurking here or not.

doc is only deleted in cleanup_doc which is only called from the EditorNode destructor, so at worst other issues might also be user-after-free or crashes on exit.
I see there's a TODO related to this:
// TODO: this is sometimes used directly as doc->something, other times as EditorHelp::get_doc_data(), which is thread-safe.
// Might this be a problem?
DocTools *EditorHelp::doc = nullptr;

Would probably be worth cleaning this up in the 4.4 cycle.

Thanks!


please answer closed Issue

https://github.com/Amshaker/unetr_plus_plus/issues/9
Thank You!

Done


sourceMappingURL invalid in dist css

dist/easy-autocomplete.css points to sourceMappingURL=easy-autocomplete.css.map, but correct location would be sourceMappingURL=maps/easy-autocomplete.css.map. sourceMappingURL target should be relative to the file.

@bkonetzny Thanks for pointing this issue out.

Hi, was this resolved? still seeing the line /*# sourceMappingURL=easy-autocomplete.min.css.map */ withou the map/ prefix.. Was gonna send a pull request but not familiar enough with Grunt