AttributeError: 'NoneType' object has no attribute 'tzinfo'

Logs
Please provide logs. We'll be most likely asking for them anyway.
2020-01-01 20:40:25 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform alexa_media
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/config/custom_components/alexa_media/sensor.py", line 128, in async_setup_entry
    hass, config_entry.data, async_add_devices, discovery_info=None
  File "/config/custom_components/alexa_media/helpers.py", line 111, in wrapper
    result = await func(*args, **kwargs)
  File "/config/custom_components/alexa_media/sensor.py", line 89, in async_setup_platform
    account,
  File "/config/custom_components/alexa_media/sensor.py", line 343, in __init__
    client, n_json, "date_time", account, f"next {self._type}", "mdi:alarm"
  File "/config/custom_components/alexa_media/sensor.py", line 170, in __init__
    self._all = list(map(self._fix_alarm_date_time, self._all))
  File "/config/custom_components/alexa_media/sensor.py", line 186, in _fix_alarm_date_time
    value[1][self._sensor_property] = timezone.localize(naive_time)
  File "/usr/local/lib/python3.7/site-packages/pytz/tzinfo.py", line 317, in localize
    if dt.tzinfo is not None:
AttributeError: 'NoneType' object has no attribute 'tzinfo'

Additional context
Add any other context about the problem here.

Which Timezone is being checked?  Where would I set it to prevent the error?

Did you try using the code? It will also generate some other diagnostics. It's looking for the timezone set for each Alexa device. If you have non-Alexa devices, it's possible they are not populating that field at all and causing the error. However I need the logs to know.


Entering file name or path issue

Sir when i tried to enter name or path of file it show file not found.sir plz help me by telling how to enter file name or path.plz explain with the help of an example....

Well that's weird,
when it asks you the file path, you can drag and drop the file which will automatically paste the path.

How can i do the same in android phone brother

then you have no other choice rather than entering filepath along filename
eg, /storage/emulated/0/Download/file.txt
something like this

Sir previous issue clear thank you soo much but in most accounts it shows Error in while trying to login HTTP Error 406: Not Acceptable....plz help and kindly explain this there are multiple proxies accounts how can i solve it all....

Well try to use vpn, and since code is not updated from a long time, I think it needs some update

Sir have you the same tool like this for netflix checker if you have send
me commands plz plz plz ....
On Thu, 28 Dec 2023, 6:24 PM Abhijeet @.*** wrote:

Well try to use vpn, and since code is not updated from a long time, I
think it needs some update
—
Reply to this email directly, view it on GitHub
https://github.com/AJTimePyro/Crunchyroll-Account-Checker/issues/11#issuecomment-1871176644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEM4FEXXBI5B4J7F5SUL4QLYLVXJNAVCNFSM6AAAAABBD77NDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGE3TMNRUGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Nope I don't have.


⚠ Processors has degraded performance

In c808e4d, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 46 ms

Resolved: Processors performance has improved in 564726b.


Queue::submit: Validation Error caused by Parent device is lost

Describe the bug
I'm trying to create an implementation of the YOLO9000/YOLOv2 network in Burn with the WGPU backend.
Creating the network works and I can also run it, but I can't use batch sizes larger than 8.
When I use them, the thread panics with the message:

Click to expand
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/burn-wgpu-yolov2-mve`
Model parameter count: 21150400
Testing batch size 1
Batch output shape: Shape { dims: [1, 1280] }
Warmup epoch took 2186.857ms
Epoch 1 took 1015.232ms and reached loss 6400.792
Epoch 2 took 1033.960ms and reached loss 55.710
Epoch 3 took 1006.282ms and reached loss 128.202
Epoch 4 took 1004.970ms and reached loss 213.439
Average time per batch at batch_size=1: 1015.109ms
Testing batch size 4
Batch output shape: Shape { dims: [4, 1280] }
Warmup epoch took 16309.362ms
Epoch 1 took 3608.391ms and reached loss 74.053
Epoch 2 took 3622.630ms and reached loss 31.859
Epoch 3 took 3617.320ms and reached loss 7.854
Epoch 4 took 3625.252ms and reached loss 1.124
Average time per batch at batch_size=4: 3618.397ms
Testing batch size 8
Batch output shape: Shape { dims: [8, 1280] }
Warmup epoch took 22324.035ms
Epoch 1 took 5874.058ms and reached loss 0.000
thread 'main' panicked at /home/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:2327:30:
Error in Queue::submit: Validation Error

Caused by:
    Parent device is lost

stack backtrace:
   0:     0x565531b9944c - std::backtrace_rs::backtrace::libunwind::trace::ha69d38c49f1bf263
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x565531b9944c - std::backtrace_rs::backtrace::trace_unsynchronized::h93125d0b85fd543c
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x565531b9944c - std::sys_common::backtrace::_print_fmt::h8d65f438e8343444
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x565531b9944c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h41751d2af6c8033a
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x565531bc0abc - core::fmt::rt::Argument::fmt::h5db2f552d8a28f63
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/fmt/rt.rs:138:9
   5:     0x565531bc0abc - core::fmt::write::h99465148a27e4883
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/fmt/mod.rs:1114:21
   6:     0x565531b96eee - std::io::Write::write_fmt::hee8dfd57bd179ab2
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/io/mod.rs:1763:15
   7:     0x565531b99234 - std::sys_common::backtrace::_print::h019a3cee3e814da4
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x565531b99234 - std::sys_common::backtrace::print::h55694121c2ddf918
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x565531b9a7b3 - std::panicking::default_hook::{{closure}}::h29cbe3da3891b0b0
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:272:22
  10:     0x565531b9a4d4 - std::panicking::default_hook::h881e76b2b8c74280
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:292:9
  11:     0x565531b9ad35 - std::panicking::rust_panic_with_hook::hcc36e25b6e33969c
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:731:13
  12:     0x565531b9ac31 - std::panicking::begin_panic_handler::{{closure}}::ha415efb0f69f41f9
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:609:13
  13:     0x565531b99976 - std::sys_common::backtrace::__rust_end_short_backtrace::h395fe90f99451e4e
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:170:18
  14:     0x565531b9a982 - rust_begin_unwind
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:597:5
  15:     0x565531154915 - core::panicking::panic_fmt::h452a83e54ecd764e
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:72:14
  16:     0x56553142c243 - wgpu::backend::direct::Context::handle_error_fatal::h56904503034c4b34
                               at /home/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:354:9
  17:     0x565531448a66 - <wgpu::backend::direct::Context as wgpu::context::Context>::queue_submit::h2eb4ae4d1f65332f
                               at /home/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:2327:25
  18:     0x565531453627 - <T as wgpu::context::DynContext>::queue_submit::h4f7aabf4d4ebdac4
                               at /home/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/context.rs:3084:13
  19:     0x5655311f3767 - wgpu::Queue::submit::h9899a495de8bf9dd
                               at /home/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/lib.rs:4808:27
  20:     0x56553122c086 - burn_wgpu::compute::server::WgpuServer<MM>::submit::he445d543e641ddbe
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-wgpu/src/compute/server.rs:87:9
  21:     0x56553122b234 - burn_wgpu::compute::server::WgpuServer<MM>::buffer_reader::he9bc9bfa30a0e85d
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-wgpu/src/compute/server.rs:207:9
  22:     0x56553122a6b0 - <burn_wgpu::compute::server::WgpuServer<MM> as burn_compute::server::ComputeServer>::read::hc40c1d17e4aff434
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-wgpu/src/compute/server.rs:272:26
  23:     0x5655312382a3 - <burn_compute::channel::mutex::MutexComputeChannel<Server> as burn_compute::channel::base::ComputeChannel<Server>>::read::h0b5f35f97c1b1ae1
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-compute/src/channel/mutex.rs:39:9
  24:     0x5655311a679a - burn_compute::client::ComputeClient<Server,Channel>::read::he9387d7a82e8ac07
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-compute/src/client.rs:51:9
  25:     0x565531209173 - burn_wgpu::ops::base::into_data::h5320b551a2432787
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-wgpu/src/ops/base.rs:20:5
  26:     0x5655311bc96d - burn_wgpu::ops::float_ops::<impl burn_tensor::tensor::ops::tensor::TensorOps<burn_wgpu::backend::Wgpu<G,F,I>> for burn_wgpu::backend::Wgpu<G,F,I>>::into_data::h38a0a7436dc445bb
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-wgpu/src/ops/float_ops.rs:59:9
  27:     0x5655311dcdcd - burn_autodiff::ops::tensor::<impl burn_tensor::tensor::ops::tensor::TensorOps<burn_autodiff::backend::Autodiff<B>> for burn_autodiff::backend::Autodiff<B>>::into_data::h74b3215ce9b8cefb
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-autodiff/src/ops/tensor.rs:53:9
  28:     0x56553124d48d - <burn_tensor::tensor::api::kind::Float as burn_tensor::tensor::api::base::BasicOps<B>>::into_data::hf9fbeb37dc7db254
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-tensor/src/tensor/api/base.rs:1188:9
  29:     0x5655311e8bcf - burn_tensor::tensor::api::base::Tensor<B,_,K>::into_data::hbc4c9c22a665eaae
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-tensor/src/tensor/api/base.rs:397:9
  30:     0x5655311ea047 - burn_tensor::tensor::api::numeric::<impl burn_tensor::tensor::api::base::Tensor<B,_,K>>::into_scalar::h5b9cc6b8d61f86c6
                               at /home/valentin/.cargo/git/checkouts/burn-178c6829f420dae1/1fd07fc/burn-tensor/src/tensor/api/numeric.rs:20:20
  31:     0x5655311b7bf8 - burn_wgpu_yolov2_mve::main::hf200775014db5aeb
                               at /home/valentin/Desktop/GEOMAR/burn-wgpu-yolov2-mve/src/main.rs:37:123
  32:     0x5655311f7fdb - core::ops::function::FnOnce::call_once::h95708e1dc9599e47
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ops/function.rs:250:5
  33:     0x56553124e7ce - std::sys_common::backtrace::__rust_begin_short_backtrace::hcb4c88e875e70d6b
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:154:18
  34:     0x565531209ae1 - std::rt::lang_start::{{closure}}::h7ed3af82f9047e2b
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/rt.rs:166:18
  35:     0x565531b93dab - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h14c5f6d1cd70a60f
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ops/function.rs:284:13
  36:     0x565531b93dab - std::panicking::try::do_call::h2d02374ca451446a
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:504:40
  37:     0x565531b93dab - std::panicking::try::h9f7922394bf57392
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:468:19
  38:     0x565531b93dab - std::panic::catch_unwind::ha1600f9dd4ee7270
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panic.rs:142:14
  39:     0x565531b93dab - std::rt::lang_start_internal::{{closure}}::hfbd80e7d681b21a1
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/rt.rs:148:48
  40:     0x565531b93dab - std::panicking::try::do_call::heacaa33dbdaa16e0
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:504:40
  41:     0x565531b93dab - std::panicking::try::h637875f7c9db85ea
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:468:19
  42:     0x565531b93dab - std::panic::catch_unwind::h4caa9c0c78cb4c19
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panic.rs:142:14
  43:     0x565531b93dab - std::rt::lang_start_internal::h2d6a60ec944b523d
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/rt.rs:148:20
  44:     0x565531209aba - std::rt::lang_start::hfb8b486eaef989a8
                               at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/rt.rs:165:17
  45:     0x5655311b809e - main
  46:     0x7f7d5c0280d0 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  47:     0x7f7d5c028189 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:360:3
  48:     0x5655311551e5 - _start
  49:                0x0 - <unknown>

To Reproduce
Steps to reproduce the behavior:

Clone the project from https://github.com/apexys/burn-wgpu-yolov2-mve
Run RUST_BACKTRACE="full" cargo run &> test.log
Batch sizes 1 and 4 work, batch size 8 crashes
Try reducing the number of parallel tasks with BURN_WGPU_MAX_TASKS=1 RUST_BACKTRACE="full" cargo run &> test.log
Batch size 8 also crashes

Expected behavior
Independent of the batch size, the network just works.
Desktop (please complete the following information):

OS: Ubuntu 23.10, Nvidia GTX 1060 6GB
Version: (current master @ 1fd07fcb)

Other desktop:

OS: Windows 10, AMD RX6900XT 16GB
Version: (current master @ 1fd07fcb)

Additional context
I don't think this is a memory issue - the network uses less than 4GB GPU-RAM as per nvidia-smi.
On the AMD computer, I can even go up to batch size 32 with around 6GB of GPU-RAM used, but it still crashes when I increase the batch size further.
Do I need to manually sync somewhere? Can I disable autotune somehow?

@apexys One of the limitations of wgpu is that the amount of memory per shader has a limit, unrelated to the amount of memory available on the GPU, so in this scenario, it might be the problem. This limit isn't the same for all computers, and probably not the same with different graphics drivers.
What you might try to do is to disable Fusion since we may merge many shaders into one, reaching the limit. We need to improve error messages and consider the memory limit of the current GPU within our Fusion approach.
Let me know if it helps.

Thanks for the quick reply!
I tried running without Fusion and it got exactly one iteration further (so it crashes on the second round of Batch-Size 8 instead of the first one).
I don't suppose I can edit this memory amount anywhere?

It might also very well be a vulkan driver problem, I managed to completely crash my Wayland session several times running this code.
Not really what I expected running user space code, but that doesn't seem like a problem of Burn.

I don't think you can change that value manually. Though, if you find a way, let us know, we could do that automatically!


Failures with Flarum BETA 6

Many thanks to @santiagobiali over on the Flarum forum pages.
Posting here after attempting to solve without success.
@luceos @jordanjay29
Please let me know what I can do to help.
Limited skill set here but I have spent quite some time on trying to get the extension to install properly with Flarum BETA 6. I am not sure whether anyone has it working. @luceoas mentioned higher up (Oct 2016) that it had been updated to work with Flarum BETA 6.
Here are my steps and it failed each time (so I can reproduce):

Installed Piwik 3.0.4 with a one-click Softaculous host install. Piwki URL: http://bikepost.cc/analytics

Used
[code]composer require flagrow/flarum-ext-analytics[/code]
[code]php flarum cache:clear[/code]

Analytics then is visible under the Flarum Admin page and enabling it (checking the check box) opens a pop-up window but its appearance is broken. I filled it out anyway, at that point the extension does get added to the left admin pane but it can't load the page.

See screenshots and details below.
(I have removed the extension and deleted the Piwik install after taking these screenshots).
Details:
Pointing to https://bikepost.cc/analytics
Table 1
Authentication Code (copied and pasted from the Piwik admin page under API)
NOTE:
After unchecking the Analytics check box under Extension, the option to uninstall becomes avail but doesn't work (see last screenshot).
To remove it I have to use composer:
[code]composer remove flagrow/flarum-ext-analytics[/code]
[code]php flarum cache:clear[/code]
Screenshots:

The browser console shows error:
[code]Failed to load resource: net::ERR_CONNECTION_REFUSED[/code]
Even after performing following these instructions: https://piwik.org/faq/troubleshooting/faq_147/
My host uses apache servers so I couldn't follow the instructions here:
https://serverfault.com/questions/801651/nginx-x-frame-options-iframe-wordpress

I'm just noticing this issue is still open. Was it resolved outside of the tracker (maybe with @luceos ?) or are you still seeking help ?
I'm sorry if we forgot to follow up.

@clarkwinkelmann I haven't given the analytics extension any attention. @bikepost I'm sorry when I forgot about you.

same problem here, blank screen on the latest Flarum version

@FreddyCrugger are you sure it's the same issue ? I see no mention of blank screen in the original report.
Could you try clearing your Flarum and browser cache and see if this persists ?
If you still experience it could you open another issue with a more detailed explanation of what you did / try to do ? Thanks.

Hi Yes the cache cleanup was done via SSH. No worry, as I could not get it going I install google analytics in cloudflare, all good now. I think it is better not to use too many plugins as they seem to break a lot on updates so I will try to stay away from the, until the version is fully stable. thanks again for your help.

I will close this issue because it was for an older version of Flarum and the extension.
Feel free to open a new issue with a fresh php flarum info and steps to reproduce if you still experience problems.


Classroom automatic updating

Still a few client-side tests to fix.

Coverage increased (+0.07%) to 55.768% when pulling 0104605ff4b4461bb6eb08f1f3f0cdf01b354350 on classroom-autoupdate into 1b17799bef905328e7d4cf546294b9c96c4b5f55 on master.

Still need to log analytics events when courses get automatically upgraded.  Example server logging:
https://github.com/codecombat/codecombat/blob/master/server/handlers/clan_handler.coffee#L78


Extend Customization Options

Allow for broader customization (all in/out paths, selecting files by patterns etc.) and settings

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


Fix whitespace detector to handle deleted files.

The trailing whitespace detector wasn't handling file deletes very well (at all, really).
This filters the set of files grepped to only include files that exist.
Also, clarified the failure message to make it more obvious what the failure is when the grep finds results.


500 error for PUT and POST on 8000 and 8443, kong error log file empty

Summary
hi, I get 500 (internal server error) for POST and PUT (GET, DELETE, OPTIONS work fine), on both port 8000 and 8443, I Can see the 500 error in kong access log but nothing in kong error log; also the request is not reaching the server behind upstream url. any ideas where else can I look to figure out this problem? or what the problem actually is?
the payload is Content-Length: 1280 and
Accept: application/json, text/plain, /
Content-Type: application/json;charset=utf-8
Steps To Reproduce

set up kong to proxy an api which implement post and put
call post or put with payload bigger than 1200
notice the 500 error

Additional Details & Logs

Kong version  0.8.3
Kong configuration (acl, rate limit, key-auth, cors)
Kong error logs is empty
Operating System: ubuntu 14.04

more details

kong cluser, 2 nodes
DB behind is Cassandra
I disabled all plugins except cors and still repros

I was not able to reproduce this. Here is what I did:

install Kong 0.8.3 (clean install)

$ kong start
...

HTTP/1.1 200 OK
...

No errors.
Access logs:
<IP_ADDRESS> - - [26/Aug/2016:15:15:39 -0700] "POST /post HTTP/1.1" 200 1746 "-" "HTTPie/0.9.6"

Could you provide us with at least some of the logs from access.log and error.log? Also, could you set the error_log level to debug in the Nginx configuraiton (in kong.yml)?

closing
because of bad logging on our side I could not see the request is actually reaching the server behind upstream url


Adds GETMOUSE for touch screens

Closes #41.
Tested with the mouse example with the device toolbar in Chromium's developer tools.
Note: I decided to dispatch events corresponding to the currently implemented mouse events instead of repeating code or moving the shared code to a function. Feedback is appreciated!

I signed it!

lgtm! Thanks for the contribution.


Remote Write: Rename confusing walDir parameter to dir

Signed-off-by: Matej Gera<EMAIL_ADDRESS>
As I was working the remote write storage code in https://github.com/thanos-io/thanos/pull/5242, I have noticed that in WriteStorage struct (and related methods), the field / parameter called walDir is confusing. The name indicates that the full path to WAL should be provided. However, internally, in the WAL watcher method the actual wal subdirectory is appended. This means a user has to provide the 'base' directory when initializing remote write rather than the path to the WAL subdirectory.
The change aims to rename this to simply dir to prevent the confusion. This would also align behavior with how the parameter / WAL directory is constructed in agent and TSDB code.

LGTM, though I think we're at the point where we at least need some comments as to what each parameter to NewQueueManager actually is. Or even better, a specific struct QueueManagerConfig/Params, which would be even easier to comment. @matej-g want to make that change as well?

LGTM, though I think we're at the point where we at least need some comments as to what each parameter to NewQueueManager actually is. Or even better, a specific struct QueueManagerConfig/Params, which would be even easier to comment. @matej-g want to make that change as well?

I'm happy to improve on this :+1: I'll be back with more commits.

Hey @cstyan, I had a look at the parameters but I actually found most of the be documented sufficiently well (when looking at the struct type comments). I enhanced the comment for the NewQueueManager method though, to include more details on the dir parameter. Let me know what you think.


This code is amazing

@seydx I just wanted to compliment you on what a fantastic bit of code this is.  Seems like there is just so much potential here for an even greater product. If you have had to stop working on this code, we understand, but we'd sure love to hear from you if there is a particular reason for that and if there is anything that we can do to help you get the next version published with some of the amazing features that have been teased.
To be honest with you, I'd even be willing to pay a small one-time fee for this software, it's that good. If that is at all motivating or encouraging. Anyways thank you and we hope to hear from you soon!

Second this. I have made a small contribution to the developer using the Sponsor function listed on their GitHub page. This software is a great example of how awesome open source code can be and I'm getting very good use out of it. Perhaps a community fork could be arranged if the project has been abandoned by the original developer.

https://github.com/seydx/homebridge-camera-ui/issues/855#issuecomment-1806223941


image recognition

WHY?
Aida image recognition functionality is to  be part of the final product.
WHAT?
AIDA image recognition funcitonality...

I'll add a ticket for the removal of hardcoded paths


Duplicate pages(both contact us and feedback pages are same)

No  need of same two page with two different options
@ANSHIKA-26
I can delete one of the section

[x] Gsoc contributor
[x] Hacktoberfest Contributor

can you assign me with this

fixed in a new PR merge just right now


in model file is empty and i want to delete all file form single clcik button?

Hello,
i have two problem first one
{"type":1,"file":{},"date":"2017-09-22T10:55:34.986Z","mimeType":"image/jpeg","extension":"jpeg"}
i am printing model so getting file is empty
other one is that i wat to delete all file from a single button click
thanks in andvance

hi,
for this one
other one is that i wat to delete all file from a single button click
thanks in andvance
u can do that like this
$scope._clearallfiles = ()=>{
 var temp_file = $scope.file_interface.getFiles($scope.file_interface.FILE_TYPES.VALID);
 angular.forEach(temp_file, (item)=>{
	item.deleteFile();
 });
};


Accounts fix

I'm developing a plugin and if I api.use/imply(constellation:console) from another package but don't have an accounts package also included in the app somewhere, an error is thrown at Meteor.user() on the two lines below.
Added a check for accounts-base in the two spots I encountered.
There may be a better way to handle the missing package, but this eliminates the error, which is good enough for me. Another improvement could be to hide the accounts tab if accounts aren't used in the app.

Thanks for this -- you're absolutely right.  I'll try to release a new version of constellation:console later today.

I hit a few road blocks and won't get the new release out today.  Hoping for early tomorrow.

Ok no problem. I'm working with a local package so I'm good until you can get to it.

Okay 1.2.1 (just released) should fix this.

Thanks! Works great.

Does the package.js also need to api.use accounts-base with the weak option to be sure the packages get loaded in the correct order? I was just reading the docs again and realized it might be a good idea to add it in there in case something came up in the future. It works fine for me as is, however.

Good thought.  It depends if any code with Meteor.user() or Meteor.userId() is executed at run time.  I've got a feeling those functions are only called in event handlers, by which time the accounts-base package and its functionality are available to the app, but I'll have a quick scan of the codebase just to be sure.

Actually found Meteor.user() in a couple of template helpers too, but by virtue of the fact the Constellation UI is never rendered on startup, those helper functions are never called until the accounts-base stuff is ready.
Against the chance that someone creates a 'make-constellation-open-by-default' package, I might just put that weak dependency in for the next release.
Cheers!


Added description of Decorator API to README

We're currently in the process of revamping all the extension documentation.


Color not shown in "Testing Flet app on Android" Chip control

Description
When using a Chip control, the color is not displayed on Android.
Code example to reproduce the issue:
import flet as ft

def main(page: ft.Page):
    page.add(ft.SafeArea(ft.Chip(label=ft.Text("foo"), color="red")))

ft.app(target=main)

Describe the results you received:
Running the app on Linux shows a red Chip control. Running the app on Android with
flet run --android test.py shows the Chip control without any color background.
Describe the results you expected:
The same red colored background as on the Linux application.
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
0.22.0

Operating system:
Linux, Android
Additional environment details:

On a similar note, the flet mobile app is not able to correctly display tabs. The tab bar itself is visible, but the content of the tabs is not.

Will be fixed by https://github.com/flet-dev/flet/issues/3096.

Closing in favor of https://github.com/flet-dev/flet/issues/3096


Is there a way to get the urls of individual videos in a playlist?

Checklist

[ x] I'm asking a question
[ x] I've looked through the README and FAQ for similar questions
[ x] I've searched the bugtracker for similar questions including closed ones

Question

Suppose I have a playlist P with 3 videos. Because of the possibility of the 2nd video being marked private, market deleted,or not being available in the requested format; I'm thinking of separate calls to youtube-dl for each video. But first, I need the individual urls. This needs to be as though I visited the playlist page and manually copied the individual URLs from there. This needs to work even for videos that can't be downloaded. I can detect errors later.
I ask because I have a PowerShell function that simplifies downloading playlists. I want it to skip invalid videos. If a video isn't available in a given format, I want my function to try other formats and then call ffmpeg to convert.

--dump-json --flat-playlist.

Thanks.

@dstftw How do I save this json output to a file? I tried -
youtube-dl --dump-json --flat-playlist -o /User/username/Desktop/list.json PLFftu4DSZBSwrGiOlZXKHRSoKArsKSuz9

Thanks, but I found a way to do that :
youtube-dl --dump-single-json --flat-playlist PLFftu4DSZBSwrGiOlZXKHRSoKArsKSuz9 > /Users/abhimanyu/Desktop/list.json


docs: fullstack dspy

Adds a fullstack DSPy example app that lets you do zero_shot and compiled few-shot prompting using DSPy.

Can nix the cell for OpenAI API keys.


no matches for /, Kind=Issuer

/kind bug
What happened:
I've installed cert-manager using helm:
 ca (master) ✗ helm status cert-manager                                    k8s [test-ingress]
LAST DEPLOYED: Mon Mar  5 13:04:41 2018
NAMESPACE: kube-system
STATUS: DEPLOYED

RESOURCES:
==> v1/ServiceAccount
NAME                       SECRETS  AGE
cert-manager-cert-manager  1        22m

==> v1beta1/CustomResourceDefinition
NAME                               AGE
certificates.certmanager.k8s.io    22m
clusterissuers.certmanager.k8s.io  22m
issuers.certmanager.k8s.io         22m

==> v1beta1/Deployment
NAME                       DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
cert-manager-cert-manager  1        1        1           1          22m

NOTES:
cert-manager has been deployed successfully!

In order to begin issuing certificates, you will need to set up a ClusterIssuer
or Issuer resource (for example, by creating a 'letsencrypt-staging' issuer).

More information on the different types of issuers and how to configure them
can be found in our documentation:

https://github.com/jetstack/cert-manager/tree/v0.2.3/docs/api-types/issuer

For information on how to configure cert-manager to automatically provision
Certificates for Ingress resources, take a look at the `ingress-shim`
documentation:

https://github.com/jetstack/cert-manager/blob/v0.2.3/docs/user-guides/ingress-shim.md

Than I tried creating issuer resource:
apiVersion: certmanager.k8s.io
kind: Issuer
metadata:
  name: lets-encrypt-issuer
spec:
  acme:
    email<EMAIL_ADDRESS>    server: https://acme-staging.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: ca-key-pair
    http01: {}

But this happened:
no matches for /, Kind=Issuer
What you expected to happen:
Successfully create new issuer object
How to reproduce it (as minimally and precisely as possible):

create k8s google managed cluster
install using helm as documented
create new namespace (in my case test-ingress)
try to create new issuer

Anything else we need to know?:
Not that I know of. I'm still wrapping my head around ingress, nginx ingress controller and similar stuff.
Environment:

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.7-gke.0", GitCommit:"192ccad06d24af9828cbf42330e1d915cb586406", GitTreeState:"clean", BuildDate:"2018-01-25T21:58:21Z", GoVersion:"go1.8.3b4", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration**:
Google managed kubernetes cloud
Install tools:
helm
Others:

I am seeing the same issue, ClusterIssuers are displaying the same behavior.

Hi, if you are relying on ingress-shim to create Certificates for you, using just the kubernetes.io/tls-acme: "true" annotation on the Ingress, then check 'ingressShim.extraArgs' in the helm values is pointing to the default Issuer/ClusterIssuer you created.
--set ingressShim.extraArgs='{--default-issuer-name=letsencrypt-prod,--default-issuer-kind=ClusterIssuer}'
Full documentation for ingress-shim here:
https://github.com/jetstack/cert-manager/blob/master/docs/user-guides/ingress-shim.md
ingress-shim with these options recreates the simplistic behavior of kube-lego where is there only ever just one issuer.

As an alternative, you can use the certmanager.k8s.io/cluster-issuer annotation instead of kubernetes.io/tls-acme: "true". The advantage of the former being you can pick your issuer on a per ingress basis.

I0306 15:02:51.465457       1 controller.go:147] ingress-shim controller: syncing item 'test-ingress/hello-world-ingress'
E0306 15:02:51.465543       1 controller.go:156] ingress-shim controller: Re-queuing item "test-ingress/hello-world-ingress" due to error processing: clusterissuer.certmanager.k8s.io "letsencrypt-prod" not found

hmm I have to create it I assume?

We cannot create a default Issuer or ClusterIssuer, as we are getting an error.

Ok, I got it created, I just need to figure it out how to deploy it.
NAME                  TYPE                                  DATA      AGE
ca-key-pair           kubernetes.io/tls                     2         1d
default-token-26hvs   kubernetes.io/service-account-token   3         1d
(.venv) [staging-1]  fino (k8s_ssl) ✔ k logs --namespace kube-system cert-manager-cert-manager-6bd4495d7c-zh7gt ingress-shim                                               k8s [test-ingress]
I0306 15:22:50.946514       1 leaderelection.go:174] attempting to acquire leader lease...
I0306 15:23:07.869077       1 leaderelection.go:184] successfully acquired lease kube-system/ingress-shim-controller
I0306 15:23:07.969550       1 controller.go:147] ingress-shim controller: syncing item 'test-ingress/hello-world-ingress'
I0306 15:23:07.974818       1 controller.go:161] ingress-shim controller: Finished processing work item "test-ingress/hello-world-ingress"
I0306 15:23:07.975309       1 controller.go:147] ingress-shim controller: syncing item 'test-ingress/hello-world-ingress'
I0306 15:23:07.975357       1 sync.go:85] Certificate "f-tls" for ingress "hello-world-ingress" already exists, not re-creating
I0306 15:23:07.975374       1 controller.go:161] ingress-shim controller: Finished processing work item "test-ingress/hello-world-ingress"
I0306 15:23:10.491646       1 controller.go:147] ingress-shim controller: syncing item 'test-ingress/hello-world-ingress'
I0306 15:23:10.491709       1 sync.go:85] Certificate "f-tls" for ingress "hello-world-ingress" already exists, not re-creating
I0306 15:23:10.491748       1 controller.go:161] ingress-shim controller: Finished processing work item "test-ingress/hello-world-ingress"
(.venv) [staging-1]  fino (k8s_ssl) ✔ k get secret --namespace kube-system                                                                                k8s [test-ingress]
Alias tip: kgsec --namespace kube-system

since the secret t-tls is missing from the target namespace

Hmm I've tried with this one:
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
  name: nginx-k8s-io
  namespace: default
spec:
  secretName: nginx-k8s-io-tls
  issuerRef:
    name: letsencrypt-staging-cluster-issuer
    kind: ClusterIssuer
  commonName: nginx.k8s.io
  acme:
    config:
    - http01: {}
      domains:
      - nginx.k8s.io

and managed to create it in the given namespace (with correct secret name to f-tls and issuerRef and commonName/domains) but it's not working. Actually I don't see any logs from newly created pod at all, not am I sure how to see those custom kinds via kubectl. I'd really appreciate end2end example with nginx controller or something like that

@nmiculinic Were you actually able to create the issuer?

No, only the certificate

that is I managed to create cluster issuer

This one:
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging-cluster-issuer
spec:
  acme:
    server: https://acme-staging.api.letsencrypt.org/directory
    email<EMAIL_ADDRESS>    privateKeySecretRef:
      name: letsencrypt-staging
    http01: {}

((only with my data ))

I0306 15:23:10.491709       1 sync.go:85] Certificate "f-tls" for ingress "hello-world-ingress" already exists, not re-creating
I0306 15:23:10.491748       1 controller.go:161] ingress-shim controller: Finished processing work item "test-ingress/hello-world-ingress"
I0306 15:31:40.552127       1 controller.go:147] ingress-shim controller: syncing item 'default/cm-nginx-k8s-io-hiipa'
I0306 15:31:40.552201       1 sync.go:41] Not syncing ingress default/cm-nginx-k8s-io-hiipa as it does not contain necessary annotations
I0306 15:31:40.552217       1 controller.go:161] ingress-shim controller: Finished processing work item "default/cm-nginx-k8s-io-hiipa"
I0306 15:32:10.257963       1 controller.go:147] ingress-shim controller: syncing item 'default/cm-nginx-k8s-io-hiipa'

So I have some stuff here..but no idea what to make of them:
 ~ (master) ✗ k get ClusterIssuer                                          k8s [test-ingress]
NAME                                 AGE
letsencrypt-staging-cluster-issuer   18m
 ~ (master) ✗ k edit ClusterIssuer                                         k8s [test-ingress]
Edit cancelled, no changes made.
 ~ (master) ✗ k get issuer                                                 k8s [test-ingress]
No resources found.
 ~ (master) ✗ k get e                                                      k8s [test-ingress]
the server doesn't have a resource type "e"
 ~ (master) ✗ k get certificate                                            k8s [test-ingress]
NAME      AGE
f-tls     17m
 ~ (master) ✗ k get secret                                                 k8s [test-ingress]
Alias tip: kgsec
NAME                  TYPE                                  DATA      AGE
ca-key-pair           kubernetes.io/tls                     2         1d
default-token-26hvs   kubernetes.io/service-account-token   3         1d
 ~ (master) ✗ k get pod                                                    k8s [test-ingress]
NAME                                        READY     STATUS    RESTARTS   AGE
cm-f-tls-wootg                              1/1       Running   0          2m
default-http-backend-66b447d9cf-8gjvr       1/1       Running   0          1d
hello-world-deployment-64488c6f76-gdfwg     1/1       Running   0          1d
nginx-ingress-controller-74f5d75cfb-w9rbc   1/1       Running   0          1d
 ~ (master) ✗                                                              k8s [test-ingress]

@nmiculinic Thank you!
The documentation at https://github.com/jetstack/cert-manager/tree/v0.2.3/docs/api-types/issuer is missing the apiVersion, which is why we were getting the no matches for /, Kind=Issuer error earlier.

@mlarrousse
I'm not following...what apiVersion and how can I fix it?

@nmiculinic Compare the apiVersion line on your Issuer yaml to the line in your ClusterIssuer yaml. On the Issuer one it is incorrect.

Ohh...yeah now I can create the issuer!

the local one

that is namespaced one

Have you managed to get TLS secret? I'm still unable to do it and when checking the shim I find
I0306 15:54:10.270670       1 sync.go:41] Not syncing ingress test-ingress/cm-example-com-msavp as it does not contain necessary annotations
I0306 15:54:10.271693       1 sync.go:41] Not syncing ingress default/cm-nginx-k8s-io-vdriu as it does not contain necessary annotations

Sorry I won't have a chance to get back to my own cert-manager deployment today, but post your Ingress resource.

My ingress:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: hello-world-ingress
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.org/ssl-services: "hello-world-svc"
    ingress.kubernetes.io/ssl-redirect: "false"
spec:
  tls:
    - hosts:
      - test.domain...
      secretName: f-tls
  rules:
  - host: test.domain...
    http:
      paths:
      - path: /
        backend:
          serviceName: hello-world-svc
          servicePort: 8080

It's mostly based on https://github.com/gokulchandra/k8s-ingress-setup

but if I understood correctly, I need to have TLS secret for the ingress resources. Certificate is a precursor for it, and it should generate the required secret and keep them up to date.

Okay so if you're using the ingress-shim, you'll need to add the annotation that @munnerz added above. It should be like
certmanager.k8s.io/cluster-issuer: letsencrypt-staging-cluster-issuer
Where letsencrypt-staging-cluster-issuer is from your cluster issuer yaml up above.

If you're using the ingress shim, you won't create the certificates manually. It'll automagically do that for you based off the annotation on your ingress.

hmm, I kinda get it, but I'll have to finish for today and let it settle. Tomorrow I'm starting all over again from zero, and see how it goes.

I'll close this since it's wrong API version in the documentation. With the right one it's working


Make it possible to call procedures with arguments through a ToolBar Button

Currently ToolBar Buttons can not send arguments automatically when calling procedures, you need to add a layer between, i.e. ButtonClick -> ProcedureWithNoArguments -> ProcedureWithArguments
It would be preferable for readability if we can skip that middle step and just call procedures with arguments directly

Already done


Missing list objects

In the user controller have: create, delete, find (one item) and update but no list all or find and show multiple items.

Hi @WHK102, what sample are you looking at?
Is it this one: spring-boot-mysql-springdatajpa-hibernate?
I think it's a good idea to add a findAll method also. I will add this.
Thanks


BUG w/ solution: ImportError: cannot import name 'cached_download' from 'huggingface_hub'

Error:
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (~/mambaforge/envs/dp3/lib/python3.8/site-packages/huggingface_hub/__init__.py)

This is because only huggingface_hub lower than 0.26 supports cached_download, try lower version can be solved:
pip install huggingface_hub==0.25.2

Thank you! I have updated the ERROR_CATCH.md based on this issue.


Feature Request:  Sanity check for derived odometer/speed values.  New trackers start off with 7,000 miles.

When a Tk102 tracker comes online and it's first update does not have GPS signal, it sends lat/long as 0,0 (or at least traccar records it that way).  It puts me out in the middle of  the ocean.
Once they get signal, they report the correct location.
My Odometer then starts at nearly 7,000 miles within 5 seconds of powering on the device.
I'm not sure if this behavior is the fault of the tracker or not, but can we add some sanity checking to Odometer and Speed to make sure any values used for calculations are reasonable, and if not discard them?

There is already a filtering for big jumps like this.

Thanks -
Upon further examination, the distance under the Summary report appears correct, but it is not correct under the device information.  Is this intentional and indicates the filtering does not work on the device level data?
see screenshot:

You need to enable filtering. There is no filtering by default.


Flaky test: EmptyWebTemplate_Works_NetCore

This test fails occasionally with the following error:
System.Exception : Process exited with code 1
StdErr:
StdOut: Microsoft (R) Build Engine version <IP_ADDRESS>72 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
   at Templates.Test.Helpers.ProcessEx.WaitForExit(Boolean assertSuccess) in /_/test/Templates.Test/Helpers/ProcessEx.cs:line 150
   at Templates.Test.Helpers.AspNetProcess..ctor(ITestOutputHelper output, String workingDirectory, String projectName, String targetFrameworkOverride, Boolean publish) in /_/test/Templates.Test/Helpers/AspNetProcess.cs:line 66
   at Templates.Test.TemplateTestBase.StartAspNetProcess(String targetFrameworkOverride, Boolean publish) in /_/test/Templates.Test/Helpers/TemplateTestBase.cs:line 205
   at Templates.Test.EmptyWebTemplateTest.EmptyWebTemplateImpl(String targetFrameworkOverride) in /_/test/Templates.Test/EmptyWebTemplateTest.cs:line 30
------- Stdout: -------
==> C:\b\w\33bdfc1cae7b2a38\.dotnet\x64\dotnet.exe new web --debug:custom-hive "C:\b\w\33bdfc1cae7b2a38\modules\Templating\test\Templates.Test\bin\Release\netcoreapp3.0\.templateengine" [C:\b\w\33bdfc1cae7b2a38\modules\Templating\test\Templates.Test\bin\Release\netcoreapp3.0\TestTemplates\AspNet.Template.018bec58b67d44b9b3da7d245add9cc8]
The template "Web Config" was created successfully.
Building ASP.NET application...
==> C:\b\w\33bdfc1cae7b2a38\.dotnet\x64\dotnet.exe build --no-restore -c Debug [C:\b\w\33bdfc1cae7b2a38\modules\Templating\test\Templates.Test\bin\Release\netcoreapp3.0\TestTemplates\AspNet.Template.018bec58b67d44b9b3da7d245add9cc8]
Microsoft (R) Build Engine version <IP_ADDRESS>72 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

EmptyWebTemplate_Works_NetCore failed again.

EmptyWebTemplate_Works_NetCore failed again.

EmptyWebTemplate_Works_NetCore failed again.

EmptyWebTemplate_Works_NetCore failed again.

EmptyWebTemplate_Works_NetCore failed again.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed again.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

He's another flaky templating test that I haven't root caused yet.

EmptyWebTemplate_Works_NetCore failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

EmptyWebTemplate_Works_NetCore failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

Fixed by @ryanbrandenburg with d95f9716932cae55933c0a4700fec3513c55c92f


Use nalgebra instead of cgmath

Heya, since most other gamedev related libraries are on nalgebra, I'd like to update this library to use that as well.
Another reason is that the current version on crates.io (0.6.2) depends on cgmath 0.16.1, which depends on rand v0.4.6. By swapping to nalgebra, at least for the amethyst game engine, we get to remove at least both the cgmath and rand crate compilations (there may be others, but I haven't done a thorough check).
I'm thinking in the future, if ultraviolet becomes the standard, we could put the relevant math library choice behind feature flags, though that's something in the future future.

Hi @azriel91 !
I don't think there is a single blessed math library in Rust ecosystem. Changing one by another would be good for some and bad for others. genmesh is specifically designed in such a way that the math doesn't show up in the API, it's basically an implementation detail.
If your goal is to make Amethyst dependency tree smaller, than I think one way to get there would be implementing a separate nalgebra way in genmesh, similarly to cgmath behind an optional feature. That would live alongside the cgmath code. Although, honestly, I'm not a big fan of supporting 2 math backends here :/
Also, rand is an optional dependency that we aren't enabling here, so it shouldn't be dragged into the fray.

Heya :wave:

I'm not a big fan of supporting 2 math backends here :/
Yeaps agree.

Also, rand is an optional dependency

Ah, it's optional on master.
cgmath 0.16.1 always pulls rand 0.4 (current genmesh release depends on this);
cgmath 0.17.0 always pulls rand 0.6 (current genmesh master uses this).
Anyway, I think the final decision would be best made by you1, but I'm happy to do the work to make it happen. I do imagine a future where ultraviolet becomes the blessed library, in case that factors into the decision.
Haha, sometimes we just want a Vector3 and some math operations.

1 As much as possible, maintenance burden should not be decided/imposed by non-maintainers.

Yes, you are right. We may need to make a breaking release to have the rand dependency truly optional...
A path I haven't noted, which perhaps is the true way to go, is just manually implementing the math. There shouldn't be too much logic in here, we could get away without using any math libraries.

I'd suggest exposing mint types. The rust ecosystem seems to be heading for making mint the default math interop library, so projects that depend on this crate can use their own math library.
Both nalgebra and cgmath support conversions from and to mint types

@VictorKoenders genmesh already exposes mint types. This discussion is about what genmesh should use internally for computations.

I believe this and #66 can be closed now due to #69


Bars breakdown with "incremental" values

I have some results with three "dimensions": benchmark, tool, part.
I want to plot bars grouped by benchmark and tool, and show a breakdown for each of the "parts" for each benchmark. The "part" results are incremental, in the sense that one part is program initialization, the other initialization + foo, and then initialization + foo + bar.
If we assume values 1, 2 and 3 for each part, using hv.Bars as in the tutorial plots a bar breakdown from 0 to 1 for the first part, 1 to 3 for the second. and 3 to 6 for the third, whereas I want each part to be 0-1, 1-2, 2-3.
If I instead use an overlay of a hv.Bars for each part, the bars have the right height but all have the same color and there is no legend for the part breakdown.

Sorry I never responded to this, without a minimal reproducible example it's very hard to address issues like this. It's also not clear to me whether you're referring to bokeh or matplotlib. The matplotlib implementation is very poorly implemented and doesn't match the bokeh version, which is on my roadmap to fix.

I'd encourage you to raise any issues in https://github.com/ioam/holoviews/issues/1407, I'll close this issue for now.


Update ‘Back’ link URL

So it links back to the tutorials and examples landing page

Thanks @philswan! 💯


Updated template, rerendered

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add more heading levels to avoid opaque errors

It seems harmless to support all header levels.  I had a third-level header in my markdown and the error I got was completely opaque:
Traceback (most recent call last):
  File "md_to_bgg.py", line 283, in <module>
    print(parse_and_render(input_file.read()))
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/__init__.py", line 112, in __call__
    return self.convert(text)
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/__init__.py", line 109, in convert
    return self.render(self.parse(text))
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/__init__.py", line 129, in render
    return r.render(parsed)
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/renderer.py", line 69, in render
    return self.render_children(element)
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/renderer.py", line 83, in render_children
    rendered = [self.render(child) for child in element.children]  # type: ignore
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/renderer.py", line 83, in <listcomp>
    rendered = [self.render(child) for child in element.children]  # type: ignore
  File "/Users/mcd/.pyenv/versions/3.6.15/lib/python3.6/site-packages/marko/renderer.py", line 68, in render
    return render_func(element)
  File "md_to_bgg.py", line 167, in render_heading
    size = {1: 24, 2: 18}[element.level]  # Maximum 2 levels!
KeyError: 3

I went with the low sizes because I've seen it done before in markdown conversions.  Yes, it was strange, but someone using a sixth-level header is probably used to seeing something strange.  Stopping at a flat size is also a common solution.
In either case, I would also expect some added clarity from all headers being in bold.  I didn't quite register that none of them were made boldface by the md_to_bgg.py.
My main concern was avoiding the error; any reasonable behavior is fine by me.


add vendor_files table to database

Closes #334
Questions:

is the enum for status correct?   Note that my research implies we can add values but it is a pain to delete them.

Aaron says yes.

I couldn't figure out how to initialize the created timestamp via the server's "now" function  (for created timestamp) -- perhaps this can be a separate ticket.

I will create a separate ticket.  See issue #373

I didn't see a way to have the server use the server's "Now" function onupdate (for updated timestamp) -- perhaps this can be a separate ticket.

I will include this in the ticket for the previous point.  See issue #373

should ticket(s) be made to add created and updated datetime fields to vendors and vendor_interfaces tables?

Aaron will think through this today

it's possible that "default" is redundant when there is also "server_default"

I will include this in the ticket for points 2 and 3.  See issue #373

should timestamps be in UTC or local time?  should they indicate timezone??

Aaron will try to answer this soon.  Mentioned in issue #373

should vendor_interface table have last_folio_update column?

Aaron says "I don't think so at this time. I'm not sure what value we would get from this as we're not necessarily tracking changes upstream in folio, if we need to. I will ticket this separately."

(@aaron-collier note questions ^^)
After applying this change as written:
$ docker exec -it libsys-airflow-postgres-1 /bin/bash
root@7da52e512512:/# psql -U airflow
psql (14.7 (Debian 14.7-1.pgdg110+1))
Type "help" for help.

airflow=# \c vendor_loads
You are now connected to database "vendor_loads" as user "airflow".
vendor_loads=# \d
                   List of relations
 Schema |           Name           |   Type   |  Owner
--------+--------------------------+----------+---------
 public | alembic_version          | table    | airflow
 public | vendor_files             | table    | airflow
 public | vendor_files_id_seq      | sequence | airflow
 public | vendor_interfaces        | table    | airflow
 public | vendor_interfaces_id_seq | sequence | airflow
 public | vendors                  | table    | airflow
 public | vendors_id_seq           | sequence | airflow
(7 rows)

vendor_loads=# \d+ vendor_loads
Did not find any relation named "vendor_loads".
vendor_loads=# \d+ vendor_files
                                                                        Table "public.vendor_files"
       Column        |            Type             | Collation | Nullable |                 Default                  | Storage  | Compression | Stats target | Description
---------------------+-----------------------------+-----------+----------+------------------------------------------+----------+-------------+--------------+-------------
 id                  | integer                     |           | not null | nextval('vendor_files_id_seq'::regclass) | plain    |             |              |
 created             | timestamp without time zone |           | not null |                                          | plain    |             |              |
 updated             | timestamp without time zone |           | not null |                                          | plain    |             |              |
 vendor_interface_id | integer                     |           |          |                                          | plain    |             |              |
 vendor_filename     | character varying(250)      |           | not null |                                          | extended |             |              |
 filesize            | integer                     |           | not null |                                          | plain    |             |              |
 vendor_timestamp    | timestamp without time zone |           |          |                                          | plain    |             |              |
 loaded_timestamp    | timestamp without time zone |           |          |                                          | plain    |             |              |
 status              | filestatus                  |           | not null | 'not_fetched'::filestatus                | plain    |             |              |
Indexes:
    "vendor_files_pkey" PRIMARY KEY, btree (id)
Foreign-key constraints:
    "vendor_files_vendor_interface_id_fkey" FOREIGN KEY (vendor_interface_id) REFERENCES vendor_interfaces(id)
Access method: heap

copied from aborted PR #368
@ndushay attempt to answer questions:
1.) Yes, that seems correct.
2.) I'm not sure how to do this in the database as a default. I did it in code by importing datatime and then setting the value to datatime.now() when creating the object.
3.) hmm... no idea.
4.) Perhaps, I'll think through this today
5.) I'm not sure I follow. This probably shouldn't block this PR but we can discuss and ticket updates.
6.) I will try to answer that better soon.
7.) I don't think so at this time. I'm not sure what value we would get from this as we're not necessarily tracking changes upstream in folio, if we need to. I will ticket this separately.


[DB2] Data loss for timestamp data in JDBC and SQLJ applications

Is your feature request related to a problem? Please describe.

For Db2 for z/OS® Version 10 or later, or Db2 on Linux®, UNIX, and Windows systems Version 9.7 or later, you can specify the precision of the fractional part of a TIMESTAMP column, with a maximum precision of 12 digits. The fractional part of a Java timestamp value can have up to 9 digits of precision. Depending on the column definition, data loss can occur when you update a TIMESTAMP(p) column or retrieve data from a TIMESTAMP(p) column.

Db2 for z/OS docs
Describe the solution you'd like
It would be great to preserve precision of 12 digits for TIMESTAMP
Describe alternatives you've considered
There are some hints on the document that I've linked

Hello @tatzio
Thanks for the idea. We will look into it.


cataclysm-dda: 0.E-2 -> 0.E-3

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.


Play a video list

How can I play a list of videos one after the other, in the same player consecutively?
Thanks.

Ref: https://github.com/newtaDev/pod_player/blob/master/example/lib/examples/play_list_of_videos.dart


Unmet peer dependency 'react-router' despite having 'react-router-dom'

I'm getting a warning during package installations saying the following:
<EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>However, I have react-router-dom as a dependency already which installs react-router. It seems to be working correctly, but it feels like a bug that connected-react-router doesn't realize I have a package which install react-router.
Please advise.

@supasate Is there any code in connected-react-router that has actual dependencies that aren't in react-router-dom? If not, can we just change the peer dependency to react-router-dom instead of react-router?

+1 For this. According to the docs here: https://github.com/ReactTraining/react-router/tree/master/packages/react-router#installation , user would install either react-router-dom or react-router-native, instead of react-router.

I'm having the same issue, and I have to admit that I don't really get if the problem is on connected-react-router package.json, or some npm bug, or some misunderstanding mine of how peerDependencies work.
Anyway, what sounds really weird to me is that these warnings seem supposed to alert us that we have an incompatible version of the package installed (react-router on this case), which is not true in this case, so why we still seeing that?
So, this is my warning:
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".

And since I'm using<EMAIL_ADDRESS>my installed version of react-router is also 5.0.1, which attends perfectly the demands of ^4.3.1 || ^5.0.0
Should always add react-router as a dependency of my project? Even if I already the right version?
Man, I would be very happy to understand that, haha

you can ignore this warning because react-router is installled along with react-router-dom, you can check in your node_modules and you'll find react-router directory

I had the same issue, not just the common unmet dependency error, the error is in the Chrome console and bundle build too.

AFAIK, the peer dependencies npm/yarn check only looks if they are specified in the top level of your package.json. It won't be satisfied if there is a private dependency like that of react-router inside react-router-dom. More explanation here: https://stackoverflow.com/questions/26737819/why-use-peer-dependencies-in-npm-for-plugins
It's kind of a flaw in the package managers that they don't give a package author the ability to specify one package or a completely different one. But this problem also came about with how the authors of react-router split up their packaging. Maybe the author(s) of connected-react-router should just switch over the peer-dependency to the one that most people are using (react-router-dom) rather than the safe bet that is react-router?


Unexpected token u in JSON at position 0

I'm not 100% when this happens but it's probably on an empty or faulty response from the API:
SyntaxError: Unexpected token u in JSON at position 0
     at JSON.parse (<anonymous>)
     at /app/node_modules/amazon-pa-api50/src/index.js:181:38
    at /app/node_modules/amazon-pa-api50/sdk/src/ApiClient.js:504:9

It happens in those lines when searchItemsResponse is undefined:
https://github.com/arifulhb/amazon-pa-api50/blob/d089c45e9d83ef6d5abcf392507eb0bd8e7db2fc/src/index.js#L180-L181
So I guess it's either checking if searchItemsResponse actually is a JSON object or making sure ProductAdvertisingAPIv1.SearchItemsResponse.constructFromObject(data)does not return anything else.

Seems like this happens when you hit the request limit of the API.

Hi @Kinzi,
I got the same error. Did you find a way to solve or at least try/catch it?

@MaiKaY Check out my fork. Not super elegant but at least it allows me to catch the error:
https://github.com/Kinzi/amazon-pa-api50

Hay, @Kinzi great to know you had time to fix the issue. Please send the PR and I'll just marge it.

@arifulhb @MaiKaY already did ;)


Doesn't work with USB camera?

I use a USB camera,but it's error.

Yup, this isn't designed to work with USB cameras - strictly for use with the Pi's camera module.


Enable post from within a group to be posted to that group

As stated by Kalyan Reddy Alla:

I am unable to post from within the 'Groups' section. I can only read posts. To make a post, I am having to come-back to the 'Home' section. Is it the intention?

related to #20


https://directline.botframework.com

This doesn't resolve at all and Azure CoPilot Preview for my tenant is not responsive. Just spins and spins.
[Enter feedback here]

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

ID: 62b58394-c426-fafc-63a9-8d9561bb6a6e
Version Independent ID: b8ceebdc-54e6-73ac-e713-6cd03b6ed0ce
Content: Manage access to Microsoft Copilot for Azure
Content Source: articles/copilot/manage-access.md
Service: copilot-for-azure
GitHub Login: @JnHs
Microsoft Alias: jenhayes

Hi @dreeves - It's hard to know what is going wrong without getting more details. Please open a support request so that we can look into this further.
I'll close this issue now, as there does not appear to be a documentation update needed. Thanks for taking the time to share your feedback, and I hope the issue is resolved quickly.
#please-close

Sorry I did tangent off there, but the documentation says a certain link — don’t know it off hand needs to be unblocked. But the url is unreachable by both ping and normal browser so not sure if that’s old or irrelevant.
-DR
Dalton Reeves
IT Infrastructure and Security Lead
P<PHONE_NUMBER> | F<PHONE_NUMBER>
<EMAIL_ADDRESS>| anderscpa.com

ANDERS CPAs + ADVISORS

Get Outlook for iOShttps://aka.ms/o0ukef

From: JH @.>
Sent: Tuesday, May 21, 2024 7:57:20 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Dalton Reeves @.>; Author @.>
Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] https://directline.botframework.com (Issue #122681)
Warning: This email originated from outside of the Anders email system. Do not click links or attachments in this email unless you recognize the sender and know the contents are safe.

Hi @dreeveshttps://github.com/dreeves - It's hard to know what is going wrong without getting more details. Please open a support request so that we can look into this further.
I'll close this issue now, as there does not appear to be a documentation update needed. Thanks for taking the time to share your feedback, and I hope the issue is resolved quickly.
#please-close
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/122681#issuecomment-2123683334, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANIHFXZLZYN3OQX2JSLDGPDZDPUPBAVCNFSM6AAAAABICKKGZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGY4DGMZTGQ.
You are receiving this because you authored the thread.Message ID: @.***>

@dreeves14
For an issue like this, I'd recommend you create a support ticket
since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.


#17173 Fix incorrect button layout in the Tip of the Day window

Hello! This PR fixes issue #17173

@troizet Thank you for the contribution 👍


Build a docker image containing the application and push it to the GitHub container registry

Resolved by https://github.com/elhmn/waking-git/pull/51


Incorrect response from /db/_bulk_get when requesting deleted document ID

Description
When sending a POST request to /db/_bulk_get endpoint that requests a document that has been deleted, this is not returned as an error, but as an ok.
Steps to Reproduce
Assuming a local database demo:

Create a document: curl -X PUT http://localhost:5984/demo/id --header $AUTH_HEADER --header $JSON_HEADER -d '{"key":"value"}'
Delete the document: curl -X DELETE http://localhost:5984/demo/id\?rev=1-59414e77c768bc202142ac82c2f129de --header $AUTH_HEADER
Bulk get the document by _id: curl -X POST http://localhost:5984//demo/_bulk_get $AUTH_HEADER --header $JSON_HEADER -d '{"docs": [{"id": "id"}]}'

Expected Behaviour
I expected a result that is similar to the situation when the document had never existed (with reason set to deleted instead of missing), e.g.
{"results": [{"id": "id", "docs": [{"error":{"id":"id","rev":"undefined","error":"not_found","reason":"deleted"}}]}]}

The actual result is:
{"results": [{"id": "id", "docs": [{"ok":{"_id":"id","_rev":"2-9b2e3bcc3752a3a952a3570b2ed4d27e","_deleted":true}}]}]}

Your Environment
{"couchdb":"Welcome","version":"3.1.1","git_sha":"ce596c65d","uuid":"f232e7548ad3f073ffa6c1126f918b79","features":["access-ready","partitioned","pluggable-storage-engines","reshard","scheduler"],"vendor":{"name":"The Apache Software Foundation"}}

CouchDB version used: 3.1.1
Browser name and version: N/A
Operating system and version: Linux, OS X and Windows

Additional Context

After some investigating, I believe the response currently returned by _bulk_get for a deleted document is correct and standard. Currently, PouchDB returns a similar response as CouchDB does. Also, specifying and not specifying the _rev does not change the response returned.
% curl -X POST http://localhost:15984/demo/_bulk_get -H"Authorization: Basic YWRtOnBhc3M=" -H"Content-Type: application/json" -d '{"docs":[{"id":"id"}]}'
{"results": [{"id": "id", "docs": [{"ok":{"_id":"id","_rev":"2-9b2e3bcc3752a3a952a3570b2ed4d27e","_deleted":true}}]}]}
% curl -X POST http://localhost:15984/demo/_bulk_get -H"Authorization: Basic YWRtOnBhc3M=" -H"Content-Type: application/json" -d '{"docs":[{"id":"id","_rev":"1-59414e77c768bc202142ac82c2f129de"}]}'
{"results": [{"id": "id", "docs": [{"ok":{"_id":"id","_rev":"2-9b2e3bcc3752a3a952a3570b2ed4d27e","_deleted":true}}]}]}

The current response is also related to the POST request to _bulk_docs to delete a doc:
POST /db/_bulk_docs HTTP/1.1
Accept: application/json
Content-Length: 109
Content-Type:application/json
Host: localhost:5984
{
    "docs": [
        {
            "_id": "FishStew"
        },
        {
            "_id": "LambStew",
            "_rev": "2-0786321986194c92dd3b57dfbfc741ce",
            "_deleted": true
        }
    ]
}


Revised primitives

Create a new revised primitives based on unit vectors and semantics.
Base Types

[x] Point (unit vector)

Sample Spaces

[x] Set (set)
[x] Unit (scalar)
[x] Tuple (collection)

Closing due to #14


fix devicons.lua

#42
icon was nil.

PR Thank you!
Hi @The-personified-devil. Has this PR solved #42 ?

It seems so

@The-personified-devil OK. Thanks.


I've got a problem about sh

Thank you for your code and the opportunity to see what's going on with Music Transformer!!
However, I'm a newbie to this field, so I have no idea how to download midi dataset
$ sh dataset/script/{ecomp_piano_downloader, midi_world_downloader, ...}.sh
I've tried several times but, I can't figure it out on my own.
also,
$ python preprocess.py {midi_load_dir} {dataset_save_dir}
I imitated
https://si-partners.net/blog/music-transformer.html
but I still don't know how to deal with it.
please help me, I feel suffocated!

I've used this order to download piano-e-Competition dataset in file named piano-e-Competition.
bash ecomp_piano_downloader.sh piano-e-Competition

Hello,
I fixed this in my fork https://github.com/adamoudad/MusicTransformer-tensorflow2.0
and have submitted a PR some times ago #29


[FEATURE] Profile playground and check page

Description
Playground page where people can add their profile json into a form and it shows them what it would look like

validates json
formats json
shows main profile (bio, tags, social shortcuts)
shows links
shows milestones

Screenshots
No response
Additional information
No response

I think I can implement it. @eddiejaoude should I work on this?

@samyabrata-maji how is it going? If you are busy don't worry, we will unassigned it so others can work on it, let me know

@eddiejaoude I tried solving it. Couldn't implement it. I think its better to assign it to someone else.

Hy @eddiejaoude, I read the issue and I think I can implement this. Let me just confirm it once with you if I understood it correctly.
So basically we will have one more link in the navigation bar named as "Playground". When user will click on it, a form will appear where user can enter their profile json. Option to validate and format the json should be there in the page.
Option to preview how json will look in the website must also be there.
Correct eddie

Have done some development. Attaching screenshots. Let me know if these looks fine. Also please suggest any ui improvements.
Features added:

Playground page
Preview page

Playground page

Validations

Playground with all values filled

Preview page

Love the json validator with line numbers 👍
It would be good if the preview of the profile was on the same page?
Push the code to a draft pull request and we can take a look and give better suggestions

For now preview page is in seperate page.
We can do in same page. Either we can show in a modal in same page or below the form. Let me know what you think. Will make changes accordingly.
I have created a draft pull request. You can review the code and let me know if any mistakes are there.

A modal is a great idea if it is not too much work, otherwise show it below. Do what is the simplest first and we can improve more later.
Note we are using tailwindcss, and I have also bought the components package, so if you need any prebuilt components let me know and I can share the code for it
https://tailwindui.com/components/application-ui/overlays/modals

Yes sure, I will show the preview in modal then.
Please share the modal code. I will check it and make changes accordingly

This looks great @yatharth1706 👍 . I will have a proper look tomorrow. Thank you and sorry for my slow reply

Yeah sure @eddiejaoude. No issues

Hi @eddiejaoude, I think you can close this issue now. As my branch has been merged into master with your modifications. Let me know if anything is pending in this feature. Happy to help 😃

Hi @eddiejaoude, I think you can close this issue now. As my branch has been merged into master with your modifications. Let me know if anything is pending in this feature. Happy to help 😃

Thank you for your contribution and for pointing out it has now been completed! I will close the Issue.


[dask] allow parameter aliases for local_listen_port, num_threads, tree_learner (fixes #3671)

This PR closes #3671. It updates the code in lightgbm.dask so that it respects parameter aliases.
So, for example, as of this PR you can use tree_learner, tree, tree_type, or tree_learner_type to refer to the tree_learner parameter that controls which type of distributed training is performed.

Hmmm,  itdoesn't look like GPU error is related to these Dask changes:
=================================== FAILURES ===================================
_________________ TestEngine.test_missing_value_handle_more_na _________________

self = <python_package_test.test_engine.TestEngine testMethod=test_missing_value_handle_more_na>

    def test_missing_value_handle_more_na(self):
        X_train = np.ones((100, 1))
        y_train = np.ones(100)
        trues = random.sample(range(100), 80)
        for idx in trues:
            X_train[idx, 0] = np.nan
            y_train[idx] = 0
        lgb_train = lgb.Dataset(X_train, y_train)
        lgb_eval = lgb.Dataset(X_train, y_train)

        params = {
            'metric': 'l2',
            'verbose': -1,
            'boost_from_average': False
        }
        evals_result = {}
        gbm = lgb.train(params, lgb_train,
                        num_boost_round=20,
                        valid_sets=lgb_eval,
                        verbose_eval=False,
                        evals_result=evals_result)
        ret = mean_squared_error(y_train, gbm.predict(X_train))
>       self.assertLess(ret, 0.005)
E       AssertionError: 0.008207460416181563 not less than 0.005

Hmmm,  itdoesn't look like GPU error is related to these Dask changes:
=================================== FAILURES ===================================
_________________ TestEngine.test_missing_value_handle_more_na _________________

self = <python_package_test.test_engine.TestEngine testMethod=test_missing_value_handle_more_na>

    def test_missing_value_handle_more_na(self):
        X_train = np.ones((100, 1))
        y_train = np.ones(100)
        trues = random.sample(range(100), 80)
        for idx in trues:
            X_train[idx, 0] = np.nan
            y_train[idx] = 0
        lgb_train = lgb.Dataset(X_train, y_train)
        lgb_eval = lgb.Dataset(X_train, y_train)

        params = {
            'metric': 'l2',
            'verbose': -1,
            'boost_from_average': False
        }
        evals_result = {}
        gbm = lgb.train(params, lgb_train,
                        num_boost_round=20,
                        valid_sets=lgb_eval,
                        verbose_eval=False,
                        evals_result=evals_result)
        ret = mean_squared_error(y_train, gbm.predict(X_train))
>       self.assertLess(ret, 0.005)
E       AssertionError: 0.008207460416181563 not less than 0.005

Could please do the same with aliases here?

I'm happy to do this soon, but I'd like to do it as a separate PR. I have a preference for keeping the dask PRs small and quick, to prevent too much pain for @ffineis on #3708, and to make sure that the Dask interface keeps progressing towards something we're comfortable releasing with 3.2.0. You only get one chance to release code as "new" :grinning:

Could please do the same with aliases here?

I'm happy to do this soon, but I'd like to do it as a separate PR. I have a preference for keeping the dask PRs small and quick, to prevent too much pain for @ffineis on #3708, and to make sure that the Dask interface keeps progressing towards something we're comfortable releasing with 3.2.0. You only get one chance to release code as "new" :grinning:

Looks like Dask tests are quite flaky:
/home/AzDevOps_azpcontainer/miniconda/envs/test-env/lib/python3.8/asyncio/tasks.py:490: TimeoutError

but I'd like to do it as a separate PR.

Sure, thanks! 👍

Looks like Dask tests are quite flaky:
/home/AzDevOps_azpcontainer/miniconda/envs/test-env/lib/python3.8/asyncio/tasks.py:490: TimeoutError

but I'd like to do it as a separate PR.

Sure, thanks! 👍

Looks like Dask tests are quite flaky:

I'm realizing that too :tired_face: . @ffineis faced the same thing on #3708, and I think he's come up with a good solution for now on that PR. Also so my link and comments in https://github.com/microsoft/LightGBM/pull/3708#issuecomment-763365845...I think we might get better reliability from switching to the @gen_cluster fixture from Dask distributed. I'm planning to test that once #3708 is merged.

Looks like Dask tests are quite flaky:

I'm realizing that too :tired_face: . @ffineis faced the same thing on #3708, and I think he's come up with a good solution for now on that PR. Also so my link and comments in https://github.com/microsoft/LightGBM/pull/3708#issuecomment-763365845...I think we might get better reliability from switching to the @gen_cluster fixture from Dask distributed. I'm planning to test that once #3708 is merged.


[BUG] GraphQL: This query requests up to 506,650 possible nodes which exceeds the maximum limit of 500,000.

Describe the bug
Receiving an error at startup. Also, the error display causes the layout in the terminal to be corrupted.
The log seems to show that the error occurs when querying the PRs for the MicrosoftDocs/PowerShell-Docs-DSC repo. That repo only has a total of 246 issues and PRs.
To Reproduce
Start dash with my configuration. The problem is intermittent.
Screenshots
I will add a screenshot when the error occurs again.
Desktop (please complete the following information):

OS: Windows 11
gh-dash version 3.14.0
commit: bf3764ced0f35251bc315e634366ea4582313e90
built at: 2024-02-17T17:02:04Z
built by: goreleaser
goos: windows
goarch: amd64
debug.zip - contains the debug log and my configuration file

Here is a screenshot showing the error and how it breaks the layout in the terminal.

Interesting to note, I only see this error on screen when I run dash without the --debug switch. If I use --debug, the error is in the error log but not on screen.

I'm also having the same issues with both v3.14.0 and HEAD, but not when downgrading to v3.13.1:
gh extension install dlvhdr/gh-dash --pin='v3.13.1' --force

You can use HEAD until I release a new version, it should fix the problem.
For anyone that doesn't want to use HEAD, you can set a lower limit in your config:
prSections:
  - title: My PRs
    layout:
      lines:
        hidden: true
    filters: author:@me
    limit: 5

Thanks!!
On the workaround, shouldn't default.prsLimit be used when set?
https://github.com/KyleKing/dotfiles/blob/67371a68ccc550a1b336bd4d6f1484ee1ee7841d/dot_config/gh-dash/config.yml#L33

Yeah it should fallback to that of the section doesn't define one. I guess even with 50 prs, I fetch too many nodes (a pr includes comments, review threads and a whole lot more nodes)


data:shivaabhishek07

Changes proposed

I have created my own linkfree profile

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

@shivaabhishek07 and your LinkedIn profile link is wrong, it should be https://www.linkedin.com/in/shivaabhishek71/


404 error by open via cdnjs.

404 error by open via cdnjs. Can you update this, please?

Thank you for the issue.
I've open an issue here : https://github.com/cdnjs/cdnjs/issues/12552
I'm waiting for a fix asap.


Usage on windows

Is there any easy way to use this on Windows? I can't figure out how, especially since I can't get make to run on mingw.

You should give CMake a try on Windows. It can be used to generate Visual Studio project files. I'm not an expert myself on that process but I know it's possible.

Compiling with Visual Studio gives me an error about the VS runtime DLLs missing when run, even after those DLLs are installed, and Visual Studio being set to statically link instead of look for the DLLs.

Build curl in insecure mode, then in Your final app link to curl lib.

Nevermind, I managed to get make to work, the command was mingw32-make and not just make.


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_b1758d5c-c660-47b3-99bf-c9762a69a203/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_b1758d5c-c660-47b3-99bf-c9762a69a203.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd1, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


User's rights setting

Neither value "Allow uploads" nor "Restricted account" is visible on the users mask, although set in database
steps to reproduce:

create some user - set/reset "Allow uploads" and "Restricted account"; after "Save" value disappear

Weird, cannot reproduce.

tested with chrome and firefox

closed by mistake

;)
You don't have errors in the console (F12) ?

yes they are some, but not exactly on users mask...

and when you look at the network connection, what does it returns when they are set ?

response is true

I've checked it with MySQL - it works!
It's probably due to how the boolean value is interpreted:
MySQL does not have built-in Boolean type. However, it uses TINYINT(1) instead.
PostgreSQL provides the standard SQL type boolean.
The problem may be displaying the value true/false or 0/1

that is probably the case, if you can provide a fix, we will happily merge it. :)
Thank you for covering the cornercases of PostgreSQL. :')

Since I'm not a php developer, it's hard for me to find a suitable solution.
So far I have found a difference in object $user:
user record (/UserController.php) from mysql:
{"id":1,"username":"user1","upload":1,"lock":1}
and from postgresql:
{"id":1,"username":"user1","upload":true,"lock":true}
The value setting works.
I'm afraid a similar problem might be with all boolean database fields.

As a quick and dirty solution for me:
in app/Http/Controllers/UserController.php:
`
use Illuminate\Support\Facades\DB;
    public function list()
    {
            $users = User::all();
            if (DB::getDriverName() == 'pgsql') {
                    foreach ($users as $user) {
                            if ($user->lock == true) $user->lock = 1;
                            if ($user->upload == true) $user->upload = 1;
                    }
            }
            return $users;
    }

`
I'm not sure if there is a more elegant solution
it works in users mask, other tests were not possible, see #192

@jprokop1 thank you so much for testing these edges cases. With the last few commits it should hopefully be fixed now.


[10.x] Add tests for nested error messages

Refering to https://github.com/laravel/framework/issues/47030
This PR adds tests to ensure the localisation of nested error messages is working properly.
It reveals the following bug: Fully nested, partially nested and fully flat json translation files behaive differently.
In other areas of Laravel, the "degree of nesting" is irrelevant, so this should also be the case for translating validation errors from a consistency perspective.
It is possible to fix this problem of the framework in the laravel application itself, but according to the clean code principles (https://clean-code-developer.com/grades/grade-1-red/#Root_Cause_Analysis) it would be better to fix the root problem.
Currently this PR is WIP and does not fix the issue
--
Replaces: #47034

@nunomaduro Before investing in fixing this bug, does the Laravel core team think it is a bug that should be fixed?

@taylorotwell Can you let us know, if you think this is a bug that should be fixed? If yes, simply set the pull request back to draft, so we can work on a solution that makes these tests pass.

@taylorotwell Can you let us know, if you think this is a bug that should be fixed? If yes, simply set the pull request back to draft, so we can work on a solution that makes these tests pass.

I don't merge failing tests, only fixes.

Unsure if it should be fixed. We never document this as a capability of Laravel.


The UI is buggy

System: macOS 14.5 (23F79)

Hi @failable thanks for reporting, how are you running the application?
If you're doing so through something like cargo run.., are you getting any kind of warnings or errors in the terminal?

I'm using cargo run but noting is printed to the terminal. The issue happens when I start to scroll the window.

@failable thanks for confirming. I'm having trouble replicating this just with the same macOS version, some questions:

is this happening on an intel or apple chip?
what rust version are you on?
by any chance, is this happening in an external monitor only? (if so share details)
have you tried other Makepad apps and had similar issues?
(I'm assuming you're running with the latest in main)

Hello,

is your system running on an intel or apple chip?

Intel.

which rust version are you on?

rustc 1.79.0 (129f3b996 2024-06-10).

by any chance, is this happening in an external monitor only? (if so share details)

I don't have external monitor.

have you tried other Makepad apps and had similar issues?

Not yet.

Sorry for the late follow-up, we haven't managed to replicate this on macOS at all.
It's been a while now and there have been a lot of changes to Makepad, including platform specific code, PortalList cahnges (the widget used for that list of models), etc.. Hopefully this issue is no longer happening.
If the same issue or similar issues arise, please open let us know!


Language mistake in german version

There is a mistake in german language.
The button to clear a script of a node says "Leere ein Skript für das ausgewählte Node." but there are two mistakes.
There is a wrong article. It is not "das ausgewählte Node" but "den" ausgewählten Node" because Node or the german word "Knoten" is male and not neutral.
Second problem:
As far as i understand, a node can only have one script attached to it. The text suggests that you clear just one script but not the one and only script. So it should say "Leere das Skript" and not "Leere ein Skript".
So all in all it should say "Leere das Skript für den ausgewählten Node."
Version is: Godot Engine v3.0.6.stable.official.8314054
To get there, make a scene and add a node to it. Add a script to that node. At the top of your scene-view right of the filter-bar is the button to clear the script. Hover it to get the text.

You can correct this directly on https://hosted.weblate.org/projects/godot-engine/godot/
Note that translations for 3.0.x won't be updated further, the above website tracks the translations for 3.1.

Looks like this string no longer exists in the 3.1 branch.