Updated string_decoder to v1.0.0

As titled. It includes the most recent pull from node v7.8.0.

According to the official Node.js docs, there has been no breaking change. I expect this is safe to merge.

Thanks 👍
Shipped with 2.1.0

Fantastic!


Bug in migration alter field with MSSQL Server

I do not know if the idea is to support MSSQL Server, as I said in another post, I am not a user, but now circumstantially I touch myself.
I report the case in which a field is modified and an error occurs.
In this case the width of a string field from 30 to 500 will be changed, for example. The generated SQL is:
ALTER TABLE "mytable" ALTER COLUMN "myfield" TYPE VARCHAR(60);
Should be the following, without TYPE
ALTER TABLE "mytable" ALTER COLUMN "myfield" VARCHAR(60);
The code is here [1], but I do not know how to refer to the database engine
Best Regards
Jose
[1] https://github.com/emmett-framework/emmett/blob/46c765114ce5078b93361b218ef8197e461fad8f/emmett/orm/migrations/engine.py#L296

@josejachuf this would need a bit of refactoring of the migrations code in order to use dialects to construct queries. To be honest when I firstly designed it I ensured the code worked on sqlite and postgres.
I'm not sure I'll be able to include this in 2.3, let's see.

Thanks @gi0baro
For me it reaches with SQLite and PostgreSQL. All I have reported from MSSQL Server is so that it is registered that there is a bug. Everything is solvable doing it "by hand"


Lightberry + Philips Hue + Hyperion

Hello All,
I'm using Lightberry on Rpi1 with Openelec (custom build available on Lightberry site). I'm struggling to control one more device ( 3 Philips Hue +1 bloom on old round bridge) using hyperion. I have created a config2 file for Hue, reusing the Lightberry config
http://www.jsoneditoronline.org/?id=e76e860e66731b65b3c3ce8cce8f6a9e
Proto/json servers are successfully created for config2 but hyperion couldn't control any of the hue lamps.
So far all I can debug is here -
http://pastebin.com/0uSMrnbz
Can anyone help me in setting this up?

Mmh, color order has to be "rgb". Do you have the very latest version of the code from github?

Hi @ntim - agreed, but the lightberry config surprisingly creates this color order. I think I have the latest one only. Could you suggest me a way to reverify this?

Hello @ntim
Changed the config to rgb without any effect :-1:
Error seems -
hyperiond: /home/pi/fix_do_apa/hyperion/dependencies/build/jsoncpp/json_value.cpp:1136: Json::Value& Json::Value::resolveReference(const char*, bool): Assertion `type_ == nullValue || type_ == objectValue' failed.
Aborted

Ok, then follow the steps described https://github.com/tvdzwan/hyperion/issues/506 to produce a stack trace to see where the error is coming from.

You could also try my fork, it has a more precise output and more validity checks, will make a pull request as soon as I tested it extensively.

Thanks @ntim.
Some updates
I have changed the config file to following & named in config3.
http://www.jsoneditoronline.org/?id=e76e860e66731b65b3c3ce8cce8f6a9e
Its resolving & above errors are gone :+1: , but I find a new issue.
The setup runs lightberry strip or Philips Hue lamp flawless but when I try to start multiple hyperiond from command line, the Hue is static & throws following error.
http://pastebin.com/KrMtAPie
terminate called after throwing an instance of 'std::runtime_error'
what():  VIDIOC_REQBUFS error 16, Device or resource busy
Aborted
Whats the issue here?

Mmh, I am not familiar with the lightberry but I guess you are only allowed to have one concurrent connection to the device as it is for most serial devices.

Can I not use my video grabber (Easycap utv007) to create multiple hyperiond processes and thus  control multiple devices ( Lightberry strip & Philips Hue) as described here?
Lightberry is mere strip (Apa 102). My system is on OpenElec 6.0.0 / Rpi1.

no you cannot use the videograbber multiple times...you have to use the forwarder... :/

Good examples of forwarding here:
https://github.com/tvdzwan/hyperion/wiki/Network-and-distributed-features

Thanks @ntim @tpmodding & @penfold42.
I'm now using forwarder in following json ( removed grabber & added forwarder)
http://www.jsoneditoronline.org/?id=b1fd28c36609a2793fe0b0b6714df7da
This works fine i.e. config2 controls my hue [Light Id =4] &default config contols Lightberry/APA LED strip ONLY when I play a media on Kodi.
http://pastebin.com/WPxW1hCe
But Somehow the 2nd config is not reading from my external video grabber (Easycap utv007) & accordingly not controlling other HDMI sources. Any idea what I'm doing wrong?

could you pls post all configs (apart) on pastebin

@tpmodding Here is the original config for Lightberry setup.The external video grabber successfully renders light effects.
http://pastebin.com/6kU6W9d1
This is the config2 ( implementing forwarder etc) to control hue.
http://pastebin.com/WPxW1hCe

you kidding me? i need your config, not the output... you need 2 configs
first with your leds connected to your pi, usb grabber config, forwarder(where you SEND infos)
second with the device-type hue (where you RECEIVE infos)
ps: did you pay for lightberry? why they dont help you ;)

oops my mistake
Here is default config http://pastebin.com/6kU6W9d1
Config 2 here http://pastebin.com/DyeCbwBi

Implemented forwards. Could any one guide me why are these not working for external grabbers?
http://pastebin.com/1qtc6AWe
http://pastebin.com/b6wC0wj1
Works fine when I play a media on Kodi though..

did you found a solution?

Forward works but fails after some. Related issue (https://github.com/hyperion-project/hyperion/issues/578) & (https://github.com/hyperion-project/hyperion/issues/594)

3 issues hehe

Lets resolve this so that we have an updated hyperion forward wiki with all FAQs as well.

//cleanup

Hello,
I need some help.
I habe a raspberry Pi3/video grabbeler/ and the philips Hue lamps.
I folled the steps to send the video to the PI so mine lights will sync but i can't get the lights link with the PI.
anybody any idea because i get stuck and have no idea anymore

Can you post the config file please? Please run Hyperion through command
line. What error are you getting?
Max 2 Hue can be controlled and controlling hue requires adding a
'proto/json forward' code in the config files
On Sun, 25 Aug, 2019, 2:29 AM Portista1988<EMAIL_ADDRESS>wrote:

Hello,
I need some help.
I habe a raspberry Pi3/video grabbeler/ and the philips Hue lamps.
I folled the steps to send the video to the PI so mine lights will sync
but i can't get the lights link with the PI.
anybody any idea because i get stuck and have no idea anymore
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMD5TMI4JAYUGAQK6ELQGGOJTA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CHHUA#issuecomment-524579792,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMHXBOQPLBWNABTXJ2LQGGOJTANCNFSM4B6QDCFQ
.

Dear,
I first try to do it like paper said and look for the file.
But i get message that there is no file.
After i made one true what it says in the books with also mine info.
After it i try to start it and there is nothing.
See image downstairs.
Mine setup is with three light but if only with two works please let me know
I follewed every steps and both everything
I also can't get a screenshot or anything
I bought a Gembird Videograbber (that mine raspberry  finds when i play with lightberry on kodi)

hyperion.config.zip

Mate
Questions to you..

What's your light set up. Are you using Old Hue bridge (round) or
newer (Square)? Will Hyperion control 3 Hue bulbs only? Please go
through this
https://hyperion-project.org/wiki/PhilipsHue-Devicewriteup
Can you validate if Hyperion is installed in your Pi/ OpenElec? Refer
to the troubleshooting section here http://support.lightberry.eu/.
Start the Hyperion config from command line (Section 4.3). Do you see
any error?
2. Is your grabber up? Can Hyperion see that? If yes - try taking a
screenshot using command
3. Try without external grabber. Kodi has internal grabber. if you
comment out the external grabber in your config - are your Hues
responding?
Higher frequency / more lights will crash your set up at max. But it
will run for a while. So make the hues light up first.

Thanks
On Sun, 25 Aug 2019 at 12:38, Portista1988<EMAIL_ADDRESS>wrote:

Dear,
I first try to do it like paper said and look for the file.
But i get message that there is no file.
After i made one true what it says in the books with also mine info.
After it i try to start it and there is nothing.
See image downstairs.
Mine setup is with three light but if only with two works please let me
know
I follewed every steps and both everything
I also can't get a screenshot or anything
I bought a Gembird Videograbber (that mine raspberry finds when i play
with lightberry on kodi)
[image: Command 1]
https://user-images.githubusercontent.com/54452406/63646699-34788680-c717-11e9-8d2b-83978a3763c0.jpg
[image: Command 2]
https://user-images.githubusercontent.com/54452406/63646700-34788680-c717-11e9-98d3-980cddf351f9.jpg
hyperion.config.zip
https://github.com/hyperion-project/hyperion/files/3537910/hyperion.config.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMGHWNB2ZWVC6Y3OSN3QGIVYLA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CN4FA#issuecomment-524606996,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMEKA5MJYSP7SKZ425TQGIVYLANCNFSM4B6QDCFQ
.

Hello

i have the newer model. The link that you send i got error :(

2.1. See image this is what i get

2.2 This is what i get when i try to screenhot

I can't see nothing in the file after it
2.3 any help with this?
I try to set up lightberry if you mean but with that no response
Me i have the Hue Play Lamps
Was the file any good??
Hope to hear from you soon
thanx

Issues related to Lightberry - you must speak to Tomek or Jacek @
Lightberry. You have paid for that service.
I see your problem. Your set up has Lightberry + Hue. I want you to
understand this & try accordingly:

Controlling Lightberry & Hue requires Proto/Json forward. This means
your Hyperion (..with Lightberry & external grabber) must forward the color
codes to an external system (Philips Hue in your case) to be used by it.
You will need another config file ( for Philips Hue) on a 2nd Raspberry Pi.
I see Hyperion is installed properly. But Json port couldn't bind.
This may be due to the port being used. Try this trick. On your config file

change the proto (say 19446) & Json ( say 19447) file to something
different.

Get your Lightberry to work flawlessly first. And then the Hue
forwarder. Lightberry has a Kodi config plugin. Have you used that?
On grabber - I'm not sure if your grabber can be seen on Pi. Try
putting it on a powered USB hub connected to Raspberry Pi. Or the best, if
it is provided by Lightberry team, get in touch with them for a resolution.

Cheers
On Sun, 25 Aug 2019 at 13:34, Portista1988<EMAIL_ADDRESS>wrote:

Hello

i have the newer model. The link that you send i got error :(

2.1. See image this is what i get
[image: Test]
https://user-images.githubusercontent.com/54452406/63647308-4c540880-c71f-11e9-967c-d9f5f350e192.jpg
2.2 This is what i get when i try to screenhot
[image: Test Videograbber]
https://user-images.githubusercontent.com/54452406/63647307-4c540880-c71f-11e9-9e2e-8fe62f3dc485.jpg
I can't see nothing in the file after it
2.3 any help with this?
I try to set up lightberry if you mean but with that no response
Me i have the Hue Play Lamps
Was the file any good??
Hope to hear from you soon
thanx
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMA2IQLUZJSR6XI66N3QGI4INA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5COUDQ#issuecomment-524610062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMGYHDFSWINQCVQ5EPTQGI4INANCNFSM4B6QDCFQ
.

The point is i have NO lightberry.
When i installed Openelec on mine raspberry i got the addon Lightberry
I tought was something i need to have so i tried to install that.
The only thing i have is the Hue Lamps

Ok, I get you now.
Go ahead with creating a config file using Hyperion Config creator. Your
Hue bridge must be discoverable everytime. So give it a static Id to begin
with.
Let's make it work for Kodi to begin with. You can ignore/comment out the
external grabber codes etc in your Hyperion config file. This should be
easy.
Once we succeed here, will attempt to add external grabber.
If you run across proto/json error, try killing Hyperion from command line
& wait for a while. Or otherwise, try changing the ports in your Hyperion
config.
On Sun, 25 Aug, 2019, 2:11 PM Portista1988<EMAIL_ADDRESS>wrote:

The point is i have NO lightberry.
When i installed Openelec on mine raspberry i got the addon Lightberry
I tought was something i need to have so i tried to install that.
The only thing i have is the Hue Lamps
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMG62F27BXJBTYSVOYDQGJASJA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CPFSQ#issuecomment-524612298,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMCYKJHXSUISZR2FTJLQGJASJANCNFSM4B6QDCFQ
.

I'm almost certain you have created wrong config. Please use Hyperion
config creator. The light types must be Philips Hue.
UART etc is not applicable for Hue.
On Sun, 25 Aug, 2019, 3:07 PM Apurba Sen<EMAIL_ADDRESS>wrote:

Ok, I get you now.
Go ahead with creating a config file using Hyperion Config creator. Your
Hue bridge must be discoverable everytime. So give it a static Id to begin
with.
Let's make it work for Kodi to begin with. You can ignore/comment out the
external grabber codes etc in your Hyperion config file. This should be
easy.
Once we succeed here, will attempt to add external grabber.
If you run across proto/json error, try killing Hyperion from command line
& wait for a while. Or otherwise, try changing the ports in your Hyperion
config.
On Sun, 25 Aug, 2019, 2:11 PM Portista1988<EMAIL_ADDRESS>wrote:

The point is i have NO lightberry.
When i installed Openelec on mine raspberry i got the addon Lightberry
I tought was something i need to have so i tried to install that.
The only thing i have is the Hue Lamps
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMG62F27BXJBTYSVOYDQGJASJA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CPFSQ#issuecomment-524612298,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMCYKJHXSUISZR2FTJLQGJASJANCNFSM4B6QDCFQ
.

Yeah i finally got the Hyperion config Creator.
Now i have to adjust all

Cheers mate!
On Sun, 25 Aug, 2019, 3:23 PM Portista1988<EMAIL_ADDRESS>wrote:

Yeah i finally got the Hyperion config Creator.
Now i have to adjust all
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMDJP5CEY2EQIFG3ZKTQGJJA5A5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CQG2A#issuecomment-524616552,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMFZ4276PSDZUHANM43QGJJA5ANCNFSM4B6QDCFQ
.

I did everything but i see no results :(
I tried again to make a screenshot of the grabber and see now this:

Is already something more but i still have no idea

Comment the v4l2 session in you config out.

?

Your config has external grabber code. Comment that out.
Make it work for Kodi first. ..
On Sun, 25 Aug, 2019, 3:41 PM Portista1988<EMAIL_ADDRESS>wrote:

?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMFNDRKIX5OMH3QQMDTQGJLENA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CQPGI#issuecomment-524617625,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMGGU3ICG24X4OJ5MKTQGJLENANCNFSM4B6QDCFQ
.

Lines begining with // are comments

please use the forum for support...
https://hyperion-project.org/
!

Something like this?
Without grabber??
hyperion.config.zip

yes

then i have still no succes
I put it on mine raspberry with the program WINSCP
I reboot after it and still mine lights are not changing at al
i still have the 3 lights on the way how i let it

Config looks structurally OK.
Comment Out line 175 to 193 (external grabber section).  And run this
config file through command line as described earlier. Please post your
outcome then.
Is your Pi connected to TV via HDMI? with this setup - the Hue lights must
change with Kodi screen contents
All the best.
On Sun, 25 Aug 2019 at 16:34, Portista1988<EMAIL_ADDRESS>wrote:

then i have still no succes
I put it on mine raspberry with the program WINSCP
I reboot after it and still mine lights are not changing at al
i still have the 3 lights on the way how i let it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMDAVWG7NPEHPJ75RBDQGJRMTA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CRJKI#issuecomment-524620969,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UME6HSEXLEJQB2MXV5TQGJRMTANCNFSM4B6QDCFQ
.

Sorry what do you mean?
Should i put the info again for the external?
Or now without the external grabber test the screenshot.
Sorry for a these questions i just want to fix it

by the way.
raspberry is connect to hdmi and aslo the grabber is still on it
so mine background should change to blue when the berry goes on

No, let's fix it for Kodi/XBMC first.
Kodi has internal grabber. It should render your Hues.
On Sun, 25 Aug, 2019, 5:22 PM Portista1988<EMAIL_ADDRESS>wrote:

Sorry what do you mean?
Should i put the info again for the external?
Or now without the external grabber test the screenshot.
Sorry for a these questions i just want to fix it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMDAB4YOTZ5GS3MUQBTQGJXABA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CSAPI#issuecomment-524623933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMFXXA3NM7CDR2MGSSLQGJXABANCNFSM4B6QDCFQ
.

Absolutely my friend. Btw remove the USB grabber.
On Sun, 25 Aug, 2019, 5:34 PM Portista1988<EMAIL_ADDRESS>wrote:

by the way.
raspberry is connect to hdmi and aslo the grabber is still on it
so mine background should change to blue when the berry goes on
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UME4RSJBTSPL5TC4GETQGJYNLA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CSGMY#issuecomment-524624691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMCSQA3DTPNHAFOYVTLQGJYNLANCNFSM4B6QDCFQ
.

Oke i removed the Grabber now what?
I already placed the new file on the Pi and reboot it
I try the command ./autostart.sh but it will not accept it

Ok, you need to learn the commands a bit for openelec. Run the following 2
Do you see rainbow swirl? Also what's the output you see on your Putty
window?
killall hyperiond
/storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.js
On Sun, 25 Aug, 2019, 5:42 PM Portista1988<EMAIL_ADDRESS>wrote:

Oke i removed the Grabber now what?
I already placed the new file on the Pi and reboot it
I try the command ./autostart.sh but it will not accept it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperion-project/hyperion/issues/556?email_source=notifications&email_token=AD62UMG4XPHN7FGIET7WNH3QGJZMRA5CNFSM4B6QDCF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CSK2I#issuecomment-524625257,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD62UMFVBWDD6XH3COTZYJLQGJZMRANCNFSM4B6QDCFQ
.

Dear sorry for mine late response.
Just got back
this is mine result after this 2 commands

no i don't see any rainbow.
it is still the same 3 colors i adjust it when i turn it on
do i have to turn the light of first before starting the pi or should the be on??

hyperion.config.json NOT hyperion.config.js

Oke this is what i get

@Portista1988
I will lock this thread because THIS PLACE IS NOT THE FORUM.
As @tpmodding  already mentioned. Please open under https://hyperion-project.org/ a new thread. There we can talk as long as we want.
THANK YOU.


Dask scheduler version with custom Docker image

Hello,
I am attempting to run a modified version of the land cover classification tutorial, where I'd like to load my own segmentation_models_pytorch model that was trained on Sentinel-2 imagery. We have some custom functions we need from our own pip package, and we are using the latest segmentation_models_pytorch built from source. Thus, I have built my own Docker image based on the pangeo-docker-images/pangeo-notebook image (tag 2021.05.04), which uses both dask==2021.04.1 and distributed==2021.04.1.  I have verified those versions are correct within a container.
I point the cluster to this image using options['image'] = 'drollend/apl-gpu-pytorch-notebook:latest', but I receive the distributed client VersionMismatchWarning:
+-------------+-----------+-----------+-----------+
| Package     | client    | scheduler | workers   |
+-------------+-----------+-----------+-----------+
| dask        | 2021.04.1 | 2021.05.0 | 2021.04.1 |
| distributed | 2021.04.1 | 2021.05.0 | 2021.04.1 |
+-------------+-----------+-----------+-----------+

I am unsure of where the scheduler lives and why it is a different version.  Any pointers you can provide on fixing the scheduler version are much appreciated.  Thanks in advance and thanks for creating the Planetary Computer!

Thanks for the quick response. Here is the output of those two lines after waiting for the two workers to spin up:
client.run(lambda: dask.__version__)

{'tls://<IP_ADDRESS>:32933': '2021.04.1',  'tls://<IP_ADDRESS>:35205': '2021.04.1'}
client.run_on_scheduler(lambda: dask.__version__)

'2021.05.0'

Can you share a full example creating a client and connecting to it? Here's mine with my singleuser pod running on https://pccompute.westeurope.cloudapp.azure.com/ and using pangeo/base-notebook:2021.05.04 for the image option.
from dask_gateway import Gateway

gateway = Gateway()
options = gateway.cluster_options()

options['image'] = "pangeo/base-notebook:2021.05.04"
cluster = gateway.new_cluster(options)
client = cluster.get_client()

That prints out the warning.
/srv/conda/envs/notebook/lib/python3.8/site-packages/distributed/client.py:1140: VersionMismatchWarning: Mismatched versions found

+-------------+-----------+-----------+---------+
| Package     | client    | scheduler | workers |
+-------------+-----------+-----------+---------+
| blosc       | 1.10.2    | None      | None    |
| dask        | 2021.04.1 | 2021.05.0 | None    |
| distributed | 2021.04.1 | 2021.05.0 | None    |
| lz4         | 3.1.3     | None      | None    |
+-------------+-----------+-----------+---------+
  warnings.warn(version_module.VersionMismatchWarning(msg[0]["warning"]))

A few notes:

It's sometimes OK to ignore those warnings. Dask does allow some flexibility between versions installed locally and on the schedulers & workers. That said, recent changes in dask and distributed have been tightly coupled, so you may need exact pinning at this date.
The version of Dask on the singleuser node (where the client is running) is somewhat difficult for you to control right now. You may be better off running your client locally (on your laptop / desktop) and connecting to our Dask Gateway from outside of the hub: https://planetarycomputer.microsoft.com/docs/concepts/computing/#use-our-dask-gateway. It's not show there, but you can use your custom docker image locally, to ensure the versions match.

When I try to follow the #use-our-dask-gateway example, I can't seem to get past cluster.get_client() due to the error below. I don't see any standard way to increase the timeout, nor am I sure if that's the problem. Have you encountered this error before?
OSError: Timed out trying to connect to gateway://pccompute-dask.westeurope.cloudapp.azure.com/prod.a394972afe8f40caab667edec204026e after 10 s```

Monitoring gateway.list_clusters() from a notebook in the hub, it looks like the cluster starts up, but then our local client can't connect. Same thing happened on a DMZ machine. Maybe there's a firewall/networking issue on the hub side?
ClusterReport<name=prod.b7329799b6d24592b43013be468cdf11, status=RUNNING>

OSError: Timed out trying to connect to gateway://pccompute-dask.westeurope.cloudapp.azure.com:443/prod.b7329799b6d24592b43013be468cdf11 after 10 s

Huh, thanks for sharing that. I'll take a look at what's going on.

Apologies for the delay on this. I just got around to debugging stuff, and I think it's as simple as needing to include the port 80 in the proxy address. So the connection would be
>>> gateway = Gateway(
...     "https://pccompute.westeurope.cloudapp.azure.com/compute/services/dask-gateway/",
...     proxy_address="gateway://pccompute-dask.westeurope.cloudapp.azure.com:80",
...     auth=jupyterhub_auth,
... )

rather than
>>> gateway = Gateway(
...     "https://pccompute.westeurope.cloudapp.azure.com/compute/services/dask-gateway/",
...     proxy_address="gateway://pccompute-dask.westeurope.cloudapp.azure.com",
...     auth=jupyterhub_auth,
... )

I'll get https://planetarycomputer.microsoft.com/docs/concepts/computing/#use-our-dask-gateway updated.


Total balance on test account does not add up

Was able to see the big transaction in the test balance and then made sent test txns to checking account. Now when i logged in after an hour the balance on test account does not add up as what came in and what went out

You can also see the 452 fee with no amount txns which was sent as 2.5 being sats/byte fee

https://files.slack.com/files-pri/TEBLGFFFH-F01MCRH2ZJ9/file.jpg

hard refresh did not help. After hard refresh the order of transactions in the view more transactions went for a toss

Have tried this out a bunch of times, however, wasn't able to really replicate it. Tho the transfer to self bug is known and we have a separate issue to address that.

-I saw this issue on iphone 7.But it appears very rare.
-The transaction that was visible disappears after some time and it shows the wrong balance.

-Unable to reproduce this issue on dev app v1.8.0(304)


[freetype] Fix build failure when VCPKG_BUILD_TYPE is set to "release"

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: past-due sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Merge ChatAgentTask and ChatAgentProgressMessage

https://github.com/microsoft/vscode/issues/200575 inspired me to consider whether we need two different message types here.
Currently the ProgressMessage is rendered at the top of the response and disappears when some content shows up.
The Task shows a placeholder with a spinner, which is then replaced by whatever its Promise resolves to. In theory, the Task could show a placeholder while more content is streaming in after it, and we have implemented it this way, but I don't think we use that ability and I question whether we actually need it? @joyceerhl what do you think?
If not, then these two messages could probably be merged. The new logic of ChatAgentProgressMessage could be to show the progress message with a spinner inline after any other content that has been received, and when more content is received after the progress message, the progress message disappears. That would keep the same behavior for @workspace progress messages and also could implement what @workspace /new gets from ChatAgentTask right now, with simpler implementation in vscode.
cc https://github.com/microsoft/vscode/issues/199908

Yeah, I don't think we need that ability, and I was planning to adopt the new progress API anyway :)


added ruby 2.3 to travis w/ other small changes.

If this project is still actively maintained, I added the latest ruby to the matrix build.
also:

updated rubocop and applied styling
made small test refactorings (using the expect block notation)
made a small refactor to remove an unnecessary return credentials
bumped the version

on a tangent Ruby 1.9.3 is now deprecated: https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/ should that still be part of the build matrix?

Hi @shicholas, thanks for this contribution!
The project is actively maintained.  I think I need to check with a few other people before removing 1.9.3 from the build matrix, so it probably won't be part of this change.


WIP - Fix enum_value

This PR will fix an issue that doesn't allow you from using Enums that use enum_value for defining their value. The issue comes from Enum(...) trying to find the enum value using it's value, but when using strawberry.enum_value the value is the enum value definition.
We can fix this by changing the value or by adding an __eq__ method, not sure which one is better.
The PR has only the tests :)

I think there is a better solution: a subclass of an enum and using meta keyword arguments. Also with adapter function
would look like:
class Foo(strawberry.Enum, description="foo")

and for existing enum (metadata like description is added via function)
strawberry.Enum.adapt(enum, metadata_fn=foo)

my solution would also wipe the EnumValueDefinition

my idea is not working: creating a custom Enum requires much work as Enum subclassing is highly restricted

I will upload a draft

the limitation has been lifted and it seems that only some small issues remain
anyway: to remove the EnumValueDefinition you can define a an enum subclass by enum_value. this will be directly used.
Is there interest in my solution? Shall I continue working on it?

@devkral I'm really sorry I haven't answered you earlier!
I think I found an easier solution in #2306, let me know what you think


Social sharing js shareViaFacebook not working in window phone

I have used SocialSharing.js plugin for share link in my phonegap app(Window Phone). Some function working and some not. I cannot share link direct on facebook. Example are below:-
Working:-
<button onclick="window.plugins.socialsharing.share(null, null, null, 'http://www.x-services.nl')">link only</button>
Not working:-
<button onclick="window.plugins.socialsharing.shareViaFacebook('Message via Facebook', null /* img */, null /* url */, function() {console.log('share ok')}, function(errormsg){alert(errormsg)})">Direct Fb link</button>
//when click on 'Direct Fb lin' button, it show error message i.e, Invalid action.

Correct, see this: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#4b-usage-on-windows-phone


Did not get all the output expected

Hello,
I tried to run the prediction, the job is completed, but I only got 4 output files, no final predicted structures. I don't see any error output. Someone else used the same code but a different sequence gets all the outputs, is the sequence length causing the problem? How can I fix it?
Thank you very much!
I only have the listed files or directory in the output directory.
features.pkl
msas
ranking_debug.json
timings.json

same here too

same here too

same here too

same here too

Hi did you solve the problem?

my last line for the error says:
/app/run_alphafold.sh` line 3: 8 killed python /app/alphafold/run_alphafold.py "$@"

What about yours?

Hi, does this happen on all input sequences? Could you also share the last part of the logs before the process quits?

Closing this issue for now, feel free to reopen if this is still a problem.


Fix typos in pubsub-scopes howto

Description
Some additional typos fixed.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #448

/cc @msfussell


Move map-view build to Dockerfile

Including the map-view build in entry point slows down the dev server startup quite a bit.
Refs: LIIK-180

Codecov Report

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

@@           Coverage Diff           @@
##           master     #138   +/-   ##
=======================================
  Coverage   97.94%   97.94%
=======================================
  Files         109      109
  Lines        6752     6752
  Branches      267      267
=======================================
  Hits         6613     6613
  Misses        115      115
  Partials       24       24

Continue to review full report at Codecov.

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

@mhieta Yeah, the map-view build process should probably belong to different folder as we only need the build artifacts for django app.
IMO the development layer is quite useful for development as it can print debug info if there's anything goes wrong. So I'd say let's keep it.


RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Getting this error when trying to generate an image. Added all 3 checkpoints already. I also added "map_location=torch.device('cpu') to the pixelization_model.py file after doing some googles but same error

Someone actually provided a fix for this already
https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization/issues/14#issuecomment-1518890600


Domain redirection runbook

Background

Redirecting domains can sometimes be a complicated process . There are also lots of options depending on the scenario.
We should have a runbook that covers the options
Acceptance Criteria

[ ] Runbook created

Reference
How to write good user stories

Done


put CodeFenceProvider before SetextHeaderProvider

Code fragments like:
```
---

could be processed by both CodeFence and SetextHeader providers.
But according to the common sense and markdown-it parser it should be
parsed as CodeFence. A real world example is
 ```yaml
 ---
 # A list of tasty fruits
 - Apple
 - Orange
 - Strawberry
 - Mango
 ---
 # A list of tasty fruits
 - Apple
 - Orange
 - Strawberry
 - Mango
 ```

If it's parsed as SetextHeader, the rest of a markdown document will
be broken.
IDEA-218203

the reference implementation of a  markdown parser works in such a way as well: https://spec.commonmark.org/dingus/?text=```yaml
---
```

Merged, thanks!


[Enhancement] Option to build with SDL_Mixer_X

This was added in commit ac03378. Just enter HAVE_MIXERX=1 when prompted to enter compilation flags to get downloaded, compiled and installed SDL_MIXER_X.


[envoy] Remove max limit for endpoint/locality weight

Description: Remove max limit for load_balancing_weight in LbEndpoint and LocalityLbEndpoints.
Risk Level: Low
Testing: Updated existing tests
Docs Changes: Updated in-place documentation in protobuf definitions.
Release Notes: Updated
Fixes #7425

I think this is fine, but will defer to @htuch @mergeconflict to confirm since they have worked the most on the weighted LB code.

Just catching up on this. I think this is fine, but one cautionary note is that there is a fundamental tension between granularity/range and memory for table driven schedulers. In a fixed table such as Maglev, or a potential schedule driven WRR in the future, at some point it becomes meaningless to have super fine grained weighting. The alternative is you pay a memory penalty.


1.2.2 seems to use significantly consume more memory than 1.2.0

A max memory limit of 128MB was enough to run 1.2.0, but 1.2.2 gets OOM killed when the same memory limits are applied.

I had to configure 1GB to avoid an OOM kill

Essentially a duplicate of #242


implement viennacl based linalg::mean

it's missing as an implementation hence when using viennacl backend we'll fail:
http://buildbot.shogun-toolbox.org/builders/trusty - libshogun - viennacl/builds/724/steps/compile/logs/stdio

obsolete


update docs

@mohandast52 I added in the agent metadata. The other change you can see above is a change to the data format on IPFS to make the request more intuitive as it takes a list of strings (tools) etc..Wherever data is being is stored to IPFS for the requests from the front-end should be changed to reflect "tools" instead of "tool" as is currently is implemented in main.


chore: 6.10.2 dev prep + cleanup

The type of this PR is: chore
Description

Updates version number
Removes some docs mentioning updating changelog
Updates fastlane + sentry plugin
Renames old changelog and adds a comment pointing to new process

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Prepare for 6.10.2 development

Fails

:no_entry_sign:

The CHANGELOG is not valid YML:
Error: ENOENT: no such file or directory, open 'CHANGELOG.yml'
at Object.openSync (fs.js:474:3)
at Object.readFileSync (fs.js:375:35)
at dangerfile.ts:126:33
at Generator.next ()
at dangerfile.ts:27:71
at new Promise ()
at __awaiter (dangerfile.ts:23:12)
at validateChangelogYMLFile (dangerfile.ts:123:40)
at dangerfile.ts:185:15
at Generator.next ()

This PR contains the following changes:

Dev changes (Prepare for 6.10.2 development)

  Generated by :no_entry_sign: dangerJS against ed0733dbd9b2c871b4b84f0cf52a91f823e9a073

Could you also remove "yaml" from package.json? Seems like that file was the only use.


How you generate the feature map in Fig.6?

Thanks for sharing your work! I wonder how you generate the visualization of feature maps in Fig.6 in the paper. Could you please give some detailed explanation of it (about which layer you used, how you combine the features and so on) or would you release relevant code?

Hello, thanks for your interest in our work. We reshape the output patch tokens of the ViT backbone (you can also use the attention value of the last Transformer block) as WHC-dim feature map, then compute the mean in the channel dimension of the feature map and display it using the heat map. Note that Figure 6 in the paper is the result of the model only using our MulConvAdapter (without cross-image encoder).

Thanks! I got it.

Hi, can you explain why taking the mean of channel dimension (e.g 768 dim) of the output from transformer will give us attention map? Am I missing something here?
Also, can you share the code you used for the visualization?
Thanks


v8.0 error lazy module

Hi!
After upgrading to version 8, if a lazy module is accessed, the following error appears.
Google Chrome Versión 68.0.3440.75 (Build oficial) (64 bits)

You should add TreeModule.forRoot() to the AppModule

Closing this issue due to inactivity. Please open a new issue if the problem still exists.


SlfLoggingSpanCollector logs at TRACE level instead of INFO, fixes #225

fyi @schlosna

Rob, I'm OK with this once builds pass. Out of curiosity, what's the main motivation behind this? Is it just so that this isn't logged by default with dropwizard default INFO level?

exactly.
On Thu, Sep 8, 2016 at 3:43 PM David Schlosnagle<EMAIL_ADDRESS>wrote:

Rob, I'm OK with this once builds pass. Out of curiosity, what's the main
motivation behind this? Is it just so that this isn't logged by default
with dropwizard default INFO level?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/palantir/http-remoting/pull/227#issuecomment-245764782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGOdwYfF-Q3sCynpf2Nqm_6lSxyH1-Kvks5qoI-FgaJpZM4J4gYs
.


For remote request  write response body before request body. Relevant for Netty

Description
If use spring webflux with netty then request body will be written together with response. Like:
{
"timestamp": "2021-06-17T17:41:15.122+02:00",
"level": "TRACE",
"thread": "reactor-http-nio-2",
"context": "default",
"message": "{"origin":"remote","type":"request","correlation":"afcc716b4a81cc2d","protocol":"HTTP/1.1","remote":"/0:0:0:0:0:0:0:1:63141","method":"POST","uri":"http://localhost:8080/sample\",\"Content-Type\":[\"application/json\"],\"Host\":[\"localhost:8080\"]},\"body\":Some response body{\r\n    "RequestBody" : "RequestBodyValue"\r\n}}",
"source": "org.zalando.logbook.Logbook",
"application_name": "demo"
}
In log message above   "body":Some response body{\r\n    "RequestBody" : "RequestBodyValue"\r\n}}"
Expected Behavior
Should log only request body
"body":{\r\n    "RequestBody" : "RequestBodyValue"\r\n}}"
Actual Behavior
Body contains response then request.
Possible Fix
Remove line
org/zalando/logbook-netty/2.10.0/logbook-netty-2.10.0-sources.jar!/org/zalando/logbook/netty/LogbookServerHandler.java:69
Steps to Reproduce

Add logbook to Spring webflux application
Create test controller:

@RestController
public class ControllerForTest {

    @RequestMapping(value = "/sample",
            method = RequestMethod.POST)
    public Mono<String> test() {
        return Mono.fromCallable(() -> "Some response body");
    }
}

Call controller

Context

Your Environment

Version used:
Link to your project:

That's so weird!
Are you able to reproduce that in an isolated unit test?

That's so weird!
Are you able to reproduce that in an isolated unit test?

Below simple project to illustrate. Inside logs after test bug will present
demo.zip

@straestrae current workaround is to add dummy @RequestBody inside your controller

Well, I've investigated a bit on this bug.
I just don't get one thing - why LogbookServerHandler in the write stage does buffer both for request and response?
This causes request/response concatenation in this scenario.
When I removed request buffering in the write stage, this bug disappeared at all and all tests have passed.
So I've provided a possible fix for this bug via pull request.
Please let me know if I am wrong somewhere.


quiche: client re-connect upon INVALID_VERSION

A quic client session does version negotiation with server at the very beginning of the connection. But the connection doesn't re-try connect if server doesn't support the version this client session is created with, instead, it close the connection with INVALID_VERSION error and retain the advertised version list sent back by server. QuicSpdyClientSession::CryptoConnect() fails in such case. Its owner should pick a mutually supported version and try to connect thru another quic session.
In Envoy, connection creation is outside of client codec creation during with crypto handshake is done. This align with the logic described above. But currently, there is no retry upon the failure in integration test framework or any other production or toy client.
We need to add such re-try to support quic client connection failure upon INVALID_VERSION.

cc @goaway we will need to implement this.

/assign @nezdolik

This is something we'll need for quic-upstream, but no changes needed for quic-downstream support right?

This is only client side feature, so not need for server downstream support.


feat!: remove duplicate schemas

Description
Even though we enabled the reusability of schemas in https://github.com/asyncapi/spec-json-schemas/issues/364, the documents were never adapted, leaving a lot of unnecessary documents. This removes those and uses the common definitions.
This means there will no longer be anything called http://asyncapi.com/definitions/x.x.x/avroSchema_v1.json or http://asyncapi.com/definitions/x.x.x/openapiSchema_3_0.json but only http://asyncapi.com/common/avroSchema_v1.json and http://asyncapi.com/common/openapiSchema_3_0.json
Related issue(s)
Should have been fixed as part of https://github.com/asyncapi/spec-json-schemas/issues/364

I see the bundler has some custom code for common, have to redefine that.

Think we have to move this over to a next release branch

@dalelane @lbroudoux because of the Kafka binding change Github need one of you to take a look when you can 🤙

@jonaslagoni Not a good deal to have the need of serving those common schemas under the path common on the root of http://asyncapi.com. Not only because the need of adding an extra redirection but also because it is requiring a new path /common that is not so intuitive in terms of naming (what is common in relation to the AsyncAPI website?).
WDYT about http://asyncapi.com/schemas/common? This will require a move of the common dir under schemas directory.

Schemas hold the bundled versions, and think we should keep it clean like that 🤔
What about under definitions?

What about under definitions?

Fine with it.

@jonaslagoni @smoya maybe repeat structure from jasyncapi?
Current tests, which I'm writing now, in other branch, were grouped by next logic

models/[v2|v3]
schemas/[openapi|asyncapi|avro|json]
/schemas/asyncapi/security schemas/[v2|v3]/{security implementation}

They could be unified for all versions, but in v3 version one property was renamed for OAuth2 flow 😣

@jonaslagoni @smoya maybe repeat structure from jasyncapi?
Current tests, which I'm writing now, in other branch, were grouped by next logic
* models/[v2|v3]

* schemas/[openapi|asyncapi|avro|json]

* /schemas/asyncapi/security schemas/[v2|v3]/{security implementation}

They could be unified for all versions, but in v3 version one property was renamed for OAuth2 flow 😣

@Pakisan mind opening an issue for it? 🙂 It will for sure be lost in this PR 😅


[SDK Automation] azure-sdk-for-net-track2 generate script build error

After run azure-sdk-for-net-track2 Generate Script in sdk-automation.
It missing file path relatedTypeSpecProjectFolder or readmeMd and version when input file is relatedTypeSpecProjectFolder or relatedReadmeMdFiles. The pipeline result you can see 1 2
The correct response refer to this

@chunyu3
either typespecProject or readmeMd and version need to be added to the output of .NET generation script.


Regarding storing 100 bytes of data in Slb9670 (Tpm -2.0) in nv memory

Hello,
actually main problem is we interfaced slb 9670(tpm-2.0) with 16 bit msp430 controller which does not support linux kernel or any OS.
now our task is to store a 100 byes of data in NV memory, without any authorisation technique, as simple as possible.
please guide me in that way.
slb 9670 is interfaced with msp430 controller through SPI protocol. I able to read device id , version id of slb9670 , so spi communication is working fine with our controller .
what is packet format to be send with our data , i am not able to find in TCG documents .
theoretically iam able to understand we have to do nvdefinespace , nvwrite ,nvread .. internaly what is the format i have to be send not able to understand
can you please guide me , or share any code snippet .
sorry if i trouble you or any irrelevant questions.
Regards,
Manoj
+91-9063249308

Hi Manoj,
I'm very sorry I never responded to this issue.
If you're still working on this and still stuck, I think this document is what you're looking for, the specification for the TPM interface over SPI.
-Zane

closing


Page is refreshed by calling history.go(), while history.back() isn't

We have iframe based micro-frontends. There is a need of changing the state of the inside app from outside one without full-reloading of the inside one.
There is <BrowserRouter /> which uses Native History API.
I have tested the behavior on single app without any iframes.
When I click anchors in the app, React router doesn't refresh the whole app, and replaces parts of the app. In my case -- it's pagination.
I can call window.history.back() and it  will not trigger page refresh.
The same, I can do window.history.go(-1) and it will not trigger page referesh.
Then I decided what if I make window.history.pushState(null, null, 'page/2') and call window.history.go() -- page will be refreshed from scratch.
I can solve my task by replacing BrowserRouter by Router and exposing history object to window.ReactRouterHistory, but I think it's too much, when I can do window.history.back() without a page refresh.
Is it a bug? Why the page is fully refreshed by go(), but isn't when go(-1)?
Is there a proper way to do this?
Thank you!

Can you clarify what exactly you're doing?
If you invoke window.history.go()  without any parameters, that will cause a page refresh, same as window.history.go(0). That behavior is part of specifications, as described here: https://developer.mozilla.org/en-US/docs/Web/API/History/go
window.history.back() is essentially just an alias for window.history.go(-1). In the history library, it's .goBack and also just an alias.
I'm also not sure why you call go without a parameter. If you want to go back, then you have to call go(-1).

@StringEpsilon Thank you for the answer!
My goal is to trigger a new route in the child iframe react app without page refresh.
When I click on links inside this iframe, React router works as expected: page isn't refreshed, RR just replaces parts of react tree.
But when I try smth like iframeTag.contentWindow.location.href = 'new location' the iframe page is going to full refresh.
I thought this is how iframe works itself. Then I decided to access history object.
I did some clicks in the iframe app (RR did its thing). And then I did iframeTag.contentWindow.history.back() -- it worked! No full-page refresh, React Router did its thing: it changed only part of react tree.
Cool! I thought. I can trigger the iframe history from the parent window.
But my initial goal was not about back and forward. It was about setting a specific route for the child app.
So, how I can do that?
Imagine, I'm on the following url page/1. I tried to use iframe.contentWindow.history.pushState(null, null, 'page/2') but nothing happens: I'm still on page/1. (There is an issue that RR can't listen to pushState changes). So, I had to call iframe.contentWindow.history.go() (or go(0) to trigger it). Then page makes a full refresh to a page/2. So, basically the same stuff as location.href = 'page/2'.
I also tried this stuff without any iframes, to simplify the task: window.history.back() doesnt' trigger a full refresh, while window.history.go() or window.history.go(0) does.
So, there is my question, how to do this? How to change a route in an iframed app?
Thank you!

History version 5 has support for custom window objects to enable easier use of iframes (see #624 ). I'm afraid you just have to wait for react-router version 6 to come out or risk the beta.
Also, I think you should probably seek advice on stackoverflow and or reactiflux on this. https://www.reactiflux.com/ This is clearly a support question and not a feature request.

@StringEpsilon Thank you for sharing the 624, but it's not the case. The 624 PR is about desyncronization of history objects and about the ability to set such behavior.
Well, I believe it is a bug or at least a feature request. I was asking for an advise only after discovering an issue that works not as expected.
I will try to explain why I think this is a bug/feature request.
The whole thing is not about iframes. It's just when such behavior is crucial instead of optional.

React Router in BrowserRouter component uses a history library, which is connected to native History API
I expect I can access the history object via window.history and do some manipulation with it.
I expect I can use window.history.back() and window.history.forward() to trigger React Router. And it works. RR replaces parts of the tree
The same way I expect that I can set a specific route via window.history. There is a pushState method which can set url.
I expect I can set new URL by calling window.history.pushState(null, null, 'the new URL') that should be accepted by React Router to trigger the route. But nothing happens.

Unfortunately, while delta in go([delta]) equals to 0, according History API is the same as location.reload() which causes full refresh. Therefore it could not be overrided by React Router.
From the other hand, if React Router works correctly when I call history.back() or history.go(<N>), I expect to set a specific route that will not cause the full refresh.
I think, that this is a bug or missing functionality.

Unfortunatly, there is no API to get notified about window.history.pushState() and window.history.replaceState(), as the browser will only fire onpopstate when the user navigates.
This library would need to monkeypatch the two functions to add in events or a callback.

It sounds like you want this library to be something it's not. This library isn't meant to replace the browser's built-in history API. It's just a thin layer the router uses to communicate with the browser. But users are still free to call the browser's built-in methods however they wish.


[Feature] Support permission checks

I find myself repeating some sort of permission check against the authenticated user. It would be nice if Ninja supported permission checks. Would something like this be welcome?
@router.get(
    url_name="resorce-get",
    path="/{user}/resource",
    response=ResourceSchema,
    auth=[auth1(), auth2(), ....].
    permissions=[perm1(), perm2(), ...]  # <- This
)
@paginate
def list_resources(
    request: HttpRequest,
    user: str,
    **kwargs
):
....

I don't understand. Are you sure you've opened the issue on the correct repository?

Apparently not 🤦🏼 . I apologize. Closing


[SPEC] v2.1 blink input types

TLDR
Add new input types within blink clients to improve the user experience and unlock new use cases for Action builders.
Rationale
The current Solana Actions and blinks specification only supports a single, generic input type of a non-structured text box. While this basic input is useful, having more explicit and declarative input types would allow Action builders and blink clients to unlock new use cases and improve the user experience of using blinks across the internet.
SRFC
See SRFC #29 - https://forum.solana.com/t/srfc-29-input-types-of-blinks-and-actions/1804
The next tag has been published with this PR at version 2.1.0-beta
npm install<EMAIL_ADDRESS>

lgtm @nickfrosty


Retrieving proxy address from network .openzeppelin files

prepareUpgrades() requires the proxy address as an input. It would be helpful if this could be retrieved from the network files. Is there a way to do this or is one supposed to manually input a string, and change that string whenever the upgrade concerns a different network? Thanks

There currently isn't a way to retrieve deployed proxy contracts - see https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/449
You would need to manually input a string, or (if you have a contract instance in your code for the previously deployed proxy) you can pass in the contract instance instead of an address string.

I see thanks for pointing to the discussion.


cannot drag elements in Cordova iOS app

Items are not draggable at all! When trying to drag the element nothing happens. Also long pressing doesn't help.
But the problem ONLY exists in the final deployed / distributed version that is published via TestFlight / AppStore.
Here's our setup:
Meteor + Blaze + Cordova
We build for iOS and Android.
We have four stages in which we tested Sortable. For Android everything works just fine in all those stages. For iOS only the final stage fails:

Local in desktop browser. = Works fine on iOS.
Local in device browser (iOS: Safari) = Works fine on iOS.
Local in native app on device (iOS: via Xcode). = Works fine on iOS.
Distributed native app (iOS: via TestFlight or AppStore). = FAILS on iOS.

There is no way to inspect the DOM or test anything in this 4th stage. So we are completely puzzled on how to debug this. Especially because we never had a case like this in which a frontend/client only element fails but ONLY in the distributed stage. To my knowledge running an iOS app locally via Xcode should be identical from the client perspective to running a distributed release.
Any hints are appreciated!

We figured it out!
The problem was a faulty script import src which resulted in an undefined Sortable BUT as described above ONLY in the distributed iOS build. Now, I would take all the blame if the error wasn't already present in the projects official readme, which is where I copied it from initially.
So, this didn't work in our scenario:

Instead, this would be appropriate:

But we did away with the script tag altogether since with the new 1.7.0 release on npm the regular Meteor npm import syntax "import Sortable from 'sortablejs'" suddenly works again. In the previous release it did not, which was the reason for me to choose the script tag.


The template isn't compatible with zabbix 2.4

I try to import this template into 2.4.4, but the items  show 0.
Template Disk Performance	Applications (1)	Items (0)	Triggers (0)	Graphs (0)	Screens (0)	Discovery (1)	Web (0)	-	-

Hello! There are not direct items in this template. All items are based on explored disks. And the disks are explored via low-level-discovery.
Click on Discovery (1)  -- there you will find all items.

thanks for your reply, I will try this.
2015-04-12 14:53 GMT+08:00, Grigory Chernyshev<EMAIL_ADDRESS>
Hello! There are not direct items in this template. All items are based on
explored disks. And the disks are explored via
low-level-discovery.
Click on Discovery (1)  -- there you will find all items.

Reply to this email directly or view it on GitHub:
https://github.com/grundic/zabbix-disk-performance/issues/5#issuecomment-91999940

thank you. It works


Dog seems unsupported, first issue is igenomes reference fasta dir vs RNAseq regex

Description of the bug
To start with there is a regex issue in parsing igenomes S3 fasta genomes file.
I can dig, but would appreciate help.
error message:
Path to FASTA genome file.
Invalid value. Must match pattern ^|S+\.fn?a(sta)?(\.gz)?$

Seems to come from NextFlow schema:
                "fasta": {
                    "type": "string",
                    "format": "file-path",
                    "exists": true,
                    "mimetype": "text/plain",
                    "pattern": "^\\S+\\.fn?a(sta)?(\\.gz)?$",
                    "description": "Path to FASTA genome file.",
                    "help_text": "This parameter is *mandatory* if `--genome` is not specified. If you don't have the appropriate alignment index available this will be generated for you automatically. Combine with `--save_reference` to save alignment index for future runs.",
                    "fa_icon": "far fa-file-code"
                },

Maybe add an extra OR regex if possible.
Gemini tells me this would work for the offending S3 file pointer:
`^s3://([^/]+)/(.*)$`

It kinda misses the s3 and assumes the .gz which igenomes doesn't give. Maybe we need Tall Phil's input.
Thank you!
Chris
Command used and terminal output
#https://ewels.github.io/AWS-iGenomes/
#https://cloud.seqera.io/orgs/community/workspaces/showcase/launchpad/189046775836482/form

Relevant files
No response
System information
Regular Tower, not trying to be fancy.

A couple of points to make here.

Did you manually supply the genome as well as the explicit reference files? I'm not sure what's causing the pattern match error exactly, but you don't normally supply both the 'genome' parameter AND the files explicitly.

We currently recommend against using iGenomes. Gene annotations are clearly very important in RNA-seq, and they're massively out of date in iGenomes.

There are plans afoot to deal with this. For now your best bet is to manually supply the fasta and GTF (no genome option). Let me know if that still fails for some reason and I'll look into it.

Thanks very much. Will do.
On Wed, May 29, 2024 at 11:38 AM Jonathan Manning @.***>
wrote:

There are plans afoot to deal with iGenomes thing (including Phil). For
now your best bet is to manually supply the fasta and GTF (no genome
option). Let me know if that still fails for some reason and I'll look into
it.
—
Reply to this email directly, view it on GitHub
https://github.com/nf-core/rnaseq/issues/1305#issuecomment-2138035141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAFKGUGXAGZZSS3QHZHRCTZEYOATAVCNFSM6AAAAABIN3SRUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGAZTKMJUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks closing this off for now- reopen if problems persist.


support tauri-v2

💻 变更类型 | Change Type

[x] feat
[ ] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change

Modify tauri to v2 version
📝 补充信息 | Additional Information

Summary by CodeRabbit
Release Notes

New Features

Introduced iOS support scripts for initialization and development.
Added a new configuration file for defining application capabilities.
Implemented an event-driven communication system with a greeting command.

Improvements

Updated versioning strategy for better clarity.
Streamlined configuration for easier management.
Enhanced logging and event handling capabilities.

Bug Fixes

Resolved issues with dependency management in the configuration files.

Chores

Updated various dependencies to their latest versions.
Improved .gitignore to exclude generated files.

这个分支先合并到 feat-tauir-v2分支，后续会在这个分支处理打包以及迁移http-api的逻辑。


Added issue forms

I have added Bug Report and Feature Request issue forms to the repo.
Previews

Bug Report

Feature Request

Kindly review the changes
fixes #166

@MonarchGitHub Thank you for your contribution. Looking forward to more such amazing contributions 🥂


Does RL training use sampled VAE latent?

Hi,
Nice code and thanks for open-sourcing. I noticed the default value for inference_mode is False and return_sampled_latent is True and I was wondering if it is turned to deterministic somewhere for training. Or is it deliberately chosen to use sampled latent? Could you kindly elaborate on this?
Thank you.

Hello @ErcBunny,
Thank you :)
Currently, the RL training is not using the sampled VAE latent. The configuration you pointed out results in deterministic VAE outputs.
It is not necessary to keep it this way for training. I expect the RL policy to learn robustly even if the sampled latent is fed into it and not degrade in performance. You can set the inference_mode to False and try training as well.
Let me know if this answered your question.
Best,

To be able to answer this question, I would like to know if you are using a particular task definition? If this is the case, the simulation seed is pre-defined in the configuration file of either the learning algorithm or the task_config class for that task.
If you are seeing the same latent (for example in the first timestep of multiple consecutive runs of the simulation), can you try the following?
# run these two one after another for the same image_obs tensor
image_latents1 = self.vae_model.encode(image_obs).clone()
image_latents2 = self.vae_model.encode(image_obs).clone()

You can put this around this line in code: https://github.com/ntnu-arl/aerial_gym_simulator/blob/070391cc30d92b76dcd3e4e41a49c8d1b60080ae/aerial_gym/task/navigation_task/navigation_task.py#L271
Comparing the outputs. Ideally, these two should be different from one-another.
Could you let me know if this happens or if they are both identical?

@mihirk284 Thanks a lot for your confirmation.


Deleting items in the saved search widget fails

Deleting items in the saved search widget I added fails and I'm not sure why. I thought it was working at one point but I think it may have just been deleting from the current_user.properties in memory and not committing those changes to zookeeper.

Updated the delete function. You have to assign things to the current_user.properties using current_user.properties['key']= to get things to save to zookeeper. So I have to save the current_user.properties for the saved search from memory to itself to get it to commit to zookeeper.

#22


It's that normal for automatically stop training？

The training program stopped

As shown in the log information, your model is successfully trained.
The training process is finished and stopped, because you set the max training iterations (i.e., MAX_ITER  in config file) to 36k.
However, I find the performance you reported is much lower than expected.  I think the issue probably exists in your config file.
With two GPUs, the max training iterations for Cliparttest should be 24k instead of 36k you used before.
In addition, if you want to train models with a single GPU, you need to adjust some hyper-parameters (IMS_PER_BATCH and BASE_LR should be halved, and STEPS , MAX_ITER and WARMUP_ITERS should be doubled).

I'm closing this issue, but let me know if you have further questions.


Copy entire chat history

Hi, is there a way to copy the entire chat history to paste it somewhere else? I can only seem to copy individual questions or answers.

I was thinking about it, will add!

Implemented, will release new version of the app today!

Thanks! It works great.


landing Page

I am terrible at CSS. I would like your suggestions on a good landing page and text to go with it.

Man I love it, It looks super awesome

closing this issue for now