Added an iterative feature to flatten to iteratively clip outliers when flattening.

When flattening light curves with flares or transits, the flatten always makes the transits look funny, because it doesn't remove those outliers before flattening.
I've added in an iterative sigma-clipping which flattens, removes outliers, and then re-flattens the data ignoring those outliers.
Problem (before)

Solution (after)

Codecov Report

Merging #362 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #362      +/-   ##
==========================================
- Coverage   91.29%   91.24%   -0.05%
==========================================
  Files          26       26
  Lines        4032     4045      +13
==========================================
+ Hits         3681     3691      +10
- Misses        351      354       +3

Impacted Files
Coverage Δ

lightkurve/lightcurve.py
94.29% <100%> (+0.07%)
:arrow_up:

lightkurve/tests/test_lightcurve.py
98.58% <100%> (+0.02%)
:arrow_up:

lightkurve/periodogram.py
86.05% <0%> (-1.03%)
:arrow_down:

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 21833db...15e250b. Read the comment docs.

This is very cool! flatten is clearly more robust this way, thanks!
One minor suggestion: I would suggest perhaps swapping the convention adopted in mask (ie, flux values for which mask == True should be indeed masked) in order to follow the trend of astropy and numpy. I imagine that being done like: rename every instance of mask to not_mask (except in the argument list of flatten) and then in the beginning of flatten take not_mask = ~mask.

@christinahedges Do you want to address the concerns related to the meaning of mask?  Then, this should be good to go!

Very nice!
If it proves worth trying in the future, below is some C code I wrote a while back for sigma clipping on Kepler light curves. It uses MAD and adjust sigma based on the number of data points, so in theory only requires a single pass to remove outliers.
  detrenddur = 0.02043981;  // Set detrending window to one cadence duration. Or can be a fraction of a transit duration

  for(l=0;l<1;l++)  // Number of outlier passes - ONLY NEED ONE WHEN USING MAD - JUST LEAVING LOOP IN CASE I EVER WANT TO CHANGE MY MIND
    {
    for(i=0;i<ndat;i++)
      data[i].resid = data[i].flux - data[i].model;  // Calculate residuals

  // std = STDEV(data.resid,ndat);  // Saving this line in case I go back to std instead of mad
    for(i=0;i<ndat;i++)
      tmpdob3[i] = data[i].resid;
    mad = MAD(tmpdob3,ndat);  // MAD is Median Absolute Devitation - better than STD - only need one pass.
    std = 1.4826*mad;  // https://www.mathworks.com/help/stats/mad.html  AND https://en.wikipedia.org/wiki/Median_absolute_deviation

    sigreject = sqrt(2)*INVERFC(1.0/ndat);  // Calculate sigma threshold based on number of data points

    for(i=0;i<ndat;i++)  // Keep track of which data points to remove. 0 is good, if flagged as 1, remove later
      tmpintarry[i]=0;

    for(i=0;i<ndat;i++)
      {
      k=0;
      sw1=0;
      for(j=0;j<ndat;j++)
        if(fabs(data[i].phase-data[j].phase) < detrenddur)  // look at points within the detrend duration
          {
          tmpdobarry1[k]=data[j].resid;
          k++;
          }
      med = MEDIAN(tmpdobarry1,k);

      if(fabs(data[i].resid - med) > sigreject*std)  // Keep data points within sigreject standard deviations of median
        tmpintarry[i] = 1;
      }

    m=0;
    for(i=0;i<ndat;i++)
      if(tmpintarry[i]==0)  // Keep good data points
        {
        data[m].time = data[i].time;
        data[m].phase = data[i].phase;
        data[m].flux = data[i].flux;
        data[m].model = data[i].model;
        data[m].resid = data[i].resid;
        m++;
        }
      else
        if(m<midti)
          midti--;  // If I remove a data point, I have to update midti to keep track of it
    ndat=m;  // Update number of data points to those not thrown out
    }

double MAD(double x[], int n)  // Median Absolute Deviation
  {
  double xmed,w[N];
  int z;

  xmed = MEDIAN(x,n);
  for(z=0;z<n;z++)
    w[z] = fabs(x[z] - xmed);

  return MEDIAN(w,n);
  }

Hey @JeffLCoughlin, that's really cool! It seems then that flatten can be sped up by orders of magnitude! We could probably make use of pybind11 to directly integrate your C++ code into lightkurve.

One note I forgot is I developed that for use on phased data, but it could be adapted to non-phased data (would obviously want to increase the detrendung window to much bigger than one cadence duration). I think the key point is just the use of MAD, and calculating the number of sigma to clip via the number of data points and the complementary inverse error function (INVERFC), and that's probably quick enough to just write in python from scratch.
But only likely worth revisiting if there is a need for a CPU savings, or if 3 sigma is over or under agressive. For Kepler-prime long-cadence lightcuves w/ ~70,000 data points the statistically correct sigma came out to around 4.3, and 5.0 for short-cadence w/ 30 times more. For K2 I get something like 3.6 for long-cadence and 4.5 for short if I assume ~4,000 long-cadence data points per campaign.


Download androidx.lifecycle dependency version compatible with min AGP version

Goal
androidx.lifecycle.*:2.8.* are no compatible with Gradle 7.x. Reverting to a version which seems to be fine.

#1644  👈
main

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

Join @bidetofevil and the rest of your teammates on  Graphite

Sounds good!

Merge activity

Nov 8, 12:45 PM EST: A user merged this pull request with Graphite.


Implement accessing proc properties

Not sure if this is the best way to do it but it seems to work.

I forgot this PR was failing CI.

possible future notes:

/tg/ also uses "hidden" since https://github.com/tgstation/tgstation/pull/53112, but I haven't checked whether this genuinely works or not, because
BYOND returns null instead of erroring at runtime if a bad setting is accessed, although it's probably best for OD to error


How to change datetime format on video?

https://github.com/ehendrix23/tesla_dashcam/blob/ba7c9a79ed79a2a9faff9b3cbdf8ae8d03648ea1/tesla_dashcam/tesla_dashcam.py#L3036-L3042
I've no idea about how to set LC_TIME on Windows to make the %x be the correct format of my region. Any suggestion?

FYI this might be possible now that the format string is config-driven.  Still not sure which formats you might want to use.

Great job! It works well for me.

Still not sure which formats you might want to use.

The output of %x on my computer is m/d/y and now I can configure time format with  Y-m-d.
%{{pts:localtime:{local_timestamp}:%Y-%m-%d %X}}


Handling of column aliases changed

After updating from 2.0.13 to 2.0.14 i noticed some strange log entries telling me some array keys are missing. It looks like there is a change in column aliasing which does not allow to select a db column more than once. I don't know if this is intended but we do fetch the same column more than once on purpose sometimes and it broke small parts of our application. Easy to fix on developer site but maybe it should be mentioned somewhere.
What steps will reproduce the problem?
$result = (new Query())
    ->select([
        'foo' => 'table.column1',
        'bar' => 'table.column2',
        'baz' => 'table.column1',
    ])
    ->where([
        'table.colum3' => 'foo',
    ])
    ->one()

What is the expected result?
[
    'foo' => 1,
    'bar' => 0,
    'baz' => 1,
]

What do you get instead?
[
    'foo' => 1,
    'bar' => 0,
]

Additional info

Q
A

Yii version
2.0.14

PHP version
7.1.13

Operating system
Linux (Debian)

Database
Percona XtraDB Cluster for MySQL 5.7

Need DB schema and concrete queries in order to reproduce it.

Last update broke my app!
$query = new Address();
$query->select(['lat', 'lng'])->createCommand()->query();

createCommand creates "SELECT * FROM address";
problem is in Query.php
protected function getUniqueColumns($columns)

@makroxyz isn't that separate issue?

Probably yes, sorry... I create another issue

Updated the issue with some more data.

Seems to be duplicate of https://github.com/yiisoft/yii2/issues/15676 and has been fixed in https://github.com/yiisoft/yii2/commit/1b3526d8db208fbc834e98c8563993ec9c2c6f1a


Psycopg3 migration

Description

Migrates from Psycopg2 to Psycopg3
A few key differences between the two that are relevant:

DictRow objects are scrapped in favor of normal dicts
New row_factories are added that determine query return types, separated from cursor_factories https://www.psycopg.org/psycopg3/docs/api/rows.html
Other miscellaneous naming convention and import changes

Testing

Setup testing environment like normal
If using an existing venv, run pip install psycopg
Run pytest and confirm all tests complete successfully

Performance

No significant performance improvements observed

Excellent conversion, as usual. Thorough, with good comments, and the updates to the decorator were particularly inspired. Approved!


docs-bug(Button): Add to docs that buttons now need matRipple

Documentation Feedback
After 19.0.0-next.2, buttons lost default ripples, and now every button needs to be edited (add matRipple) if we want to keep the existing behavior.
I don't know if you will create a migration for this, but I think it's worth mentioning in the docs.
Same about checkboxes and chips.
Affected documentation page
https://next.material.angular.io/components/button/overview

The ripples should still be there, we just stopped exposing the MatRipple instance as a public API. Here's an example that the ripples are still there:
https://github.com/user-attachments/assets/5e68448a-93e1-427a-b01e-10d291f6c378

No, the ripples are gone. The example in docs is incorrect - try to open it in StackBlitz and you'll see that ripples are gone.

Hmm, I suspect that the Stackblitz template might be incorrect. Will take a look.

I saw it in my app too, so I think StackBlitz is correct :)

https://github.dev/angular/components/blob/5bd5be60a2ba8d263ec71bec69d1e14a9bf6ffe2/src/material/core/private/ripple-loader.ts#L187
MatRippleLoader calls the RippleRenderer constructor without the injector. So when no direct matRipple is used, ripple classes are missing. Adding a matRipple to a button (or anywhere) fixes every button.

Yep, just sent a fix at #29672. There's an additional issue with the checkbox that also had to be addressed.


Unable to Edit Application Name

Type of issue

[x] Bug
[ ] New feature
[ ] Enhancement

Description
The TextBox does not take more than 1 character inputs.
Applying the change does not change the application name either
...
Steps to reproduce

Click on Settings Button
Click on Edit under Name and Logo submenu
Try To Edit name

Expected behavior
Name changes
...
Current behavior <!-- The actual behavior observed --
...
Known workarounds
Changing the name in translations.json works
...
Possible solution
...
Context and Environment

Operating System: ...
GitHub branch/tag: ...

Screenshot

Fixed.


When dragging the scrollbar for the first time in an infinite list, the scrollbar jumps up

https://github.com/user-attachments/assets/e46abef0-0fc3-415a-8d20-bf17b254d61a

https://github.com/user-attachments/assets/9c42fb4b-a2ee-49af-9226-51c5ab3a7a63


Is there non-hacky way to check if channel is closed?

Is there a way to find out if channel is closed without having separate goroutine that watches channel.NotifyClose events.
I'm trying to implement channel pool and I'd like to check if channel is closed when getting it from pool.
For now I'm using workaround by checking errors on QueueInspect on some dummy queue.
Related question on SO: https://stackoverflow.com/questions/17108426/how-to-check-if-the-channel-is-still-working-in-golangs-rabbitmq-client

I couldn't find a simple way to do it.  But to get this done is quite simple. So I created a pull request #486

https://pkg.go.dev/github.com/streadway/amqp#Channel.NotifyClose


Learning without a teacher

Agents will be more easily taught by users if they can also learn from their own experience.
Human students don’t need their teachers to guide them through every detail of a task, since they can quickly learn many things on their own. Similarly, a teachable agent should not require users to spell out all the edge cases that a skill needs to handle. An agent’s ability to quickly learn from its own experience will be especially useful in group-chat settings where the user may not even be in direct communication with a teachable agent. And this ability will help the agent learn from user instructions that are vague, partial, or distributed over multiple dialogue turns.

Coding scenario to be addressed
AutoGen’s AssistantAgent can currently correct errors that appear when the UserProxyAgent runs code. But AssistantAgent never learns to avoid making those very same errors in future chats. Users shouldn’t need to tell the agent not to repeat mistakes that caused failures. An agent’s inability to learn such basic things on its own frustrates users and increases LLM charges.

We are closing this issue due to inactivity; please reopen if the problem persists.

Stale. No longer planned.


createActions

Just as there's a handleActions, perhaps there should be a createActions as sugar for creating multiple actions?
createActions(
  {
    [type1]:  payload1Creator,

    [type2]:  {
                "payload":  payload2Creator,
                "meta":     meta2Creator,
              }
  }
);

This seems a bit nicer (and less redundant) than
{
  [type1]: createAction(type1, payload1Creator),
  [type2]: createAction(type2, payload2Creator, meta2Creator),
}

Came here to ask for this.
In my case I did
mapValues(myActionTypes, (actionType) => createAction(actionType));

@msafi https://github.com/pauldijou/redux-act looks pretty sweet too.

Since there are no more opinions on that, I'll close it for now. Re-open if necessary.


feat: ON DUPLICATE KEY UPDATE

What
Adds support for ON DUPLICATE KEY UPDATE . Ref: Grammar Definition.

Sorry, I totally missed this one :-)


fixed mysql bug

#60

Good Job @MarkChenYutian. Please do submit to google code in instance which you claimed.


Merge 3.9.x -> 3.11.x

oh shit, that was more than my stuff. but it merged cleanly?

Mergeup looks totally clean (the other changeset is pretty straightforward). Hitting that big green button


Provide improved guidance for “experimental factor- other"

How does “experimental factor- other" differ from "experimental factor"? Clear examples would be really useful for “experimental factor- other", especially since the description for "experimental factor" is very thorough. I actually completely missed that there was even an "experimental factor" term and thought that the "- other" was just a typo.
Please confirm next steps @mslarae13 then reassign to @turbomam for updating.

experimental factors is a controlled field that is ONLY supposed to accept OBO or ENVO ontologies. I added the -other for when a user has something they need to detail, but it doesn't have an ontology.
It might never get used. But I feel we should include it and see as opposed to limiting people and missing information.
I agree examples would help & we could add more detail to the definition


RESTORE A SPECIFIC BACKUP WITH TIMESCALEDB HELM CHART

HI can somebody help me to restore from a backup from a specific backup i can't find any configuration to add in the timescaledb values.yaml

I was able to restore from a specific set in pgbackrest using the following in values.yaml:
secrets:
  pgbackrest:
    # Use the following to restore to a set other than latest.
    # Look at backups to determine set value. Will look something like 20230101-021203F_20230108-021203I
    PGBACKREST_SET: desired-set-name-here

@mahfoud-hub I am going to close this due to @gunnarsundberg answer.  If you feel like you need to re-open please do so.


Update Get-CsBackupServiceStatus.md

New Category "RGS" added for SFB CU1 release

Docs Build status updates of commit 1944e51:
:clock10: Full build: the average full build time is 12 min(s) 13 sec(s), this is based on the last 587 build(s) for this repository.

Docs Build status updates of commit 1944e51:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsBackupServiceStatus.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit eccdaac:
:clock10: Full build: the average full build time is 12 min(s) 13 sec(s), this is based on the last 600 build(s) for this repository.

Docs Build status updates of commit eccdaac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsBackupServiceStatus.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@jamtur01 , Can you please merge and close this pull request. This change in commandlet is for SFB Server 2019 CU1 release. The information has been verified by the developer

@hirenshah1 You have the wrong person. I am not involved in this project.

Docs Build status updates of commit 2878f1a:
:clock10: Full build: the average full build time is 12 min(s) 12 sec(s), this is based on the last 605 build(s) for this repository.

Docs Build status updates of commit 2878f1a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsBackupServiceStatus.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 5ebff95:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 614 build(s) for this repository.

Docs Build status updates of commit 5ebff95:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsBackupServiceStatus.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 92400ca:
:clock10: Full build: the average full build time is 12 min(s) 2 sec(s), this is based on the last 675 build(s) for this repository.

Docs Build status updates of commit 92400ca:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsBackupServiceStatus.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit ab7c17c:
:clock10: Full build: the average full build time is 12 min(s) 1 sec(s), this is based on the last 681 build(s) for this repository.

Docs Build status updates of commit ab7c17c:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 99b1aaa:
:clock10: Full build: the average full build time is 12 min(s), this is based on the last 685 build(s) for this repository.

Docs Build status updates of commit 99b1aaa:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


compatibility with jekyll-multiple-languages-plugin

great plugin. I am having problems with my implementation of cache bust.
I want to use jekyll-assets plugin in conjunction with jekyll-multiple-languages-plugin plugin but this last plugin changes site.baseurl according to which language directory the page is located.
I have 2 solutions, I need your help with this:

If there is a way to force a compilation of the asset file when using {{ assets[main.css] }} instead of using the {% asset main.css %} ?
Is there a dot variable ( asset[main.css].variable ) available which corresponds to the hash of the asset? (the same way that this variable exist: {{ assets["bundle.css"].content_type }} )?

Any of this would solve my problem.
Also knowing how to use soft cache bust would also solve my problem.
Thank you

@alexandre1985 I'm using jekyll-assets and jekyll-multiple-languages-plugin without a problem. What's wrong with {% asset main.css %}? This is what I use and it works fine. Did you forget about this?
exclude_from_localizations:
- assets

There were various problems using both plugins.
I already found a way of dealing with this, but I'm gonna try to remember what the problems were.
(Yes, I do have exclude_from_localizations: ["assets", ....])
My goal it to have a (soft) cache bust.

It would create files in assets/en/
the soft cache bust was not working (it only did hard cache bust, that is, changed the filename)
the files in /assets/ were all going to the root of /assets/ directory, not corresponding with the assets sub-directory that they were in.
I am not remembering everything now, sorry

But I found a way, and I am in the process of ditching jekyll-assets plugin (I now only need a jekyll plugin that gives me the hash of the file. I'm thinking of doing that plugin myself, since I am not finding one.... :/ )

@alexandre1985 Can you share your solution for cache issues?

@Nowaker it is not fully working and currently I'm not using cache burst on my websites because of this.
I have made a repository at https://github.com/alexandre1985/jekyll-bustify-plugin

Thanks @alexandre1985. I use jekyll-assets for more than just cache busting, that's why I was interested.
In the meantime, I came up with a half-solution. It introduces {% i18n_asset %} that picks the correct image based on current language. It's not perfect but it works without causing excessive page rebuild times.
# {% i18n_asset <all parameters like for asset > %}
#
# On base language site - will serve /assets/blah.png
# On translated sites - will serve /assets/blah.LANG.svg
class LocalizeAsset < Jekyll::Assets::Tag
  def render(ctx)
    config = ctx.registers[:site].config
    current_lang = config['lang']
    languages = config['languages']
    default_lang = config['languages'][0]

    original_args = @args.dup
    correct_ret = nil

    languages.each do |lang|
      if current_lang != default_lang
        all_args = original_args.split ' '
        asset = all_args[0]
        ext = File.extname asset
        i18n_asset = insert_before_last_dot asset, '.' + current_lang
        all_args[0] = i18n_asset
        @args = all_args.join ' '
      end

      # We're processing the asset in each language.
      # It's redundant but is friendly for Jekyll build cache.
      ret = super

      if lang == current_lang
        correct_ret = ret
        if lang != default_lang
          # jekyll-assets links to /assets/file.png because it's not aware it
          # placed the file in /LANG/assets/file.png. We need to fix it.
          correct_ret = config['baseurl'] + ret
        end
      end
    end

    correct_ret
  end

@Nowaker Thank you. Honestly, I won't use it. As of today, I'm off much of jekyll plugins. I won't use jekyll-assets plugin.
I believe this may help other developers :smiley:
Have a great day

@Nowaker can you give me an example repo where you are linking your .scss files in an HTML file?


support raw output from jq processor

Closes  #1045
Added an option to the jq processor to output raw strings. This emulates the behaviour of jq --raw-output which is described as:

With  this option, if the filter's result is a string then it will be written directly to standard output rather than being formatted as a JSON string with quotes. This can be useful for making jq filters talk to non-JSON-based systems.

For example, this feature is quite useful for building up lines of CSV that can be conactenated (with archive) and output to a bucket.
The code in this change is adapted from the raw marshaller that is used by the gojq CLI: https://github.com/itchyny/gojq/blob/886515fe1b7e28bf5193778770619dce4787d85c/cli/marshaler.go#L17-L23
Current behaviour
input:
  label: sample_message
  generate:
    mapping: root = {"id":"1054fe28-a59e-4878-84f0-43b6fa41c2fc","msg":"sample \"log\" message","ts":1641393111}
    count: 1
pipeline:
  processors:
    - label: to_csv
      jq:
        query: '[.ts,.id,.msg] | @csv'
output:
  stdout:
    codec: lines

Outputs:
"1641393111,\"1054fe28-a59e-4878-84f0-43b6fa41c2fc\",\"sample \"\"log\"\" message\""

New feature
input:
  label: sample_message
  generate:
    mapping: root = {"id":"1054fe28-a59e-4878-84f0-43b6fa41c2fc","msg":"sample \"log\" message","ts":1641393111}
    count: 1
pipeline:
  processors:
    - label: to_csv
      jq:
        query: '[.ts,.id,.msg] | @csv'
        output_raw: true
output:
  stdout:
    codec: lines

Outputs:
1641393111,"1054fe28-a59e-4878-84f0-43b6fa41c2fc","sample ""log"" message"

Thanks @disintegrator looks good. Right now it filters messages that result in an empty raw string, I'm wondering if maybe there should be a distinction between an empty string value versus zero values.

Thanks for flagging @Jeffail. I think you're right. I'll look at fixing this edge case this week.

Thanks @disintegrator looks good. Right now it filters messages that result in an empty raw string, I'm wondering if maybe there should be a distinction between an empty string value versus zero values.

@Jeffail, this bug is addressed in https://github.com/Jeffail/benthos/pull/1075


Add License Description

Since we are reusing code from cwltool, we will apply the same Apache 2.0 License as cwltool.

I mistakenly closed it due to the wrong commit number, so I'm reopening it.


Fixes #28471.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

@ioannisg do you know why resetting the sw switch subscription before asserting radio disable task cause instability?

@ioannisg do you know why resetting the sw switch subscription before asserting radio disable task cause instability?

Need to check this @cvinayak , will come back to this.

@ioannisg Could you approve this?

@ioannisg poke

@ioannisg poke

Taking a look now, sorry for the huge delay

@cvinayak I remember I had a comment in the #26019 about changing the behavior of the _cleanup function.

@ioannisg do you know why resetting the sw switch subscription before asserting radio disable task cause instability?

@cvinayak I did some preliminary investigation on this, and I admit the issue seems complex.
The subscribe tasks related to SW Switch are

TIMER CLEAR
Group Task Enable

the first task is configured by radio_tmr_start(), so I guess, this occurs once in the event,
the second task is configured at sw_switch() and re-configured each time there's a switch in radio events
the tasks are cleared in radio_switch_complete_and_disable()
#26019 introduced a clearing of these tasks also in radio_disable() and this seems to be causing the issue reported in the bug ticket.
(I remember I 've been asking about the above clearing in that PR Review).
I think that unless this is a weird race condition, de-registering the tasks at radio_disable() should not harm, since the PPIs are also disabled, so any subscription would not matter. That should be the case, as long as nothing re-enables the radio after radio_disable() is called in an event..

If we agree that this is the fix we need, I think it is cleaner that we just revert the offending commit rather than merging this PR. Cleanup does not give any value if we cannot have the same code in both 51/52 and 53 series, and the original code was simpler.

the tasks are cleared in radio_switch_complete_and_disable()
#26019 introduced a clearing of these tasks also in radio_disable() and this seems to be causing the issue reported in the bug ticket.
(I remember I 've been asking about the above clearing in that PR Review).

radio_switch_complete_and_disable() will not be called when BLE radio event is pre-empted by call to radio_disable, in this case the tasks will not be cleared. This works fine when Zephyr controller is only the user of Radio between events, as these task assignments are probably retained due to Errata 16 (refer to https://github.com/zephyrproject-rtos/zephyr/pull/26018).
There seem to be something wrong in the original implementation which disallows the clearing of tasks by the offending call introduced in #26019. As long as Errata 16 exists in nRF5340, the reverting of the single line in the current PR puts the implementation back to original behavior.

If we agree that this is the fix we need, I think it is cleaner that we just revert the offending commit rather than merging this PR. Cleanup does not give any value if we cannot have the same code in both 51/52 and 53 series, and the original code was simpler.

The #26019 addresses the use of hal_radio_nrf_ppi_* interface which refers to PPI, but then calls nrf_dppi_* functions. Original code is very confusing, and difficult to maintain with the level of macros used to hide the executed code.
If DPPIs are going to be used in more variant, it is better to refactor out the used conditional compilation and use plain C functions instead of macros with code in them.
This refactoring can be addressed in #26118.

There seem to be something wrong in the original implementation which disallows the clearing of tasks by the offending call introduced in #26019. As long as DPPI is not used by other users between Radio event, the reverting of the single line in the current PR puts the implementation back to original behavior.

If you suspect that something is wrong with the original implementation, I do not understand why we should be reverting to it.

radio_switch_complete_and_disable() will not be called when BLE radio event is pre-empted by call to radio_disable, in this case the tasks will not be cleared. This works fine when Zephyr controller is only the user of Radio between events, as these task assignments are probably retained due to Errata 16 (refer to #26018), DDPI peripheral retaining the assigned values.

I don't understand this either. radio_disable() will disable the DPPI channel, anyways: there is no issues with any other Radio driver that will preempt the LE Controller; that driver is responsible for re-configuring DPPI and not rely on LE COntroller.
LE Controller also, should not rely on any retained values of DDPI register tasks, when it starts a new radio event.

If you suspect that something is wrong with the original implementation, I do not understand why we should be reverting to it.

The original implementation does not clear the HAL_SW_SWITCH_TIMER_CLEAR_PPI_REGISTER_TASK when radio_disable is used; any other Radio user between BLE events will lead to the SWITCH_TIMER being cleared if the DPPI is enabled by the other radio user. This is my concern.
And clearly clearing HAL_SW_SWITCH_TIMER_CLEAR_PPI_REGISTER_TASK in radio_disable makes the controller unstable when establishing connection as a central.
I think, I may have found the problem in radio_tmr_start_tick and radio_tmr_start_now interfaces used by scanner... I will update this PR.

@rick1082 Could you please re-check if this updated PR fixes the central connection issue for you?

@cvinayak I did the following test:

Program central_hr on nRF5340-DK and peripheral_hr on nRF52832-DK, and it works properly without issue.
Program central_hr on nRF52832-DK and peripheral_hr on nRF5340-DK, and there's a chance that nRF52832-DK cannot connect to peripheral immediately, nRF52832-DK disconnected immediately with reason 0x3e. Not sure if it is related with this ticket.

After multiple trials, I found that:

For nRF52832-DK as central_hr, and nRF52840-DK as peripheral_hr, it is easy to establish connection.
For nRF52832-DK/nRF52840-DK as central_hr, and nRF5340-DK as peripheral_hr, the central needs to try to connect multiple times (> 5 secs)for establishing the connection. It is easy to replicate this by pushing reset button on nRF5340-DK and let central scanning and try to connect again, since I found central is easier to connect with peripheral at first time, but hard to connect again.

@rick1082

Program central_hr on nRF52832-DK and peripheral_hr on nRF5340-DK, and there's a chance that nRF52832-DK cannot connect to peripheral immediately, nRF52832-DK disconnected immediately with reason 0x3e. Not sure if it is related with this ticket.

Do you know the disconnect reason in peripheral_hr on nRF5340-DK? Based on the reason, may be its a different issue, which I can further analyze offline with you.

I found central is easier to connect with peripheral at first time, but hard to connect again.

This could be different issue, again we can analyze offline.

I think, I may have found the problem in radio_tmr_start_tick and radio_tmr_start_now interfaces used by scanner... I will update this PR.

I prepared a revert branch for #26019, but then I found some thing else, that radio_switch_complete_and_disable unregistered the task after responding with SCAN_RSP on channel 37; which means, channel 38 and channel 39 would not do the sw switch without the hal_sw_switch_timer_clear_ppi_config call before radio_tx_enable.
Hence, the fix here cf862cb49f763c6cfc11b113c3bbee315f94edaf addresses the regression caused by cleanup function and also addresses already existing unregister happening due to calls to radio_switch_complete_and_disable.

@kruithofa  @cvinayak now I think I understand the problem, based on your input:
For nRF5340:

radio_switch_complete_and_disable originally was only clearing the DPPI event/task publish/subscribe, leaving the channel ON (for other events that were subscribed to RADIO END, which is actually needed.)
radio_disable() originally was disabling the DPPI channel , leaving the publish/subscribe task "dirty".

The refactor commit added the event/task register clearing also in radio_disable().
This seemed to be OK to me, as I had the impression that after radio_disable(), nothing can occur in the current radio event, so it is OK to clear the registers for event publish and task subscribe.
But your input suggests that this is not true; after radio_disable() the radio might need to turn on via a code path that does not re-set the event/task registers for sw-switch.

Now, I am thinking: could we then just keep fd51199b43b2b93073c8dc116feae09d7f745237 and the removal of hal_radio_sw_switch_disable from nrf53-version of hal_radio_sw_switch_cleanup()?
AND properly document the reason?
If the result is the same, I would prefer it, since it removes rather than add code.

Now, I am thinking: could we then just keep fd51199 and the removal of hal_radio_sw_switch_disable from nrf53-version of hal_radio_sw_switch_cleanup()?
AND properly document the reason?
If the result is the same, I would prefer it, since it removes rather than add code.

I have added in-line comments in the changes in this PR, which should clarify that fixes here are needed due to the fact that existing use of radio_switch_complete_and_disable() caused timer clear task being unsubscribed. The fix addresses both radio_disable() and radio_switch_complete_and_disable()  calls inside a radio event.


std::__1::future_error: The state of the promise has already been set.

Not consistently reproducible C++ error that's causing a crash. Haven't been able to reproduce inside lldb yet.
libc++abi.dylib: terminating with uncaught exception of type std::__1::future_error: The state of the promise has already been set.
Abort trap: 6

Fixed in master in https://github.com/mapbox/mapbox-gl-native/commit/74ef8840ce93f8ceb204bbe787f00a460ff51229.


Update Fedora and SPDK version in Telegraf example

Update SPDK to v22.05
Update Fedora version to 36 or 37

investigate the failure... many similar solves link on google...
$ docker build - << EOF
> FROM fedora:37
> RUN dnf install -y git
> EOF
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM fedora:37
 ---> e6fd9b5dfc1b
Step 2/2 : RUN dnf install -y git
 ---> Running in be548c7cda9f
Fedora rawhide openh264 (From Cisco) - x86_64   0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'fedora-cisco-openh264':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora-cisco-openh264': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Fedora - Rawhide - Developmental packages for t 0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'rawhide':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'rawhide': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
The command '/bin/sh -c dnf install -y git' returned a non-zero code: 1

Related to https://github.com/ipdk-io/ipdk/issues/134


Any plans for a raw Uint8Clamped or Raw pixel array method for creating surfaces or textures?

Will attempt to hack something together but currently hitting errors when I attempt to pass in a pixel array instead of using Surface.fromFile or Surface.fromBmp?
const imageData = //Uint8ClampedArray
const surface = new Surface(imageData)

const creator = canvas.textureCreator()
const texture = creator.createTextureFromSurface(surface)

Results in
error: Uncaught (in promise) TypeError: Invalid FFI pointer type, expected null, or External
    const raw = sdl2.symbols.SDL_CreateTextureFromSurface(
                             ^
    at TextureCreator.createTextureFromSurface (https://deno.land/x/sdl2@0.7.0/mod.ts:819:30)
    at file:///C:/Users/.../.../.../deno_sdl2_test.js<line number>

I think this would be super helpful for those of us with our own rendering engines because it would be costly to write to a file and then read from it every frame as the work around. I will take a look again tomorrow but didn't know if this was something you could rapidly implement or provide pointers on.
Very happy to hear Deno SDL2 is returning! Used it in previous years and this is the best New Years news!

I spoke further about a hypothetical solution here but not familiar enough with the SDL2 API to make this happen tonight
https://discord.com/channels/684898665143206084/1191685627448655953/1191704677084037161


Delayed resolution of derived attributes to better support wrapping c…

…ookbooks.
Fixes #58.
By delaying resolution of all attributes the code gets a little more complicated but this should preserve all current functionality and make it even easier to do complicated customization through a wrapper cookbook.

@kiwimanman recent commit should resolve the issue with handling attribute updates in wrapper cookbook.
it would be great if we can have issue opened for each commit and handle the changes in individual PR, would be nice to know the issue behind the commits. i will start creating individual issues on basis of this PR.

and i do not think we need to use lazy for attributes derivation

@kiwimanman please submit another PR if you still see any issue, i will go ahead and close this one.


Don't delete persistent entries in DeleteAllEntries.

This is a behavior change but without it DeleteAllEntries is dangerous and
not very useful, so I consider the current behavior to be a bug.

This change is

LGTM. ProcessIncoming looks like it should properly handle the case of a deletion happening and then an update from a remote happening before said remote has received the delete message.


[RFC] Implement a docker repository on Docker hub

As Docker is picking up a big following and people are switching to containerisation I feel it would be worth getting an image on Docker Hub. As ReactPHP is a php process, I feel it would be beneficial to use the alpine images.
I feel it would be worth having the following:

[ ] Docs on what the image is doing
[ ] An example using the Docker image

Sounds interesting, knowing a bit about docker, what would be included in a ReactPHP container ?

a standard php7 container with libevent will do.

@baskan I was thinking something similar, but would you give an image for supported versions of PHP5-7 and then a version of each event lib, so:
php5.6 - libevent
php5.6 - libev
php5.6 - event
php7.1 - libevent
php7.1 - libev
php7.1 - event
I would then suggest to only create it from the php*-alpine images.

@baskan sure at the bare minimum, but what about extra extensions? For example react/filesystem can utilise ext-eio and I'm also working on pthreads support. Also I would highly appreciate the ability to add extra extensions packed with the OS and those from PECL. As each application is differently and uses different extensions.

@WyriHaximus  yeah good point, we should create a .env with with all those settings and a Dockerfile checks those enviroment settings (a good example is here: https://github.com/laradock/laradock/blob/master/php-fpm/Dockerfile-71)

Came across this issue trying to find if anyone tried to reactphp in a container.
Currently I'm using this to run the server.
$ docker run -d -p 1337:1337 -v "$PWD":/react -w /react php:7-zts php server.php 1337

server.php
<?php
require 'vendor/autoload.php';

$i = 0;

$app = function ($request, $response) use (&$i) {
    $i++;

    $text = "This is request number $i.\n";
    $headers = array('Content-Type' => 'text/plain');

    $response->writeHead(200, $headers);
    $response->end($text);
};

$loop = React\EventLoop\Factory::create();
$socket = new React\Socket\Server($loop);
$http = new React\Http\Server($socket);

$http->on('request', $app);

echo "Listening on $argv[1]";
$socket->listen($argv[1], '::');
$loop->run();

@diego-vieira is done it like so for the moment :
https://github.com/NigelGreenway/reactive-slim/blob/master/Dockerfile
But, this RFC would some that issue. Also, I've created a systemd service file to handle it which I can post tomorrow, here.
Check out [this] (https://github.com/NigelGreenway/reactive-slim/blob/master/composer.json) (script part) on how I use it.

This is the service config I am working on:
# /path/to/systemd/services/react-php.service
# It's not recommended to modify this file in-place, because it
# will be overwritten during upgrades.  If you want to customize,
# the best way is to use the "systemctl edit" command.

[Unit]
Description=The ReactPHP Process Manager
After=network.target

[Service]
Type=simple
WorkingDirectory=/path/to/your/reactphp/app
PIDFile=/var/run/react-php.pid
ExecStart=/usr/bin/bash -lc 'php server.php'
ExecReload=/bin/kill -USR2 $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target

If we get this into the docker container, it means we can use docker run systemctl react-php (stoprestart) then maybe have something watching for file changes and run restart automatically?
// @diego-vieira

I've been playing around with using an init system and alpine (as I'm using the official PHP Docker image) and it's turning out to be hard work (although I am still new to this Docker + Linux stuff).
What are peoples thoughts on something like this:
FROM php:7.0-alpine

COPY . /var/app
WORKDIR /var/app

RUN apk update
RUN apk add --update zlib-dev
RUN docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) iconv
RUN rm -rf /tmp/*

EXPOSE 1337

ENTRYPOINT php /src/server.php

I've been doing a bit of work on this and have hit a snag; when you have a composer container as well as you app container I am struggling to get them communicating in separate containers.

@NigelGreenway composed containers can communicate eachother with their container name assigned as a host.
assuming you are within container1:

ping container2

command will ping the "container2" named container. If you can push the repo somewhere I could take a look.

check PR #383

Thank you for filing this ticket and sparking the discussion!
I think Docker is really awesome for a large number of use cases and it makes perfect sense to build ReactPHP-based Docker images and share them on Docker Hub! :shipit: :tada:
However, given the fact that ReactPHP is set of independent components and not an application you can run, I don't really see how we could provide something even remotely similar to a "base image" here. There are a large number of applications that use ReactPHP and for some of them it appears reasonable to also provider Docker images. However, the way these images are composed depends entirely on the application at hand.
I hope this helps :+1:
I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this :+1:


Broken PHP syntax inside

This happened after the 1.30 update, still happening in 1.30.1.
As the title says, the syntax highlight breaks when using <?php ?> or <?= ?> tags inside a

Thanks for the detailed issue, this is actually fixed in Insiders - https://github.com/Microsoft/vscode/issues/65649


proxy doesn't work

in powershell, set $env:http_proxy="http://<IP_ADDRESS>:10809", download videos in yt doesn't use proxy but in dircet
proxy app set yt with proxy
tried set https_proxy and http_proxy, only https_proxy, only http_proxy

damn it, with -d, I found err:
can't bypass age restriction: login required to confirm your age


How to create raw and then epochs from self data array

Hello, for several days I can not solve the problem. I have an array (x,y). Now I create a raw object who contain items of my array.
mne_info = mne.create_info(ch_names = raw['info'].chanels_names,
                               sfreq = raw['info'].frequency,
                               ch_types = raw['info'].ch_types,
                               montage = raw['info'].montage)

raw_mne = mne.io.RawArray(array, mne_info)

np.where(raw_mne == array[0][0]) => true

then i create events array =>
[
[0,0,2]
[4943,0,1]
[9325,0,1]
...
]

And  make epochs object
epochs = mne.Epochs(raw_train,
                                     events,
                                     event_id=labels,
                                     add_eeg_ref=False,
                                     preload = True,
                                     tmin = 0, tmax = 4.499)

There has several questions:
events contains not cutting ranges, and i don't know these ranges. I set up Tmax variable and to get epochs.
does correctly I realized that the ends of each activity are cropped until 4500 miliseconds?
Why after cutting object epochs return old events?
But now I can not find the value of my original array in an array of epochs
data_epochs = epochs.get_data()
np.where(data_epochs == array[0][0]) => False

I can not understand what I'm doing wrong

Can you provide a runnable piece of code that demonstrates this problem.

closing due to no answer


Splash page - Implement design

Here's the design that will be implemented

Yaaaaay! So excited about this!
On Mon, Jun 20, 2016 at 2:01 PM, Isaac Durazo<EMAIL_ADDRESS>wrote:

Here's the design that will be implemented
[image: odk v2 2]
https://cloud.githubusercontent.com/assets/1379244/16210168/76cd265a-36ef-11e6-9939-f6250a2eff69.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bocoup/opendesignkit/issues/58, or mute the thread
https://github.com/notifications/unsubscribe/AFrJSTWkHko3I4Ie38a3TFVehkV6VGfpks5qNv--gaJpZM4I6H1h
.

--
Pam Drouin
UX Designer @Bocoup

@isaacdurazo I updated the copy - take a look at the splash page copy for the latest version.

Hey I will do sign off on this.

Here's a screenshot of how the splash page looks now. I still gotta work on the logo animation though, but wanted to share this 💃

Wooooooo!
On Mon, Jun 27, 2016 at 2:30 PM, Isaac Durazo<EMAIL_ADDRESS>wrote:

Here's a screenshot of how the splash page looks now. I still gotta work
on the logo animation though, but wanted to share this 💃
[image: screenshot 2016-06-27 14 28 20]
https://cloud.githubusercontent.com/assets/1379244/16396452/9935ad46-3c73-11e6-95c8-8fe028e4c6ef.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bocoup/opendesignkit/issues/58#issuecomment-228881791,
or mute the thread
https://github.com/notifications/unsubscribe/AFrJSZt2j0XbNEuSGfX9bGaD7twAYzvdks5qQEEPgaJpZM4I6H1h
.

--
Pam Drouin
UX Designer @Bocoup

@isaacdurazo can i get the files for this and I'll put it in the jekyll and get the site ready to go.

It's live so closing, tweaks can be put in other issues.


[SPARK-34786][SQL][FOLLOWUP] Explicitly declare DecimalType(20, 0) for Parquet UINT_64

What changes were proposed in this pull request?

Explicitly declare DecimalType(20, 0) for Parquet UINT_64, avoid use DecimalType.LongDecimal which only happens to have 20 as precision.
https://github.com/apache/spark/pull/31960#discussion_r622691560
Why are the changes needed?

fix ambiguity
Does this PR introduce any user-facing change?

no
How was this patch tested?

not needed, just current CI pass

Test build #138061 has started for PR 32390 at commit 6a82f8c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42580/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42580/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42580/

thanks, merging to master!

Test build #138061 has finished for PR 32390 at commit 6a82f8c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138061/


[FEATURE]

OpenSearch Observability Visualization 2.4 Release Test Plan
1. Test Domain Resource
EC2 Instance
Test Domain: http://ec2-52-14-30-227.us-east-2.compute.amazonaws.com/
pub key: observability.pem
2. Bug Bash
2.1 Goal
To detect bugs, edge cases,  and integration issues in Observability Plugin for 2.3 release. The manual testing will enable us to find these issues and fix them before the code freeze.
1st R.  (1 week)
Test core flows, fix obvious issues/bugs, and get app into a stable state.

stabilize app, found all the bugs/issues/enhancement with proposal implementations or fixes/potential issues or bugs/concerns/unhandled corner cases/...
work closely with Ani/Bright/Eric to verify any visualization workflows/features are working as expected.

2nd R. (2 weeks)
For people involved in the first round to confirm any fixes and (or) move to more use cases/corner cases that not only limited to core flows. Involve more people from broader scope to test.

confirm and verify fixes for previous round
identify and prioritize remaining issues
all workflows/BWC tests/integration tests/
potential or existing security issues
any issues/bugs/concerns
...

3rd R. (1 weeks)
Final round of testings for all.

Confirm and verify all the fixes / remaining issues from previous 2 rounds
final checks

2.2 Observability Modules
Visualizations

Field insights popover

Field insights of Sidebar for both event tab and visualization tab

Visualization page

field selector
data configurations panel
visualization canvass
viz config panel

Event page

field selector
switch between pages

3. Test instructions
3.1 General instructions

If you are unable to see data in any of the modules, try changing the date filter to a broader range.
Try naming all entities you created prefixed with your name e.g. “eric-xxx”.
Report any UI/UX/API/Functional bugs

3.2 What to test?
Overall

Do all the features follow and align with UX’s / previously agreed feature designs

Stability

Is page frequently crashing
Is page crashing on general errors

error handlings

Is page responding slowly (performance)

with reasonable amount of data
with large data sets

Event Analytics Visualizations

field selector (events and visualizations)

click fields to see insights content

click to see different aggregations for a field

Visualization canvass

On visualization tab of event explorer

click table view button to switch between data view and chart views

hover over to see details of the table view

click to see any supporting functionalities of table view

From visualization selector, select different visualizations to test

Data configuration panel

for each visualization

test two-way query sync
test all configuration options

Visualization config panel [to-dos]

On data config tab

Panel options

type in visualization name
type in visualization description
expand/collapse

Value options

different visualizations may have different value options

change its value options to re-render visualizations

Chart options

different visualizations may have different chart options

change its chart options to re-render visualizations

Some visualization may have threshold, click to add threshold
saving config changes
saving to existing panels

On layout config tab

change hjson to change the layout of the chart

click reset to reset the entire configs
click apply to apply all config changes to chart (both data tab and layout tab)

4. Bug/new workflows needed for experience : Tracking Spreadsheet

issue description
screenshot/link/error log
Reported by
root cause
severity
Assign to
github issue
PR to fix
Status
Notes
priority

[Event Analytics] It's still able to save when all config option fields are empty

Eric

Medium
Eric

In progress

[Event Analytics] Selected fields are not cleared out after switching to a different index

Eric

Low
Eric

In progress

[Event Analytics] autocomplete does not suggest nested fields

Josh

med
Eric

Feature

[Event Analytics] sort fields in alphabetical order so it's easier to find

Josh

Low
pratik

Feature

[Event Analytics] flatten nested fields so it's easier to read

Josh

low
pratik

Feature

[Event analytics] visualization editor and bottom of chart is cut off (zoom level 100% at 13 inch screen)

Josh

Low
Eric

[Event Analytics] Visualizations Sidebar goes out of the window

pratik

low
Eric

[event analytics] wrong suggestions (type "
where ip = " then delete and type "host = ", ip will come up)

josh

low
Eric

[Parse]Fields command is not working for fields created from Parse. For eg:source = opensearch_dashboards_sample_data_logs
parse extension '(?.*)'
fields agent , clientip , de

Vamsi
known limitation, text field used in parse cannot be excluded
low
josh

[Parse]source = opensearch_dashboards_sample_data_logs
fields agent , clientip
parse extension '(?.*)' What is the expected output for this command.

Vamsi
known limitation, text field used in parse cannot be excluded
low
josh

Insights content empty for dayOfWeek field

Eugene

low
Eric

Event Analytics time and source not aligned

Josh

Eric

In progress

Event Analytics PPL doesn’t support ip as a where clause, throws a bad query request toast

Kavitha
ip should be added to ppl or may be removed from autocomplete until its added to avoid bad query error

Feature

Event Analytics ip options in autocomplete didnt have quotes to it

Kavitha

Feature
whats the error shown ?

[App Analytics] Can not handle comma separated index query search

Eugene

Eric

In progress

[Auto-Complete] Support for source from multiple indices

pratik

high
Eric

In Progress

[app analytics] clicking on traces in dashboard should direct to traces tab in app analytics, not trace analytics

josh

low
Eugene

In Progress

[Event analytics] auto-suggestion list appears on top of flyout

Eric

low
Eric

[Auto complete] Missing keyboard shotctut (return) indicator on autocomplete keyboard focus

Kevin
When shifting focus between auto-complete line items, we need a return indicator to the right. See EUI Combo Box behavior for an example.
Low
Eugene

[Live tail]

Kevin
Need space between spinner & "Live streaming" text
low (Visual bug)
Kavitha

[event analytics] ui loads infinitely for source = otel-v1-apm-span*. Link here

josh

med
Eric

Attempt to fix this issue is in progress

[auto-complete] panels should only have where command as a filter to start with

pratik

low


Normalize static and dynamic component generation like other adapters

Current Behavior

Currently we have no static or dynamic component generation being generated.
Desired Behavior

Implementation

Acceptance Tests

Mockups

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@iamsdas  Do you wanna work on it? You can take any other adapter as example


refactor: refactor some code to make it more readable

modify go.mod module name.
move disk.go and mounter.go into nvmf.go
make Connector as an objective

Signed-off-by: Meinhard Zhou<EMAIL_ADDRESS>

/release-note-none


Unqiue property throws error

Waterline version:0.13.6
Node version:10.12.0
NPM version:6.4.1
Operating system:Ubuntu 18.10

Related to - https://github.com/balderdashy/waterline/issues/1541, but no advice was given.
Currently trying to run the following code with sails-mongo. Have also tried with sails-disk and sails-memory and it is giving the same issue.
The following code results in the error: the attribute emailon theusermodel contains invalid properties. The propertyunique isn't a recognized property.
export const userCollection = Waterline.Collection.extend({
    identity: 'user',
    datastore: 'default',
    primaryKey: 'id',
    dontUseObjectIds: true,

    attributes: {
        id: {
            type: 'string',
            required: true
        },
        firstName: {type: 'string'},
        lastName: {type: 'string'},
        email: {type: 'string', required: true, unique: true}
        password: {type: 'string', required: true},

        roles: {
            collection: 'role'
        }
    }
}

const sailsMongoAdapter = require('sails-mongo');

export const datastoreConfig = {
    adapters: {
        'mongo': sailsMongoAdapter
    },

    datastores: {
        default: {
            adapter: 'mongo',
            url: 'mongodb://mongo:27017/db',
            schema:true
        }
    },
};

waterline.initialize(datastoreConfig, (err, ontology)=> {
    if (err) {
        console.error(err);
        throw err;
    }
}

ok, fixed!

ok, fixed!

ok, fixed!

What's missing??

@dannyheard7  I am facing the same issue. have used waterline 0.12.0 standalone but never faced such issue. While debugging the waterline i found that the error is coming from  "waterline-schema/lib/waterline-schema/schema.js" line no 238

  _.each(attribute, function parseProperties(propertyValue, propertyName) {
    if (_.indexOf(validProperties, propertyName) < 0) {
      throw flaverr({ name: 'userError' }, Error('The attribute `' + attributeName + '` on the `' + collection.identity + '` model contains invalid properties. The property `' + propertyName + '` isn\'t a recognized property.'));
    }
  });

@mikermcneil can you please suggest what could be the reason for such a basic issue.

the solution is to wrap unique inside autoMigration.

I have tried to wrap it in autoMigration but it does not validate entries
are unique
On Thu, 13 Dec 2018, 15:12 Mahesh Patel<EMAIL_ADDRESS>wrote:

the solution is to wrap unique inside autoMigration.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balderdashy/waterline/issues/1588#issuecomment-447003225,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFO9jAv3fPRmOQ8GCS3q7AgN9gj_oITzks5u4m5TgaJpZM4ZKIUu
.

@dannyheard7 its autoMigrations. just corrected. Thnx

I had the correct name, but it doesn't validate
On Thu, 13 Dec 2018, 15:36 Mahesh Patel<EMAIL_ADDRESS>wrote:

@dannyheard7 https://github.com/dannyheard7 its autoMigrations. just
corrected. Thnx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balderdashy/waterline/issues/1588#issuecomment-447011983,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFO9jIuyieKcT_T0vsdn3t-hf57qbt9aks5u4nPzgaJpZM4ZKIUu
.

This works for me.
		email: {
			type: 'string',
			required: true,
			autoMigrations:{
                        unique: true
                 }


tarmak init on a multi cluster environment doesn't populate the zones of the hub properly

/assign

Created PR for it as it also caused instances to be only deployed in one AZ instead of multiple.


⚠ Important UI change: Navbar height

I will make this Navbar attractive by doing improvements in Navbar styling, by reducing its height.

I'm in GSSOC'23, please assign this issue to me.

ok! but make sure you have to modify for mobile too. and also before and after login too! please carefully debug

ok! but make sure you have to modify for mobile too. and also before and after login too! please carefully debug

Okay 👍🏻

got for it!! waiting for pR

hey? you can create draft pR so i can see the progress.

Hi, @anmode. I would like to contribute this issue :)

great

@anmode,
This issue has already been resolved in #202. I explicitly mentioned not to assign #259 to someone else. I'm not complaining, just stating that it takes time to analyze the website and determine how I can contribute. Nonetheless, thank you for your assistance. Now, I have nothing else to do :)

@anmode,
This issue has already been resolved in #202. I explicitly mentioned not to assign #259 to someone else. I'm not complaining, just stating that it takes time to analyze the website and determine how I can contribute. Nonetheless, thank you for your assistance. Now, I have nothing else to do :)

Ah, oh ok, I didn't noticed.
Actually we are told that not to assign simultaneously issues. Nd that's the reason. Otherwise i too think if author wnna work on created his/her issue they can.


ISPN000403 use outdated release for deprecation warning

Indexing work was moved to ISPN 11

Merged in master. Thanks @wfink !


Bug in div operation

Hi there,
I've faced a bug in Miden assembly div operation.
Please, look into this MASM code snippet:
begin
  # Works as expected, result is 5
  push.10
  div.2

  # Unexpected result:<PHONE_NUMBER>707292166
  push.11
  div.2

  # Works as expected, result is 6
  push.12
  div.2

  # Unexpected result:<PHONE_NUMBER>707292167
  push.13
  div.2

  # Works as expected, result is 2
  push.8
  div.4

  # Unexpected result:<PHONE_NUMBER>765833730
  push.8
  div.5

  # Works as expected, result is 5
  push.25
  div.5
end

It seems to work good when there is no fractional part in result. Otherwise it gives weird result. Maybe it's due to encoding of modulo and I need to apply additional math on result in order to extract only fixed part? I haven't found information on that matter in docs.

This is actually not a bug - div instruction performs division in the prime field, which is defined via inversion (i.e. $c \leftarrow a \cdot b^{-1}$ see here). We should probably document this better in the Field Operations section.
For integer division, we can use u32div or u32divmod instructions.

Closed by #1192.


VRCFT wont run because I have no way to launch it.

So I downloaded VRCFaceTracking_x64 installer. I run the installer and it says "install" or "launch". I run VRCFT with that launch button each time I wanna run it. But... for some reason VRCFT changed the installer to no longer have the "launch" option! so... I cant run it.
I search everywhere on my computer for any exe or SOMETHING to run it. I searched "VRCFaceTracking_x64" "VRCFacetracking" "VRCFT" "VRCFaceTracking.exe"... Nothing shows a way to run the damn thing.
Apparantly, a friend told me thats not how they run it, they just use a shortcut to what I assume is the exe... But I cant find it!! I tried to uninstall VRCFT, turns out theres not an uninstall feature I can find... I tried deleting VRCFT files everywhere I can find them, they wont delete. I dont know why either, wont let me. I tried just hitting "install" again, says I cant and theres already a package for it that I have to remove. I found that package, deleted it, says I STILL have it. I'mma bout to pull my hair out.

VRCFT is a UWP Type app and doesn't install like a regular old .exe
It should normally be listed in your start menu.
Location is C:\Program Files\WindowsApps\96ba052f-0948-44d8-86c4-a0212e4ae047_<IP_ADDRESS>_x64__d7rcq4vxghz0r\VRCFaceTracking.exe


Why there are no API for creating product?

Hi, @mrgoonie
The official API Reference does not provide an API for creating products.


[SourceKit] Use an exponentially growing appending binary stream to serialize the syntax tree

llvm::AppendingBinaryByteStream grows with the size of data that gets appended to it and is thus fairly inefficient if a lot of small data gets appended because it doesn't need to resize its buffer on each write. This PR introduces an output stream that doubles its internal buffer size every time it gets to small and is thus more efficient.

@swift-ci Please smoke test

This PR looks OK to me, but how about using SmallVector<uint8_t, 0> as a storage?
It grows exponentially, use realloc, well tested.

That's a good idea. I'll give it a shot.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


chore(main): release 0.8.1

:robot: I have created a release beep boop
0.8.1 (2024-05-07)
Bug Fixes

Remove FirstWhereOrNull as it causes conflicts with dart:collection (#62) (7b9a737)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ZebraDevs/zeta_flutter/releases/tag/v0.8.1 :sunflower:


Hotfix/matchpyramid

Codecov Report

Merging #610 into 2.1-dev will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           2.1-dev     #610      +/-   ##
===========================================
+ Coverage    96.86%   96.86%   +<.01%
===========================================
  Files           82       82
  Lines         2485     2489       +4
===========================================
+ Hits          2407     2411       +4
  Misses          78       78

Impacted Files
Coverage Δ

matchzoo/models/match_pyramid.py
100% <ø> (ø)
:arrow_up:

matchzoo/layers/dynamic_pooling_layer.py
91.17% <100%> (+1.17%)
:arrow_up:

...tchzoo/data_generator/callbacks/dynamic_pooling.py
91.17% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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