Import from Diaro

I'd like to suggest an import format for Diaro.
Here's a screenshot of the export options.

Current solutions

https://forum.obsidian.md/t/meta-migration-workflows/15252/46

Oh, that's marvellous. I didn't think anyone would do this for Diaro.


"IsLowPriority"  need to be removed in SimplePolicy of NEO3

"IsLowPriority"  need to be removed in SimplePolicy since Transcation.get_IsLowPrioriy() has been removed.

Yes, must be removed

@shargon, FilterForMemoryPool is also know a native contract. I believe it could be direct in the core code.

The SimplePolicy plugin will be removed.


Error when using dpt_beit.

Received this error when:
drag and dropped an image into single image.
selected dpt_beit_large_512 (midas3.1) (actually, I get an error when using ANY 3.1 model)
Doesn't matter if Match input size is checked or not..
GENERATE
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/dpt_beit_large_512.pt
Error completing request
Arguments: (0, <PIL.Image.Image image mode=RGB size=1024x768 at 0x1DF9D3BA890>, None, '', '', 0, 1, 1024, 768, False, False, True, True, True, False, False, 1, False, False, False, 2.5, 4, 0, False, 0, 1, False, False, 'u2net', False, False, False, 0, 2) {}
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "D:\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 1158, in run_generate
outputs, mesh_fi = run_depthmap(None, outpath, imageArr, imageNameArr, compute_device, model_type, net_width, net_height, match_size, invert_depth, boost, save_depth, show_depth, show_heat, combine_output, combine_output_axis, gen_stereo, gen_stereotb, gen_anaglyph, stereo_divergence, stereo_fill, stereo_balance, clipdepth, clipthreshold_far, clipthreshold_near, inpaint, inpaint_vids, fnExt, vid_ssaa, background_removal, background_removed_images, save_background_removal_masks, False)
File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 226, in run_depthmap
model = DPTDepthModel(
File "D:\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum_helpers/src\midas\dpt_depth.py", line 102, in init
super().init(head, **kwargs)
File "D:\stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum_helpers/src\midas\dpt_depth.py", line 55, in init
hooks=hooks[backbone],
KeyError: 'beitl16_512'
Traceback (most recent call last):
File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1018, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 935, in postprocess_data
if predictions[i] is components._Keywords.FINISHED_ITERATING:
IndexError: tuple index out of range

seems like the model might be corrupt, try re-downloading dpt_beit_large_512.pt

Nah, just downloaded and replaced dpt_beit and received the same error
message..
On Thu, Mar 23, 2023, 6:13 PM Bob Thiry @.***> wrote:

seems like the model might be corrupt, try re-downloading
dpt_beit_large_512.pt
—
Reply to this email directly, view it on GitHub
https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/145#issuecomment-1482030714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKR6WZSCWARAM4BRH7TVNTW5TKJPANCNFSM6AAAAAAWFXKROA
.
You are receiving this because you authored the thread.Message ID:
<thygate/stable-diffusion-webui-depthmap-script/issues/145/1482030714@
github.com>

deforum_helpers/src\midas\dpt_depth.py
A conflict with deforum perhaps ? It's calling the DPTDepthModel from the deforum midas files ..

I made the same mistake,
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/dpt_beit_large_512.pt
Error completing request
Arguments: (0, <PIL.Image.Image image mode=RGB size=1024x1024 at 0x1F907E82800>, None, '', '', 0, 1, 512, 512, False, False, True, True, True, False, False, 1, False, False, False, 2.5, 4, 0, False, 0, 1, True, False, 'u2net', False, False, False, 0, 2) {}
Traceback (most recent call last):
File "F:\SDWEBUI\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "F:\SDWEBUI\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "F:\SDWEBUI\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 1158, in run_generate
outputs, mesh_fi = run_depthmap(None, outpath, imageArr, imageNameArr, compute_device, model_type, net_width, net_height, match_size, invert_depth, boost, save_depth, show_depth, show_heat, combine_output, combine_output_axis, gen_stereo, gen_stereotb, gen_anaglyph, stereo_divergence, stereo_fill, stereo_balance, clipdepth, clipthreshold_far, clipthreshold_near, inpaint, inpaint_vids, fnExt, vid_ssaa, background_removal, background_removed_images, save_background_removal_masks, False)
File "F:\SDWEBUI\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 226, in run_depthmap
model = DPTDepthModel(
File "F:\SDWEBUI/extensions/deforum/scripts/deforum_helpers/src\midas\dpt_depth.py", line 102, in init
super().init(head, **kwargs)
File "F:\SDWEBUI/extensions/deforum/scripts/deforum_helpers/src\midas\dpt_depth.py", line 55, in init
hooks=hooks[backbone],
KeyError: 'beitl16_512'
提示：Python 运行时抛出了一个异常。请检查疑难解答页面。
Traceback (most recent call last):
File "F:\SDWEBUI\py310\lib\site-packages\gradio\routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "F:\SDWEBUI\py310\lib\site-packages\gradio\blocks.py", line 1018, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "F:\SDWEBUI\py310\lib\site-packages\gradio\blocks.py", line 935, in postprocess_data
if predictions[i] is components._Keywords.FINISHED_ITERATING:
IndexError: tuple index out of range

应该是deforum

Yes it's calling the midas functions inside the deforum midas files, which is an older version that does not have the beit model yet.

Can you teach me how to solve it, Thanks a million!

Can you teach me how to solve it, Thanks a million!

I seem to have solved it. My deform should be updated with the latest file https://github.com/deforum-art/deforum-for-automatic1111-webui

I used another rented machine and deleted the deform extension, which seems to be running

I need Deforum to work
Does this mean with the latest Deforum update, the bug is fixed?
Does this mean my Deforum dpt_beit needs downloading again?

Please advise...
On Sun, Mar 26, 2023, 1:31 AM 15704080 @.***> wrote:

I used another rented machine and deleted the deform extension, which
seems to be running
[image: image]
https://user-images.githubusercontent.com/128477008/227759441-9cffd76e-2d2e-4c36-9899-0f9bb11a6b57.png
—
Reply to this email directly, view it on GitHub
https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/145#issuecomment-1484008939,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKR6WYTH2VMEIPNHGQMZXTW57PETANCNFSM6AAAAAAWFXKROA
.
You are receiving this because you authored the thread.Message ID:
<thygate/stable-diffusion-webui-depthmap-script/issues/145/1484008939@
github.com>

Hi have same issue, how to resolve this ?

Possible quick fix :
Rename the folder extensions/stable-diffusion-webui-depthmap-script/scripts/midas/ to extensions/stable-diffusion-webui-depthmap-script/scripts/dmidas/
and edit lines 40 to 43 in depthmap.py to change the midas imports to start with "dmidas" too.
change from
# midas imports
from midas.dpt_depth import DPTDepthModel
from midas.midas_net import MidasNet
from midas.midas_net_custom import MidasNet_small
from midas.transforms import Resize, NormalizeImage, PrepareForNet

to
# midas imports
from dmidas.dpt_depth import DPTDepthModel
from dmidas.midas_net import MidasNet
from dmidas.midas_net_custom import MidasNet_small
from dmidas.transforms import Resize, NormalizeImage, PrepareForNet

Hopefully this avoids the conflict with deforum, If someone can verify I will include the change in the next version.

I edited the file, and here are the results:
dpt_beit_large_512:
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/dpt_beit_large_512.pt
https://mailtrack.io/trace/link/1a4b5c1f7e52e65947aa1c1a325a4cf8387c852b?url=http%3A%2F%2Fdpt_beit_large_512.pt&userId=656862&signature=9b144c0227260dcb
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
Computing depthmap(s) ..
0%|
| 0/1 [00:00<?, ?it/s]
wholeImage being processed in : 1536
Adjust factor is: 1.0
Selecting patches ...
Target resolution:  (2304, 3072, 3)
Resulting depthmap resolution will be : (768, 1024)
patches to process: 22
dpt_beit_large_384:
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/dpt_beit_large_384.pt
https://mailtrack.io/trace/link/8b510d40798a91bda28d891f07f8049fd44d36be?url=http%3A%2F%2Fdpt_beit_large_384.pt&userId=656862&signature=22e00779f5e206e2
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
Computing depthmap(s) ..
0%|
| 0/1 [00:00<?, ?it/s]
wholeImage being processed in : 1536
Adjust factor is: 1.0221465076660987
Selecting patches ...
Target resolution:  (2355, 3140, 3)
Resulting depthmap resolution will be : (768, 1024)
dpt_large-midas-2f21e586.pt
https://mailtrack.io/trace/link/c7a66b1ccf7fe51dfb6027bf905ea3d610b4c0c3?url=http%3A%2F%2Fdpt_large-midas-2f21e586.pt&userId=656862&signature=899040c0c03fc0e2
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/dpt_large-midas-2f21e586.pt
https://mailtrack.io/trace/link/c4bbbe3eb40a189e6986edc85aaff8d688ea3fa5?url=http%3A%2F%2Fdpt_large-midas-2f21e586.pt&userId=656862&signature=91f37a23c20f35d3
Downloading
https://github.com/intel-isl/DPT/releases/download/1_0/dpt_large-midas-2f21e586.pt
https://mailtrack.io/trace/link/873ead3c2bb24425ceed30c2e2bc362c68a4776b?url=https%3A%2F%2Fgithub.com%2Fintel-isl%2FDPT%2Freleases%2Fdownload%2F1_0%2Fdpt_large-midas-2f21e586.pt&userId=656862&signature=59025966fb63c628
to ./models/midas/dpt_large-midas-2f21e586.pt
https://mailtrack.io/trace/link/fd9b25ab335fa42b631f41a4a46fcd12942e8136?url=http%3A%2F%2Fdpt_large-midas-2f21e586.pt&userId=656862&signature=4259ad6b7ce1746a
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████|
1.28G/1.28G [01:56<00:00, 11.8MB/s]
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
Computing depthmap(s) ..
0%|
                              | 0/1 [00:00<?, ?it/s]

wholeImage being processed in : 1536
Adjust factor is: 1.0221465076660987
Selecting patches ...
Target resolution:  (2355, 3140, 3)
Resulting depthmap resolution will be : (768, 1024)
dpt_hybrid-midas-501f0c75:
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/dpt_hybrid-midas-501f0c75.pt
https://mailtrack.io/trace/link/f0e8ecc8c7755a63a8684735e8be7aa185d2e77c?url=http%3A%2F%2Fdpt_hybrid-midas-501f0c75.pt&userId=656862&signature=3e4299ee8ad61929
Downloading
https://github.com/intel-isl/DPT/releases/download/1_0/dpt_hybrid-midas-501f0c75.pt
https://mailtrack.io/trace/link/531d65d309503dedf2bfe1861d26b28d23635683?url=https%3A%2F%2Fgithub.com%2Fintel-isl%2FDPT%2Freleases%2Fdownload%2F1_0%2Fdpt_hybrid-midas-501f0c75.pt&userId=656862&signature=6687862775c946a4
to ./models/midas/dpt_hybrid-midas-501f0c75.pt
https://mailtrack.io/trace/link/b86334012219bf55b1d535896fecd37317c5ea38?url=http%3A%2F%2Fdpt_hybrid-midas-501f0c75.pt&userId=656862&signature=2c14b75eaed8d883
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████|
470M/470M [00:41<00:00, 11.8MB/s]
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
Computing depthmap(s) ..
0%|
                              | 0/1 [00:00<?, ?it/s]

wholeImage being processed in : 1536
Adjust factor is: 1.0221465076660987
Selecting patches ...
Target resolution:  (2355, 3140, 3)
Resulting depthmap resolution will be : (768, 1024)
midas_v21-f6b98070.pt
https://mailtrack.io/trace/link/bc477c94aa38fb286fc0da08af9cc5489d4b8274?url=http%3A%2F%2Fmidas_v21-f6b98070.pt&userId=656862&signature=f04a732e2aaadcf3
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/midas_v21-f6b98070.pt
https://mailtrack.io/trace/link/24ff6dd97a67c2d7edc12407c00404a8913de976?url=http%3A%2F%2Fmidas_v21-f6b98070.pt&userId=656862&signature=fbbd64eaa520758a
Loading weights:  ./models/midas/midas_v21-f6b98070.pt
https://mailtrack.io/trace/link/5cac3b45f74d4a66f105cb7f2fd7390b2102deee?url=http%3A%2F%2Fmidas_v21-f6b98070.pt&userId=656862&signature=b893118b006cbff2
Using cache found in
C:\Users\RETHINK/.cache\torch\hub\facebookresearch_WSL-Images_main
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
Computing depthmap(s) ..
0%|
                              | 0/1 [00:00<?, ?it/s]

wholeImage being processed in : 1536
Adjust factor is: 1.0221465076660987
Selecting patches ...
Target resolution:  (2355, 3140, 3)
Resulting depthmap resolution will be : (768, 1024)
midas_v21_small-70d6b9c8.pt
DepthMap v0.3.8
device: cuda
Loading model weights from  ./models/midas/midas_v21_small-70d6b9c8.pt
Loading weights:  ./models/midas/midas_v21_small-70d6b9c8.pt
Using cache found in
C:\Users\RETHINK/.cache\torch\hub\rwightman_gen-efficientnet-pytorch_master
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
Computing depthmap(s) ..
0%|
                              | 0/1 [00:00<?, ?it/s]

wholeImage being processed in : 1536
Adjust factor is: 1.0221465076660987
Selecting patches ...
Target resolution:  (2355, 3140, 3)
Resulting depthmap resolution will be : (768, 1024)
On Thu, Mar 30, 2023 at 12:13 PM Bob Thiry @.***> wrote:

Possible quick fix :
Rename the folder
extensions/stable-diffusion-webui-depthmap-script/scripts/midas/ to
extensions/stable-diffusion-webui-depthmap-script/scripts/dmidas/
and edit lines 40 to 43 in depthmap.py to change the midas imports to
start with "dmidas" too.
change from
midas imports
from midas.dpt_depth import DPTDepthModel
from midas.midas_net import MidasNet
from midas.midas_net_custom import MidasNet_small
from midas.transforms import Resize, NormalizeImage, PrepareForNet
to
midas imports
from dmidas.dpt_depth import DPTDepthModel
from dmidas.midas_net import MidasNet
from dmidas.midas_net_custom import MidasNet_small
from dmidas.transforms import Resize, NormalizeImage, PrepareForNet
Hopefully this avoids the conflict with deforum, If someone can verify I
will include the change in the next version.
—
Reply to this email directly, view it on GitHub
https://mailtrack.io/trace/link/4d0756b4b1839d8312767cd3dfeed40ad17801ef?url=https%3A%2F%2Fgithub.com%2Fthygate%2Fstable-diffusion-webui-depthmap-script%2Fissues%2F145%23issuecomment-1490651272&userId=656862&signature=b8695b7323af7313,
or unsubscribe
https://mailtrack.io/trace/link/e1e38bbfe26237dcea664cb135655fcd26da1c46?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOKR6W5I2KIG76GZI6FPEUDW6W5K5ANCNFSM6AAAAAAWFXKROA&userId=656862&signature=d1d9a9d01b2e0c60
.
You are receiving this because you authored the thread.Message ID:
<thygate/stable-diffusion-webui-depthmap-script/issues/145/1490651272@
github.com>

--
Brian Bullock
Founder / Director of CGI
RETHINK Studios
https://www.rethinkstudios.tv/
https://mailtrack.io/trace/link/be054f466cb89c9a5bce894e49ccc5ea0b51a101?url=https%3A%2F%2Fwww.rethinkstudios.tv%2F&userId=656862&signature=c9c8d9320883826e
708-289-1059
@.***
https://ai.rethinkstudios.tv/
https://mailtrack.io/trace/link/59811be2f746323ad85543c71e51f74ef14445c1?url=https%3A%2F%2Fai.rethinkstudios.tv%2F&userId=656862&signature=90858fe4763096fc
[image: linkedin]
https://mailtrack.io/trace/link/20d7cec18f6f4421d715d958eca5be9992d60382?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbrian-bullock-9aa0512%2F&userId=656862&signature=fa4d52145a050da9
[image: instagram]
https://mailtrack.io/trace/link/ed0d4f4ddc4fee44356f9e506434aeb9f7a650cf?url=https%3A%2F%2Fwww.instagram.com%2Fbrian.bullock.796%2F&userId=656862&signature=71ffb67ee309136c

So it's working now then ?

So far so good.
Will test dpt_beit_large_512.pt on an image sequence and see where it goes..
Hang tight..
On Fri, Mar 31, 2023 at 5:21 PM Bob Thiry @.***> wrote:

So it's working now then ?
—
Reply to this email directly, view it on GitHub
https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/145#issuecomment-1492674599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKR6W42HDEZWAKVYKWCHTLW65KHFANCNFSM6AAAAAAWFXKROA
.
You are receiving this because you authored the thread.Message ID:
<thygate/stable-diffusion-webui-depthmap-script/issues/145/1492674599@
github.com>

--
Brian Bullock
Founder / Director of CGI
RETHINK Studios
https://www.rethinkstudios.tv/
https://mailtrack.io/trace/link/c49d69f99e7a20a68b6b1b8145d6cebdc3113b34?url=https%3A%2F%2Fwww.rethinkstudios.tv%2F&userId=656862&signature=b6ced1f686a8476f
708-289-1059
@.***
https://ai.rethinkstudios.tv/
https://mailtrack.io/trace/link/f37b7805cd6bc7bc6c531a55114caef04b3a9e24?url=https%3A%2F%2Fai.rethinkstudios.tv%2F&userId=656862&signature=0eaab52824ff35df
[image: linkedin]
https://mailtrack.io/trace/link/6cf793bdbe05a1b6661a97eeee2566ea351be43c?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbrian-bullock-9aa0512%2F&userId=656862&signature=54f584e65152914d
[image: instagram]
https://mailtrack.io/trace/link/b4457a7d7f78bdb7dd42d5e7192f405b62c9aea6?url=https%3A%2F%2Fwww.instagram.com%2Fbrian.bullock.796%2F&userId=656862&signature=3ce23f3672138ebb

imgSeq is progressing.
Great work!
On Fri, Mar 31, 2023 at 5:36 PM Brian Bullock @.***>
wrote:

So far so good.
Will test dpt_beit_large_512.pt on an image sequence and see where it
goes..
Hang tight..
On Fri, Mar 31, 2023 at 5:21 PM Bob Thiry @.***>
wrote:

So it's working now then ?
—
Reply to this email directly, view it on GitHub
https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/145#issuecomment-1492674599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKR6W42HDEZWAKVYKWCHTLW65KHFANCNFSM6AAAAAAWFXKROA
.
You are receiving this because you authored the thread.Message ID:
<thygate/stable-diffusion-webui-depthmap-script/issues/145/1492674599@
github.com>

--
Brian Bullock
Founder / Director of CGI
RETHINK Studios
https://www.rethinkstudios.tv/
https://mailtrack.io/trace/link/c49d69f99e7a20a68b6b1b8145d6cebdc3113b34?url=https%3A%2F%2Fwww.rethinkstudios.tv%2F&userId=656862&signature=b6ced1f686a8476f
708-289-1059
@.***
https://ai.rethinkstudios.tv/
https://mailtrack.io/trace/link/f37b7805cd6bc7bc6c531a55114caef04b3a9e24?url=https%3A%2F%2Fai.rethinkstudios.tv%2F&userId=656862&signature=0eaab52824ff35df
[image: linkedin]
https://mailtrack.io/trace/link/6cf793bdbe05a1b6661a97eeee2566ea351be43c?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbrian-bullock-9aa0512%2F&userId=656862&signature=54f584e65152914d
[image: instagram]
https://mailtrack.io/trace/link/b4457a7d7f78bdb7dd42d5e7192f405b62c9aea6?url=https%3A%2F%2Fwww.instagram.com%2Fbrian.bullock.796%2F&userId=656862&signature=3ce23f3672138ebb

--
Brian Bullock
Founder / Director of CGI
RETHINK Studios
https://www.rethinkstudios.tv/
708-289-1059
@.***
https://ai.rethinkstudios.tv/
[image: linkedin] https://www.linkedin.com/in/brian-bullock-9aa0512/
[image: instagram] https://www.instagram.com/brian.bullock.796/

I get this issue too, and deleting Deforum did the trick.
To any devs: is this a Deforum bug, a Depthmap bug, or something mutual? Just wondering which side should have a task for fixing it.

Not really a bug, more of a collision.
Both extensions use midas and include a copy of the source with the extension. Both use the same name for the folder 'midas', added to the pythonpath, only deforum uses an older version that does not yet include the beit model. Python will use the first copy it finds.
Renaming the folder and the imports as described above will fix the name collision.

On a side note, is anyone actually getting anything decent out of the Midas 3.1 512 model?  All the results I've gotten thusfar have been awful, just sheer monstrosities.  I'm trying the Midas 3.1 384 model right now to see if it's any better.

fixed


Is possible to set the 'Heading' parameter?

Is it possible to set the street view heading via the template?
Currently, I'm including a street view like so:
{{street-view lat=model.streetview.lat lng=model.streetview.lon}}
Is it possible to set the heading direction doing something like this?
{{street-view lat=model.streetview.lat lng=model.streetview.lon heading=model.streetview.heading}}
Heading definition from google docs:
"heading indicates the compass heading of the camera. Accepted values are from 0 to 360 (both values indicating North, with 90 indicating East, and 180 South). If no heading is specified, a value will be calculated that directs the camera towards the specified location, from the point at which the closest photograph was taken."

@djq Yes, the pov property is actually an object. You assign the values to this property like so:
pov: {
  heading: 0,
  pitch: 0,
}

Define it in your route's controller and assign it to the component {{street-view lat=model.lat lng=model.lng pov=pov}}
Docs


rampTo insists on ramping through all past values

Hi there
I've noticed an issue/feature/something about the way that Signals' rampTo works, in which calling rampTo when there is already a value to ramp to results in the signal going through that value as well.
For instance if you drag the slider in the ramping demo you will notice that it acts more as a delay than anything.
Is there a way to just get a smooth transition to the last value passed to rampTo()?

To make a signal ramp to a new value without completing the previously scheduled curves, you'll have to cancelScheduledValues first:
signal.cancelScheduledValues()
signal.rampTo(10, 0.3)


Bug: Performance (etc.) issues when calculating the size of elements on the post overlay page when the window size or the size of the comment area changes

Fixed by 22b5379 commit


zlib license

This pull request adds the Zlib license to choosealicense.com. It was first used by the zlib project (see the end of its README). It's now used by many other projects (e.g., certain syntax definitions for programming languages).
Requirements:

Zlib is the SPDX identifier.
Zlib is part of the list of OSI approved licenses and GNU's list of free licenses.
This GitHub search result displays ~2,830 Zlib licenses. I downloaded 2,534 of them, from which I counted 1,580 repositories (from 1,439 different users).

This looks good to me, thanks @pchaigno!
I'll merge tomorrow if nobody else points out any problems in the meantime.
CI is failing due to an actual issue with an external site. I informed them about it at https://github.com/creativecommons/creativecommons.org/issues/323

@pchaigno I noticed one thing -- the using example is not ideal. Apologies, I just realized the docs needed updating, done with #439. using should be:

A list of up to 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by licensee in the form of project_name: "license-file-url"

The eponymous example for zlib isn't one that new projects should follow nor one that could be automatically detected. Are there other zlib-licensed projects that would serve as more straightforward examples? See similar discussion re ISC in #377.

Unfortunately it's mostly Zlib + small projects. I went through Zlib-licensed projects on GitHub but couldn't find any well known (at least to me :/). Should I remove the using entry then?

Yes, just remove using for now. We can add projects if/when good examples found. Thanks.

@pchaigno but don't give up just yet :) I'm working on a way to query the recently released Github data on Google's BigQuery, to find the most popular ISC-licensed repos, and once I get reliable results I'll share the process, as it will probably be useful to others like you.

Yes, just remove using for now.

Done.

I'm working on a way to query the recently released Github data on Google's BigQuery, to find the most popular ISC-licensed repos

@waldyrious Nice! I have to get into that myself. Could be useful for quantitative searches at Linguist as well.

Now last row in http://choosealicense.com/appendix/ and at http://choosealicense.com/licenses/zlib/

@pchaigno I've managed to nail down the query as I needed: here's how to get all ISC-licensed repos on github, sorted by number of stars in a given period of time:
SELECT ghlicenses.repo_name, gh2015.num_stars
FROM [bigquery-public-data:github_repos.licenses] AS ghlicenses
JOIN (
    SELECT repo.name, COUNT(*) AS num_stars
    FROM TABLE_DATE_RANGE([githubarchive:day.], TIMESTAMP('2015-01-01'), CURRENT_TIMESTAMP())
    WHERE type = "WatchEvent"
    GROUP BY repo.name
) AS gh2015
ON (ghlicenses.repo_name == gh2015.repo.name)
WHERE license="isc"
ORDER BY num_stars DESC

Here's the result (repos with less than 10 stars in that period hidden)
Searching using the year tables instead of the day tables (2011 to 2015, so this excludes 2016 activity) could capture additional repos that haven't had recent activity:
SELECT gh_licenses.repo_name, gh_year_tables.num_stars
FROM [bigquery-public-data:github_repos.licenses] AS gh_licenses
JOIN (
  SELECT repo_name, COUNT(*) AS num_stars
  FROM TABLE_QUERY([githubarchive:year], 'REGEXP_MATCH(table_id, r"^201\d")')
  WHERE type = "WatchEvent"
  GROUP BY repo_name
) AS gh_year_tables
ON (gh_licenses.repo_name == gh_year_tables.repo_name)
WHERE license="isc"
ORDER BY num_stars DESC

...but neither query works for repos that haven't been starred by anyone. Ideally, there should be a repos query akin to the sample_repos in the recently released data. Then we'd be able to do something like the below:
SELECT gh_licenses.repo_name, gh_repos.watch_count
FROM
  [bigquery-public-data:github_repos.licenses] AS gh_licenses
JOIN (
  SELECT repo_name, watch_count
  FROM [bigquery-public-data:github_repos.sample_repos]
) AS gh_repos
ON (gh_licenses.repo_name == gh_repos.repo_name)
WHERE license="isc"
ORDER BY watch_count DESC

...which currently returns only 1516 rows (as opposed to the 5432 rows and 4126 rows from the above queries, respectively).
@fhoffa any chance we could get such a dataset (a repos table) anytime soon?


Add the content for how services work

Add the content for how services work
Signed-off-by: yuexiao-wang<EMAIL_ADDRESS>

LGTM

LGTM


Improve CertificateRequest's CSR validation code

The CSR validation code is too complex and behaves unexpectedly in some scenarios.
Simply put, we want what is encoded CSR to match what is encoded in the CertificateRequest resource.
Currently there are some gaps in this validation logic (see tests for more info).
Kind
/kind cleanup
/kind bug
Release Note
The CSR blobs in CertificateRequest resources are now validated correctly.

/retest

/retest

I split https://github.com/cert-manager/cert-manager/pull/6199 out of this PR first.

/retest

/retest


Publish .d.ts with npm

Hi @dapriett, thank you for this amazing plugin.
I was wondering if you could publish the declaration .d.ts combined with the package?
That would be nice for IntelliSense in my IDE.
Thanks.

Hey @leocaseiro - should be good to go now.  Enjoy!

thanks for that


Add a new function to return SPARQL queries as strings

Input would be the same as scotgov_get() and output would be the corresponding SPARQL query.

After chatting with @GordonBryden the simplest approach would probably be to pull the relevant code out of scotgov_get() into a separate function. So scotgov_get() would call this new function to create the query. I'd welcome opinions on whether this new function should be internal or external

get_dataset_query() now committed. It's a simple gutting of scotgov_get, returning the SPARQL query as a string. Scotgov_get now passes it's arguments to get_dataset_query, which it then passes to SPARQL.


Run django-upgrade manually

Debugging the failures in #620 , I ran django-upgrade manually to find what it was doing to files to cause the tests to fail.  This PR contains the changes from running django-upgrade manually (and matches #620) except for the below change from django-upgrade which breaks tests and therefore is not included in this PR:
diff --git a/silk/model_factory.py b/silk/model_factory.py
index ba21fed..9a091c0 100644
--- a/silk/model_factory.py
+++ b/silk/model_factory.py
@@ -74,7 +74,7 @@ class RequestModelFactory:
         self.request = request

     def content_type(self):
-        content_type = self.request.META.get('CONTENT_TYPE', '')
+        content_type = self.request.headers.get('content-type', '')
         return _parse_content_type(content_type)

     def encoded_headers(self):

After this PR is landed, pre-commit CI can regenerate #620 and the auto-linter can continue to work.  https://github.com/albertyw/django-silk/blob/master/.pre-commit-config.yaml#L54-L58 may need to be commented out though to prevent the above change from reappearing.

I'm ok with that but we could also fix tests and adopt request.headers (instead of request.META) to be more future-proof


new pilot_ratings FI & FE

New pilot ratings for flight instructor and examiner have been added.
PilotRating enum should be updated.
See: https://tech.vatsim.net/blog/vatsim_services/new_pilot_ratings

Fixed in c6427b00608afa0d9572e31e84ed73721c37909d.


Text rendering issue in symbol layer when map is rotated/tilted

Describe the bug
When the map is tilted or rotated, text labels in a symbol layer are sometimes not rendered at all or rendered in a warped way. (As seen in the video) the warping seems to persist when rotating back to tilt=0, rotation=0
https://github.com/user-attachments/assets/7c24179a-d3a1-4796-ab85-1cf8423dbea1
(This video was made with Android 9, Moto X4.)
https://github.com/user-attachments/assets/43990869-703a-44c4-837c-df16c7039cf8

To Reproduce
Reproducible with https://github.com/streetcomplete/StreetComplete/releases/tag/v59.0-alpha2
Style affected:
SymbolLayer("pin-cluster-layer", SOURCE)
  .withFilter(all(
    gte(zoom(), 13f),
    lte(zoom(), CLUSTER_MAX_ZOOM),
    gt(toNumber(get("point_count")), 1)
  ))
  .withProperties(
    iconImage("cluster-circle"),
    iconSize(sum(literal(0.5f), division(log2(get("point_count")), literal(10f)))),
    textField(get("point_count")),
    textFont(arrayOf("Roboto Regular")),
    textOffset(arrayOf(0f, 0.1f)),
    textSize(sum(literal(15f), division(log2(get("point_count")), literal(1.5f)))),
    iconAllowOverlap(true),
    textAllowOverlap(true),
)

Expected behavior
Text renders correctly
Platform information:

Android, any version
Version 11.2.0

Additional context
Originally reported in https://github.com/streetcomplete/StreetComplete/issues/5859
So far, the same issue could NOT be reproduced for the following layer, even though it is also a symbol layer with text:
SymbolLayer("overlay-symbols", SOURCE)
  .withFilter(all(
    gte(zoom(), 17f),
    isPoint()
  ))
  .withProperties(
    iconImage(get("icon")),
    iconSize(interpolate(linear(), zoom(), stop(17, 0.5f), stop(19, 1f))),
    textField(get("label")),
    textFont(arrayOf("Roboto Regular")),
    textAnchor(Property.TEXT_ANCHOR_TOP),
    textOffset(switchCase(has("icon"), literal(arrayOf(0f, 1f)), literal(arrayOf(0f, 0f)))),
    textSize(16 * context.resources.configuration.fontScale),
    textColor(if (isNightMode) "#ccf" else "#124"),
    textHaloColor(if (isNightMode) "#2e2e48" else "#fff"),
    textHaloWidth(2.5f),
    iconColor(if (isNightMode) "#ccf" else "#124"),
    iconHaloColor(if (isNightMode) "#2e2e48" else "#fff"),
    iconHaloWidth(2.5f),
    textOptional(true),
    iconAllowOverlap(true),
    textAllowOverlap(step(zoom(), literal(false), stop(21, true))),
    symbolZOrder(Property.SYMBOL_Z_ORDER_SOURCE),
  )

This suggests that certain properties may trigger the issue and it can not be reproduced with just any text on any symbol layer.

I have the same issue. It started from the version 11.1.0. The latest stable version without this issue is 11.0.2-pre0.
According to my short tests 11.2.0 also have some additional weird tile loading issue (some tiles are blinking even when they are already loaded). Probably this is a related rendering bug.

cc @sjg-wdw

I tried to reproduce this in our test app. No luck so far...
https://github.com/maplibre/maplibre-native/commit/3cf9a8ea9aceb79b8b6edca09f1d0556378e4297

Can you try removing the expressions which use logarithms?

According to my test this doesn't seem to be related to exponential interpolation. I have the same issue with linear interpolation and without interpolation at all.

I removed everything from the layer style except this
        SymbolLayer("pin-cluster-layer", SOURCE)
            .withFilter(all(
                gte(zoom(), 13f),
                lte(zoom(), CLUSTER_MAX_ZOOM),
                gt(toNumber(get("point_count")), 1)
            ))
            .withProperties(
                textField(get("point_count")),
                iconAllowOverlap(true),
                textAllowOverlap(true),
            ),

and it is still reproducible with this.
Note that I wasn't able to reproduce this issue with things such as shop names or housenumbers yet

@westnordost Could you try? https://github.com/maplibre/maplibre-native/commit/3cf9a8ea9aceb79b8b6edca09f1d0556378e4297

Hm, I didn't check out and setup this project on my computer yet. You want to see if it is maybe device-specific? After all, you already found that you cannot reproduce it with https://github.com/maplibre/maplibre-native/commit/3cf9a8ea9aceb79b8b6edca09f1d0556378e4297 . To see if it is device-specific, I think it would be quicker if you installed https://github.com/streetcomplete/StreetComplete/releases/tag/v59.0-alpha4 on your test device, zoomed out after the quests were downloaded until the clusters are visible and then rotate, push around and tilt the map to see if you have the same effect on your test device.

@mtpdog are you using clustering?

Sure I can do that!

Hm, weird. Note, though that it does occur not always on rotation, you have to push it around, zoom in and out, maybe tilt a bit. I didn't notice any specific thing that triggered it. I for example wasn't able to reproduce it on my Samsung S10e  with LineageOS (Android 13) in some village that had few quests (=small and few cluster bubbles) but this might as well have been coincidence.
Also, I was never able to reproduce on my phone what you can see in the first video posted in the issue. For me, the numbers only sometimes vanish, but never warp.

Devices on which it was confirmed that it can be reproduced so far (I will update this post as new information from users comes in):
Warping text:

Android 9, Moto X4

Missing text:

Android 13, Samsung Galaxy S10e
Android 14, unknown Motorola phone

I also occasionally had warping on Android 14 (Samsung Galaxy S23+) like this:
https://github.com/user-attachments/assets/039d07ea-0bf5-4cef-871d-f14856e5fde3

are you using clustering?

No, I don't. But I use custom fonts from my "glyphs" folder.

My suggestion is to examine changes made between versions 11.0.2-pre0 (the last working one) and 11.1.0 (this already includes warping).

A lot going on in this thread, but I think at the core is a problem with clustering.
Do we have any good clustering tests?

Just a short notice. According to my tests:

this issue is fixed in 11.3.0-vulkan-pre0
11.4.0 still has this issue

Testing with 11.3.0-vulkan-pre0, too, so far I can confirm that this issue does not occur with that version.

Happens on Samsung S23+ frequently. Happens when the map is tilted, rotated.

Happens on Samsung S23+ frequently. Happens when the map is rotated.
Doesn't happen when the layer doesn't contain text-field. Starts happening after text field is added. The color of the stripes is matching the icon color (tried with multiple different icons, colors always matched the icon color).
It seems to be happening more when iconAllowOverlap(true) is added, not sure if it is correlated.
Update: After some experiments, I think it is happening when one of these is set to true: text-allow-overlap = true icon-allow-overlap = true icon-ignore-placement = true

Is it still not fixed in the newest versions? Have you checked?
I'm still on 11.0.2-pre because of this issue.

Can confirm still happening on v11.5.1. This is on a Galaxy Z Fold 6 with the OpenFreeMap Positron style, though I've seen it with other styles too.
https://github.com/user-attachments/assets/dedcd80f-9714-4be8-9f7c-bd15fc88cf7a
Repro here: https://github.com/sargunv/train-tracker-app/tree/2de043c7e2bd16f25e3a29374e0dfbafef0182b7
The same codebase/style with MapLibre iOS v6.7.1 doesn't have the issue.

This issue appears to be fixed in version 11.6.1.
Maybe it was similar to https://github.com/maplibre/maplibre-native/issues/2879?

Oh really, interesting! Please leave a comment if someone sees it again.
cc @TimSylvester @alasram


chore(localdebug): change ngrok to basis

detail: https://msazure.visualstudio.com/Microsoft Teams Extensibility/_workitems/edit/17382761/

Missing npm-search-connector?

Missing npm-search-connector?

Added, Thx!


Transport equation for a vector quantity with a source term

I am planning to use clawpack/pyclaw library to solve a transport equation with a source term where a vector quantity will be transported.
$\vec q_t +\vec u(\vec x,t).\nabla \vec q = \psi(\vec q) $
I have a analytical solver for solving
$\vec q_t= \psi(\vec q)$
time array is pre-determined.
primarily, I need to set-up the solver for transport equation of a vector quantity. Is there any readily available solver for that? or would any one please help me to set-up this step by step?
I need it urgently.
Thank you in advance.
Regards,
Arijit Hazra

I'm closing this as it is a duplicate of https://github.com/clawpack/pyclaw/issues/521.  Please don't open duplicate issues, since it fragments the conversation.


Feature Request: 'Mark All As Read' older than a certain time period

When clicking 'Mark All As Read' there should be an option to do that older than a certain time period. The best use case I have for this is for high volume feeds (ex. NYT, The Verge, etc) if you don't check them every day you are given a list of hundreds of articles especially if they are collated in a specific folder. This would allow you clear out older feeds but still have as unread things more recent.

Yes please!
I was sure this was already there and looked for it, but I must remember it from another app.

You can run your feeds through FreshRSS.  There is a setting for that.

You can run your feeds through FreshRSS. There is a setting for that.

Is that an option that would be presented by NNW or within the FreshRSS interface?

You can run your feeds through FreshRSS. There is a setting for that.

Is that an option that would be presented by NNW or within the FreshRSS interface?

FreshRSS has a 'per/feed' configuration option where you can set a 'max number of articles' before marking read.  I have some high-volume feeds that I cap at 50 latest unread.


⚠ wakapi has degraded performance

In 764f1b3, wakapi (https://waka.mcha.cloud/api/health) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: wakapi performance has improved in e059800 after 4 minutes.


add intended rolling_window param into pipeline

The ROLLING_WINDOW param was not actually being used in the pipeline, although that was the intention.
I also changed it to default '1D' to make it consistent with the later visualization. Also because what it was before ('1W') throws an error ValueError: <Week: weekday=6> is a non-fixed frequency

hmmm I see that some metadata about my notebook session made it into the commit.. What is the best practice here for scrubbing that info?

the notebook cleaner is described [here](https://github.com/holoviz/holoviz/blob/master/doc/contributing.md#:~:text=Jupyter Notebooks (.ipynb,handled in notebooks.)
I'll do that now

ready to merge now


Uncaught Error: Cannot find transform for node Node<"unknown">

This error gets thrown when my node has no formatting.

With slate nodes that have formatting such as bold no error occurs.
Am I doing anything wrong?

I'm using it this way. slateResponse is the following arry/slate node.
[{"children":[{"text":"Das Passwort darf nicht mit dem Benutzernamen übereinstimmen"}]}]
Uncaught Error: Cannot find transform for node Node<"unknown">
i BaseError.ts:10
f NoMatcherError.ts:13
ee transformNodes.tsx:75
ne transformNodes.tsx:95
re transformNodes.tsx:113
oe transformNodes.tsx:156
se useSlateToReact.ts:19
React 3
se useSlateToReact.ts:19
ie SlateView.tsx:24
React 12
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
js scheduler.development.js:571
js scheduler.development.js:633
__require chunk-ROME4SDB.js:11
js index.js:6
__require chunk-ROME4SDB.js:11
React 2
__require chunk-ROME4SDB.js:11
js React
__require chunk-ROME4SDB.js:11
js React
__require chunk-ROME4SDB.js:11
 react-dom_client.js:38

Hello, and thanks for reaching me out with your issue. Does this error appears if you add a type field for the most top-level node? Like this:
[
  {
    "type": "p",
    "children": [
      {
        "text": "Das Passwort darf nicht mit dem Benutzernamen übereinstimmen"
      }
    ]
  }
]

I'm using payload cms, which has an integrated slate editor, i use to create my content/rich text.
I'm fetching that content in my frontend and want to use your library to convert those slate nodes to diplay them in my react component.
As far as I know the type node only gets added for Headings, see below, in the slate editor for payload.
That works if they have e.g. a heading formattig.
But other text without heading formating throw that error.
This one works because it ha type h3

https://payloadcms.com/community-help/github/node-of-richtext-is-missing-type
I found this article in payload cms, by default payload doesn't set any type if no type is selected.
Is it possible to add in the library or can you show me how to add paragraph as fallback type if no type(like heading) is selected?

By default slate-to-react expects the type field always to be set for Element nodes, so when you pass an element without this field - you'll get an error. To fix this, you can create a fallback transform. All you need is a custom element matcher and a new transform:
import {createElementMatcher, createElementTransform} from "slate-to-react"

const isUnknownElement = createElementMatcher(node => "type" in node === false)

const FallbackElement = createElementTransform(isUnknownElement, ({key, attributes, children}) => (
  <p {...attributes} key={key}>
    {children}
  </p>
))

I should probably make an improvement upon this area.

Where do I have to have insert this, would it be possible for you  to create an update to your library?

As documentation says (see the 5th example), you can use custom transforms with SlateView, useSlateToReact and transformNodes. For SlateView that would be through the transforms property. This property takes a Transforms object that has two fields: elements and leaves (both are arrays of transforms). So, this element transform goes to the transforms.elements array, like this:
import type {FC} from "react"

import {SlateView, type Node} from "slate-to-react"

import {FallbackElement} from "./FallbackElement.js" // Previously created fallback element

interface Props {
  nodes: Node[]
}

export const MyComponent: FC<Props> = ({nodes}) => (
  <SlateView
    nodes={nodes}
    transforms={{elements: [FallbackElement]}}
  />
)

The whole point of this library is to have bunch of utilities to create customizable Slate views. So, you can and you'll likely will create your own transforms to keep the look of your slate views in touch with the styles of your application.

would it be possible for you to create an update to your library?

I think I will add support for generic Element nodes with the fallback elements. But I fill like this should be customizable too.

I'm closing this. Hope your problem is resolved. Feel free to reopen if not.


initdb.d executes sql file but does not save data

I put the files inside /docker-entrypoint-initdb.d/ and these are executed correctly, but when entering the container
test=# \dt
Did not find any relations.

But the scheme is saved
test=# \dn
 List of schemas
  Name  | Owner
--------+--------
 platzi | platzi
 public | platzi
(2 rows)

Versions

Docker version 20.10.3, build 48d30b5
docker-compose version 1.27.4, build 40524192

How to replicate
├── docker-compose.yml
├── dump
│   ├── 1-dump.sql
└── env
    ├── pgadmin
    └── postgres

docker-compose.yml
version: "3.9"

services:
  postgres:
    image: postgres:13
    container_name: psql
    volumes:
      - "./dump/:/docker-entrypoint-initdb.d/"
      - "db-data:/var/lib/postgresql/data"
    env_file:
      - ./env/postgres
    ports:
      - "5432:5432"
volumes:
  db-data:

./env/postgres
POSTGRES_PASSWORD=passw0rd
POSTGRES_USER=postgres
POSTGRES_DB=test

./dump/1-dump.sql
CREATE SCHEMA platzi;

create table platzi.alumnos (
	id INT,
	nombre VARCHAR(50),
	apellido VARCHAR(50),
	email VARCHAR(50),
	colegiatura FLOAT,
	fecha_incorporacion TIMESTAMP,
	carrera_id INT,
	tutor_id INT
);

CREATE TABLE platzi.carreras (
	id INT,
	carrera VARCHAR(100),
	fecha_alta TIMESTAMP,
	vigente BOOLEAN
);

INSERT INTO platzi.carreras (id, carrera, fecha_alta, vigente) VALUES (1, 'Negocios y administración', '2017-05-28 06:42:45', TRUE);
INSERT INTO platzi.carreras (id, carrera, fecha_alta, vigente) VALUES (2, 'Administración y gestión de empresas', '2016-03-24 13:52:17', FALSE);

INSERT INTO platzi.alumnos (id, nombre, apellido, email, colegiatura, fecha_incorporacion, carrera_id, tutor_id) values (1, 'Wanda', 'Billington'<EMAIL_ADDRESS>5000, '2020-05-17 22:49:29', 23, 9);
INSERT INTO platzi.alumnos (id, nombre, apellido, email, colegiatura, fecha_incorporacion, carrera_id, tutor_id) values (2, 'Blayne', 'Wakeley'<EMAIL_ADDRESS>2500, '2018-09-01 17:51:49', 40, 26);

docker-compose up
docker-compose log
. . .
psql        | Success. You can now start the database server using:
psql        |
psql        |     pg_ctl -D /var/lib/postgresql/data -l logfile start
psql        |
psql        | initdb: warning: enabling "trust" authentication for local connections
psql        | You can change this by editing pg_hba.conf or using the option -A, or
psql        | --auth-local and --auth-host, the next time you run initdb.
psql        | waiting for server to start....2021-02-19 04:19:40.853 UTC [47] LOG:  starting PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
psql        | 2021-02-19 04:19:40.859 UTC [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
psql        | 2021-02-19 04:19:40.877 UTC [48] LOG:  database system was shut down at 2021-02-19 04:19:39 UTC
psql        | 2021-02-19 04:19:40.886 UTC [47] LOG:  database system is ready to accept connections
psql        |  done
psql        | server started
psql        | CREATE DATABASE
psql        |
psql        |
psql        | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/1-dump.sql
psql        | CREATE SCHEMA
psql        | CREATE TABLE
psql        | CREATE TABLE
psql        | INSERT 0 1
psql        | INSERT 0 1
psql        | INSERT 0 1
psql        | INSERT 0 1
psql        |
psql        |
psql        | 2021-02-19 04:19:43.639 UTC [47] LOG:  received fast shutdown request
psql        | waiting for server to shut down....2021-02-19 04:19:43.645 UTC [47] LOG:  aborting any active transactions
psql        | 2021-02-19 04:19:43.647 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
psql        | 2021-02-19 04:19:43.647 UTC [49] LOG:  shutting down
psql        | 2021-02-19 04:19:43.694 UTC [47] LOG:  database system is shut down
psql        |  done
psql        | server stopped
psql        |
psql        | PostgreSQL init process complete; ready for start up.
psql        |
psql        | 2021-02-19 04:19:43.773 UTC [1] LOG:  starting PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
psql        | 2021-02-19 04:19:43.773 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
psql        | 2021-02-19 04:19:43.773 UTC [1] LOG:  listening on IPv6 address "::", port 5432
psql        | 2021-02-19 04:19:43.779 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
psql        | 2021-02-19 04:19:43.790 UTC [102] LOG:  database system was shut down at 2021-02-19 04:19:43 UTC
psql        | 2021-02-19 04:19:43.800 UTC [1] LOG:  database system is ready to accept connections

Additional notes

If the POSTGRES_USER  is the same as the schema (platzi)  it saves the data. With other users the same error happens
Tried with different tags, like 11, 12 and 13
The same error occurs with docker run, as well as the fix of using the same name

I think \dt by default only shows the public schema. If you specify \dt platzi. it works as expected
$ docker exec -it psql psql -U postgres
psql (13.2 (Debian 13.2-1.pgdg100+1))
Type "help" for help.

postgres=# \c test
You are now connected to database "test" as user "postgres".
test=# \dn
  List of schemas
  Name  |  Owner
--------+----------
 platzi | postgres
 public | postgres
(2 rows)

test=# \dt platzi.
          List of relations
 Schema |   Name   | Type  |  Owner
--------+----------+-------+----------
 platzi | alumnos  | table | postgres
 platzi | carreras | table | postgres
(2 rows)

I think \dt by default only shows the public schema. If you specify \dt platzi. it works as expected
$ docker exec -it psql psql -U postgres
psql (13.2 (Debian 13.2-1.pgdg100+1))
Type "help" for help.

postgres=# \c test
You are now connected to database "test" as user "postgres".
test=# \dn
  List of schemas
  Name  |  Owner
--------+----------
 platzi | postgres
 public | postgres
(2 rows)

test=# \dt platzi.
          List of relations
 Schema |   Name   | Type  |  Owner
--------+----------+-------+----------
 platzi | alumnos  | table | postgres
 platzi | carreras | table | postgres
(2 rows)

I see, I am missing the dot after the name of the scheme. I only have doubt, because when I put the same name if I can see the scheme


COMP: Fix compile error due to missing itk:: prefix for MakeFilled

Sample error message:
T:\Dashboard\ITK\Modules\Nonunit\Review\test\itkImageFunctionTest.cxx(137,17): error C2065: 'MakeFilled': undeclared identifier [T:\Dashboard\ITK-build\Modules\Nonunit\Review\test\ITKReviewTestDriver.vcxproj]
PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)

@dzenanz Sorry for missing this one.  I turned Review off at one point.

unnecessary image->SetOrigin and image->SetSpacing calls

This is a test, and as such it exercises those methods. But removed, as that is not the point of this test 😄

@hjmjohnson this PR fixes a compile error. You are quite welcome to follow up with that style PR.


feat(clients/qbit): Add support for custom tagging of cross seed torrents

Closes https://github.com/cross-seed/cross-seed/issues/362
Adds a new --cross-seed-tag config for providing custom tags to cross seed torrents.
Still need to validate the changes, but don't have a setup going yet, these clients still need to be validated if someone already has a good test env:

[ ] qbitorrent
[ ] deluge
[ ] transmission

This is my first PR to this project so please let me now if anything needs to be modified

We are generally pretty hesitant to add additional config options, particularly since this issue was brought up specifically for qBittorrent and the other clients do not have tags.
If you could outline in your PR description exactly how and when this is going to be applied to the clients without tags, and in what scenarios this would be used and desired for the clients other than qbittorrent, I think that would help describe your implementation without having to actually read the code and decipher what it is doing and where, as well as allow us to review better - since we know your intention - in the case of any potential bugs.

Also, rTorrent utilizes the TORRENT_TAG as well, this wasn't mentioned?

Were you going to edit your PR description to explain what you did and stuff?


Y.yql probably should not require the “new” keyword

The YQL module is a Class that requires it to be called using “new” for setting the “this” context. It seems more the case that you’d be using this as a utility like Y.io or Y.jsonp, both which don’t require  the “new” keyword.
JSLINT does not like statements that begin with “new”; therefore I find myself always assigning the call to var: var query =  new Y.yql().
The Class' name “yql” in all lower-case doesn't suggest or hint to the developer that they have to invoke the call using “new” as Y.Yql, or Y.YQL would. Even then, still seems more like a utility and imo shouldn’t require “new”…

Closing this out since it's not used any longer.


GridView item dispose() was not called

RT
dispose() was not called when item scrolled out of screen, which causes high CPU rate and fps loss. Because item contains a CachedNetworkImage with a dynamic webp image inside.
Flutter 1.7.8 hotfix4
pull_to_refresh 1.5.4

closed... move StreamBuilder above RefreshConfiguration, and it was solved!


'find' command can not search files under sails/sails-disk directories

Hi,
I tried to run 'find' some files in project root directory like test-sails, 'find' automatically ignores the sails/sails-disk under node_modules, any ideas about how to enable it? but could find files under non-sails directories
For example:
vagrant$ pwd
/vagrant/test-sails
vagrant$ find . -name '*.js' | grep sails # There must be many js files under ./node_modules/sails
./.tmp/public/js/dependencies/sails.io.js
./assets/js/dependencies/sails.io.js
./tasks/config/sails-linker.js

$ sails new test-sails
$cd test-sails
$find . -name '*.js' | grep sails
./assets/js/dependencies/sails.io.js
./tasks/config/sails-linker.js
while the below command could seach many files.
$find ./node_modules/sails/node_modules/ -name '*.js' | grep sails | more


Connect form input to Netlify CMS

Is your feature request related to a problem? Please describe.
I'm wondering can I connect my form input in my site where user can put data and push it to Netlify CMS?
Describe the solution you'd like

Describe alternatives you've considered

Additional context

Closing as stale and/or outdated.


Building outwatch to the single file

Hello, first of all thank you for a great library, it is finally a pleasure for me to develop frontend! But I have noticed that outwatch generates 3 output files, is there a command to produce single file or should I somhow configure webpack for that?

I am guessing, you are using the outwatch example (https://github.com/OutWatch/seed.g8/blob/master/src/main/g8/build.sbt#L52) or configured something similar in your build.sbt:
webpackBundlingMode in fastOptJS := BundlingMode.LibraryOnly() // https://scalacenter.github.io/scalajs-bundler/cookbook.html#performance

This will generate 3 files in fastOptJS, one file for all your dependencies, one file as a wrapper and entrypoint. And then it generates another file for your actual sources. This way, you do not need to generate everything in webpack when doing ~fastOptJS.
If you do fullOptJS, you should get one js file as output. You should always do full opt for production, because the scala-js compiler will do much optimizations.
Does that help?

Yes, this works, thank you very much.


Support ssl for Syslog

Issue:
https://github.com/rancher/rancher/issues/14465
https://github.com/rancher/rancher/issues/14464
Types:
https://github.com/rancher/types/pull/506

LGTM


Release 1.4.1

Test phase

[ ] Setup regression test
[ ] Run manual autobahn testsuite against the server

Pre-Release

[ ] All closed issues have a label and a correct milestone
[ ] All merged pull requests have a label and a correct milestone
[ ] Ensure that the documentation (readme) is up to date

Release

[ ] Push to maven central

After the release

[ ] Update Changelog.md
[ ] Setup the Github release with the pushed jars from maven
[ ] Force an update for the javadoc view
[ ] Update pom.xml version to the next snapshot version
[ ] Close milestone and create a new one

Would you mind adding https://github.com/TooTallNate/Java-WebSocket/pull/971 to the release (or comment on it if there are issues so that I could resolve them)?


Fix title of plot

The first paragraph says "Let A denote the event that our code has no bugs in it." so I think the title is a bit reversed.
Thanks for the book, I just started reading it.

🐨 makes sense to me!


Fix repo link on crates.io

Addresses #8

Wrong repo. Created new PR here https://github.com/sigp/ethereum_ssz/pull/9


iOS: onNotificationAPN is not firing

When the app in the background or coldstart the onNotificationAPN  function is never called so what to do in this case to get the payload value?

+1 i have a same problem


[ISSUE#436]Set JVM options according to JDK version

What is the purpose of the change
Fix for ISSUE #436
Brief changelog
Add the java version check logic in tools.sh and runserver.sh
Verifying this change
verified in macbook and Linux(centos)
To run the following cmds:
sh bin/mqnamesvr
sh bin/mqadmin

Coverage increased (+0.2%) to 42.517% when pulling ebd0129f5999d87e40ecf7e882eb50264f69c779 on walking98:develop into 37a642cc12730873f505dcc4130aa73be4df3999 on apache:develop.

Close PR due to a null repository.


Storage result

Use a result class for the return values of ScanResultsStorage.

Merged, ignoring the unrelated error in NpmVersionUrlTest which will be fixed as part of #2360. All storage related tests have passed.


DSL-4 Made errorRouting use Transition Condition mechanism

For now it is WIP, I don't yet quite understand, how the rooting in Worker should adopt to that mechanism. The DSL part is done thou

Still WIP

ready


What about switching to encoding_rs?

https://github.com/Enet4/dicom-rs/blob/de7dc5831171202fb20e1928e2c7ff27c5b95f85/encoding/Cargo.toml#L16
Disclaimer: I'm not a developer.
encoding looks unmaintained (last commit 7 years ago). What about switching to encoding_rs instead?

Seems like a duplicate of #200. That is practically in the project's plans. The migration isn't entirely trivial because the crates expose different APIs and some of the encodings are not directly available in encoding_rs.


nodejs runtime error for Lambda during deployment

Current version is failing with Lambda runtime error during deployment and rolls back changes. Local nodejs is 20.x:

11:12:25 AM | CREATE_FAILED        | AWS::Lambda::Function                       | AWS679f53fac002430...7982bd22872D164C4C
Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x)
while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 8aae1b26-9a56-4240-9764-1738caec8371)" (RequestToken: ad03482d-062b-841f-6bc0-ef6b6ff4b793, HandlerErrorC
ode: InvalidRequest)

Bumped aws-cdk version to 2.132.1 in package.json
Deleted node_modules and cdk.out
npm install with nodejs v20.x
npx cdk deploy


Task workdir setting

Allows tasks to run from a subdirectory of the task image context. Everything in the context (defined as the folder containing cowait.yml) will still be copied into the /var/task folder of the image, but the working directory will be set to the specified subdirectory. This makes it possible to keep cowait tasks out of the project root. When the working directory option is set, both the project root and the working directory will be added to the PYTHONPATH.
Example project structure:
/root/
  /other/
    ...
  /tasks/
    Dockerfile
    task1.py
  cowait.yml
  README.md

version: 1
cowait:
  workdir: tasks

$ pwd
/root/
$ cowait run task1

Todo: Add a --workdir option to cowait build


@evmts/core package types don't resolve in NodeNext

This is likely because we are importing a viem type from deep in it's package rather from public interface and should go away once we remove this hack

Moving to linear


[BUTTON IDEA]: Extra-Small, Small, Large and Extra-Large Buttons

1. Name of button: x-small-btn, small-btn, large-btn, x-large-btn
2. Description: Four different size options for buttons, using relative length units
3. Button Type (Animated, Special, etc...): Styles
4. Will you work on it?: Yes

Can we just add the extra small and extra large?

Sure, no problem!


move input number to the URL

rather than taking the # of numbers to produce from the http body, grab it from the URL - e.g. .../fib/5
This will make it a lot easier for people since they won't need to add -H Content-Type... or the -d ...json.. stuff to the curl commands. Anything we can do to reduce the pain/type would be good.

close? @duglin

yep - done


Code splitting to improve performance, fix login code-auth flow

Use Suspense and React.lazy to code split the application to optimize initial load.
Save dark mode settings in local storage.
Refresh token once every 15 min (activated upon successful login, init and a successful refresh).
Fixing login auto code flow with useAuthContext, no more blank white page.
Fixing menu not closing when clicked on.
Fixing text readability in dark mode.


leetcode-3: solution added

leetcode-3:
- file: string/basic/leetcode/F003/Solution.py
- new solution added

I have added a review about indent in commit message...you may want to take
a look at review message in pr-24
Regards,
Reyad
On Fri, Nov 6, 2020 at 8:57 PM Ratul Roy<EMAIL_ADDRESS>wrote:

@phase7 https://github.com/phase7 requested your review on: #24
https://github.com/reyadussalahin/problem-solving/pull/24 leetcode-3:
solution added.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/reyadussalahin/problem-solving/pull/24#event-3967571446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQICGMFLT54KT5UBX6WIKDSOQFGBANCNFSM4TMYWTFQ
.


⚠ Bofrost.es has degraded performance

In 80a674b, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 2043 ms

Resolved: Bofrost.es performance has improved in 57d5844 after 18 minutes.


Elipsis is required in Protocol class, if only using docstring raises GeneralTypeIssue

Environment data

Language Server version: 2023.11.10
OS and version:  win32 x64
Python version: python 3.12.0
python.analysis.indexing: true
python.analysis.typeCheckingMode: basic

Code Snippet

from typing import Protocol

class SingleEndedChannel(Protocol):

    @property
    def frequency(self) -> float:
        """Frequency of the output signal."""
        ...

Repro Steps
Remove the ellipsis (...) and the GeneralTypeIssue will be raised.
Expected behavior
I expect that I should not need to add ...
Actual behavior
I get a reportGeneralTypeIssue
Logs

XXX

This is intended behavior. Protocol classes are allowed to provide implementations for methods, and subclasses of those protocols inherit those implementations. A ... indicates to a type checker that the method's implementation isn't intended to be treated as such — and that the method should instead be treated as a "template" for structural type checks. If you omit the ellipsis, pyright (the type checker that underlies pylance) will assume that it should type check the method as though it has a real implementation.

I'm guessing that you filed this issue because ruff's code formatting is removing the ... from your protocol definition. I've replied to a thread in the ruff issue tracker to clarify that ruff's formatter shouldn't remove the ....

Yes, it was removing it! Thanks for filing an issue with Ruff and thanks for the explanation.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/441 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 7ad257e:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-03-30-03-50-43 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-03-30-03-50-43

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


NPSP Data Import - Upsert failed

When using the NPSP Data Importer, the records have been uploaded successfully into my Salesforce instance. However when I select my records, press "Start Data Import", and on the next screen "Begin Data Import Process", I receive an error saying:
Upsert failed. First exception on row 0 with id a0a28000000Gy1HAAS; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: []
Error is in expression '{!importData}' in component apex:commandButton in page npsp:bdi_dataimport: (npsp)

Hi @alphasys This is something that needs to be worked in to the new Data Import guide, but it's not a bug or issue. It just means that a custom setting record hasn't been set in your instance for the Data Importer.
Go to Setup > Develop > Custom Settings. Click Manage to the right of Data Import Settings and then click New button at the top. Don't enter anything, and click Save.
Then you should find the Import tool will work without error.
More on the Hub on this here: https://powerofus.force.com/0D58000001wlXmG

Hi that worked, thanks.

@ceiroa We need to understand why several users are running into this recently.  we are doing an upsert on the Settings, which should work whether they are being created for the first time or updated.  Why would this start causing problems now?  change in the platform?  change in our settings code?

Included in beta release version 3.36 (Beta 4) and higher

Included in production release version 3.36


Remove busy wait completely in TaskScheduler

I'm pretty sure we actually didn't fix the busy wait. In runWorkerThread(), we continue if there is no schedulable task. That means we unlock, re-lock, check if the queue is empty (it's not) and then play the same game.
Basically, the issue is that we don't remove tasks from the queue once they have been scheduled on enough threads, I think.


rich printing

This PR adds Rich as a dependency and includes the option to print with Markdown formatting with the --rich flag.

Resolves: #12
Let me know if you're still interested in this and I'm happy to adapt it if you'd like

I just tried this and it is so nice to see!
I coupled it with #293 to add readline and together they make chat a real pleasure to use

I see it's done with the .live() option, with streaming. Very nice. Previously it was possible to pipe to output to Rich to get Markdown rendering, but then streaming is lost. Live Markdown is a readability boost especially for chat mode.

any chance this functionality could move forward? Whether from this PR or another like it. imo it'd be a boon to the UX of this tool!  @simonw

Looks awesome, would love to see this implemented!

I've been wanting to implement this myself for weeks. I use llm daily and the lack of rich formatting is the only issue I have with it. I recently discovered rich and found it delightful and robust, so was planning on adding this to llm myself, but discoverd this PR. Are we just waiting on @simonw to review or is there work to be done? I'm happy to help :)

UPDATE: I rebased, fixed some weird edge cases that were causing tests to fail, and resolved merged conflicts. I've opened #571 with the improvements, as this PR seems to have gone quiet 😢


🔧 Use ObjectPools for chat request/response schemas

Use ObjectPools to optimize memory allocation of

chat request/response schema allocations
chat stream chunk schema allocations

@roma-glushko Could you assign this one to me? I've got a PR up for the first part, and will start working on streaming.


Add Support to Wagtail 5.2

When I upgrade wagtail version from 5.1.3 to 5.2, I got the following the warnings:
wagtailmenus.FlatMenu: (wagtailadmin.W002) FlatMenu.content_panels will have no effect on modeladmin editing
HINT: Ensure that FlatMenu uses panels instead of content_panelsor set up an edit_handler if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Content tab for the content_panels to render in.
wagtailmenus.FlatMenu: (wagtailadmin.W002) FlatMenu.settings_panels will have no effect on modeladmin editing
HINT: Ensure that FlatMenu uses panels instead of settings_panelsor set up an edit_handler if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Settings tab for the settings_panels to render in.
wagtailmenus.MainMenu: (wagtailadmin.W002) MainMenu.content_panels will have no effect on modeladmin editing
HINT: Ensure that MainMenu uses panels instead of content_panelsor set up an edit_handler if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Content tab for the content_panels to render in.
wagtailmenus.MainMenu: (wagtailadmin.W002) MainMenu.settings_panels will have no effect on modeladmin editing
HINT: Ensure that MainMenu uses panels instead of settings_panelsor set up an edit_handler if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Settings tab for the settings_panels to render in.
Wagtail version: 5.2
Wagtailmenu version: 3.1.9

This warning can be safely ignored. The add/edit views for wagtailmenus use this mixin, which takes care of creating an edit handler for the view to use.

@ababic , do you think it makes sense filter out these specific warnings with warnings.filterwarnings + an explanatory comment?

@MrCordeiro if trivial, then sure. I can't say I'm very familiar with that API though. It looks a little cumbersome.

Just a small update on that item.
The warnings come from Django's system checks framework. The problem is that a third-party app can't directly manipulate checks registered by other apps (Wagtail, in this case).
The workaround is having developers silence these warnings in their applications, using the SILENCED_SYSTEM_CHECKS settings:
# settings.py
SILENCED_SYSTEM_CHECKS = ["wagtailadmin.W002"]

The problem with this, of course, is that it will also silence any instance where the warning shouldn't be ignored. So I don't recommend it.

I'm going to close this issue for now.
I'm also leaving a copy of @ababic's answer to #468 so that visitors can quickly find the reason why they can safely ignore those warnings:

Hi @yarickprih. These changes aren't actually needed, because the custom views used by wagtailmenus generate their own edit handler from the content_panels and settings_panels attributes on the model.
Adding these edit_handler attributes to the models actually means that, in order to add their own panels to either tab, developers need to completely override edit_handler instead of just adding items to content_panels and settings_panels (like they can currently).
Originally posted by @ababic in https://github.com/jazzband/wagtailmenus/issues/468#issuecomment-1806913973


[BUG] Document layer can't edit saved filter

What is the bug?
When I click "Edit filter" for existing filter in document layer, it displays a new filter instead of saved filter.

What is the expected behavior?

What is your host/environment?
OSD 2.6

@ruanyl Can you take a look into this issue?


Error: Protractor ng-app no injector for element argument found

Hi everyone,
A few weeks ago I asked on stackoverflow for help on this issue (please read there):
http://stackoverflow.com/questions/33502883/error-protractor-ng-app-no-injector-for-element-argument-found-set-rootelemen
But until now nobody has answered. Has nobody here had the same problem? Or can somebody help?
I'm thankful for any input or answers.
Greetings,
Miro

Hi there,
GH issues is still not the best place for this, unfortunately, since this deals with usage and debugging, not an issue with protractor core. I've just responded with a comment on the StackOverflow question. Let's try to sort things out there or on Gitter.
Thanks!


missing information about s3 usage

Docs don't explicitly say that when one is trying to use s3 or s3 compatible storage there should already exist bucket.
Then, if you would try to push data to s3 and bucket wouldn't exist, you would get the following:
Preparing to upload data to 's3://my/remote/'
Preparing to collect status from s3://my/remote/
[############                  ] 40% Collecting information
ERROR: failed to push data to the cloud - An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: Unknown

So I propose to explicitly say in docs that you should already have existing bucket to be able to push to s3.
Following docs are related to s3 usage:
https://dvc.org/doc/get-started/configure
https://dvc.org/doc/commands-reference/remote-add
Related discussion in ods:
https://opendatascience.slack.com/archives/CGGLZJ119/p1559831715009900

Moved to dvc.org repo

@efiop @pared we need to improve the error message, guys. Ideally, all remotes should behave the same way (local creates a dir as far as I remember). Documentation should be fixed, yep.

@shcheklein even though error says that NoSuchBucket, but yes, we could catch it and show something friendlier. Created https://github.com/iterative/dvc/issues/2100 .
As to creating dirs, dir is not the same as bucket, we do automatically create prefixes everywhere. But, thinking about it, we actually auto-create containers in Azure, so maybe creating something by-default is fine with s3 too after all. Created https://github.com/iterative/dvc/issues/2101 for that too.

Can I take this up?

Actually, it is mentioned in use-cases to create a bucket before connecting it to dvc remote as of here https://dvc.org/doc/use-cases/share-data-and-model-files . But I think mentioning it in commands-reference/remote and commands-reference/config will do good.

@Naba7 definitely, let's mention this!

@Naba7 reopening this since it should be added to the documents actually mentioned in the ticket

@shcheklein Sure, I will prepare a proper markdown file for this.

I should add the same to commands-reference/remote-add. Thanks @shcheklein


make option element of type elementType

I'm using material-ui and I want the scroll container to be a Grid node. So I did
import { Grid } from "@material-ui/core";
...
<InfiniteScroll
  loadMore={loadMore}
  hasMore={hasNextPage}
  loader={
Loading...
}
  element={Grid} container spacing={3}
>
...

which works great. Note that container and spacing are props that are passed down to the Grid component.
The only problem is that I get a warning in the dev console:
Warning: Failed prop type: Invalid prop `element` supplied to `InfiniteScroll`, expected a ReactNode.

This could easily be fixed by changing
InfiniteScroll.propTypes = {
  ...
  element: _propTypes2.default.node,
  ...
};

to
element: _propTypes2.default.elementType

why is this being ignored for so long?

Someone has even made a PR for that: https://github.com/danbovey/react-infinite-scroller/pull/228
@danbovey Any chance for merging & releasing?


Swashbuckle UI doesn't with custom reason phrase

I'm trying to send back custom reason phrase of messages with a 404 status code.   When I do this the test swashbuckle UI doesn't display an error.  It just keeps spinning like it is waiting for a response.  Any ideas on this would be appreciated.

Can you provide some code examples? I need a little more information to fully understand what you're trying to do

Closing due to lack of additional information


MysqlSubscription with Router

Is it possible to use MysqlSubscription with Iron-Router or Flow-Router?

Yes, You can use MysqlSubscription with Iron Router instead of using it on the client file.
Router.route('page', {
...
subscriptions: function() {
return [
subsctriptionOne = new MysqlSubscription('name_one'),
subsctriptionTwo = new MysqlSubscription('name_two')
]
...
} );

Hmm, I can't get a MysqLSubscription working in Iron-router.
Keep getting the error "Exception in callback of async function: Error: Subscription failed!"
Router.route('pageDetail', {
path: '/pages/:_id',
subscriptions: function(){
return new MysqlSubscription('data', 'dDB2xAbbSkG4HJCvW');
}
});
Defining the mysqlSubscription outside of iron router works perfectly. What could be the problem?

I cant get this to work, I keep getting the error "Exception in callback of async function: Error: Subscription failed!".
My code:
Router.route('measurementDetail', {
path: '/measurements/:_id/dashboard',
waitOn:function(){
return [
mysqlSub = new MysqlSubscription('measurementData', this.params._id)
]
}
});
Why doesn't this work?

HELP

This work:
waitOn: function() {
	return [Subs1.reactive(), Subs2.reactive(), Subs3.reactive()];
},


Add uStreamer, up-simulator to docker container

This project will likely need its own repository once PoC work is done.

Could you explain a little more what changes would be coming to this repo to support this?

So I don't think it would be coming to this repository... but we don't have a "up-docker" repo yet, so figured it was most relevant here. Can move it somewhere else if you think that'd be better

Let's see if @stevenhartley has some thoughts. IMHO it would be better served in another repo.

Let's chat live about this tomorrow

Gonna close this out. Once I'm done with that work, I'll need a new repo in eclipse-uprotocol, and will open further issues there.

Neat, they have a "close as not planned option" :slightly_smiling_face:


Archive multiple operators if they are removed from the Operations form

In #280 multiple operators are saved in the multiple_operator table once the form is saved. We will need to archive them if they are removed and the form is saved again. This issue is blocked my #326 being implmented.

[ ] Archive multiple operators if they are removed and the form is saved again
[ ] Filter out multiple operators that are archived so they aren't displayed in the form

@Sepehr-Sobhani, is this done as part of https://github.com/bcgov/cas-registration/issues/289?

Edge case to still consider

Edge case to still consider

This is implemented now, see the upsert_multiple_operators service. We don't need this ticket anymore


Accessing metadata in Python

Hi,
I am trying to send metadata from the server to client.
If my service responds with a stream, I can simply call the initial_metadata() from the response and get the metadata provided by the server. However, for a service that does not return a stream, but a single response, I can't seem to be able to access the metadata provided by the server.
Is it possible to send metadata from the server to the client for a service that does not respond with a stream?
Thanks!

If I'm combo-remembering/reading-the-code right, you're going to want to call the future() method on your stub invocation to get a grpc.Call object back. That object should then provide you the metadata for non-streaming calls.

Hi,
thanks! This works. The future() method returns a grpc._channel._Rendezvous object, from which I can then call initial_metadata().


Update batch with multiple where clause

I want to do a update batch with multiple where conditions.
Currently i am not able to do the same.
Request you to guide me the same.

Ask your questions on the forums please, this is a bug tracker.

github issue tracker is for bugs not help request
please ask your questions in the forum or in IRC

This is not working
ne or more rows submitted for batch updating is missing the specified index.
and locking time.


Bump Python version

Heroku-22 stack does not support 3.8.6 specified in runtime.txt.

Will need to train new models since breaking changes have occurred (at least in scikit-learn) since the last push to heroku.


v5 questions

Hello! I am writing litedb wrapper for f#, and have some questions about upcoming v5 version of litedb.

Is BsonValue.RawValue intentionally made internal? If so, is there a way to get raw value now?. I am badly need this for enum case.
Same question for BsonValue(object). This was very handy in some cases.

Hi @vshapenko, both changes was made to remove from user pottencial bad-use of BsonDocument.
But if you need it in F# conversion, it's possible change this or maybe create another class like BsonValueWrapper that contains access to this RawValue and implement ctor for Object

Sounds like a good idea.
пт, 11 окт. 2019 г., 16:01 Mauricio David<EMAIL_ADDRESS>
Hi @vshapenko https://github.com/vshapenko, both changes was made to
remove from user pottencial bad-use of BsonDocument.
But if you need it in F# conversion, it's possible change this or maybe
create another class like BsonValueWrapper that contains access to this
RawValue and implement ctor for Object
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mbdavid/LiteDB/issues/1336?email_source=notifications&email_token=AEKNDOSUG2IS4BH62OTTYYLQOB2JLA5CNFSM4I7MKGOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA75PHA#issuecomment-541054876,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEKNDOR5JBXBVTUQN37YAOLQOB2JLANCNFSM4I7MKGOA
.

The author of Mdbc is here.
(Mdbc is the PowerShell wrapper of the official MongoDB C# driver).
I recently discovered LiteDB, found it fascinating, and I am now thinking
(exploring?) the similar wrapper for LiteDB.
I must tell that LiteDB v5 API is PowerShell friendly right out of the box, at
least comparing to the MongoDB C# driver v2. But there are numerous nuisances,
not faults of the LiteDB design, just the PowerShell reality.
One of the nuisances is the mentioned absence of the public RawValue of
BsonValue. PowerShell would be very happy to get just object. After all,
working with raw objects is what PowerShell does. But this not possible at the
moment. Extracting the real value is tedious, too difficult for such a basic
operation.
Using returned BsonValues in PowerShell is not a practical option. Even
though they sometimes behave "like real objects/values", the type is not
"native" and it it should be unwrapped ASAP to avoid various issues.

both changes was made to remove from user pottencial bad-use of BsonDocument.

It sounds wise and precarious. But the reality is, this is practically needed.
So people will have to implement their own type switch conversion blocks to do
the same job (object <-> BsonValue) in every use case, with some pain and
errors, indeed.
It might be better to expose this correct functionality, even if misuse is
possible. What were the cases of misuse in practice?

Some thoughts on minimizing misuses of hopefully restored features.
BsonValue.RawValue is already in a good shape, in my opinion. It is not implicit. If I type it, I get what I ask for, an object that I need for whatever reason not typed.
BsonValue(object) looks not quite right with its implicit nature. Then a static method with some proper unambiguous name would do the trick is a safe way. For example, Convert, TryConvert, or even both?

Hi @nightroman, I will check is it's possible make this public as  get only.... I'm planning to create a immutable version of BsonDocument/BsonArray so I need to check if this will not open a possible to be changed.

@mbdavid, thank you, I am looking forward to this or something else for object <-> BsonValue.
P.S. If I proceed with creating LiteDB module for PowerShell, I need to create the PowerShell friendly wrapper of BsonDocument, namely IDictionary<string, object>. It has to unwrap and wrap BsonValues internally. Input and output values must be object in order to be PowerShell friendly.

Just in case, the MongoDB C# driver's BsonValue exposes RawValue as get only and provides the static Create(object). I am not saying that LiteDB should follow. But the similar precedent exists.

Hi, my project (https://alemik.com/) is based entirely on RawValue and BsonValue(object).
I am almost ready to release a new version 0,8 with many features. Please please please please consider to restore those features.


Struggling to build on RHEL 8

Hey @doksu thanks again for your FOSS contributions for those of us using Splunk!
We're keen to explore this policy as a way of avoiding the complication of setting ACLs and default directory ACLs on all of /var/log but then having to exclude specific things and deal with random applications which write specific permissions wiping out the ACLs.
Unfortunately I'm struggling to build this for RHEL 8.  I'm a novice having not looked in to custom policies since doing SELinux training over 6 years ago!  Could you help  please?

We've modified line 51 of splunk.te to reference distro_rhel8 instead of distro_rhel7.
We're using the make command with DISTRO=rhel8 FWIW.

But when I try to install the module I get the following error:
# semodule -i splunk.pp

Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/splunk/cil:66
semodule:  Failed!

I've looked through the unzipped cil file and line 64 to 67 contain:
(typeattributeset polymember (splunk_tmp_t splunkadm_sudo_tmp_t ))
(typeattributeset cil_gen_require consoletype_exec_t)
(typeattributeset cil_gen_require bin_t)

Have you used this on RHEL 8?  (RHEL 9 isn't far away now!)
Have you used Splunk with the systemd unit files rather than SysV init as this policy covers?
Thanks very much!

With the -v verbose flag:
# semodule -v -i splunk.pp
Attempting to install module 'splunk.pp':
Ok: return value of 0.
Committing changes:
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/splunk/cil:66
semodule:  Failed!

Fixed - I missed replacing the second reference to rhel7 on line 66 of splunk.te


bootstrap: Rename btn -> bootstrap-btn in CSS classes and JS variables.

This is a prep PR for the upcoming button redesign, which renames btn-related classes and variables to align with Zulip's no-abbreviations policy and streamline the search results.
I have tried to make the commits as atomic as possible, to help with a faster review process.

Screenshots and screen captures: N/A

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I think basically all the changes proposed above are more easily done and reviewed as follow-ups than rebasing this PR. Merged, thanks @sayamsamal! But it'd be great to see a follow-up PR doing some of the cleanups noted here, since they all seem pretty easy.


Timer with onremind but no onIdle will get garbage collected?

Not sure if its a bug, but I used two v-idle timers, one is a global timer where it is set on a continuous loop, and when onRemind of this timer  is called, will open a popup that shows another v-idle timer. The onIdle function of this popup timer will do the actual logging out of the user, so I didn't need an onIdle function for the first timer.
However, if the page is not in focus for a while, the first timer will stop counting down, hence the onremind will never be called and the popup won't show. I spent a lot of time debugging this, and eventually managed to get the first timer to always countdown by specifying onIdle on the first timer as well.
Of course, I could use only one timer, and  when onRemind is called, write some javascript to move the global timer to the popup, but I figured it'll be easier to specify timers in two different places in html instead.
Just a suggestion to perhaps make onIdle not compulsory for all v-idle timers ?
Thanks.

@sookyee
just found some time to fix all issues, can you check if it's still an issue? I tried to reproduce it, but I couldn't


Figma

Hey @pavelkuligin
Do you have any plans to support Figma when figma's API for plugins will be available ?
Unfortunately, Bohemian team moves very slow with their sketch and I really think to jump to Figma very soon.
Thanks,
Ivan

@ivancucer Sure, I'm working on it right now and I expect that Chart will be available in August.
It will be free until the end of the year and then you can use your subscription for Chart, no need to pay twice.


Release v1.10.0

Added

Add support for new Prompts and Screens for Prompt Partial #437 (developerkunal)
Add Organizations for Client Credentials #432 (duedares-rvj)
Add Support for Control Your Own Key (CYOK) and Bring Your Own Key (BYOK) Features with New EncryptionKeyManager #435 (developerkunal)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.67%. Comparing base (f25e6e3) to head (dc96273).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #439   +/-   ##
=======================================
  Coverage   95.67%   95.67%
=======================================
  Files          49       49
  Lines        8187     8187
=======================================
  Hits         7833     7833
  Misses        237      237
  Partials      117      117

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Disabling metadata queries - original #23203

Description
Has this actually been fixed (item #23203)? That is, I'm trying to use Version <IP_ADDRESS>409221725 - with various version of the Snowflake JDBC driver, and I can't find any way to disable the extra metadata queries. I've tried all above (unchecking ALL of Metadata: Show row count for tables
Editors: Force object refresh on editor open
Data Editor: Read table metadata (unique keys)
Data Editor: Read table references (foreign keys)
SQL Editor: Save/restore active schema
Code editor: Read database table/columns for semantic analysis
SQL Processing: Refresh active schema after SQL Execution)...
And I still get the extra queries, such as:
show /* JDBC:DatabaseMetaData.getForeignKeys() */ imported keys in database "ZZZZZ";
...
Which causes the whole tool to just hang forever in our environment because of the catalog size here.
Is there a way to truly turn off all the extra meta-data querying?  Was this fix undone by new versions?
Thanks-
R
DBeaver Version
Community Edition Version <IP_ADDRESS>409221725
Operating System
Windows 10 Enterprise
Database and driver
Snowflake snowflake-jdbc-3.14.0.jar
Steps to reproduce
Run a query - review the Snowflake Query Activity and see all the metadata queries still executing despite unchecking everything that should prevent them.
Additional context
No response

I suggest checking the setting Do not read tables metadata in SQL and data editors in Connection configuration->Metadata. Does it help?

Have you noticed what you are doing when DBeaver sends this query? You can view all queries DBeaver sends to the database in Query Manager. To use it:

Open Query Manager

Turn on showing all types of queries


Render whitespace for user-entered text

Previously, if users were using whitespace in text fields (eg., line breaks, spaces), they wouldn't be rendered back to them.
Notes page, before:

Notes page, after:

Intervention text, before:

Intervention text, after:

Progress note, before:

Progress note, after:

Addresses https://github.com/codeforamerica/somerville-teacher-tool/issues/319


New version release process

Write documentation for all changes. Document changes in the readme.md. Make sure breaking changes are highly visible.
Edit the following files with the new version number.
bower.json
package.json
moment.js // lines 2 and 14

Run the release grunt task.
grunt release

Commit the changes
git commit -am "Bumping version to ..."

Merge into master
git checkout master
git merge develop

Tag the release
git tag -am "2.1.0" "2.1.0"

Push the tag to Github.
git push --tags

Publish on npm
npm publish

Release on momentjs.com.

Closing. I believe that this has been completely subsumed by #1816

It doesn't look like the current nuget-publish task publishes the Moment Timezone package to NuGet. Can that be included in #1816 as well?

I'm so glad I closed this. We find things like this out.
Moment Timezone is on an entirely different release cycle from Moment. It seems like something is up here, because the current version of moment timezone is 0.5.3, but NuGet is on 0.5.0 - which really stinks for anybody in Russia.
@corydeppen , I'm new to the moment team, so you will have to bear with me on this. I just pinged @timrwood on Slack to see if he can clarify what is supposed to happen.

Sorry, I didn't mean to imply this should be published using the same build task. I'm not able to comment on #1816 and I just wanted to mention it'd be great if a similar build process could be added to the Timezone project to publish the NuGet package.
I just pushed 0.5.3, as well 0.5.1 and 0.5.2, to NuGet so all releases should be available there now.

Tracking adding this to moment-timezone here: https://github.com/moment/moment-timezone/issues/326


social.react.sh - We're on it!  [object Object] error

Something went wrong :)

see https://github.com/react-in-action/letters-social/issues/595


Add big integer column support

What is this pull request for? Why do you create this pull request?
Add long (also known as big integer) column type support #141
What is changed?
New column definition for big integer
Other comment
Some side files have been changed due to my local code style settings I guess. Let me know if it matters or not (should we gitgnore them?)

Up

I guess that overloading is a way to accept integer value.


[Internal] : Change LazyCosmosObject's cachedElement property from Dictionary to Lazy

Pull Request Template
Description
Change initialization of cached elements to Lazy<>, to improve managed memory
Type of change
Please delete options that are not relevant.

[] Bug fix (non-breaking change which fixes an issue)

Closing issues
To automatically close an issue: closes #IssueNumber

/azp run

/azp run

Please submit a benchmark that shows the memory improvement. We can also just remove the caching layer and have the caller wrap the object.

I checked improvement by creating dump file while running an integration test locally on visual studio and checking the object allocation there. Does that suffice, or do we need something more involved?

With this change, LazyCosmosElementsBenchmarks
                     Method |     payload | jsonSerializationFormat | accessMode |        Mean |     Error |  Gen 0 | Allocated

CreateAndNavigateCosmosElement |      object |                    Text |      Never |    148.5 ns |   1.79 ns | 0.0777 | 488 B
CreateAndNavigateCosmosElement |      object |                    Text |       Once |  9,605.4 ns |  56.46 ns | 0.9766 | 6176 B
CreateAndNavigateCosmosElement |      object |                    Text |       Many | 39,295.3 ns | 223.86 ns | 6.6528 | 41960 B
CreateAndNavigateCosmosElement |      object |                  Binary |      Never |    135.7 ns |   0.67 ns | 0.0548 | 344 B
CreateAndNavigateCosmosElement |      object |                  Binary |       Once |  6,146.8 ns |  24.49 ns | 1.0147 | 6376 B
CreateAndNavigateCosmosElement |      object |                  Binary |       Many | 59,887.0 ns | 477.80 ns | 9.6436 | 60664 B
Without this change, LazyCosmosElementsBenchmarks
                     Method |     payload | jsonSerializationFormat | accessMode |        Mean |     Error  |  Gen 0 | Allocated

CreateAndNavigateCosmosElement |      object |                    Text |      Never |    250.7 ns |   1.74 ns | 0.1988 |   1248 B
CreateAndNavigateCosmosElement |      object |                    Text |       Once |  9,829.9 ns |  62.93 ns | 1.2207 |  7696 B
CreateAndNavigateCosmosElement |      object |                    Text |       Many | 40,031.1 ns | 178.95 ns | 7.9956 |   50320 B
CreateAndNavigateCosmosElement |      object |                  Binary |      Never |    223.1 ns |   1.29 ns | 0.1760 |    1104 B
CreateAndNavigateCosmosElement |      object |                  Binary |       Once |  6,302.9 ns |  32.10 ns | 1.2512 |   7896 B
CreateAndNavigateCosmosElement |      object |                  Binary |       Many | 60,968.6 ns | 253.21 ns |10.9863 |  69024 B
We can see that the the mean latency and allocation are extremely lower for Never access mode, and slightly lower for other access modes.

Closing since there has been no update for over 30 days. Please re-open if necessary.

Closing since there has been no update for over 30 days. Please re-open if necessary.


Update Checklists.php

The api has a different endpoint for this action. Changing this by hand required us to extend 3 classes.

Coverage decreased (-3.13%) to 76.99% when pulling cfa020ad5552a821b52e527b7b23d7dfdaee286a on bogdan1993:patch-1 into 686babda42d7286e6be496acf9fd2b1b391e87bc on cdaguerre:master.

@bogdan1993 Thanks for this PR, would you mind fixing the tests?

@bogdan1993 ping


Compatibility with Ruby 2.4.0

Fixes a warning outputted by Forwardable since forwarding to a private method is deprecated in Ruby 2.4:
~/dragonfly/lib/dragonfly/temp_object.rb:55:in `initialize': Dragonfly::Content#tempfile at ~/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:156 forwarding to private method Dragonfly::TempObject#tempfile

Also added Ruby 2.4.0 to Travis.

@markevans Any progress on this?

Any chance for this? As this fixes #471

done - sorry for delay