WIP: refactor: Refactor recalculate UI switch

Summary
This pr consider recalculate UI Switch logic with url query params.
Related Issue

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

@sanyuan0704 any suggestions for this pr? how about plugin components that need to show/hide layout sections.

globalComponents are not placed in theme package so that it could be handled seperated.


Image to ASCII art converter

Script Title - Image to ASCII art converter
what will change - Python script that takes in path to image as parameter and returns ascii art of that image
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code
[x] Improving Documentation

Programming Language

[x] Python

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server  - https://discord.gg/FXyh2S3
Happy Coding,

I'd like to work on this, please assign it to me.

I'd like to contribute to it

hi can i work on this?

@codePerfectPlus I made a PR, please review it.


Fixes for the development branch

Hi,
I'm fairly new to this, but I've had to make a few changes to my fork of the development branch in order to get an app upgraded from a previous version of RestKit working.
I've posted about two of the issues fixed by these commits on the mailing list, but I haven't had any replies yet (I probably should have used the GitHub issue tracker).
The other commits are small fixes that should be fairly self explanatory.
Maybe this is not how things are done in this project, so just let me know what I should do to improve or change  these commits if that's the case.
Thanks!
Martijn

Martijn -
The mutable collection mutation is necessary so that you can use key-value observing on the collection. When you replace the entire collection, KVO observers won't be informed unless you the mutable proxy object.
Apologies for the radio silence on the mailing list. I've begun development on a new product that has me head's down and e-mail is a huge productivity sync. I greatly prefer collaborating through Github because the signal to noise ratio is so much better.
I will pull these in and hopefully get onto development this evening.
Cheers,

Blake

Thanks! I'll open an issue here instead of posting on the mailing list next time.
Replacing the whole collection using setValue:forKey: does seem to fire KVO notifications. I'm not sure if this behavior is new with iOS 5. I haven't been able to find any clear statements about this in the documentation. Mutable proxy objects are definitely needed if you add or remove objects, but setting a new value for the collection using KVC seems to work fine.


Add web.js extension in react-native config

Make sense when you use react-native and react-native-web.
Not sure if that should go in another config tho.

thanks! makes sense to me. shouldn't hurt to have it here.


Zephyr types incompatibilities (e.g. u32_t vs uint32_t)

Hello all! I have a question regarding the usage of u32_t with newlib.
So the problem is that as far as I understand all the variables in the drivers should use u32_t, at the same time, the ext files (e.g. HALs) are NOT ported to use these types and still use uint32_t.
What is the correct approach to calling HAL functions in the driver to avoid warnings with different C libs?
Should I simply avoid using u32_t in that cases and cast directly to uint32_t in the driver?
Here is an example of such call:
https://github.com/zephyrproject-rtos/zephyr/blob/a313e5c74f01750411bf65e9903278f913328585/drivers/ethernet/eth_sam_gmac.c#L99
The function is defined as follows:
https://github.com/zephyrproject-rtos/zephyr/blob/a313e5c74f01750411bf65e9903278f913328585/ext/hal/cmsis/Include/core_cm7.h#L2453
It generates the following warning when newlib is used:
ext/hal/cmsis/Include/core_cm7.h:2453:22: note: expected ‘uint32_t * {aka long unsigned int *}’ but argument is of type ‘u32_t * {aka unsigned int *}’
So the typedefs are obviously different.
Thank you for all your insights!

Copying @galak since he originally introduced the types.

Could this simply be a bug in the definition of u32_t ?
It is defined as "unsigned int", but AFAICT that is only guaranteed to be at least 16bit.
u32_t should be defined as "unsigned long int" to guarantee at least 32bit.
So this could be resolved by patching zephyr/include/types.h like this:
diff --git a/include/zephyr/types.h b/include/zephyr/types.h
index 5ae80b0fa5..8bb428f2e6 100644
--- a/include/zephyr/types.h
+++ b/include/zephyr/types.h
@@ -20,7 +20,7 @@ typedef signed long long    s64_t;

 typedef unsigned char       u8_t;
 typedef unsigned short      u16_t;
-typedef unsigned int        u32_t;
+typedef unsigned long int   u32_t;
 typedef unsigned long long  u64_t;

 #ifdef __cplusplus

u32_t should be defined as "unsigned long int" to guarantee at least 32bit.

A very large reason why it's currently an unsigned int is because people wanted to use %d in printf format code instead of the more cumbersome (but correct) ...%" PRI_u32 "...

I see ...
what about
%u
that is not particularly cumbersome, would that work?

@SebastianBoe for that change to fix anything, the built-in libc implementation would also have to be changed, I mean this line:
https://github.com/zephyrproject-rtos/zephyr/blob/6f61f098037b9b8b88a80d33814ecec26f112d51/lib/libc/minimal/include/stdint.h#L59
Otherwise we would still get these warnings but with the built-in libc instead of newlib.
Maybe I did not explain it good enough but the problem (warning) actually occurs only when using newlib, the problem is that newlib and the built-in libc implementation use different typedefs. As far as I know (I asked about that on IRC some time ago) the u32_t header is actually supposed to somehow work-around these incompatibilities, but I am just not sure how it is supposed to do that.

Right, I would suggest changing both of them then, assuming there are no unexpected consequences.
Using %u for unsigned formatting seems acceptable to me. %d is for signed integers.
As far as I can read the C standard we may eventually encounter a toolchain that uses 16 bits for "unsigned int" and break uint32_t as that is perfectly valid behaviour. So this change may fix future
problems as well.
— maximum value for an object of type unsigned int, UINT_MAX, 2^16 - 1
— maximum value for an object of type unsigned long int, ULONG_MAX, 2^32 − 1

-- http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf
I may be misunderstanding something though.

@pfl Yes, that is exactly the same warning I described in my original message.
The only easy way to fix this for both the built-in libc and newlib would be using uint32_t directly in the driver (which I understand is not allowed with the current convention?). That's why I created this issue.
Unless of course the suggestions from @SebastianBoe are implemented, but I am wondering - wouldn't that render the zephyr types (u32_t) completely redundant?

Unless of course the suggestions from @SebastianBoe are implemented, but I am wondering - wouldn't that render the zephyr types (u32_t) completely redundant?

Not sure what you mean. They are by-design redundant with uint32_t. It's just a different naming convention for the same concept.
E.g. it would be valid for Zephyr to do:
typedef uint32_t        u32_t;
AFAICT

As a quick workaround we could have a hack by checking CONFIG_NEWLIB in eth_sam_gmac.c and then use proper cast there, or should we have a "proper" fix, any opinions?

we need a proper fix, this keeps coming up, I do not think we addressed it fully when we defined our own types last year and it looks like we have a half backed solution right now. Our goal was to switch to newlib by default, but that seems impossible right now with too many failure cases and type conflicts.

Discussed at the TSC, for the time being we will explicitly cast to the type expected by the HAL and a new issue will opened to deal with this in a more generic way.

I've run into this before when interfacing with HAL code. The simple fix is to cast the u32_t to be a uint31_t in the calls to the HAL API. The basic problem is that newlib defines the u32_t as an unsigned int which the C standard states that it is architecture specific what size an unsigned int is so the compiler enhanced warnings will complain as such. The other fix is to define the u32_t as a uint32_t but then you have the problem of ugly PRI macros in the printf. This was hashed through a lot about a year ago.

EDIT: %u does appear to work.

It depends on the C library, and whether it uses "long" or not in the definition.

I agree with @SebastianBoe and @dleach02 , creating our own types is just a kind of reinventing the wheel. The inttypes.h and stdint.h files are a part of C99 standard. If we wish to change the naming convention the best way to do it is to use:
typedef uint32_t u32_t;
This should remove any warnings without the needs of explicit cast in the code.

@galak can you take a look at this thread since the discussion is back on the table?

Since Zephyr supports multiple architectures we chose to define {u,s}{8,16,32,64}_t in include/zephyr/types.h consistently across all the arch's.  We define the C99 types {u}int{8,16,32,64}_t to match when using the min libc.  However when we utilize newlib we end up with a conflict between the Zephyr types and how the C99 types are defined.  The change I introduced in PR #8856 changes newlib's definition of the C99 types to match zephyr's view.  This removes the issue for newlib.

any update?

I question the medium priority assigned to this. We keep punting this forward with each milestone so it doesn't seem to be a medium priority. Can we move this to low priority?
@nashif @galak

I question the medium priority assigned to this. We keep punting this forward with each milestone so it doesn't seem to be a medium priority. Can we move this to low priority?
@nashif @galak

I'm fine w/setting it low.  However we should at some point decide if we want to resolve this for the 2.x series so its closed before we get to the LTS 2.x release.

I'm fine w/setting it low. However we should at some point decide if we want to resolve this for the 2.x series so its closed before we get to the LTS 2.x release.

I personally want this dealt with as it is annoying that the two items are not the same. Maybe we bring this up as a topic starting with the next release (2.2)? In the meantime I'm going to put it to low.

We moved to using the C99 types so this should be resolved.  If this is still an issue please reopen.


Mobile codes list seems to be outdated.

Could you provide more recent version? Maybe it will be also useful to make some interface that will enable use of parser by developers?

I don't intend to maintain this library anymore. I've added a note to the readme and sending this comment to people who have an issue on the library so you can fork it or do whatever you'd like.


added Dp mechanism for adding noise in the clear to shared values and…

… values in the clear

we can probably close it now as #729 is merged


Auto-language detection and syntax highlighting not working when language is not explicitly specified

Hello,
I see this code in CodeAttributedString of Highlightr. It has a non-nil check for language else it doesn't proceed and hence doesn't highlight nor auto-detect the language. Is this expected?
    func highlight(_ range: NSRange)
    {
        if(language == nil)
        {
            return;
        }

        if let highlightDelegate = highlightDelegate
        {
            let shouldHighlight : Bool? = highlightDelegate.shouldHighlight?(range)
            if(shouldHighlight != nil && !shouldHighlight!)
            {
                return;
            }
        }

        let string = (self.string as NSString)
        let line = string.substring(with: range)
        DispatchQueue.global().async
        {
            let tmpStrg = self.highlightr.highlight(line, as: self.language!)
            DispatchQueue.main.async(execute: {
                //Checks to see if this highlighting is still valid.
                if((range.location + range.length) > self.stringStorage.length)
                {
                    self.highlightDelegate?.didHighlight?(range, success: false)
                    return;
                }

                if(tmpStrg?.string != self.stringStorage.attributedSubstring(from: range).string)
                {
                    self.highlightDelegate?.didHighlight?(range, success: false)
                    return;
                }

                self.beginEditing()
                tmpStrg?.enumerateAttributes(in: NSMakeRange(0, (tmpStrg?.length)!), options: [], using: { (attrs, locRange, stop) in
                    var fixedRange = NSMakeRange(range.location+locRange.location, locRange.length)
                    fixedRange.length = (fixedRange.location + fixedRange.length < string.length) ? fixedRange.length : string.length-fixedRange.location
                    fixedRange.length = (fixedRange.length >= 0) ? fixedRange.length : 0
                    self.stringStorage.setAttributes(attrs, range: fixedRange)
                })
                self.endEditing()
                self.edited(TextStorageEditActions.editedAttributes, range: range, changeInLength: 0)
                self.highlightDelegate?.didHighlight?(range, success: true)
            })

        }

    }

The initializer for CodeEditor says that Highlightr will auto-detect the language if nil is provided.
  /**
   * Configures a read-only CodeEditor View with the given parameters.
   *
   * - Parameters:
   *   - source:      A String that holds the source code to be displayed.
   *   - language:    Optionally set a language (e.g. `.swift`), otherwise
   *                  Highlight.js will attempt to detect the language.
   *   - theme:       The name of the theme to use, defaults to "pojoaque".
   *   - fontSize:    On macOS this Binding can be used to persist the size of
   *                  the font in use. At runtime this is combined with the
   *                  theme to produce the full font information. (optional)
   *   - flags:       Configure whether the text is selectable
   *                  (defaults to both).
   *   - indentStyle: Optionally insert a configurable amount of spaces if the
   *                  user hits "tab".
   *   - autoPairs:   A mapping of open/close characters, where the close
   *                  characters are automatically injected when the user enters
   *                  the opening character. For example: `[ "{": "}" ]` would
   *                  automatically insert the closing "}" if the user enters
   *                  "{". If no value is given, the default mapping for the
   *                  language is used.
   *   - inset:       The editor can be inset in the scroll view. Defaults to
   *                  8/8.
   */

Interesting. Did you try to remove the check and see whether it works?


Integrate Lighthouse analysis

Lighthouse should be integrated into CI.
First, let's save the initial analysis report, then create tickets for optimization tasks.
Ideas:

Lazy loading
Lazy loading images
RAIL
etc.

Lighthouse is integrated


Improve flexibility of cloud diagnostics

Description
This technical PR increases the flexibility of the cloud diagnostics stored in diag_script/clouds to allow for:

analyzing single model datasets, i.e. dropping the requirement for having multiple datasets and
splitting a variable in a recipe into two sections (e.g. "clt" and "clt_icon") in case two different preprocessors are required. Two different preprocessors are required e.g. for ICON data (unstructured data) as the same regridder cannot be applied (yet) to data on regular grids such as observations.

Test recipes

Multiple CMIP models + ICON (new): recipe_test_cmip.yml.txt
Single model (new): recipe_test_single.yml.txt

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[x] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

New or updated recipe/diagnostic

[ ] 🧪 Recipe runs successfully
[x] 🧪 Recipe is well documented
[ ] 🧪 Figure(s) and data look as expected from literature
[x] 🛠 Provenance information has been added

Thanks for expanding your diagnostics @axel-lauer!
I tested both recipes, both ran successfully! :tada: However, there were a couple of warnings from the NCL scripts:

recipe_test_cmip.yml:

WARNING [2341674] NCL: warning:Dimension (0) has not been defined
WARNING [2341674] There were warnings during the execution of NCL script clouds/clouds.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_cmip_20230120_083422/run/clouds_clim_cmip5/avgclt/log.txt

WARNING [2341674] NCL: INFO    warning: cannot calculate t-test for dataset ERA5; need at least 3 years, dataset length = 2 years; disabling t-test
WARNING [2341674] There were warnings during the execution of NCL script clouds/clouds_zonal.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_cmip_20230120_083422/run/clw_cmip5/zonal/log.txt

WARNING [2339109] NCL: warning:avg: Entire input array contains missing values, can't compute average
WARNING [2339109] NCL: warning:avg: Entire input array contains missing values, can't compute average
WARNING [2339109] NCL: warning:avg: Entire input array contains missing values, can't compute average
...
WARNING [2341674] NCL: warning:ContourPlotInitialize: no valid values in scalar field; ContourPlot not possible:[errno=1101]
WARNING [2341674] NCL: ^Mwarning:ContourPlotSetValues: Data values out of range of levels set by EXPLICITLEVELS mode
WARNING [2341674] NCL: ^Mwarning:ContourPlotInitialize: no valid values in scalar field; ContourPlot not possible:[errno=1101]
WARNING [2341674] NCL: ^Mwarning:ContourPlotInitialize: no valid values in scalar field; ContourPlot not possible:[errno=1101]
WARNING [2341674] NCL: ^Mwarning:ContourPlotSetValues: Data values out of range of levels set by EXPLICITLEVELS mode
WARNING [2341674] There were warnings during the execution of NCL script clouds/clouds_dyn_matrix.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_cmip_20230120_083422/run/clouds_dynmatrices_cmip5_ocean/dynclt/log.txt

WARNING [2341674] NCL: warning:TransformDataPolyline, not enough points for a line
WARNING [2341674] There were warnings during the execution of NCL script clouds/clouds_pdf.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_cmip_20230120_083422/run/pdf_clt_djf_cmip5/southernocean/log.txt

recipe_test_single.yml:

WARNING [2339113] NCL: warning:TransformDataPolyline, not enough points for a line
WARNING [2339113] There were warnings during the execution of NCL script clouds/clouds_pdf.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_single_20230120_083154/run/pdf_clt_djf_cmip5/southernocean/log.txt

WARNING [2339109] NCL: warning:avg: Entire input array contains missing values, can't compute average
WARNING [2339109] NCL: warning:avg: Entire input array contains missing values, can't compute average
WARNING [2339109] NCL: warning:avg: Entire input array contains missing values, can't compute average
...
WARNING [2339109] There were warnings during the execution of NCL script clouds/clouds_dyn_matrix.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_single_20230120_083154/run/clouds_dynmatrices_cmip5_ocean/dynclt/log.txt

WARNING [2339107] NCL: warning:Dimension (0) has not been defined
WARNING [2339107] There were warnings during the execution of NCL script clouds/clouds.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_single_20230120_083154/run/clouds_clim_cmip5/avgclt/log.txt

WARNING [2339101] NCL: INFO    warning: cannot calculate t-test for dataset ERA5; need at least 3 years, dataset length = 2 years; disabling t-test
WARNING [2339101] There were warnings during the execution of NCL script clouds/clouds_zonal.ncl, for details, see the log /home/b/b309141/scratch/esmvaltool_output/recipe_test_single_20230120_083154/run/cl_cmip5/zonal/log.txt

In addition, all dyn_matrix plots that involve ICON are empty, e.g.,

I am currently also running other cloud recipes to test if anything is broken. So far I found a problem with recipe_clouds_ipcc.yml in the diagnostic clouds_ipcc_lwcre/clim:

  6 INFO    Loading settings from /home/b/b309141/scratch/esmvaltool_output/recipe_clouds_ipcc_20230120_084545/run/clouds_ipcc_lwcre/clim/settings.ncl
  7 INFO    Loading input data description from /home/b/b309141/scratch/esmvaltool_output/recipe_clouds_ipcc_20230120_084545/preproc/clouds_ipcc_lwcre/lwcre/lwcre_info.ncl
  8 INFO    ++++++++++++++++++++++++++++++++++++++++++
  9 INFO    clim (var: lwcre)
 10 INFO    ++++++++++++++++++++++++++++++++++++++++++
 11 fatal:syntax error: line 211 in file /home/b/b309141/repos/ESMValTool/esmvaltool/diag_scripts/clouds/clouds_ipcc.ncl before or near delete
 12     delete
 13 ---------^
 14
 15 ^Mfatal:error in statement
 16 ^Mfatal:Syntax Error in block, block not executed
 17 ^Mfatal:error at line 780 in file /home/b/b309141/repos/ESMValTool/esmvaltool/diag_scripts/clouds/clouds_ipcc.ncl

@axel-lauer this looks very useful indeed (to my untrained NCL and sciencey eye), you should add the Milestone 2.8 to it, I reckon! @ESMValGroup/tech-reviewers can we have one NCL expert look at this please? :beer:

Thanks @schlunma for taking a look! I found out that I made a mistake in the test recipes so only part of the functionality was actually tested. I updated the test recipes (sorry about this):

recipe_test_cmip.yml.txt
recipe_test_single.yml.txt

I think the NCL warning about entire input arrays containing missing values resulting in the dyn_matrix plots for ICON being empty are caused by a problem with the extract_levels preprocessor. I use the preprocessor to select the 500 hPa level of wap, which results in an empty output field (containing only nan values). The preprocessor gives the following warning:
WARNING [1425940] There were warnings in variable wap:
 Cannot check requested values of 3D coordinate plev since it is not 1D
loaded from file /work/bd0854/b309141/icon_eval/data/cool014/cool014_atm_3d_ml_1979-2014.nc
WARNING [1425940] There were warnings in variable wap:
 Cannot check requested values of 3D coordinate plev since it is not 1D
loaded from file

This problem can be reprocuded with this test recipe: recipe_test_wap.yml.txt
If you think this could indeed be a more general problem, I would open an issue. In any case, I think the empty ICON plot and the many related NCL warnings are not a problem of the changes introduced in this PR.

Thanks for the update Axel! I will test this again with the new recipe versions.
Regarding the preprocessor for wap: I think you need a coordinate: air_pressure for the extract_levels preprocessor since ICON does not have a 1D but 3D air_pressure field. The warning is not related to that. I fix that when testing the recipes; if it works I will update the corresponding ICON documentation!

However, the dyn_matrix plots for ICON look a bit weird and very different to the other models:

I think there might be something strange going on with the unit conversion for ICON data.
    convert_units:
      units: "Pa min-1"

The first time step in the preprocessed files for ICON contains only very low values (in contrast to the other time steps). This seems wrong to me and might explain the "line" around wap=0 in the plot. Here an example of the first two time steps of the preprocessed files to illustrate what I mean (left = ERA5 and right = ICON). Btw, the other time steps also look strange. The values seem rather noisy and quite high compared to what I would expect.

I don't think this is an issue with the convert_units preprocessor. This is the raw data for January 2004:
> cdo infon -seldate,2004-01-31 -selvar,wap cool014_atm_3d_ml_1979-2014.nc                                                                                407ms
cdo(1) seldate: Process started
cdo(2) selname: Process started
    -1 :       Date     Time   Level Gridsize    Miss :     Minimum        Mean     Maximum : Parameter name
     1 : 2004-01-31 23:45:00       1    20480       0 : -7.1167e-09  2.9211e-13  7.7118e-09 : wap
     2 : 2004-01-31 23:45:00       2    20480       0 : -3.1761e-08 -4.9191e-11  3.0903e-08 : wap
     3 : 2004-01-31 23:45:00       3    20480       0 : -6.5397e-08 -5.7341e-11  7.3015e-08 : wap
     4 : 2004-01-31 23:45:00       4    20480       0 : -1.3055e-07 -5.4905e-11  1.0615e-07 : wap
     5 : 2004-01-31 23:45:00       5    20480       0 : -2.9226e-07  1.7382e-10  2.1725e-07 : wap
     6 : 2004-01-31 23:45:00       6    20480       0 : -6.8148e-07  4.0211e-10  3.0572e-07 : wap
     7 : 2004-01-31 23:45:00       7    20480       0 : -6.7034e-07  4.4165e-10  6.1205e-07 : wap
     8 : 2004-01-31 23:45:00       8    20480       0 : -7.8983e-07  8.1892e-10  7.2386e-07 : wap
     9 : 2004-01-31 23:45:00       9    20480       0 : -7.0851e-07  9.1138e-10  7.4135e-07 : wap
    10 : 2004-01-31 23:45:00      10    20480       0 : -9.2007e-07  9.0179e-10  9.1854e-07 : wap
    11 : 2004-01-31 23:45:00      11    20480       0 : -1.2227e-06  7.9684e-10  9.8680e-07 : wap
    12 : 2004-01-31 23:45:00      12    20480       0 : -1.5929e-06  2.7547e-10  1.2892e-06 : wap
    13 : 2004-01-31 23:45:00      13    20480       0 : -2.2430e-06 -1.6896e-10  1.3992e-06 : wap
    14 : 2004-01-31 23:45:00      14    20480       0 : -2.4143e-06 -5.5042e-10  2.0248e-06 : wap
    15 : 2004-01-31 23:45:00      15    20480       0 : -3.7398e-06 -1.9255e-09  2.4443e-06 : wap
    16 : 2004-01-31 23:45:00      16    20480       0 : -5.6178e-06 -3.6629e-09  4.0683e-06 : wap
    17 : 2004-01-31 23:45:00      17    20480       0 : -4.1424e-06 -5.8895e-09  4.2739e-06 : wap
    18 : 2004-01-31 23:45:00      18    20480       0 : -6.0425e-06 -9.0078e-09  6.2628e-06 : wap
    19 : 2004-01-31 23:45:00      19    20480       0 : -1.1072e-05 -1.3541e-08  6.6932e-06 : wap
    20 : 2004-01-31 23:45:00      20    20480       0 : -1.6428e-05 -1.6153e-08  1.1556e-05 : wap
    21 : 2004-01-31 23:45:00      21    20480       0 : -3.0966e-05 -1.9117e-08  1.2874e-05 : wap
    22 : 2004-01-31 23:45:00      22    20480       0 : -3.2487e-05 -2.0433e-08  1.6764e-05 : wap
    23 : 2004-01-31 23:45:00      23    20480       0 : -3.2672e-05 -2.9051e-08  3.7560e-05 : wap
    24 : 2004-01-31 23:45:00      24    20480       0 : -0.00011018 -4.5185e-08  8.6546e-05 : wap
    25 : 2004-01-31 23:45:00      25    20480       0 : -0.00024596 -5.7868e-08  0.00012716 : wap
    26 : 2004-01-31 23:45:00      26    20480       0 : -0.00034678 -6.3702e-08  0.00013203 : wap
    27 : 2004-01-31 23:45:00      27    20480       0 : -0.00041334 -4.1644e-08  0.00016758 : wap
    28 : 2004-01-31 23:45:00      28    20480       0 : -0.00044360 -3.1704e-09  0.00015490 : wap
    29 : 2004-01-31 23:45:00      29    20480       0 : -0.00044274  3.6188e-08  0.00021983 : wap
    30 : 2004-01-31 23:45:00      30    20480       0 : -0.00043368  6.6305e-08  0.00027186 : wap
    31 : 2004-01-31 23:45:00      31    20480       0 : -0.00051028  8.3887e-08  0.00028731 : wap
    32 : 2004-01-31 23:45:00      32    20480       0 : -0.00054055  9.7393e-08  0.00031635 : wap
    33 : 2004-01-31 23:45:00      33    20480       0 : -0.00054955  1.0517e-07  0.00032663 : wap
    34 : 2004-01-31 23:45:00      34    20480       0 : -0.00053920  1.0675e-07  0.00030782 : wap
    35 : 2004-01-31 23:45:00      35    20480       0 : -0.00054621  1.0248e-07  0.00027728 : wap
    36 : 2004-01-31 23:45:00      36    20480       0 : -0.00055896  9.3676e-08  0.00024290 : wap
    37 : 2004-01-31 23:45:00      37    20480       0 : -0.00055081  1.0464e-07  0.00026969 : wap
    38 : 2004-01-31 23:45:00      38    20480       0 : -0.00051664  1.3339e-07  0.00029790 : wap
    39 : 2004-01-31 23:45:00      39    20480       0 : -0.00046242  1.6843e-07  0.00028879 : wap
    40 : 2004-01-31 23:45:00      40    20480       0 : -0.00040076  2.2412e-07  0.00024659 : wap
    41 : 2004-01-31 23:45:00      41    20480       0 : -0.00033678  3.1324e-07  0.00025553 : wap
    42 : 2004-01-31 23:45:00      42    20480       0 : -0.00028845  4.7916e-07  0.00031654 : wap
    43 : 2004-01-31 23:45:00      43    20480       0 : -0.00030098  8.0699e-07  0.00039933 : wap
    44 : 2004-01-31 23:45:00      44    20480       0 : -0.00031034  1.4062e-06  0.00048213 : wap
    45 : 2004-01-31 23:45:00      45    20480       0 : -0.00032026  2.3831e-06  0.00058814 : wap
    46 : 2004-01-31 23:45:00      46    20480       0 : -0.00030654  3.1999e-06  0.00063805 : wap
    47 : 2004-01-31 23:45:00      47    20480       0 : -0.00029163  3.3656e-06  0.00066832 : wap
cdo(2) selname: Processed 415825920 values from 13 variables over 432 timesteps
cdo(1) seldate: Processed 962560 values from 1 variable over 302 timesteps

This is the data for February 2004:
> cdo infon -seldate,2004-02-29 -selvar,wap cool014_atm_3d_ml_1979-2014.nc                                                                                1161ms
cdo(1) seldate: Process started
cdo(2) selname: Process started
    -1 :       Date     Time   Level Gridsize    Miss :     Minimum        Mean     Maximum : Parameter name
     1 : 2004-02-29 23:45:00       1    20480       0 : -2.1174e-05  8.6242e-10  2.2940e-05 : wap
     2 : 2004-02-29 23:45:00       2    20480       0 : -9.4485e-05 -1.4635e-07  9.1931e-05 : wap
     3 : 2004-02-29 23:45:00       3    20480       0 : -0.00019453 -1.7060e-07  0.00021722 : wap
     4 : 2004-02-29 23:45:00       4    20480       0 : -0.00038835 -1.6339e-07  0.00031578 : wap
     5 : 2004-02-29 23:45:00       5    20480       0 : -0.00086941  5.1721e-07  0.00064632 : wap
     6 : 2004-02-29 23:45:00       6    20480       0 :  -0.0020274  1.1968e-06  0.00090943 : wap
     7 : 2004-02-29 23:45:00       7    20480       0 :  -0.0019942  1.3146e-06   0.0018208 : wap
     8 : 2004-02-29 23:45:00       8    20480       0 :  -0.0023497  2.4369e-06   0.0021536 : wap
     9 : 2004-02-29 23:45:00       9    20480       0 :  -0.0021078  2.7117e-06   0.0022054 : wap
    10 : 2004-02-29 23:45:00      10    20480       0 :  -0.0027371  2.6831e-06   0.0027326 : wap
    11 : 2004-02-29 23:45:00      11    20480       0 :  -0.0036374  2.3709e-06   0.0029359 : wap
    12 : 2004-02-29 23:45:00      12    20480       0 :  -0.0047377  8.1947e-07   0.0038348 : wap
    13 : 2004-02-29 23:45:00      13    20480       0 :  -0.0066719 -5.0325e-07   0.0041623 : wap
    14 : 2004-02-29 23:45:00      14    20480       0 :  -0.0071829 -1.6383e-06   0.0060240 : wap
    15 : 2004-02-29 23:45:00      15    20480       0 :   -0.011125 -5.7302e-06   0.0072727 : wap
    16 : 2004-02-29 23:45:00      16    20480       0 :   -0.016713 -1.0901e-05    0.012105 : wap
    17 : 2004-02-29 23:45:00      17    20480       0 :   -0.012325 -1.7528e-05    0.012716 : wap
    18 : 2004-02-29 23:45:00      18    20480       0 :   -0.017976 -2.6806e-05    0.018631 : wap
    19 : 2004-02-29 23:45:00      19    20480       0 :   -0.032936 -4.0296e-05    0.019913 : wap
    20 : 2004-02-29 23:45:00      20    20480       0 :   -0.048872 -4.8070e-05    0.034375 : wap
    21 : 2004-02-29 23:45:00      21    20480       0 :   -0.092113 -5.6895e-05    0.038296 : wap
    22 : 2004-02-29 23:45:00      22    20480       0 :   -0.096644 -6.0815e-05    0.049871 : wap
    23 : 2004-02-29 23:45:00      23    20480       0 :   -0.097209 -8.6459e-05     0.11172 : wap
    24 : 2004-02-29 23:45:00      24    20480       0 :    -0.32778 -0.00013447     0.25749 : wap
    25 : 2004-02-29 23:45:00      25    20480       0 :    -0.73171 -0.00017222     0.37828 : wap
    26 : 2004-02-29 23:45:00      26    20480       0 :     -1.0317 -0.00018956     0.39279 : wap
    27 : 2004-02-29 23:45:00      27    20480       0 :     -1.2297 -0.00012390     0.49854 : wap
    28 : 2004-02-29 23:45:00      28    20480       0 :     -1.3198 -9.4015e-06     0.46081 : wap
    29 : 2004-02-29 23:45:00      29    20480       0 :     -1.3172  0.00010774     0.65397 : wap
    30 : 2004-02-29 23:45:00      30    20480       0 :     -1.2901  0.00019737     0.80877 : wap
    31 : 2004-02-29 23:45:00      31    20480       0 :     -1.5180  0.00024969     0.85475 : wap
    32 : 2004-02-29 23:45:00      32    20480       0 :     -1.6080  0.00028986     0.94114 : wap
    33 : 2004-02-29 23:45:00      33    20480       0 :     -1.6348  0.00031300     0.97170 : wap
    34 : 2004-02-29 23:45:00      34    20480       0 :     -1.6040  0.00031771     0.91573 : wap
    35 : 2004-02-29 23:45:00      35    20480       0 :     -1.6249  0.00030501     0.82489 : wap
    36 : 2004-02-29 23:45:00      36    20480       0 :     -1.6629  0.00027881     0.72265 : wap
    37 : 2004-02-29 23:45:00      37    20480       0 :     -1.6386  0.00031143     0.80220 : wap
    38 : 2004-02-29 23:45:00      38    20480       0 :     -1.5370  0.00039697     0.88614 : wap
    39 : 2004-02-29 23:45:00      39    20480       0 :     -1.3757  0.00050125     0.85904 : wap
    40 : 2004-02-29 23:45:00      40    20480       0 :     -1.1922  0.00066700     0.73351 : wap
    41 : 2004-02-29 23:45:00      41    20480       0 :     -1.0019  0.00093226     0.76024 : wap
    42 : 2004-02-29 23:45:00      42    20480       0 :    -0.85839   0.0014260     0.94201 : wap
    43 : 2004-02-29 23:45:00      43    20480       0 :    -0.89565   0.0024016      1.1884 : wap
    44 : 2004-02-29 23:45:00      44    20480       0 :    -0.92349   0.0041850      1.4348 : wap
    45 : 2004-02-29 23:45:00      45    20480       0 :    -0.95296   0.0070924      1.7502 : wap
    46 : 2004-02-29 23:45:00      46    20480       0 :    -0.91213   0.0095231      1.8987 : wap
    47 : 2004-02-29 23:45:00      47    20480       0 :    -0.86773    0.010016      1.9888 : wap
cdo(2) selname: Processed 415825920 values from 13 variables over 432 timesteps
cdo(1) seldate: Processed 962560 values from 1 variable over 303 timesteps

The values differ by a factor of ~10e4! The February values look much more similar than the data from other models, although the maximum is considerably higher. The noise you describe is also in the raw input data:

I don't think this is an issue with the convert_units preprocessor. This is the raw data for January 2004:

I agree. Thanks for checking! I think this is ready to be merged then.


The problem of using name router

Describe the bug
If I use  "Get.toName("/next")" to jump to the next router, and the next router will be a routing jump from a third-party library， it is system router.Then there will be a problem with the jump animation of this route.But if I use "navigator.push(MaterialPageRoute(builder: (_) => NextPage()))" there is no such problem
**Reproduction code
example:
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:wechat_assets_picker/wechat_assets_picker.dart';

void main() {
  runApp(GetMaterialApp(
    getPages: [GetPage(name: "/next", page: () => NextPage())],
    home: MyApp(),
  ));
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("GetX_Demo"),
        ),
        body: Container(
          child: Center(
            child: RaisedButton(
              child: Text("Next Page"),
              //

https://user-images.githubusercontent.com/14963226/103122677-3d3aed00-46bc-11eb-8aec-05ede3972c1c.mp4

navigator.push(MaterialPageRoute(builder: (_) => NextPage()))
              onPressed: () => Get.toNamed("/next"),
            ),
          ),
        ),
      ),
    );
  }
}

class NextPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Next"),
      ),
      body: Container(
        child: Center(
          child: RaisedButton(
            child: Text("Clicked"),
            onPressed: () {
              AssetPicker.pickAssets(context,
                  themeColor: Colors.red,
                  maxAssets: 1,
                  gridCount: 5,
                  pageSize: 100,
                  routeCurve: Curves.linear);
            },
          ),
        ),
      ),
    );
  }
}

To Reproduce
Steps to reproduce the behavior:

Click on 'Next Page'
Click on 'Clicked'
See error

Expected behavior
There should not be a right-to-left routing animation when jumping to a third-party routing
Flutter Version:
Version 1.22.5
Getx Version:
Version 3.24.0
Describe on which device you found the bug:
All Device
Minimal reproduce code
Get.toNamed("/next")

The problem video:
https://user-images.githubusercontent.com/14963226/103122703-58a5f800-46bc-11eb-9fbe-f0caee2a37b8.mp4

Hey, if you're using an iPhone, the expected behavior is for the default transition to be cupertino.
MaterialPageRoute inserts the android fade transition on any device, be it android or ios.
If you want the default transition to be that of android, just define in your GetMaterialApp:
defaultTransition: Transition.fade,


cant connect to wsl-remote

We have written the needed data into your clipboard because it was too large to send. Please paste.

when i try to connect by wsl-remote i got
sh: 1: /mnt/c/Users/Bastian/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.42.0/scripts/wslServer.sh: Permission denied


Support for encoding metadata chunks

Currently the encoder lacks built-in support for writing metadata chunks, you can do it manually with Writer::write_chunk. However I believe that there should be a nicer high-level way of doing this.

[ ] pHys pixel density (in progress #124)
[ ] tRNS Transparency
[x] cHRMPrimary chromaticities and white point (#243)
[x] gAMA Image gamma (#243)
[ ] iCCP Embedded ICC profile
[ ] sBITSignificant bits
[x] sRGB Standard RGB colour space (#260)
[ ] tEXT Textual data
[ ] zTXt Compressed textual data
[ ] iTXt International textual data
[ ] bKGD Background colour
[ ] hIST Image histogram
[ ] sPLT Suggested palette
[ ] tIME Image last-modification time

Not all of these are equally important, however it would be nice to have support for all of them. See https://www.w3.org/TR/2003/REC-PNG-20031110/#11Ancillary-chunks for specifications on what the chunks should look like.
See also https://github.com/image-rs/image/issues/911

There is an addition to the spec that adds support for PQ-encoded HDR images: https://www.w3.org/TR/png-hdr-pq/ . This relies on iCCP, with fallbacks to cHRM and gAMA. Krita reportedly supports this format for HDR exports.
However adding support for HDR images is probably going to require some API redesign...

+1 for encoder AND decoder support of text chunks.
I'm currently working on a library to support a proprietary file format for a game engine with the following specifications:

Image is tiled (think like a sprite sheet)
Each frame is specified by metadata in the zTXt chunk

Unfortunately, without access to read/write the zTXt chunk, I currently can't use this crate for my needs.
(Image format is the DMI image format used by BYOND.)

gAMA and cHRM have been merged with #244 :tada: I opened a PR #260 for the sRGB chunk. I can't tick the boxes, but it would be nice to update the list for potential contributors :)

Hey!
Since I am going to use the library (especially the metadata part of it), I'd like to contribute back by working on some of the chunks here. Maybe some guidance on how to approach a PR would be nice, for example for the iTXT chunk.
Is the overall goal to add some new struct and a field to Info so that decoder/encoder can populate it? If so would the appropriate type for iTXT be Vec<NewiTXTChunkStruct>?

Hey!
Since I am going to use the library (especially the metadata part of it), I'd like to contribute back by working on some of the chunks here. Maybe some guidance on how to approach a PR would be nice, for example for the iTXT chunk.
Is the overall goal to add some new struct and a field to Info so that decoder/encoder can populate it? If so would the appropriate type for iTXT be Vec<NewiTXTChunkStruct>?

Is the overall goal to add some new struct and a field to Info so that decoder/encoder can populate it? If so would the appropriate type for tEXT be Vec<NewtEXTChunkStruct>?

That sounds logical to me (but note that I'm not a maintainer).
You could still wonder if you want to provide the chunk data without processing, or if you want to decompress the text during decoding. Getting decompressed data would be nice, but might allow malicious PNGs to contain small compressed text that expands to large amounts of memory.
For that reason, it might be wise to store the data compressed in the info struct, and provide an easy interface to perform the decompression as needed. That also prevents wasting time and memory on decompression when the application doesn't care about the text chunk.

Is the overall goal to add some new struct and a field to Info so that decoder/encoder can populate it? If so would the appropriate type for tEXT be Vec<NewtEXTChunkStruct>?

That sounds logical to me (but note that I'm not a maintainer).
You could still wonder if you want to provide the chunk data without processing, or if you want to decompress the text during decoding. Getting decompressed data would be nice, but might allow malicious PNGs to contain small compressed text that expands to large amounts of memory.
For that reason, it might be wise to store the data compressed in the info struct, and provide an easy interface to perform the decompression as needed. That also prevents wasting time and memory on decompression when the application doesn't care about the text chunk.


test image

Hi
Can you share the file "../data/karlsruhe/2018_zugeschnitten.tif".
Is the query file also need to have all the 13 bands.

Please follow the link provided in #2


python310Packages.torch-bin: correct meta.platforms

Description of changes
We no longer need to rely on throw. See https://github.com/NixOS/nixpkgs/pull/215721#issuecomment-1426856654

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Hmm, it seems like we have do add or null or something but then we get
$ NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-build -A python310.pkgs.torch-bin --system aarch64-linux
error: value is null while a set was expected

       at pkgs/development/python-modules/torch/bin.nix:33:9:

           32|
           33|   src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or null;
             |         ^
           34|

So maybe just leave the throw?

Yep, apparently having both would yield the ideal outcome.


ERROR - 'NoneType' object is not subscriptable ( Google Bard )

Suddenly, Google Bard doesn't work no more. Meanwhile, Chatgpt is still fine.

┌─[0000@GPT-CLI]─(02:37:41)
└──╼ ❯❯❯hola
ERROR - 'NoneType' object is not subscriptable

Anybody can help? Thank you very much~

Upgrading GoogleBard to 1.4.0 version solved the problem, but it adds "INFO - HTTP Request" line before every answer
┌─[0000@GPT-CLI]─(16:07:00)
└──╼ ❯❯❯hello
INFO - HTTP Request: POST https://bard.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate?bl=boq_assistant-bard-web-server_20230620.14_p0&_reqid=608525&rt=c "HTTP/1.1 200 OK" - (30-Jun-2023 01:44:21)
Hello there! How can I help you today?

Thanks for that.
Currently fixed. 🙏

Bard Error again, please

┌─[0000@GPT-CLI]─(07:26:13)
└──╼ ❯❯❯Hallo
INFO - HTTP Request: POST https://bard.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate?bl=boq_assistant-bard-web-server_20230620.14_p0&_reqid=8032&rt=c "HTTP/1.1 401 Unauthorized" - (08-Jul-2023 07:41:55)
ERROR - list index out of range - (08-Jul-2023 07:41:55)


fix potential buffer overflow in StateMachine::Log

VSNPRINTF(buffer + offset, sizeof(buffer), format, args);
should be:
VSNPRINTF(buffer + offset, sizeof(buffer) - offset - 1, format, args);

Bug was not present.


Setting 100% width on the Vega container by default?

Thanks for this great dash extension @binste ! It's saving me from so many iframe headaches =)
I wonder if it would make sense to set style={'width': '100%'} by default on the Vega component, so that there is only one step required to make the altair chart stretch the width of the container. Or is there any advantage of not having this by default?
One step further would be to provide a "dash-style" altair theme that sets width='container' for all charts when activated.

Thanks for the feedback @joelostblom !
Yeah I was just never sure how to do this properly so that users can still set it themselves and that it does not interfere with other style properties. I know found a way in #12. Just released it as version 0.10.0. Probably not the most elegant solution but I tested it in a few different cases and seems to work well. Let me know if you face any issues!

Thank you @binste !


Add test to verify that an invalid json payload results in a BadRequestError

This is a single test that verifies that sending a request with an invalid json payload results in a BadRequestError. This test added one more line of code coverage.

👍


Building the Merge Sort Algorithm: multiple steps allow tests to pass without checking if the pass keyword is removed

Describe the Issue
The descriptions of steps 12, 13, and 29 state that the pass keyword should be removed (or replaced), but the tests pass without removing (or replacing) it.
Affected Page

https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-data-structures-by-building-the-merge-sort-algorithm/step-12
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-data-structures-by-building-the-merge-sort-algorithm/step-13
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-data-structures-by-building-the-merge-sort-algorithm/step-29

Your code
The following code pass the tests for their respective steps
Step 12 code:
while left_array_index < len(left_part) and right_array_index < len(right_part):
        pass
        if left_part[left_array_index] < right_part[right_array_index]:
            pass

Step 13 code:
while left_array_index < len(left_part) and right_array_index < len(right_part):
        if left_part[left_array_index] < right_part[right_array_index]:
            pass
            array[sorted_index] = left_part[left_array_index]

Step 29 code:
if __name__ == '__main__':
    pass
    numbers = [4, 10, 6, 14, 2, 1, 8, 5]

Expected behavior
Each of the steps should check that the pass keyword is removed (or replaced).
Screenshots
Step 12:

Step 13:

Step 29:

System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
Steps 19 and 23 aren't allowing tests to pass with the pass keyword in the editor (because it should be removed or replaced), so the same should apply to steps 12, 13, and 29.

I would like to have a go at this for a university project.


[FLINK-8982][E2E Tests] Add test for known failure of queryable state

What is the purpose of the change
Add an end-to-end test to verify that the changes that @kl0u introduced in https://github.com/apache/flink/pull/5691 fix a known issue with concurrent access to queryable state, by verifying that access to queryable state works as expected.
Brief change log

Add flink app with queryable state the continuously updates mapstate
Add queryable state client that periodically queries map state
Add end-to-end test that runs client against app and verifies that no unexpected exceptions occur
Integrate end-to-end test in testsuite

Verifying this change
This change added tests and can be verified as follows:

Run ./run-pre-commit-tests.sh

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Thanks! I addressed the changes in the last two commits

@kl0u can you have a look at this?


Tab: Website - function list

Hi,
I'd like to adopt my webapp to fit the ms teams windows desktop client. It's written in react, the webapp is loading but as soon as it gets to the fetch and promis API it seems to hang.
It's hard to get some debug info out of it.
Is there a function list, which is supported by the javascript engine there, or a possibility to test against it?
Thank you
Mike

@Mikelsoft99 thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@officedocsbot close


WIP: Support PHP8.0^

@hareland thanks for starting the work on this. Let me know if I can help in any way.

@hareland thanks for starting the work on this. Let me know if I can help in any way.

@josepostiga Thanks! It's basically finished, I'm going to add a few tests and come back to you asap 😃

@josepostiga this should now be working with PHP8.0 - let me know if you have any suggestions.


Ctrl+A and similar keyboard shortcuts don't work

In recent version of Moon we broke executing code like this:
            WebElement element = driver.findElement(By.cssSelector("input[type=text]"));
            element.sendKeys("old text");
            element.sendKeys(Keys.chord(Keys.CONTROL, "a"));
            element.sendKeys("new text");

Fixed in https://github.com/aerokube/moon2/pull/194.


[Feedback]  The subtitle needs changing to suite an individual user by Martha Atuhaire

Feedback details
ID: 356 | created at 2023-05-11T10:21:44 | feedback type: feedback-addFeedback
Message 1 from user c9b08cd5-c7f6-4f58-bc2e-ce8f99134153
Selected text
User feedback
The subtitle needs changing to suite an individual user by Martha Atuhaire
Template target
[{"el": "container", "templatename": "onboarding_ground_rules"}, {"el": "component", "name": "text_input_block", "type": "template"}, {"el": "container", "templatename": "text_input_block"}, {"el": "component", "name": "title", "type": "title"}]

Closed as it was testing


Can't view graphs of DVC results

Error:
Traceback (most recent call last):
  File "C:\Users\lhe97136\Miniconda3\envs\dvc_app_dev\lib\site-packages\idvc\dvc_interface.py", line 4235, in CreateGraphsWindow
    self.graph_window.CreateDockWidgets()
  File "C:\Users\lhe97136\Miniconda3\envs\dvc_app_dev\lib\site-packages\idvc\dvc_interface.py", line 5453, in CreateDockWidgets
    GraphWidget = SingleRunResultsWidget(self, result, plot_titles, displ_wrt_point0)
  File "C:\Users\lhe97136\Miniconda3\envs\dvc_app_dev\lib\site-packages\idvc\dvc_interface.py", line 5495, in __init__
    self.CreateHistogram(plot_data, plot_titles, displ_wrt_point0)
  File "C:\Users\lhe97136\Miniconda3\envs\dvc_app_dev\lib\site-packages\idvc\dvc_interface.py", line 5518, in CreateHistogram
    phi_disp = displ[:, 9]
IndexError: index 9 is out of bounds for axis 1 with size 9

This is related to reading the displacement file resulting from running the DVC analysis - it suggests the 10th column in the file doesn't exist

This error is due to the fact that the displacement file no longer has theta, phi and psi

This change was introduced in this PR: https://github.com/vais-ral/CCPi-DVC/pull/133/files so should mean this error only occurs in v21.1.1 of iDVC

Related change: https://github.com/vais-ral/CCPi-DVC/blob/660a623df5e562e263a451ccd9c6b434db23ce6a/Core/InputRead.cpp#L1124-L1136


backgroundColor not working (Android)

Hey @jazmon, I have a couple of questions about this package...
With a backgroundColor set, the top status bar's color is changed (which has me confused as to why the examples also include <StatusBar> from 'react-native'), but the bottom navigation bar always remains black. If I set transparent attribute then the color is always translucent black. Is there any way to set the colour to exactly match the background of the view? I'm using a Nexus 5X if that makes any difference.
I can't get the example repo to run either - firstly the file://../.. url in package.json obviously doesn't work unless you place a copy of the package in that location. Then yarn start gives a SyntaxError which looks like something isn't handling the es6 syntax properly. Any pointers would be appreciated :)
SyntaxError: react-native-onscreen-navbar-example/node_modules/react-native/packager/src/Bundler/index.js: Unexpected token, expected , (47:26)
  45 |   mainModuleName: string,
  46 |   options: {},
> 47 |   getDependencies: string => Promise<Array<string>>,
     |                           ^
  48 | ) => {} | Promise<{}>;
  49 |
  50 | const sizeOf = denodeify(imageSize);

The example uses StatusBar just to show how it is similar.
Ahh yes good point on the example repo, the dependency should really just import the package itself from npm. (The example used to be in the same repo but i moved it away)
We also made a breaking change at 2.0.0 so it might break the example.
I'll try to fiddle around with the example repo and make it work with 2.0.0

@jazmon thanks for the quick reply :)

@mjmasn the example project works now, give it a go :)

@mjmasn did you manage to get it work?

Hey @jazmon, designs ended up changing so we didn't make use of this in the end. Thanks for looking into it though, hope I didn't waste your time.

Ok, no worries! :) The example repo was outdated anyways so it really was due to some updating.
I'll close the issue since I think it should work, at least in the example repo.


New graphics again

Now that I have reinstalled Photoshop, I'd like to get a little more creative with the appicon and other graphics. I like the purple & white, but a more creative logo would be neat.

Someone wanted to mock up some new graphics, though I haven't heard back from them yet. I'll leave this here.

This look good? @Fleker

Yeah I like that. Any graphics will have to match the required dimensions.

I have the ai file, so you can scale it without losing quality and change any aspect!
https://drive.google.com/file/d/0B3DhUCRnvErzYW9fYmZPYURKZGM/view?usp=sharing

Great!
The app icon is 512x512
The TV banner is 320x180
The store banner is 1024x500
On Aug 15, 2015 1:28 PM, "Brandon Giesing"<EMAIL_ADDRESS>wrote:

I have the ai file, so you can scale it without losing quality and change
any aspect!
https://drive.google.com/file/d/0B3DhUCRnvErzYW9fYmZPYURKZGM/view?usp=sharing
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-131403081.

@Fleker Here they are!

App Icon

Store Banner

TV Banner

@Fleker And the updated AI: https://drive.google.com/file/d/0B3DhUCRnvErzYW9fYmZPYURKZGM/view?usp=sharing

Awesome! I'll integrate these tonight.
On Sat, Aug 15, 2015, 2:26 PM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker And the updated AI:
https://drive.google.com/file/d/0B3DhUCRnvErzYW9fYmZPYURKZGM/view?usp=sharing
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-131420632.

Changed the graphics and added an attribution in the More menu for bgiesing. Should I refer to you by a different name?

Nope that's good!
On Sun, Aug 16, 2015, 12:46 AM Nick<EMAIL_ADDRESS>wrote:

Changed the graphics and added an attribution in the More menu for
bgiesing. Should I refer to you by a different name?
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-131492313.

To unsubscribe click: http://email.giesing.cf/u/eJwljstOwzAQAL8muVGtN14_Dj70ARcQ7SUS9ILW9sYJbRSoWqTw9VRhDnMcTQ7GcMJ6CNv1822yp9bs7f5pfvWPD99v25-2wg1tmqmvmt0JxxczHg_vpfy2xw_8nA-uVBpGHs6rsjhNY90HYRANWaukCDJwo0V7VF2ixnVK2_oSLvJ1nu9tAOusZ4tGEaMgZnCRHPuYXGIkdDlTx-IRfCQdPaYO_lFKiRVKySMr45MAiSX29r605FdluPa3uExdQ4XrP6WGRVU

@Fleker Looks like you forgot to update it on the Source loading and stream start screens inside the Live Channels app.

Thanks for the heads up.

@Fleksy Do you need a transparent version or any background color changes in the logo? Some people were telling me that there's too much white space.

I can make a transparent version.

@Fleksy however, I have the original source files so it would be higher quality if I did it

Sure. If you can generate transparent versions of the logo I'll put them into the next release.

@Fleker That's the good part, it's transparent by default! All I had to do was change how it's exported!

PS. You might want to keep the white background version for the Play Store icon.

@Fleker I tried a variant and I need feedback.

I do like the second version. It'll provide good contrast as a small icon.

That one would be more for a launcher icon even though Android TV doesn't
use them.
On Sat, Aug 29, 2015, 11:29 AM Nick<EMAIL_ADDRESS>wrote:

I do like the second version. It'll provide good contrast as a small icon.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-136007501.

To unsubscribe click: http://email.giesing.cf/u/eJwljrluAkEQRL9mNzOanqungwkWzCFzSASWwVnPBcuhxQgC_72XdQWlKqn0VMlby1HWrZ80y2eH592HMZvbar0l3n9OF1N7XptKjlV3mr-Nd4vZqi8_X5tmH74r9b48TbaVFlduL6PD4LG71kcfZAooUWcTbLDZAZUIDkThYpMusb77e75dfnuYEOiQGA28RsJwAlMcOsVOWEiKdJ-0dBSzYBSKZCziXwBQiErOJBnsa2AyGibsLw340aF9HJ9hOPXwlWz-AImgRL8

Maybe that should replace the launcher banner as well.

Not really the correct styling for that...
On Sat, Aug 29, 2015, 11:49 AM Nick<EMAIL_ADDRESS>wrote:

Maybe that should replace the launcher banner as well.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-136008909.

To unsubscribe click: http://email.giesing.cf/u/eJwlTsFugzAU-xo4Vi8JyeMdcqDlMGmHqbtst-nxkrRoZbQUyravX8Qs2ZYs2XLwzrHosveH5nkZ8fNtfXr9WofDQy-_7x-PsWlf2N2_C9MeZ7hnazJhvLUTXbtjfwtrUcHA_WV32lTGoTx7MhgtUOycJk4umsAh1dZ1YDSqxOXkp3i9_BR6D4A1EqMEEpdQo1TCnYpg61ocgyJtVAUpj9lESkhLgn8opRJxRTlj5UhyJ6Jlwnxpm9-d-vm8dNup2Re6-QOLvEeO

Yes, but a similar design to that with correct dimensions and no drop shadow would make a nice banner.
In the meantime, I'll take the design as is and replace the current small icons in the app.

Added for the latest commit, 1.3.0

New icon design is really great however I thought the app was called Cumulus TV. The new icon has CUMULULUS TV with an extra UL in it.

Hmm. You're right.

@bgiesing would you mind correcting this?

Hey @Fleker, I know you have new graphics now but I just wanted to post another variation I made.

That's interesting, but I'm not sure it vibes with the rest of Android TV.
On Sat, Sep 12, 2015, 6:30 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

Hey @Fleker https://github.com/Fleker, I know you have new graphics now
but I just wanted to post another variation I made.
[image: cumulus tv app icon-v2]
https://cloud.githubusercontent.com/assets/7895463/9831107/3b6d48ce-590f-11e5-89da-6f8eb33b4f49.png
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139747572.

@Fleker I was mostly messing around with it but the idea was it to look like a TV with the grey background and the word being "lit up" by the shadow.

The notches along the border don't match the aesthetic very well.
On Sat, Sep 12, 2015, 10:52 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker I was mostly messing around with it
but the idea was it to look like a TV with the grey background and the word
being "lit up" by the shadow.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139781669.

I know I was experimenting with that part a lot.

It's a nice banner aside from that border.
On Sat, Sep 12, 2015, 10:59 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

I know I was experimenting with that part a lot.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139782764.

@Fleker Without the border

Yeah that looks nice.
On Sat, Sep 12, 2015, 11:06 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker Without the border
[image: cumulus tv app icon-v2]
https://cloud.githubusercontent.com/assets/7895463/9832108/ef42a10c-5935-11e5-9b48-845d4b6d5708.png
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139783053.

@Fleker And here's it in the banner size with no corners as that wouldn't fit with other banners

Very nice. Can you also make an icon for the mobile variant?
On Sat, Sep 12, 2015, 11:17 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker And here's it in the banner size with
no corners as that wouldn't fit with other banners
[image: cumulus tv tv banner-v2]
https://cloud.githubusercontent.com/assets/7895463/9832166/7dcac930-5937-11e5-81e0-f9baa16aa8cb.png
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139783540.

@Fleker 512x512

Cool. I'll integrate this in 1.3.5
On Sat, Sep 12, 2015, 11:46 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker 512x512
[image: cumulus tv icon-v2]
https://cloud.githubusercontent.com/assets/7895463/9832277/869c9ce2-593b-11e5-9a31-7ef5b0698079.png
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139788716.

I actually don't like it. I like the current graphics which are very
modern. No offense but this icon set and going seem like a huge step
backward. I'd like to just retain the purple current one.
On 13 Sep 2015 01:17, "Nick"<EMAIL_ADDRESS>wrote:

Cool. I'll integrate this in 1.3.5
On Sat, Sep 12, 2015, 11:46 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

@Fleker https://github.com/Fleker 512x512
[image: cumulus tv icon-v2]
<
https://cloud.githubusercontent.com/assets/7895463/9832277/869c9ce2-593b-11e5-9a31-7ef5b0698079.png
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-139788716.

 It also is poorly made (shadows not lined up) and is too generic.

Wow...What are you like... 10 years old?
I gave an opinion but seems like you got offended in the same way a kid
does. Reading your blog, you seem to comment a lot of the design language
of companies such as Google.
Here is some constructive criticism for you around your logo design. The
conjointed C in the logo is not clever. I don't see what it is suppose to
represent. I don't have a dip in the top of my TV set. And there is nothing
placed in that dip (ie. Small flekertech logo) . The choice of font is a
poor one and the use of color palette to split the lettering is not great
either. (Don't know of many, if any great companies using this technique at
all).
I don't think fleker should be changing the logo every release and instead
should be focusing on the application instead of what icon he is going to
use this week.
Lucky this isn't my project. I wouldn't be using anyone who is acting
childish towards views by the general public.... You could have taken this
as a feedback session to get someone else's views on how to improve
sometime rather than shoot them down.  If you read felker's other comments,
he remains professional about his response and explains why something isn't
going to work or at least tries what others suggest. Remember....
Professionals act as they must and not as they feel.

Nop it. Let's not have this degrade into arguments. I'm not the best designer, which is why I've been lenient with switching out logos. However Alan has a point that it keeps switching and so messes with the brand.
If people don't like this new logo as much as the current design, then I probably shouldn't change it.
Let's keep the discussion civil and work together to create great iconography and branding.

@alanmcramer Sorry, I was in severe pain when I wrote that due to a injury and wasn't thinking what I was writing as I was on medicine. However, my points were valid about it being generic and not lined up properly. A drop shadow is not supposed to start underneath the logo, it's supposed to be behind it like mine as it casts... well a shadow.
I will admit, my logo isn't the best; but compared to the other logo... That one is just too generic that nobody would remember it. Also, you said mine doesn't represent a TV set; well the current logo does even less. It's just text with a shadow. The logo has to be your first impression. I know many people that would look at that one and think that it's a crummy app when it isn't.
So, even if you don't use my logo... The current one still needs tweaking to improve the aesthetic of it and make it less generic. I would suggest to:

Fix the shadow
Maybe add some "antennas" since they symbolize TV for lots of people.
Maybe add a shape around it like a old-fashioned TV from the 1950s/60s.

Thought I would give it a go.  Cloud is used as Cumulus is a type of cloud and this is cloud TV.  Icon and Banner.  Using same font as current banner.
@Fleker if you want better quality version of the icon, let me know.

Hmm, I still kind of like the current icons.
On Oct 30, 2015 10:45 PM, "Alan Cramer"<EMAIL_ADDRESS>wrote:

[image: ctv_banner]
https://cloud.githubusercontent.com/assets/3284938/10861498/3b56a220-7fd1-11e5-850d-94bef97f494a.png
[image: cumulus_appicon]
https://cloud.githubusercontent.com/assets/3284938/10861500/51b68c06-7fd1-11e5-97d6-ed5ebf785460.png
Thought I would give it a go. Cloud is used as Cumulus is a type of cloud
and this is cloud TV. Icon and Banner. Using same font as current banner.
@Fleker https://github.com/Fleker if you want better quality version of
the icon, let me know.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/18#issuecomment-152688180.

@alanmcramer That's amazing.


Wrapper doesn't always find robots in team JARs

I downloaded all robots from LiteRumble (as of yesterday) and tested the wrapper on them. The wrapper did not produce any robots for the following JARs:
abc.ShadowTeam_3.83
bvh.team.Valkiries_1.0
cb.fire.FirestarterTeam_2.0
cx.mini.DemoniacNimrods_0.50
ethdsy.MalackaTeam_1.2
florent.XSeries.Xmen_0.9
gh.mini.GrubbmGroup_0.4
kawigi.micro.ArmyOfShiz_1.1
kawigi.sbf.TidalWave_0.8
kc.twins.GeminiTeam_2.1
kinsen.twin.SelcouthTeam_1.1
l337.L337Team_<IP_ADDRESS>
mn.CombatTeam_3.25.0
mn.nano.perceptual.ImpactTeam_1.3.0
mn.nano.perceptual.ImpactTwins_1.3.0
mn.SuperSittingDuckTeam_1.0.2
mn.SuperSittingDuckTwins_1.0.2
ms.AresHaikuTeam_0.3
myl.micro.TroodonPack_1.10
pedersen.ImWithDroidTeam_1.3
pedersen.ImWithStupidTeam_1.3

These are all teams with non-zero rating in LiteRumble, so I was expecting them to work. And some teams are working and producing their members.
It seems to me that the broken teams do not have .properties files for their robots, only .team files. I imagine that supporting them correctly might come down to the same work as is required for #4.

@Cu3PO42 Thank you for testing out the Robocode Bridge. Expect a lot of flaws, and it is good to get them listed.
I have not added team support to the bridge yet. But this is definitely something that must go into the bridge. 😊👍

The implementation of the legacy Robocode API does have a TeamRobot class, but I haven't verified whether it will work given that the wrapper is created correctly. I suppose we'll see once #4 is resolved.


Improving SemanticAnalyzer approach of validating ballerina file and error message with hint

Let's take following sample
import org.wso2.connectors.twitter;
function main (string[] args) {
twitter:Twitter twitterConnector;
message res;
json jsonRes;
twitterConnector = new twitter:Twitter(args[0], args[1], args[2], args[3]);
res = twitter:Twitter.tweet(twitterConnector, args[4]);
jsonRes = message:getJsonPayload(res);
system:println(json:toString(jsonRes));
}
Unless, if there aren't any visible default packages, the Semantic analyzer should throw the complete error stack while going through whole *.bal file rather throwing single error at once.
Then, if there is any error, its better if we can see what actions developer may have to take "with Hint"
Please refer mail "shall we improve error messages bit more descriptive (error hint)"

We've fixed the compiler to throw multiple errors now.


Java - Refactor CosmosDB repository to extend StacksCosmosRepository

[XXXX- - Please use the Work Item number and Title as PR Name, not subtasks]
📲 What
A description of the change.
🤔 Why
Why it's needed, background context.
🛠 How
Fix up class that is extended to be the Amido StacksCosmosRepository
👀 Evidence
Screenshots / external resources / links / etc.
Link to documentation updated with changes impacted in the PR
🕵 How to test
Notes for QA
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

/azp run

/azp run

/azp run


crouton integration not working (xiwi)

I'm using xiwi and today it stopped working.
From crosh as it tries to enter the chroot and fails:
chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/trusty...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP Wed Sep 30 16:08:52 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=8f7f09fd-3fa9-c04b-8582-dd9473131ef9/PARTNROFF=1 hashtree=PARTUUID=8f7f09fd-3fa9-c04b-8582-dd9473131ef9/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=fba3380780b8a60461ccb1e9b805f453cce97f52 salt=a94504d71605e7ccdc705586ac8d2651386881c9a4f32850841e9542cef25ee4" noinitrd vt.global_cursor_default=0 kern_guid=8f7f09fd-3fa9-c04b-8582-dd9473131ef9 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Oct  7 23:42:00 2015
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20150924014025~master:04ff0c11
release: trusty
architecture: amd64
xmethod: xiwi
targets: keyboard,unity,xiwi
host: version 7390.48.0 (Official Build) beta-channel samus
kernel: Linux localhost 3.14.0 #1 SMP Wed Sep 30 16:08:52 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Error: target STRING not available
Running exit commands...
/usr/bin/xinit: connection to X server lost
Hangup
Hangup
waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/trusty...
chronos@localhost / $
chronos@localhost / $ cat /etc/lsb-release
CHROMEOS_AUSERVER=https://tools.google.com/service/update2
CHROMEOS_BOARD_APPID={F67500C1-C6D8-5287-E4EC-F9BBB4AEE5C5}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={F67500C1-C6D8-5287-E4EC-F9BBB4AEE5C5}
CHROMEOS_RELEASE_BOARD=samus-signed-mpkeys
CHROMEOS_RELEASE_BRANCH_NUMBER=48
CHROMEOS_RELEASE_BUILD_NUMBER=7390
CHROMEOS_RELEASE_BUILD_TYPE=Official Build
CHROMEOS_RELEASE_CHROME_MILESTONE=46
CHROMEOS_RELEASE_DESCRIPTION=7390.48.0 (Official Build) beta-channel samus
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_PATCH_NUMBER=0
CHROMEOS_RELEASE_TRACK=beta-channel
CHROMEOS_RELEASE_VERSION=7390.48.0
DEVICETYPE=CHROMEBOOK
GOOGLE_RELEASE=7390.48.0

Hello, same issue but for ARM cpu (no Freon) is still present and marked as bug. #1937

There is a "hotfix" mentioned here: https://github.com/dnschneid/crouton/issues/1940

Thx partyewok.
It works although it is removed after every update.


Toolpad docs restructuring

As discussed, below is the new docs structure.
Getting Started
A quick brief on Toolpad

Overview
Installation
Build your first app (installation section to be linked)
Examples (list of examples from GitHub)
Roadmap

Concepts
It will have the 3 existing sections: Connecting to DS, Building UI, Data binding

Building UI (current canvas and component library section + page shell parameter)
Connecting to data (Queries: HTTP requests, Custom functions, Manually calling queries)
Managing state (current data binding section + page variables)
Deployment
Custom components
Theming (Move component styling here)

How-to guides
Narrow use cases, to solve immediate pains that come while building a Toolpad app. Eg:

Connect to databases
Delete a data grid row
Create custom columns (current data grid section)
Deploy to render.com
Embed applications
Add basic auth

Tutorials
How to build e2e app.
(I think we can invest on this later, as I would prefer these to be video tutorials)
Reference

File schema
Javascript API
Components
Configuration (env vars to configure Toolpad itself with)

@bharatkashyap I'll restructure the reference pages in https://github.com/mui/mui-toolpad/pull/2001


Duplicate layer

It seems that due to the touch ${BOOTAPP_PATH} command in the Dockerfile, an extra layer with the app size is created, as it can be seen in the history:
72a0755d3003        8 minutes ago       /bin/sh -c #(nop)  USER bootapp                 0B
a94d329e0707        8 minutes ago       |1 JAR_FILE=app.jar /bin/sh -c chmod 555 ${B…   105MB
a0ad70f84000        8 minutes ago       /bin/sh -c #(nop) COPY file:fb19d7e72a1fd509…   105MB
5ea40283ae2d        8 minutes ago       /bin/sh -c #(nop)  USER root                    0B
b8850db2ae57        8 minutes ago       /bin/sh -c #(nop)  ARG JAR_FILE=app.jar         0B
c9808f487b31        5 months ago        /bin/sh -c #(nop)  ENTRYPOINT ["/wrapper.sh"]   0B
...

Is that step necessary? Could we optimize it somehow?

Alright, thanks for the explanation.


Update support bot to include Governance team.

Note
This is a direct copy of va.gov-team ticket #40715
User Story
As a VFS team member, I want Collaboration Cycle and Platform Orientation in the support bot so that I can easily assign tickets to the Governance team.
Description
The support bot for #vfs-platform-support currently looks like this:

There are 2 fields: 1) "I need help from" and 2) "What is the nature of the request?"
Under "I need help from", we should remove the "Collab Cycle" option and instead have "Governance team"
Artifacts Needing Updates
Slack support bot fields

Slack documentation: Viewing and updating support assignments

Tasks
N/A
Acceptance Criteria

[ ] Slack support bot fields lists Governance team

How to prepare this issue

[ ] Attach story to appropriate Initiative or Quarterly Tech-Debt Epic.
[ ] Add User Story, description, tasks, and Acceptance Criteria
[ ] Add any additional appropriate labels.
[ ] Once all above items are checked, add the 'Ready' label.
[ ] Ticket has been discussed as a team at Planning.
[ ] Ticket has been sized as a team.
[ ] Ticket has been assigned to a Sprint.
[ ] Once assigned to the upcoming or current Sprint, move to the Planned pipeline.
[ ] Once assigned to the upcoming or current Sprint, add assignee and specify Peer Reviewer.

@shiragoodman when someone selects the "Governance team" option should the request be assigned to the @vsp-product-support-members slack group, or is there a different group that should be assigned?

@powellkerry @vsp-product-support-members is the name of our OLD Slack group, when we were still Product Support Team. Now that we're Governance team, we use the Slack group @platform-governance-team-members.

@shiragoodman Governance Team has been added and Collab Cycle has been disabled in the support slack-bot


Convert running app to Riofile

Would be nice if an application built with run or build could then be exported to Riofile

App is the aggregation of service revisions, which is auto-generated by management control plane. For example, if you have two services revision
app: "my-app"
version: v0
weight: 50%

app: "my-app"
version: v1
weight: 50%

Then Rio will generate an App called my-app which manages all the revisions, and it is up to admin to allocate weight for each revision. So essentially If you want to export an Application, export all the revisions should be enough and if you have all the revisions, App will always generated to reflect your current revision and weight you allocated

@StrongMonkey so after digging in and getting my way around the project. I've discovered you already have this:
running: rio export --stack=1 default
displays:
services:
  demo:
    image: chonthu/demo:v1
    ports:
    - "8080"

I'm assuming based on your comment above, you want all revisions to also be part of this export. with weights? Does the riofile have a spec I could follow for this addition or is that part of the task at hand.

@chonthu Check out this https://github.com/rancher/rio/blob/master/docs/README.md#riofile-reference. In riofile you can specify app, revision, weight to each service.

Daishan provided some information. Please do re-open the issue if there are any remaining questions. I will close this issue for now.


Select Debug or Release config for Visual Studio

I still need to support Release build in CodeSmithyMake but I'm going to pause this until I can easily build and test CodeSmithyMake.


Addpath May Not Work Properly

If the end file location is not in the current working directory of MATLAB, ReadYamlRaw() and WriteYaml() may not properly import snakeyaml because the javapath was not added correctly.
This is due to these lines:
 [pth,~,~] = fileparts(filename);
...

...
if not(ismember(dp, javaclasspath ('-dynamic')))
        	javaaddpath(dp); % javaaddpath clears global variables...!?
        end

Notice how the script is looking at the current directory of the file rather than the current working directory.

The above issue can be fixed by the following code replacing the if statement above:
if not(ismember(dp, javaclasspath ('-dynamic')))
       javaaddpath(dp); % javaaddpath clears global variables...!?

elseif not(ismember(fullfile(pwd,'external\snakeyaml-1.9.jar'),javaclasspath ('-dynamic')))
       javaaddpath(fullfile(pwd,'external\snakeyaml-1.9.jar'));
end

I would recommend each user check this and if the user is going to be using ReadYaml() and WriteYaml() in a specific way (for instance, I will always have the ReadYaml() and WriteYaml() in a folder which the external folder containing snakeyaml-1.9.jar is inside. Therefore, the above code always should work.
I swapped the order which the code checks locations to improve speed for myself, but checking the output/input file directory first also works. Either way, I would recommend checking the working directory be standard implementation, while users be encouraged to add other locations for their various arrangements of files. If they so choose, they could also do a search for the file within or around the current working directory. However, that is obviously costly for processing time.


[feature]: combine [ActionController] with [ScrollController] to control the slidable panel centrally

Currently, users must create and use ScrollController and ActionController separately, like:

create controllers

  final SlideController _slideController = SlideController();
  final ActionController _actionController = ActionController();

Particularly, users must manually reset ActionController when dismissing the slidable panel; otherwise, the slidable panel would keep the previous state changed by ActionController when opening the panel again.

use controllers

_slideController.dismiss(
   onDismissed: () {
       _actionController.reset();
   }
);

Alos, users must bind the ActionController to SlideActionPanel manually, which is error-prone, like:
preActionPanel: SlideActionPanel(
            actionLayout: ActionLayout.spaceEvenly(ActionMotion.scroll),
            slidePercent: _slideController.slidePercent,

            /// bind [ActionController] with the [SlideActionPanel]
            controller: _actionController,
            actions: [
              TextButton(
                onPressed: () {
                  _actionController.toggle(0);
                },
                style: TextButton.styleFrom(
                  backgroundColor: Colors.greenAccent,
                  shape: const RoundedRectangleBorder(),
                ),
                child: const Text("Archive"),
              ),
              TextButton(
                onPressed: () {
                  _actionController.toggle(1);
                },
                style: TextButton.styleFrom(
                  backgroundColor: Colors.redAccent,
                  shape: const RoundedRectangleBorder(),
                ),
                child: const Text("Delete"),
              ),
            ],
          ),

Hopefully, users should only use a single SlideController to control sliding and expanding.

fix in 6fd3f32dd4dd547915efc92bce1923033d5b04ea


[AutoPR monitor/resource-manager] Fix Go SDK generation

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3869

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2679


Upgrade addon once Ember 2.12 released

Once Ember 2.12 will be released I will upgrade addon to the latest version of Emebr-cli.

What about import perfect-scrollbar from the npm package instead of bower?
The trend is to completely remove bower usage.

@ludalex yes I will make this change to import perfect-scrollbar from node_modules.


Add ability to say no to having volunteering or school experience

Context
Candidates should be able to add whether or not they have volunteering or experience in school roles.
Changes proposed in this pull request
This PR is the first slice for adding this section of the application.
When adding volunteering, the candidate is first presented with a page which asks whether or not they have any experience. If they say no, they are sent to the review page with content about how to gain school experience. Currently if you say yes, nothing happens.
Screenshots

Guidance to review
Pretty much followed how work history has implement its first page of entering the length of working.
Link to Trello card
193 - Adding school and volunteering experience

When I select "Yes" and click continue I can't proceed: I see the same question again?

When I select "Yes" and click continue I can't proceed: I see the same question again?

That's exactly what is expected. This PR is a first slice and only includes the "No" path as stated in the PR description.
I have a PR at the ready to be opened for adding a volunteering role as soon as this has passed review.

When I select "Yes" and click continue I can't proceed: I see the same question again?

That's exactly what is expected. This PR is a first slice and only includes the "No" path as stated in the PR description.
I have a PR at the ready to be opened for adding a volunteering role as soon as this has passed review.

Sorry — can't read! 🙄


Renesas R-Car add I2C driver

This PR add I2C driver for the Renesas R-Car SoC family.
It has been tested on H3ULCB and Ebisu board which are based on R-Car Gen3 SoC.
This driver has mainly been tested by running zephyr shell and calling for I2C shell commands.
Both I2C2 & I2C4 buses are usable and tested.
Master mode with 7 bit addressing is supported at standard (100 kbit/s) and Fast (400 kbit/s) speeds. By default, the I2C module is configured in Standard speed (defined in device tree).

Just fixed the driver to send a STOP signal even
if the message is empty.
This fixes the problems encountered with the
i2c scan tool which was not able to work properly.


Quick Menus: Menu Positioning

Context

RTL mode didn't look right with the quick action menu

Summary

Add the direction awareness to switch the absolute position of the quick action menu when RTL is on.

Relevant Technical Choices

wrapping the quick action area with DirectionAware swaps the positioning in RTL mode.

To-do

User-facing changes
Quick action menu in LTR mode:

Quick action menu in RTL mode:

Testing Instructions

QA

[x] This is a non-user-facing change and requires no QA

UAT

[x] UAT should use the same steps as above.

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Resolves #7510

Nice fix - LTR looks great. Zooming looks a little strange though. Should we hide the quick actions when the document overflows or keep it over the document? Maybe a question for design

This is such a great catch, @samwhale !! I don't think zoom was done yet when these menus were given to us. Since the design team's out this week I vote yes let's not show the menu on zoom. But let's do that work separate so if I'm overruled we can untangle the update easier. I'll make a ticket for hiding on zoom.

https://user-images.githubusercontent.com/41136059/118718076-b1953a80-b7db-11eb-8c8a-b5c0b6c28aa4.mp4
Added some changes that allow for different placement on the tooltip for the context menu.

Works great!


Optimize LineCache

Currently the LineCache struct doesn't really simplify that much except applying an update when we receive one from xi. It was copied here from xi-term as is but i think we can do better.
I wont have time to work on this for a while I'm just Noting some stuff here so i can remember whenever i get back to it. But if anyone who stumbles by wants to take a crack at it be my guest PR's are always welcome.

[ ] track changed lines(lines that need to be re-rendered)
This is harder than you would think(or i'm an idiot :wink: ), xi update's are seen as a function from old cache state to new, so figuring out exactly when a line number has changed is not as easy as it first seems.
[ ] Add method to retrieve only changed lines

As i think of more way's to improve the line cache over the next couple month's as i mess with xi-term, ill mark down any other optimizations that could be made here

It'd also be nice if LineCache::update were async - right now I'm having problems with styling in big documents (e.g. in gxi's edit_view.rs with Rust syntax highlighting enabled - when I put a " somewhere Xi resends me all the lines whose style has changed (read: all following lines), which can block my UI for a few seconds :c). I'm honestly not quite sure how to handle this, since I guess that I'd have to be very careful at making it async to not cause inconsistencies (e.g. user inserts a ", but due to the styling updates rushing in that character isn't registered immediately, then the user presses backspace - what happens?).

Updating the cache is CPU bound task, so we cannot run it on the tokio event loop directly: it would block the loop at each update. If we want to make it asynchronous we could update the cache in a background thread for instance, send an event when it's ready, and re-draw when we see this event. I'm not sure this is something xrl should provide to be honest.
The best thing we could do at xrl level I think is optimizing the updates.

I guess that I'd have to be very careful at making it async to not cause inconsistencies (e.g. user inserts a ", but due to the styling updates rushing in that character isn't registered immediately, then the user presses backspace - what happens?)

Assuming the updates sent by the core are queued correctly, there's no way to apply an update partially or multiple updates at the same time thanks to the language's safety: the compiler will prevent you from mutating the cache in two places simultaneously (well unless you use a cell, but then you'd have a panic at runtime).

For reference, here is how the cache update is done in xi-macs. I might be interesting to see if they have optimizations we don't: https://github.com/xi-editor/xi-mac/blob/d4ecbcad77928de8e60c7dd33dbb42da9a72a6f8/Sources/XiEditor/LineCache.swift#L103-L208

it would hlock the loop at each update

Oh, alright, wasn't sure how much Tokio's threadpool and handle and how expensive spawning a new thread is - but it seems like it's pretty cheap, so I guess I'll go with that.

there's no way to apply an update partially or multiple updates at the same time thanks to the language's safety

Yup, I was more talking about this from a user's perspective: If the user inputs a ", then presses backspace while the linecache is still updating the " will be deleted even though only the char before that is being displayed. Since the update shouldn't ever take that long that the user wouldn't expect that the " is being deleted this shouldn't be a problem though, I guess.
I'll take a look at how xi-max does it, I suppose.
I also don't think xrl should provide this. Although it's a very common thing to do every frontend needs to do different things to redraw and spawning a thread for the update isn't too hard.

FWIW this was easy to implement in gxi, see https://github.com/Cogitri/gxi/commit/9315fbe25d21f73a219499e824e8cab7df3e0ecf . Thanks for the pointer :)

For reference, here is how the cache update is done in xi-macs. I might be interesting to see if they have optimizations we don't: https://github.com/xi-editor/xi-mac/blob/d4ecbcad77928de8e60c7dd33dbb42da9a72a6f8/Sources/XiEditor/LineCache.swift#L103-L208

FWIW gxi's previous linecache seems to be very similiar to xi-mac's. I'll spin up some benchmarks of xrl with its current implementation and gxi's previous linecache in a bit. See:
https://github.com/Cogitri/gxi/blob/v0.8.1/src/gxi-linecache/src/linecache.rs

This is probably a very stupid question, as I have not really dug deep into xrl's code base, but currently the LineCache consists of a Vec<Lines> structure.
Wouldn't it make more sense to have a HashMap/IndexMap with the line number as key and the Line as value?
I'm thinking of situations where one jumps through the file (searches, goto line x, ...) and skipping huge chunks of the file.
E.g. starting at the beginning of the file and immediately jump to line 130, I get
self.cache.lines()
           .iter()
           .map(|x| format!("{}", x.line_num.unwrap_or(0)))
           .collect::<Vec<_>>()
           .join(" ")
-----------
current lines 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3
3 34 35 36 37 38 39 40 41 42 43 44 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 12
5 126 127 128 129 130 131 132 133

There I miss a lot of lines in between, so the Vec-index doesn't help me at all and I have to look at each Line individually to check their associated line number.
Or am I missing something?

This is probably a very stupid question

No worries, please do ask these kinds of questions, it's very nice to hear an "oursiders" questions to get different views of one's own work :)

Wouldn't it make more sense to have a HashMap/IndexMap with the line number as key and the Line as value?

Not all Lines have a linenumber though, soft broken lines don't have one.

Or am I missing something?

I'm somewhat sure that the Vec-index should do the trick (and sort of automagically work around soft broken lines), but you're encountering a bug in xrl's linecache (see #15). Could you maybe try again with Tau's linecache, where this should work. When I have a bit more time I'll try to fix xrl's linecache and switch Tau over to that. In Tau I do the following during drawing:

Figure out the first and last line to draw
Draw the linecount
2a) For that, fetch first to last line and draw line_num if it is some (so that soft broken lines don't have a line number)
Draw line.text on the screen. As previously noted we automagically work with soft broken lines. If first_line is 30 and last_line is 70 we fetch 40 lines, but there might be x amount of soft broken lines (without a line_num) in there, but we don't mind because we still only draw 40 lines (so everything that fits on the view).

Could you maybe try again with Tau's linecache, where this should work

As its not a drop in replacement, I would need to adjust a bunch of stuff, for which I currently have no time, unfortunately.
But I read quickly into that linecache. Seems to me like you are basically using the Vec, but with an Option<Line> instead of the Line directly. And then fill the gaps with Nones, if there are any (due to jumping around in the file).
If I understood that correctly, somehow I'm a bit afraid of the performance impact for very large files and big jumps (e.g. open a 200MB file and jump directly to the end of that file. Then tens of thousands of Nones would have to be added to the Vec).

As its not a drop in replacement, I would need to adjust a bunch of stuff,

Ah, I think it's just replacing linecache.lines.get() with linecache.get_line()

Then tens of thousands of Nones would have to be added to the Vec

Yup, it's not optimal but it works whereas xrl currently bugs out it seems. I'll try to look into xrl's linecache before I go on holidays - but I'm not quite positive here to get the line_num from for lines which are soft broken, since those don't have a line number. And what number should they have? They can't just have the same number, they mustn't have previous_number + 1 since you'd get wrong results then:
line 238
line 238 (broken)
line 238 (broken)
line 239
We can't make that 238,239(actually 238),240(actually 238),241(actually 239) because then trying to work with line 239 wouldn't give correct results (e.g. when trying to measure its width)


pull request for e2e test at 11/21/2016 00:26:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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.


add yarn list output

Deploy preview for recalc ready!
✅ Preview
https://recalc-14h3cwy6v-tervay.vercel.app
Built with commit f50305b96c548a0c1d0f5868de4fed2ff0582244.
This pull request is being automatically deployed with vercel-action


Masking

e2e tests now all pass locally with weird sizes, so it's ready for review. Bu I'll still wait until e2e fixed in main before merging.