Move "Once a dataflow storage location is configured, it cannot be changed" to Start of Doc

Move the "Once a dataflow storage location is configured, it cannot be changed." bullet that is currently under Considerations and Limitations to the start of the document.  It is important information to know before starting this process and should not be left to the end.  I'd suggest just before "Prepare your Azure Data Lake Storage Gen2 for Power BI".

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

ID: adddb13a-811b-4fda-dcf8-98ce19492126
Version Independent ID: cc52ac03-b68e-f8c1-aecc-af0b09ccafc4
Content: Learn how to connect Azure Data Lake Storage Gen 2 to Power BI for dataflow storage - Power BI
Content Source: powerbi-docs/service-dataflows-connect-azure-data-lake-storage-gen2.md
Service: powerbi
GitHub Login: @davidiseminger
Microsoft Alias: davidi

@ellisjm74, thanks for your comment.
We’ve forwarded your feedback to the writer, who should respond to this thread. Thanks!

Havent been moved after a month? Such important information has to be on the top! I have already linked Data Lake and PBI and now i cant remove the connection!

Thanks for your feedback - this has been updated to show up as a warning near the top of the article, and will show up within the next day.

I'm facing the same problem, it's being filled / set without my knowledge then now I have no idea how to fix it or change it to another storage account.
Please help to expedite this issue.
Many thanks.


Inference code

Hello. Thanks to your good thesis and code, I studied a lot.
I got a question while studying with the code you shared.
Do you happen to have any intention of releasing the inference code?
I tried to use the evaluation code, but it didn't work…...
When evaluating, the "video_path" argument (-vid, --video_path) is not applied properly, and the images in the wildtrack dataset appear to be applied continuously.
I'd like to make an inference with your model, but are you willing to release the inference code in the future?
Thank you.

Hi,
Thank you for your interest in our work, indeed the -vid option in evaluation is not working, it should have been removed.
As for the inference, we are not planning to release additional code, but the current repo contains everything needed to run inference.
You just need to create a new dataset class specific to your data, following the same structure as the wildtrack one.
Note, however, that our model is trained on a single scene, for a specific number of cameras, and is unlikely perform well in a transfer to a different scene without prior fine-tuning.
Best,
Martin

Thanks to your answer, I was able to evaluate and visualize with my dataset.
I have one more question, is it not possible to specify the view_id when evaluating? I changed the view_id argument in arguments.py, but it didn't work.
Thank you!

To change the view_ids at evaluation time you can overwrite the value
config["data_conf"]["view_ids"] = ["your"], "view", "id"] at the beginning of  evaluation.py. But as stated above if the model is design to be evaluated with the same number of views it was trained on.
There is two visualization, one for the detection alone and one for the tracking, havbe you modified both?
MVFlow/misc/visualization.py
MVFLow/tracker/visualization.py
Best,
Martin

Oh, Thank you very much!!!!!
I solved it thanks to you.
Thank you very much for your kind reply.
Thank you :)


snapshot throwing an error

Hello,
i have a large sonos setup with a TV soundbar.
Sometimes (once every 50 calls) i get a snapshot() error.
The documentation states that snapshot should return True when the zone is a coordinator.
Why an error then returns that the cross_fade can only be called on a coordinator?
I am using the latest build.
See the error message below:
2017/10/03 14:37:12 Crash of PI-Deploy
Traceback (most recent call last):
  File "/home/pi/PI_Voice.py", line 125, in sonos_thread
    if resume[zone.ip_address].snapshot(): # it returns True when the snapshot zone is a coordinator
  File "/usr/local/lib/python3.5/dist-packages/soco/snapshot.py", line 101, in snapshot
    self.cross_fade = self.device.cross_fade
  File "/usr/local/lib/python3.5/dist-packages/soco/core.py", line 103, in inner_function
    raise SoCoSlaveException(message)
soco.exceptions.SoCoSlaveException: The method or property "cross_fade" can only be called/used on the coordinator in a group'

Thanks for the help.
Kind Regards,
Rudy

Hi Rudy,
does this occur on the sound bar when it is playing TV?
If so cross fade is not valid on TV input!
We would need to tweak the snapshot code to exclude setting this when TV in use.
Cheers David

Indeed it probably is the case.
Is it possible to modify the code and bypass cross fade when the device does not support it or would trow an error?
Kind Regards,
Rudy

Hi @rudyvan ,
have looked at this and it is on getting the cross fade status that it errors.

The current set up requires you reinitialise each time, otherwise some variables are not set correctly.
I think this is what is causing the problem.
Check   that
resume[zone.ip_address] = Snapshot(zone)
occurs every time before
if resume[zone.ip_address].snapshot():
let me know if this fixes it, or if this is not the problem and I will dig deeper.
Cheers David

Hello David,
i called SoCoCam() each time before calling snapshot().
resume[zone.ip_address]=SoCoCam(zone);

i will now replace with your suggestion to call Snapshot(zone) instead and report back if it is not solved.
Thanks for your help!
Kind Regards,
Rudy

Apologies David,
i now saw that i did:
from soco.snapshot import Snapshot as SoCoCam;
for zone in zones:
	resume[zone.ip_address]=SoCoCam(zone)
	if resume[zone.ip_address].snapshot(): # it returns True when the snapshot zone is a coordinator
...

so indeed i was calling Snapshot(zone) before each call to snapshot

Hi Rudy, no problem.
I am confused (but thats not hard!). Assume this has been happening for some time - not connected to the latest Sonos release or their voice commands?
Can you post a short chunk of code that fails for you so I can try it.
I have 7 zones including a sound bar. Also let me know how they are grouped and what source is in play.
Cheers David

Dear David,
i  have a 9 zone configuration, and all the upgrades to the latest sonos version happened.
The issue is that the error comes intermittendly, only a few times a day and on some days not at all.
Most sonos speakers are wired to the network, only 2 speakers are connected through wifi.
There is one sonos amp and one sonos connect.
if you point me how to do logging of the upnp messages, i could try to figure out what this is.
below is the code (not pep8 formatted), but i don't think it will make you any wiser..
Kind Regards,
Rudy
				try: # discover the zones and then have 2 logic's, one for all the sonos devices and one for just one room
					coordinators, memberships, volumes, resume, zone_c, zones = [],{}, {}, {}, None, list(soco.discover())
					if room is None: # we have to play in all the rooms
						cfg_pr_stat(["msg_sonos",tts_item.replace("\n",""),len(self.tts_dict[tts_item]["text"]),time_speach],True)
						#1. snapshot the zones, pause and set the volume of the zones playing and determine the coordinator
						for zone in zones:
							resume[zone.ip_address]=SoCoCam(zone)
							if resume[zone.ip_address].snapshot(): # it returns True when the snapshot zone is a coordinator
								coordinators.append(zone); volumes[zone.ip_address]=zone.volume
								trans_state=zone.get_current_transport_info()
								if trans_state["current_transport_state"]=="PLAYING" and not zone.is_playing_tv: zone.pause() # can not pause TV
								if not zone.is_playing_tv: zone.volume=volume # change the volume if the TV is not playing
								if not self.sonos_playbar(zone.ip_address) or zone_c is None: zone_c = zone # ensure the new zone coordinator is preferably not a playbar, that seems to give bad sound
							else: memberships[zone.ip_address]=zone.group.coordinator
						if not len(coordinators) or zone_c is None: raise ValueError("??no sonos coordinators found") # should not happen
						# now join the zones that does not contain a playbar
						if party_mode:
							for zone in zones:
								if zone==zone_c or zone.group.coordinator==zone_c: continue
								if not zone.is_playing_tv: zone.join(zone_c)
						#2. play the wav file with the coordinators
						while True:	 # run this message, then look for other messages and run them too until the queue is empty...
							while times > 0: # and repeat if needed
								for zone in [zone_c] if party_mode else coordinators:
									if zone.is_playing_tv and len(coordinators)>1: pass # skip the playing television if there are more coordinators
									else: zone.play_uri(self.link_tts(tts_item))
								time.sleep(time_speach); times-=1; cfg_pr_stat(["msg_tts_played",tts_item])
							ret_val=pop_queue()
							if ret_val is None: break
							tts_item,dummy1,times,dummy2=ret_val  # ignore room and partymode
						#3. unjoin and restore the groups which were destroyed by the party mode
						if party_mode:
							for zone in zones:
								if not zone.is_playing_tv: zone.unjoin() # skip the tv players..
							for zone in zones:
								if zone.ip_address in memberships: zone.join(memberships[zone.ip_address]) # time.sleep(1)
					else: # just play the zone in the "room"
						# make the room_grp lower case except the first character
						player_room="{:}{:}".format(pi.rooms[room].room_grp[0],pi.rooms[room].room_grp[1:].lower()); zone=None
						cfg_pr_stat(["msg_sonos_room",room,player_room,tts_item.replace("\n",""),len(self.tts_dict[tts_item]["text"]),time_speach])
						for zone_s in zones: # save the volumes and store the coordinator in "zone"
							volumes[zone_s.ip_address]=zone_s.volume
							if zone_s.player_name==player_room: zone=zone_s.group.coordinator; # the coordinator is what we need next
						if zone is None: cfg_pr_stat(["war_tts_room",player_room,",".join(zone_scan.player_name for zone_scan in zones)]); continue #bye
						resume[zone.ip_address]=SoCoCam(zone); resume[zone.ip_address].snapshot(); zone.volume=volume;
						coordinators=[zone] if zone.is_coordinator else []
						while times > 0: zone.play_uri(self.link_tts(tts_item)); time.sleep(time_speach); times-=1
					# Finally : restore the earlier coordinator snapshots...
					for zone in zones:
						if zone.is_playing_tv:
							if zone.volume!=volumes[zone.ip_address]: zone.volume=volumes[zone.ip_address] # cannot restore a TV, but restore the volume
						elif zone.is_coordinator and zone.ip_address in resume: resume[zone.ip_address].restore(fade=False)
				except: pi.log_prg.log_crash_pr_stat(["err_sonos"],sys.exc_info())

Hi Rudy,
I can't see anything you are doing wrong in your code.
What version of Python are you running and on what operating system?
It looks like snapshot determines if it is a coordinator in a different way to core (internal to SoCo).
I don't understand why they would return different results but clearly they do in some instances.
Could you add one line to the snapshot code so that it tests for coordinator in the same way as core, and see if that resolves the problem. Immediately before the comment on line 90 in snapshot.py
       # Save the volume, mute and other sound settings

add the following to set the internal is_coordinator value
        self.is_coordinator = self.device.is_coordinator

        # Save the volume, mute and other sound settings

If you have any problems doing this let me know.
Once done see if this removes the problem and let us know.
Cheers David

Dear David,
i am running on raspberry Stretch (the lastest raspbian) with python 3.5
i did previously the following command to ensure i have the latest soco version:
sudo pip3 install soco --upgrade

i made the change in
/usr/local/lib/python3.5/dist-packages/soco/snapshot.py

I will let you know how it goes!
Kind Regards,
Rudy

Hi @rudyvan,
did that one line change fix the problem?
Looking to put it into the next release, and we can then close this issue.
Cheers David

Dear David,
I haven’t seen the error yet after making that change.
Thanks Rudy


Cumulative Token Bloat?

Hey so I've been playing around with this for about 30 minutes now and it seems I've already filled up its memory? I cannot send even short messages to it without it saying "Error when calling API: Max tokens exceeded in messages: 8207 >= 8191"
I don't know how it's supposed to store long term memories, if it can only hold a few before it's using up all the tokens on whatever's going on behind the scenes, it gets impossible to communicate with only a page or two of text worth of memory being stored in the save file thru interacting with it.
am I doing something wrong?
Sorry for the questions if they're obvious or etc, just not understanding why I'm running into this problem when my prompts are very short now

Your initial prompt is probably too long, the initial prompt is not the place to store the memory, please consider using document Q&A mode instead.
Also you can't just feed entire pages of stuff into the prompt as this is not the correct way of doing it too. If you need to provide it large text files to reference, please use document Q&A mode.
Also please read the wiki for more info as reading it is actually much easier and faster than asking in issues!

Closed as no response.


ErrorWithoutStackTrace: The requested feature 'Namespaces' is not supported by the current index type 'Starter'

Received the error after I try to ask a question.
[ErrorWithoutStackTrace: PineconeClient: Error calling upsert: ErrorWithoutStackTrace: The requested feature 'Namespaces' is not supported by the current index type 'Starter'.]

What does it mean? Do I have to upgrade the pinecone plan? Or is there any way to fix it without upgrading?

any success fixing this? I am getting the same error
[The requested feature 'Namespaces' is not supported by the current index type 'Starter']

any success fixing this? I am getting the same error [The requested feature 'Namespaces' is not supported by the current index type 'Starter']

I got it fixed by leaving the Pinecone Namespace field empty. This field can be found in "Pinecone Upsert Document" > Additional Parameters.

is this feature available in the starter version?

Namespace is not for free tier or starter, you can leave namespace empty this issue will be solved
    await PineconeStore.fromDocuments(       pageLevelDocs,       embeddings,       {         pineconeIndex,         // namespace: createdFile.id,       }     )

Namespace is not for free tier or starter, you can leave namespace empty this issue will be solved
 await PineconeStore.fromDocuments( pageLevelDocs, embeddings, { pineconeIndex, // namespace: createdFile.id, } )

sorry i am having thi same issue, do you mean i cant use the namespace at all cos if i am on the free tier, or if i leave the namespace option, will it work


[Question] ArrayRDD to Pyspark Dataframe?

Hi - thanks so much for this package!
I came to this repo because I need to run a scikit-learn predictive model on Spark.  It is easy to map the model with ArrayRDDs.  However, my postprocessing assumes a PySpark DataFrame.  Is there a way to convert an ArrayRDD to a DataFrame?
I appreciate any help, thanks!

if its size isn't big I think you can collect it and convert it to a list and then create your data frame. (you can call collect or tolist on ArrayRDD) however I believe there are more efficient options


feat(@vtmn/css): add tabs component

Pull Request checklist
🚨 Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Don't request your main!
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.
[x] Check PR name, it must follow the https://www.conventionalcommits.org pattern
[x] If it's a new component in CSS, ask for design review

Description

New tabs component
Two sizes : small | medium (default)
Three alignments : start (default) | center | end

Does this introduce a breaking change?

No

❤ Thank you!

Validated by Marie last time in videoconference.

Thanks @GaspardMathon, great work again ;-)


Clean shutdown of Linux from Windows?

I seem to have issues with initiating a clean shutdown of the WSL system without needing to issue it from within. For example, I run the genie  program that emulates systemd. I have services that mount certain filesystems and I want to unmount them cleanly before shutdown. The command wsl.exe --shutdown does not give Linux time to stop services, in journalctl it looks like the worst kind of shutdown, it just gets blank. From cmd I can do wsl.exe sudo systemctl stop srv && wsl.exe sudo systemctl poweroff but I’m trying to automate this behavior. I have tried a Windows shutdown script by policies, where I enter the commands above along with a timeout of 3s, but it does not work. How do I even know if the script is executed? Event viewer does not give me clues, and I have enabled verbose status messages. Is there no native WSL support for clean shutdowns? Thanks for any help.

Systemctl is #1579 which is really #994. This ask is effectively #3253 (message) redux. Newspeak is wsl.exe --terminate <distro>. The --shutdown command is more analogous big red switch.

I read some of those posts myself, the last one specifically, but the terminate command is not much different from shutdown, in terms of giving systemctl any notice. I started up the samba daemon, did --terminate arch right after from cmd, and in journalctl the sequence is:
Jul 28 19:53:41 PSISYS-wsl systemd[1]: Started Samba SMB Daemon.
Jul 28 19:53:57 PSISYS-wsl kernel: Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GC>
Jul 28 19:53:57 PSISYS-wsl kernel: Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=12
...

Compare that to poweroff instead of wsl --terminate :
Jul 28 20:01:32 PSISYS-wsl systemd[1]: Started Samba SMB Daemon.
Jul 28 20:01:42 PSISYS-wsl sudo:     root : TTY=pts/1 ; PWD=/mnt/c/Users/Psi ; USER=root ; COMMAND=/usr/sbin/systemct>
Jul 28 20:01:42 PSISYS-wsl sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 28 20:01:42 PSISYS-wsl systemd-logind[45]: System is powering down.
Jul 28 20:01:42 PSISYS-wsl sudo: pam_unix(sudo:session): session closed for user root
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopping Session c1 of user root.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Removed slice system-modprobe.slice.
Jul 28 20:01:42 PSISYS-wsl runuser[90]: pam_unix(runuser-l:session): session closed for user root
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped target Graphical Interface.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped target Multi-User System.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped target Login Prompts.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped target Timers.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: cache.timer: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Clear cache.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: man-db.timer: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Daily man-db regeneration.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: shadow.timer: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Daily verification of password and group files.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopping Console Getty...
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopping Getty on tty1...
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopping Samba SMB Daemon...
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Starting Server Unit...
Jul 28 20:01:42 PSISYS-wsl systemd[1]: console-getty.service: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Console Getty.
Jul 28 20:01:42 PSISYS-wsl systemd[1]<EMAIL_ADDRESS>Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Getty on tty1.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: smb.service: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped Samba SMB Daemon.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Removed slice system-getty.slice.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Stopped target Network is Online.
Jul 28 20:01:42 PSISYS-wsl endscript[157]: fusermount: failed to unmount /rarlib/e: Invalid argument
Jul 28 20:01:42 PSISYS-wsl endscript[160]: fusermount: failed to unmount /rarlib/f: Invalid argument
Jul 28 20:01:42 PSISYS-wsl endscript[163]: fusermount: failed to unmount /rarlib/p: Invalid argument
Jul 28 20:01:42 PSISYS-wsl systemd[1]: srvstop.service: Succeeded.
Jul 28 20:01:42 PSISYS-wsl systemd[1]: Finished Server Unit.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: session-c1.scope: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Session c1 of user root.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopping Login Service...
Jul 28 20:01:44 PSISYS-wsl systemd-logind[45]: Session c1 logged out. Waiting for processes to exit.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopping User Manager for UID 0...
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Stopped target Main User Target.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Stopped target Basic System.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Stopped target Paths.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Stopped target Sockets.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Stopped target Timers.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: dbus.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed D-Bus User Message Bus Socket.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: dirmngr.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-logind.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed GnuPG network certificate management daemon.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: gpg-agent-browser.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed GnuPG cryptographic agent and passphrase cache (access for web browser>
Jul 28 20:01:44 PSISYS-wsl systemd[93]: gpg-agent-extra.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Login Service.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: gpg-agent-ssh.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jul 28 20:01:44 PSISYS-wsl systemd[93]: gpg-agent.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed GnuPG cryptographic agent and passphrase cache.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: p11-kit-server.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Closed p11-kit server.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Reached target Shutdown.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: systemd-exit.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Finished Exit the Session.
Jul 28 20:01:44 PSISYS-wsl systemd[93]: Reached target Exit the Session.
Jul 28 20:01:44 PSISYS-wsl systemd[94]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 servic>
Jul 28 20:01:44 PSISYS-wsl systemd[1]<EMAIL_ADDRESS>Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped User Manager for UID 0.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopping User Runtime Directory /run/user/0...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: run-user-0.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /run/user/0.
Jul 28 20:01:44 PSISYS-wsl systemd[1]<EMAIL_ADDRESS>Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped User Runtime Directory /run/user/0.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Removed slice User Slice of UID 0.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopping D-Bus System Message Bus...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopping Permit User Sessions...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: dbus.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped D-Bus System Message Bus.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-user-sessions.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Permit User Sessions.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Basic System.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Paths.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Remote File Systems.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Slices.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Removed slice User and Session Slice.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Sockets.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: dbus.socket: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Closed D-Bus System Message Bus Socket.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target System Initialization.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Local Encrypted Volumes.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-ask-password-console.path: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-ask-password-wall.path: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-sysctl.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Apply Kernel Variables.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopping Update UTMP about System Boot/Shutdown...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-update-utmp.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Update UTMP about System Boot/Shutdown.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-tmpfiles-setup.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Create Volatile Files and Directories.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Local File Systems.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /etc/hostname...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /init...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /mnt/c...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /mnt/d...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /mnt/e...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /mnt/f...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /mnt/p...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /mnt/wsl...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /run/lock...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /run/shm...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting /run/user...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounting Temporary Directory (/tmp)...
Jul 28 20:01:44 PSISYS-wsl systemd[1]: etc-hostname.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /etc/hostname.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: init.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /init.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: mnt-c.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /mnt/c.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: mnt-d.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /mnt/d.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: mnt-e.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /mnt/e.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: mnt-f.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /mnt/f.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: mnt-p.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /mnt/p.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: mnt-wsl.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /mnt/wsl.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: run-lock.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /run/lock.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: run-shm.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /run/shm.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: run-user.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted /run/user.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: tmp.mount: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Unmounted Temporary Directory (/tmp).
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Local File Systems (Pre).
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped target Swap.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Reached target Unmount All Filesystems.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-remount-fs.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Remount Root and Kernel File Systems.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Stopped Create Static Device Nodes in /dev.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Reached target Shutdown.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Reached target Final Step.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: systemd-poweroff.service: Succeeded.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Finished Power-Off.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Reached target Power-Off.
Jul 28 20:01:44 PSISYS-wsl systemd[1]: Shutting down.
Jul 28 20:01:44 PSISYS-wsl systemd-journald[23]: Journal stopped
-- Reboot --
Jul 28 20:02:04 PSISYS-wsl kernel: Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GC>
Jul 28 20:02:04 PSISYS-wsl kernel: Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=12
...

There is a whole lot of user-level jobs that is left out by letting WSL shut it down, I think the big red power switch applies to all of its commands.
I know my question about Windows shutdown scripts is a bit off-topic, but the MS forums can get a bit dizzying. If someone knows how to automate the command poweroff at Windows shutdown that would be a good solution.

the terminate command is not much different from shutdown

You are right, it isn't. If you've spun your own systemd (it look like you have) that's ongoing #994 and probably best taken over there. Long short if you wanted to roll your own, you'd have to do something more elaborate than the fire-and-forget daemonize hack being pasted around. You'd need the parent to wait on the child systemd inside the namespace to exit. And if you wanted to monitor that exit from the Windows side, build some kind of RPC mechanism to communicate the exit happened.
Having shutdown(8) support for house brand /init is a legit enough ask, so this can be morphed into a feature request (#3253  redux). One could imagine a wsl.exe --shutdown-nicely <distro> that blocks. Whether that would get implemented in the foreseeable I couldn't tell ya. It seems more likely #994 flips status in some sanctioned way. But never say never.

@therealkenc
Alright, I understand it more now. And there seems to be a smarter bunch than me trying to figure this thing out. I hope the developers see the benefit in managing services easily, something Windows inherently lacks. In the meanwhile, a logoff script helped me, and systemd is appropriately shutting down.

Alright. I am going to drop the feature tag, because the ask really is /dupe #994, or more generally, support for third-party init(8). The probability of WSL-brand /init death marching to managing Linux daemons, which it fundamentally cannot without sacrificing being distribution agnostic, is "small". Open #2530 can serve as the landing zone to the contrary. Whatever features Windows proper "inherently lacks" would be a feedback hub thing.

@psisis Just a quick note - I saw this issue and added shutdown support (using systemctl poweroff) to genie in 1.26.  Seems to work fairly decently for logoff purposes, including waiting on wsl genie -u from the Windows side.


Banana cake pop hangs / loses cookies

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Sometimes if you delete an existing request in Banana cake pop it will hang, it seems to be a cookie-related error: "TypeError: Cannot read property 'variables' of null". The only way to solve it is by clearing cookies on the site and then reloading.
Steps to reproduce
Please watch this video to see the bug happening, it's probably easier to understand

open a site with introspection disabled, you can use this demo project
create a new request called "B"
create a new request called "A"
switch between them a few times
delete the "A" request, Banana cake pop will still show "A" at the browser's tab but the content of the page will be empty, if you go to the browser's developing tools, you will get the following javascript error: "TypeError: Cannot read property 'variables' of null"
you'll probably see the bug does not happen always, if you follow the video steps you'll get it soon enough

Relevant log output
No response
Additional Context?
Introspection is disabled at the server but it also happens if not disabled, for example in the BananaCakePop demo site it also happens
Product
Hot Chocolate
Version
12.0.1
edited: still happens in 12.0.1

This exact problem is happening to me as well...
Any ideas? Cause? Resolution?

I got the same error several times when switching tabs or closing a tab. I needed to delete the site data to make it work, but all my queries and mutation had gone.

This is already fixed and will be released with BCP preview 15 which will be included in Hot Chocolate 12.3

Exactly, it's already fixed in the current dev branch and will be published with BCP preview 15.


build:types script doesn't work

The build:types script from #136 (i.e. glint --declaration) did not work for ember-container-query. I noticed that the declarations folder is missing entirely.

https://github.com/ijlee2/ember-container-query/pull/203/commits/ccc9fe01e741ad0ecb04e53f7efead163bbd2288
https://github.com/ijlee2/ember-container-query/actions/runs/5466350803/jobs/9951143396

I looked into what the scripts should be, so that they work for both tsc and glint cases:
/* package.json for projects with Glint */
"scripts": {
  "build:types": "glint --build",
  "lint:types": "glint --project tsconfig.development.json",
  "start:types": "glint --declaration --watch",  // ideally, we can run just `glint --watch`
}

/* package.json for projects without Glint */
"scripts": {
  "build:types": "tsc --build",
  "lint:types": "tsc --project tsconfig.development.json",
  "start:types": "tsc --watch"
}

/* tsconfig.json */
{
  "extends"<EMAIL_ADDRESS>  "compilerOptions": {
    "declaration": true,
    "declarationDir": "declarations",
    "emitDeclarationOnly": true,
    "noEmit": false
  },
  "include": [
    "src/**/*",
    "unpublished-development-types/**/*"
  ]
}

/* tsconfig.development.json */
{
  "extends"<EMAIL_ADDRESS>  "compilerOptions": {
    "declaration": true,
    "declarationDir": "declarations"
  },
  "include": [
    "src/**/*",
    "unpublished-development-types/**/*"
  ]
}

Here is what I did, please let me know if I got something wrong:
using --build

git clone git@github.com:ijlee2/ember-container-query.git
cd ember-container-query
git checkout remove-rollup-plugin-ts
pnpm install
cd ember-container-query
pnpm build
I see dist and declarations

rm -rf declarations/ dist/
pnpm start
I once again see dist and declarations

using --declaration

I drop the most recent 2 commits
pnpm install
rm -rf declarations/ dist/
pnpm build
dist exsits but no declarations
pnpm start
both dist and declarations exists

So, confirming the issue -- glint --declaration does not generate declarations, but glint --declaration --watch does

@NullVoxPopuli The list of steps and observations that you gave is perfect.
Yes, to confirm: The start command, which ran glint --declaration --watch, did create the declarations folder, but the build command, which ran glint --declaration, did not.
By adding console.log()'s, I checked that glint --declaration results in determineOptionsToExtend() correctly setting options.{noEmit,declaration,emitDeclarationOnly} (to false, true, and true, respectively).
I'm guessing that something different happens:

When we run glint --build as opposed to glint --declaration
When we run glint --declaration --watch as opposed to just glint --declaration

@dfreeman Thanks again for spending extra time looking into the problem and solution. I checked that, by removing the @glint-ignore comment, the build script's glint --declaration creates the declarations folder.
I can help file a bug report in the glint repo tomorrow.


Failed to install Vela CLI 1.8.0

I execute script to install vela cli 1.8.0:
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.8.0
get error:
Installing v1.8.0 Vela CLI...
Downloading https://static.kubevela.net/binary/vela/v1.8.0/vela-v1.8.0-linux-amd64.tar.gz ...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to unpack Vela CLI executable.
Failed to install Vela CLI
For support, go to https://kubevela.io

perhaps unable to download the file:
https://static.kubevela.net/binary/vela/v1.8.0/vela-v1.8.0-linux-amd64.tar.gz

This should be fixed now. Could you try to reinstall it again?

I successfully installed vela cli, but the next step is to execute the command to install velaux:
vela addon enable velaux --version=v1.8.0

error prompt appears:
Error: specified version v1.8.0 not exist

You can try it now. The addon of velaux is not updated on time. https://github.com/kubevela/catalog/pull/676 It is related to this PR and it is merged now.

Thanks, it's good job.


Will there be a release on the VSX Registry?

I am using VSCodium and would love this extension, but I can't seem to find a way to install it since it's not part of the Open Registry. Are there plans for a release?

Hey,
If you download the extension (.VSIX file) from the marketplace and import it directly in the extensions tab, it works?


Nrdm - New Relic Deployment Markers added to deploy

Coverage remained the same at 58.509% when pulling 0632509f0dac5d120b3c91e49432aa732dda41b2 on NRDM into 3cf75cb48ce9f419f1d75ac47a4fb58dfee42fa2 on develop.


NullPointerException during NameStorageMap.remove()

2017-11-11 04:13:27 ERROR DBMap:182 -
java.lang.NullPointerException
	at org.mapdb.BTreeMap.put(BTreeMap.java:642)
	at database.DBMap.set(DBMap.java:141)
	at qora.web.NameStorageMap.remove(NameStorageMap.java:126)
	at utils.StorageUtils.addTxChangesToStorage(StorageUtils.java:191)
	at utils.StorageUtils.processUpdate(StorageUtils.java:147)
	at qora.transaction.ArbitraryTransaction.process(ArbitraryTransaction.java:224)
	at qora.block.Block.isValid(Block.java:695)
	at qora.block.Block.isValid(Block.java:571)
	at qora.Synchronizer.process(Synchronizer.java:349)
	at qora.Synchronizer.synchronize(Synchronizer.java:205)
	at controller.Controller.update(Controller.java:1034)
	at qora.BlockGenerator.run(BlockGenerator.java:184)

If this is caused by a specific transaction then it's before block 351116.
Also an ArbitraryTransaction with service=10 (i.e. name storage) and "removecomplete" key.
Also note that mapdb will throw NPE at BTreeMap.java:642 if either key or value is null.
Suspect code starts at NameStorageMap.java:121:
	public void remove(String name, String key) {
		Map<String, String> keyValueMap = this.get(name);
		if (keyValueMap != null) {
			keyValueMap.remove(key);
		}
		this.set(name, keyValueMap);
	}

This looks wrong because if this.get(name) returns null, i.e. name is not found in name storage map, then this.set(name, keyValueMap) is called with keyValueMap being null, and hence NPE thrown.
Surely if name is not found in the map then there's nothing to remove?
Which would change remove() to this:
	public void remove(String name, String key) {
		Map<String, String> keyValueMap = this.get(name);

		if (keyValueMap == null)
			return;

		keyValueMap.remove(key);
		this.set(name, keyValueMap);
	}

However, why would this trigger on some resyncs from block 0 and not others?
Probably best action at this point is to add detection code to discover triggering transactions but keep current exception behaviour until cause is found.

Transaction: 2hcSQSAYvMkExD4i7WMX47yvhMAQCkscEkQXiM2rq1YyK23LYWAAhghGBF4fmVhBdpjqaKT59DDeauEwJBRF4qgT
Height: 303065
Creator: QMYPraQ49KMCy2qPM2yNSxVjgGeLrw8VC7
ArbitraryTransaction, service 10 (Name Storage)
Base58: 8L6yTJZH9X4XkDo6ywCKWs1ftM7mBQEh3JyZRtq1Rwdx8MwkgEFnHJwAkFDDURFBeXJhj4
WhdZT8MgJGb72AY
Payload: {"name":"qorawebwallet","removecomplete":"{\"website\":\"\"}"}

Interestingly, this is the first transaction after the name registration so this might explain why there's no existing record in the name storage map.

Fixed + tested


Make Select use same height/lineHeight/vertical padding as Input to fix bad alignment

When I customized the fontSize of my Inputs, side-by-side Select and TextField components became vertically misaligned by one pixel:

The JSS for Select overrides the height, lineHeight, paddingTop, and paddingBottom of the input-singleLine class, wrecking the vertical alignment.  It seems to me all of the vertical sizing properties should match.

I will create a PR in a moment.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Select has same height, lineHeight, and vertical padding as Input by default.
Current Behavior

Steps to Reproduce (for bugs)

Customize Input fontSize:
theme.overrides = {
  MuiInput: {
    root: {
      fontSize: theme.typography.pxToRem(20),
    },
  },
}

Render a Select and a TextField side-by-side:

        <Select value="default">
          <MenuItem value="default">Select</MenuItem>
        <Select>

         <TextField placeholder="TextField" />

Workaround
Use the following theme override:
  MuiSelect: {
    // see https://github.com/mui-org/material-ui/issues/9826
    select: {
      padding: undefined,
      paddingRight: theme.spacing.unit * 4,
      height: undefined,
    },
    selectMenu: {
      lineHeight: undefined,
    },
  },

Context

Your Environment

Tech
Version

Material-UI
1.0.0-beta.25

React
16.2.0

browser
Chrome 63.0.3239.132

I think this is still a thing for native selects
https://codesandbox.io/s/14k3757jn4

@iamolivinius What browser are you using? It renders perfectly on Chrome 67.0 mobile.

Alright!
Chrome is fine, Firefox 60.0.1 is broken... at least on my Linux environment.

It's fine on Firefox 60.0.2 in my MacOs environment.

Just updated to FF 60.0.2. Still an issue

I have this issue too, but with Simple Select. I haven't tried Native Select.
I have tried this on Chrome 67, Firefox 61 and in Code Sandbox. I managed to encounter different amounts of misalignment.
Setting margin to FormControl helps, but it doesn't work on Firefox and there's still 1px gap on Chrome. Also setting value to the fields helps sometimes.
Chrome (not perfectly aligned)

Firefox

CodeSandbox

I dont know if this has been resolved as its a rather old issue, but I found my Select (outline variant) was slightly taller than my TextField elements. my renderValue is a FlagIcon and by applying the following in my theme it corrected the input value height and wrapped the image instead of allowing additional padding:
MuiSelect: {       styleOverrides: {         select: {           display: 'grid'         },       }     }


Grid based interface fixes

Ensure that the flat and non-flat arrays returned by the grid interfaces are consistent and of the correct orientation. Also ensures the constructors work correctly and all process tuples of the coordinates and arrays correctly. Also adds small fixes for the GridImage Element, updates test and fixes issues with dynamic groupby, which caused the grid interface to reject the data in some cases. Addresses https://github.com/ioam/holoviews/issues/789 and more.
Still want to add a number of tests to ensure consistency and stability of the interfaces.

[x] Standardized interface to get canonical views of coordinates and data arrays
[x] Fixed constructors ensuring they handle standard tuple and dict based gridded data correctly
[x] Fixed GridImage density calculation
[x] Fixes for dynamic groupby with gridded interfaces (and allowing passing of parameters to groups).
[x] Added unit tests to check output of gridded data dimension_values is consistent.

Looks good!
I've made most of my key comments now and in general I am happy with this. I didn't look in detail at the changes in the interface methods that already exist - I assume those are fixes as opposed to API changes.

Thanks for the review.

I assume those are fixes as opposed to API changes.

Yes mostly changes to correctly handle constant dimensions, actually integrating constant dimensions properly might actually be helpful here in future.

actually integrating constant dimensions properly might actually be helpful here in future.

Does xarray, iris etc have a corresponding concept? In a separate PR, we might want to add a minimal API for setting/accessing constant dimensions on interfaces.
It is a little tricky in some cases e.g wrapping numpy arrays + bounds as in such a case, I'm not sure where this state would actually live.

Does xarray, iris etc have a corresponding concept? As I think they might, in a separate PR, we might want to consider a minimal API for setting/accessing constant dimensions on interfaces.

Iris does have explicit support and xarray at least highlights which dimensions are constant in the repr. The special handling is mostly about removing the constant axes in the array, e.g. reducing an (100, 50, 1, 1) shaped array to (100, 50). But it would be nice not to throw those constant coordinates away and turn them into constant dimensions instead.

I have now applied all your comments except for folding in expanded_coords. As it is now it can be implemented once on the GridInterface baseclass, if I fold it into the coords method I'll be duplicating it for each of the coords implementations.

if I fold it into the coords method I'll be duplicating it for each of the coords implementations.

Would that be true if you made expanded_coords into a utility? I can imagine each coords implementation having the signature def coords(cls, dataset, dim, ordered=False, expanded=False): and ending with something like: return util.expanded_coords(data, expanded).

Okay done that as well now.

Looks good! I'll merge as soon as the tests pass.

Tests passed. Merging.


AutoFocus Feature

My team and I find it difficult having to swap back and forth with requesting focus then having to accept focus. It would be nice to always auto-accept requests to follow.

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

ID: b02cc636-50ed-7c7f-0695-f9700450dbe1
Version Independent ID: adcd6a17-c683-1860-4aa7-0e4ce2acf00b
Content: Overview - Visual Studio Live Share - Visual Studio Live Share
Content Source: docs/index.md
Service: vs-liveshare
Product: visual-studio-family
GitHub Login: @Chuxel
Microsoft Alias: clantz

@JaredPotter This is something we've been keen to get feedback on, so I appreciate you reaching out! Just to confirm: would you expect focus to be mandatory when requested by any participant? Or only the host?

I’m wondering whether the following behavior is the right solution here:

Change the default to auto-accept focus requests, so that when you run the focus command, it automatically pulls other participants to your location. As long as users collaborate together “respectively”, this should actually make for a lighter weight experience

Introduce a new setting that allows changing this behavior to prompt when a focus request is made. That way, if users are finding “focus” being “abused”, or their workflow doesn’t match the description above, then they can still opt out.

This is similar to how debugging works (guests are auto-attached by default, but they can change that behavior), and may provide a better out-of-the-box experience, while providing users with autonomy.
@grork Thoughts?

How about timeout-in-a-toast? Focus is accepted after a countdown of N (5?) seconds. Customer can cancel, or accept immediately. Timeout is adjustable, and (should) respect accessible cases to extend the duration. Things could also be set to cancel it, such as choosing to switch to another document?
Coupled with a setting, this might give the best of both worlds.
Also:

What if auto-accept was only when the host was requesting focus
If we ever do 'read only', that could also choose to accept automatically unilaterally?

@lostintangent Sorry for the late response.
I'm not certain about all the different use case people use VS Live Share for but in the cases I've used it and continue to use it in are professional, usually one-on-one shares where there isn't any issues with people no cooperating / stealing focus when they should not.
I'd argue that having the auto-accept focus be the default. And have a user setting if someone wishes to be prompted everytime.
I agree with @grork's point that if there was a read-only mode that auto-accept focus could also be useful. I do not agree about only the host being able to do that since in my use cases all (both) the host and participants need to take control during a code review, etc.

I have to agree with @JaredPotter. If there’s one thing I don’t like it having the focus lost. But please make it configurable.

This has now been resolved in both VS and VS Code. Update to the latest extension versions and let us know what you think. Thanks again for the feedback!


Modal: add dimmer shorthand

Feature Request
Modal portal class name option or any other possibility to style modals container.
Problem description
Right now there is no possibility to style default .modals portal via modal component. It is a big limitation, that reduce flexibility of the modal usage. The only one way to do it right now - it is overriding mountNode. But it is unnecessary and redundant in most cases.
Proposed solution
It will be great to have some prop in modal component, that will give possibility to add class to parent portal, something like portalClassName.

In fact, this can be done with #1739. However, there wasn't many activity. Will be easier to implement after #2880 will be merged.


How to disable Edit and Continue??

When I'm working on client-side code I don't need the debugger actually engaged and I want to be able to edit my html/js/ts/css/whatever and just refresh my browser and see the updates.  But I can't edit when I'm debugging and IIS Express quits when I can edit.  In ASP.NET vBefore the first thing to do was disable Edit and Continue so that IIS Express would stay running and available.  I cannot find that option in the Project properties anymore.
Is there a way to achieve it in ASP.NET 5?
Thanks!

This issue was moved to aspnet/Home#1196


Added documentation for data enrichment part one

Description

Related Issues

Fixes #...
Closes #...
Resolves #...

Additional Context

Merge to devel is required, so closing this. As discussed


v0.18.0-beta.3: TypeError: conversion from NoneType to Decimal is not supported

When upgrading to v0.18.0-beta.3 from beta 2, I'm seeing this error a lot
Deze fout is ontstaan door een aangepaste integratie.

Logger: homeassistant
Source: custom_components/powercalc/sensors/power.py:308
Integration: Powercalc (documentation, issues)
First occurred: 13:08:40 (2 occurrences)
Last logged: 13:10:36

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/powercalc/sensors/power.py", line 235, in appliance_state_listener
    await self._update_power_sensor(new_state)
  File "/config/custom_components/powercalc/sensors/power.py", line 272, in _update_power_sensor
    self._power = await self.calculate_power(state)
  File "/config/custom_components/powercalc/sensors/power.py", line 308, in calculate_power
    return Decimal(power)
TypeError: conversion from NoneType to Decimal is not supported

Going back to beta 2 and the issue is gone.
This is my config:
power_sensor_naming: "{} vermogen"
energy_sensor_naming: "{} verbruik"
energy_integration_method: left

# Sonos
- platform: powercalc
  entity_id: media_player.living_2
  fixed:
    states_power:
      playing: 26.6
      paused: 9.8
      idle: 9.8
- platform: powercalc
  entity_id: media_player.keuken
  fixed:
    states_power:
      playing: 9.3
      paused: 2.2
      idle: 2.2
- platform: powercalc
  entity_id: media_player.badkamer
  fixed:
    states_power:
      playing: 8.3
      paused: 3.4
      idle: 3.4
- platform: powercalc
  entity_id: media_player.move
  fixed:
    states_power:
      playing: 8.3
      paused: 3.2
      idle: 3.2
- platform: powercalc
  entity_id: media_player.2c
  fixed:
    states_power:
      playing: 7.3
      paused: 2.55
      idle: 2.55

# Tv
- platform: powercalc
  entity_id: media_player.philips_tv
  standby_power: 0.8
  fixed:
    power: 102
- platform: powercalc
  entity_id: media_player.philips_tv_boven
  standby_power: 0.8
  fixed:
    power: 87
- platform: powercalc
  entity_id: media_player.tv_der_kinders
  standby_power: 0.4
  fixed:
    power: 79

# Verwarming
- platform: powercalc
  name: Slaapkamer Fien verwarming
  entity_id: switch.fien
  fixed:
    power: 1000
- platform: powercalc
  name: Slaapkamer Noor verwarming
  entity_id: switch.noor
  fixed:
    power: 1000
- platform: powercalc
  name: Badkamer verwarming
  entity_id: switch.badkamer
  fixed:
    power: 1000
- platform: powercalc
  name: Slaapkamer verwarming
  entity_id: switch.slaapkamer
  fixed:
    power: 1500
- platform: powercalc
  name: Wc verwarming
  entity_id: switch.wc
  fixed:
    power: 1000
- platform: powercalc
  name: Circulatie verwarming
  entity_id: switch.vloerverwarming
  fixed:
    power: 65

# Verluchting
- platform: powercalc
  name: Verluchting masser
  entity_id: switch.verluchting
  fixed:
    power: 100
- platform: powercalc
  entity_id: switch.zolder_verluchting
  fixed:
    power: 50

# Verlichting
- platform: powercalc
  entity_id: light.noor_1
  standby_power: 0.4
  linear:
    min_power: 0.4
    max_power: 9
- platform: powercalc
  entity_id: light.noor_2
  standby_power: 0.4
  linear:
    min_power: 0.4
    max_power: 9
- platform: powercalc
  entity_id: light.spot_slaapkamer
  standby_power: 0.3
  linear:
    min_power: 0.3
    max_power: 5

# Raspberry Pi's
- platform: powercalc
  name: badkamerPi
  entity_id: sensor.cpu_badkamer
  standby_power: 0.6
  linear:
    calibrate:
      - 0 -> 0.6
      - 100 -> 1.75
- platform: powercalc
  name: brewPi
  entity_id: sensor.cpu_brewpi
  standby_power: 2.35
  linear:
    calibrate:
      - 0 -> 2.35
      - 100 -> 5.5
- platform: powercalc
  name: garagePi
  entity_id: sensor.cpu_garage
  standby_power: 2.25
  linear:
    calibrate:
      - 0 -> 2.25
      - 100 -> 5.4
- platform: powercalc
  name: keukenPi
  entity_id: sensor.cpu_keuken
  standby_power: 2.35
  linear:
    calibrate:
      - 0 -> 2.35
      - 100 -> 5.5
- platform: powercalc
  name: livingPi
  entity_id: sensor.cpu_pi3_living
  standby_power: 1.6
  linear:
    calibrate:
      - 0 -> 1.6
      - 100 -> 6.6
- platform: powercalc
  name: poortPi
  entity_id: sensor.cpu_poortjepi
  standby_power: 2.25
  linear:
    calibrate:
      - 0 -> 2.25
      - 100 -> 5.4
- platform: powercalc
  name: slaapkamerPi
  entity_id: sensor.cpu_slaapkamer
  standby_power: 3.1
  linear:
    calibrate:
      - 0 -> 3.1
      - 100 -> 6.15
- platform: powercalc
  name: tvPi
  entity_id: sensor.cpu_tvpi
  standby_power: 2.35
  linear:
    calibrate:
      - 0 -> 2.35
      - 100 -> 5.5
- platform: powercalc
  name: verwarmingPi
  entity_id: sensor.cpu_verwarmingpi
  standby_power: 2.35
  linear:
    calibrate:
      - 0 -> 2.35
      - 100 -> 5.5

# Computers
- platform: powercalc
  name: iMac5k
  entity_id: binary_sensor.imac_5k_active_2
  fixed:
    power: 105

# Playstation
- platform: powercalc
  name: Ps4
  entity_id: device_tracker.playstation4
  standby_power: 8.4
  fixed:
    power: 95

I think it comes from this one it is unavailable sometimes

Thanks for the report. Quite busy coming days. Will do some development again on the component upcoming weekend

See #565, did some fixes for the decimal conversions. Just released v0.18.0-beta.5.
Could you please check if this solves your issue as well?

I've updated to your latest beta. And it seems my issue is solved!
Thanks.


[lexical-playground] CI: skip flaky collab e2e test

Description
eg. https://github.com/facebook/lexical/actions/runs/9322462619/job/25663598465
^ flaky collab tests failing on ci signal
disable flaky collab tests so we dont waste resources running them + reduce noise in the ci
Closes #6241
Test plan
npm run test-e2e-collab-chromium

run this until all flaky test skipped

Consider splitting slow test files to speed up parallel execution
73 skipped
361 passed (3.7m)

would like to check how we are marking so many tests as flaky, in the past 5-6 PR merges i ran i only see 1 test out of these fail 1 time, marking too many tests as flaky might be risky


Get an instance of MvccDeletePlugin into test class

...to be able to test all the private methods of our plugin

This test should not be deleted. Implementation has to be adjusted to re-enable this test again.


Can' delete record by JavaScript function

OrientDB Version, operating system, or hardware.

2..1[ ] .0[ ]

Operating System

[ 8.1] Windows

Hi.
I test my function where I create fake function and then delete it.
try {
	db.executeCommand('CREATE FUNCTION deleteMe "print(\'hello\')" LANGUAGE JavaScript');
  	db.commit();
	db.executeCommand('DELETE FROM OFunction WHERE name = "deleteMe"');
  	db.commit();
} catch(ex) {
	print(ex);
}

This function throw error
Internal server error: java.lang.IllegalArgumentException: Script pool for database 'myDataBase' is not configured
It is happend when I create/delete any record

I found the reason of this and fixed.
Closing


&sphere error

Command that caused the error
&sphere
Image that caused the error
https://cdn.discordapp.com/attachments/841889612406456363/845000802376089600/jpeg.jpg
To Reproduce
&sphere
Self-hosted instance?
no
Error file
error.txt
Additional context
N/A

Seems like something happened to the API server, should be fixed now.


Prevent oscillations of the charge percentage (plus save a few bytes!)

Hello,
Here are two changes related to the display of the battery state of charge. The first one saves 40 byte in the binary, the other one fixes a minor issue with the SoC display as discussed on YouTube.
Be aware that this is compile-tested and simulation-tested only, as I don't have a transceiver to run this on. FYI below is the output of a simple test program I ran on my PC to make sure the new BATTERY_VoltsToPercent() still shows (mostly) the same values as the old one.
BATTERY_TYPE_1600_MAH
  V  old  new
600    0    0
610    0    0
620    0    0
630    0    0
640    1    0
650    2    1
660    2    1
670    3    2
680    3    3
690    4    3
700    5    4
710    5    4
720    6    5
730    6    6
740   12   13
750   19   19
760   25   25
770   38   38
780   51   51
790   65   65
800   78   78
810   91   91
820   98   98
830  100  100
840  100  100
850  100  100
860  100  100
870  100  100
880  100  100
890  100  100
900  100  100

BATTERY_TYPE_2200_MAH
  V  old  new
600    0    0
610    0    0
620    0    0
630    0    0
640    1    1
650    2    2
660    3    3
670    4    4
680    5    5
690   10   10
700   17   16
710   25   24
720   37   36
730   49   48
740   60   60
750   65   64
760   70   69
770   74   74
780   79   79
790   84   84
800   89   88
810   93   93
820   97   97
830  100  100
840  100  100
850  100  100
860  100  100
870  100  100
880  100  100
890  100  100
900  100  100

batt.c.txt

I see one problem: what if you charge via the dock/cradle or the usb-c built into the battery?

I see one problem: what if you charge via the dock/cradle or the usb-c built into the battery?

Ha! I did not know about the external charging options... so effectively the gChargingWithTypeC is not a reliable indication of whether the battery is charging or discharging and what I proposed is just plain wrong :sob:
Well, that still leaves the first patch which may be of interest I suppose.

If you can somehow make the percentage steps smoother (not skip certain numbers), then the oscillations can become a little less annoying (flipping between 53% and 52% is less annoying than flipping between 53% and 51%).
I tried to have a go at it, but used up a lot of precious bytes :crying_cat_face:
https://github.com/armel/uv-k5-firmware-custom/assets/1832555/332a29c4-2128-4725-aabb-adb51cbae785

I'm even seeing tiny fluctuations, measuring the battery voltage with a Fluke 115 multimeter. Seriously, it doesn't matter.
https://github.com/armel/uv-k5-firmware-custom/assets/127889/5d04d6a7-4538-4c0e-a845-59283e9415f5

OK, then let's close this. Feel free to cherry-pick the first commit if you think it's worth it. Thanks!


Missing images for food subcategory of creatures

Fixed in https://github.com/gadhagod/Hyrule-Compendium-API/commit/030a2328794f490d5d0b5e413fe82a97226bb4d0.


Check min diffusers version

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


How to connect MySQL docker container with spring boot app image for production ?

Hi! I want to run the same spring boot app on my laptop at the time of development with connecting my own installed MySQL and in production with MySQL docker container. I tried more but getting the issue with JDBC connection exception. Please help me.
I am using two files same project for that.
# application.properties for local MySQL connection
spring.datasource.platform=mysql
spring.datasource.driverClassName=com.mysql.jdbc.Driver

spring.datasource.url= jdbc:mysql://localhost:3306/tsbacked?useSSL=false
spring.datasource.username = root
spring.datasource.password = 12345
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery = SELECT 1
spring.jpa.show-sql = true
spring.jpa.hibernate.ddl-auto = update
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect

# application.yml for Docker container MySQL
spring:
    jpa:
        database: MYSQL
        hibernate:
            ddl-auto: validate

    datasource:
        url: jdbc:mysql://mysql:3306/tsbacked
        username: root
        password: 12345
        driver-class-name: com.mysql.jdbc.Driver

# Dockerfile
FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD target/techlaviya-0.0.1.jar app.jar
ENV JAVA_OPTS=""
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar

docker run --name demo-mysql -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=tsbackedMYSQL_USER=root-e MYSQL_PASSWORD=12345 -d mysql:5.6

It's happened the same to me. I tried to use the --link docker parameter when running my app but continue not working. Do you already found any solution? Thanks

Ohhh I found the solution. You can read this tutorial: https://g00glen00b.be/docker-spring-boot/. The problem is your application load the application.properties.
You need to change the ENTRYPOINT to load the profile with the container configuration (application.yml). E.g "-Dspring.profiles.active=container"
`spring:
profiles: container
jpa:
database: MYSQL
hibernate:
ddl-auto: validate
datasource:
    url: jdbc:mysql://mysql:3306/tsbacked
    username: root
    password: 12345
    driver-class-name: com.mysql.jdbc.Driver`

thanks

Running with a database is out of scope for this guide. If you want to see some guidance, maybe open an issue in the extended topical guide.


Better error handling

Created error handling mechanism to extend on. This will help organize known errors that can occur within the app and return a friendlier interface for the user
Development only:

#errors url route exist for simulating the popup only

Update:

[ ] change modal to a toast-like

Update: the UI component should not block the user from continuing an action (which this currently does) so will need to change the appearance to a toast that will dismiss itself after some time


Olympuss

Source information
tachiyomi-es.olympusscanlation-v1.4.7
Source language
Español
Source new URL
https://visorolym.com/
Other details
Actualización de URL
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

The domain is already used in the extension.
Duplicate of #1819 , possibly


Adds BearerToken support

Abstracts the HTTP header processing out of BasicHttpAuthenticationFilter into HttpAuthenticationFilter (to support both BASIC and Bearer tokens)
Adds authcBearer to DefaultFilter (to match authcBasic)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/71/Build result: FAILURE[...truncated 228.99 KB...][JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/config/core/target/shiro-config-core-1.5.0-SNAPSHOT-javadoc.jar to org.apache.shiro/shiro-config-core/1.5.0-SNAPSHOT/shiro-config-core-1.5.0-SNAPSHOT-javadoc.jar[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/config/core/target/shiro-config-core-1.5.0-SNAPSHOT-sources.jar to org.apache.shiro/shiro-config-core/1.5.0-SNAPSHOT/shiro-config-core-1.5.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/test-coverage/pom.xml to org.apache.shiro/shiro-test-coverage/1.5.0-SNAPSHOT/shiro-test-coverage-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/crypto/pom.xml to org.apache.shiro/shiro-crypto/1.5.0-SNAPSHOT/shiro-crypto-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/core/pom.xml to org.apache.shiro/shiro-core/1.5.0-SNAPSHOT/shiro-core-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/samples/aspectj/pom.xml to org.apache.shiro.samples/samples-aspectj/1.5.0-SNAPSHOT/samples-aspectj-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/samples/spring-boot-web/pom.xml to org.apache.shiro.samples/samples-spring-boot-web/1.5.0-SNAPSHOT/samples-spring-boot-web-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/samples/spring-client/pom.xml to org.apache.shiro.samples/samples-spring-client/1.5.0-SNAPSHOT/samples-spring-client-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/tools/hasher/pom.xml to org.apache.shiro.tools/shiro-tools-hasher/1.5.0-SNAPSHOT/shiro-tools-hasher-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/support/spring-boot/spring-boot-starter/pom.xml to org.apache.shiro/shiro-spring-boot-starter/1.5.0-SNAPSHOT/shiro-spring-boot-starter-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/support/jaxrs/pom.xml to org.apache.shiro/shiro-jaxrs/1.5.0-SNAPSHOT/shiro-jaxrs-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/samples/guice/pom.xml to org.apache.shiro.samples/samples-guice/1.5.0-SNAPSHOT/samples-guice-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/crypto/cipher/pom.xml to org.apache.shiro/shiro-crypto-cipher/1.5.0-SNAPSHOT/shiro-crypto-cipher-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/crypto/cipher/target/shiro-crypto-cipher-1.5.0-SNAPSHOT.jar to org.apache.shiro/shiro-crypto-cipher/1.5.0-SNAPSHOT/shiro-crypto-cipher-1.5.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/crypto/cipher/target/shiro-crypto-cipher-1.5.0-SNAPSHOT-javadoc.jar to org.apache.shiro/shiro-crypto-cipher/1.5.0-SNAPSHOT/shiro-crypto-cipher-1.5.0-SNAPSHOT-javadoc.jar[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/crypto/cipher/target/shiro-crypto-cipher-1.5.0-SNAPSHOT-sources.jar to org.apache.shiro/shiro-crypto-cipher/1.5.0-SNAPSHOT/shiro-crypto-cipher-1.5.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/samples/web/pom.xml to org.apache.shiro.samples/samples-web/1.5.0-SNAPSHOT/samples-web-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/support/servlet-plugin/pom.xml to org.apache.shiro/shiro-servlet-plugin/1.5.0-SNAPSHOT/shiro-servlet-plugin-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/support/spring/pom.xml to org.apache.shiro/shiro-spring/1.5.0-SNAPSHOT/shiro-spring-1.5.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Shiro-pr/support/guice/pom.xml to org.apache.shiro/shiro-guice/1.5.0-SNAPSHOT/shiro-guice-1.5.0-SNAPSHOT.pomchannel stoppedSetting status of efcbf77d109030c47b0ed8f03fb219b800642117 to FAILURE with url https://builds.apache.org/job/Shiro-pr/71/ and message: 'FAILURE 'Using context: Jenkins: mvn clean install

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/72/

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/90/

Thanks @bdemers !

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/100/


script to build in docker image

adds basic script to build the jar artifact if you have docker, but not a Java dev setup.

Please take a look if you've got the time @janosvitok


Any() throws method must not be null

Hi,
I'm mocking spring repository with signature:
JpaRepository<Entity, Id> {
   <S extends Entity> S save(S entity);
}

Here is my try:
val mockRepository = mock<JpaRepository> {
            on { save(any()) } doThrow RuntimeException("Some exception")
        }

But then I got
Caused by: java.lang.NullPointerException: save(any()) must not be null
In order to fix this, I must do ugly thing, specyfing generic type like:
val mockRepository = mock<JpaRepository> {
            on { save(any<Entity>()) } doThrow RuntimeException("Some exception")
        }

And it works, but IDE (Intellij) is suggesting generic removal: Remove explicit type arguments
So I tried something else:
val mockRepository = mock<JpaRepository> {
            on { save(Mockito.any(Entity::class.java)) } doThrow RuntimeException("Some exception")
        }

and IDE is not complaining at all, but it looks ugly. Any better solution?

@mtwolak This is a java-kotlin interop issue I believe and is caused by javas missing null-safety.
Ty doThrow(IllegalStateException::class).whenever(mock).go().

@mtwolak I your scenario you can also use onGeneric instead of on. Then it should work without explicit type.
But I have a similar issue but I don't want/can specify the mock behavior when the mock is created, but only inside the test. So I usually use something like:
whenever(repository.save(any())).doReturn(entity)

But this also fails without specifying the type exlicitly in the any (any<Entity>()). Is there something similar to onGeneric but for the whenever workflow.
Any help or hint is appreciated.


planting seeds form this mod does not grand the "A Seedy Place" advancement

1.15.2 version

Honestly, I don't do advancements in any of my mods, they annoy me.   Sorry.


Support for Windows 10 for Enterprise for Virtual Desktops?

This articles specifically indicates support for the following editions of the Windows 10 semi-annual channel: Enterprise, Pro, Education, and Pro Education.
Is there any support, either now or planned, for the Windows 10 SAC edition called : "Windows 10 Enterprise for Virtual Desktops"?  This edition is available  in Azure only via the new Azure service called "Windows Virtual Desktop".
Thanks.. JD

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

ID: dc732ec0-eb14-8da2-7688-dd74a72cdae5
Version Independent ID: a93682ff-2984-38e0-5a0d-6f77c1c9e5db
Content: Support for Windows 10 - Configuration Manager
Content Source: sccm/core/plan-design/configs/support-for-windows-10.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @mestew
Microsoft Alias: mstewart

@julesman101
There might have been something about this in the 1906 Technical Preview =) Granted, being in a TP doesn't necessarily mean that it will be in the 1906 CB release, but it's a very good indication that we are thinking about it.
#please-close


Tab authentication

I was wondering how did you handle the authentication to the teams tab containing the application ?
I am developing a similar Teams application and don't know how to handle authentication :

My user is already connected to teams so I don't want to make him login again as it is sugested in the documentation
I want my application to be secured so that anyone outside my organisation knowing the url of the web app can't access its content.

Is there some way to only allow access to the web app content in a teams context so that only people accessing the tab in Teams can access the "website" ? What mechanism did you use in this sample ?

The authentication follows the SSO process outlined in the article you linked to.
Startup.cs and the classes in the Helpers folder handles all the auth.
The web app will not work without being loaded in the teams context.  There is nothing additional you have to do to ensure it cannot be used outside of the teams context.


Systems moves back when refreshing.

I can move system to another spot but when refreshing the page they move back to where they was before.
Tried in google chrome, and in incognito and it still diden't work. I've tried locking the systems after I moved them it dosen't help.  We have like 4 or 5 systems stack on top of eachothers.
Edit: seems like the only person who can move a system is the person who adds it...

When someone moves systems around, the map update counter (bottom right of a map) starts to count from 3 to 0. If the counter hits 0, all new map changes get pushed to the server and visible to others. If you refresh before the counter hits 0 changes will not be stored and you will get the old positions.


key error in SN(ScanNet) Datasets

Hi ! I succesfully run the train code on other datasets, but there is key error in SN dataset,
When i check SN_instructions.json and SN.json ，I found that their keys do not match
I download SN_train and SN_instructions here
and I download SN here
samples of SN_instructions.json
"SN_INS_scene0000_activity2_round0": {"instruction": "Are there any specific activities that you think I could engage in within this room?", "answer": "Home Repair Project stands out to me as a stellar indoor activity. The room has a spacious layout with enough floor space to accommodate a home repair project.", "image_ids": ["SN_IMG_scene0000_color_000000", "SN_IMG_scene0000_color_000100", "SN_IMG_scene0000_color_000200", "SN_IMG_scene0000_color_000300", "SN_IMG_scene0000_color_000400", "SN_IMG_scene0000_color_000500", "SN_IMG_scene0000_color_000600", "SN_IMG_scene0000_color_000700", "SN_IMG_scene0000_color_000800", "SN_IMG_scene0000_color_000900", "SN_IMG_scene0000_color_001000", "SN_IMG_scene0000_color_001100", "SN_IMG_scene0000_color_001200", "SN_IMG_scene0000_color_001300", "SN_IMG_scene0000_color_001400", "SN_IMG_scene0000_color_001500", "SN_IMG_scene0000_color_001600", "SN_IMG_scene0000_color_001700", "SN_IMG_scene0000_color_001800", "SN_IMG_scene0000_color_001900", "SN_IMG_scene0000_color_002000", "SN_IMG_scene0000_color_002100", "SN_IMG_scene0000_color_002200", "SN_IMG_scene0000_color_002300", "SN_IMG_scene0000_color_002400", "SN_IMG_scene0000_color_002500", "SN_IMG_scene0000_color_002600", "SN_IMG_scene0000_color_002700", "SN_IMG_scene0000_color_002800", "SN_IMG_scene0000_color_002900", "SN_IMG_scene0000_color_003000", "SN_IMG_scene0000_color_003100", "SN_IMG_scene0000_color_003200", "SN_IMG_scene0000_color_003300", "SN_IMG_scene0000_color_003400", "SN_IMG_scene0000_color_003500", "SN_IMG_scene0000_color_003600", "SN_IMG_scene0000_color_003700", "SN_IMG_scene0000_color_003800", "SN_IMG_scene0000_color_003900", "SN_IMG_scene0000_color_004000", "SN_IMG_scene0000_color_004100", "SN_IMG_scene0000_color_004200", "SN_IMG_scene0000_color_004300", "SN_IMG_scene0000_color_004400", "SN_IMG_scene0000_color_004500", "SN_IMG_scene0000_color_004600", "SN_IMG_scene0000_color_004700", "SN_IMG_scene0000_color_004800", "SN_IMG_scene0000_color_004900", "SN_IMG_scene0000_color_005000", "SN_IMG_scene0000_color_005100", "SN_IMG_scene0000_color_005200", "SN_IMG_scene0000_color_005300", "SN_IMG_scene0000_color_005400", "SN_IMG_scene0000_color_005500"], "rel_ins_ids": []}

examples of SN.json:
[......, 'SN_00_IMG_scene0663_00_color_000100', 'SN_00_IMG_scene0663_00_color_000200', 'SN_00_IMG_scene0663_00_color_001800', 'SN_00_IMG_scene0663_00_color_000000', 'SN_00_IMG_scene0663_00_color_000700', 'SN_00_IMG_scene0663_00_color_000300', 'SN_00_IMG_scene0663_00_color_000500', 'SN_00_IMG_scene0663_00_color_002800', 'SN_00_IMG_scene0663_00_color_002400', 'SN_00_IMG_scene0663_00_color_002600', 'SN_00_IMG_scene0663_00_color_002300', 'SN_00_IMG_scene0663_00_color_002000', 'SN_00_IMG_scene0663_00_color_002900', 'SN_00_IMG_scene0663_00_color_001600', 'SN_00_IMG_scene0663_00_color_001000', 'SN_00_IMG_scene0663_00_color_000900', 'SN_00_IMG_scene0663_00_color_001900', 'SN_00_IMG_scene0663_00_color_000600', 'SN_00_IMG_scene0663_00_color_001700', 'SN_00_IMG_scene0663_00_color_002200', 'SN_00_IMG_scene0663_00_color_001500', 'SN_00_IMG_scene0663_00_color_000400', 'SN_00_IMG_scene0663_00_color_001200', 'SN_00_IMG_scene0663_00_color_001100', 'SN_00_IMG_scene0663_00_color_002700'])

Hi You may need to manually remove the '00' in 'SN.json'.
It's a small naming issue, you can fix it your side and also we will update it later.

ok！thx a lot!


Research: overcollateralization mechanic

There is only one audit's issue that we haven't fixed yet: https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/60
This is not critical but during a black swan event it will make the pool insolvent to some extent. We should add the overcollateralization mechanic (similar to DAI, CRVUSD or LUSD) which is much more resistant to sudden collateral depegs.
This is a research issue, as a result we should get a detailed step by step guide of what audited contracts we should fork/revamp and how they fit (i.e. how we should use them) in the overall Dollar protocol architecture.
When the overcollateralization mechanic is implemented we could:

Pause the Ubiquity pool used by arbitrageurs (and allow operations with Dollar tokens only on secondary markets)
Rely only on the overcollateralization mechanic for the Dollar token USD peg which is much more resistant to sudden collateral depegs

Any idea on time estimate?

It said it can't find you under memberships which caused the issue with the labels. I'm not sure why that would be.

! action has an uncaught error

{
"handlerType": {
"type": "post",
"actions": [
null
]
},
"activeHandler": "onLabelChangeSetPricing",
"error": {
"name": "HttpError",
"status": 404,
"response": {
"url": "https://api.github.com/orgs/ubiquity/memberships/ubiquity",
"status": 404,
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
"content-encoding": "gzip",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 05 Mar 2024 20:45:39 GMT",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"server": "GitHub.com",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding, Accept, X-Requested-With",
"x-accepted-github-permissions": "members=read",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-api-version-selected": "2022-11-28",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "80F0:1594:C4C476:17BF07B:65E78473",
"x-ratelimit-limit": "7150",
"x-ratelimit-remaining": "6923",
"x-ratelimit-reset": "1709672691",
"x-ratelimit-resource": "core",
"x-ratelimit-used": "227",
"x-xss-protection": "0"
},
"data": {
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user"
}
},
"request": {
"method": "GET",
"url": "https://api.github.com/orgs/ubiquity/memberships/ubiquity",
"headers": {
"accept": "application/vnd.github.v3+json",
"user-agent": "probot/12.3.3 octokit-core.js/3.6.0 Node.js/20.11.0 (linux; x64)",
"authorization": "token [REDACTED]"
},
"request": {}
}
},
"caller": "renderCatchAll",
"revision": null
}

It said it can't find you under memberships which caused the issue with the labels. I'm not sure why that would be.
I have notice this error comes when altho members try to perform the actions they can't see the

I have notice altho members the bot does not react to member users that can't see the settings on x repo, e.g i can see the settings at audit.ubq.fi so the bot reacts to me

Perhaps it's a weird permissions inheritance issue. You were added directly to the repo but you also are added to the org. I just removed you from the repo so now your permissions should be "normal" inherited from the org like the rest of us.

Perhaps it's a weird permissions inheritance issue. You were added directly to the repo but you also are added to the org. I just removed you from the repo so now your permissions should be "normal" inherited from the org like the rest of us.

Even tho im added, looks like an issue indeed, hopefully we find that fix!

Any idea on time estimate?

I've updated the description, time estimate is fine

@rndquu So this issue is being caused by sudden price pump?
Like the AMO doesn't sensitively balance the supply for a moment
Would like to hear more about what is the approx depegged price of uAD

@rndquu @pavlovcik To resolve this, we should apply a major change to protocol contracts I guess,
Since the ubiquity idea and the code written somewhat don't align overcollateralized concept,
so what I'm thinking about is introducing the tick on minting (a tick would be 0.001$) and if the current price is out of the tick window(of maybe 10 or 20 ticks for any direction from the highest tick), liquidity pool can reject mint/redeem action temporarily

we should apply a major change to protocol contracts I guess,

This doesn't seem like a good approach. We should aim to make minimal changes to our protocol, especially because we just paid for an audit.

Indeed not a good approach

@pavlovcik @molecula451 I understand your concern
So do you have any ideas of which minor change would satisfy our needs?

This is a research issue with different approaches on how to handle an "overcollateralization mechanic" or a possible exploit of the underlying system that allow us to handle very well own and user assets

@999bits

So this issue is being caused by sudden price pump?

Yes, check:

https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/60
https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/17
https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/19
...other related issues

Like the AMO doesn't sensitively balance the supply for a moment

We don't use any AMOs right now

Would like to hear more about what is the approx depegged price of uAD

Take the FRAX token to see expected price fluctuations

To resolve this, we should apply a major change to protocol contracts I guess

We should take any audited stablecoin contract with overcollateralization mechanic and apply it to the project

@rndquu @pavlovcik
Afaik, the traditional overcollateralized CDP solution is Liquity
And they introduced stablity pool as the first line of defense, where liquidity comes from SP liquidity provider and liquidated troves
I'm curious if we can approach this way

Given that we are not a CDP protocol its not possible

Given that we are not a CDP protocol its not possible

This issue implies adding CDP mechanic to the protocol, similar to how Maker generates DAI, so LUSD should definitely have related contracts

I don't understand the issue with FRAX's economic model. I'm also not open to this direction.
Seems useless to only support CDP for a stablecoin

@rndquu I re-read the original audit proposal and as I understand, we should allow redeems only below $1.00 and mints above $1.00. Wouldn't this be mathematically impossible to have the proposed problem with insolvency?
<EMAIL_ADDRESS>-> mint 10 UUSD using $10 of collateral

or

<EMAIL_ADDRESS>-> redeem $10 using 10 UUSD

If UUSD is worth $2, using 10 UUSD to redeem should not give the user 20 LUSD, it should always be 10 LUSD. That's how we keep the peg.

we should allow redeems only below $1.00 and mints above $1.00. Wouldn't this be mathematically impossible to have the proposed problem with insolvency?

Chainlink oracles update faster than curve's TWAP (that is used for checking UUSD price) hence it is possible in theory to mint with UUSD < $1.00 and redeem with UUSD > $1.00. Although in a very rare case.

unless it's intended to be some type of internal mechanism for us to create some type of small "insurance" policy

We could transfer AMO yield to the pool which could serve as a "small insurance policy".

Aave solves the same issue of possible insolvency (if liquidations/oracles are late or in case of a smart contract bug) via a safety module.
How it works:

Users stake AAVE or AAVE/ETH Balancer LP (for deepening AAVE liquidity) tokens in the Safety Module which basically a staking contract where users get AAVE rewards
In case there's an insolvency then up to 30% of staked assets are slashed and sold on a secondary market to cover the protocol insolvency
In case step 2 doesn't cover all losses aave has another module called "Recovery Issuance" which simply mints AAVE tokens out of thin air until the protocol is not solvent again

I understand that current issue is improbable but I still don't want to close it since if we acquire a decent amount of liquidity and face a too volatile marker which would make the ubiquity pool undercollateralized then somebody would find this github issue and make another https://rekt.news/ post out of it.

I think copying AAVE as sort of a "default answer" is acceptable. They have a good security track record.


Add more color options

Black and White colors can be added to the palette

You can update the colorList in app/canvas/page.tsx


What is the geometric meaning of the process in "_do_paste_mask" function in "fcn_mask_head.py"

I'm sorry if I asked an out-of-place question.
I don't know what the geometric meaning of the following code is.
https://github.com/open-mmlab/mmdetection/blob/11b1ef830aa7c8c054d8b5346fe0966e643d473c/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py#L295
    img_y = (img_y - y0) / (y1 - y0) * 2 - 1
    img_x = (img_x - x0) / (x1 - x0) * 2 - 1
    # img_x, img_y have shapes (N, w), (N, h)

Why do you multiply (img_y - y0) / (y1 - y0) by 2?
Do I need to multiply 1 if the mask size is 14x14 instead of 28x28, or 4 if it's 56x56?
I understand that img_x and img_y are needed to derive the grid, which is an argument to the F.grid_sample function.
And I also know that img_masks (100x1x427x640 for 'data/coco/val2017/000000397133.jpg') is obtained by overlaying 28x28 masks on the input image at the right place and the right size, using bilinear interpolation.
For example, for the inference in data/coco/val2017/000000397133.jpg:

masks[0,0,:,:]

img_masks[0,0,:,:]

All bounding boxes and masks on input image(data/coco/val2017/000000397133.jpg):

Thank you very much for your response.

img_y = (img_y - y0) / (y1 - y0)  means to rescale the coordinates of image into range [0, 1] and then rescale and shift it into
range [-1, 1]. See the doc of F.grid_sample here, that is for the valid input range. The value in coordinates outside of the box will be set as zero. This maps the mask inside a box into the complete image mask.


[Bubble.io] -> [others]

[Resource Name - Bubble]
Bubble is an drag-and-drop editor which makes design and development easy.
Link: https://bubble.io/
Checklist:

[x] I have performed a self-review of submitted resource and its follows the guidelines of the project.

Hey @TechLead-21, Thanks for the pull request.
However, I think it's not a design resource for developers rather than an online web editor tool.

Hey @TechLead-21 I went through Bubble. I think It's not a Design Resource as It's used to make Website which might be useful to Non-Coders.

Yeah, we should probably leave out website builder tools, etc.

No worries ☺
I respect everyone's opinions


TPV13 last minute changes

Looks good to me! Do you have an estimate of the (such increased) size of the written output?

It's 38 MB ;-)


Is it possible to avoid usage of ext-intl?

thephpleague/uri starts to require ext-intl that is not bundled with PHP by default and absent on some  shared hostings.
Therefore my company was forced to change uri processing library in our projects :(

ext-intl is required for IDN support. and for host validation. This extension should be present on any decent share hosts as this extension is really quite useful even for non URI related problem like transcoding and translation. You should convinced your company to re-evaluate this. Not for URI sake but even for other products or solutions IMHO.


Hosting

I wish you still hosted this game at risk.joshbassett.info. I really miss it. Any chance of hosting it again?

Hi Chris,
I recently gave my personal site a bit of an overhaul.
It should be available at http://risk.joshbassett.info/ so let me know if it's not working for you.
Kind regards,
Josh

From: Chris Crowley @.>
Sent: Thursday, 1 August 2024 4:02 AM
To: nullobject/risk @.>
Cc: Subscribed @.***>
Subject: [nullobject/risk] Hosting (Issue #9)
I wish you still hosted this game at risk.joshbassett.infohttps://risk.joshbassett.info/. I really miss it. Any chance of hosting it again?
—
Reply to this email directly, view it on GitHubhttps://github.com/nullobject/risk/issues/9, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAAA4HTGZUYYBETQ5PKY3UDZPERCTAVCNFSM6AAAAABLY7IOWGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DANJZHEYTONA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Sprockets fails when the css_dir and the js_dir are overwritten

Expected behavior and actual behavior
I would like to change the path of my js_dir folder, and in fact I did it in the config.rb file. However, by doing so sprockets fails to interpret and compile file that includes the require instructions.
Not only that. By hitting an existing file in the address bar, sprockets raise the following exception
throw Error("Sprockets::FileNotFound: couldn't find file '.....
Steps to reproduce the problem (from a clean middleman installation) or example repo
I updated a demo site below to demonstrate the problem.
https://github.com/andreamoro/middleman-sprockets-test
Additional information

Ruby version: 2.4.1, 2.3.1
Middleman version: 4
Middleman Sprockets version: 4.1.0, 4.0.0
OS version: Sierra

Just in case, created a testing git
https://github.com/andreamoro/middleman-sprockets-test
Was too tired yesterday night.

I've tried also to update to sprocket 4.0.0.beta4, just to test whether the issue was due to a dependency, but this does not seem to be the case.

I may be missing something, but I think your problem lies in your config.
  set :dir, '/' + I18n.locale.to_s + '/'
  set :css_dir, config[:dir] + 'javascripts'

Since I18n is defaulting to "en", the css_dir ends up getting set to /en/javascripts -- that'll be an issue for two reasons:

css probably isn't in the javascripts directory ;)
your css isn't in /en/**, you'd want to set the css_dir to content/stylesheets to match where they actually are

I'm not really that familiar with I18n, but I imagine you'd want to leave your css/js at source/javascripts, source/stylesheets and not nest them in the I18n templates directory. At any rate, your css_dir & js_dir need to be set to the actual location on disk relative to the source directory, not the output directory.

Hi @stevenosloan
Thanks for returning to me.
Conversely to your expectations, my javascript folder is hosted in the /en and /it subfolder once built. This is because I need both versions of the site to be hosted independently.
The same is happening for the css folder.
The css_dir & js_dir remapping above are meant to set the actual location on disk relative to the source directory, which is source/content/javascript and source/content/stylesheets.
I've created a gist here https://github.com/andreamoro/middleman-sprockets-test for you to have a look if you have some time.

You should set it to content/javascripts or content/stylesheets then -- with config[:dir] + XX it gets set to /en/XX or /it/XX which is not where the source files are on disk.

No worries for the close / reopen. It happens, though I can't see your answer here. Thankfully I have in the inbox.
By the time I answered above and in the light of your previous message, I did some experiments to understand better how that path stuff works, and I arrived to the conclusion that both css_dir and js_dir required './content/stylesheets'.
However, by doing so the site seems to respond just in part to what the expectations and the logic would suggest.
The site.js in source/javascripts is able to include content in source/contente/javascripts (and that's fine). However that file is outside what it will be my destination built directory.
The same site.js file hosted in source/content/javascripts throw the following error Sprockets::FileNotFound: en/stylesheets/site.css.
It seems like the reported path is relative to the built directory rather than the source. I'm not sure what I am missing, but I have updated the gist so to make sure you can check my progress and help me understanding where I am failing?

heh, yeah I had typed that up and was doing some digging to figure out it wasn't really correct.
There's some interaction between the ordering of how I18n reproduces assets and how middleman-sprockets processes them that are pretty edge casy. (if you activate sprockets after i18n things get even more interesting) There's a baseline assumption that sprockets processed assets aren't going to be moved that I got wrong -- so looking into some workarounds for that.

Good to know that it's not me getting this completely wrong. Also because on the CSS side, I always though I was using sprockets by simply having .scss files and @import instructions.
That's not the case, because it seems sprockets inclusions on a css file requires a *=.
Can you confirm this is the case?

Was able to reproduce the above I18n behaviour (I think) and I have updated my gist to document the experiments I've done.
Weird results indeed.

Gotta move to some other things before cleaning this up -- but I think I've got a fix up on
IIRC you can use that from your gemfile like:
gem "middleman-sprockets", github: "middleman/middleman-sprockets",
                           branch: "I128-respect_proxied_assets"

Then

move sprockets activation after I18n
use content/javascripts for js_dir & content/stylesheets for css_dir.

It seems working as expected this, both the css and js in the content folder as well as in the rendered locale folder are now rendering correctly.
Still unsure whether the //= require _test  or @import _test is the right syntax for the CSS, as both seems working fine now.
Would you expect major changes to the final commit, or can I start integrating into my master project?

//= require _test is done through Sprockets but won’t give the parent file access to all the variables, mixins, etc., within _test.scss. @import "test" is done through Sass and will give the parent file access to all the things declared within the @imported file. Either way works, but you may choose one over another due to this subtle difference.

Thanks for clarifying the difference. That explains why I never experienced problems whilst concatenating the resources before. I was using Sass and not Sprocket as I was thinking.
Need to get re-aligned with all these new web dev things. Lots have happened in the past 10 years.

@andreamoro I'm not expecting much to change, especially from a end-user standpoint. Just need some time to get some test cases in and investigate why some of the tests in CI failed.
And thanks @vvasabi, that's much better than I would have explained it :)

Apologies for taking so long finishing this up, every time I've come back I've lost context and can't seem to get specs written that will fail for the reasons outlined here & fixed in the I128-respect_proxied_assets branch. If anyone has some time to dig into that it'd be 💯


Support watchosArm32 (Apple Watch Series 3 and before)

Use case
Be able to support those models could be great, also I presume it doesn't involve too much trickery/support for that.
Describe the solution you'd like
I can write the PR if there is no constraint on your side to provide support for this platform (looks simple enough) and if you're ok for the added build time on CI. Also I'm not sure if the current CI can support building on arm32 🤔

Hi! 👋
I think this could be added without any issue - pretty sure the MacOS images we use for the CI should work (at least it looks like Okio use the same machines and they do target watchosArm32).
A PR would be welcome!


Event Subsription schema: filter properties

The following screen snippet shows the Event Subscription schema (https://docs.microsoft.com/en-us/azure/event-grid/subscription-creation-schema#example-subscription-schema):

It looks like this is a bug, in my REST API usage based on the  https://docs.microsoft.com/en-us/rest/api/eventgrid/eventsubscriptions/createorupdate#request-body the filter properties are:

Note, that the above property filter.isSubjectCaseSensitive is working very well via the REST API, but through the portal, there is completely mismatch setting for this property, for instance, setting the checked box for filter case sensitive, the response by REST API didn't show this property in the filter properties.
In conclusion,  there are differences between the portal (UI & behavior) and REST API for filter.isSubjectCaseSensitive and also for labels.
Thanks
Roman

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

ID: e3e25d3b-669e-c663-0cc0-8b91672c40c1
Version Independent ID: d3226725-a5a2-39eb-9082-20956038462b
Content: Azure Event Grid subscription schema
Content Source: articles/event-grid/subscription-creation-schema.md
Service: event-grid
GitHub Login: @banisadr
Microsoft Alias: babanisa

@romankiss Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@romankiss - thanks catching this bug. I am submitting a fix.