CTA inverse card in CardSectionSimple component: heading color does not change on hover

Hi, not sure if this is a bug or it works as designed, but it is not very good for accessibility.
The CTA inverse card (last card) in CardSectionSimple component does not change color of the heading text on hover.
It stays light, although the background of the card changes to light, and so the heading is not properly visible.

Go to https://ibmdotcom-react.mybluemix.net/?path=/story/components-cardsectionsimple--with-cta
Hover over the last dark card.
Check how the heading text is very poorly visible as the card becomes light

What did you expect to happen? What happened instead? What would you like to see changed?
The heading text will get a darker color on hover, to be more visible
What browser are you working in?
Chrome, FF, Safari, Edge
What version of Carbon for IBM.com are you using?
1.17.0
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Knowledge Center

Screenshots or code
Notes

Both React and Web Components Storybooks, Card section simple – with CTA, on all Carbon themes, on hover over the CTA, the expected container background is not present.


[ENH] Specify how to share cross-talk and fine-calibration for Neuromag/Elekta/MEGIN data

This is a proposal on how cross-talk and fine-calibration files can be shared using BIDS.
Both files are necessary to make Neuromag/Elekta/MEGIN data usable, more information can be found in these threads:

https://github.com/mne-tools/mne-bids/issues/495 ... including a comprehensive discussion about implementation options
https://github.com/bids-standard/bids-examples/issues/56 ... basically pointing out the issue many months ago

The proposed solution would require validator adjustments:

.dat becomes a valid extension for MEG data ... but ONLY if acq-crosstalk is part of the file name
not sure if we need any adjustments for *_acq-finecalibration_meg.fif

Disclaimer: I never worked with Neuromag/Elekta/MEGIN data
Attention needed:

is what I am writing in the text correct? I basically took it from comments by @robertoostenveld @jasmainak and @hoechenberger
is it fine to simply rename the dat and fif files without breaking any internal structures?
do you agree that this is a reasonable way to enable sharing of these apparently crucial files?

@bids-standard/raw-electrophys-meg @agramfort @larsoner @guiomar

I'm wondering if ".dat" file should be a special case for fif files or whether fif files should also be stored in "father level" directories like KIT or 4D. That way you can add any other files that go with the recording. I realize this would break backwards compatibility though.

Thanks for writing up this proposal, @sappelhoff!

.dat becomes a valid extension for MEG data ... but ONLY if acq-crosstalk is part of the file name

I'd like to point out that the fine-calibration file is really just an ASCII text file with columns. So if one has to rename the file anyway to adhere to the proposed BIDS naming scheme, one might as well change the extension to something that's already considered valid? The file I have here consists of multiple columns (without a column header); the first column is separated from the second via a single tab character; and all other columns are separated using a single space. So unfortunately this doesn't qualify as a TSV :(

not sure if we need any adjustments for *_acq-finecalibration_meg.fif

That's quite a long name, maybe *_acq-finecal_meg.fif would suffice?

is what I am writing in the text correct? I basically took it from comments by @robertoostenveld @jasmainak and @hoechenberger
is it fine to simply rename the dat and fif files without breaking any internal structures?

Yes, there are no cross-references embedded in those files. For using them, one points the processing software to the exact location of either file, and that's sufficient.

do you agree that this is a reasonable way to enable sharing of these apparently crucial files?

Yes I believe this should be sufficient.
Since the files won't change within sessions (i.e., they'll be the same for all tasks & runs), the full names could be:

sub-<label>_ses-<label>_ acq-crosstalk_meg.dat
sub-<label>_ses-<label>_acq-finecalibration_meg.fif

@hoechenberger just a note that we typically wait for 5 days until merging a PR so to give everybody a chance to review.
See also decision-making
Just as a friendly note for the future. :)
If @jasmainak or @guiomar disagree with the changes we'll have to make adjustments post-merge.

Oh. Whoops. I'm sorry, I just waited for the Merge button to turn green :<


Automated cherry pick of #4874: vendor: update sqlchemy

Cherry pick of #4874 on release/2.13.
#4874: vendor: update sqlchemy

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@bf30a53). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #4877   +/-   ##
==============================================
  Coverage                ?   6.85%
==============================================
  Files                   ?     523
  Lines                   ?   89201
  Branches                ?       0
==============================================
  Hits                    ?    6119
  Misses                  ?   82574
  Partials                ?     508

Flag
Coverage Δ

#aFlag
6.85% <ø> (?)

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 bf30a53...0acfe91. Read the comment docs.


Undefined method alias_method_chain

Rails fails to load the gem and throws this error on startup.
Versions:

ruby 2.4.0p0
Rails 5.1.2
unscoped_associations (0.6.5)

.rvm/gems/ruby-2.4.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:84:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'unscoped_associations'. (Bundler::GemRequireError)
Gem Load Error is: undefined method `alias_method_chain' for #<Class:ActiveRecord::Base>
Did you mean?  alias_method
Backtrace for gem load error is:
/home/xbits/.rvm/gems/ruby-2.4.0/gems/unscoped_associations-0.6.5/lib/unscoped_associations.rb:7:in `block in included'
/home/xbits/.rvm/gems/ruby-2.4.0/gems/unscoped_associations-0.6.5/lib/unscoped_associations.rb:6:in `instance_eval'

Hi @markets, sorry I missed that part of the read me. Thank you for the quick reply!


chore: deprecate rbac plugins

Deprecate rbac plugins as they have been migrated to backstage/community-plugins

To be merged after comfirming that the wrapper is correct: https://github.com/janus-idp/backstage-showcase/pull/1897


Provide an API for determining if the "main" component of a control has focus.

Formerly "NumberBox FocusState value remains to Unfocused even after getting focus"
Describe the bug
So the FocusState value seems to remain unchanged regardless of the actual focus state of the control.
Steps to reproduce the bug
1. Minimal Xaml :
<Page
    x:Class="Test.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:winui="using:Microsoft.UI.Xaml.Controls"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    mc:Ignorable="d">

    <Grid>
        <winui:NumberBox x:Name="MyNumberBox" GotFocus="MyNumberBox_GotFocus" />
    </Grid>
</Page>

2. Code behind:
public MainPage()
{
	this.InitializeComponent();
}

private void MyNumberBox_GotFocus(object sender, RoutedEventArgs e)
{
	System.Diagnostics.Debug.WriteLine(MyNumberBox.FocusState);
}

Build and Run. Now focus and unfocus the NumberBox by clicking it and clicking in blank space, do it several times and notice in the output window, even in the GotFocus event, the FocusState value is Unfocused.

Version Info
WinUI Nuget Package Version :
NuGet package version:
Microsoft.UI.Xaml 2.4.2]

Windows 10 version
Saw the problem?

1909
Yes

Device form factor
Saw the problem?

Desktop
Yes

Additional context

Setting IsTabStop to true sometimes print the first output as "Pointer", and after that, "Unfocused" every time.

Got focused is a routed event so it doesn't necessarily mean that the item where the event is triggered is the item with focus. I suspect what is happening here is that a template part of the Numberbox is getting focus (the text box almost certainly) not the number box itself.  The event args should have a pointer to the element which raised the event.

I'm going to close the issue, if you think that is in error feel free to reopen with more info :).

@StephenLPeters  My problem wasn't with the event args, rather with the FocuseState property. I had to determine whether the NumberBox has focus or not in a certain scenerio. I think the FocusState should not have the value Unfocused when the user is manually changing value in the underlying textbox.

I think that what you are asking for is clearly reasonable but I think the current behavior is by design and working properly. Thus I think the root of this is a new feature request.  You want some way of determining if the "main" component of the the control is focused. However if we simply returned Focused as the result of the FocusState property and you then called FocusManager.FocusedElement it wouldn't return the numberbox it would return its internal text box.
I think there needs to be some additional design about what the appropriate ask is here.

In the mean time you could call FocusManager.GetFocusedElement and then use VisualTreeHelper.GetParent to walk up the tree looking for your numberbox and if you find it then you know the internal text box has it.
Alternatively you can use the OriginalSource api on the event args and check if that is a text box, if so then it is presumably the numberbox's template part.

WPF has an API that we could consider copying - UIElement.IsKeyboardFocusWithin

WPF has an API that we could consider copying - UIElement.IsKeyboardFocusWithin


date_time_start changing when importing form_pscis_2023.gpkg

Maybe i'm missing something super simple but i'm stumped
Issue:
The date:time is changing in the date_time_start column when reading in the form_pscis_2023.gpkg from Q. Using site 8478 as an example, in Q date_time_start = 2023-09-19 13:30:02 (UTC) but when you read it in it changes to
2023-09-19 06:30:02 , it basically added 5hr to the time. If the time is before 12 then it adds 7hrs (see site 8518...super weird. The issue seems to be occurring when reading in the gpkg. I can burn the gpkg to Q and the dates stay the same, but when reading it back in the times change. I am aware that in Q the timezone is set to UTC, which is not correct, it should be PDT (as seen in the 2022 skeena data).

How to reproduce issue:

read in the backed up form_pscis_2023.csv from data/backup/ which has the correct date:time
read in the form_pscis_2023.gpkg
compare date:times. The times in form_pscis_2023.gpkg have +7hrs added to them.

What I've tried:

[x]  Setting the timezone to "America/Vancouver" in the lubridate call. This changed the date:time incorrectly when I burn to Q. dplyr::mutate(date_time_start = lubridate::ymd_hms(date_time_start, tz = "America/Vancouver")
[x] tested pscis_tidy.R in the Fraser repo and the same issue occured.
[x] Tried reading and writing form_pscis_2023.gpkg using Skeena 2023 and Fraser 2023 scripts which differ in if they transforming the crs.
[x] Checked out https://github.com/qgis/QGIS/issues/48393

Reprex:
library(tidyverse)
library(sf)
#> Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE
library(lubridate)

dir_project <- 'sern_skeena_2023'

form_pscis <- sf::st_read(dsn= paste0('~/Projects/gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg'))
#> Reading layer `form_pscis_2023' from data source
#>   `/Users/lucyschick/Projects/gis/sern_skeena_2023/data_field/2023/form_pscis_2023.gpkg'
#>   using driver `GPKG'
#> Simple feature collection with 59 features and 98 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 842859 ymin: 1008863 xmax: 958901.9 ymax: 1169499
#> Projected CRS: NAD83 / BC Albers

form_redo <- read_csv("~/Projects/repo/fish_passage_skeena_2023_reporting/data/backup/form_pscis_2023.csv") %>%
  arrange(site_id)
#> Rows: 59 Columns: 98
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr  (39): crew_members, my_priority, assessment_comment, condition_notes, c...
#> dbl  (39): site_id, moti_chris_culvert_id, moti_chris_culvert_id2, pscis_cro...
#> lgl  (18): moti_chris_culvert_id3, my_citation_key1, my_citation_key2, my_ci...
#> dttm  (1): date_time_start
#> date  (1): date
#>
#> ℹ Use `spec()` to retrieve the full column specification for this data.
#> ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

#join correct date_time_start from the backup csv to form_pscis
redo <- form_pscis %>%
  dplyr::select(-date_time_start) %>% # Exclude the old column
  left_join(form_redo %>% dplyr::select(site_id, date_time_start), by = 'site_id') %>%
  relocate(date_time_start, .after = crew_members)

# this is the same code from pscis_tidy.R. I am running this because we edit the date_time_start column so this could be where the issue is coming from, but I don't think so.
redo <- redo %>%
  #split date time column into date and time
  dplyr::mutate(date_time_start = lubridate::ymd_hms(date_time_start),
                date = lubridate::date(date_time_start),
                time = hms::as_hms(date_time_start)) %>%
  # filter out to get only the records newly created
  filter(!is.na(date_time_start)) %>%
  mutate(
    site_id = case_when(is.na(pscis_crossing_id) ~ my_crossing_reference,
                        T ~ pscis_crossing_id)
  ) %>%
  # remove the form making site
  filter(site_id != '12345') %>%
  arrange(site_id)

#testing time zone
tz(redo$date_time_start)
#> [1] "UTC"

# clean up data fields to make copy and paste to prov template easier
redo <- redo %>%
  # some columns that have yes/no answers have NA values in mergin, need to change to No
  # need to add 'No' as default values to mergin
  mutate(across(contains('yes_no'), ~replace_na(.,'No'))) %>%
  # some numeric fields for CBS have NA values when a user input 0
  mutate(across(c(outlet_drop_meters, outlet_pool_depth_0_01m, culvert_slope_percent, stream_slope),
                ~case_when(crossing_type == 'Closed Bottom Structure' ~replace_na(.,0),
                           TRUE ~ .
                ))) %>%
  # change 'trib' to long version 'Tributary'
  mutate(stream_name = str_replace_all(stream_name, 'Trib ', 'Tributary ')) %>%
  # change 'Hwy' to 'Highway'
  mutate(road_name = str_replace_all(road_name, 'Hwy ', 'Highway '))

# add in which phase of assessment the site is in, did the reassessment sites by hand (because there was only 3-4) so thats not in here.
# This only works when only phase 1 sites have a priority ranking, could use some updating but works for now.
redo <- redo %>%
  mutate(source = case_when(
    my_priority == 'phase 2' ~ 'phase2',
    my_priority == 'high' ~ 'phase1',
    my_priority == 'medium' ~ 'phase1',
    my_priority == 'low' ~ 'phase1',
    is.na(my_priority) ~ 'phase1',
    T ~ source))

# burn cleaned copy to QGIS project gpkg
redo %>%
  sf::st_write(paste0('~/Projects/gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg'), append=F, delete_dsn=T)
#> Warning in clean_columns(as.data.frame(obj), factorsAsCharacter): Dropping
#> column(s) time of class(es) hms;difftime
#> Deleting source `/Users/lucyschick/Projects/gis/sern_skeena_2023/data_field/2023/form_pscis_2023.gpkg' using driver `GPKG'
#> Writing layer `form_pscis_2023' to data source
#>   `/Users/lucyschick/Projects/gis/sern_skeena_2023/data_field/2023/form_pscis_2023.gpkg' using driver `GPKG'
#> Writing 59 features with 98 fields and geometry type Point.

Created on 2024-03-25 with reprex v2.1.0

Looks like the core issue is that the time is in the right zone (PDT) in the initial form in the Forms group of QGIS but then it was somehow converted to UTC in the Project Specific/Field Work group.
There is no issue when reading in the original form with
form_pscis2 <- sf::st_read(dsn= paste0('~/Projects/gis/', dir_project, '/form_pscis.gpkg'))
For this years data we could perhaps do one of the following.  ordered based on first impression of preference

convert the times in our paste0('~/Projects/gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg') from UTC to values that are equivalent to PDT.  Seems like this should be a common thing that needs to happen time to time (punny).
read in the original form and left_join our times from paste0('~/Projects/gis/', dir_project, '/form_pscis.gpkg') to the paste0('~/Projects/gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg') object.  Would need a QA to be sure we have all the values and that they match the original form.
Convert the times in Q using the Field Calculator.

Once this is dealt with we will need an issue somewhere to address the actual cause of the problem which is the mismatch between the two tables perhaps occurring with below from 01_pscis_tidy.R:
# burn cleaned copy to QGIS project gpkg, the pscis clean section can be repeated again when changes are made in Q
form_pscis_cleaned %>%
  sf::st_write(paste0('../../gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg'), append=F, delete_dsn=T)

This seems to work with only one time deviation of less than a second.
library(tidyverse)
library(sf)
#> Linking to GEOS 3.12.1, GDAL 3.8.3, PROJ 9.3.1; sf_use_s2() is TRUE
dir_project <- 'sern_skeena_2023'
form_pscis <- sf::st_read(dsn= paste0('~/Projects/gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg')) %>%
dplyr::mutate(date_time_start_repaired = date_time_start + hours(7)) %>%
select(contains("date_time"), everything())
#> Reading layer form_pscis_2023' from data source  #>   /Users/airvine/Projects/gis/sern_skeena_2023/data_field/2023/form_pscis_2023.gpkg'
#>   using driver `GPKG'
#> Simple feature collection with 59 features and 91 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 842859 ymin: 1008863 xmax: 958901.9 ymax: 1169499
#> Projected CRS: NAD83 / BC Albers
form_pscis_og <- sf::st_read(dsn= paste0('~/Projects/gis/', dir_project, '/form_pscis.gpkg')) %>%
select(contains("date_time"), everything())
#> Reading layer form_pscis' from data source  #>   /Users/airvine/Projects/gis/sern_skeena_2023/form_pscis.gpkg'
#>   using driver `GPKG'
#> Simple feature collection with 60 features and 88 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 842859 ymin: 447409.8 xmax: 1036232 ymax: 1169510
#> Projected CRS: NAD83 / BC Albers
qa <- left_join(
form_pscis %>%
select(contains("date_time"), pscis_crossing_id, my_crossing_reference),
form_pscis_og %>%
st_drop_geometry() %>%
select(date_time_start_og = date_time_start, pscis_crossing_id, my_crossing_reference),
by = c("pscis_crossing_id", "my_crossing_reference")
) %>%
mutate(time_diff = date_time_start_og - date_time_start_repaired)
max(qa$time_diff)
#> Time difference of 0.4919996 secs

omg - interesting. Seems like better way to do it is to use force_tz and with_tz  since it takes into account daylight savings time!!! Check out the weird thing that hapens when date_time_start is renamed to date_time_start_og though
library(tidyverse)
library(sf)
#> Linking to GEOS 3.12.1, GDAL 3.8.3, PROJ 9.3.1; sf_use_s2() is TRUE

dir_project <- 'sern_skeena_2023'

form_pscis <- sf::st_read(dsn= paste0('~/Projects/gis/', dir_project, '/data_field/2023/form_pscis_2023.gpkg')) %>%
  dplyr::mutate(date_time_start_repaired = date_time_start + hours(7)) %>%
  select(contains("date_time"), everything())
#> Reading layer `form_pscis_2023' from data source
#>   `/Users/airvine/Projects/gis/sern_skeena_2023/data_field/2023/form_pscis_2023.gpkg'
#>   using driver `GPKG'
#> Simple feature collection with 59 features and 91 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 842859 ymin: 1008863 xmax: 958901.9 ymax: 1169499
#> Projected CRS: NAD83 / BC Albers

form_pscis_og <- sf::st_read(dsn= paste0('~/Projects/gis/', dir_project, '/form_pscis.gpkg')) %>%
  select(contains("date_time"), everything())
#> Reading layer `form_pscis' from data source
#>   `/Users/airvine/Projects/gis/sern_skeena_2023/form_pscis.gpkg'
#>   using driver `GPKG'
#> Simple feature collection with 60 features and 88 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: 842859 ymin: 447409.8 xmax: 1036232 ymax: 1169510
#> Projected CRS: NAD83 / BC Albers

qa <- left_join(
  form_pscis %>%
    select(contains("date_time"), pscis_crossing_id, my_crossing_reference),
  form_pscis_og %>%
    st_drop_geometry() %>%
    select(date_time_start_og = date_time_start, pscis_crossing_id, my_crossing_reference),
  by = c("pscis_crossing_id", "my_crossing_reference")
) %>%
  mutate(time_diff = date_time_start_og - date_time_start_repaired)

max(qa$time_diff)
#> Time difference of 0.4919996 secs

# lets see if we can alter the timezone of the date_time_start column
# this is a better way to do it since it takes into account daylight savings time!!!
form_pscis_zone <- form_pscis %>%
  mutate(date_time_start_zone_utc= force_tz(date_time_start, tzone = "America/Vancouver")) %>%
  mutate(date_time_start_zone_pdt = with_tz(date_time_start_zone_utc, tzone = "UTC")) %>%
  select(contains("date_time"), pscis_crossing_id, my_crossing_reference)

qa2 <- left_join(
  form_pscis_zone %>%
    select(contains("date_time"), pscis_crossing_id, my_crossing_reference),
  form_pscis_og %>%
    st_drop_geometry() %>%
    select(date_time_start_og = date_time_start, pscis_crossing_id, my_crossing_reference),
  by = c("pscis_crossing_id", "my_crossing_reference")
) %>%
  mutate(time_diff = date_time_start - date_time_start_zone_pdt,
         time_diff_og = date_time_start_og - date_time_start_zone_pdt)

max(qa2$time_diff)
#> Time difference of 0 secs
max(qa2$time_diff_og)
#> Time difference of 7.000137 hours

Regarding "Check out the weird thing that happens when date_time_start is renamed to date_time_start_og "
This also doesn't make sense to me.
Using site 8478 as an example.
time_diff = 06:30:02 - 13:30:02 = 7hrs
time_diff_og = 13:30:02 - 13:30:02 = 0

but running your code shows the opposite. I must be missing something.
mutate(time_diff = date_time_start - date_time_start_zone_pdt,
         time_diff_og = date_time_start_og - date_time_start_zone_pdt)

max(qa2$time_diff)
#> Time difference of 0 secs
max(qa2$time_diff_og)
#> Time difference of 7.000137 hours

mixed bag of UTC and PDT in 2023 version of form!!!  So very strange.... Ha

so odd!


DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

Bug report

Node Version: 8.7.0
Protractor Version: 5.2.2
Angular Version: -
Browser(s): -
Operating System and Version macOS High Sierra

Clone repo https://github.com/devoto13/protractor-warning
npm install
node --trace-warnings ./node_modules/.bin/protractor protractor.conf.js

Observe warning being printed to console:
DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

It does not break anything, but is annoying. I would like to get rid of it once and for all. It comes from the following dependency chain webdriver-js-extender -><EMAIL_ADDRESS>-> tmp. One possible fix would be to update selenium-webdriver dependency for webdriver-js-extender or replace it with peer dependency. There is even a PR trying to do that - https://github.com/angular/webdriver-js-extender/pull/12. However it didn't get any attention and @sjelin does not seem to be active on Github for almost a year. I just thought that maybe somebody from the Protractor team can give webdriver-js-extender some maintainer love :) Or if it is not possible maybe Protractor can consider dropping/replacing webdriver-js-extender.

I have the exact same issue, which I think everyone has?

+1

+1

@juliemr - Are you aware what It takes to get some attention with this from the maintainers? And alternatively open up for additional maintainers?

Is there any workaround for this issue? This prevents me from running tests.

Sorry, I don't know much about webdriver-js-extender. Probably I can get some time to take a look at it this week, sorry for late response.
@hassankaz  as far as I know, this shouldn't affect running tests, it just bring some annoying warnings, what error did you get?

Sorry my bad. My tests were not running for some other reason (webdriver-manager update needed to be run) . After I fixed the issue it's running again. thanks!

I have same issue. Any idea to fixes it ?

@qiyigg did you get a chance to look at webdriver-js-extender project yet?

@devoto13 Not yet. The thing is this project is maintained by another contributor who is not active for a long time, I did check with other contributors to see who is familiar with it, but unfortunately no one knows the detail. From what I know so far, probably we don't need this dependency any more, but it requires some investigation to remove it safely.

@qiyigg Thanks for an update!
Please let me know if there is something specific I can do to help move the investigation forward?

I am facing the same issue. how to resolve this
(node:21031) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Thanks

This issues was fixed by https://github.com/angular/protractor/commit/056eec23a7d1534d5e8624d42a6c9d1f3106cf5d and released in 5.4.0.


OptiX support?

Looks like UC Davis group has at least tried it: https://github.com/owensgroup/optix_splats
In theory OptiX might provide better tensor core / RT core utilization on nvidia cards, tho that could also depend on low-level (proprietary) details of nvidia OptiX.
Besides the above cited repo, is there any effort for e.g. nerfstudio gsplat to benchmark if OptiX might indeed be faster than current CUDA impl?

We don't have any current efforts on OptiX support -- it would be interesting to know if this would help at all, although it's unclear whether OptiX optimizations for ray-tracing would translate for splatting.


Clone Git Tag rather than branch

A couple of issues (https://github.com/deployphp/deployer/issues/532 and https://github.com/deployphp/deployer/issues/120)  reference Git and Tags but neither seem to show a solution that works.
Using --tag tagname pulls from HEAD.
Using ->env('tag', 'prodv1.0.4') also fails and pulls from HEAD with the warning;

warning: Remote branch prodv1.0.4 not found in upstream origin, using HEAD instead.

Is this feature in Deploy3? I am using Deployer3, PHP5.5.30.
It doesn't seem to be covered in any of the documentation suggesting that one must either pull from the HEAD or a branch and that tags are not supported at all?
Using -vvv I can see that the command is
git clone -b prodv1.0.4 --depth 1 --recursive -q git@bitbucket.org:blah/myrepo.git
Its that command that gives the above warning. However if I run git clone -b prodv1.0.4 --depth 1 --recursive -q git@bitbucket.org:blah/myrepo.git myself from my local machine that it runs fine and clones the correct tag.

OK so after further investigation, my staging server has a really old version of Git, therefore it cannot pull tags using -b and therefore tries to find a branch named "prodv1.0.4" which fails.

Deployer should log a notice if an unsupported git version is used


visualize all trajectories (not just virtual center) in their own class color

now can visualize using appending dots

for now, focus on the algorithm, the visualization is basically done using the dots.


Can't utilize wildcard for linkauth

When trying to utilize the wildcard feature of linkauth, I am turning up unsuccessful.
I have permission called infiniverse on my account that I want to link to all actions on the infiniverse1 contract.
eosc asks for:
eosc system linkauth [your account] [code account] [action name] [permission name] [flags]
I input:
eosc system linkauth testkauffman infiniverse1 "*" infiniverse
and I get this error:
ERROR: invalid name format for "action name": invalid name, 13 characters maximum

Related https://github.com/eoscanada/eosc/issues/138


Replace expressions in Japanese into English?

This repository is forked by the people who are perhaps not Japanese....
I wonder I should replace all expressions from Japanese into English? ( ˘·ω·˘ ).。oஇ.

I worry about some migration problems may occur in contributors' environments after replacing the names of fields in models.py. 🤔


Encryption Keys & License

How were the encryption keys (and format) determined?
Is this source published under any license?

They were determined by reverse engineering the game.
I've added a license to the project

Thanks!


Support specifying the datatype for columns ( equivalent to dtype in pandas to_sql)

Is there any equivalent to dtype in panas to_sql() ?.
I read through the codebase and i think the answer is No.!!

You are correct, there is currently no way to set a non-default datatype - everything is mapped to the basic datatypes defined in helpers.py. Do you have a need to write a different datatype in your database? Is it something additional/unsupported, or are you trying to coerce from one Pandas type to a different SQL type?
I did address your earlier comments about lack of documentation for the schema kwarg in the readme, thanks for noting that.

Closing this; please reopen if you want to discuss.

I ran into this problem when I wanted to use pandabase to upsert as postgres database with postgis. The geometry data type will not be translated, when using pandabase on a geopandas dataframe.
The result is a ProgrammingError: (psycopg2.ProgrammingError) can't adapt type 'LineString'
Do you have any further plans to implement dtypes?


Training UCE

Hello,
Does the current UCE package/scripts provided on this page have the functionality for users to train UCE on their own reference atlas ?

Since the UCE model is intended to be used as a zero shot model, we do not plan on releasing code to train the entire model.
However, you can always train downstream models on embeddings produced by one of the base (4L or 33L) models, or set up your own finetuning / training set up.


message_edit: Do not reuse user_profile variable in "for" loop.

Doing so causes the "username resolved this topic" notification to be attributed to a random user who had a visibility policy on the topic.
Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv!
@andersk is there a ruff rule for reusing a variable in a for loop that had been defined previously? I had thought we had a linter banning that, but apparently not.

No existing Ruff rule would have caught this, as can be checked with ruff --select=ALL zerver/actions/message_edit.py.
PLW2901 redefined-loop-name is similar, but we have it disabled for having too many existing violations, and also it wouldn’t have caught this instance because the outer variable here is from a function parameter, not a for loop.
Pylint has R1704 redefined-argument-from-local, and this will probably be ported to Ruff sooner or later (charliermarsh/ruff#970).


Enabling Nav bar and using the back button causing a crash

I used the Dependency injection style used in the Podcast App for my own test app. Everything works fine but-
After enabling the nav bar using  Shell.NavBarIsVisible="True" in one of the pages and clicking on Back button (to go back ) crashed the App with below exception-
The specified child already has a parent. You must call removeView() on the child's parent first.
Is that a known bug in the MAUI Dependency Injection? Any workarounds?
VS 2022 - 17.2.0 Preview 1

I would probably post an issue over at https://github.com/dotnet/maui if it is an issue there.


Makes the documentation about storage clearer

Thank you!

No problem, @benbrown. I'm very excited about this project and expect to be contributing a bunch over the next few weeks. Feel free to reach out if there's anything in particular that you could use help with, otherwise I'll just be building bots and fixing things as they come up.


github_repo_pull_request_count only returns result from one page

We have a repository that returns more than 1 page of result for the /pull endpoint. The data that's gathered for scraping is much smaller, and equal to the number of PRs returned by the last page of results. This line seem to be the culprit. Same thing for getReleases. Before I submit a PR and make it store results from all pages, was there a reason it was done this way?

I ran into this also, not sure if you are on github enterprise. For that setup, with a custom API_URL, there were a couple places where the code relies on specific placement of & or ? in a URL to determine how many pages it needs to retrieve.
https://github.com/infinityworks/github-exporter/blob/master/exporter/http.go#L75
I haven't worked with go much but with these mods:
https://gist.github.com/nhardt/a41fca5b4bdec575e6c98e2c10eaa573
I was able to get to this line:
github-exporter_1  | INFO[0091] All Metrics successfully collected

I haven't yet been able to pull that into grafana yet but the /metrics page has a bunch of stuff in it. Hope that helps.


QC: LOGS: Deliver the Fix for WITSML 1311 Issue (HIGH PRIORITY)

This item will require us to send a new container release (0.16.1) to SLB next week (7/22) for the fix of WITSML 1311 issue.
::NOTE:: The SLB BlueBox team is waiting for this fix to continue integration test.
@shehzadsidi please provide an update on the status of the RTC Plug In for 1311. Copying Chris for input c/o RC Plugin.
o	Dev/Team has confirmed that the Mapping is already done and test cases are available ; they will have a follow-up discussion after 0.16.0 delivery to plan for 1311

@shehzadsidi Chris confirmed that SLB does not need to provide a RTC Plug In.  This will require Dev/Test teams to bugfix 1311.
Please confirm the ETA to complete this card in order to deliver the 0.16.1 container on 7/22 as promised.


feat: make packages usable locally

This PR is the final piece extracted from:

#827

Closes:

#834

Adds a new internal workspace
Adds a new @internal/tsup package (and revamps TSUP configs)
Reconfigures all package.json, using:

.js for package exports
.ts for types @ local env
.d.ts for types @ published packages

Standardized all package.json files (block order, line sorting, etc.)
DRY all tsup.config.ts files (reusing shared configs from @internal/tsup)

@arboleya I'll test if link is working with wallet

@LuizAsFight I ran several tests here and couldn't replicate the infinite loop you mentioned. We can try reproducing it later on if you think it's useful.


Added zoia.org to _data/sites.yml

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: zoia.org
  URL:  https://zoia.org
  size:  22.1
  last_checked:  2022-03-28

GTMetrix Report:  GTMetrix: https://gtmetrix.com/reports/zoia.org/YK8NgwL0/

Tiny! Thanks for your submission.


add list of tuples functionality to AWSRequest params attribute

Addresses https://github.com/boto/botocore/issues/2667. Allows request parameters to be passed to the low level interface AWSRequest as a list of tuples (params attribute). Currently it can only accept dictionaries. This will also allow the user to send duplicate queries should they wish to do so.

Codecov Report

Merging #2679 (f47518a) into develop (fa443a0) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #2679      +/-   ##
===========================================
- Coverage    95.29%   95.24%   -0.05%
===========================================
  Files           60       60
  Lines        12243    12249       +6
===========================================
  Hits         11667    11667
- Misses         576      582       +6

Impacted Files
Coverage Δ

botocore/auth.py
97.78% <100.00%> (+<0.01%)
:arrow_up:

botocore/awsrequest.py
98.55% <100.00%> (+0.02%)
:arrow_up:

botocore/compat.py
91.27% <0.00%> (-1.35%)
:arrow_down:

botocore/httpsession.py
91.20% <0.00%> (-0.40%)
:arrow_down:

botocore/utils.py
93.38% <0.00%> (-0.23%)
: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 fa443a0...f47518a. Read the comment docs.


[9.x] Add noActionOnDelete method

This PR will add a new method in the ForeignKeyDefinition class with this method clients are able to create a foreign key in their migrations with the no action property/option.

@taylorotwell


Bumped base Somfy MyLink library version

Description :
This change updates the underlying Somfy MyLink library to v1.0.6. This enables support for Python versions >=3.5.2
Related issue (if applicable): fixes  #24151
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.
[X] I have followed the [development checklist][dev-checklist]

Appears the failing tests were caught up with #24586

If you rebase on latest dev I can merge. Otherwise we have to wait for someone with admin powers.

@MartinHjelmare all looks good, thanks!


issues installing

I am logged into GitHub, however, a clean install or an update doesn't work.  I was able to install 1.7 just can't get to 1.8.  It prompts for userid/pswd and rejects it as invalid.
Any thoughts?
`PS C:\Users\IBM_ADMIN.node-red> npm update node-red-contrib-ftp-sftp
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://github.com/HardingPoint/jsftp.git
npm ERR!
npm ERR! fatal: HttpRequestException encountered.
npm ERR!    An error occurred while sending the request.
npm ERR! remote: Invalid username or password.
npm ERR! fatal: Authentication failed for 'https://github.com/HardingPoint/jsftp.git/'
npm ERR!
npm ERR! exited with error code: 128
npm ERR!      C:\Users\IBM_ADMIN\AppData\Roaming\npm-cache_logs\2018-10-05T16_03_48_173Z-debug.log`

My apologies team did not publish update to NPM. Can you all please test now let me know if you have any issues.

Should be good now, please reopen if you have any issues.


Concurrent hnsw graph and builder, take two

Motivation
I need to support concurrent reads and writes to an HNSW index for Cassandra.  One option would be to partition the document range and assign each range to a single thread with the existing implementation.  However,

It is much faster to query a single on-heap hnsw index, than to query multiple such indexes and combine the result.  (log(N) vs M log(N/M) where N is the number of documents and M is the number of partitions).
I need to ultimately write the combined index to disk, so even with some contention necessarily occurring during building of the index, we still come out way ahead in terms of total efficiency vs creating per-thread indexes and combining them, since combining the per-thread indexes boils down to "pick the largest and then add all the other nodes normally," you don't really benefit from having computed the others previously and you end up doing close to 2x the work.

Performance
Numbers are from my SIFT test harness at https://github.com/jbellis/hnswdemo/tree/lucene-bench.  Numbers are averaged across 5 test runs on my i9-12900 (8 performance cores and 8 efficiency)
Serial construction of 1M nodes: 292.3s
Parallel construction, 1 thread: 379.0s = 129.7% of serial
Parallel construction, 2 threads: 191.3s = 50.5% of parallel/1
Parallel construction, 4 threads: 96.1s = 25.4% of parallel/1
Parallel construction, 8 threads: 52.6s = 13.8% of parallel/1
Serial queries of 100k vectors / top 100: 38.3s
Parallel queries, 1 thread: 41.6s = 1.09% of serial
Parallel queries, 2 threads: 21.0s = 50.5% of parallel/1
Parallel queries, 4 threads: 10.3s = 24.7% of parallel/1
Parallel queries, 8 threads: 5.3s = 12.7% of parallel/1
To summarize, there is about a 30% overhead during construction and 10% overhead at query time from using the concurrent class.  The concurrent class parallelizes construction nearly perfectly through 4 threads, with some additional inefficiency becoming visible at 8.  (Probably this is the effect of having to do more vector comparisons across the concurrently added nodes – I would expect this to remain relatively small and not exploding as thread counts increase.)  Uncontended queries scale close to perfectly to at least 8 threads.
Design and implementation
ConcurrentOnHeapHnswGraph is very similar to OnHeapHnswGraph with concurrent backing Collections.  The main addition is a getView operation to provide a threadsafe snapshot of the graph for searches.  The View uses a CompletionTracker class to provide a kind of snapshot isolation – otherwise it is impossible to prevent partially added nodes from causing very difficult to debug race conditions.  This is used during construction as well as for user-invoked searches.
(The initial CompletionTracker implementation was just an AtomicInteger clock and a Map<node Integer, clock Integer>, but the constant box/unbox introduced significant CPU and GC overhead.  The current implementation is a result of optimizing that.)
ConcurrentHnswGraphBuilder adds an incremental ram used estimate as a return value to addGraphNode, and a buildAsync method that takes an ExecutorService for fine-grained control over parallelism.  Otherwise, it follows the API of HnswGraphBuilder closely.  (Closely enough that my original PR extracted a common interface and added factories so that they could be plugged in interchangeably, but this is now removed after Michael’s feedback.)
The key to achieving good concurrency while maintaining correctness without synchronization is, we track in-progress node additions across all threads in a ConcurrentSkipListSet. After adding ourselves in addGraphNode, we take a snapshot of this set (this is O(1) for CSLS), and consider all other in-progress updates as neighbor candidates (subject to normal level constraints).
In general, the main concern with the Concurrent Builder compared to the serial is to make sure that partially complete operations never “leak” to other threads.  In particular,

Neighbor manipulation has been encapsulated in ConcurrentNeighborSet.  CNS implements a copy-on-write NeighborArray – my initial implementation used a ConcurrentSkipListSet but this was significantly slower since even during construction, there are many more “iterate through the neighbors” operations than “change the neighbors.”  We have to subclass NeighborArray here to be able to efficiently handle the case of concurrently inserting the same node (as a forward-link and a back-link).
Entry point updating is not done until the new node has been fully added.

One more point is a little subtle –

When a new node is added, it considers both existing nodes in the graph as candidates, as well as other nodes concurrently in the process of being added. It does this by taking a snapshot of the "insertionsInProgress" set when the node begins adding itself, and using both the snapshot and the current graph state as candidate sources. This allows the graph to remain connected even when many nodes are added concurrently.
The subtle part is that we compute diversity separately for the fully-added and the in-progress candidates.  This is because there is an asymmetry between initial links (you need to be diverse or you’re discarded) and backlinks added later (diversity is not enforced again until you bump up against max connections).  Treating them separately allows us to get very similar results to what you would get adding each node serially.  See the discussion in addGraphNode about over-pruning for an example.
I think we could simplify this linking of new nodes to consider fully-added and in-progress candidates as a group instead of separately, if we implemented the paper’s “keep pruned connections” suggestion.  I have experimented with this, and I think the recall:memory used benefits are good, but it deserves a followup ticket.

The main graph test suites are identical except for changes to perform concurrent graph builds instead of serial, and the addition of testing the incremental ram usage estimate from ConcurrentHnswGraphBuilder::addGraphNode.  I also added new tests for ConcurrentNeighborSet.
Minor changes to existing code:

HnswGraphSearcher gets a new searchConcurrent method that uses a GrowableBitSet, since the size of the graph may change during the search.  For the same reason, removed  "assert friendOrd < size" from the search methods.
Moved JavaUtilBitSet out of BaseBitSetTestCase and renamed to GrowableBitSet.
Several NeighborArray fields move to protected since we're subclassing it now.
Updates OnHeapHnswGraph ramBytesUsed for the TreeMap -> HashMap change made in 3c163745, although apparently it’s close enough either way to mostly not matter.
Added --add-opens in build.gradle for tests to allow RamUsageEstimator to compute exact values when checking correctness of my estimates.
Added HnswGraph.addNode (with default unsupportedoperation) to document the shared expectations in one place.

Great work!
Have you compared the recall of the parallel graph with the serially built graph (for example using ann-benchmarks)?

Parallel code with one thread will build the same graph as serial code.
(This is validated by unit tests.)  With multiple threads, parallel code
errs on the side of potentially adding "extra" connections.  So recall
should be equal or greater and that is what I see with the 1M SIFT dataset.
Serial code: 92.0% recall over 5 runs
Parallel code built with 8 threads: 92.4% over 5 runs
On Mon, Jul 10, 2023 at 3:54 PM Mayya Sharipova @.***>
wrote:

Great work!
Have you compared the recall of the parallel graph with the serially built
graph (for example using ann-benchmarks)?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/lucene/pull/12421#issuecomment-1629016815, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAKJLUSCMPNEWFIOJLGPALXPQCQJANCNFSM6AAAAAA2ATDZEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Jonathan Ellis
co-founder, http://www.datastax.com
@spyced

While making that last commit (everything still passes, after the preceeding fixes) I noticed that AbstractMockVectorValues returns null for out-of-bounds ordinals while most of the other implementations throw exceptions.  (Different exceptions, depending on the implementation.)  Should we standardize this?

Any progress on reviewing this?  We want to be able to use a concurrent implementation in Apache Cassandra and would prefer not to have to run code off a fork to do it.

Haven't forgotten about this. Just been bogged down with other things. Hope to revisit again soon!

Thanks for the feedback.  I've switched my efforts to a DiskANN implementation in JVector, so closing this out.


If every player skips, previous SP value is displayed

If every player skips the game(low possibility but you can never know), previous SP value is displayed in game complete stage (can be misguiding)

QA Done.


Upgrade py-evm to v0.3.0a9

What was wrong?
A bug in the Istanbul implementation is in the pinned version of py-evm.
How was it fixed?
Upgrade py-evm to latest version which fixes the bug:
https://py-evm.readthedocs.io/en/latest/release_notes.html#py-evm-0-3-0-alpha-9-2019-12-02
To-Do

[x] Clean up commit history

[x] Add entry to the release notes

Cute Animal Picture

The wheel failures are real, from a recent ipython release. We were hooking into some non-public API which disappeared, and prevented us from attaching. So all the trinity attach commands were failing.

Ok, so ipython 7.10.1 gives a mysterious blinking Press ENTER to continue.... 7.10.0 shows what's going on by spitting out this warning over and over:
Press ENTER to continue...
Exception 'Loop' object has no attribute '_ready'

Unhandled exception in event loop:
  File "uvloop/cbhandles.pyx", line 68, in uvloop.loop.Handle._run
  File "/tmp/tmphvl_lsv2/package-smoke-test/lib/python3.6/site-packages/prompt_toolkit/eventloop/utils.py", line 69, in schedule
    if not loop2._ready:  # type: ignore
Press ENTER to continue...

Exception 'Loop' object has no attribute '_ready'

...(etc)
So it looks like it's our fault for hooking into some private API, which is allowed to change in a non-major release. I'll pin to <7.10 for now.

Closed #1312


test(@toss/react): Test hook instead of component

Overview
Test Hook instead of the components wrapped around it
It is more meaningful to test the hook directly than to test the components wrapped around it.
We can eliminate concerns about the component itself (button, parograph, textContent, click event, etc.)
PR Checklist

[x] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

Thanks for your contribution!
Unfortunately this is our one of the code conventions that test codes should be as similar as possible with code that we actually write.
In my opinion, since we do not use the hooks by themselves, testing them using test components is more similar with what we actually write.
Closing the pull request for this reason, but thanks for your contribution!


Dev2049/docs edit0

Your PR Title (What it does)

Fixes # (issue)
Before submitting

Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

cc @leo-gan, know you've spent a lot of time with the docs


Merge Lint and Spell workflows

python-lint.yml and python-spell.yml have been combined into one
new workflow, PythonLintAndSpell.yml.

L1: Update the name of this work flow
L10: The name of the job is "build", please update too

Oops.  Should I have two separate jobs, lint and spell?

L1: Update the name of this work flow
L10: The name of the job is "build", please update too

Oops. Should I have two separate jobs, lint and spell?

It will take a little more time to install the dependencies, but I think the workflow into tow jobs makes sense and should allow developers to more quickly determine the source of a CI failure.

They really are separate things, but Brad asked that I combine them.  Note that the linting is checking the formatting of the Python code, while the spell checking is done on comments the C++ header files.  It just happens that the spell checking is written in Python.

@zivy With the addition of Doxygen and the Build workflows, there are starting to be to many workflows in the GHA GUI. We can kinda of consider the spell checking a type of code linting, so they can be considered the same category of task. While they are independent, placing them in the same workflow is for more of a grouping the the GUI.

@blowekamp, thanks for explaining, sounds reasonable, approved PR.

https://github.com/SimpleITK/SimpleITK/issues/1497


Implement field ACL get/update handlers

refs #375
refs SkygearIO/features#48

@cheungpat, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ben181231 to be a potential reviewer.


Surface max_lifetime connection option

It is missing from the abstraction over sqlx, but is an important thing (specially for serverless)

Hey @Sytten, thanks for pointing that out. We can add that, in the meantime you can use one of from_sqlx_* conversion method to setup the connection with max_lifetime config.
REF: https://docs.rs/sqlx/latest/sqlx/pool/struct.PoolOptions.html#method.max_lifetime


Update LAB_AK_03_Lab1_Ex5_records_management.md

changes to Retention policy wizard to select 'Static'
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Tested and confirmed.  Ready for merge.


Unable to load Manifest into Microsoft Teams Via App Studio and Developer Portal

I have been trying to upload, the manifest given below, into Microsoft Teams.
When I ran validation, on the manifest, it passed without any errors.
But, upon clicking "Install" inside App Studio, it fails with a server code 500.
Kindly assist here. It was working fine, until the 5th of April 2022
Below, I have attached the required screenshots. And, the manifest which is used for testing.

com.signeasy.teams.extension.zip

.

We are looking into this. We will update you.

We are able to repro this issue. A bug has been raised for the same. We will keep you posted on the updates.

Hello same issue since today i get the same error


The -h or --help option does not work

The -h or --help option does not work using the latest release.

Thanks for the report. Will investigate ASAP!

Steps to produce error:

Download latest x64 zip file.
Unzip file to a folder.
Execute exe file from PowerShell 7.x with -h or --help parameter.
Observe that nothing happened, no output, and next prompt appears waiting for next command.


To add 3D Antibody model

@rishiloyola,  this pull request contains much more than your added model, so we would either need to create a new branch an cherry pick these changes into it to make an isolated pull request, or we can have you just push your own commits to production. Given the simplicity of your commits I think you should just push them to the production branch and start using the production link in the interactive. I'm going to close this pull request without merging it.


Update selectOptions.js - list GA regions.

Description of changes: Drop down selector to display all and only the currently available GA regions for HealthImaging.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks @ctpr !


Create LICENCE.md

Fixes #39

Why do you think the MIT License is appropriate here?

In short, MIT licence has the least restrictions on reuse, modification of your code. Please refer https://tldrlegal.com/ for more reading

Fine. I'm pullin' it!


Monitor whether elastic search records are being deleted as per the the service record policy applied.

Currently, in testbed elastic search we are not applying any service record policy for eatl records . So , records are not being deleted and we are not sure whether service-record-policy is working as expected
Can we apply the service record policy for the eatl records and monitor it whether it is working as expected.

The REST API is ready to use:
http://localhost:3003/docs/#/ElasticsearchClient/putElasticsearchClientServiceRecordsPolicy
How to create a policy:
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/ilm-put-lifecycle.html
Not sure what else is needed from me here.

@Aman , I know that you worked in this activity. Please update the details in this issue.

Service record policy is working as per expectation in  lab environment.
Observation while testing  :  service record policy will only be applied if index-alias is active and number of documents in the index-alias is >0

Thanks for the confirmation. I will close this issue.


Status page not displaying stats properly when connected via Tor

The status page is not displaying some info correctly when Particl daemon is running via Tor:
A. Particl bind ip address: (shows the public IP)
B. particld connection count: (shows 0)
Fix A: Check if running via Tor and if yes use getlocalnetwork["localaddreses"]["address"]
Fix B:
Change
PARTYD_CONNECTIONS=$(netstat -nat | grep ESTA | grep -c 51738);

to
PARTYD_CONNECTIONS=$("$PARTY_CLI" getconnectioncount 2>/dev/null);

This should be fixed with above merge, any issues re-open. Thanks.


Update changelog for 3.0.0

As 3.0.0 is going to be a big release I have substructured the section into user-facing changes ("features") and developer-facing ones ("other").
@Yajo Could you add the changes you have made leading up to the release of 3.0.0., so far?

IMHO you should consider using the squash and merge for things like this, to avoid the master branch full of meaningless commits.

@Yajo You are right. I was curious about GitHub's "merge review suggestion", never used that.
But sure normally I am a fan of squashing.


RNG-79: Benchmark methods for producing nextDouble and nextFloat

Described here Jira RNG-79

Coverage remained the same at 98.169% when pulling d03726b337653c430789cd18f3d5b9a5d7df21be on aherbert:feature-RNG-79 into fccc73e3eb62f57cb0f03b1e52d7c7499aa4112a on apache:master.


https://www.facebook.com/groups/free.code.camp.amaravati.ap/  Amaravati, Andhra Pradesh, India.   16.5730° N, 80.3575° E .

Please provide the following information to aid in adding your group to the directory:
Esssential

[ ] Group URL (Web address)
[ ] Town or City group is located in
[ ] State / County / Region
[ ] Country

Nice to have

[ ] Co-ordinates

If you have one

[ ] URL of Group Photo

PR submitted.

per this comment closing - https://github.com/freeCodeCamp/study-group-directory/pull/196#issuecomment-424993653


show-paren-mode fails on Rust code with angle brackets

What did you expect to happen?
In .rs files (rustic-mode), pairs of parentheses, curly braces, and angle brackets should highlight their corresponding pair when point is on them.
What actually happened?
After the first pair of angle brackets in a file, show-paren-mode is thrown off and thinks every brace is unmatched and highlighted red. If I use show-smartparens-mode instead, it works as expected for all types of braces.
Additional details:

Steps to reproduce:

Open a Rust file, for example: this one.
Search for an opening angle bracket <
Place point on the angle bracket.

Perhaps an unbalanced paren actually exists elsewhere in your file?

Well, since we're both testing on the same bit of code in the same file, and it works for you and compiles fine, I don't think there's an unbalanced pair in there. I am on native-comp, maybe that makes a difference here. It is inconsistent though, sometimes when I open the same file it's fine. But when I do see the issue it seems to maybe start around instances of two adjacent closing angle brackets like so: Vec<Vec<String>>.

Since I'm using native-comp Emacs 28 and a font with programming ligatures, could show-paren-mode be getting confused by >: and >> for example getting "ligaturized"?


18 api documentation setup

Please check if information provided in CONTRIBUTING.md is clear, understandable and sufficient so you'll be able to create documentation while creating your methods.

@Mateusz-Dobrzynski, I'm aware of that. By coincidence, I tested similar methods in VSC yesterday and that's why I knew these examples will work. Nevertheless I understand what you mean. I'll stick to what you said then.


Salsa: formatOnType does not respect current line indendtiation

js workspace, have salsa enabled
"editor.formatOnType": true
The format on type is too aggrressive and does not respect current indentiation. This is especially noticable when trying to create object literals
if salse is disabled this works nicely

@isidorn I can't see any weirdness. Can you please provide some steps. I tested ts and js and they behave the same. Both honoring indent setting.
Please be aware that if a indent of for example 4 spaces exist and you have insert tab and tab size > 4 then format on type from TS will stil insert 4 spaces to align the code correctly.

var t = {
  name: isidor,
// this line gets indented all the way to the start once I press enter after name property
}

Same happens for TS.

I debugged it and this is a tsserver behavior. When pressing enter after Isidor, VSCode inserts the right indention but the tsserver returns and edit that deletes that indention. IMO the tsserver should be smart and if Isidor is ended with , adjust the indention since there is a high likelihood that the user inserts another property.

This issue was moved to Microsoft/TypeScript#6700


Repository index cleanliness check on wrong path

Building a project with -C ./path from a directory containing a repository that is not clean, generates the warning that the index is not clean and -f should be used.

This also happens when running from a non-git directory.


renamed features have names correctly serialized

fixes #568

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Alex seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


The entrypoint field in the 'detailed service info' form is not refreshing the value

What's your CLI version?
0.83.8
Description & steps to reproduce
I don't see the entrypoint field getting refreshed meanwhile a change between the services, I can see changes in other fields like 'UUID' and 'name'

Desired behavior
should refresh the value for the selected service
What is the severity of this bug?
Painful; this is causing significant friction in my workflow.

we may be missing to update that on the backend. Maybe @laurentluce has an insight on this?

What does kurtosis service inspect show for this service?

Got some clarification on this one:
The issue here is that the relayer and validator services both have the same entry point of /bin/sh -c ./validator. It should have been different for each service. Specifically the relayer should have been:
/bin/sh -c ./relayer
Source: https://github.com/kurtosis-tech/hyperlane-package/blob/main/relayer.star#L30C22-L30C22


UP Board still enumerating as USB 2.0 after all updates applied

| Camera Model                       | D435 |
| Firmware Version                   | <IP_ADDRESS> |
| Operating System & Version |  Ubuntu 16.04.16  |
| Kernel Version (Linux Only)    |  4.13.16  |
| Platform                                 | UpBoard  |
| SDK Version                            |  2.10.2 |
Issue Description
Using the standard 2GB-16GB 'Up Board' (http://www.up-board.org/up/) and have not figured out how to get it recognized on the USB 3.0 (super speed) bus. It does enumerate on the USB 2.0 (high speed) bus. Any suggestions for where to look in the Linux config to connect the camera to the correct bus are much appreciated.

Tried so far:

All of the suggestions in other threads about the Up Board and USB problems:
https://github.com/IntelRealSense/librealsense/issues/970
https://github.com/IntelRealSense/librealsense/issues/1198
https://github.com/IntelRealSense/librealsense/issues/1225
https://github.com/IntelRealSense/librealsense/issues/1253
https://github.com/IntelRealSense/librealsense/issues/1306
Six different OTG >> USB Type C  cables
Updating the kernel to 4.13.16
Updated Up Board firmware to latest UPC1DM07, 2018.02.20
Updated D435 firmware to <IP_ADDRESS>

The things that look broken that have not figured out how to fix:

dmesg (see more below) shows errors that look like a UVC problem although we have updated using the latest instructions at /librealsense/doc/distribution_linux.md
[   42.151183] uvcvideo: loading out-of-tree module taints kernel.
[   42.151353] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel
lsusb (see more below) shows the Intel D400 camera is enumerated on the USB2.0 bus even though the USB 3.0 bus is working.
We think that there is a mismatch between v4l2, uvc driver, and kernel config but have failed to find and fix it.
When realsense-viewer is run, we get the same enum error that others have experienced:
WARNING [140218186627776] (backend-hid.cpp:1091) Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0

System Information:

Realsense Physical Port: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/video4linux/video1
$uname -a
Linux up-brd-2-16 4.13.16-041316-generic #201711240901 SMP Fri Nov 24 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0424:2530 Standard Microsystems Corp.
Bus 001 Device 004: ID 0424:4603 Standard Microsystems Corp.
Bus 001 Device 003: ID 413c:3200 Dell Computer Corp. Mouse
Bus 001 Device 002: ID 413c:2111 Dell Computer Corp.
Bus 001 Device 006: ID 8086:0ad6 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 480M
|__ Port 1: Dev 6, If 3, Class=Vendor Specific Class, Driver=, 480M
|__ Port 1: Dev 6, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 6, If 2, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 6, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 7: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 480M
$ dmesg
[...clip]
[   41.929775] usb 1-1: new high-speed USB device number 6 using xhci_hcd
[   42.067622] usb 1-1: New USB device found, idVendor=8086, idProduct=0ad6
[   42.067629] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   42.067632] usb 1-1: Product: Intel(R) RealSense(TM) 430
[   42.067634] usb 1-1: Manufacturer: Intel(R) RealSense(TM) 430
[   42.113694] media: Linux media interface: v0.10
[   42.130957] Linux video capture interface: v2.00
[   42.151183] uvcvideo: loading out-of-tree module taints kernel.
[   42.151353] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel
[   42.152630] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0ad6)
[   42.154263] uvcvideo: Unable to create debugfs 1-6 directory.
[   42.154595] uvcvideo 1-1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[   42.154599] uvcvideo 1-1:1.0: Entity type for entity Processing 2 was not initialized!
[   42.154602] uvcvideo 1-1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[   42.154605] uvcvideo 1-1:1.0: Entity type for entity Camera 1 was not initialized!
[   42.155120] input: Intel(R) RealSense(TM) 430 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/input/input10
[   42.155672] usbcore: registered new interface driver uvcvideo
[   42.155674] USB Video Class driver (1.1.1.realsense-4.10.0)
$ modinfo uvcvideo | grep "version:"
version:        1.1.1.realsense-4.10.0
srcversion:     BC301475460C7DC7D746AFF
$ modinfo uvcvideo | grep ver
version:        1.1.1.realsense-4.10.0
description:    USB Video Class driver
srcversion:     BC301475460C7DC7D746AFF
vermagic:       4.13.16-041316-generic SMP mod_unload
$ rs-enumerate-devices
Device info:
Name                          : 	Intel RealSense USB2
Serial Number                 :<PHONE_NUMBER>09
Firmware Version              : 	<IP_ADDRESS>
Physical Port                 : 	/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/video4linux/video1
Debug Op Code                 : 	15
Advanced Mode                 : 	YES
Product Id                    : 	0AD6
Stream Profiles supported by Stereo Module
Supported modes:                                      stream     resolution fps   format
Infrared 2	  480x270	@ 30Hz	Y8
Infrared 1	  480x270	@ 30Hz	Y8
Infrared 1	  480x270	@ 15Hz	Y8
Infrared 2	  480x270	@ 15Hz	Y8
Infrared 1	  480x270	@ 6Hz	Y8
Infrared 2	  480x270	@ 6Hz	Y8
Infrared 1	  424x240	@ 30Hz	Y8
Infrared 2	  424x240	@ 30Hz	Y8
Infrared 1	  424x240	@ 15Hz	Y8
Infrared 2	  424x240	@ 15Hz	Y8
Infrared 1	  424x240	@ 6Hz	Y8
Infrared 2	  424x240	@ 6Hz	Y8
Depth	  480x270	@ 30Hz	Z16
Depth	  480x270	@ 15Hz	Z16
Depth	  480x270	@ 6Hz	Z16
Depth	  424x240	@ 30Hz	Z16
Depth	  424x240	@ 15Hz	Z16
Depth	  424x240	@ 6Hz	Z16
$ ./realsense-viewer
19/03 12:38:13,637 WARNING [140218186627776] (backend-hid.cpp:1091) Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
19/03 12:38:13,660 WARNING [140218186627776] (backend-hid.cpp:1091) Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
19/03 12:38:13,834 WARNING [140217889339136] (sensor.cpp:313) Unregistered Media formats : [ UYVY ]; Supported: [ ]

[Realsense Customer Engineering Team Comment]
There is a hardware issue with the type-C connector on the camera module that may be causing your problem. Can you please confirm that the issue still occurs if you reverse the orientation of the plug. Also try plugging the connector in quickly and/or plugging in the camera side and then the host side last. There is a controller on the board that switches a MUX to route the SS signals from the connector to the ASIC and it is slow to switch; the USB2 signals always connect first and if the ASIC doesn't see the USB3 signals soon enough, it starts in USB2 mode.
Let me know if this makes a difference. There is a hardware revision that should be released soon.

The OP's issue is remarkable similar to what I am seeing on the intel compute board (https://github.com/IntelRealSense/librealsense/issues/1320).  This board also as a ASIC to route SS signals.  Can you confirm that this will required a D435 hardware revision?  If that is the case, can you offer any solutions that would not require unplugging the cable since I am trying to use the D435 in an embedded application.

[Realsense Customer Engineering Team Comment]
The issue that I described only occurs when physically plugging in the type-C connector. This will be addressed in the next revision of hardware.
If you see this issue on power up with the camera already connected, this would indicate a different issue; is this your case?

Yes, that is my case.  The compute board will still not recognize the D435 (or any usb 3 devices) as superspeed.  They work as superspeed on another machine using the same cables (except for the OTG cable).

We noticed a sensitivity to the Type C connector orientation although it effects if the camera is recognized vs. missing off the bus completely. We are using OTG >> Type C cables and plugging directly into the UP Board. Research into the OTG spec leads us to believe that there is likely line swapping problem with how the OTG header is connected on the host. We ordered an OTG adpater cable directly from UP thinking that it might fix this known issue. We'll report back if it does.

[Realsense Customer Engineering Team Comment]
@mgildner there are two issues here, one is the UVC driver issue and one is the device powering up in USB2. I will be trying to replicate this on the UP board but you can feel free to follow this issue but with regard to the compute board I'll leave this for https://github.com/IntelRealSense/librealsense/issues/1320.

Hey @ioreed
What kind of cable (brand, specs, length, etc) were you using for this?
I have gotten my D415 recognized as a USB 3.0 device on my UP board using the cable configuration in the image below.
However I am trying to get a single custom cable made that can do the job.
Any updates on your issue since Mar 29?

[Realsense Customer Engineering Team Comment]
Hi @ioreed,
Did you try the latest SDK/Firmware with the qualified cable? still need any help?

[Realsense Customer Engineering Team Comment]
Hi @ioreed,
Do you have any update about cable issue? Note: Our latest firmware 5.9.11 also support USB2 stream.

[Realsense Customer Engineering Team Comment]
HI @ioreed,
Do you have any update result with a new cable and new firmware?

[Realsense Customer Engineering Team Comment]
Is this still an issue?  If not, the ticket will be close din 5 days.

[Realsense Customer Engineering Team Comment]
Hi @ioreed,
I will close this first. If you still have any issue, you can reopen it or create another ticket.

For those having this problem the solution is using an adapter:
OTG USB 3.0 cable - USB 3.0 (f) to Micro-B USB 3.0 (m).
Then connect cable USB 3.0 Type A (m) to USB 3.0 Type C (m) and plug it into the camera port.

[Realsense Customer Engineering Team Comment] The issue that I described only occurs when physically plugging in the type-C connector. This will be addressed in the next revision of hardware.

I know that this issue is quite old, but I am facing the same issue with one D455 camera, but not with another one.
One of the difference between the two cameras is what I interprete as the "hardware revision number": the one having the problem is K83122-110, whereas the working one is K83122-111.
Can anyone confirm that this enumeration problem has been solved in that new hardware revision?
Or is it a coincidence, and the problem is somewhere else?
The PCN does not actually say anything about this issue...

Hi @milidam  Have you tried swapping the USB cables of the K83122-110 and K83122-111 revisions to test whether the issue is with the cable?
If swapping the cable does not make a difference, have you tried unplugging the micro-sized end of the cable from the base of the D455, turning it around the other way and re-inserting it?  USB-C cables are two-way insertion at the micro-sized end, and a reversal of the micro-sized end can sometimes resolve the problem of the camera only being detected as USB 2.1.

Hi @MartyG-RealSense,
Yes, I've tried all combinations of cable possible:

a USB-A - USB-C cable does not show the problem with any of the camera
any USB-C - USB-C cable show the problem with one camera, and not with the other
The problem is exactly the one described in this thread, and turning around the USB-C connector at the camera end makes it work for the K83122-110 camera. It works whatever the connector orientation for the K83122-111.

When the problem occurs, only the orientation of the connector at the camera side matters, not at the PC side.
I just wanted to know whether the hardware revision number change is the reason explaining that difference, as implied by the previous post

[Realsense Customer Engineering Team Comment] The issue that I described only occurs when physically plugging in the type-C connector. This will be addressed in the next revision of hardware.

in which case things would be clear from a "logistic" point of view
As from 2018, is that next revision of hardware the  K83122-111 one?
Both cameras have the same firmware version: the latest <IP_ADDRESS>.

K83122-110 was introduced around mid 2022, several years after the post that you quoted.  The key change in it was the swapping of the IMU component to a slightly different one.  So the 2018 message likely does not apply to K83122-110.
Once you have found the best orientation for the micro-sized connector that provides USB 3.2 detection then usually you do not need to unplug it from the camera again and it should consistently enumerate as 3.2.

OK. So has that issue actually been addressed since then, or not?
Any idea, then, why there is a different behavior with the two different hardwares?

The details of changes made in hardware revisions are not publicly available except when they are publicly disclosed, such as the IMU component change for K83122-110 and K83122-111 referenced in the data sheet document for the 400 Series cameras.  So I do not have further information about this subject to offer, unfortunately.  I do apologize.


GitHub Security Lab (GHSL) Vulnerability Report: GHSL-2020-313

We have been unsuccessfully trying to contact the repository owners since 2020-11-30.
The issue affects master, Janglee123-patch-2, Janglee123-patch-1 and revert-83-master branches.
Summary
The auto_merge.yml GitHub workflow is vulnerable to unauthorized modification of the base repository or secrets exfiltration from a Pull Request.
Tested Version
The latest changeset a43fb3c to the date.
Details
Issue: Untrusted code is explicitly checked out and run on a Pull Request from a fork
pull_request_target was introduced to allow triggered workflows to comment on PRs, label them, assign people, etc.. In order to make it possible the triggered action runner has read/write token for the base repository and the access to secrets. In order to prevent untrusted code from execution it runs in a context of the base repository.
By explicitly checking out and running build script from a fork the untrusted code is running in an environment that is able to push to the base repository and to access secrets.
on:
  pull_request_target:
    paths:
    - 'public/directory/**.json'
...
      uses: actions/checkout@v2
      with:
        ref: ${{github.event.pull_request.head.ref}}
        repository: ${{github.event.pull_request.head.repo.full_name}}

    - name: Yarn install
      uses: actions/setup-node@v1
    - run: yarn install

Impact
The vulnerability allows for unauthorized modification of the base repository and secrets exfiltration.
Remediation
Use pull_request trigger that doesn't have read/write repository token and no access to secrets. If at some point a write access is needed split the workflow in two and use workflow_run.
Credit
This issue was discovered and reported by GHSL team member @JarLob (Jaroslav Lobačevski).
Contact
You can contact the GHSL team at<EMAIL_ADDRESS>please include a reference to GHSL-2020-313 in any communication regarding this issue.
Disclosure Policy
This report is subject to our coordinated disclosure policy.

Disabled the workflow for now.


[RELEASE-1.11] Backport of Support GRPC probes

What this PR does / why we need it:

Back-ports https://github.com/knative/serving/pull/14134/files to 1.11

Which issue(s) this PR fixes:
JIRA: https://issues.redhat.com/browse/SRVKS-1185
Does this PR needs for other branches:
No, it is already included in 1.12
Does this PR (patch) needs to update/drop in the future?:
No
/hold testing on OCP

Works on OCP, tested with https://github.com/ReToCode/knative-services/blob/main/ksvc-grpc-probe.yaml#L29 results in https://github.com/ReToCode/knative-services/blob/main/results/etcd-grpc-pod.yaml.

/unhold
/assign @skonto

/lgtm
/approve
/hold do we need any e2e test?

/unhold we will deal with e2e tests separately.

/unhold


Trigger download without window navigation

Is there an easier way to trigger the will-download event (say, from a renderer process) than doing a window navigation? We noticed in the spec that that is how the event is tested.
In our scenario, we have a window that is hosting embedded content, and it's the embedded content that requests some resource to be downloaded. We'd like to avoid modifying the links in the embedded content, and we can't navigate the host window.

You can use will-navigate event to catch the navigation, and then start downloading in the window by executing JavaScript.

After some discussion, we think the solution is to add a new API like session.downloadURL.

This would be :gem: :heart_eyes_cat: for us!


0 data contracts & malicious hosts

siac renter contracts
prints that many hosts do not have data from me, although I have spent some fees for them.
When the contract expires will these coins return to me?
In other words, can malicious hosts form contracts and fetch money without providing any data storage (no uploading)?
What about those that have only one piece of my files?

The hosts don't get the fees you paid unless they keep your files, but they will be able to get some of your fees even if you never upload.
But, if they don't take your files, (in an upcoming release, it's not out just yet) they will be blacklisted and you will never use them again.
We are in the process of overhauling the contract formation process.

less than 1Gb.

1 directory of photos that's stuck for days. (582 MB)
a small file
a file of 41 MB (I tried to align it to chunk size, is this correct?)

Needless to say that I 've left Sia open for days but to no avail. My upload speed is around 100KB/s
Unfortunately, individual blocklisting will not be enough. The first contract money would be lost...
We need a history factor for each host: Has this host increased the used storage in last contracts?
If not, he doesn't have enough speed or he is malicious.
If a host is brand new (without history) you can assign to him a default score.
Please note that malicious hosts can fetch only one piece of my files and therefore they will not be blacklisted!
The only way malicious hosts would cheat history factor is to create new wallets and transfer money to the new wallets. Therefore the default 'history' score should be low.
Since the Sia code is open, malicious hosts can only be stopped by ultra-smart contract formation.
Otherwise, Sia will not fly.

I'm on my phone (no computer) for the next few days so I can't go too much in detail but Sia has a lot in place to protect against malicious hosts. It's harder in many ways than most people realize, and also easier in many ways than most people realize.
If you form a malicious contract, you only stand to lose the fees. Then you will never use that host again. Any host looking to optimize for profit will want to store your data.
Sia doesn't just form contracts with random hosts there's a huge set of weightings and criteria used to find the best hosts. Code here: https://github.com/NebulousLabs/Sia/blob/master/modules/renter/hostdb/hostweight.go
One thing we haven't added yet is proof of burn. Another thing is geographic diversity. We will be adding both, which will both further help against malicious hosts.
Have you tried restarting Sia? That may help the downloads to resume. We're making a lot of improvements to that code for the next release.

Another thing worth noting is that your photo uploads may not be stuck but simply taking a long time, 100 KB/s is not very fast and each photo in that directory will be padded out to 40MB and uploaded at 3x redundancy, meaning you're likely uploading many gigabytes.

Yes, I have restarted Sia(every night I close my PC).
Yes, I 've seen the code and I am in favour of Sia as a platform for both hosts and renters :+1:
What I suggest is a walk through the file contracts for each host and check his background/behaviour.
For example, as siahub calculates the info, we can calculate the slope of used storage overtime.
http://siahub.info/host/1360
fullPenalty := collateralReward * pricePenalty * storageRemainingPenalty * versionPenalty * lifetimePenalty * uptimePenalty * rate_of_filecontractsPenalty
I'm not pointing the finger, I just try to help as a fellow programmer.
Have a nice day and of course you know better how you can tackle this!

The tough thing about checking a host's background is that you can't tell whether the contracts in the host's history are real contracts, or if they are fake contracts put there by the host to make the host seem reliable.

Then, what we can do is this:
at the end of the contract calculate the mean value of data in the contracts.
Then calculate a factor |host data - mean data|/mean data.
New hosts should have a sane default value, for example 0.5
Use that factor as a penalty. This shall prevent creating new contracts not only to malicious hosts but also to the slow ones.

There is no penalty if they reject file pieces or if they limit their speed.

Penalties for this is in the works.

Forging fake host history would force the host to pay transaction costs.

This is fundamentally equivalent to proof of burn, which is also in the works.

at the middle/end of the contract calculate the mean value of data in the contracts. Then calculate a factor |host data held in this contract - mean data|/mean data. New hosts should have a sane default value, for example 0.5

You don't want to be holding hosts to an absolute standard, you want to be discovering the hosts that are going to be useful to you. Most on-blockchain contracts are going to have a data value of 0 anyway - there's no need to update the blockchain with the most recent version of the contract (expensive!) unless the renter and host are in disagreement. By keeping the actual data value at 0, the host doesn't have to submit a storage proof, which saves the host from transaction fees. The renter is happy to give the host a break if the host has privately already performed the storage proof (much cheaper than doing it publicly), the blockchain is only necessary if the renter is unhappy with the host.

A similar approach should be followed for downloaded pieces.

There is no download operation that makes it into the blockchain. You would be unable to measure this except for downloads you have performed yourself. But there's no need for a host factor, you can just keep track of their speeds and uptime history and decide whether that's fast enough to be beneficial for the price they are charging.

I'm surprised that from all 50 contracts, uploading a file of 40MB (120MB) takes hours. it should take half an hour.

If you've got a bad set of contracts, the only way to get things moving again is to delete them and get a new set of contracts. We've got a pull request open right now that does this automatically, but it's not ready to be merged yet.
My server has been uploading to the network at a sustained 200mbps using just a vanilla set of contracts, no special code. So at the very least, it demonstrates that it's possible. We recognize that some people end up with a bunch of bad contracts, but as said above we've got fixes in the works, just ironing out the testing.


default intial focus to workspace

Description
Hi, I am using laptop with one external monitor. I am using Qtile style workspace shift (using focusworkspaceoncurrentmonitor) I want to make my external monitor as workspace # 1 and default monitor. So, I configured workspace=1, monitor:DP-2, default:true But It's still not done, I want my initial focus at startup to be at workspace 1, but it focuses on workspace 2 instead which is my laptop screen. So, I have to move my mouse to focus on workspace 1 manually.
When I hyprctl monitors all it gives me
Monitor eDP-1 (ID 0):
<EMAIL_ADDRESS>at 3440x0
        description:
        make:
        model:
        serial:
        active workspace: 2 (2:)
        special workspace: 0 ()
        reserved: 0 39 0 0
        scale: 2.00
        transform: 0
        focused: no
        dpmsStatus: 1
        vrr: 0
        activelyTearing: false
        currentFormat: XRGB8888
        availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Monitor DP-2 (ID 1):
<EMAIL_ADDRESS>at 0x0
        description: HP Inc. HP P34hc G4 CNC1480W1T
        make: HP Inc.
        model: HP P34hc G4
        serial: CNC1480W1T
        active workspace: 1 (1: 󰆍  󰖟)
        special workspace: 0 ()
        reserved: 0 36 0 0
        scale: 1.00
        transform: 0
        focused: yes
        dpmsStatus: 1
        vrr: 0
        activelyTearing: false
        currentFormat: XRGB8888
        availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
I think it focuses on laptop monitor since it come before external monitor in this ordering. Is there anything I can do to change this behavior? Thanks!

exec-once = sleep 1 && hyprctl dispatch focusmonitor DP-2?

that was it! thanks a lot!!


Animations & More

Adds the following:

Animation support for some attributes
More units (vw, vh, vmin, vmax, rem, Q etc.)
Fixes handling of rx and ry attributes on e.g. rect.
Makes fill-opacity and stroke-opacity non-inherited and non-accumulative.
Properly requires M or m command at start of path data.
Correct handling of repeated quadratic/cubic bezier paths.
Fixes issues with paint-order parsing.
Improves the CSS parser to handle more selectors (no attribute selectors for now).

Animations need to be driven manually for now. However a basic implementation which automatically handles this will follow.

Replaced by #94


Open LLaMA open instruct 7b

Hi, I'm curious about the performance of the OpenLLaMA 7b (open instruct) model and it's quantization forms:

https://huggingface.co/VMware/open-llama-7b-open-instruct
https://huggingface.co/TheBloke/open-llama-7b-open-instruct-GPTQ
https://huggingface.co/TheBloke/open-llama-7b-open-instruct-GGML

Any experiments on this end so far? I'll clone this repo today and give it a try to benchmark these, not sure how far I'll get though.

Thanks for giving this one a go!  It was expected for this model to perform better at JS vs Python due to their whitespace-eating tokenizer.