refactor: cleanup utils, meetup spec

refactor: rm unused utils
refactor: better typing, afterEach in meetup spec

Current dependencies on/for this PR:

main

PR #111   👈

PR #112

This comment was auto-generated by Graphite.


Faulty 'if' statement

Change this line:
if (message.content.split(' ')[1] === '') return messages.channel.send('Please enter a duration for the giveaway (in hours).'); [line 10 in giveaway.js]
to this:
if (!message.content.split(' ')[1]) return messages.channel.send('Please enter a duration for the giveaway (in hours).');
In the previous case, the first if statement [if (message.content.split(' ')[1] === '')] is not considered and the if (isNaN(stated_duration_hours)) statement is run instead [line 14 in giveaway.js]

Thanks for reporting! I'll change it right now!


[Pagination] Warn when not providing an integer

[x] I have followed (at least) the PR section of the contributing guide.

As we have successfully integrated our custom propType in Pagination component on 'count' prop, so we have decided to move forward and change the ones, who have a strong preference to be an 'integer' type. So we have discussed changing, several Pagination props' types for proper validating.
CodeSandbox Link: https://codesandbox.io/s/create-react-app-bsix2?file=/src/App.js
Issue Link: #25327

@oliviertassinari Will do this in this PR and we should change the title of our PR.

@fayzzzm Regarding why I have renamed the PR: it's to have it fit inside the changelog. It's best to keep it short. If it wraps in the GitHub's UI, it probably almost too long.

@oliviertassinari Should I do It on this PR or should we make another PR for other stuff? and we should change the title of our PR.

Changing title of the PR, I meant, when we will change all of the changes of propTypes, the title should be renamed because we are changing several components types, so there should be other [title] name :))

@fayzzzm I think that a single batch would be better. It's 8 LOC change for one component, so it will never be crazy big.

[x] Pagination: defaultPage, page, siblingCount, boundaryCount
[x] TablePagination: count, page, rowsPerPage
[x] Autocomplete: limitTags
[x] Breadcrumbs: itemsAfterCollapse, itemsBeforeCollapse, maxItems
[x] Drawer: elevation
[x] Paper: elevation
[ ] ImageList: cols, rows, gap (I've decided to leave it unchecked due to the reason, I've not found rows prop.)
[x] Stepper: activeStep
[x] Popover: elevation

@oliviertassinari the problem why CI fails - when we use intgerPropType.isRequired.

@fayzzzm I have pushed a new commit with an alternative solution.

Thanks for the help. If we were too greedy, developers will let us know. So, it's pretty safe.

Everything was good. Thanks for the assistance during this work, appreciate it.


Suspending streaming listener

Using spring cloud stream with kotlin coroutines.
@StreamListener annotation is not accepting suspend keyword, so in the listener method unable to call any await method of coroutines.
Tried using spring cloud reactive which expects Flux<?> as output but unable to pass coroutine output to spring cloud output. Any pointer could be helpful.

Got it working. Log printed no elements when i did collect for debugging, realised fluxproducer.send should be used while converting from coroutine scope and reactive.
@StreamListener
    @Output(Processor.OUTPUT)
    fun receive(@Input(Processor.INPUT) inputData: Flux<String>): Flux<String> {
        return inputData.log().flatMap {
            CoroutineScope(GlobalScope.coroutineContext).flux<String> {
                val output = getResponse() // suspendable function
                this.send(output)
            }.log()
        }
    }

I'll close it since it appears there is no issue. Keep in mind though that reactive module you are using is deprecated and will not be part of 3.0.0 release. The same goes for StreamListener, although we will support it for a bit longer.
The reactive code above is supported natively via spring-cloud-function (which is a dependency of spring-cloud-stream), so all you need is rewrite your code as such:
@Bean
public Function<Flux<String>, Flux<String>> receive() {
. . .
}

. . . and supply spring.cloud function.definition=receive property.
See more here


Explain how to remove the previous deployment

Avoid this error :
Error from server (AlreadyExists): deployments.extensions "hello-node" already exists

This change is

/assign @a-mccarthy

/hold
/assign


How do I connect with Laravel Echo broadcaster

How do I connect this with Laravel echo? My driver is set to null and my config is...
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
| Supported: "pusher", "redis", "log", "null"
|
*/

'default' => env('BROADCAST_DRIVER', 'null'),

You can either set this in your .env file BROADCAST_DRIVER=pusher or remove BROADCAST_DRIVER variable from your .env and replace null  with pusher here.
btw, this is not Laravel Echo. Echo is JavaScript library after you install it you can set your config in resources/js/bootstrap.js

@mssayari I get that, I followed the demo repo example associated with this project and have been replicating the configuration. I'm not planning on using Pusher, but understand this library is essentially a web sockets integration. Here's my set up...
I have a Laravel 8.x API, and it's purely an API, it has all of my routes in there for communicating with my database. I've installed this library, I also have a Nuxt JS front-end with the Laravel Echo package for Nuxt JS, and am struggling a bit to link that, not sure how it links together, I don't see any errors, but equally, I'm not seeing any events loading on my front end

well, I personally use this with Laravel 8 and vue, I haven't had any problems.
btw, if there is no error, make sure Laravel worker is running and your queue is working or in dev environment you can put QUEUE_CONNECTION=sync in your .env

@mssayari Turns out I was missing one thing...
composer require pusher/pusher-php-server "~3.0"


[RFC] Catalog & API 3D Model Support

3D Models in the Catalog & API
Corollary to WordPress/openverse-frontend#889
This outline is also predicated on the idea that we've identified sources of 3D models, but will seek to flesh out the details regarding metadata fields, database migrations, and API development.
Some potential risks

As it stands currently, each new media type means an additional data refresh. Data refreshes cannot be run simultaneously at present, so we may reach a saturation point where all of our data cannot be refreshed weekly.
We do not have any standard database migration approach for the catalog, so all changes suggested here will likely be ad hoc unless #235 is addressed prior to this implementation.
The API, while it does have a migration tool, does not have a standardized migration application process. We will need to run the migration manually when the time comes.

Some other considerations

Similar to the frontend, it would be ideal to have this under a feature flag in the API. We could perform deployments and testing on our staging setup with the flag enabled, but still make other deployments to production with the flag disabled. We should be able to run the API for images & audio successfully with the feature flag disabled AND without having run the migrations.
As we work through this on both the catalog and the API, we should begin compiling information for a document describing the process for adding a new media type. This will be useful for future media types we are sure to add!

Prior work
We may be able to use previous work regarding the addition of audio to the catalog/API as a guide. These updates required a fair amount of generalization, which we may not need to do a second time around.
WordPress/openverse#19
Technical implementation
1. Add 3D models to the catalog

[ ] Define necessary fields & schema for model_3d table & associated data
[ ] Add DDL to local Postgres image: https://github.com/WordPress/openverse-catalog/tree/main/docker/local_postgres
[ ] Create a popularity calculation view for model_3d
[ ] Add the database columns to db_columns.py: https://github.com/WordPress/openverse-catalog/blob/main/openverse_catalog/dags/common/storage/db_columns.py
[ ] Add the TSV columns to tsv_columns.py: https://github.com/WordPress/openverse-catalog/blob/main/openverse_catalog/dags/common/storage/tsv_columns.py
[ ] Create a Model3DStore subclass of MediaStore:
[ ] Update the new provider API script template with the model_3d provider
[ ] Create one/several provider API scripts & associated DAGs

2. Add 3D models to the API
Note: Borrowed heavily from WordPress/openverse#19

[ ] Django models for model_3d
[ ] Add DRF serializers for model_3d
[ ] Add DRF endpoints for model_3d
[ ] Make the thumbnail server work with model thumbnails

3. Add 3D models to the data refresh

[ ] Add Elasticsearch model_3d models
[ ] Ensure the data refresh works for 3D models
[ ] Add 3D model sample data into the sample data CSV for testing

Open Questions

What data is important to store in the catalog? Some of this is encapsulated in the proposed schema, but there may be other important attributes beyond those listed.
Will it be important to differentiate the "type" of 3D model that a particular record refers to? (E.g. 3D printer model, game asset, artwork, etc.)
Many model sites come with asset groups, should we have a table similar to AudioSets for these cases?

Proposed schema
Below is the proposed schema for the model_3d table in the catalog database. It is subject to change based on discussions that happen here and elsewhere.
Many of the fields towards the end are taken from examples on SketchFab (e.g. https://sketchfab.com/3d-models/charmanders-midnight-snack-57866c01da20414ba81885206acbcc85)

Field
Type
Description

identifier
UUID
Identifier for the record

created_on
timestamp
Time the record was created

updated_on
timestamp
Time the record was updated

ingestion_type
varchar
What generated the record

provider
varchar
Provider API that the model comes from

source
varchar
Source within the provider (e.g. NASA on Flickr), typically the same as provider

foreign_id
varchar
Identifier that the provider uses for this model

foreign_landing_url
varchar
URL on the provider that displays the "single-result" page for this model

url
varchar
URL to the actual asset itself (e.g. the image URL)

thumbnail
varchar
Thumbnail URL

filesize
integer
Size of the file

license
varchar
License for the model

license_version
varchar
Version of the model's license

creator
varchar
Creator ID of the model from the provider

creator_url
varchar
URL to the creator's page on the provider's site

title
varchar
Title of the model

meta_data
jsonb
Uncategorized metadata for the model

tags
jsonb
Tags that describe the model, for use in searching

watermarked
bool
Whether the model is watermarked - is this needed for 3D models?

last_synced_with_source
timestamp
Time the record was last updated from the provider

removed_from_source
bool
Whether the model has been removed from the upstream source

category
varchar
Category for the model (is this where we'll make the distinction between 3D printers, game assets, etc.?)

filetype
varchar
File type of the primary file for the model

alt_files
jsonb
Additional file types for the model

vertices
integer
Number of vertices within the model

textures
integer
Number of textures the model uses

materials
integer
Number of materials the model uses

uv_mapping
bool
Whether the model contains UV Mapping

vertex_colors
bool
Whether the model contains vertex colors

pbr
bool
Whether the model supports physically based rendering

rigged_geometries
bool
Whether the model supports rigging for animation

animations
integer
Number of animations the model has

morph_geometries
integer
Number of morph targets for animation

Closing in favor of WordPress/openverse#171


Tensorflow site language switching

Switching from Russian to English doesn't work.
English -> Russian is ok
Russian -> French is ok
Russian -> Deutsch is ok
I've tried this: https://www.tensorflow.org/ and this
https://www.tensorflow.org/?hl=en
Also I've deleted all other languages except English from my Google Account.

Tested in Google Chrome and Mozilla Firefox browser.

Hi @zzz7net! I checked the translation in Russian then switched to English from Drop down .Link is working fine for me. Could you  check again after disconnecting from any VPN service if you are using.

VPN is off and the same result. Even if I connect through VPN a language of the interface should not depend on my location. Because I switch the language manually. I can switch from Russian to any language except English. And this is a bug or web-designer flaw.

Hi @zzz7net ! I tried to replicate the above situation in my local system (connected with VPN) , It lagged a bit after switched from Russian to English and then worked when I refreshed the Site once. Can you check after refreshing the page once?

@mohantym I appreciate your efforts, but I'm already used to this feature. It shouldn't work that way, but let's say it is a Google feature, not a bug. Hopefully in the future someone will rewrite tensorflow site and everything will work as it should.

@zzz7net ,We will definitely track this issue . Feel free to close this issue if it helped!

As far as I know it will be closed automatically after some amount of time. But anyway thanks. This was a nice conversation.

Closing the issue as language translation is reflecting after refresh( website lags a bit when connected to VPN ).


add slack support for notification

Support for slack notification, using the core code in the telegram function.

Thanks for your contribution.


[0010] The layout of the pointee buffer is not well defined.

Which document does this relate to?
https://github.com/microsoft/hlsl-specs/blob/9c42e278961dbf5b77d7d18b1e7ba7f6c0856154/proposals/0010-vk-buffer-ref.md
Describe the issue you see with the spec
In the Buffer Pointer Pointee Buffer Layout section, it says:

The pointee of a vk::BufferPointer is considered to be a buffer and will be laid out as the user directs all buffers to be laid out

The problem is that I am not sure why type of buffer this is referring to. I assume it refers to structured buffers, but it could be a constant buffer, which are laid out differently. See the SPIR-V documentation for how different types are laid out.
Note that the types have to follow the standard storage buffer layout rules.
It is also worth considering the conversations in https://github.com/microsoft/DirectXShaderCompiler/issues/4924.
Additional context
The layout for the vk::RawBuffer* have been an issue for people, and we sho9uld avoid the same mistakes with vk::BufferPointer. The layout needs to be well documented, and tested.

@cassiebeckley Could you please look into this?

Any device that has the non-uvec2 variant (uint64_t) of Buffer Device Address, is extremely likely to have Scalar Layout as a feature as well.


Center title on Android in a StackNavigator

Hi,
I tried to center the title of a StackNavigator in Android but nothing worked.
Someone knows how to do? :(
Sincerely,

Hey,
You can pass custom style for title that centers text just like on iOS:
navigationOptions: {
  header: {
     style: {
        textAlign: 'center',
     },
  },
}

It works? It tried and nothing happened
Maybe I did a mistake

Please provide a full snippet showing how you tried setting these values up. As far as the code goes, it should work.

There's also the new titleStyle prop for headers. Maybe try setting the textAlign: 'center' in that?

@michaelduminy yeah, you are right! I meant that prop :)

@grabbou Any suggestions on how to fix this? When I applied textAlign: 'center' in my titleStyle object, it centers the title, but I want to center the text respective to the entire window, not the size of the text box:

Also, is there any way to change the color of the navigation arrow pictured in the top left?
My code:
static navigationOptions = {
    title: applyLetterSpacing('REGISTRATION'),
    header: navigation => ({
      style: {
        backgroundColor: 'rgb(47, 54, 61)',
        shadowOpacity: 0,
      },
      titleStyle: {
        color: '#fff',
        fontFamily: 'MuseoSansRounded-300',
        textAlign: 'center'
      }
    })
  };

Add marginRight: 56

I don't know why textAlign isn't working with me.
const MainScreenNavigator = StackNavigator({
	Home: {
		screen: LoginScreen,
		navigationOptions: {
			header: {
				title: 'TITLE',
				titleStyle: {
					color: 'black',
					align: 'center',
					textAlign:'center',
					fontFamily: 'MuseoSansRounded-300',
					fontWeight: '500'
				}
			}
		}
	}
});

alignSelf: center
On Sun, Apr 9, 2017 at 2:26 PM mahmoud ™<EMAIL_ADDRESS>wrote:

I don't know why textAlign isn't working with me.
const MainScreenNavigator = StackNavigator({
Home: {
screen: LoginScreen,
navigationOptions: {
header: {
title: 'TITLE',
titleStyle: {
color: 'black',
align: 'center',
textAlign:'center',
fontFamily: 'MuseoSansRounded-300',
fontWeight: '500'
}
}
}
}
});
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/react-community/react-navigation/issues/253#issuecomment-292806936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQV3l1r1bmSNQJBTmfBd3fbCb0CQDEIks5ruTDigaJpZM4L70Na
.

In case anybody struggles with this as I just did, it looks like the latest version uses headerTitleStyle instead of titleStyle.  See docs here

It doesn't work for me.  Does anyone have a solution?

@Lexiwu what version of React Navigation are you using? The API has changed in the latest release.

I updated the latest version from git.
I check the latest release,
and I use :
headerStyle :{justifyContent: 'center',borderWidth: 1, borderColor: '#1d2088'},
headerTitleStyle :{textAlign: 'center', borderWidth: 1, borderColor: '#ff0000'}
Am I using it right?
I am a newer in react-native.

@Lexiwu if you add alignSelf: 'center' does your issue get resolved?

@matthamil
It works!!
That's odd. I tried "alignSelf: 'center'" yesterday, and it did not work.
Anyway, thank you a lot!!!

static navigationOptions = {
title:'登录',
headerTitleStyle :{textAlign: 'center',alignSelf:'center'},
headerStyle:{
backgroundColor:'red',
}
};
it work

headerTitleStyle:{
fontWeight:'500',
fontSize:24,
marginTop:5,
alignSelf:'center'
},
alignSelf:'center'
this works for me.

Just in case if you want to have well centered title make sure both
headerLeft: (),
headerRight: ()
have "View" or other element inside.
together with
headerTitleStyle :{textAlign: 'center',alignSelf:'center'},
will work like a charm.

This was sufficient for me:
  static navigationOptions = {
    title: 'My Title',
    headerTitleStyle: {alignSelf: 'center'},
};

1.Modify the method _renderTitle in source code Header.js
Comment on the following code:
if (Platform.OS === 'android') {
if (!options.hasLeftComponent) {
style.left = 0;
}
if (!options.hasRightComponent) {
style.right = 0;
}
}
2. set headerTitleStyle in the global situation
const stackNav = StackNavigator(
{
xxx: {screen: xxx}
},
{
navigationOptions: {
headerTitleStyle: {
marginHorizontal: 0,
alignSelf:'center',
},
},
}
);

Hi!
If my navigation bar has left or right elements the title is not well centered:

@iuraya clearing the right view works for me:
static navigationOptions = ({ navigation }) => ({
    headerTitle: 'New Card',
    headerTitleStyle: {
      alignSelf: 'center',
      textAlign: 'center'
    },
    headerRight: (<View></View>)
  })

The same that @iuraya here

@gulshanzealous Its work for me also...

@Kirill23 I set left and right in config:
  navigationOptions: ( {navigation}) => {
    const { routeName } = navigation.state;
    return {
      gesturesEnabled: false,
      headerLeft: (<View />),
      headerRight: (<View />),

but, when tabNavigator be nested in StackNavigator, the sub screen's header of right does not override the default config of header
  static navigationOptions = ({navigation}) => {
    const params = { headerTitle: (<Title content='mall'/>) };
    params.headerRight = (
      <SearchIcon
        iconStyle={{ marginRight: 10, marginBottom: -5 }}
        iconClick={() => navigation.navigate('Search.index')} />
    );

    return params;
  }

do you have any suggestion ?

As of today, with the latest version of React Native Navigation, this issue still persists. In this thread there a number of "hacks" presented but the real issue is obvious in the library itself.
Just to reiterate the problem; on Android, then title is not centered correctly when a button on the left is shown (like a Back button). Centering the title without any buttons in the header works correctly.

but why headerStyle: {justifyContent: 'center'} doewn't work ??!!

I had the same issue with StackNavigation, reporded by @oscarjg  and @iuraya .
Unfortunately, it seems that the only way to solve this issue is by using  headerTitleStyle: { ...alignSelf: "center"... }  and adjusting the width percentage according to the size of the text (in order to prevent the text to be truncated). And also, this may work well with Android but not with iPhone (check if the percentage work for both OS).
Something like this:
headerTitleStyle: {           fontFamily: "Montserrat-Regular",           fontSize: 16,           fontWeight: "normal",           justifyContent: "center",           alignSelf: "center",              width: "35%"  //Varies according to the size of the text.        }
For example:"Termos e Condições":
  static navigationOptions = {       title: "Termos e Condições",       headerStyle: {backgroundColor: color.grapePurple},       headerTintColor: color.whiteTwo,       headerTitleStyle: {           fontFamily: "Montserrat-Regular",           fontSize: 16,           fontWeight: "normal",           justifyContent: "center",           alignSelf: "center",           width: "65%"       }   };

Another example: "Sobre":
  static navigationOptions = {       title: "Sobre",       headerStyle: {backgroundColor: color.grapePurple},       headerTintColor: color.whiteTwo,       headerTitleStyle: {           fontFamily: "Montserrat-Regular",           fontSize: 16,           fontWeight: "normal",           justifyContent: "center",           alignSelf: "center",           width: "35%"       },       backTitle: ""   };

can someone please create a new issue for this and include an example that reproduces it on https://snack.expo.io? thanks

static navigationOptions = {
title:'TITLE',
headerTitleStyle :{textAlign: 'center',alignSelf:'center'},
headerStyle:{
backgroundColor:'red',
}
};
check this .,, 100% working

Hi! @pravinraut809 The problem is with image component as a title not with simple text and on Android platform.
@brentvatne I'm going to try it today or tomorrow
Thanks!

Was there a new issue open for this?

it's a huge pan for me

static navigationOptions = {
    title: 'Home',
    headerStyle: {
    },
    headerTintColor: '#fff',
    headerTitleStyle: {
        width: '90%',
        textAlign: 'center',
    },
};

Setting width percent works for me. I've no idea why setting width: 100% makes it in the absolute center

same problem here some tricks that worked for me perhaps it helps you :

added flex:1 to HeaderTitleStyle
added flex as well as fixed dimensions for android
headerLogo:Platform.OS === 'ios'?{  width:90,alignSelf:'center',alignItems:'center' }:{  flex:1,width:180,height:70 }
used title for Android and headerTitle for ios (dont know why they work better this way):

    title:Platform.OS === 'ios' ?null:logo,
    headerTitle:Platform.OS === 'ios' ? logo : null,

So far the best solution i've found is to set headerTitleStyle to have
{
    textAlign: "center",
    flex: 1,
}

this way you don't have to set a percent, works well with text (not sure what images do)

headerTitleStyle: {textAlign:'center', alignSelf:'center',flex:1}
works for me

some good answers here so I'll lock this so they're easy to find. if you run into further issues or these solutions do not work for you, please create a new issue. also, if you'd like to add these solutions to the documentation that would be very helpful! github.com/react-navigation/website


[storage] [wip] add tests.yml for changefeed

Have to merge this so that we can create the live tests pipeline for change feed and then tune the configurations.
Questions

[ ] How to enable the change feed feature for the account? It takes some time to take effect.

TODOs

[ ] Fix pipeline configuration for datalake: https://dev.azure.com/azure-sdk/internal/_build?definitionId=1808

I think so. But we need to verify it and also need to figure out how to make the pipeline work for change feed tests.

@ljian3377 Is this PR still applicable?
cc @EmmaZhu

If there are no plans of immediate follow up on this PR, can you please log an issue to track this work and close this PR?

@EmmaZhu ping!
Can we close this PR if there are no immediate plans to do make any updates here?

Opened this issue to track it:
https://github.com/Azure/azure-sdk-for-js/issues/17398
Close this issue for now.


Update build.sh to use cmdline tools.

Objective

Fix the simple out of the box experience when cloning TalkBack and then running "./build.sh" on any recent version of Android Tools/Android Studio.

Description

The sdkmanager located in  {ANDROID_SDK}"/tools/bin/ contains an old-unmaintained version of the sdk manager that doesn't work with the version of JAVA shipped in modern Android Studio versions.
The "new" more updated sdkmanager is located in {ANDROID_SDK}"/cmdline-tools/latest/bin/sdkmanager.
It is expected that new Android Devs who have not downloaded this Optional dependency, can do so with one click (and they can, by using the SDK Manager included in their Android Studio. This is better than a cryptic error message like Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema when running a build script.

It's unfortunate, but according to this comment TalkBack is not being developed openly and does not [officially - highlight mine] accept pull requests.
For the most current open-source fork of TalkBack, you can check out TalkBack FOSS.

It's unfortunate, but according to this comment TalkBack is not being developed openly and does not [officially - highlight mine] accept pull requests.
For the most current open-source fork of TalkBack, you can check out TalkBack FOSS.

Sad.
Thanks for sharing. Closing this PR then. If they'd only include TalkBack in emulators we wouldn't need to compile an APK :face_exhaling:

@Gryzor  You're right.

talkback-foss doesn't have a perspective unless an experienced
developer joins. No visible and usable changes except updates of build
environment which doesn't matter for user.
On 8/26/23, Patryk Miś @.***> wrote:

@Gryzor  You're right.
--
Reply to this email directly or view it on GitHub:
https://github.com/google/talkback/pull/31#issuecomment-1694082521
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: @.***
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili

@beqabeqa473 you're right, too.


Missing space between value and unit in header

Checklist

[ x] I updated the card to the latest version available
[x ] I cleared the cache of my browser
[x ] I verified that I'm really running the lastest version in my browser console
[x ] I checked if there is another issue opened with the same problem

Describe the bug
There is missing space between number value and unit in header. See pic.
Version of the card
Version: 2.0.4
To Reproduce
This is the configuration I used:

type: custom:apexcharts-card
header:
  show: true
  title: ''
  show_states: true
  colorize_states: true
series:
  - entity: sensor.senseair_co2_value
    show:
      legend_value: false
    stroke_width: 2
  - entity: sensor.netatmo_bobo_netatmo_indoor_co2
    stroke_width: 2
    show:
      legend_value: false

Screenshots

Expected behavior
I expect space between number and unit.
Desktop (please complete the following information):

Browser Chrome
Version 120.0.6099.130

I would guess that this is per design as the unit is displayed in a different style and slightly subscripted. Generally there is a space between value and unit, I agree. But this might just be per design here.


generated crates should include the latest version of each module by default

Consider azure_mgmt_resources.   In go, the modules are split up by module name such as:
❯ grep ^module-name azure-rest-api-specs/specification/resources/resource-manager/readme.go.md
module-name: sdk/resourcemanager/resources/armresources
module-name: sdk/resourcemanager/resources/armdeploymentscripts
module-name: sdk/resourcemanager/resources/armfeatures
module-name: sdk/resourcemanager/resources/armlinks
module-name: sdk/resourcemanager/resources/armlocks
module-name: sdk/resourcemanager/resources/armmanagedapplications
module-name: sdk/resourcemanager/resources/armpolicy
module-name: sdk/resourcemanager/resources/armsubscriptions
module-name: sdk/resourcemanager/resources/armtemplatespecs
module-name: sdk/resourcemanager/resources/armchanges

Python does something similar by dividing them up by names:Ace
❯ grep ^namespace azure-rest-api-specs/specification/resources/resource-manager/readme.python.md |head -n 10
namespace: azure.mgmt.resource.changes.v2022_05_01
namespace: azure.mgmt.resource.privatelinks.v2020_05_01
namespace: azure.mgmt.resource.features.v2021_07_01
namespace: azure.mgmt.resource.features.v2015_12_01
namespace: azure.mgmt.resource.links.v2016_09_01
namespace: azure.mgmt.resource.locks.v2016_09_01
namespace: azure.mgmt.resource.locks.v2015_01_01
namespace: azure.mgmt.resource.managedapplications
namespace: azure.mgmt.resource.policy.v2021_06_01
namespace: azure.mgmt.resource.policy.v2020_09_01

It would be useful to have the latest version of each of the module to be our default set when using the module.

The default module is the default tag by default. In the case of azure_resource_manager, it is:
https://github.com/Azure/azure-sdk-for-rust/blob/c95db55e7e686ee99d756c5e29ba04e4f9f4c380/services/mgmt/resources/README.md?plain=1#L9
because that is what it is set to by the spec authors:
https://github.com/Azure/azure-rest-api-specs/blob/50ed15bd61ac79f2368d769df0c207a00b9e099f/specification/resources/resource-manager/readme.md?plain=1#L29


Update Readme with latest changes

Mention what does the tool does exactly.
Also change the name of the tool.

Done 3c67ecc .


[SPIKE] Decouple UI interaction from wallet package

This is a spike to explore how the wallet implementation can be split up to exclude the current tight coupling from the UI interaction.
Since more logic than less of the wallet is actually what we want from the proposed engine package, the package wallet is renamed in this PR to engine with the intent to extract the non-engine specific functionality out.
More concretely, this means refactoring the current implementation to not be using the PureComponent elements from react.
The following PureComponents are being used right now as the bridge between the engine and the UI. Since this is not a small change, to prevent major divergence from master, the path of action is to keep the build and tests passing at all times while incrementally refactoring each of the following components separately (note that the order of presentation isn't necessarily the order in which the items will be checked off; the order will be decided by whatever is easiest to refactor moving forward as this is a spike). It will likely be the case that each component will be tackled in a separate, stacked PR to make reviews easier.
The work for each protocol will be marked as either "IN PROGRESS" or "DONE".

[ ] defunding
[ ] concluding
[ ] funding
[ ] dispute/challenger
[ ] dispute/challenger/components/wait-for-response-or-timeout
[ ] dispute/responder
[ ] dispute/responder/components/wait-for-approval
[ ] funding-strategy-negotiation/player-a
[ ] funding-strategy-negotiation/player-b
[ ] ledger-funding [IN PROGRESS]
[ ] ledger-defunding
[ ] virtual-defunding
[ ] close-ledger-channel
[ ] withdrawing
[ ] new-ledger-channel
[ ] existing-ledger-funding
[ ] consensus-update
[ ] advance-channel
[ ] withdrawing/components/wait-for-approval
[ ] ledger-top-up
[ ] new-ledger-channel/components/funding-step
[ ] advance-channel/components/advancing-channel
[ ] direct-funding
[ ] direct-funding/components/funding-step
[ ] src/containers/engine

Do you guys think there is a way to make this change as a series of PRs into master as opposed to one giant PR? Perhaps we can:

Change wallet to engine naming scheme.
Iteratively split engine logic from UI for each protocol.

I would be in favor of that approach!

Do you guys think there is a way to make this change as a series of PRs into master as opposed to one giant PR?

I am in favor of this.

Iteratively split engine logic from UI for each protocol.

This would be the same as having the stacked PRs against this branch, except against master (which would also be better to reduce merge conflicts).

Ok looks like @lalexgap also agrees. Will just merge this as is then and move the list of check boxes to an issue to track this work as an epic.


Option to use an inline policy instead of a managed policy

Relevant aws_iam_role code
https://github.com/aws-ia/terraform-aws-eks-blueprints-teams/blob/e039ac2fbcc25f8990965cc298f97208e573e74c/main.tf#L438-L452

Compare this which creates a managed iam policy which can be reused accidentally in another role
https://github.com/aws-ia/terraform-aws-eks-blueprints-teams/blob/e039ac2fbcc25f8990965cc298f97208e573e74c/main.tf#L519-L537
vs this example of an inline policy which

uses 2 fewer resources
an inline policy which cannot be reused
an inline policy which does not need to be globally named to avoid a name conflict
an inline policy which does not need to be tagged

resource "aws_iam_role" "this" {
  count = var.create_iam_role ? 1 : 0

  # truncated for brevity

  dynamic "inline_policy" {
    for_each = var.iam_role_use_inline_policy ? [1] : []

    statement {
      name = local.admin_policy_name

      policy = data.aws_iam_policy_document.admin[0].json
    }
  }
}

Related

aws_iam_role - add an inline policy in role
aws_iam_role_policy - inline role policy separate resource

Sorry I'm not quite following - is there an issue or end goal you are trying to resolve?

Yes. I'd like to create an inline policy instead of a managed policy to avoid a dev from reusing the IAM policy by mistake which would then prevent me from deleting the policy in the future due to its reuse. I can do that by using an inline policy instead of a managed policy.

Unstale

Why is an inline policy a good idea?

I don't have much more to add than the above comment https://github.com/aws-ia/terraform-aws-eks-blueprints-teams/issues/22#issuecomment-1751579295
If anything, it's better to default to an inline policy or even convert to an inline policy from a managed policy so the policy cannot be accidentally reused.
Managed policies are for sharing.
Inline policies are for single uses.


Role Assignment for SOLR Replicas

Hi Team!
I was wondering if we have possibility to assign different roles for replicas, each of which is essentially a SOLR node, using SOLR's Node Roles feature?

This is a very good question, but ultimately it would be a fairly big change to the way that the operator works.
Currently the Solr Operator uses a single StatefulSet to manage the pods for each SolrCloud instance. The statefulSet has a single pod spec, so pods are meant to be identical. That means we can't give different envVars (to set the node role) to different pods.
One option would be to have the Solr Operator manage a solr cloud in multiple StatefulSets, so that each statefulSet could have a different podSpec to . This is definitely something that could be done, but would be a fairly big undertaking. If you list your use case, and how you imagine you would want to configure the node roles, then it's something we could think about for v0.9.0 or v1.0.0.

In SIP-14 we discuss adding a zookeeper noe-role. Then it would make sense to start a separate statefulSet for the zk pods. They may need different role, different RAM, disk, CPU limit etc. The same could be true for other node-roles such as "data", "coordinator" and future roles. So perhaps if the operator had a way to configure optional group of pods with different combination of node-roles, and each would get its own statefulset. You could then have a group of pods which are optimized for querying (pull replica) etc.

Thank you @janhoy and @HoustonPutman for your interest in this question.
The primarily idea is to create a SolrCloud environment where we maintain a large dataset under 3+ distributed Solr instances with the backup-restore feature at hand. This mechanism is experimental and we conduct extensive tests on it. Additionally, I want to experiment with another scenario where shard-leaders and replicas reside in separate and isolated instances within the cluster. In this setup, leader-shards are responsible for updates and backup-restore tasks, while replicas can handle heavy users requests. However, I'm still unsure if this is the best practice and feasible when it comes to the SolrCloud concept.
Returning to my initial question, although my understanding of how the logic behind assigning node roles works is not solid at the moment, I was expecting a Solr API for nodes to assign new roles to running instances in the cluster at runtime as there is a Roles API that allows us to list some node level details at cluster level.

I believe the role assignment is a startup property on purpose, designed to be a more static feature of a node that you don't want to be messed with at runtime. It would also be much more complex to, say, remove the "data" role from a node in-flight, would it then instantly evict all its cores, etc?

designed to be a more static feature of a node that you don't want to be messed with at runtime.

Why would someone mess things up if they have the right API calls to arrange their cluster's nodes roles before populating any data and releasing it to production? Apart from this, one could also mess things up with some of the existing Solr APIs too. For instance, the Restore API lets us restore a backup even if there is a collection with the same name in the cluster. My point is, depending on how we approach, you might need to do some pre-checks before messing the whole cluster.

would it then instantly evict all its cores, etc?

So what happens "if I restart a data:on Solr instance that holds data, but is now data:off?"

There was a fairly thorough discussion on the design here https://lists.apache.org/thread/39q48fbtcxcl9btg24twj9bwowlro16d - perhaps you find the answer to the particular decision.
All in all, would be great to have support in the operator!

Indeed, It looks like a long and back and forth discussion, and I also noticed some of you shared my opinion. Well, at this point, it seems you have already made a conclusion about this SIP, what is done is already done. However, It would be excellent if you consider another option for defining an instance's role next to envVars in the future.
Regarding the main question, we'll likely have to rely on the operator to have support for specific envVars declarations in the solrOpts field within the SolrCloud CRD spec.  Perhaps, the operator could introduce a new way to label parameters with the use of a mix of strings --<metadata.name> + <solrcloud-kind-name> + <instance-number>--. Therefore, we can assign specific flags to individual instances. For instance, if metadata.name:test and the cluster has 2 replicas/instances, they can be defined as test-solrcloud-0:-Dsolr.node.roles=coordinator:on,data:off test-solrcloud-1:-Dsolr.node.roles=coordinator:off,data:on It is just my first impression and it could also be done in another way.

When do you think you can consider this enhancement to be part of one of the next releases @HoustonPutman ?

Maybe for v0.9.0. Using the roles API, it would be more feasible. We already do some defaulting when Pods are created (no API calls though). So it is feasible to add another defaulting method, which works with a readinessCondition.
Basically when a pod is started, the nodeRoleInitialized readinessCondition will be empty. The operator would have code to say, while the Solr container is ready and the nodeRoleInitialized readinessCondition is empty, call the roles API. When the API call is successful, set the nodeRoleInitialized readinessCondition to true. That way we have a stateful and idempotent way of handling the API calls.
How do you imagine this would be integrated into the SolrCloud CRD?

Sorry that I totally missed your message. I'm unsure whether this could be applicable from the implementation perspective. Would it be possible to introduce another handy CRD for custom Solr settings that interacts with the SolrCloud CRD at pod startup?


Commands have duplicate help/source buttons

What is the distinction between these buttons? Sometimes the Source button goes to the same place (e.g. for View: AddDimension) and sometimes it seems to go to separate IJ1/IJ2 sources (Add Selection...). The first Help button (indicated) seems to want to go to an original ImageJ-style URL and has not worked for me. The second Help button works fine for me in the cases I tried.

I'm guessing it has to do with ImageJ2 LegacyCommand wrappers around original ImageJ commands.
The problem also happens when running ImageJ2+ImageJ via jgo -m net.imagej:imagej:2.10.0+net.imagej:imagej-legacy:MANAGED (although strangely, it does not occur when running jgo sc.fiji:fiji:2.10.0...).

@ctrueden @hinerm this is happening because scijava/scijava-search#24 and scijava/script-editor#63 were merged, and imagej/imagej-legacy#283 was not.

Is it worth fixing this by requiring a minimum imagej legacy version, or should we just leave it as is?

See also https://github.com/scijava/scijava-search/pull/28

@gselzer The legacy links should be fixed once we figure out why there's no 1.54c tag from the action build - right?

The legacy links should be fixed once we figure out why there's no 1.54c tag from the action build - right?

Answer: these were being built manually and 1.54c simply hadn't been built yet.


Anemoi-training command not captured by Mlflow

What happened?
When running anemoi-training train with Mlflow logger activated it should be possible to capture the exact command used in mlflow. However currently that functionality seems to be broken, see below:

Correct command should show:
 anemoi-training  train--config-name=ref_deterministic_0_3.yaml
What are the steps to reproduce the bug?
Run anemoi-training --config-name=debug.yaml (or any example config, making sure that:

diagnostics:
  log:
    mlflow:
      enabled: True

Version
v0.1.0
Platform (OS and architecture)
ATOS
Relevant log output
No response
Accompanying data
No response
Organisation
No response

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Prefix for generated models

Hi,
It's could be great if we could add a prefix to generated model.
Thanks for this great tool,

Which target language are you talking about?  Why do you want a prefix?  I take it you want to prefix every type name?

The Objective-C renderer supports a custom class name prefix. It would be easy to add this to any language.

I don't think it makes much sense for languages that have namespaces.  But maybe I'm missing something.

For the Swift language

Sometimes in Swift some generated model name collide with Standard library names or other library names.

We try to exclude names that collide with common type names.  Which names in particular cause the collisions for you?

Result which is a popular library on iOS.

Depends on #707


KAFKA-8579: Expose RocksDB metrics

RocksDB metrics are added to the Kafka metrics. For each segmented state store only
one set of metrics is exposed rather than one set of metrics for each segment.
The metrics are not computed yet.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review @ableegoldman @guozhangwang @vvcephei @bbejeck @mjsax @abbccdda

In Java 8, the following tests failed:
kafka.api.AdminClientIntegrationTest.testElectUncleanLeadersForManyPartitions

In Java 11 & Scala 2.12, the following tests failed:
kafka.api.AdminClientIntegrationTest.testElectUncleanLeadersForManyPartitions

In Java 11 & Scala 2.13, the following tests failed:
org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testStartTwoConnectors
kafka.server.LogDirFailureTest.testIOExceptionDuringLogRoll

Retest this, please

I added code to remove statistics from the RocksDB metrics recorder when a segment is closed.

All three failures due to jenkins issues.
Retest this, please

JDK 11/Scala 2.12 and JDK 8/Scala 2.11 failed due to Build timed out (after 240 minutes)
JDK 11/Scala 2.13 failed due to
java.lang.AssertionError: Condition not met within timeout 15000. Timed out waiting for expected tasks {"foo":{"id":"foo","taskState":{"state":"DONE","spec":{"class":"org.apache.kafka.trogdor.task.NoOpTaskSpec","startMs":5,"durationMs":7},"startedMs":11,"doneMs":18,"cancelled":true,"status":{"node01":"done","node02":"done"}},"workerState":{"state":"DONE","taskId":"foo","spec":{"class":"org.apache.kafka.trogdor.task.NoOpTaskSpec","startMs":5,"durationMs":7},"startedMs":11,"doneMs":18,"status":"done"}}}

Retest this, please


AnimationPlayer.play results in noop when called from animated setget variable

Godot version:
3.2.3
OS/device including version:
Ubuntu Linux 20.04
Issue description:
When animating a script variable (ie. an exported variable) with a setget, it is possible that calling play on the AnimationPlayer from the setter method won't do anything.
This can easily be worked around by using call_deferred("play", ...) from the setter instead, but I reckon it'd be worth printing a warning if the animation is currently processing (which I presume is causing this problem).
Steps to reproduce:

Export a setget variable
Animate it using an AnimationPlayer
Note that the setter method runs (eg. use a breakpoint) but that play doesn't do anything

Minimal reproduction project:
animation.zip
When running the above, note that the textbox shows 'A' continuously. Uncomment the call_deferred line in Node2D.gd and you'll note it changes to B.

What happens here is roughly this:
process animation
    call method
        play animation
    end process animation

The animation ends at the same time as another one is played, so the new one is ended immediately (you can connect animation_started signal and it will show that animation B starts).
We could check before finishing animation if a new one hasn't started (playback.started is true). But it's an extremely edge case. It can only happen when play() is called as a result of method track callback at the very end of the animation.

What happens here is roughly this:
process animation
    call method
        play animation
    end process animation

The animation ends at the same time as another one is played, so the new one is ended immediately (you can connect animation_started signal and it will show that animation B starts).
We could check before finishing animation if a new one hasn't started (playback.started is true). But it's an extremely edge case. It can only happen when play() is called as a result of method track callback at the very end of the animation.


Linuxbrew no longer uses a bottle when installing binutils

Not sure if this has been raised before (please slap me down otherwise). Recently I have noticed that binutils attempts to recompile itself on my Linuxbrew installations. I do not install to the ~linuxbrew/.brew location and am using a non-standard root. However I am sure that binutils could be installed using a relocatable bottle.
Has anything changed recently in brew to stop this feature?

You can try brew install --force-bottle binutils

Hi. That does work and brew doesn't complain. However it's really odd that
brew now chooses not to use the binutils bottle.
On Wed, 15 Aug 2018 at 16:29, Jonathan Chang<EMAIL_ADDRESS>wrote:

You can try brew install --force-bottle binutils
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Linuxbrew/brew/issues/811#issuecomment-413234381, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAK5GVZdtD7FX4_d_dND3rEBzO3-7Upfks5uRD5ogaJpZM4V-TLV
.

Yes, it's a known issue, Homebrew could be better at detecting whether bottles could be relocated.

Actually, binutils is a special case, check out https://github.com/Linuxbrew/brew/wiki/Build-a-portable-bottle

Fixed in 5041f9e7a6

Fantastic thank you :)
On Wed, 15 Aug 2018 at 17:00, Jonathan Chang<EMAIL_ADDRESS>wrote:

Fixed in Linuxbrew/homebrew-core@5041f9e
https://github.com/Linuxbrew/homebrew-core/commit/5041f9e7a6b2ab41c75827fc8fd05b29a09939f7
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Linuxbrew/brew/issues/811#issuecomment-413244105, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAK5Gb_cumszTPZtHSQlA3ZcC2NAhOyrks5uREWkgaJpZM4V-TLV
.


Add python dependencies into package.xml for rosdep

This is a similar PR to the one recently for the master branch. This allows rosdep handle the installation of some dependencies that this package needs.

Thanks!!


Sync issues

wallet synced up until last block as per block explorer
though still giving error on getblocktemplate
error -10: smartcash is syncing with network...
getinfo
{
"version": 1020300,
"protocolversion": 90026,
"walletversion": 130000,
"balance": 0,
"blocks": 548414,
"timeoffset": 0,
"connections": 8,
"proxy": "",
"difficulty": 61347.85184762,
"testnet": false,
"keypoololdest": "2018-07-09 10:11:01 +0300",
"keypoolsize": 199,
"paytxfee": 0,
"relayfee": 0.001,
"errors": ""
}
getblocktemplate
error -10: smartcash is syncing with network...

Thats no issue..there is more than only block syncing to be done on startup. What you noticed is related to the nodelist/winnerslist sync. If you check snsync status you will see when your daemon is entirely synced with the network.


Update to Godot 4

Tracking issue

@jonri I brute forced godot 4 into Hydro.

Todo restore:

[ ] void HydroRigidDynamicBody::draw_debug_face(const Face3 &face,
const Transform3D &transform) {
[ ] void HydroRigidDynamicBody::draw_debug_mesh(const ClippableMesh &mesh,
const Transform3D &transform) {

Have been playing around with godot 4, would love to have hydro working there, has anything been done in this area recently? Happy to help out if someone points me in the right direction!

I am in too many things. Let me know what problems you have https://github.com/godot-extended-libraries/hydro/tree/4.0.
I and @jonri  can review .

https://github.com/benbot/hydro/tree/4.0 @jonri has the latest work.

The latest hydro has the changes. The ocean is disabled.


Never-ending extension "update available" loop after updating vscode.engines property

Testing #12658 (Windows)
Repro steps:

Publish test-extension-pack-1
install extension, restart vscode
Increment the version and change the vscode.engines property to "^1.7.0", publish again
Search for extension in marketplace

Expected:
"no update" button doesn't appear or some warning about the latest version being incompatible w/ vscode
Actual:
Extension pack appears with update button

Clicking the update button "installs" the extension, adds an "enable" button, but doesn't disable the "update" button

Press Update button a couple more times (for science!)

Press Enable button, restart VSCode
Search again, extension not installed.... Repeat, ad infinitum

Maybe #12011 ...

Not related to #12011. Could be related to compatibility check which I could reproduce.

@mousetraps Good catch.


taxi stop does not work

When using taxi stop, it throws an error: AttributeError: 'Timesheet' object has no attribute 'round_to_quarter'
I see two solutions here:

Move method round_to_quarter from module to class (if it has no dependencies)
Create wrapper round_to_quarter within Timesheet class, which calls the method class (in case there are dependencies)

Fixed in Taxi 4.4.2, thanks for reporting.


Fix typo: longFilename -> longFileName

Fixes:

"ReferenceError: longFileName is not defined" if settings.language.length < 5;

longFileName leaks to the global scope if settings.language.length >=5 .

Found that #53 aims to solve the same problem as well.


Error query and Kundera TimedOutException with Cassandra

Hello!
I'm having a problem with Cassandra and Kundera.
I need to persist a Frame object with arrays to R, G, and B, but I'm having a 'ERROR c.i.c.c.CassandraClientBase - Error while executing query' and then a 'com.impetus.kundera.KunderaException: TimedOutException ()'.
The Frame object loads well into memory, but when the data is going to be persisted the terminal shows the first error with the Query, and on final I have TimedOutException.
I believe it is something related to the amount of data, because if only the array of R (or one of others) is inserted into the Frame object, nothing is listed in the terminal no error is displayed and the data is written correctly.
OBS: my logback.xml just show ERRORS and my show.query is set to false.
my DAO class
imports.....
public abstract class DAO<E>{
        protected EntityManager entityManager;

	public DAO(){
		entityManager = getEntityManager();
	}

	private EntityManager getEntityManager(){
		Map<String, String> props = new HashMap<>();
		props.put(CassandraConstants.CQL_VERSION, CassandraConstants.CQL_VERSION_3_0);
		EntityManagerFactory emf = Persistence.createEntityManagerFactory("cassandra_pu", props);
		if(entityManager == null)
			entityManager = emf.createEntityManager();

		return entityManager;
	}

        public boolean persist(E object){
		boolean result = true;

		try{
			entityManager.getTransaction().begin();
			entityManager.persist(object);
			entityManager.getTransaction().commit();
		}catch(Exception e){
			System.out.println("DAO - Error during persistence: "+e);
			entityManager.getTransaction().rollback();
			result = false;
		}
		return result;
	}

....
}

Configs:
Java 8
Kundera 3.7
Cassandra 2.2.9
CQL 3.3.1
MAVEN 3.3.9

@urielcaire
Can you share your Frame entity?
-Karthik

@karthikprasad13 off course!!
// .... javax and java imports....

@Entity
@Table(name = "Frame", schema = "KunderaExamples@cassandra_pu")
public class Frame {

	@Id
	private long keyFrame;

	@Column(name="r")
	private List<Integer> r = new ArrayList<>();

	@Column(name="g")
	private List<Integer> g = new ArrayList<>();

	@Column(name="b")
	private List<Integer> b = new ArrayList<>();

	@Column(name="d")
	private byte[] d;

	@ManyToOne
	private Video video;

	@OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType.EAGER)
	@JoinColumn(name = "keyFrame")
	@Column(name = "humanpose")
	private List<HumanPose> humanpose = new ArrayList<HumanPose>();

	public Frame(long keyFrame, List<Integer> r, List<Integer> g, List<Integer> b, byte[] d) {
		this.keyFrame = keyFrame;
		this.r = r;
		this.g = g;
		this.b = b;
		this.d = d;
	}

	public Frame(long keyFrame){
		this.keyFrame = keyFrame;
	}

	public Frame(){

	}

	//...getters and setters...

	public List<HumanPose> getHumanpose() {
		return humanpose;
	}

	public void addHumanPose(HumanPose humanpose) {
		this.humanpose.add(humanpose);
	}

	public void setHumanPose(List<HumanPose> humanPoses) {
		this.humanpose = humanPoses;
	}
}

Obs: My persistence.xml file is setup to create.

Also,
there are 307200 items in each List !


I got compile error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project spring-five-functional-reactive: Compilation failure
[ERROR] /Users/Zoltan/projects/spring-five/spring-five-functional-reactive/src/main/java/de/olivergierke/examples/spring5/DemoApplication.java:[88,41] method then in class reactor.core.publisher.Mono<T> cannot be applied to given types;
[ERROR] required: reactor.core.publisher.Mono<V>
[ERROR] found: repository[...]dById
[ERROR] reason: cannot infer type-variable(s) V
[ERROR] (argument mismatch; reactor.core.publisher.Mono is not a functional interface)
[ERROR] -> [Help 1]
[ERROR]

Same here


fix(frontend): Remove extra vertical spacing from layout

This PR removes extra vertical space from the layout and scales browser screenshot according to window size.
Aims to fix the issue below:

https://github.com/OpenDevin/OpenDevin/issues/131

Thanks for the fix, @dincengincan!


Create Daohaus Connect Unconnected/Connected States

Overview
Build out the Daohaus Connect button and connection flow.

figma link
User stories
As a user I want to be able to connect my wallet to the daohaus apps.
As a developer I want to be able to add the DaohausConnect feature component to my application.
Scenarios
Feature: Wallet Connect
Background: Given the user has set up a wallet.
Scenario: User has not connected their wallet to a supported chain.
    Given that I'm on the Hub App landing page
    And Wallet Connect button displays "Connect Wallet" as the Button text
    And the Profile Header is not displaying user profile data
    And the main content UI is not displaying the DAOs Table -- (need an empty state UI design)
    When I click on the "Connect Wallet" Button
    Then the UI displays data relevant to me

Deliverables

[ ] <DaohausConnect /> component
[ ] Use web3modal package for Wallet Connect
[ ] Create a DaohausConnect context that can wrap a section of an app
[ ] use @daohaus/dao-data to make a call to get user data (ceramic and ens)
[ ] readme with code examples for context initialization and component usage

Detail
<DaohausConnect /> component

Button component

Avatar button component (in daohaus-ui?)

takes 'profile' data as a prop

{
  address: '0x0',
  ens: 'dude.eth',
  image: 'not sure the format here yet',
  name: 'some user name',
}

Fallbacks:

avatar: blockie
name: truncated address
address: (no ens: address) (ens: ens)

show ENS regardless if they have an ENS

DropDownMenu component (in daohaus-ui?) when connected on correct network

BlockExplorerLink component (add to daohaus-ui) - NEED TICKET

takes address
future proof for txhash as well - type (address or tx)
takes networkId
uses a keychain list in common-utilities to populate a link tag

text indicate the connected network

Disconnect button

DaohausConnect context

Wrap web3modal
expose some functions

connectWallet
disconnectWallet
getProfile
switchNetwork (this will take a target network and trigger metamask to switch to that network

expose some data

address
connectedNetwork
provider
profile
isConnecting, isConnected (maybe useful?)

Related Issues
Button component
ens data
ceramic data

[x] add a ticket for the wrong network use cases
[ ]  figure out where to put these states and delete this card:
https://github.com/orgs/HausDAO/projects/3/views/18?filterQuery=label%3A"daohaus-connect"

Resources

blockie package
web3modal
pokemol injected provider context
pokemol switch network
quiver has a similar implementation and in typescript

Adding some detail on how you'll make the get profile call to the dao-data library. Should have this merged into develop by tomorrow.
To init the library you'll need a list of rpc endpoints for each supported network. These should also be required for setting up the context so you ought to have them handy.
example:
import { Haus } from '@daohaus/dao-data'

  const rpcConfig = {
    '0x4': `https://${process.env['RIVET_KEY']}rinkeby.rpc.rivet.cloud`,
  };

 const haus = await Haus.create(rpcConfig);

then you'll have access to the Profile class with it's get method. The profile method takes the ceramic network name and a node url. we can use the test net for now. the get method takes an account address:
profile = await haus.profile('testnet-clay', 'testnet-clay').get('0xEAC5F0d4A9a45E1f9FdD0e7e2882e9f60E301156)

@jordanlesich
Quick update on the @daohaus/data package - user profile function:
We're currently blocked on ceramic data fetch, but we've merged a PR that has the ens data so this should allow you to keep moving on this.
This spec should show you how you can init the package and fetch user data - slightly different than above and currently only returning ens
https://github.com/HausDAO/daohaus-monorepo/blob/develop/libs/dao-data/test/profile.spec.ts
  const rpcConfig = {
    '0x4': `https://${process.env['NX_RIVET_KEY']}.rinkeby.rpc.rivet.cloud`,
    '0x64': 'https://rpc.gnosischain.com',
    '0x1': `https://${process.env['NX_RIVET_KEY']}.eth.rpc.rivet.cloud`,
  };

  haus = await Haus.create(rpcConfig);

 const profile = await haus.profile.get(
      '0x1223....'
);

returns
type AccountProfile = {
  address: string;
  ens: string | null;
};

This will include an Avatar atom.
I'm thinking about wrapping Quiver first, and if it doesn't work well, then I can go lower level.

I'm thinking about wrapping Quiver first, and if it doesn't work well, then I can go lower level.

Ok. If there are other dependencies in there that get annoying you could grab the quiver context and adjust if needed too.


Add rule for SourceHttpMessageConverter issue

See https://github.com/konveyor/rulesets/issues/156
Supersedes https://github.com/konveyor/rulesets/pull/176

I think we might have overlooked something here. Even if you follow the guidelines in the snippet and change the configureMessageConverters method to add the SourceHttpMessageConverter to the HttpMessageConverter list, the rule would still be still finding issues in the same locations regardless of the change.
That means that we need to add an and not condition that contains a pointer to the right configuration (again, adding a SourceHttpMessageConverter to the HttpMessageConverter list inside of an invocation to the configureMessageConverters method inside of a class that implements the WebMvcConfigurer interface).
This feels like a pattern for issues that get solved by a change in configuration, always add an and not condition expressing the right configuration to get the issue solved. @jwmatthews @pranavgaikwad @shawn-hurley @fabianvf I wonder if we could leverage this in Kai to inform the LLM of how to fix issues when the solution is not local to where the incidents were found.


Add missing InfluxDB datasource jsonData fields

Description
This change adds support for jsonData and secureJsonData fields in the GrafanaDatasource resource that are used by InfluxDB.
jsonData-

defaultBucket
httpMode
version
organization

secureJsonData -

token

Relevant issues/tickets
Resolves https://github.com/integr8ly/grafana-operator/issues/322
Type of change

[ ] 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 not work as expected)

Checklist

[ ] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps
Deploy a GrafanaDatasource for an InfluxDB instance using any of the new fields. These should be pulled across to Grafana and the datasource should function.

@HubertStefanski
Yes I have, I've successfully set up a functioning InfluxDB datasource with this and tested some visualisations.

/lgtm
Before I approve this, just to make sure, have you verified that these work for your needs?

@DeanBrunt

@HubertStefanski
Yes I have, I've successfully set up a functioning InfluxDB datasource with this and tested some visualisations.

Perfect, thanks for your PR and addressing the issue, I'll approve and let CI do the rest :+1: happy new year ;)
/approve

Perfect, thanks for your PR and addressing the issue, I'll approve and let CI do the rest 👍 happy new year ;)

Many thanks! Happy New Year to you too

/override
CI needs to be reconfigured to setup tests correctly


"paket.bootstrapper.exe could not be spawned"?

Hi, I've installed the package through Atom settings and I'm receiving a message saying that the "paket.bootstrapper.exe could not be spawned".  Is there something else I need to load?  I've tried uninstalling and then re-installing with the same result.  Running on Windows 10.

Hey, can You check if You can run paket.bootstrapper.exe file manually. It should be located in C:\Users\USERNAME\.atom\packages\ionide-paket\bin

Yes, I was able to run it there.  I am noticing now however that the the path referred to in the error message is "C:\Users\USERNAME.atom\packages/ionide-paket/bin/paket.bootstrapper.exe", with no slash separating the username from the '.atom' directory.

The same issue

Issue discussed here - https://github.com/ionide/ionide-paket/issues/20


Write a Haskell program to split string into array of characters

Description
Write a Haskell program to split string into array of characters
Input  : "hello world"
Output : ["h", "e", "l", "l", "o", " ", "w", "o", "r", "l", "d"]

How to contribute

Save the solution in program/split_string_into_array_of_characters.hs file
Add split_string_into_array_of_characters.hs file in split-string-into-array-of-characters folder

!assign


What is the plan for v0.9?

A fix was merged in master but version hasn't been bumped to 0.9.  What is the plan for 0.9?  Should I keep using master assuming the version would not be bumped any time soon?
Thank you.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django 1.8 users seriously need a new release.

See #105 (comment)


Uniform computation of variable size

The original code passes the constant in one place and sizeof in another although the same thing is being meant. Also the original code uses type name to compute the size whereas using the variable itself is more fool-proof (if you change the variable type but forget to change the sizeof you're screwed).

:+1:


Mark flutter_gallery_ios__transition_perf flaky during investigation

Description
Mark as flaky during investigation.
Related Issues
https://github.com/flutter/flutter/issues/62081

Landing on red.


Can't login with Gmail again with error saying reinstall the app.

Microsoft Account login does the same.
Scenario is , when I login using microsoft account, the page shows chat-gpt page and right after that starts loading.[loading does not stops]. During this time if I press new chat, it says to re-install the app.

Microsoft Account login does the same. Scenario is , when I login using microsoft account, the page shows chat-gpt page and right after that starts loading.[loading does not stops]. During this time if I press new chat, it says to re-install the app.

solved: my channel permission was not proper. To be specific "Disable Auth Checks" was not turned on.

No description provided.

please check that your stream channel ensures "Disable Auth Checks" turned on.
Thanks

thanks

reference from project README.md

Then click the Log in button and type your account information like the below. You must log in with your Email address, not your Google or Microsoft account.

Hello everyone, I'm excited to announce that this repository has now migrated to utilize OpenAI's official chat API. Please refer to the new guidelines for instructions on running this project. Thank you for your attention!


Combined PR

Combined PR of the following PRs:
https://github.com/wildfly/wildfly-core/pull/4095
https://github.com/wildfly/wildfly-core/pull/4259
https://github.com/wildfly/wildfly-core/pull/4261
https://github.com/wildfly/wildfly-core/pull/4264

Apart from 1 the PRs have been merged.


Storing data in a Session

I have a problem when trying to store data in a Session inside a hub method.
The repository that demonstrates the issue can be found at (including instructions for running, but basically dotnet restore and dotnet run):
https://github.com/Stamo-Gochev/SignalR.Core.Sample
Steps to reproduce:

Setup and run the project as explained in the repository.
Type a username in the prompt.
Type a message in the input field and click "Send".

This is calling the Send method of the hub:
public class Chat : Hub
{
    public static ISession Session { get; set; }

    public Chat(IHttpContextAccessor httpContextAccessor)
    {
        Session = httpContextAccessor.HttpContext.Session;
    }

    public void Send(string name, string message)
    {
        Session.SetString("key", DateTime.Now.ToString());
        var someValue = Session.GetString("key");

        //return Clients.All.InvokeAsync("Send", data);
        Clients.All.SendAsync("broadcastMessage", name, "${someValue}: message");
    }
}

I am getting the following server-side error:
"The session cannot be established after the response has started."

which is mentioned in the documentation:
If you try to create a new Session (that is, no session cookie has been created) after
you have already begun writing to the Response stream, the exception InvalidOperationException:
The session cannot be established after the response has started is thrown.
The exception can be found in the web server log; it will not be displayed in the browser.

What is the suggested approach for fixing this and why the Session is not properly initialized? I am able to setup an MVC example, which uses the same Session configuration and it works as expected, so I suppose that this is not the recommended way to store data in a Session when using SignalR hubs.
Additional details:

OS - Windows 7
dotnet --version -> 2.1.300-preview1-008174
Browser - Firefox, but similar in Chrome

Session and SignalR are incompatible, the SignalR pipeline and the http request pipeline are completely decoupled. Don't use session inside of SignalR. We should document this.
/cc @rachelappel

@davidfowl Thanks. Can you suggest an alternative for managing a "cached" resource between method calls of the hub?

@Stamo-Gochev "cached" per what? There's lots of ways to do that.

@davidfowl Let's say that a user manages a list of items using "add" and "remove" hub methods. These items can be shown in two different pages of a website and they want the items to be synced between the two views. As the list of items should be shared between the different views for the same user, using a session (which was possible with the old SignalR) was an applicable option.

You can store that per user state in the Context.Items on the in the hub, it'll live for as long as the connection.

@davidfowl Here is a more detailed explanation of my scenario:
There is a list of items that is shared among all users (can be anonymous)

when a user connects to the hub, they receive a copy of these items and can start adding/deleting them
if the same user adds/deletes an item, they should be able to see these changes being synced live without reloading the same page in another tab (simplified for the explanation, this is actually a separate view)

On the other hand, any add/delete actions on the list of items should not be affecting the list of items of other users. This is why using a session in the old SignalR was applicable.
As far as I understand from the documentation though, using HttpContext.Items will not work as I am getting it in the constructor of the hub with DI:
//Startup.cs
public void ConfigureServices(IServiceCollection services)
{

    services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
}

//Chat.cs
public Chat(IHttpContextAccessor httpContextAccessor)
{

    HttpContextAccessor = httpContextAccessor as HttpContextAccessor;
}

I tested this an executing a new request for add/delete calls the Chat constructor, so the context is changed. Even if it is made static just for testing purposes, the Items collection is not persisted (as stated in the docs).
I suppose there should be a different caching mechanism that I should use here?

Sorry I didn't mean to use HttpContext.Items. I meant the Context on the Hub which is has object tied to the Connection lifetime which is completely decoupled from the http context lifetime. IHttpContextAccessor should not be used in SignalR, it'll break for long polling since the request might not even be active so you could end up with a null HttpContext (cc @rachelappel some documentation gems in here 😄).

I can use a Dictionary<string, List> to cache by IP as key and items as values in the hub, but I suppose there should be a different caching mechanism that I should use here?

It would need to be static as the hub lifetime is per invocation (transient).

@davidfowl Thanks for the clarification. I see that Context.Items has been added in preview 2, but I was testing with preview1.
Can you clarify how the HttpContextAccessor might not be active as it is injected in the hub's constructor? I am testing this with long polling and I am not able to hit such a problem.
In addition, I see that the instance of HubConnectionContext has been removed in preview2, so what is the recommended approach to get the IP of the incoming request? It was available in the  HubConnectionContext and it is also present in HttpContextAccessor.HttpContext.Connection:
//1.0.0-preview1
public class HubCallerContext
{
    public HubCallerContext(HubConnectionContext connection);

    public HubConnectionContext Connection { get; }
    public ClaimsPrincipal User { get; }
    public string ConnectionId { get; }
}

//1.0.0-preview2
public abstract class HubCallerContext
{
    protected HubCallerContext();

    public abstract string ConnectionId { get; }
    public abstract string UserIdentifier { get; }
    public abstract ClaimsPrincipal User { get; }
    public abstract IDictionary<object, object> Items { get; }
    public abstract IFeatureCollection Features { get; }
    public abstract CancellationToken ConnectionAborted { get; }

    public abstract void Abort();
}

@davidfowl Thanks for the clarification. I see that Context.Items has been added in preview 2, but I was testing with preview1.

You should use preview2.

Can you clarify how the HttpContextAccessor might not be active as it is injected in the hub's constructor? I am testing this with long polling and I am not able to hit such a problem.

You're getting lucky. The request can end while the hub is still alive, it's a built in race condition.

In addition, I see that the instance of HubConnectionContext has been removed in preview2, so what is the recommended approach to get the IP of the incoming request? It was available in the HubConnectionContext and it is also present in HttpContextAccessor.HttpContext.Connection:

https://github.com/aspnet/SignalR/issues/2093

Thanks @davidfowl. Learned a few things here.

Are Context.Items replicated across all servers when scaling out? (Even when using azure SignalR service)

Are Context.Items replicated across all servers when scaling out?

No, but you should be OK. When scaling out, you have to use Sticky Sessions (aka ARR Affinity in Azure App Service/IIS) to ensure all requests for the connection go to the same server. Azure SignalR also maintains this and will route all traffic for a connection to the same server, so Context.Items will continue to work.

Can it be used to map connections to users?

The documentation you linked is for ASP.NET SignalR, not ASP.NET Core SignalR. Unfortunately no, the Context.Items cannot be used to map connections to users. We do the mapping of Connections to Users before calling your OnConnectedAsync, so there won't be a chance for you to assign this data before we get the mapping ID.
What are you storing in Context.Items that you want to use as this mapping?


OpsGenie v1 API is deprecated; will this PR be merged soon?

https://github.com/Yelp/elastalert/pull/1581 seems like an overdue solution to replace the old OpsGenie Web API. Any update on this PR? Thanks!

Currently the target PR seems to have been merged. Please close.


Add support for Ubuntu 18, update dependencies

Closes #4392
Note that there is an untriaged bug in Linux 4.15/ZoL that causes hangs when using a sparse file to back the flynn-default pool. The workaround is to use a physical device to back the pool instead.

@titanous Could you please link us to the bug and provide (or link to) an example of how the workaround could be implemented? I've got a new v20190715.0 cluster that appears to be hanging on gitreceive / slugbuilder and it might be related to that.


Release

Could you please tag and upload a new minor release? The remeber spelling is still out there.

Hi @robinkanters , sorry for my procrastination. I thought to release a new version without typo after I fix some other bugs, however, passphrase issue hasn't reappeared for me until now. I'll release a new version shortly to fix typo issue, and passphrase issue may be fixed in a later version.
Thanks for your feedback :)
Zhe Li

4.17 is available in web store now.

Thanks! :+1:


[W6.1d][T10-A4]Javyn Thun

Good job. How would add isMutating affect other parts of the code? tests? logic change?
Take note of your commits though.


ability to sort term associated gene   lists on products

for any of these  term list pages
http://pombase2.aska.gen.nz/term_genes/PBO%3A0011069
http://pombase2.aska.gen.nz/term_genes/GO%3A0006511
http://pombase2.aska.gen.nz/term_genotypes/FYPO%3A0000059
you can easily see why the ability to sort alternatively by product would be a bonus
(we have not so much control over the names, but we things will group together much better biologically using the products- especially complex members and the like...

The gene list can now be sorted by product or gene - click on the column headings.
I'll do the sorting of the genotypes table next.

that is soooo useful!
Really much better way to "read" long lists, by product

I've added sorting to the single allele genotypes list:
http://pombase2.bioinformatics.nz/term_genotypes/FYPO%3A0001382
Table sorting is easy to implement so let me know if you see any other cases that would be useful.


fix(operator): **= を追加

ES2019の変更忘れ

:heavy_check_mark: Deploy Preview for js-primer ready!
:hammer: Explore the source changes: c3953dfc143face375f2eab5fc47cc62b0c5c136
:mag: Inspect the deploy log: https://app.netlify.com/sites/js-primer/deploys/60d83e9eb713d100076e5dd8
:sunglasses: Browse the preview: https://deploy-preview-1335--js-primer.netlify.app


image conversion issues

Hi there,
Thank you for all your code, it has been super helpful! I'm trying to convert png or jpg files to BMP for Adafruit_imageload for use on a pico with a ga9c01 screen.
On a raspberry pi I'm using PIL and ImageMagick and both images don't load. Using the cat photos from your examples they load fine.
PIL
from PIL import Image
size = (240, 240)
num_colors = 64
img = Image.open('myimage.jpg')
img = img.resize(size)
newimg = img.convert(mode='P', colors=num_colors)
newimg.save('myimage_for_cirpy.bmp'
ImageMagick
convert myimage.jpg -resize 240x240 -colors 64 -type palette -compress None BMP3:myimage_for_cirpy.bmp
Both output a file but it won't load on the screen?
Any help would be greatly appreciated,
Thank you

Can you share more information?  Can you open the bitmap using the Image Viewer program in the Applications menu on the Raspberry Pi?

Thank you for both your replies. I don't think it's a wiring issue as your locket example works, as does the gauge example. The bmp opens with the image editor, and if I set it was background for the gauge example it loads fine. The hello world example with the circles and text is fine too.
the locket code I'm using is blow, lars shows but the hotendDial.bmp didn't. I have been playing around and I have now got it to show but the colours are wrong. Its not wrong in the gauge example
`#
gc9a01_picture_locket.py -- Simple Demo of GC9A01 Round LCD

2021 - Tod Kurt - todbot.com

Tested on QTPy (SAMD21), QTPy RP2040, and Raspberry Pi Pico (RP2040)
running CircuitPython 7.

You'll need to install 'gc9a01' package.
Easiest way to do this is from Terminal:
circup install gc9a01

import time
import board
import math
import busio
import terminalio
import displayio
import adafruit_imageload
import gc9a01
A list of all the BMP images you want displayed, in order

prepare image with ImageMagick like:
convert input.jpg -resize 240x240 -type palette BMP3:output.bmp
img_filenames = ("/imgs/lars240.bmp", ""/imgs/240hotendDial.bmp"")
time in seconds between images
img_time = 10
Release any resources currently in use for the displays
displayio.release_displays()
Raspberry Pi Pico pinout, one possibility, at "southwest" of board
tft_clk = board.GP10
must be a SPI CLK
tft_mosi = board.GP11
must be a SPI TX
tft_rst = board.GP12
tft_dc = board.GP13
tft_cs = board.GP14
tft_bl = board.GP15
spi = busio.SPI(clock=tft_clk, MOSI=tft_mosi)
Make the displayio SPI bus and the GC9A01 display
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_rst)
display = gc9a01.GC9A01(display_bus, width=240, height=240, backlight_pin=tft_bl)
Make the main display context
main = displayio.Group()
display.show(main)
i = 0
while True:
print(time.monotonic(), "hello")
img_filename = img_filenames[i]
img_bitmap = displayio.OnDiskBitmap(open(img_filename, "rb"))
img_palette = displayio.ColorConverter()
# img_bitmap, img_palette = adafruit_imageload.load(img_filename)
img_tilegrid = displayio.TileGrid(img_bitmap, pixel_shader=img_palette)
main.append(img_tilegrid)
time.sleep(img_time)
main.pop()  # remove image
i = (i+1) % len(img_filenames)  # go to next file
`
repl output:
Code stopped by auto-reload.
soft reboot
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
402.129 hello

sorry tried to use the code snippet but doesn't seem to have worked!

gc9a01_picture_locket.py -- Simple Demo of GC9A01 Round LCD

2021 - Tod Kurt - todbot.com

Tested on QTPy (SAMD21), QTPy RP2040, and Raspberry Pi Pico (RP2040)
running CircuitPython 7.

You'll need to install 'gc9a01' package.
Easiest way to do this is from Terminal:
circup install gc9a01

import time
import board
import math
import busio
import terminalio
import displayio
import adafruit_imageload
import gc9a01
A list of all the BMP images you want displayed, in order

prepare image with ImageMagick like:
convert input.jpg -resize 240x240 -type palette BMP3:output.bmp
img_filenames = ("/imgs/lars240.bmp", "/imgs/240hotendDial.bmp")
time in seconds between images
img_time = 10
Release any resources currently in use for the displays
displayio.release_displays()
Raspberry Pi Pico pinout, one possibility, at "southwest" of board
tft_clk = board.GP10
must be a SPI CLK
tft_mosi = board.GP11
must be a SPI TX
tft_rst = board.GP12
tft_dc = board.GP13
tft_cs = board.GP14
tft_bl = board.GP15
spi = busio.SPI(clock=tft_clk, MOSI=tft_mosi)
Make the displayio SPI bus and the GC9A01 display
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_rst)
display = gc9a01.GC9A01(display_bus, width=240, height=240, backlight_pin=tft_bl)
Make the main display context
main = displayio.Group()
display.show(main)
i = 0
while True:
print(time.monotonic(), "hello")
img_filename = img_filenames[i]
img_bitmap = displayio.OnDiskBitmap(open(img_filename, "rb"))
img_palette = displayio.ColorConverter()
# img_bitmap, img_palette = adafruit_imageload.load(img_filename)
img_tilegrid = displayio.TileGrid(img_bitmap, pixel_shader=img_palette)
main.append(img_tilegrid)
time.sleep(img_time)
main.pop()  # remove image
i = (i+1) % len(img_filenames)  # go to next file

Ah! Thank you I’ll give that a read :)
and yes the above code with the two cat pictures provided in your examples works perfectly, they both come up and scroll through no problems :) They load top to bottom but I’m assuming that’s just a speed limitation on the hardware/spi side. And the gauge example you provide also works perfectly

Yes, the Lars one is from your examples and loads fine, mine is the other and either doesn’t load or the colours are wrong :)

Most images I convert as per the first post don’t load, just a blank screen, the one that has loaded is shades of blue no other colours

the colour one is using the gauge script

the second colour image is the same as the original out of Inkscape. ok ill give it a go

hmm so 256 produced the same blue result, and 4 produced a blank screen (originally it was an svg file with 4 solid colours and that's it) can you import svg images directly? maybe its something in the Inkscape export settings?

It works! :D :D Thank you so much for your help! I'm getting some slight pixel noise, but for me upping the colour count to 24 fixed it!


Update nomad-watcher

I'm the original author, but am no longer part of the bsd organization.  That repository has been archived, and I've updated the utility.

thanks!


Feature/development phase 1

Achievement #1 : Todo List Structure
From few days I have learnt a lot about webpack and I really liked it. It really helps us to make the things more dynamic and push the boundaries of JavaScript. I have implemented following things as per requirement.

Setup the repo with webpack and npm-package.
Added the template index.html file inside src folder.
Added the list placeholders inside the index.html to hold the todo-task.
Added the index.js and created the array list of object of todos and render the array list into index.html using HTML Webpack Plugin.
Added the index.scss file for styles and render the style with the help of scss-loader, css-loader and style-loader.
Todo list rendered according to index value.
Finally, Files generated with webpack using npm run build and served from dist/ folder using webpack-dev-serve command.
Added the linters and resolve the linters error for html, css/scss and javascript.
Added the github-flow for quality code check.
Used the best practices.

@codecaiine Thank You So Much ❤