NetCDF 4.9.0: nc_def_var_fletcher32(ncid, varid, NC_NOCHECKSUM) activates check sums

On Linux, when I call nc_def_var_fletcher32(ncid, varid, NC_NOCHECKSUM), a subsequent call to  nc_inq_var_fletcher32 returns  NC_FLETCHER32 . Apparently check summing is activated. Under NetCDF 4.8.1, nc_inq_var_fletcher32 returns NC_NOCHECKSUM as expected. This causes some test failures in my Julia package.

the version of the software with which you are encountering an issue

NetCDF 4.9.0

environmental information (i.e. Operating System, compiler info, java version, python version, etc.)

Ubuntu 18.04, gcc 7.5.0 with system HDF5 ( libhdf5-serial-dev ,1.10.0)

a description of the issue with the steps needed to reproduce it

The program test_fletcher32.c (apated from examples/C/simple_xy_wr.c) shows this behavior:
$ gcc test_fletcher32.c  $(/home/abarth/opt/netcdf-4.9.0/bin/nc-config --cflags --libs )
$ LD_LIBRARY_PATH=/home/abarth/opt/netcdf-4.9.0/lib ./a.out
mode 1
expected mode 0
*** SUCCESS writing example file simple_xy.nc!

$ gcc test_fletcher32.c  $(/home/abarth/opt/netcdf-4.8.1/bin/nc-config --cflags --libs )
$ LD_LIBRARY_PATH=/home/abarth/opt/netcdf-4.8.1/lib ./a.out
mode 0
expected mode 0
*** SUCCESS writing example file simple_xy.nc!

Test program test_fletcher32.c
/*! \file
An example program demonstrating a simple 2D write.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.

See netcdf-c/COPYRIGHT file for more info.
*/

#include <stdlib.h>
#include <stdio.h>
#include <netcdf.h>

/* This is the name of the data file we will create. */
#define FILE_NAME "simple_xy.nc"

/* We are writing 2D data, a 6 x 12 grid. */
#define NDIMS 2
#define NX 6
#define NY 12

/* Handle errors by printing an error message and exiting with a
 * non-zero status. */
#define ERRCODE 2
#define ERR(e) {printf("Error: %s\n", nc_strerror(e)); exit(ERRCODE);}

int
main()
{
   /* When we create netCDF variables and dimensions, we get back an
    * ID for each one. */
   int ncid, x_dimid, y_dimid, varid;
   int dimids[NDIMS];
   int fletcher32p;

   /* This is the data array we will write. It will be filled with a
    * progression of numbers for this example. */
   int data_out[NX][NY];

   /* Loop indexes, and error handling. */
   int x, y, retval;

   /* Create some pretend data. If this wasn't an example program, we
    * would have some real data to write, for example, model
    * output. */
   for (x = 0; x < NX; x++)
      for (y = 0; y < NY; y++)
	 data_out[x][y] = x * NY + y;

   /* Always check the return code of every netCDF function call. In
    * this example program, any retval which is not equal to NC_NOERR
    * (0) will cause the program to print an error message and exit
    * with a non-zero return code. */

   /* Create the file. The NC_CLOBBER parameter tells netCDF to
    * overwrite this file, if it already exists.*/
   if ((retval = nc_create(FILE_NAME, NC_CLOBBER | NC_NETCDF4, &ncid)))
      ERR(retval);

   /* Define the dimensions. NetCDF will hand back an ID for each. */
   if ((retval = nc_def_dim(ncid, "x", NX, &x_dimid)))
      ERR(retval);
   if ((retval = nc_def_dim(ncid, "y", NY, &y_dimid)))
      ERR(retval);

   /* The dimids array is used to pass the IDs of the dimensions of
    * the variable. */
   dimids[0] = x_dimid;
   dimids[1] = y_dimid;

   /* Define the variable. The type of the variable in this case is
    * NC_INT (4-byte integer). */
   if ((retval = nc_def_var(ncid, "data", NC_INT, NDIMS,
			    dimids, &varid)))
      ERR(retval);

   if ((retval = nc_def_var_fletcher32(ncid, varid, NC_NOCHECKSUM)))
      ERR(retval);

   if ((nc_inq_var_fletcher32(ncid, varid, &fletcher32p)))
      ERR(retval);

   printf("mode %d\n",fletcher32p);
   printf("expected mode %d\n",NC_NOCHECKSUM);

   /* End define mode. This tells netCDF we are done defining
    * metadata. */
   if ((retval = nc_enddef(ncid)))
      ERR(retval);

   /* Write the pretend data to the file. Although netCDF supports
    * reading and writing subsets of data, in this case we write all
    * the data in one operation. */
   if ((retval = nc_put_var_int(ncid, varid, &data_out[0][0])))
      ERR(retval);

   /* Close the file. This frees up any internal netCDF resources
    * associated with the file, and flushes any buffers. */
   if ((retval = nc_close(ncid)))
      ERR(retval);

   printf("*** SUCCESS writing example file simple_xy.nc!\n");
   return 0;
}

output of `ncdump -s` of the file generated by NetCDF 4.9.0
netcdf simple_xy {
dimensions:
	x = 6 ;
	y = 12 ;
variables:
	int data(x, y) ;
		data:_Storage = "chunked" ;
		data:_ChunkSizes = 6, 12 ;
		data:_Fletcher32 = "true" ;
		data:_Endianness = "little" ;

// global attributes:
		:_NCProperties = "version=2,netcdf=4.9.0,hdf5=1.10.0" ;
		:_SuperblockVersion = 0 ;
		:_IsNetcdf4 = 1 ;
		:_Format = "netCDF-4" ;
data:

 data =
  0, 1, 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, 33, 34, 35,
  36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
  48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
  60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71 ;
}

It was a typo. I will put up a fix shortly, but you can test it by:

edit libhdf5/hdf5var.c
At about line 545 change:

    if (fletcher32 && fletcher32) {
to
    if (fletcher32 && *fletcher32) {

Thanks, indeed! Now it works.
$ LD_LIBRARY_PATH=/home/abarth/opt/netcdf-4.9.0/lib ./a.out
mode 0
expected mode 0
*** SUCCESS writing example file simple_xy.nc!

Thanks a lot for implementing this fix!


entity is now table

Based on the fact that "Some terminology in Microsoft Dataverse has been updated. For example, entity is now table and field is now column" it would be great if this page can be updated to reflect the name changes. Thank you

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7eaca9c5-4bd8-edea-a454-8e11602cdd37
Version Independent ID: 0c75fce8-0717-82a2-2742-9ec7cc35b25e
Content: Microsoft Dataverse entities - Power Apps
Content Source: powerapps-docs/developer/data-platform/entities.md
Service: powerapps
GitHub Login: @mayadumesh
Microsoft Alias: jdaly

@MichaelWeberMSFT Thanks for reaching us. We are in the processing of updating the docs with the latest terminology changes. We are updating it in a phased manner. Closing the issue. If you need further help, please reopen or create a new issue.


Typo in description for "baseUrl" compiler option

The baseUrl compiler option: "specify the base directory to resolve non-absolute module names". Or if you prefer: to resolve relative module names.
But the current description found in the comments of an automatically generated tsconfig.json says "to resolve non-relative module names", which is the opposite. And the same description pops up when you hover over the option.
Now, I tried to do something about it, but I need some help.
In the repo there are few places with files containing the wrong description outlined above:

a few .js files in lib/, which I am not sure if they need to be touched as the CONTRIVUTING.md says :

"The files in lib/ are used to bootstrap compilation and usually should not be updated unless publishing a new version or updating the LKG."

a src/compiler/diagnosticMessages.json and a src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl. The CONTRIBUTING.md here says:

All strings the user may see are stored in diagnosticMessages.json.
If you make changes to it, run gulp generate-diagnostics to push them to the Diagnostic interface in diagnosticInformationMap.generated.ts.

But after modifying diagnosticMessages.json and running gulp generate-diagnostics no changes are made to the repo.

Here is the output of the command

sheikyerbouty@myhardware:~/Desktop/PR/TypeScript (main)$ gulp generate-diagnostics
[22:17:06] Using gulpfile ~/Desktop/PR/TypeScript/Gulpfile.js
[22:17:06] Starting 'generate-diagnostics'...
[22:17:06] Starting 'buildScripts'...
[22:17:06] Finished 'buildScripts' after 337 ms
[22:17:06] Starting 'generateDiagnostics'...
[22:17:06] > /home/sheikyerbouty/.nvm/versions/node/v16.14.0/bin/node scripts/processDiagnosticMessages.js
src/compiler/diagnosticMessages.json
Reading diagnostics from src/compiler/diagnosticMessages.json
[22:17:06] Finished 'generateDiagnostics' after 180 ms
[22:17:06] Finished 'generate-diagnostics' after 521 ms

a few tsconfig.json in tests/baselines/reference/tsConfig/ and a few .js files in tests/baselines/reference/tscWatch/programUpdates/, which since are in a tests folder I guess they should not be modified before making changes that need to be tested.

Speaking of tests, running gulp runtests-parallel froze my laptop for 52 minutes, reporting three tests failing because of a 40 seconds timeout.
Anyway so far I only fixed the description in src/compiler/diagnosticMessages.json.
What else should be done here?

Closing to not pollute TypeScript issues. Maybe some day I'll revisit this.


[master] Upgrade to latest dependencies

Produced via:
./hack/update-deps.sh --upgrade
./hack/update-codegen.sh

Cron. -knative-prow-robot
/cc knative/serving-writers knative/eventing-writers
/assign knative/serving-writers knative/eventing-writers

/lgtm
/approve

/lgtm
/approve


Fixed Util.cs ToUnixTimeMillisecondsPoly() decimal point

Fixed ToUnixTimeMillisecondsPoly() to return a long, since decimal point breaks before/after paging.
This could be a breaking change, since the extension method is public. If this potentially breaking change is undesirable, we can keep the method signature.

Thanks, I don't think (hope) anyone is using the Util Class 😅


Question

Hello, thank you for this beautiful library.
Please a have a question, is there any way to make the dimensions same (width = height) when cropping the image ?
thank you

Hey
though a bit late but someone else might find this useful
you can use"setAspectRatio(1,1)". therefore you force same width and height or a 1:1 aspect ratio.
            CropImage.activity()
                    .setGuidelines(CropImageView.Guidelines.ON)
                    .setCropMenuCropButtonIcon(R.drawable.checked)
                    **.setAspectRatio(1,1)**
                    .start(this)

Thank you so much
On Wed, Aug 12, 2020 at 9:15 PM Amin Takhti Nejad<EMAIL_ADDRESS>wrote:

Hey
though a bit late but someone else might find this useful
you can use"setAspectRatio(1,1)". therefore you force same width and
height or a 1:1 aspect ratio.
        CropImage.activity()
                .setGuidelines(CropImageView.Guidelines.ON)
                .setCropMenuCropButtonIcon(R.drawable.checked)
                **.setAspectRatio(1,1)**
                .start(this)

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ArthurHub/Android-Image-Cropper/issues/760#issuecomment-673087816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCAIVCCB536KBIXRBMXOKLSALZ4RANCNFSM4NC2BE7A
.

Hey!
I start a new project to handover this library
https://github.com/CanHub/Android-Image-Cropper
The ideia is that we keep improving because this project don’t have updates since 2018
Hope I can count with your help.
Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract


How to writing tests also with typescript or es6?

You can probably read on the Internet how to write tests, fusebox has nothing to do with the issue

I am not talking about how to running tests, but writing tests but still can be tests with fuse-box

Fusebox bundle is like any other JavaScript module, so nothing is changing there. Nothing at all, you can use any tutorial


rpi-update: Retrieve 100 artifact results from Github.

Github pages the artifact results, by default only giving the latest 30, but can be increased to 100 per page. If your build has fallen off that list, then tough luck.
Ideally we want to iterate through the pages as well by adding &page=N, but that can come later.
https://github.com/raspberrypi/rpi-update/issues/21

Looks good to me. I was concerned about the extra time to download all 100 records, but it's 74KB and takes 0.4s.

Even if it takes a couple of seconds, then we probably ought to be doing that more thorough search if you've asked for a specific branch.
As you're probably aware, with Nick having pushed so many updates to a PR recently, it had bumped rpi-6.5.y off the first page of 30. (I think it may have been beyond the first 100).


Make "local and remote" the default location for commits, and DRY up commit tables

make local and remote the default location for commits
remove location from the commits table if all commits are local and remote

I'm against this because to me its not a natural default. I'd be okay with some thing like
And I have the following commits in my local and remote repositories

Where we include the locations in the step, thus keeping it explicit but allowing it to be dried up.
Another way to dry it would be to move location in front of branch which I am in favor of.

I like putting the default location into the scenario title!
Here is how putting the location first would look like in https://github.com/Originate/git-town/blob/master/features/git-sync/all_branches/feature_branch_merge_main_branch_conflict/with_tracking_branch_updates/first_branch/with_open_changes.feature#L5-L10:
Currently
And the following commits exist in my repository
  | BRANCH   | LOCATION         | MESSAGE                | FILE NAME            | FILE CONTENT            |
  | main     | remote           | main commit            | conflicting_file     | main content            |
  | feature1 | local            | feature1 local commit  | conflicting_file     | feature1 local content  |
  |          | remote           | feature1 remote commit | feature1_remote_file | feature1 remote content |
  | feature2 | local and remote | feature2 commit        | feature2_file        | feature2 content        |

New
And the following commits exist in my repository
  | LOCATION         | BRANCH   | MESSAGE                | FILE NAME            | FILE CONTENT            |
  | local and remote | feature2 | feature2 commit        | feature2_file        | feature2 content        |
  | local            | feature1 | feature1 local commit  | conflicting_file     | feature1 local content  |
  | remote           | main     | main commit            | conflicting_file     | main content            |
  |                  | feature1 | feature1 remote commit | feature1_remote_file | feature1 remote content |

Closing because this is controversial with unclear benefits


Add vmd-action to the docs

In readme and get started it should have it's own block, like the vscode extension but more verbose and a screenshot with the badges.
Waiting for https://github.com/brenoepics/vmd-action/issues/4 to be implemented

https://github.com/brenoepics/vmd-action/issues/4 is implemented!


[BUG] Full migration fails when importing the config from source BIG-IP 6900S v11.6.3

Describe the bug
Full migration fails when importing the config from source BIG-IP 6900S v11.6.3
To Reproduce
Steps to reproduce the behavior:
In a full migration from a physical BIG-IP 6900S running v11.6.3 to a VE running the same version I receive the following error. I am not able to import the config from the source BIG-IP using F5 journeys
Configuration loading failed
value too long for type character varying(5)

log error:
DEBUG 2022-03-23 07:18:58,491 sftp [chan 5] stat(b'/var/local/ucs/CEN-LB1l-20220323-071848.ucs')
DEBUG 2022-03-23 07:18:58,493 sftp [chan 5] stat(b'/var/local/ucs/CEN-LB1-20220323-071848.ucs')
DEBUG 2022-03-23 07:18:58,494 sftp [chan 5] open(b'/var/local/ucs/CEN-LB1-20220323-071848.ucs', 'rb')
DEBUG 2022-03-23 07:18:58,496 sftp [chan 5] open(b'/var/local/ucs/CEN-LB1-20220323-071848.ucs', 'rb') -> 00000000
DEBUG 2022-03-23 07:18:58,793 sftp [chan 5] close(00000000)
DEBUG 2022-03-23 07:18:58,795 channel [chan 6] Max packet in: 32768 bytes
DEBUG 2022-03-23 07:18:58,795 channel [chan 6] Max packet out: 32768 bytes
DEBUG 2022-03-23 07:18:58,796 transport Secsh channel 6 opened.
DEBUG 2022-03-23 07:18:58,797 channel [chan 6] Sesch channel 6 request ok
DEBUG 2022-03-23 07:18:58,798 channel [chan 6] EOF sent (6)
DEBUG 2022-03-23 07:18:58,807 channel [chan 6] EOF received (6)
ERROR 2022-03-23 07:19:00,115 handlers Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.StringDataRightTruncation: value too long for type character varying(5)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 502, in dispatch
    response = handler(request, *args, **kwargs)
  File "/code/journeys/backend/views.py", line 399, in source
    controller.initialize(
  File "/code/journeys/controller.py", line 171, in initialize
    self._reformat_input()
  File "/code/journeys/utils/perf.py", line 18, in wrap
    return f(*args, **kw)
  File "/code/journeys/controller.py", line 229, in _reformat_input
    self.read_config()
  File "/code/journeys/utils/perf.py", line 18, in wrap
    return f(*args, **kw)
  File "/code/journeys/controller.py", line 260, in read_config
    source_device.save()
  File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 753, in save
    self.save_base(using=using, force_insert=force_insert,
  File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 790, in save_base
    updated = self._save_table(
  File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 895, in _save_table
    results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 933, in _do_insert
    return manager._insert(
  File "/usr/local/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 1254, in _insert
    return query.get_compiler(using=using).execute_sql(returning_fields)
  File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1397, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.DataError: value too long for type character varying(5)

ERROR 2022-03-23 07:19:00,116 log Internal Server Error: /sessions/1/source

Expected behavior
Configuration load
Context

Please specify, app version:
Journeys Release 3.3.0

And Platform version of the system you want to migrate.
attempting to migrate BIG-IP 6900S v11.6.3  to BIG-IP VE running the same version on the physical platform i5800

@martino76 could you please create an SR ticket and upload the problematic UCS file for us to investigate? https://www.f5.com/services/support

Looks like an error trying to retrieve F5 platform ID from the UCS. Usually this follows the format of a letter followed by three numbers, which for the i5800 platform should be C119, but somehow this seems to be different here, and I cannot reproduce the issue right now.
An SR ticket uploading the UCS might not be necessary - could you first paste in here contents of the /PLATFORM file on your source device? It should look somewhat like this:
platform=C119
family=0xF8000000
host=C119
systype=0x9c

If the platform value looks nothing out of the ordinary, I'd also ask you to list us the contents of the platform file within the UCS, should have the same format as above:
tar -axf YOUR_UCS.ucs config/.ucs_platform -O

@martino76 could you please create an SR ticket and upload the problematic UCS file for us to investigate? https://www.f5.com/services/support

I did already this is the SR C3780962.
platform=Gemini
family=0xA0000000
host=Gemini
systype=0x6c

I have uploaded ucs file to the case C3780962.

I solve the issue by changing the platform name.


Starting Gamecube games leads to error

System: AOSP 13
Emulator: Dolphin Emulator
Description: Starting a game through Daijishou leads to an error. When starting directly via Dolpin, it works.

The error message could be from Dolphin, but I'm not sure.
adb log:
04-02 17:41:11.780 13537 13537 D daijishou_debug: AmStart args: [-n, org.dolphinemu.dolphinemu/.ui.main.MainActivity, -a, android.intent.action.MAIN, -e, AutoStartFile, content://com.android.externalstorage.documents/tree/primary%3Aroms%2Fngc/document/primary%3Aroms%2Fngc%2FMario%20Kart%20Double%20Dash%20%5BGM4P01%5D.rvz]
04-02 17:41:11.781  1608  2624 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN flg=0x10000001 cmp=org.dolphinemu.dolphinemu/.ui.main.MainActivity (has extras)} from uid 10255

Let me know if you need any further information.

That's a Dolphin error not Daijishou. It either means the file doesn't exist, Dolphin doesn't have permissions to the folder, or wrong am start argument was used.

Make sure Dolphin has permissions to the same folder as the one picked on Daijishou.
Try using the official dev build of Dolphin
Try switching {file.path} to {file.path} or vice-versia

That's a Dolphin error not Daijishou. It either means the file doesn't exist, Dolphin doesn't have permissions to the folder, or wrong am start argument was used.
1. Make sure Dolphin has permissions to the same folder as the one picked on Daijishou.

As stated in the ticket, Dolphin can access and start the game directly.

2. Try using the official dev build of Dolphin

Does not help.

3. Try switching {file.path} to {file.path} or vice-versia

Pardon?

Yes but did you select the same folder that Dolphin uses within Daijishou? For example:

Let's say you selected roms/gamecube/ within Dolphin
While for Daijishou you selected roms/gc/
The end result would be Dolphin not recognizing games when launched from Daijishou. You should also take note if you happen to change the case of a folder name (example: if you changed roms/gamecube to roms/Gamecube you might get an error).

Dev build worked correctly for me when I tested:

https://github.com/TapiocaFox/Daijishou/assets/62556437/1d5e05c3-5139-4136-8b5f-d74f537c486c

Edit the player to switch the am start arguments. Here's how you can edit players.

@Jetup13 could you please provide the intent sent from Daijishou to Dolphin from logcat.

daijishou_debug: AmStart args: [-n, org.dolphinemu.dolphinemu/.ui.main.MainActivity, -a, android.intent.action.MAIN, -e, AutoStartFile, content://com.android.externalstorage.documents/tree/3731-3730%3Aroms%2Fgc/document/3731-3730%3Aroms%2Fgc%2FBleach%20GC%20-%20Tasogare%20ni%20Mamieru%20Shinigami%20(Japan).rvz]

I've come to this issue after some googling of a similar problem, and as @Jetup13 states, I'm guessing this is a permissions issue.  I'm wondering if there's any method to start a game that is in a Shared Storage location with dolphin intents from activity manager.
For example, if I have a game in the shared folder Downloads:
Actual Path:
 /storage/emulated/0/Download/my game.rvz

Content Path:
content://com.android.externalstorage.documents/tree/primary:Download/my game.rvz

I've also tried:
content://com.android.externalstorage.documents/tree/primary%3ADownload%2Fmy%20game.rvz

All of which fail with the 'does not exist' error.  I also note that in Android OS system permissions, Dolphin does not request file permissions (which may be the cause), however I can access the path in Dolphin without any issues after selecting 'allow access' within Dolphin (not android).
Is there any method to point to the file outside of Dolphin using activity manager?


iCloud3 v<IP_ADDRESS> (7/16/2024) Released

Change Log - v<IP_ADDRESS> (7/16/2024)

ICLOUD3 FAILED TO LOAD (Fix) - iCloud3 injected special code into the HA history recorder to exclude various sensor entities from being added to the history recorder database. This caused problems with HA in the 2024.7 release.  The HA 2024.7.2 included special code that blocked iCloud3 from loading. A temporary patch was posted on the iCloud3 GitHub repository to disable the recorder injection.
This update fixes this problem. Only sensor attributes  related to the battery, distance and timer sensors are now being added to the HA recorder history. Sensors that are predominantly text based (info sensors, the Event Log sensor, badge, tracking update times, zone, etc.) are not being added. The state value of all sensors are added.
NOTE: The sensor state and attribute values are available on a real time base like they always have. This update only relates to the HA history recorder database.
SPECIAL NOTE: If you get an HA error that a sensor attribute is not available, create an issue on the iCloud3 GitHub repository. Let me know the sensor name and attribute name that is causing the error. I will remove it from the exclusion list in the next update.

Important Links:
Migrating from v2.4.7_ - See here for instructions on migrating from from an older version.
Installing for the first time_ - See here for instructions on installing as a New Installation
iCloud3 v3 Documentation - iCloud3 User Guide can be found here

Just updated, after restart icloud 3 again fails to start. Could it be that you missed to increase the version number in the manifest?
I had manually added that to <IP_ADDRESS>, after your update it was set back to <IP_ADDRESS>.

HACS was the problem. It was downloading the v<IP_ADDRESS> release, not the v<IP_ADDRESS> release even though the zip file for the release was correct and the files were correct. I will create a new release and see what happens.
Here is the v<IP_ADDRESS> zip file.
icloud3.zip

It was my error. I did everything except update the custom_components/icloud3 code files on the GitHub repository so it was picking up v<IP_ADDRESS> code instead.
All is good now. HACS updates the files  with the v<IP_ADDRESS> version after refreshing via the Update Information option.

@gcobb321 one question. When the new version is installed will it still blocked in 2024.7.2 or not?

No. It will load and run without any issues.


How do we identify github enterprise projects with github.com/project-slug

Hi,
How do we identify github enterprise projects with github.com/project-slug?

Is github.com/project-slug in effect with View source button?
I tried to configure it, but it could not point to the source code.
My project is in Github Enterprise, and I configured in this way ghe.mycompany.com/project-slug: <repo-name>/<project-name>  or github.com/project-slug: <repo-name>/<project-name> , but they didn't work.

github.com/project-slug is the correct annotation, for GHE, I believe you would have to configure integrations.github in your app-config.yaml: https://backstage.io/docs/integrations/github/locations

github.com/project-slug is the correct annotation, for GHE, I believe you would have to configure integrations.github in your app-config.yaml: https://backstage.io/docs/integrations/github/locations

Yes, I've configured it like below, but the View source still not point to my GHE project.

hm, are you specifying <github-org>/<repo-name> for the value (eg. backstage/backstage for this repo)? You post says you tried github.com/project-slug: <repo-name>/<project-name> which looks like its different from the expected value according to https://backstage.io/docs/features/software-catalog/well-known-annotations#githubcomproject-slug

hm, are you specifying <github-org>/<repo-name> for the value (eg. backstage/backstage for this repo)? You post says you tried github.com/project-slug: <repo-name>/<project-name> which looks like its different from the expected value according to https://backstage.io/docs/features/software-catalog/well-known-annotations#githubcomproject-slug

I just changed github.com/project-slug: <repo-name>/<project-name>  to <github-org>/<repo-name>, but also did not work...

Is the "View Source" button currently linking to public github.com right now? ie. https://github.com/<github-org>/<repo-name>/<path-to-catalog-file> ?

Is the "View Source" button currently linking to public github.com right now? ie. https://github.com/<github-org>/<repo-name>/<path-to-catalog-file> ?

It is linking to GHE now. like https://ghe.<my-company>.io/<github-org>/<repo-name>/<path-to-catalog-file>.
One thing I want to mention is that the repo of my Backstage and the repo of catalog file is from different.
Will this have an effect?

Having different repos shouldn't have any effect, that's the intended setup where your entities in Backstage are usually backed by a catalog file living in their respective repos.
It looks like it's working now for you? I'm assuming the entity page was updated after you made the <github-org>/<repo-name> change but there was a delay because of the catalog refresh interval where changes are picked up (by default every 100s I believe)

emm.  It is just linking to the path to catalog file, but i'd like to redirect to the repo of my Backstage, just like this demo https://demo.backstage.io/catalog/default/component/backstage.  I click the View Source, it will redirect to Backstage repo, not catalog file.

Ah, I may of misunderstood here and I think I may have been mistaken about the use of the github.com/project-slug annotation. If you want to customize where the "View Source" button links to you can use the backstage.io/view-url annotation.
By default, it does link to where ever your catalog file lives. I thought your catalog file represented a different project, not your backstage component itself

may have been mistaken about the use of the

Yep. We have been integrating

Ah, I may of misunderstood here and I think I may have been mistaken about the use of the github.com/project-slug annotation. If you want to customize where the "View Source" button links to you can use the backstage.io/view-url annotation.
By default, it does link to where ever your catalog file lives. I thought your catalog file represented a different project, not your backstage component itself

yep, do you have template for backstage.io/view-url? I configured it with backstage.io/view-url: https://ghe.mycompany.io/<org-name>/<repo-name>, but still not work

@chuliang014 Check out the documentation here if it helps:
https://backstage.io/docs/features/software-catalog/well-known-annotations#backstageioview-url-backstageioedit-url

@chuliang014 Check out the documentation here if it helps:
https://backstage.io/docs/features/software-catalog/well-known-annotations#backstageioview-url-backstageioedit-url

For View Source button, should use backstage.io/source-location:. now it works.

ah, sorry for the confusion, the backstage.io/view-url annotation corresponds to the view button under the Actions column in the catalog grid

hm, its a bit strange that this button is not consistent with the "View Source" button on the Entity page but I guess I can see the use-case where this is intended to link to a deployed app rather then the source code

ah, sorry for the confusion, the backstage.io/view-url annotation corresponds to the view button under the Actions column in the catalog grid

hm, its a bit strange that this button is not consistent with the "View Source" button on the Entity page but I guess I can see the use-case where this is intended to link to a deployed app rather then the source code

Yes, I think this might be added to docs for clarify. BTW, it is really thanks for your help.


[Rector] Start Add Rector for QA

Q
A

QA?
✔

This PR apply Rector as part of QA check, start with:

LevelSetList::UP_TO_PHP_72 to apply syntax support until php 7.2 per-composer.json
Only apply to src/*/src only (for now)
Use pinned version 0.12.2 on purpose as it need to sync phpstan and nikic/php-parser, ensure only run when working ok.
Skip CountOnNullRector on purpose as it got too detailed on some cases.
Using --dry-run to show the diff output if there is expected change by rector, to proces, we can run:

vendor/bin/rector

@samsonasik @wolfy-j Do we need to skip CountOnNullRector? As I remember we want to use >= php8 and count(null) will cause fatal error according to this example https://3v4l.org/Bndc9. And if we have a code like count(null) then we need to get rid of it.

@butschster I applied the CountOnNullRector at https://github.com/spiral/framework/pull/471/commits/47c3628801f10c4ce53fccf216efab79369fb39a
If that's too detailed, I can revert to skip it.

@butschster improvement to rector is coming https://github.com/rectorphp/rector-src/pull/1208 for CountOnNullRector

@butschster improvement to rector is coming rectorphp/rector-src#1208 for CountOnNullRector

You are right CountOnNullRector adds more noise. I think we can skip it now, because there are only couple of places where count method used and check them later.

@butschster done

Thank you @samsonasik for contribution!


Update to bisector 0.3

Replaces fallible case of running check command from a bisect with inner ConvertTo::Left(Err(..)) to try_bisect

bors r+


[TW28766] TLS failure with multiple connections

Environment

IDF Version: v3.3-beta1-333-g66439c9b9
Build System: Make
Compiler version: 1.22.0-80-g6c4433a5
Operating System: Windows
Power Supply: USB

Problem
We are attempting to conduct an OTA via HTTPS while remaining connected to our MQTT broker via TLS.  We would like to remain connected in order to obtain feedback regarding the OTA process.
As stated in the documentation, mutliple TLS connections are possible with certificates using the same CA.  In app_main(), we added
ESP_ERROR_CHECK(esp_tls_init_global_ca_store());
ESP_ERROR_CHECK(esp_tls_set_global_ca_store((const unsigned char *)SERVER_ROOT_PEM, sizeof(SERVER_ROOT_PEM)));

before setting up any services.  We then connect to the MQTT server using SSL transport.
We commented out the following lines in the OTA Updater:
https://github.com/espressif/esp-idf/blob/abea9e4c02bb17e86298aec4e299780399e4789f/components/esp_https_ota/src/esp_https_ota.c#L38-L43
Instead, we instantiate the OTA HTTPS config with
config.transport_type = HTTP_TRANSPORT_OVER_SSL;

and do not set the cert_pem field.
When we attempt an OTA update, the device returns the following:
D (41601) HTTP_CLIENT: Begin connect to: [server]
D (41607) esp-tls: host:[server]: strlen 26
D (41825) esp-tls: handshake in progress...
E (42146) esp-tls: mbedtls_ssl_handshake returned -0x2700
I (42147) esp-tls: Failed to verify peer certificate!
I (42148) esp-tls: verification info:   ! The certificate is not correctly signed by the trusted CA

E (42161) esp-tls: Failed to open new connection
E (42163) TRANS_SSL: Failed to open a new connection
E (42168) HTTP_CLIENT: Connection failed, sock < 0
D (42174) OTA_Update: HTTP_EVENT_DISCONNECTED
E (42179) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT

The OTA is successful if we do not use SSL transport for our MQTT client, indicating the certificate used in the OTA update is correct.

@gregjesl It seems like esp_http_client do not support global ca store yet for tls connections,
https://github.com/espressif/esp-idf/blob/abea9e4c02bb17e86298aec4e299780399e4789f/components/esp-tls/esp_tls.h#L85
We will try to address this soon.

@mahavirj Can you confirm that the ESP32 supports two or more simultaneous TLS connections?

@gregjesl Yes, definitely. Other than memory (can go up-to 35-40K per TLS connection) there should not be any other bottleneck.

@mahavirj Got it, thanks.  I was seeing failures when I specify the cert_pem field of the OTA configuration and the MQTT client was using a TLS connection.  I initially thought it was due to an issue with how the IDF handles certificates/multiple TLS connections but I think it may actually be a memory issue.  I will try setting the cert_pem field of the OTA configuration and report the result.

@gregjesl You may try attached fix (along with required change in simple-ota example) for reported problem and let me know result.
fix_for_http_client_ca_store.tar.gz
For second issue, yes having track of free heap might be useful, you may use esp_get_free_heap_size() for that.

@mahavirj I was not able to integrate the patch; this may be because I'm working from an IDF fork.  I haven't used patches before so I'm not certain though.


Additional animations in the README

There are now certainly a number of new animations that could easily be added to the README :)

For example: 43, which is <3 MB at 20 seconds.

Closing since there is no need to track this issue.


Storage STG 79 live tests

Resolves https://github.com/Azure/azure-sdk-for-net/issues/23369

API changes have been detected in this PR. You can review API changes here
API changes
-         public BlobClientOptions(ServiceVersion version = V2020_10_02);
+         public BlobClientOptions(ServiceVersion version = V2020_12_06);
-         public SpecializedBlobClientOptions(ServiceVersion version = V2020_10_02);
+         public SpecializedBlobClientOptions(ServiceVersion version = V2020_12_06);

API changes have been detected in this PR. You can review API changes here
API changes
-         public const string DefaultSasVersion = "2020-10-02";
+         public const string DefaultSasVersion = "2020-12-06";

API changes have been detected in this PR. You can review API changes here
API changes
-         public ShareClientOptions(ServiceVersion version = V2020_10_02);
+         public ShareClientOptions(ServiceVersion version = V2020_12_06);

API changes have been detected in this PR. You can review API changes here
API changes
-         public DataLakeClientOptions(ServiceVersion version = V2020_10_02);
+         public DataLakeClientOptions(ServiceVersion version = V2020_12_06);

API changes have been detected in this PR. You can review API changes here
API changes
-         public QueueClientOptions(ServiceVersion version = V2020_10_02);
+         public QueueClientOptions(ServiceVersion version = V2020_12_06);
-         public SpecializedQueueClientOptions(ServiceVersion version = V2020_10_02);
+         public SpecializedQueueClientOptions(ServiceVersion version = V2020_12_06);

/azp run net - storage - tests

/azp run net - storage - tests

/azp run net - storage - tests

/azp run net - storage - tests

API changes have been detected in Azure.Storage.Files.DataLake. You can review API changes here

/azp run net - storage - tests


Support of indexed equations with IBM

I'm working on "Indexed Equations with IBM algorithm". But when I run a model in exampleIBMSimulatorOnSIRMultiHostModel of class named KEIndividualBasedExample, I notice it generates a graph like this:

It is not a smooth one like RungeKutta algorithm or even Gillespie. Is it correct?
Does anyone have the same graph by chance?

My revision nguyentienthanh.671 makes KEIndividualBasedSimulator support indexed equations.
To integrate my code with the main branch, please use my revision nguyentienthanh.673 (because I merge it with sergestinckwich.671)
PS: I upload the graph of Indexed Equations model in case IBM algorithm.

Thank you Tien. I had a look to your code. I'm not really satisfied because you add methods like createMoreAssociations: as and I dunno exactly what they are doing ...
I try to simplify code in KEIndividualBasedSimulatorbut you add more layers of complexity. You increase all methods size 👎  ... For example in buildAgentsFromBirthTransitions, why we have to check the type r (sometimes a number, sometimes an Array, ...). Why do we have to add an additional temporary variable like : additionalAssoc and the name of the variable give to information why we need it.
I don't know how you implement KEIndexedVariablebut I don't understand why we have to modify each simulation engines. Indexed variables should be considered as a set of variables and nothing should be changed in simulation engines.

When I fix the issue in IBM, I choose two models which are equivalent to each other. They are "modelSIRKEModelPart" and "modelSIRMultiHost" in class "KEIndexedVariableTest".
Both of them have SIR status and three species. The "modelSIRKEModelPart" uses KEModelPart and has no equation (I name it model A). In contrast, "modelSIRMultiHost" doesn't use KEModelPart and has three indexed equations (I name it model B)
I run IBM algorithm in two models A and B; then, I notice differences between number of loops and values of every variables in two cases.

Figure 1. Method buildAgentsFromBirthTransitions of KEIndividualBasedSimulator
In case model A, birthTransitions has three elements. In case model B, it has only one.

Figure 2. Values of birthTransitions when I run IBM with two model A and B.

Now buildAgentsFromBirthTransitions has 3 loops in both model A and B.
Next, the values of variables r and p in each loop.

Figure 3. The original code of do block in buildAgentsFromBirthTransitions
When execute the statement: r := (t key probability value: model) abs. (t is an association from {#status->empty, #species->mosquito} to {#status->S, #species->mosquito}), I notice:
In case model A, r is a number 12.17.
But in case model B, r is an array #(12.17 0.05 0.05). So I should write some statements to pick up 12.17 from the array.

Figure 4: Some statements to pick up right values from arrays.
Now, when execute p := (PoissonGenerator lambda: rate * step) next, we have same input "rate*step" in both case model A and B.

Of course, my modification makes some methods become long. I will try to reduce their sizes. :(

In conclusion, I think there are two issues:

"transitions" of KEModel  is wrong in case indexed equations. Model B, has three status and three species, but KEModel generates just six transitions (not enough). If KEModel can generate enough 18 transitions (like model A), I will remove "additionalTrans" and "additionalAssoc" in my code.

When evaluate the probability of transition r := (t key probability value: model) abs, in case indexed equations (model B), we receive an indexed values (an array) instead of a number. So we should write just one statement to pick up right value in this set.  For example: rate := self project: r into: from.

Note:

model A is a model which uses KEModelPart, we can see its details in "modelSIRKEModelPart" of class "KEIndexedVariableTest".
model B is a model which uses indexed equations, we can see its details in "modelSIRMultiHost" of class "KEIndexedVariableTest".

Well, let me see... Maybe I dont need to add more methods like this. There are still something wrong with my KEIndexedVariable

I commit my new code. In my revision, the simulator engines have no change and now they handle indexed equations.
Users can execute "exampleRK4SolverSIRMultiHost", "exampleGillespieSolverSIRMultiHost" and "exampleIBMSolverSIRMultiHost". All of them are models contains indexed equations.
I add new class named KETransitionGenerator. It will generate transitions from indexed equations of a model.
In case model has only transitions, KETransitionGenerator will automatically use all of them as "model transitions"
The old code has KEEventGenerator. In my new code, KETransitionGenerator will call method of KEEventGenerator. So then in equationsToTransitions of KEComponent, I write "transitions := KETransitionGenerator from: self." instead of "events := KEEventGenerator from: self."
To integrate, we can merge with Kendrick-nguyentienthanh.697

Integrated in Kendrick-SergeStinckwich.698


CollectionLayout last row just partial visible

My code looks like this:
function _createCollectionView() {
        this.scrollView = new FlexScrollView({
                layout: CollectionLayout,
                flow: true,
                flowOptions: {
                    spring: {
                        dampingRatio: 0.8,
                        period: 1000
                    }
                },
                debug: false,
                mouseMove: true,
                useContainer: true,
                layoutOptions: {
                    itemSize: [250, 150],
                    margins: [10, 5, 10, 5],
                    spacing: [10, 10]
                },
                dataSource: _getDogSurfaces.call(this)
            });
        return this.scrollView;
    }

Everything works fine, except the renderables in the last row are just partial visible when scrolling down.
I have tried to call this.scrollView.ensureVisible(lastIndex) after all renderables are actually rendered but to no avail.
What could be the possible cause of this behavior?

Please ignore, the issue was cause by the sizing and transform.translate of the parent node.


Increases the max numberwidth to NUMBUFLEN-1

This is based on an issue opened on neovim but makes more sense to fix it here.

Why would anyone ever want such a wide number column?
Using NUMBUFLEN as the maximum doesn't make any sense.

NUMBUFLEN was suggested in the original issue on neovim.
As I understand it, it is used a lot for char buffers that contain numbers, and someone else recently increased the size of the string to 57 bytes in neovim so 65 wasn't much of a stretch.
I totally respect that this is overkill and it'll be a looong time before computers have enough RAM for line numbers to get here.
The buffer was 18 bytes before, how about I leave that alone but still increase the maximum value for numberwidth to 17?

Comment by the extra[18]; says "%ld" and 'fdc' must fit in here, which seems wrong anyway since long can be 20 chars and fdc can be up to 12.

I don't have a lot of C experience, but my understanding is:
long is up to 19 characters, plus the space, plus the null.
So I thought extra would need to be 21 bytes.


Add Inband management in fabric documentation

Change Summary
Under templates/documentation/fabric-documentation.j2 checking if management_interfaces include more interfaces than whose name starts with something different to "Management". If so, save it in a new variable inband_mgmt_ip and inband_mgmt_interface . While generating documentation, a new table is added where these variables are checked and printed if available.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes)
[x] Documentation content changes
[ ] Other (please describe):

Related Issue(s)

Fixes issue #697
Component(s) name
arista.avd.eos_l3ls_evpn
Proposed changes

How to test
Molecule test included
Checklist:

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have updated molecule CI testing accordingly
[ ] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

Changes included in new PR #775.


Add filters

Add filters to the overview, to keep it uncluttered.
These filters could be:

only show wallets
only show agents
only show edge (smartphone) wallets
only show organisational wallets
show interop profiles

So you mean you can hide certain columns to fit the overview better on a smaller screen size without too much scrolling?

Not to hide the columns, but the rows. e.g. filter out all rows (wallets+agents+interop profiles), such that I only see wallets. It will become less long vertically. We can also opt that for e.g. interop profiles, many columns are not relevant, and dynamically remove them when the user filters on them. Would require some implementation work though.

Ah, got it. Right now it's possible to filter for the wallet type (edge or cloud).
How do we separate wallets from agents? For some people in the SSI space, it's the same. For others a wallet is only the storage component and the agent the implemented logic to handle it.
Is it better to separate like "capable to handle natural persons/natural persons". So if a wallet/agent has none of those, it it for example only capable for iot devices? I think we need more clarification here about the purpose of each filter.

only show wallets: holderCapability = true
only show agents: issuerCapability = true OR verifierCapability = true
only show EBSI-compliant wallets: ebsi = true
only show edge (smartphone) wallets: urlAppStore != '' OR urlGooglePlayStore != ''
only show organisational wallets: organisationalWallet = true

I'm referring to the characteristics in the main branch's flattened_wallets.json", but I think you could build the same filters in the next` version.

Right now people can filter on the fields, we do not have any pre defined filters. However each filter config can be shared as a link to share it.


[common] evicePreallocatedAllocator allocates exactly the amount of memory requested, not more

Closes #600
Also adds round_up() to mathutils.hpp

Are there tests for this component?

rerun tests

Are there tests for this component?

There are not. common is generally not very well tested, which is not a good thing. I'll add some tests.

@atadkase I added the tests

rerun tests


title for fzf window

Description

fzf has added the ability to add titles to the border with version 0.35.0.

Related tickets:

https://github.com/junegunn/fzf/issues/3022
https://github.com/junegunn/fzf/issues/3029

hot or a flop?

:green_heart: a title makes it look more advanced
:broken_heart: user must have at least fzf 0.35.0

I think it looks better with titles, reminds me of my favorite git browser: extrawurst/gitui

rebase

Nice!
Based on this https://github.com/junegunn/fzf#using-linux-package-managers it looks like 0.35 hasn't been distributed widely yet (e.g. on Ubuntu/Fedora). Should probably wait until then at least?

see #37


Proper CSS Code splitting

Is your feature request related to a problem? Please describe.
This plugin code splits everything really well, but it is a bit weird at code splitting CSS. It generates a separate .css file for the code-splitted component, but inlines its styles right into the main index.css too. The other file is never loaded, and index.css does all the work.
I'm not sure whether this is a missing feature or a bug, but it seems like the generated code splitted .js file doesn't load its .css file, so maybe it's a missing feature.
Describe the solution you'd like
CSS should be code splitted well, and the splitted .css files be loaded when the respective splitted .js is loaded
Describe alternatives you've considered
Going with the flow here for now
And hey, love this plugin, it's saved so much time and amazing to integrate with ESBuild. Keep up the great work!

I'll look into this but I believe this is a limitation of esbuild css handling, which doesn't code split css right now. Additionally, I'm hesitant to include code to import css as it can be incredibly fragile and would rather have that be a per-project configuration. We'll keep this open for tracking interest/updates.
Thanks for the report!

I'm going to close this issue for now until more support for CSS splitting is baked into esbuild


Code Analysis Settings are deprecated

"If necessary, expand Common Properties, and then select Code Analysis Settings."
When you go to this, it says the page has been deprecated and will be removed in a future product release and wont let you do anything. What is the new way to configure Code Analysis Settings?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 111c5e43-7341-3c2a-3130-e11aa0e0af50
Version Independent ID: db4f1bef-94ee-0ce1-6b13-9966364b498b
Content: Configure Code Analysis - Visual Studio
Content Source: docs/code-quality/how-to-configure-code-analysis-for-a-managed-code-project.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@bravadomizzou Legacy or source code analysis? This article applies to legacy analysis. For legacy analysis, rule sets:
https://docs.microsoft.com/en-us/visualstudio/code-quality/using-rule-sets-to-group-code-analysis-rules?view=vs-2019
For source code analysis, either EditorConfig or rulesets.

Also to note, legacy analysis is not supported in .NET Core or .NET Standard projects.

Article notes that it applies only to legacy analysis, so I don't think we need a doc update.


Header picture hasn't been shown on category page.

and also on tag page.

I figured out.I'd forgotten "/" at the beginning of the decleration in the settings file.


deleting unworking params from SumoChangeLaneParams, sublanes working

Pull request information

Status: ? (ready to merge / in development)
Kind of changes: ? (bug fix / new feature / documentation...)
Related PR or issue: ? (optional)

Description

? (general description)

Pull Request Test Coverage Report for Build 5098

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 90.369%

Totals

Change from base Build 5077:
0.01%

Covered Lines:
8661

Relevant Lines:
9584

💛  - Coveralls


a11y: "Form control element  has no associated label"

Problem
When assessing WCAG 2.1 AA conformance in a project shipped with reat-simple-code-editor as a dependency using this tool, the textarea is failing Success Criterion 4.1.2: Name, Role, Value here:
<textarea
    style="margin: 0px; border: 0px; background: none; box-sizing: inherit; display: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-ligatures: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; tab-size: inherit; text-indent: inherit; text-rendering: inherit; text-transform: inherit; white-space: pre-wrap; word-break: keep-all; overflow-wrap: break-word; position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; resize: none; color: inherit; overflow: hidden; -webkit-font-smoothing: antialiased; -webkit-text-fill-color: transparent; padding: 16px;"
    data-gramm="false"
    spellcheck="false"
    autocorrect="off"
    autocomplete="off"
    autocapitalize="off"
    class="npm__react-simple-code-editor__textarea">

Some suggestions

If the control is a labelable element, add a for attribute to a visible label with the id of this control (e.g. );
Or, if the control is a labelable element, put the control inside a visible  element;
Or, add an aria-labelledby attribute to the control. It must point to visible text on the page that is meaningful as a label;
Or, if the design cannot have a visible label, provide a label using the aria-label attribute (e.g. aria-label="Activities");
Or, if the design cannot have a visible label, use the title attribute to provide a label.

Proposed solution
Use the title attribute to provide a label according to WAI technique 65, whose objective is "to use the title attribute to provide an accessible name for form controls when the visual design does not include text on the screen that can be associated with the control as a label. User agents, including assistive technology, can speak the title attribute".
Who does this affect?

People using a screen reader, including blind, low vision and neurodivergent people
People with dexterity impairment using voice control

Next steps
Open a PR that adds a title according to WAI technique 65.

Hey there,
I know I am pretty late to the party, but I was having a similar issue and think I found a rather simple implementation that solves this issue. At least, it's passing the lighthouse test for me right now (June 2023).
In essence, my approach is to create a ref, wait for my react component to mount and add in the aria-label attribute at that moment.
It kind of looks something like this:
    // React
    import React, { useEffect, useRef } from "react"

    // Editor component
    import Editor from "react-simple-code-editor"

    const WhateverComponent = () => {

      // Create refs to add aria-labels to textarea elements from simple editor component
      const editorRef= useRef(null)

      // On initial component mount, add aria labels to Editor components
      useEffect(() => {
        editorRef.current._input.setAttribute("aria-label", "Editor aria label that you want goes here")
      }, [])

      return (
        <>
          <Editor
            ref={editorRef}
            ...
          />
        </>
      )
    }
    export default WhateverComponent

I hope this helps!


stdout optional console message

https://github.com/sgentle/phantomjs-node/blob/master/phantom.js#L124
Is it possible to make the above line run optionally? It would help clean up logs should it not be wanted.
Would be ok creating a pull request if the idea if welcomed.

Pull requests are welcomed!  I prefer some kind of logging solution to tune and filter log levels instead though.
Sent via my iPhone

On Jun 1, 2015, at 4:57 PM, Tarang Patel<EMAIL_ADDRESS>wrote:
https://github.com/sgentle/phantomjs-node/blob/master/phantom.js#L124
Is it possible to make the above line run optionally? It would help clean up logs should it not be wanted.
Would be ok creating a pull request if the idea if welcomed.
—
Reply to this email directly or view it on GitHub.

@amir20 Perhaps for this a default 'login hook' may do? By default its set to a method to stream it to console.log, on the other hand it can be changed to something else that can tune and filter via a hook of some sort:
page.onstdout = function() ....

In 2.0.0-alpha, I added a new logging hook.


Doesn't works on ubuntu 18.04

It fetches the lessons correctly.
But after selecting the folder to download, it throws an error in console.

Can you post the console error ?

@theIYD I tried to download this course https://coursehunters.net/course/yazyk-programmirovaniya-rust. Is this because this course is protected or something like that?

Please read the instructions on the course page. It is clearly given that the course will be available after a month.
Closing this issue....

@theIYD I don't know what language is this. Even google translate doesn't translates this page. DO you have any suggestions?

@theIYD Please consider adding a feature to let users know that the course is a paid one and cannot be downloaded. Let me create an issue for this separately to track this feature.

@kumaranvpl I am on it. Thanks for the suggestion.

@kumaranvpl The language is russian. It translates fine on Google Chrome. Although, i am adding a feature of showing information which says if the course is protected or not ...

@theIYD I guess it is some chrome setting configuration problem on my side. I fixed it.
And sometimes clicking the download button prompts me to select target folder twice. And proceeds to download twice simultaneously. I am pretty sure this is a simple bug which you can fix easily. But it prompt me to think of another feature. You could download videos simultaneously. JS is asynchronous. So this is totally possible. Also to prevent bandwidth clogging, limit the simultaneous downloads to 3 or 5.

@kumaranvpl In case of asynchronous downloads, if the internet goes off, the downloaded files will get corrupted and have to be downloaded again. Also, the application was built considering users have low internet speeds (like me), so downloading multiple files will result to a server error due to slow speeds getting widely distributed to files.

@theIYD I am pretty sure downloading 2 files simultaneously is not going to slow your download speed significantly.
To overcome the failed downloads synario

While starting download of course, check folder already exists
If already exists then check how many files are downloaded already
Check downloaded files size is same as the size served by server
Redownload corrupted files and download remaining files(simultaneously if possible)

@kumaranvpl I will think upon it.


purple stripes on side of screen

hey, i really like the tweaks and am very happy with the results, one thing though i encountered while playing. In cutscenes an at a shrine  purple stripes/lines appear on the side of the screen. Maybe for info. i play on a 2k monitor with 2k resolution in game, borderless and 16:9. The stripes are kinda annoying, if this would be fixed, the tweaks are a 10/10.

Can you please post your WukongTweak.log file? Also can you please post a screenshot of the issue if you can?

Can you please post your WukongTweak.log file? Also can you please post a screenshot of the issue if you can?

yes of course, i did a screenshot in the cutscene, tried also to do one at shrine but needed to be quick, so not as much on that screenshot. when i am in game, i mean going around in the world, there is nothing of that purple stripe.

Does this same visual error occur without WukongTweak installed?

Does this same visual error occur without WukongTweak installed?

No, only appeared since i installed the tweak. I also deinstalled it and then it disappeared. Hope this helps

Does this same visual error occur without WukongTweak installed?

No, only appeared since i installed the tweak. I also deinstalled it and then it disappeared. Hope this helps

Can you try this test build and see if it fixes it?
WukongTweak_v0.8.3.zip

unfortunately didn't help

Hmm,. that's a really weird one then. I can't think of what would be causing it. Perhaps forcing the game to recompile shaders may help?
It's located at %LOCALAPPDATA%\b1\Saved, just delete the large .USHADERPRECACHE file then relaunch the game.
If that doesn't work for you then I'd recommend trying to disable parts of WukongTweak in the ini until it makes a difference.


allow for different renderSuggestion for each item

i'm using this for a search bar with preview ,every section is data from a different data source and i would be cool if i can render different sections differently since they show different data.
its possible to support this for multisection and for normal mode by adding a know field on suggestion item , something like "templateKey".
then its possible to supply render suggestion with the key:
function renderSuggestion(suggestion, { value, valueBeforeUpDown,templateKey}) {}

so its possible to switch on the templateKey.
for multiple sections you could just include the same template key on all section items.

sorry, i already have the suggestion item i can do this already.
closing this.


Chaining onStateChange

Again from the readme...
The internal implementation of onStateChange() does a lot of needed things. This replaces the internal onStateChange() with your own version. But you don't want to do that, you need to call both of them, your replacement and the internal version.
handleAuthStateChange(state) {
    if (state === 'signedIn') { /* GO TO Main Page */ }
}

render() {
    return (
        <Authenticator hideDefault={true} onStateChange={this.handleAuthStateChange}>
            <SignIn/>
            <SignUp/>
            <ConfirmSignUp/>
            <Greetings/>
            <AlwaysOn/>
        </Authenticator>
    )
}

Hi @jonsmirl , There are two different onStateChange props. One is on the pieces like SignIn, AlwaysOn etc. Another is on 'Authenticator'. The example here is to set the one on Authenticator, does not replace the internal one.
Thanks,
Richard

I figured out what confused me. I have debugger; several places in the code. When I hit those breakpoints background actions (like updating the state) can't happen. When I removed the debugger; calls it started working. I had thought that the state updates were synchronous and I see now they aren't.


Setting to disable using the last command if the current command is empty

I would like to be able to configure Byebug to treat empty commands as no-ops instead of treating them as if the user re-typed their last command.  This is because I frequently press enter a few times in my Rails server terminal (to put a vertical space in the log entries printed to stdout) and then later I try to debug some code in the server. When the debugger line is executed, ByeBug reads those newlines and runs the last command (often continue).
I was wondering what you thought about adding a new set empty_command do_nothing | run_last setting to https://github.com/deivid-rodriguez/byebug/tree/master/lib/byebug/settings and using the new setting in https://github.com/deivid-rodriguez/byebug/blob/e1fb8209d56922f7bafd128af84e61568b6cd6a7/lib/byebug/interface.rb
I might be able to submit a PR if this idea sounds good to you.

Hi @gabrielmdeal, sorry for the lack of reply so far. I'm good with adding what you propose :+1:.


Documentation Glossary should link to other glossaries

Where to find the issue
glossary.md
https://github.com/corona-warn-app/cwa-documentation/blob/master/glossary.md in this repository.
Describe the issue
The file glossary.md does not mention the existence of other related Corona-Warn-App glossaries:

https://www.coronawarn.app/de/faq/#glossary

https://www.coronawarn.app/en/faq/#glossary

https://www.bundesregierung.de/resource/blob/975226/1760836/fffa3f10830fe90d6d26453d6634af43/2020-06-16-glossar-data.pdf?download=1

https://www.bundesregierung.de/resource/blob/975226/1760838/8be9ec086dbe8a73d8b8970b6f7dde66/2020-06-16-glossar-en-data.pdf?download=1

Suggested change
Add links to the above glossaries into https://github.com/corona-warn-app/cwa-documentation/blob/master/glossary.md.

The FAQ glossaries are now available in both English and German:
https://www.coronawarn.app/de/faq/#glossary
https://www.coronawarn.app/en/faq/#glossary
so I will submit a PR to implement my suggested change to https://github.com/corona-warn-app/cwa-documentation/blob/master/glossary.md.

PR #695 submitted.


Reordered healthz test case to ensure that the health status is checked first

Changes:

Moved the /healthz test case to the beginning of the subtests.

Description:
The /healthz endpoint is typically used to check the health status of services before performing more complex tests. If the health check fails, it would indicate that something is wrong with the setup or the system is not ready for the rest of the tests, potentially saving time in finding the root cause of test failure.
By running the allow healthz check first:

We can detect if the service is up and operational early in the test.
This provides faster feedback during continuous integration (CI) runs, especially in environments where test time is critical.

Justification:

Efficiency: Ensures that system readiness is confirmed before running complex authentication tests.

Error Isolation: Avoids false failures in other test cases that might be caused by system health issues.

Best Practices: Running a health check first aligns with common best practices in integration and e2e testing, where system readiness is confirmed before performing business logic validation.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @nagendrareddy10. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@nagendrareddy10: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
0ce7b232e3c0168397209481c2d906935d50f618
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/ok-to-test

@nagendrareddy10: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
0ce7b232e3c0168397209481c2d906935d50f618
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

This healthz is different, it is not a health probe

This healthz is different, it is not a health probe. The order doesnot matter at all

This subtest is specifically designed to ensure that requests to the /healthz endpoint are allowed without requiring a JWT token, and as you noted, it differs from a health probe. The primary purpose is to ensure that /healthz bypasses authentication policies.
In the context of flakiness, ordering can be valuable for debugging. By placing the /healthz test first, we can quickly rule out whether the issue is related to authentication mechanisms or if it's specific to the application’s health checks themselves. Since /healthz is supposed to succeed without a token, a failure here provides a clear indication that something is wrong with the service’s base functionality or environment, not with JWT or authentication policies.
In short, while the test order doesn't affect success, it helps significantly during failures and flakiness by providing faster, more efficient debugging and a clearer understanding of the root cause.

In the context of flakiness, ordering can be valuable for debugging. By placing the /healthz test first, we can quickly rule out whether the issue is related to authentication mechanisms or if it's specific to the application’s health checks themselves. Since /healthz is supposed to succeed without a token, a failure here provides a clear indication that something is wrong with the service’s base functionality or environment, not with JWT or authentication policies.

The /healthz is literally just a random path...? It has nothing to do with checking the health, it could be called literally anything

/test release-notes

@nagendrareddy10: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
0ce7b232e3c0168397209481c2d906935d50f618
link
unknown
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test integ-security


[BUG] Blog and Tags hyperlinks are set to repo_url instead of site_url when deploying on Gitlab Pages

Plugin version
v2.2.11
Python version
3.12.3
Additional environment information (optional)
Platform - GitLab Pages
What happened?
All the hyperlinks of blogs/tags redirects to the file in the repo_url (which is not public). Even when i remove the repo_url  and repo_name from the mkdocs.yml file it doesn't work.
What should have happened? (optional)
No response
How to reproduce the bug?
Try deploying a mkdocs page with blogging plugin on gitlab.io pages from the repo
Additional context (optional)
I can't share much information about my use case here because of my company internal policy, but i am willing to help solve this problem. Feel free to contact me
Relevant log output (optional)
No response

Please give me an example of your mkdocs.yml file, which removes the private information. It is hard to reproduce the problem without it.

Sure, here it is :
---
# Project information
site_name: NAME
site_url: https://SITE_URL
site_author: AUTHORS

# Repository
# repo_name: NAME
# repo_url: https://SITE_URL

# Navigation layout
nav:
  - Home:
    - index.md
    - Tags/allowed_tags.md
  - Bibliography:
    - Bibliography/index.md
    - Articles:
      - Bibliography/Articles
    - PDF Files:
      - Bibliography/PDF Files
  - RetEx Projet:
    - RetEx Projet/index.md
    - Articles:
      - RetEx Projet/Articles
    - PDF Files:
      - RetEx Projet/PDF Files
  - RetEx Technique:
    - RetEx Technique/index.md
    - Articles:
      - RetEx Technique/Articles
    - Content:
      - RetEx Technique/Content/index.md
      - Notebooks:
        - RetEx Technique/Content/notebooks
      - PDF Files:
        - RetEx Technique/Content/PDF Files
      - Python:
        - RetEx Technique/Content/python
  - Global References: References/index.md
  - Tags: Tags/index.md

# Plugins
plugins:
  - search
  - include_dir_to_nav:
      sort_file: true
      sort_directory: true
      include_empty_dir: true
      # Modify the following line to allow other file extensions to appear in the navbar when selecting a whole folder
      file_pattern: '.*\.(md|py|ipynb)$'
  - pdf_titles
  - git-revision-date-localized
  - git-authors
  - blogging:
      size: 5
      locale: fr
      time_format: '%d/%m/%y %H:%M'
      meta_time_format: '%Y-%m-%d %H:%M'
      template: "./docs/stylesheets/custom-blog.html"
      # {{ blog_content }}
      dirs: # The directories to be included
        - Bibliography/Articles
        - RetEx Technique/Articles/
        - RetEx Projet/Articles/

      categories:
        # {{ blog_content Default }}
        - name: Default
          dirs:
            - Bibliography/Articles/
          size: 5

        # {{ blog_content Technique }}
        - name: Technique
          dirs:
            - RetEx Technique/Articles/
          size: 5

        # {{ blog_content Projet }}
        - name: Projet
          dirs:
            - RetEx Projet/Articles/
          size: 5
      features:
        tags:
          insert: top
  - with-pdf
  - mkdocs-jupyter
  - minify:
      minify_html: true

# Configuration
theme:
  name: material
  logo: images/logo.png
  favicon: images/logo.png
  palette:
    # Palette toggle for light mode
    - scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode

    # Palette toggle for dark mode
    - scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to light mode
  features:
    - search.suggest
    - navigation.path
    - navigation.indexes
    - navigation.tracking
    - navigation.tabs
    - navigation.top
    - toc.follow
    - content.code.copy

# Customization
extra:
  consent:
    title: Cookie consent
    description: >-
      We use cookies to recognize your repeated visits and preferences, as well
      as to measure the effectiveness of our documentation and whether users
      find what they're searching for. With your consent, you're helping us to
      make our documentation better.
  status:
    updated: Recently updated
  analytics:
    provider: google
    property: !ENV GOOGLE_ANALYTICS_KEY

# Extensions
markdown_extensions:
  - abbr
  - admonition
  - attr_list
  - def_list
  - footnotes
  - meta
  - md_in_html
  - toc:
      permalink: true
      title: On this page
  - pymdownx.arithmatex:
      generic: true
  - pymdownx.betterem:
      smart_enable: all
  - pymdownx.caret
  - pymdownx.details
  - pymdownx.highlight:
      anchor_linenums: true
  - pymdownx.inlinehilite
  - pymdownx.keys
  - pymdownx.magiclink:
      repo_url_shorthand: true
      user: squidfunk
      repo: mkdocs-material
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.tilde
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg

extra_css:
  - stylesheets/extra.css

I'm using a lot of other plugins so maybe the problem comes from a conflict with other plugins...
Thanks !

[Update] It seems to work when i don't set the repo_url though


89.0 Won’t install Hassio

Home Assistant release with the issue:
0.88.2
Last working Home Assistant release (if known):
0.88.2
Description of problem:
19-03-08 13:32:14 INFO (SyncWorker_2) [hassio.docker.interface] Update Docker homeassistant/raspberrypi3-homeassistant:0.88.2 to homeassistant/raspberrypi3-homeassistant:0.89.0
19-03-08 13:32:14 INFO (SyncWorker_2) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.89.0.
19-03-08 13:37:45 INFO (SyncWorker_2) [hassio.docker.interface] Tag image homeassistant/raspberrypi3-homeassistant with version 0.89.0 as latest
19-03-08 13:37:45 INFO (SyncWorker_2) [hassio.docker.interface] Stop homeassistant/raspberrypi3-homeassistant Docker application
19-03-08 13:38:03 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant Docker application
19-03-08 13:38:03 INFO (SyncWorker_2) [hassio.docker.interface] Cleanup Docker images: ['homeassistant/raspberrypi3-homeassistant:0.88.2']
19-03-08 13:38:23 INFO (SyncWorker_12) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.89.0
19-03-08 13:48:25 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
19-03-08 13:48:25 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
19-03-08 13:48:25 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.88.2

Additional information:
64GB SD   PI3B+  Hassio

I have exactly the same issue trying to upgrade from 0.88.2 to 89.0 or 89.1
32Gb SD PI3 Hassio HassOS 1.13

/move to home-assistant/hassio

Same problem for me.
Virtual Machine with 16GB VHD and HASSos 2.10.

尝试从0.88.2升级到89.0或89.1
32Gb SD PI3 Hassio HassOS 1.13时我遇到了同样的问题

Please try to backup and try to remove all configuration files before upgrading again.

对我来说同样的问题。
具有16GB VHD和HASSos 2.10的虚拟机。

Please try to backup and try to remove all configuration files before upgrading again.

Please follow home-assistant/hassio#943


create a big cart view react component

sub-task of #28

Will fetch cart items from cart in store and map to props


Add image-pipe ops for zero-copy image generation

An ops in place of tf.keras.preprocessing.ImageDataGenerator with very high-performance data generation performance loading from on-disk original image directories to GPU directly with ZeroCopy, which could achieve ~96% performance of synthetic dataset training for modern models like Resnet50/Inception3/..

Multi-worker deterministic image input by configuration of seed, which is not supported by tf.keras.preprocessing.ImageDataGenerator;
Support direct image generation with either NCHW or NHWC format;
Support target image resize in place and interleaving generation;
Reference of internal image directory format -

/train/
    /class-monkey/
        aug_1.jpg
        aug_2.jpg
    /class-bird/
        aug_1.jpg
        aug_2.jpg

OK, Thanks.

Thanks

@ghostplant The sig-io and its repo is in place now: https://github.com/tensorflow/io
You can consider open a PR in the repo and join the discussion in sig-io groups: https://groups.google.com/a/tensorflow.org/forum/#!forum/io

@yongtang Yeah, that's great!

@yongtang Do you know there is a C-based header library included in Tensorflow that could iterate filesystem's directories and file elements on any generic OS platform (e.g. Linux, Windows, MacOS) like what os.walk in python does?

OK, I found a good reference here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/platform/posix/posix_file_system.cc

@ghostplant You can also check MatchingFilesDatasetOp, which can iterate filesystem's directories and files on Linux, Windows, and Mac as well. Its Python API is here.


merge from arlac77/template-github-action,arlac77/template-kronos-component

.github/workflows/auto_approve.yml

chore(actions): merge from template .github/workflows/auto_approve.yml

Codecov Report

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

@@           Coverage Diff           @@
##           master     #694   +/-   ##
=======================================
  Coverage   99.08%   99.08%
=======================================
  Files           1        1
  Lines         109      109
  Branches        9        9
=======================================
  Hits          108      108
  Misses          1        1

Continue to review full report at Codecov.

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


Autocomplete Emoji Alternative Names

Always a minor annoyance of mine when I can't remember the exact name for an emoji (so autocomplete won't pick it up!)
Who knew 🎉  was tada 🤔
Maybe revise to use something like this JSON file: https://github.com/github/gemoji/blob/master/db/emoji.json (from GitHub, so most likely to be up-to-date) and autocomplete on aliases and tags?

I'm actually down to do this now. I also messed up with :thinking: not working.
We could actually update GithubEmoji.swift to use actual parsed objects from that file, then we could search the alias and the name.

formatting/cleaning the one I did by hand.........

eek.. Sorry you had to do that 😅
Some cool repos in here: https://github.com/showcases/emoji
May help 😄
If no one else picks it up, I'll look into this tonight!


Problem with storing cookie in the browser

I can't get the cookie being stored in the browser cookie storage. However when I'm making a "GET" request I can see the cookie coming in the request header like this:

Set-Cookie: XSRF-TOKEN=vtVV3OXgG4lE0qRBM6VvRuxry8P7jC71OP5dXE_smlQ; expires=Thu, 29-Mar-2018 05:43:23 GMT; Max-Age=360000; path=/; domain=angular-app.test

Here is my setup:
dunglas_angular_csrf:
    token:
        id: angular
    header:
        name: X-XSRF-TOKEN
    cookie:
        name: XSRF-TOKEN
        expire: 360000
        path: /
        secure: false
        domain: angular-app.test
        set_on:
            - { path: ^/$ }
            - { route: ^api_$, methods: [GET, HEAD] }
            - { host: symfony-app.test }
    secure:
        - { path: ^/api, methods: [POST, PUT, PATCH, LINK] }
        - { route: ^api$ }
        - { host: symfony-app.test, methods: [POST, PUT, PATCH, DELETE, LINK] }

I've also tried to add an extra dot to the domain like this:
.domain: angular-app.test
Angular app runs on: http://angular-app.test
Symfony app runs on: http://symfony-app.test
I'm also using a "nelmio/cors-bundle".
Any idea what it might be?

Changing "domain: angular-app.test" to "domain: symfony-app.test" has resolved the issue


Fix function's arg default List

Mutable object such as Dict and List should never be default value

Default values are computed once, then re-used.
Default parameter values are evaluated when the function definition is executed. This means that the expression is evaluated once, when the function is defined, and that the same “pre-computed” value is used for each call.

>>> def demo_list(l=[]):
...   l.append("data")
...   return l
...
>>> print(demo_list())
['data']
>>> print(demo_list())
['data', 'data']

This can lead to unexpected issues.

model的2哥基类目前已合并 ，这个函数的修改是对的，后续添加到至 sdgx/models/base.py 应该更合适


Add a install step to clone/pull the repo

This takes us towards the idea of being able to do gem install govuk-docker because the next step can be to do govuk-docker install and the repo will be cloned automatically.

I wonder if 'setup' might work better here? I'm struggling with seeing the two 'install' commands together and have to stop and think about what the difference is. Might help to clarify here what we expect the gem to do vs. the cloned repo.

@benthorner Are you thinking we have two separate commands, setup and install? Or that we change the name of the command to setup?
The idea behind install is that you can run it at any point and it will install anything missing to successfully run govuk-docker. So in most cases, it won't reclone the repo since it'll already exist. We're planning to add another install step shortly which will install Docker itself for you.

@thomasleese yes to the first question. I think it depends on the big picture. Do we have a complete list of commands we're aiming for? It's actually the 'gem install' that confuses me, as I'm struggling to see the benefit of doing that over 'git clone ...'. Playing a devil's advocate somewhat: "why do I need to install it after I've just installed it" is the question that comes to mind ;-).

I guess one of the benefits is that you don't need to change your PATH to get it working, and it'll work under many different shells (right now the instructions only list how to do it for bash). Most respondents to the survey requested this method of installation so perhaps it's worth asking why.
I don't like the idea of two different installation-like commands because I think it'll get confusing, you'll have to ask yourself "which install command do I run to get the latest Dockerfiles? which one do I run if dnsmasq isn't working?".
At the moment the complete list is: Dnsmasq, Docker and the repo. Enough for the entire installation to be gem install govuk-docker && govuk-docker install.
I'm not opposed to renaming it to govuk-docker setup though, and I think that does make more sense if you look at it together with gem install govuk-docker.

Ah, the use of PATH would indeed be an advantage. It looks like we're asking similar questions - perhaps it's worth listing all the command we have / aim to have, so we can understand what they look like together and where potential confusion might occur, just like the scenario you mentioned.
For example, I think the next command after 'install'/'setup' would be something like 'build', possibly in a repo or with an arg/flag to specify the service; but would this too look confusing after 'install'/'setup'?


Debugging Python code does not work

Issue Type
Bug
Description
Just after downloading and installing the latest  update to VS Code I cannot debug my Python code. Everytime I get the message:
Error
Debug adapter process has terminated unexpectedly
Before that last update debugging the same code ran fine.

This problem still occur for me in the latest version.I can't run any python code now!

Moved to the python repo. Please continue the discussion there: https://github.com/Microsoft/vscode-python/issues/1125

Strangely, for me the problem with debugging Python code had disappeard. Maybe it was some recent update I haven’t noticed but now it seems everything has got back to normal.
Don’t know what you’ve done, guys, but it’s worked 😊
Pete
Od: Tian
Wysłano: wtorek, 20 marca 2018 10:23
Do: Microsoft/vscode
DW: Joukahainen82; Author
Temat: Re: [Microsoft/vscode] Debugging Python code does not work (#44159)
This problem still occur for me in the latest version.I can't run any python code now!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Code style suggestion for BiFunction article in order to make it more declarative

Hey guys, I was reading the https://www.baeldung.com/java-bifunction-interface article and there's a code snippet that I think that it is worth making a suggestion.
The following part:
List<String> list1 = Arrays.asList("a", "b", "c");
List<Integer> list2 = Arrays.asList(1, 2, 3);
List<String> result = listCombiner(list1, list2, (a, b) -> a + b);
assertThat(result).containsExactly("a1", "b2", "c3");
Unless it is a code style convention of you guys, why not make the representation of the BiFunction more declarative with something like (letter, number) -> letter + number;.
Even though it is a small detail, it ends up being great for beginners and those who are not that familiar with lambdas/functional interfaces, to see right away the goal of that piece of code...
Sometimes just by not understanding right away what's happening in an article, I end up changing to another, so I think it is worth mentioning.

Hey @pedroluiznogueira. Thanks for your feedback.
We're going to review the article and see if it makes sense to include more descriptive names for the variables.

Thanks @pedroluiznogueira we have incorporated your changes.


feat: add schema-linking awel example

Description
feat: add schemalinking awel example：nl -> schema -> sql -> chart
How Has This Been Tested?
pre-requirements:
1. install openai python sdk
            pip install openai
2. set openai key and base
            export OPENAI_API_KEY={your_openai_key}             export OPENAI_API_BASE={your_openai_base}
or
            import os             os.environ["OPENAI_API_KEY"] = {your_openai_key}             os.environ["OPENAI_API_BASE"] = {your_openai_base}
3. run
python examples/awel/simple_nl_schema_sql_chart_example.py
Examples:
curl --location 'http://<IP_ADDRESS>:5555/api/v1/awel/trigger/examples/rag/schema_linking' \
--header 'Content-Type: application/json' \
--data '{"query": "Statistics of user age in the user table are based on three categories: age is less than 10, age is greater than or equal to 10 and less than or equal to 20, and age is greater than 20. The first column of the statistical results is different ages, and the second column is count."}'

Snapshots:

data

run

sql

chart

Checklist:

[x] My code follows the style guidelines of this project
[x] I have already rebased the commits and make the commit message conform to the project standard.
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] Any dependent changes have been merged and published in downstream modules

I noticed that you created a new schemalinker package and put it in the rags directory. Why are the sql_exec.py and sql_gen.py files also put here?
Schemalinking will be a very critical capability in dbgpt and requires a detailed plan. The current implementation is more like an example, and the directory needs to be adjusted.
Don’t merge for now,  please.  @Aries-ckt

Thanks for your PR at first, but i noticed that you created a new schemalinker package and put it in the rags directory. Why are the sql_exec.py and sql_gen.py files also put here?
Schemalinking will be a very critical capability in dbgpt and requires a detailed plan. The current implementation is more like an example, and the directory needs to be adjusted.
Don’t merge for now, please. @Aries-ckt

Thanks for your suggestion, I will revise it again @csunny


Besu 22.7.4 created 2 blocks with 5-8% gas utilization

Description
As an validator, I want besu to create blocks at least in the ballpark of 50% full so that block space is not wasted and greater transaction fees may be collected.
Acceptance Criteria
produce blocks with 50-100% gas utilization
Steps to Reproduce (Bug)

propose a block running besu execution client
a. Nearly empty block
b. Another nearly empty block within 12 hours of the first

Expected behavior: [What you expect to happen]
fuller blocks like the ones before and after my blocks.
before:  https://etherscan.io/block/15637227
after:  https://etherscan.io/block/15637229
before:  https://etherscan.io/block/15640449
after:  https://etherscan.io/block/15640451
Actual behavior: [What actually happens]

Nearly empty block
Another nearly empty block within 12 hours of the first

Frequency: [What percentage of the time does it occur?]
100% 2/2
Versions (Add all that apply)

Software version: besu/v22.7.4/linux-x86_64/openjdk-java-11

Java version:
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)

OS Name & Version:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Kernel Version: Linux ogserver 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Additional Information (Add any of the following or anything else that may be relevant)

Besu setup info - genesis file, config options
[Unit]
Description=Besu Execution Client (Mainnet)
Wants=network-online.target
After=network-online.target
[Service]
User=besu
Group=besu
Type=simple
Restart=always
RestartSec=5
Environment="JAVA_OPTS=-Xmx8g"
ExecStart=/usr/local/bin/besu/bin/besu
--network=mainnet
--sync-mode=X_SNAP
--data-path=/var/lib/besu
--data-storage-format=BONSAI
--engine-jwt-secret=/var/lib/jwtsecret/jwt.hex
[Install]
WantedBy=multi-user.target

System info -
32 GB RAM
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz

Release 22.10.0 has a first improvements that result in bigger blocks, please report your exeperience.
We are currently monitoring and working on further improvements.

Can confirm that we're consistently seeing full blocks now.  Important note that EIP1559 targets an average of 50% full blocks. There can be variation around that so it's not unexpected to have some blocks with block 50% utilisation (the baseFee will then be reduced to allow lower priced transactions in and increase demand for block space), it just averages 50% over the long term.
Since upgrading to 22.10.1 our teku nodes are seeing a range of 49%-95% full blocks which is significantly better than expected. I'd expect to see the average drop to around 50% over a longer period of time though.


Completed missions

What is your Quests version / build number (do not say "latest")?
Build 141 (Tue Aug 04 02:34:19 UTC 2020)
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
the error I am going to report does not appear in the console
It happens when you cook an item in any oven, if one of the missions requires melting iron, for example, you fill your inventory with any object and try to drag or place it in your inventory with shift click, the item will remain in the oven but it will have taken you as mission completed. this is annoying if the mission is done daily.
Example
https://youtu.be/J2KP7Yp2npo
this error happens with everything that is melted / baked
also with crafts
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
https://pastebin.com/FFAU74gM

Thanks for the report. Just to clarify, this only happens if the player's inventory is full, correct?

Yes, in this way the item stays in the oven, and the mission appears as completed, if the mission is repeatable they can leave the oven and do it daily, it can also be done with crafting

So I've looked into this and it seems the only options are to cancel the click event (which may disrupt other plugins) or drop the item on the ground (less likely to disrupt other plugins, but the player may not realize this has occurred and the item could be left to despawn or get pickup up by another player). Therefore, it seems most preferable that the item should stay within the Furnace, which is hopefully protected by a lock or anti-grief plugin. Alternatively, consider using a backpack plugin which can transfer the item to an additional player inventory.


Is there a limit for WSUS shared database?

There is a blurb in this article about sharing the WSUS database for multiple SUPs in a primary site, but doesn't provide any guidance for how many, any limitations, and what possible performance concerns.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d69fe2fa-2d4c-e3fe-ed03-3fae067bca3b
Version Independent ID: 9b781cea-18dc-79af-0158-59abc861b601
Content: Plan for software updates - Configuration Manager
Content Source: sccm/sum/plan-design/plan-for-software-updates.md
Service: unspecified
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Don't remember what initiated this issue. Doing a large review of this content for 1806, made some revisions in this context. Ultimately the shared database is just to improve performance when switching SUPs on clients. The SUP scale numbers still apply. Thus I'm closing this issue.

Hi. I'm looking for clarification as to whether there is a hard limit on the number of SUPs that can use a shared SUSDB. There are a number of MS documents that allude to this, but none that are concise. I'm happy to provide links / examples. Can this be clarified in the documentation, please? Thanks! -Mike

As @mikemagarelli mentioned, I, too, would like clarification on this.

There are two references:

https://docs.microsoft.com/previous-versions/system-center/system-center-2012-R2/hh237369(v=technet.10)

The maximum number of WSUS servers that can be configured as part of a network load balancing cluster is four.

https://techcommunity.microsoft.com/t5/configuration-manager-archive/how-to-implement-a-shared-susdb-for-configuration-manager/ba-p/274103

You can have up to 4 front end WSUS servers sharing a SUSDB.

I confirmed that this is still relevant guidance.
This SCCMDocs repository is no longer actively used, so if you want something about this added to the current ConfigMgr documentation, please file feedback in the current repository: memdocs. For more info, see https://docs.microsoft.com/mem/use-docs#about-feedback