MM-11969 Prevent plugins scripts being added to the page multiple times

Summary
Sometimes, mainly in HA, multiple WS events would tell a client to add the same plugin to the page. This will make sure only a plugin is only added to the page one time.
Ticket Link
https://mattermost.atlassian.net/browse/MM-11969

This issue is specific to plugins so we shouldn't have to worry about it for other events. The client should already be able to gracefully handle getting the same event twice for other events, this PR just lets the plugin case handle that too.


launchImageLibrary works only the first time

Bug
This issue has already been reported , however was closed without actually fixing it https://github.com/react-native-community/react-native-image-picker/issues/1236
using ImagePicker.launchImageLibrary() works only the first time, does not matter if the user chooses an image or dismisses the window - it is not possible to re-launch ImagePicker to choose an image again.
Environment info
System:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Memory: 377.05 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.11.0 - /usr/local/bin/node
npm: 6.13.7 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-image-picker: 2.3.1

Any luck resolving this issue? I'm also experiencing this on react-native 0.62.2.

@KristineTrona @jtich
Have you resolved this issue?

@weinixuehao No, unfortunately I did not resolve it.


Preset mode "eco" is not valid. Valid preset modes are: none, sleep.

Hi. Thanks for using the integration.
Before submitting an issue please review the following:

Search or browse the existing open and closed issues for your problem. It's likely another user has encountered and resolved the problem. done

Make sure you are running the latest version of the integration. done

When creating an issue please include the following:

Full logs with debugging enabled. Attach the file or paste logs inside triple backticks.
Attach the diagnostic file downloaded from the device page. just looked, this isn't a thing. not sure why you wasted the text

you will get what you get, I'm an electrical engineer, I DO NOT code.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:287
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 5:58:34 PM (4 occurrences)
Last logged: 6:11:38 PM
[547640639552] Preset mode eco is not valid. Valid preset modes are: none, sleep
[547122964960] Preset mode eco is not valid. Valid preset modes are: none, sleep
[547204593792] Preset mode eco is not valid. Valid preset modes are: none, sleep
This error originated from a custom integration.
Logger: msmart.device.AC.device
Source: custom_components/midea_ac/coordinator.py:45
integration: Midea Smart AC (documentation, issues)
First occurred: 5:58:34 PM (17 occurrences)
Last logged: 6:11:37 PM
Device is not capable of eco mode.
Device is not capable of property <PropertyId.IECO: 227>.

<!-- READ THIS FIRST:
  Hi. Thanks for using the integration.
  Before submitting an issue please review the following:
  - Search or browse the existing open and closed issues for your problem. It's likely another user has encountered and resolved the problem. *done*
  - Make sure you are running the latest version of the integration. *done*
  - When creating an issue please include the following:
    - Full logs with debugging enabled. Attach the file or paste logs inside triple backticks.
    - Attach the diagnostic file downloaded from the device page. *just looked, this isn't a thing. not sure why you wasted the text*

    *you will get what you get, I'm an electrical engineer, I DO NOT code.*

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:287
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 5:58:34 PM (4 occurrences)
Last logged: 6:11:38 PM

[547640639552] Preset mode eco is not valid. Valid preset modes are: none, sleep
[547122964960] Preset mode eco is not valid. Valid preset modes are: none, sleep
[547204593792] Preset mode eco is not valid. Valid preset modes are: none, sleep

This error originated from a custom integration.

Logger: msmart.device.AC.device
Source: custom_components/midea_ac/coordinator.py:45
integration: Midea Smart AC (documentation, issues)
First occurred: 5:58:34 PM (17 occurrences)
Last logged: 6:11:37 PM

Device is not capable of eco mode.
Device is not capable of property <PropertyId.IECO: 227>.

just looked, this isn't a thing. not sure why you wasted the text
you will get what you get, I'm an electrical engineer, I DO NOT code.

Hi.
That's a pretty rude attitude from someone asking for help.
Here's the two items I was looking for. At bare minimum I need debug logs to help you.
Enable debug logging, and restart HA or reload the integration.

Diagnostics


anything else we should finish before demo 5 or release 1.0?

since i can't get on the discord just yet i figured this was the best way to communicate

just added sfx stuff to the menus

ima be honest, for some time a chunk of the team (maybe the majority even) has been thinking of changing the license to something with more legal merit
quote from jrowe:
"okay next up on the dream list: relicensing to apache 2 or MIT
both of them require the same stuff chell's license does
but with actual boring legaleese instead of thing that prevents any real distribution rights in the future :p"
However we have no legal permission to do this (you created the thing after all) so only you can do this lmao

I have a few menuscreens left to create and I'm also planning on adding custom icons for the icon edit screen (the first nine icons unlocked by beating levels up to cycles). The artwork has been created, but I just have to figure out rotation. These icons will replace the default icon through bankswitching which we have planned for sprites

I'm also not sure what to do with the level edit screen (lock-on custom levels maybe?)

For levels, we have 1.0 planned to have levels up to Theory of Everything. The plan was up to Cycles, but ale did XStep, which needed new tilesets

Mini collision is now fixed, we can do clutterfunk and TOE :D

Gg!!
Il Ven 26 Apr 2024, 20:15 kandowontu @.***> ha scritto:

Mini collision is now fixed, we can do clutterfunk and TOE :D
—
Reply to this email directly, view it on GitHub
https://github.com/famidash/famidash/issues/59#issuecomment-2079891958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2MADEBA5GTX7M4FIVI2SQ3Y7KKVFAVCNFSM6AAAAABG24TAFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZHA4TCOJVHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Also i found a bug in the nightly version. If you open Jumper, some seconds
after the part where the cube is at the top of the screen, you die by
landing on the slabs.
Il Ven 26 Apr 2024, 20:15 kandowontu @.***> ha scritto:

Mini collision is now fixed, we can do clutterfunk and TOE :D
—
Reply to this email directly, view it on GitHub
https://github.com/famidash/famidash/issues/59#issuecomment-2079891958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2MADEBA5GTX7M4FIVI2SQ3Y7KKVFAVCNFSM6AAAAABG24TAFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZHA4TCOJVHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

ima be honest, for some time a chunk of the team (maybe the majority even) has been thinking of changing the license to something with more legal merit
quote from jrowe: "okay next up on the dream list: relicensing to apache 2 or MIT both of them require the same stuff chell's license does but with actual boring legaleese instead of thing that prevents any real distribution rights in the future :p"
However we have no legal permission to do this (you created the thing after all) so only you can do this lmao

will consider changing the license before the 1.0 release

oh my god
the fact that yall made platformer mode this early is hilarious
10/10 idea

Mini collision is now fixed, we can do clutterfunk and TOE :D

see #69, might be device parity as I'm on a galaxy tab s9 and lz is on a s24 fe

TOE work starts tomorrow!

sweet
how are we gonna do the new tiles? because of how gd levels are, i initially left as much of it open as possible for unique tiles so that any metatile could be used at any time for custom levels. seems like yall undid that with the parallax

Parallax uses no metatiles. As for new blocks, we would need a CHR swap to fit them all in

Ex. ToE's brick tiles will be swapped with the 1.0 checker blocks

This will only work right now if the Chr and metatiles are in the exact same spot as what is being replaced, and will just require a Chr swap when the level is chosen. I hope.

The new branch is to see if it’s possible to have a full alternate metatile set

And that's the plan. The Bricks in the CHR replace the 1.0 checker blocks, and will line up in the metatiles

wait, hear me out
t i l e s e t   t r i g g e r s
when loaded into the sprite renderer, it changes which tileset is used by the game, similar to how the color triggers change the background color

Cool idea, but we might put what CHR the level uses in the header

i guess that could work

wait, hear me out
t i l e s e t t r i g g e r s
when loaded into the sprite renderer, it changes which tileset is used by the game, similar to how the color triggers change the background color

This would be the way, we just need to figure out how to have a separate set of tile definitions and attributes that load for it…

oh hey btw @ADM228 how do i export the music from fs to work with banks

@zephyrside only export a few songs at a time and ensure the total assembly size less than 8192 bytes
Some of the guesswork has been removed since FS 4.2.0 introduced folders
Also there's the good old DPCM aligner if you know what i mean

#94 (maybe shorten the pad hitbox a tiny bit)

#94 (maybe shorten the pad hitbox a tiny bit)

The pad has a hitbox wide size of 16 pixels and a height of 2 pixels.

The pad has a hitbox wide size of 16 pixels and a height of 2 pixels.

maybe just decrease it by 2 pixels (as you see, I'm helping, you should add me as a issue helper)

The pad has a hitbox wide size of 16 pixels and a height of 2 pixels.

maybe just decrease it by 2 pixels (as you see, I'm helping, you should add me as a issue helper)

I dont see a problem with #94 - The cube missed the spike hitbox (a small rectangle in the middle of the spike) - its working BETTER than expected thanks to the new collision routines.

@zephyrside most of us have agreed that we should start looking into running a kickstarter. Just wanted to see your thoughts on this, and obviously you will be recieving a cut just like everyone else.

@zephyrside most of us have agreed that we should start looking into running a kickstarter. Just wanted to see your thoughts on this, and obviously you will be recieving a cut just like everyone else.

sounds like a good idea, although i don't exactly know the legality of it

I’ve reached out to rubrub twice already but no response. Given his history of support fan games as well as telling people to just pirate his game, I’d say he likely won’t mind. Will personally put aside a portion of my own in case he decides he would like to receive 85 as I offered to him.
 We all agreed we will also keep the project open source no matter what happens.
Hopefully we can make something happen!

alright then yeah, lets do a kickstarter
let me set it up though, i'm cooking an 80's style trailer for the game that would fit perfectly with it

Nice!
Question: what if we made some vids about Famidash on YT? Smth like robtop did (posting vids about completing levels and showcasing the icon kit)

ye i'll probably do that on my channel

Also, I personally think people would have more "security" to donate on a Patreon with the game's name instead of kando's one: with Famidash it feels more "legit": same for Twitter.

Nice!
Question: what if we made some vids about Famidash on YT? Smth like robtop did (posting vids about completing levels and showcasing the icon kit)

ye i'll probably do that on my channel

Ok

Nice!
Question: what if we made some vids about Famidash on YT? Smth like robtop did (posting vids about completing levels and showcasing the icon kit)

ye i'll probably do that on my channel

Ok, link?

i don't have very much on it that's publicly viewable at the moment but yeah here https://www.youtube.com/@UserSniper

Thx, subbed

alright then yeah, lets do a kickstarter
let me set it up though, i'm cooking an 80's style trailer for the game that would fit perfectly with it

Wooo!!!

alright then yeah, lets do a kickstarter let me set it up though, i'm cooking an 80's style trailer for the game that would fit perfectly with it

NOICEEEE
I'll take on at least some of the manufacturing

I've already started work on the game pak label

hear me out

Hoping the lock on levels are doable

Would be fun

ye

The lock on levels menu is currently being used to test out the fun settings menu Kando made. This fun settings menu will be moved to the level select and will be accessed via beating all levels or collecting all secret coins. Will add the lock-on levels screen back after we move it over

alr

For when we do make the carts, what color should the cart be? Was thinking dark green would look cool with the blue label

Also not sure if nes lock on carts are a thing

nah, we can make our own cart (if we do the kickstarter)

nah, we can make our own cart (if we do the kickstarter)

well I could (did I cook?)

pin this issue or transfer everything into a discussion

Well, I meant the custom level lock-on

rough concept of the custom level lock on cart (might use same tech as game genie)

Well, I meant the custom level lock-on cart. I'm not sure if such a thing exists for the NES.

should be easy enough if we just have a ROM chip on the level carts that gets mapped to the MMC3 address space

Well, I meant the custom level lock-on cart. I'm not sure if such a thing exists for the NES.

should be easy enough if we just have a ROM chip on the level carts that gets mapped to the MMC3 address space

then we might need to add a lvl editor to the lock on thing (+ disable the editor icon and change it into a fun settings icon if not locked on and enable when locked on), right?

Well, I meant the custom level lock-on cart. I'm not sure if such a thing exists for the NES.

should be easy enough if we just have a ROM chip on the level carts that gets mapped to the MMC3 address space

then we might need to add a lvl editor to the lock on thing (+ disable the editor icon and change it into a fun settings icon if not locked on and enable when locked on), right?

i mean, it is the modern day
people could make their own levels with a computer, and then flash it to a level pak
granted, they'd have to purchase one of those famicom dev cart flashers, assuming we use the same cartridge port for the level paks

Well, I meant the custom level lock-on cart. I'm not sure if such a thing exists for the NES.

should be easy enough if we just have a ROM chip on the level carts that gets mapped to the MMC3 address space

then we might need to add a lvl editor to the lock on thing (+ disable the editor icon and change it into a fun settings icon if not locked on and enable when locked on), right?

i mean, it is the modern day people could make their own levels with a computer, and then flash it to a level pak granted, they'd have to purchase one of those famicom dev cart flashers, assuming we use the same cartridge port for the level paks

then we def need a pc level editor program that looks a lot like the gd one with al, the features so far, devs get on to that

We use Tiled to build all the Famidash levels.

We use Tiled to build all the Famidash levels.

wait, is there a mobile version, also, link????????? /hj

If a level isn't locked onto the cart, the custom level screen would likely show a prompt to plug in a level lock-on

This whole level lock-on thing is for the distant future. Our main focus for now is customizable icons and Theory of Everything.

If a level isn't locked onto the cart, the custom level screen would likely show a prompt to plug in a level lock-on

literally the most logical thing. you can make a concept of that + the editor and other custom lvl stuff yourself

This whole level lock-on thing is for the distant future. Our main focus for now is customizable icons and Theory of Everything.

ye, to do this, we literally need another graphics.png

The icons are loaded into the CHR using bankswitching

wait so does that mean I could make my own icon in a famidash fork (also full robtop mini ufo icon pls it's so cute)

Yeah, when 1.0 or 0.5 releases, feel free to do a romhack! There will be several icon banks to customize (As the artist, the cube's rotations are NOT easy to draw). The icons are not yet functional, as we need to get them working with all possible cube landing angles and rotations.

But if you'd like to just mess around before then, Here's a template icon bank for customization (had to be put into a ZIP file).
bankicon00.zip

NOTE: We will only be adding 1.0 icons and other icons earned from beating levels like Time machine and Cycles to Famidash. All the artwork has been created for them.

Well, I meant the custom level lock-on cart. I'm not sure if such a thing exists for the NES.

should be easy enough if we just have a ROM chip on the level carts that gets mapped to the MMC3 address space

then we might need to add a lvl editor to the lock on thing (+ disable the editor icon and change it into a fun settings icon if not locked on and enable when locked on), right?

i mean, it is the modern day people could make their own levels with a computer, and then flash it to a level pak granted, they'd have to purchase one of those famicom dev cart flashers, assuming we use the same cartridge port for the level paks

then we def need a pc level editor program that looks a lot like the gd one with al, the features so far, devs get on to that

i actually had this planned, but then december 31 happened and the other devs mangled my compression
now i have no idea how to build the level data

 hear me out
@zephyrside

the most i can do is  alladin deck enhancer style beat

speciifcally the master cart has the MMC3 clone, AVR CIC (the unlocking chip), and the RAM needed for a 4-screen nametable; while the smaller cart contains the entire PRG and CHR ROM chips (as well as SRAM because you need to save per cart)
this would make it less famidash-specific, yes
BUT it would be a possiblity to be an accessible MMC3-based developing/testing platform

the game would work on FCs and NTSC NESs interchangeably lmao

true...
i had an idea for the code problem though, more on that later when i'm finished cooking

The level storing and loading was greatly optimized by Jrowe, saving around 65% of level banks

Was desperately needed because of clutterfunk

Hopefully we can help you out with all the big changes when you get discord back eventually

ye i've got some other things to work out first, but i'll be able to return soon i swear

No worries, take your time

Oh I should also point out that we made a new server due to the old one being at risk since we didn't have any perms. The new one has almost 300 members!

poggers

lmao

To stop bug reports

understandable

Hey @zephyrside we have another opportunity to make some money, as we have an offer to make a reskinned version of famidash to be used inside of a future steam game using unreal engine, just as a fun mini-game/easter egg.
Maybe some custom screens and levels based on their music.
Of course you're going to be included in the payout!
I wanted to make sure you're cool with this, and also hoping you could change the license to something standard so that there wouldn't be any reason for their legal team to have concerns.
Lets get paid!

Hey @zephyrside we have another opportunity to make some money, as we have an offer to make a reskinned version of famidash to be used inside of a future steam game using unreal engine, just as a fun mini-game/easter egg.
Maybe some custom screens and levels based on their music.
Of course you're going to be included in the payout!
I wanted to make sure you're cool with this, and also hoping you could change the license to something standard so that there wouldn't be any reason for their legal team to have concerns.
Lets get paid!

oooh i like the idea
elaborate more on this game that you speak of

Hey @zephyrside we have another opportunity to make some money, as we have an offer to make a reskinned version of famidash to be used inside of a future steam game using unreal engine, just as a fun mini-game/easter egg.
Maybe some custom screens and levels based on their music.
Of course you're going to be included in the payout!
I wanted to make sure you're cool with this, and also hoping you could change the license to something standard so that there wouldn't be any reason for their legal team to have concerns.
Lets get paid!

oooh i like the idea elaborate more on this game that you speak of

I got some ideas:
reskin everything to fit the game
make it maybe 8 star.
make it challenging.
maybe make each level unlockable thru quests
not an idea, but:
show us the rom for the latest build of this reskin too

The Special Edition is mostly going to be an early peek as to what's coming in 1.0 and will have different levels and music

Kinda like Subzero and Meltdown

@FicusmcHousePlant show us an preview

We haven't started work on it yet

But you can get the latest build here on git

But you can always get the latest in-development build of Famidash here on Github

yea ik
will it be worked on in a famidash fork

Most likely yeah

Hey @zephyrside we have another opportunity to make some money, as we have an offer to make a reskinned version of famidash to be used inside of a future steam game using unreal engine, just as a fun mini-game/easter egg.
Maybe some custom screens and levels based on their music.
Of course you're going to be included in the payout!
I wanted to make sure you're cool with this, and also hoping you could change the license to something standard so that there wouldn't be any reason for their legal team to have concerns.
Lets get paid!

oooh i like the idea elaborate more on this game that you speak of

Its called Vectorball ( https://store.steampowered.com/app/2512660/VectorBall/ )
The guy gives away pizza gift cards almost every day on the discord, and the developers are cool af.
They've already commissioned me a few hundred (minimum) to help develop a standalone homebrew for it as well lmao.
I'll try to get steam codes for the team!

Its called Vectorball ( https://store.steampowered.com/app/2512660/VectorBall/ )
The guy gives away pizza gift cards almost every day on the discord, and the developers are cool af.
They've already commissioned me a few hundred (minimum) to help develop a standalone homebrew for it as well lmao.
I'll try to get steam beta codes for the team!

Ngl the game seems FIRE
Also today I will prob join the Famidash discord

Its called Vectorball ( https://store.steampowered.com/app/2512660/VectorBall/ ) The guy gives away pizza gift cards almost every day on the discord, and the developers are cool af. They've already commissioned me a few hundred (minimum) to help develop a standalone homebrew for it as well lmao.
I'll try to get steam beta codes for the team!

this game looks sick as hell, i'm all for it

Lfg!! Just submitted a proposal!

@zephyrside send me an email, we’ve been greenlit. Want to go over your cut<EMAIL_ADDRESS>

@zephyrside send me an email, we’ve been greenlit. Want to go over your cut<EMAIL_ADDRESS>
will do soon
first i gotta make sure that i don't have a repeat of december 31 2023 by getting in direct contact with you

@zephyrside are you still down for making music?

@zephyrside are you still down for making music?

i'm a bit rusty due to the 4 month absence but i can give it a shot

Wanna give base after base a shot? :D

sure

i love 2 player mode
https://github.com/famidash/famidash/assets/140995410/e3dc96cc-34d5-4276-96f3-2809ae9c8464
even without the visible pads the game struggles lmao

It’s so bad 😭😭😭

oh btw, we should probably shrink the size of the parallax chr if we ever want more than one background

I'm not sure if that's possible without making the background repetitive

We wouldn't need a new background until Electrodynamix anyways, which is in the distant future after 1.0

Even then I don't think it'd be worth it

we can probably cut the size down a bit by having only two upward offsets instead of three

Created a todo list for 1.0. Getting very close to finalizing all the levels.

Yo @zephyrside happy birthday

Happy birthday @zephryside 🥳🥳
On Wed, Jun 5, 2024, 15:06 alexmush @.***> wrote:

Yo @zephyrside https://github.com/zephyrside happy birthday
—
Reply to this email directly, view it on GitHub
https://github.com/famidash/famidash/issues/59#issuecomment-2149833330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2MADEAVF5FWYDYNRSIE5S3ZF4ENVAVCNFSM6AAAAABG24TAFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBZHAZTGMZTGA
.
You are receiving this because you commented.Message ID:
@.***>

Oh yeah happy birthday! 🎂🎉

Closing since we dont have to communicate through here anymore


Rendering freezed due to OS power saving setting

Issue details
When a Lwjgl3 application is running in windowed mode and the OS turns off the monitor to save power, the app doesn't continue rendering when the monitor is back on again. Resizing the window or switching the focus to another app wakes it up and rendering continues as usual. Not tested on Linux & Mac.
Setup: Windows 10, NVIDIA Titan Xp running latest driver (452.06)
Reproduction steps/code

create a new project
add a line in the render method to move the badlogic image so you're able to notice a frozen screen
run it
wait until the OS turns off the monitor (you might want to reduce the time until this happens, go to settings => system => power settings => set it to 1min)
move your mouse to activate it again
see

Version of LibGDX and/or relevant dependencies
1.9.11
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] HTML/GWT
[x] Windows
[ ] Linux
[ ] MacOS

Hey @Hangman, I can't reproduce your issue on Windows 10, GTX 1070, Driver 452.06. Are pause()  and resume()  called, when your monitor turns off (they aren't on my system)?
The code I used for testing this:
public class Issue6158 {
	public static void main(String[] args) {
		Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
		config.setWindowedMode(1280, 720);

		new Lwjgl3Application(new ApplicationAdapter() {
			@Override
			public void pause () {
				System.out.println("PAUSE");
			}

			@Override
			public void resume () {
				System.out.println("RESUME");
			}

			float f = 0;

			public void render(){
				Gdx.gl.glClearColor(f % 1, 1, 0.7F, 1);
				Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);

				f += Gdx.graphics.getDeltaTime() / 2.5F;

				if(Math.abs(2 - (f % 2) ) < 0.003)
					System.out.println("RENDERING");
			}
		}, config);
	}
}

Nope, they're not called.
But I had the possibility to quickly test it on another computer and also couldn't reproduce the issue there.
A good sign that this is caused by my driver/setup maybe? Never experienced it in other applications though.

Is resize called when you turn off your monitor?

And just to mention it: the game code was running just fine for me, so your test method isn't really applicable to test this.
I was able to give inputs, got visual feedback after "wake up like I described above" etc. that everything was running fine.
As only the rendered output was never pushed to the window.
@raeleus
Yes resize is called. Do you need to know when it's called exactly? It's only called once.

Just tested if the problem occurs if I switch off the monitor manually and it doesn't.

@Hangman my test changes the background color of the screen, so you will notice when no changes are pushed to the screen.

Oh yeah sure, hard to see. I looked for something to render.
Well, due to 3 other computers not having this issue, I guess it's just my driver or something.
So should we close this?

yeah, we could reopen later if it's really a libGDX issue.


Publish snapshot to Maven central

Set up build.sbt
Need permission to publish artifact to http4s org of https://oss.sonatype.org/

Have you been through a Sonatype permission process before?  If you submit a request to publish under org.http4s, I can approve it.  Just tag me on the JIRA issue.  If you don't know what I'm talking about, I'll dig up an example.

Have you been through a Sonatype permission process before?

I did it two times. When I get a permission from com.linecorp, one of my coworkers who has the permission submitted the request. So I didn't know that I can do myself. 😅

@rossabaker I filed an issue, but I couldn't find how to tag you. :-(
https://issues.sonatype.org/browse/OSSRH-59845

I think they use tildes instead of at-signs.  Anyway, I saw it. :smile:


[Feature] Check for "best" moveset or having any "best" moves

I name my pokemon foo ++ +- -+ --   depending on whether they have the correct moves for their Quick and Main.
I am currently using:  https://pokemon.gameinfo.io/   for which moves are considered the best.
Would be awesome to have this type of functionality in your amazing Manager

Latest commit shows moves.
I likely won't be renaming pokemon based on moves, etc. But this should at least let you view the moves that each has much easier.


Implement calculated fields

Like in this example:
CREATE TABLE dbo.Products
(
    ProductID int IDENTITY (1,1) NOT NULL
  , QtyAvailable smallint
  , UnitPrice money
  , InventoryValue AS QtyAvailable * UnitPrice
);

-- Insert values into the table.
INSERT INTO dbo.Products (QtyAvailable, UnitPrice)
VALUES (25, 2.00), (10, 1.5);

-- Display the rows in the table.
SELECT ProductID, QtyAvailable, UnitPrice, InventoryValue
FROM dbo.Products;

Source
This definitly is not urgent thing, but nice to have and easy to implement :)

I imagine the implementation could be related to the creation of triggers
Questions to implementation
How are we conna deal with raw inserted data (alasql.table.test.data = [{a:3}]) that gives "wrong" data to the caltulated field?

Will we state that its only on insert and update that we overwrite the calculated field?
Can we insert data and ask alasql to recalculate all calculated fields?

There are two options:
a) We can calculate computed field only in SELECT statements and only at query time.
b) We can recalculate them within INSERT + create REINDEX statement.

We should eliminate this 'old' unsecured style: alasql.table.test.data = [{a:3}]. We can replace it with BULK INSERT or create additional stetments REINDEX [tableid] which will recreate all indexes and check all constraints after we touch data directly.

I like the idea of making bulk insert. Are you thinking of making a ("BULK INSERT ?", data) or are you thinking alasql.bulkInsert(data). Both would support bulk insert of data to other backends than alasql native.
Personally I prefer a) where calculations are computed on SELECT  - but it might affect the peformance if data get entered once but selected many times.
An idea could be to let the person select if its on a) or b) so they can judge the case.

If column calculates at the SELECT stetment it does not cost to much. AlaSQL will compile 'price*qty' right inside the selectfn() or wherefn(). In case if these colums are not used, we do not need make this calculations.
Regarding bulkInsert(): we need to clear AlaSQL LINQ API. At leasrt we can have:

insert()
delete()
update()

functions.


Can't able to download schema after updating version to 3.8.0

Version
3.8.0
Summary
I can't able to download schema from command in 3.8.0
Steps to reproduce the behavior
I am using this command:
./gradlew downloadApolloSchema --endpoint="https://staging-graphql.outerspatial.com/v1/graphql" --schema="app/src/main/graphql/com/trailheadlabs/outerspatial/schema.json" --header="X-Hasura-Admin-Secret: my-token-here"
this command works fine in 3.7.5 version
Logs
> Task :app:downloadApolloSchema FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:downloadApolloSchema'.
> Cannot decode introspection

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
1 actionable task: 1 executed

Hi 👋 . Thanks for filing this. This seems to be the same issue as https://github.com/apollographql/apollo-kotlin/issues/4859. Can you try with the SNAPSHOTs? 3.8.1-SNAPSHOT should be available with a fix

I tried to change maven url but same error is happening

@martinbonnin What exactly i need to update/change?

You'll need to add the sonatype snapshot repo:
// build.gradle.kts
repositories {
  maven {
    url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
  }
  mavenCentral()
  // other repositories...
}

// settings.gradle.kts
pluginManagement {
  repositories {
    maven {
      url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
    }
    gradlePluginPortal()
    mavenCentral()
    // other repositories...
  }
}

@martinbonnin Yeah i did this already check this:
allprojects {
repositories {
google()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
username = 'mapbox'
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ''
}
}
maven { url 'https://jitpack.io' }
mavenCentral()
}
}

@martinbonnin I did that but same error is happening

here is an example how to use snapshots for the tutorial.
Depending how you apply your plugins you might have to declare your repositories in other places like build-logic or buildSrc but it's hard to tell given there are many ways to include plugins.

@martinbonnin Everything is fine but still same error happening

Alright, thanks for trying it 👍 , I'll double check

Is your backend available publicly by any chance?

Looks like 3.8.1-SNAPSHOT is working for me with the tutorial though 🤔 . Can you try the following?
git clone https://github.com/apollographql/apollo-kotlin-tutorial
cd apollo-kotlin-tutorial/compose/final
git checkout use-snapshot
./gradlew downloadApolloSchema --endpoint https://staging-graphql.outerspatial.com/v1/graphql --schema schema.graphqls
# you should have a schema.graphqls now

Hello @martinbonnin,
I've tried with the above command and all and it's working perfectly!
But when i tried same command "./gradlew downloadApolloSchema --endpoint https://staging-graphql.outerspatial.com/v1/graphql --schema schema.graphqls" in mine then getting BUILD FAILED!

You can see the screenshot. If you've any idea what is wrong here then please let me know
Thanks

Looks like you're still using a non-snapshot version of the gradle plugin. Maybe try ./gradlew :app:buildEnvironment? Does it show your plugin version?

See this screenshot

I think it's the wrong screenshot? It shows the same "cannot decode introspection" error, not buildEnvironment?
PS: this screenshot also contains a secret, you probably want to delete it.

This is the error I am always getting when i changed version 3.7.4 to 3.8.0
Can you exactly tell me what I need to do in my gradle file so this error resolves

You'll most likely need version 3.8.1 (not released yet). It would have been interesting to confirm with 3.8.1-SNAPSHOT but if it's too much of a hassle, stay on 3.7.4 until we release 3.8.1

@vishalbhanderii @hiren369 This should work now as 3.8.1 as been released. Waiting for your confirmation before closing this issue.

@BoD Yes it's working well using 3.8.1 thanks for you help so now you can close this issue.
Thanks


Tell a friend.

@opticod
Like most of the apps we can add a feature of tell a friend in the settings activity. It will launch a shared intent with a suitable message and the playstore link to the app.
I will work on it
Thanks

Ok. you can continue.

@opticod, Thanks for assigning me. I have already made a PR regarding the same. Please have a look at it. #325.


Graphs rebase

Description
Updated the consumers for several graph in the report generator to use a percentile rather than mean.
Motivation and Context
The percentile is a much more useful metric than the mean when observing timings, so it is preferable to report them by default over a general mean average. The following graphs have been updated to use a percentile as defined by aggregate_rpt_pct2, or default to 95%-tile when that is not populated
ConnectTimeOverTimeGraph
LatencyOverTimeGraph
LatencyVSRequest
ResponseTimeOverTime
TimeVSThread
How Has This Been Tested?
This is a rebase/refactor of https://github.com/apache/jmeter/pull/473, functional test evidence can be found there

Hi Team,
Do you agree with merging this one ?
I am in favor of it, but my  concern is that it will not allow users to compare performances with previous test once they switch to new version.
Not sure it's a big requirement as usually it's safer to compare performances with same version of JMeter.
Thoughts ?


Not working with ECT templates after upgrading from 1.8.1

I tried to move from 1.8.1 of the plugin to 2.2.0 and my existing projects using ECT templates broke. Created a bare bones simple project and still had the same problems. Consistently get the same error message:
Cannot read property 'ect' of undefined in page on line
Installed jstransformer-ect.
Is this me or is this a bug?
Thanks

It is a breaking change, so there is a chance that existing projects using v1 will break if you move them to v2. Please check out the readme for the current api.
If you need help try our slack channel.

I actually downloaded the following project https://github.com/wernerglinka/ms-layout-njk which works fine with nunjucks. I tried swapping out nunjucks for ect (did all the necessary template changes and installed jstransformer-ect) and immediately got the property 'ect'  error. I trawled through the api docs, so unless I've missed something obvious or someone else has got ect to work, then I think this is a bug.

Depends. All tests are passing. So there’s not really a reason to assume there’s something wrong. If you still think so please open a pr with a failing test and then we can debug it.


Add Docker 18.06.3 and Docker 18.09.3

Add latest Docker versions to RancherOS

18.06.3 and 18.09.3 have been backported to v1.5.1
18.06.3 have been backported to v1.4.3.


Organizations page: Search results should be partially expanded

Overview
http://civictechindex.org/organizations/all currently displays "(9/260)" or some other number of Affiliated children, but they are all behind collapsed dropdowns.
Action Items

[ ] Per Figma, displaying search results should be done with expanded grandparent, Code For All.
[ ] If an org do not include the search keyword, do not display the parent or child.

I am still working on it

Search Results Behavior:
Whether there’s a fragment is “Code for Sa” or “Code for Sacremento”
“Code for Sa” should only show 3/248 because the search results will include 4 brigades.

- Code for Sacremento
Code for San Francisco
Code for San Jose
Rules for Search display:
If there are five or less organizations, show the container open with the children.
If there are six or more organizations,
show the the container closed.

I have coded as per this criteria discussed  on meeting
Search Result
Rules for Search Display:
 1. If there are five or less organizations, show the container open with children

 2. If there are six or more organizations, the container should be closed

I dont know what is the issue I need to fix for merging

@bhaggya I think I understand the confusion. Per Kevin's comment in the overview, we want the search results to display "Code for All" expanded and The Parent Org(s) container that includes the search keyword.
@Kevin @chalimar  if the orgs do not include the search keyword, do not display the parent or child.

@baagundi will update per Figma

Product to review for UAT.

Issue was unassigned, but it looks like @bhaggya is already working on it.


build: upgrade to node 14

follow the angular repo
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@xiejay97 would you plz rebase this pr onto master.


chore(main): release metamask-testing-tools 1.2.7

:robot: I have created a release beep boop
1.2.7 (2024-08-26)
Bug Fixes

tweak reload and update deps (d0a1987)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

metamask-testing-tools-v1.2.7
:sunflower:


Quick save & cancel button

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


added python code for send-and-receive-sms-anonymously-python

Added Python (flask) code for send-and-receive-sms-anonymously-python.

cc: @dianephan @cmsunu28

🚀 LGTM


[Navigator.NavigationBar] RN 0.16, Left button in routeMapper navigator.pop() is triggered multiple time with other function

var NavigationBarRouteMapper = {
  return (
    <TouchableOpacity
      onPress={() => {
        navigatior.pop();
      }
    >
    <Text>Back</Text>
    </TouchableOpacity>
  );
}

is working fine although I try to click left button multiple time while scene is changing.
but when I add other function in onPress
var NavigationBarRouteMapper = {
  return (
    <TouchableOpacity
      onPress={() => {
        navigatior.pop();
        if(route.routeEvents) {
          route.routeEvnets.emit('editing', {
            shouldBeEditing: false
          });
        }
      }
    >
    <Text>Back</Text>
    </TouchableOpacity>
  );
}

It can be triggered multiple time while scene is changing.
Is there anyone has solution about this?

@facebook-github-bot stack-overflow


Reflect pagination of RESTful requests in iterator API

🎉 New feature
Toward https://github.com/gazebosim/gz-sim/issues/1253
Summary
The ModelIter iterator was fetching all available pages before making the first model available. This PR makes it so that each page is fetched from Fuel when the iterator is advanced.
This also adds a new member function FuelClient::Models(onst ModelIdentifier &_id, bool _checkCache) that allows bypassing the cache when getting a list of models owned by a user from the server. i.e, Currently, we do the following to get a list of models for a user
  FuelClient client();
  ModelIdentifier modelId;
  modelId.SetOwner("openroboticstest");
  for (ModelIter iter = client.Models(modelId); iter; ++iter)
  { ... }

However, if there's even a single model from that owner already downloaded into the cache, FuelClient::Models will return just that instead of getting the whole list. If _checkCache = false, it skips checking the cache and gets the list from the server.
Test it
Added FuelClientTest, ModelsCheckCached
It's not easy to test pagination, but the openroboticstest user has two pages of models currently, so this test should also exercise that code path.
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

It's not easy to test pagination, but the openroboticstest user has two pages of models currently, so this test should also exercise that code path.

On my wish list is a mock fuel server, maybe a good eventual gsoc project

This breaks ABI because I've made changes to IterRestIds which is in include/gz/fuel_tools/ModelIterPrivate.hh. It's not clear whether it's okay to break ABI in this case. Even though the header name has Private in it, it's an installed header. At the same time, even though IterRestIds is a visible class with a public constructor, it's meant to be used with ModelIter which does not have a public constructor, but instead uses the ModelIterFactory. This means it's unlikely that any downstream users have instances of IterRestIds, hence, safe to break ABI.

This breaks ABI because I've made changes to IterRestIds which is in include/gz/fuel_tools/ModelIterPrivate.hh. It's not clear whether it's okay to break ABI in this case. Even though the header name has Private in it, it's an installed header. At the same time, even though IterRestIds is a visible class with a public constructor, it's meant to be used with ModelIter which does not have a public constructor, but instead uses the ModelIterFactory. This means it's unlikely that any downstream users have instances of IterRestIds, hence, safe to break ABI.

This is okay with me. ModelIterPrivate is clearly not meant for downstream consumption. Also, in fuel-tools7 it is correctly placed in the src directory and not installed. So, you'd only break ABI in Citadel.


Cleanup ImpersonatedCredentials

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b037146). Click here to learn what that means.
The diff coverage is 90.9%.

@@            Coverage Diff            @@
##             master     #212   +/-   ##
=========================================
  Coverage          ?   76.86%
  Complexity        ?      327
=========================================
  Files             ?       21
  Lines             ?     1465
  Branches          ?      158
=========================================
  Hits              ?     1126
  Misses            ?      260
  Partials          ?       79

Impacted Files
Coverage Δ
Complexity Δ

...om/google/auth/oauth2/ImpersonatedCredentials.java
84.54% <90.9%> (ø)
11 <7> (?)

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 b037146...48b5064. Read the comment docs.


Mypy linter crashes in Conda environment

Testing #20883

Open python file with mypy linter
Switch to conda environment

Bug
The server repeatedly crashes and tells me it won't be restarted. Here are the
ERR [Extension Host] unhandledRejection {"code":"ERR_STREAM_WRITE_AFTER_END"}
console.ts:137 [Extension Host] unhandledRejection {"code":"ERR_STREAM_WRITE_AFTER_END"} (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error [ERR_STREAM_WRITE_AFTER_END]: write after end (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: write after end
    at new NodeError (node:internal/errors:371:5)
    at _write (node:internal/streams/writable:319:11)
    at Socket.Writable.write (node:internal/streams/writable:334:10)
    at /Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:130988
    at new Promise (<anonymous>)
    at u.write (/Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:130906)
    at m.doWrite (/Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:120513)
    at /Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:120408
    at runNextTicks (node:internal/process/task_queues:61:5)
    at processImmediate (node:internal/timers:437:9) (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]write after end
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: write after end
    at new NodeError (node:internal/errors:371:5)
    at _write (node:internal/streams/writable:319:11)
    at Socket.Writable.write (node:internal/streams/writable:334:10)
    at /Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:130988
    at new Promise (<anonymous>)
    at u.write (/Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:130906)
    at m.doWrite (/Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:120513)
    at /Users/matb/.vscode-insiders/extensions/ms-python.isort-2023.9.10591013/dist/extension.js:1:120408
    at runNextTicks (node:internal/process/task_queues:61:5)
    at processImmediate (node:internal/timers:437:9)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
notificationsAlerts.ts:42 Pending response rejected since connection got disposed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Mypy client: couldn't create connection to server.
c @ notificationsAlerts.ts:42
log.ts:441   ERR [Extension Host] unhandledRejection {"code":-32097}
console.ts:137 [Extension Host] unhandledRejection {"code":-32097} (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
notificationsAlerts.ts:42 Pending response rejected since connection got disposed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Mypy client: couldn't create connection to server.
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Pending response rejected since connection got disposed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Mypy client: couldn't create connection to server.
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Restarting server failed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Pending response rejected since connection got disposed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Mypy client: couldn't create connection to server.
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Restarting server failed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Pending response rejected since connection got disposed
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 The Mypy server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Mypy client: couldn't create connection to server.
c @ notificationsAlerts.ts:42
notificationsAlerts.ts:42 Restarting server failed
c @ notificationsAlerts.ts:42
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Pending response rejected since connection got disposed (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: Pending response rejected since connection got disposed
    at Object.handleConnectionError [as dispose] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/connection.js:1167:103)
    at Object.$state [as dispose] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:1089:18)
    at D.fillInitializeParams (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:1112:18)
    at D.handleConnectionClosed (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:183:15)
    at /Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:1092:71
    at r._callbacks [as invoke] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:62:9)
    at o.timer [as fire] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:122:18)
    at te (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/connection.js:332:38)
    at r._callbacks [as invoke] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:62:9)
    at o.fire (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:122:18)
    at v.async [as fireClose] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/messageWriter.js:49:30)
    at Socket.<anonymous> (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/messageWriter.js:77:41)
    at Socket.emit (node:events:526:28)
    at Pipe.<anonymous> (node:net:687:12) (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]Pending response rejected since connection got disposed
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: Pending response rejected since connection got disposed
    at Object.handleConnectionError [as dispose] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/connection.js:1167:103)
    at Object.$state [as dispose] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:1089:18)
    at D.fillInitializeParams (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:1112:18)
    at D.handleConnectionClosed (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:183:15)
    at /Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:1092:71
    at r._callbacks [as invoke] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:62:9)
    at o.timer [as fire] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:122:18)
    at te (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/connection.js:332:38)
    at r._callbacks [as invoke] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:62:9)
    at o.fire (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/events.js:122:18)
    at v.async [as fireClose] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/messageWriter.js:49:30)
    at Socket.<anonymous> (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-jsonrpc/lib/common/messageWriter.js:77:41)
    at Socket.emit (node:events:526:28)
    at Pipe.<anonymous> (node:net:687:12)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Client is not running and can't be stopped. It's current state is: starting (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: Client is not running and can't be stopped. It's current state is: starting
    at D.shutdown (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39)
    at onDidChangePythonInterpreter (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/src/common/server.ts:128:20)
    at serverId (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/src/extension.ts:40:9)
    at /Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/src/extension.ts:46:28 (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]Client is not running and can't be stopped. It's current state is: starting
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: Client is not running and can't be stopped. It's current state is: starting
    at D.shutdown (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39)
    at onDidChangePythonInterpreter (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/src/common/server.ts:128:20)
    at serverId (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/src/extension.ts:40:9)
    at vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/src/extension.ts:46:28
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Client is not running and can't be stopped. It's current state is: startFailed (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39) (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]Client is not running and can't be stopped. It's current state is: startFailed
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Client is not running and can't be stopped. It's current state is: startFailed (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39) (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]Client is not running and can't be stopped. It's current state is: startFailed
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Client is not running and can't be stopped. It's current state is: startFailed (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39) (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]Client is not running and can't be stopped. It's current state is: startFailed
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Client is not running and can't be stopped. It's current state is: startFailed (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39) (at console.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155800))
T @ console.ts:137
mainThreadExtensionService.ts:80 [[object Object]]Client is not running and can't be stopped. It's current state is: startFailed
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
mainThreadExtensionService.ts:81 Error: Client is not running and can't be stopped. It's current state is: startFailed
    at D.shutdown (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:914:29)
    at D._serverProcess (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:889:30)
    at D.workspaceFolders [as stop] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/node/main.js:152:38)
    at D.StartFailed [as doInitialize] (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:873:42)
    at D.start (vscode-file://vscode-app/Users/matb/.vscode-insiders/extensions/ms-python.mypy-2023.1.4473713448-dev/dist/webpack:/mypy/node_modules/vscode-languageclient/lib/common/client.js:726:39)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81

Actually seems to be crashing under non-conda environments now too. Not sure how to get it back into a working state

This seems to be because the import strategy is by default fromEnvironment. It should have been useBundled. The version of attrs in conda was outdated and broke the server.

Verification steps:

Ensure you have conda python environment, and have a python file open.
Install mypy-type-checker extension pre-release: https://marketplace.visualstudio.com/items?itemName=ms-python.mypy-type-checker
Look at the logs Output > Mypy Type ckecker , and see if errors like above reported.


calculate date in CI

Signed-off-by: Asra Ali<EMAIL_ADDRESS>

going to test this by touching the ceremony/ dir

santiago also suggests git rev-list HEAD | head -2 | xargs git diff --name-only


Need sample example to assign RBAC on different management groups in enterprise scale environment

Hi Team,
I am looking for an approach to deploy RBAC using bicep file and parameters file on different management groups in enterprise scale.
The template should be idempotent .
Management groups examples
mg-landingzone
mg-sandbox
mg-platform
mg-connectivity
Please suggest best approach and sample example to deploy RBAC on management groups.

Converting this issue to discussion.


Assembly Compilation error

I tried to compile your project on my Ubuntu 22.04. And i gained the following error:
[ 96%] Building ASM_NASM object asm/CMakeFiles/asm_game.dir/utils.asm.o
/var/www/asm_c_cpp/asm/utils.asm:103: error: expected `,'
Looking at this code it looks like this:
reverse_loop_start:
cmp rcx, 0x
Shouldnt the 0x be something like 0x0?

Good spot, I've just pushed a change

Nice,
Also on graphic.asm
you have:
extern render_begin
extern draw_rectangle
extern render_end
But they should be:
global render_begin
global draw_rectangle
global render_end

About the C and CPP version you have in CMakeLists.txt:
target_link_libraries(cpp_game PRIVATE SDL2d m pthread dl)
The SDL2d is the debug library. When i execute:
cmake .. to generate the make files and use make to download and compile the SDL2 library. It produces the release version and not the debug version.
This makes that the following changes fixed it for me.
target_link_libraries(cpp_game PRIVATE SDL2 m pthread dl)

@IamLupo  My Pull Request for adding support for building on Win32/Visual studio also addresses the issue you mention above about the debug vs release versions of the SDL library on Ubuntu 22.04.


Improve test table

this makes it so that a test's release date is based on when it was last updated, not when it was first written.

Thank you @zachmandeville


Question：Are GN and Ninja supported?

Can l identify the configuration files of the Generated Ninja (GN) and Ninja build tools?

not yet.


Feature: Inside Folder, Same Name with Prefix strategy

At the moment I'm using

I would be nice if we could add a prefix to the front of the foldernote filename.
for example
If I set a prefix of _fn_ and my folder name is My Big Project 2021
Then: my folder note filename woudl be: _fn_My Big Project 2021.md

It should be able to achieve with css, but it may conflict with folder icon though, so I'll still mark it as a Feature Request
.nav-folder.alx-folder-with-note
  > .nav-folder-title
  > .nav-folder-title-content::before {
  content: "_fn_";
  color: var(--text-accent);
}

I'm mostly wanting the be able to prefix so that my folder note is always at the top of file list.   Maybe there is a better way to do that?

oh so you mean a new Inside Folder, Same Name with Prefix strategy instead of additional styling on file explorer, right? Actually I have no idea how to affect the file order inside file explorer but above is something that I can work on.


Add image-text-to-text + multimodal fixes

Tentatively

We align better what multimodal is
We add a new type for llava

Hi there, here is an image-text-to-text icon suggestion:

three other icon suggestions for better icon consistency:

Image-to-text,

Image-to-video,

text-to-video,


Add hidesTabTouch property to disable the activeOpacity of the tab touchables

Dimming the opacity on tab touch is not standard iOS behavior. Specifying hidesTabTouch={true} allows this component to be even more iOS-like.

Oh, also included a bug fix from my last PR in this one (https://github.com/marcshilling/react-native-tab-navigator/commit/a0e3344bf9c7997332820bd9a5b1eecce149edd8)

Can you squash your commits please?

Done!

thanks! it's in 0.2.11 on npm


Make the bottom edge of the Toolbar semi-transparent

that can be achieve easy using a transparent layout like you did with the bottomSheet (in that one you used a black shadow).

Yes, you are absolutely right! I was hoping some other lib user could pick it up, I am also super tied-up with my app right now.


Update alignment __tables.scss

This change align  the content of table row to vertical alignment
Before

After:

vertical-align: top will be the desired behaviour in many cases, so I'm not eager to merge this.
Maybe we can change the value to a variable, like $table-cell-vertical-align, which can be changed?

Yes the alignment needs to be changed
I think the behavior of alignment of rows could be switchzes by a new class. [ .table-cell-bottom .table-cell-middle ... ]. What you think about this ?

We already have align utilities which can be used (https://getbootstrap.com/docs/4.3/utilities/vertical-align/).
Maybe we should remove the alignment on td,th so we can use the utility classes on the tables? (see https://codepen.io/MartijnCuppens/pen/MMqbbg?editors=1100)

Good ! this solve the issue. You can request a Pr ?

PR updated, demo see: https://deploy-preview-28990--twbs-bootstrap.netlify.com/docs/4.3/content/tables/#vertical-alignment

@MartijnCuppens can you make a new PR with your patch?

Done https://github.com/twbs/bootstrap/pull/29039


bids-matlab: a "wish-list" of enhancements and requests for new features

List what you would need from BIDS-matlab
As discussed in the last meeting (see #59) we will be keeping track of what people would like bids-matlab to do in this issue.
I will keep this top message updated with new ideas from the discussion below.

a code base that keeps up with new BIDS extensions
multimodal, not only MRI

Moved to their own issue

using a schema (see #76)

I want the data structures to be formally described (in json/yaml) and not in the MATLAB code, that representation should be shared with pybids (MATLAB has support for JSON - see here

document current features (see #77)

documentation is missing: what can the code actually do and not do

help with reading BIDS model (see #46)

add basic "write" functions (see #47)

To help with bids compliant filename generation and the creation of json files and data dictionary

read and parse derivatives  (see #50)

Like fMRIprep output

Initialize derivative data set with a copy of the raw data (see #78)

Change handling of multi-session dataset (see #63)

better handling of the metadata (see #79)

reading and representing the metadata and the structure, I know how to deal with the data itself

* I want the data structures to be formally described (in json/yaml) and not in the MATLAB code, that representation should be shared with pybids (MATLAB has support for JSON - see [here](https://fr.mathworks.com/help/mps/restfuljson/json-representation-of-matlab-data-types.html)

I wonder if we can use the BIDS schema that is being developed and used by the validator to help with this.

Hi! Sorry if I'm butting in here, since this isn't my project. I'm curious about this:

I want the data structures to be formally described (in json/yaml) and not in the MATLAB code,

Could you go in to this a little bit more, particularly with respect to how you see the BIDS data structures represented as Matlab datatypes inside running Matlab code? Matlab's jsondecode() decodes JSON data to generic trees of Matlab structs, cells, strings and numerics. Are you saying that's how you want the data structures to be represented throughout the lifetime of execution?
To my mind, it might be nice to have custom Matlab classdef objects corresponding to the BIDS schema structures, even if the "canonical representation" or "source of truth" is the JSON schema. That way you could have eager data validation, custom display formats, and methods attached to the data structures at various levels. (Might be worthwhile for tab-completion support, if nothing else.)
Maybe there'd be a use case for something like the Java XML Beans binding approach, where it maps an XML schema to Java object sets - you could map the BIDS JSON Schema entities to Matlab classes, but still allow for property constraints, other validation, and custom methods added to them?

There are a few circumstances (see here under) where I would like to initialize the derivatives with a copy, complete or partial, of the original full BIDS dataset. I have been working on a prepare_derivatives.m for that specific purpose with some features, such as:

copy the data of all or a sub-list of subjects;
if there are multiple sessions, copy the data from all or only some sessions;
copy all or a sub-list of modalities, and for func data possibly all or some tasks;
unzip the .nii.gz files and 4D-to-3D unpacking the func and dwi images, if requested;
decide where that derivatives/tool subfolder will be created, i.e. not necessarily next to the "raw" data in the BIDS folders.

Why would I want to do that? Well because, it is convenient to work on a subset of data, for example

to develop a processing pipeline with 5 subjects instead of 100 or simply to keep the subjects that are kept for the specific analysis, i.e. leave out some "outliers"
analysis can focus on a single session for some question and therefore the processing will be different from that combing multiple sessions
analysis can also focus on a single modality (or task for func data), therefore no need to bring along everything
some operations in SPM's standard special processing pipelines, e.g. realignment and coregistration, do change the header of the images, so they ought to be in a derivatives subfolder before any processing. Moreover SPM and some other tools, would prefer dealing with a series of 3D images rather than a single 4D volume, e.g. ditching the 1st few functional images into a "dummy" subfolder.
if the dataset is saved on an external storage place (like the centralized "mass-storage" system at ULiège), one cannot directly work on this server and therefore data need to be copied locally before any processing is applied, i.e. I might as well call this derivatives\some_tool_or_step.

There are a few circumstances (see here under) where I would like to initialize the derivatives with a copy, complete or partial, of the original full BIDS dataset. I have been working on a prepare_derivatives.m for that specific purpose with some features,

I have also something similar in our lab pipeline though yours seem to have more features. I also know that spmup by @CPernet has something that does some of that.
So that seems like one the obvious low hanging fruit !!

hey @apjanke
responding quickly here eventhough I am not the one who suggested this.

Maybe there'd be a use case for something like the Java XML Beans binding approach, where it maps an XML schema to Java object sets - you could map the BIDS JSON Schema entities to Matlab classes, but still allow for property constraints, other validation, and custom methods added to them?

I am not sure of exactly in which direction this could go in terms of implementation but this could prove very useful if it can prevent us having to write tons of code for generating filenames for each use case in th BIDS world or to help with some of the other "write" aspect that bids-matlab could have.
Not sure we want to do TOO much validation on our side though and I would relegate that to the bids-validator front.
Noob question: how easy would it be to convert the current BIDS yml schema into something that we can use?

A few basic functions that I would find useful, from the perspective of creating pipelines that generate/process derivatives in a BIDS-compliant manner:

A function for changing a BIDS filename, based on changes to specific key/value pairs (i.e., changing, adding, and removing key/value pairs to a name, and maintaining the proper order of fields in the name).
A function for changing one or several fields in a .json metadata file (e.g., to generate a new metadata file after applying some transformation / preproc step to a dataset)
A non-private version of bids-matlab's get_metadata function. I frequently find myself wanting a simple function to check a specific metadata field of a single file, without having to run both bids.layout and bids.query. I understand the rationale for keeping get_metadata private, but from my perspective it would be very useful to have a public version of something like this command.

@ChristophePhillips: spm_copy and spm_mkdir are tools to help you for what you want to do:
https://en.wikibooks.org/wiki/SPM/BIDS#Formatting_datasets_into_BIDS
that we used here:
https://github.com/spm/MultimodalScripts/blob/master/code/scripted/master_script.m#L49-L76
@Remi-Gau: using a schema is number one on my wish-list: with it, most of the code in +bids/layout.m could be removed and made generic. This is probably all we need - bit sad that it is using yet another format unnecessarily but it's great it's now available!

@ChristophePhillips: spm_copy and spm_mkdir are tools to help you for what you want to do:
https://en.wikibooks.org/wiki/SPM/BIDS#Formatting_datasets_into_BIDS
that we used here:
https://github.com/spm/MultimodalScripts/blob/master/code/scripted/master_script.m#L49-L76

Actually had opened an issue on one of our repo to get spm_mkdir and spm_copy out of spm. So I would :heart: to have them as part of bids matlab.
One headache to keep in mind: datasets curated with datalad have their content stored with git annex (I need to finish a PR about that on the datalad handbook). So a simple call to copyfile will not follow the symbolic link and you just end up with just a bunch of broken links.
2 options:

the user must make sure they have run datalad unlock the files to copy
try a system call to cp -L and catch with copyfile if it fails (this is the hacky way of doing things we are currentty using: see here

The second option is going to make Windows users cry though... If they use datalad: no a huge user base at the moment but that too could grow.
Any other ways around this that would make everyone happy?

@Remi-Gau: using a schema is number one on my wish-list: with it, most of the code in +bids/layout.m could be removed and made generic. This is probably all we need - bit sad that it is using yet another format unnecessarily but it's great it's now available!

I think that if we could automate the conversion of the yml based schema into something suits our need better. That would indeed make the code base a LOT lighter. :-)

I think that if we could automate the conversion of the yml based schema into something suits our need better. That would indeed make the code base a LOT lighter. :-)

If we want to use this schema (which I think we should), we can either 1/ use or implement a (simplified) YAML parser or 2/ convert it to JSON first and use this in bids-matlab. I would recommend option 2 and see whether the JSON-converted schema could be stored in the bids-specification repository too (the YAML version being the authoritative one and the JSON one being automatically converted and kept in sync).

Actually had opened an issue on one of our repo to get spm_mkdir and spm_copy out of spm. So I would ❤ to have them as part of bids matlab.

https://github.com/cpp-lln-lab/CPP_BIDS/issues/58#issuecomment-665799330 :disappointed_relieved:

One headache to keep in mind: datasets curated with datalad have their content stored with git annex (I need to finish a PR about that on the datalad handbook).

I think we should make a system() call only out of necessity. We could test for symlinks within a isunix condition and only use cp -L for these?

Actually had opened an issue on one of our repo to get spm_mkdir and spm_copy out of spm. So I would heart to have them as part of bids matlab.

cpp-lln-lab/CPP_BIDS#58 (comment) disappointed_relieved

hahaha
Nothing personal against SPM. Just wanted to keep that repo as standalonish as possible. :-) If people want to use it to test with psychtoolbox, I would not want to them to install SPM just for that. :-p

One headache to keep in mind: datasets curated with datalad have their content stored with git annex (I need to finish a PR about that on the datalad handbook).

I think we should make a system() call only out of necessity. We could test for symlinks within a isunix condition and only use cp -L for these?

Yes that sounds like a good idea to me: my hack was very much tailored to my current needs which is very UNIX + datalad heavy. :-)

If we want to use this schema (which I think we should), we can either 1/ use or implement a (simplified) YAML parser or 2/ convert it to JSON first and use this in bids-matlab. I would recommend option 2 and see whether the JSON-converted schema could be stored in the bids-specification repository too (the YAML version being the authoritative one and the JSON one being automatically converted and kept in sync).

I prefer option 2 as well. I think that this automatic conversion could be part of the infrastructure of the specs. Would need to raise the issue in the specs repo and sor that there before we can start working on this.

Generalize bids layout function
In actual state layout function checks for comliency with current (hardcoded) bids schema. Which will automatically made it unusable if dataset do not follow defined schema for whatever reason. For example if one uses an old bidsified dataset, not compatible with actual state.
So I propose to move the checks for modalities, file extentions, entities to validate function, and make layout working on any dataset which follows bids syntax: sub-<>_(<key>-<value>)*_<suffix>.<extention>.
It will not only simplify the code (all complex ifs will move to validate), but also make core code independent of version of BIDS, simplifying the maintenance.
Additionally, if derivatives follow the same naming rules as original bids, the layout will also work on it, facilitating the data treatment.
Make query return subset of layout instead of flat list
In current state querry returns  flat lists of found data, subjects etc. This may create some difficulties during data processing, for ex. if one need to access to metadata in json file, he need to reparse the filenames.
I propose that querry returns instead the either subset subject field, or full layout containing only selected data files. Retrieve a flat list of files from it is trivial, so it will nod add complexity if one just need data files, but it will provide additional metadata together with data files, if they are needed.
In layout provide links to files needed to analyse given image
In some modalities (meg/eeg. func) images are accompanied by tabular data, like events.tsv. In actual state, one need to extract data file names and then replace the suffix to access these tabular files. I propose instead introduce a new field dependancies which will contain the paths to corresponding tabular files. The fmap images can also be included in it.
This way, it will be which files are needed to analyse each given image.

@nbeliy Actually moving your comment to its own issue to help with the discussion.

Add prefixes to parsed derivative file names
In the SPM, the output files are usually created with a prefix to original file name. For usual names it is an easy way for ordinary files, but it will break the bidsified names, as nothing can go before sub-.
Thus, if user want to daisy-chain processing step maintaining he need rename files after each processing step.
However, if bids.layout can support prefix (SPM allow the setting of prefix, so it can be separated from sub by _), then the output of each process can be readded directly by layout. Obviously this prefix should be defined only for derivatives.

Add prefixes to parsed derivative file names
In the SPM, the output files are usually created with a prefix to original file name. For usual names it is an easy way for ordinary files, but it will break the bidsified names, as nothing can go before sub-.
Thus, if user want to daisy-chain processing step maintaining he need rename files after each processing step.
However, if bids.layout can support prefix (SPM allow the setting of prefix, so it can be separated from sub by _), then the output of each process can be readded directly by layout. Obviously this prefix should be defined only for derivatives.

Ideally for SPM I would recommend using the dependency options of its batch system to link the different analysis step  (also because it is an embedded way to create a log file that tracks provenance) but I will try add it to the list of options.

Will close this issue and have every feature request be handled with a different issue / discussions.
To get an overview we will use the github kanban boards.


Instructions are not accurate for VS2017

When going through this tutorial with VS2017 there were several inaccuracies in the instructions.
Under #BKMK_CreateLibProject
Steps 2-3 should be...
2. In the left pane of the New Project dialog box, expand Installed, Visual C++, and then select Windows Desktop.
3. In the center pane, select Windows Desktop Wizard.
Steps 5-8 should be..
5. Under Application type, select Static Library (.lib).
6. Under Additioal Options, clear the Precompiled header check box.
7. Choose OK to create the project.
Under #BKMK_CreateAppToRefTheLib
Steps 2-3 should be...
2. In the left pane of the New Project dialog box, expand Installed, Visual C++, and then select Windows Desktop.
3. In the center pane, select Windows Desktop Wizard.
Steps 5-8 should be..
5. Under Application type, select Consol Application (.exe).
6. Under Additioal Options, clear the Precompiled header check box.
7. Choose OK to create the project.
Under #BKMK_UseLibInApp
Step 2 should be...
2. Before you can use the math routines in the static library, you must reference it. To do this, open the shortcut menu for the MyExecRefsLib project in Solution Explorer, and then choose Add, Reference.

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

ID: d9992332-7b7b-d08a-704a-9fe928fdbd56
Version Independent ID: 181bf5b3-50bd-dd0b-d8ec-2cce408397a1
Content: Walkthrough: Creating and Using a Static Library (C++)
Content Source: docs/windows/walkthrough-creating-and-using-a-static-library-cpp.md
Product: visual-cpp
GitHub Login: @corob-msft
Microsoft Alias: corob

fixed. thanks @cphurley82 !


broken link to readthedocs

on this page https://github.com/Microsoft/vcpkg
this link fails: https://github.com/Microsoft/vcpkg/blob/master
here:
Our docs are now also available online at ReadTheDocs: https://vcpkg.readthedocs.io/!

Thanks for the quick catch! Should be fixed now.

"you are a good person."
😘
On Wed, Jun 7, 2017 at 5:27 PM Alexander Karatarakis <
<EMAIL_ADDRESS>wrote:

Closed #1237 https://github.com/Microsoft/vcpkg/issues/1237.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vcpkg/issues/1237#event-1114552201, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA-XSxfQGG41LQFK--R0AsB2T0Nh8KJmks5sByPdgaJpZM4NzVrT
.


Admin crash on Registration

Got this when filtering registrations by date.

Hmm, unfortunately that error trace doesn't show which component in the Admin Registration caused it.
I tried to reproduce this but no longer get an error. Recent cleanup may have fixed but it'd be good to repro on an earlier version then bisect.

Closing as the new UI has been developed after this issue was opened and this issue relates only to the old UI.


war

war is terrible! stop war!

war is terrible! stop war!

I think is terrible too, but this is not the place to post this.