TypeError: Scheduler.schedule is not a function

I have some code here for Rx 4 that works just fine - http://jsbin.com/tijopu/edit?js,console
Yet the equivalent for Rx 5 throws an Error
TypeError: scheduler.schedule is not a function
    at ArrayObservable._subscribe (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:892:38)
    at ArrayObservable.Observable.subscribe (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:168:29)
    at Object.subscribeToResult (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:7564:27)
    at MergeMapSubscriber._innerSub (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:4267:38)
    at MergeMapSubscriber._next (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:4259:22)
    at MergeMapSubscriber.Subscriber.next (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:725:18)
    at RangeObservable._subscribe (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:1742:28)
    at Observable._subscribe (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:196:28)
    at Observable._subscribe (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:196:28)
    at Observable.subscribe (https://npmcdn.com/@reactivex/rxjs@5.0.0-alpha.10/dist/global/Rx.js:168:29)

A jsbin for the RxJS 5 (alpha 10) version is here - http://jsbin.com/jetule/5/edit?js,console

Also the same with the alpha 12 version - http://jsbin.com/jetule/11/edit?html,js,console

RxJS5's concatMap doesn't have polymorphic behavior to accept observable directly, instead have strict interface of
concatMap<T, R>(
  project: (value: T, index: number) => Observable<any>,
  projectResult?: (outerValue: T, innerValue: any, outerIndex: number, innerIndex: number) => R)

modifying code to
Rx.Observable.range(1, 1000)
  .concatMap((x) => Rx.Observable.fromArray(x))
  .reduce(...

would work. http://jsbin.com/nidiripeje/edit?html,js,console

Thank you @kwonoj for the information.

I had the problem as well but mine seemed to be with expecting the default value to be passed to the function
Results in same error:
      return Observable.from(x)
        .mergeMap(Observable.fromPromise);

FIXED:
      return Observable.from(x)
        .mergeMap(x=>Observable.fromPromise(x));


Egress firewall support

This is missing the origin side, but that side doesn't quite work yet anyway. (Some problem with how I've defined the new resource type... it worked before when I had the firewall rules on the ClusterNetwork object instead of on a new type of object.) The interesting bit from origin is:
+// EgressFirewallPolicy gives the type of an EgressFirewallRule
+type EgressFirewallPolicy string
+
+const (
+	EgressFirewallPolicyAllow EgressFirewallPolicy = "allow"
+	EgressFirewallPolicyDeny  EgressFirewallPolicy = "deny"
+)
+
+// EgressFirewallRule contains a single outgoing traffic firewall rule
+type EgressFirewallRule struct {
+	Policy EgressFirewallPolicy
+	From   string // Namespace name or empty
+	To     string // CIDR range
+}
+
+// EgressFirewall provides a list of firewall rules on outgoing traffic
+type EgressFirewall struct {
+	unversioned.TypeMeta
+	kapi.ObjectMeta
+
+	Rules []EgressFirewallRule
+}

To avoid race conditions when updating the firewall rules, there are actually 3 tables in OVS for the firewall: table 9, which says "output:2" when there are no firewall rules, or "goto_table:10" or "goto_table:11" when there are, and then the actual rules are in either table 10 or 11, where only one of them is in use at any time, and when we need to update the rules, we update them into the other table, and then change table 9 to point to it only after everything is done.
After implementing that though, I realized that there are still other issues. Eg, if a namespace is firewalled, and you change its VNID, then there's a race condition, where some traffic coming out of a pod in that namespace could get assigned the new VNID while the firewall rules are still looking for the old VNID. Meh.
@openshift/networking PTAL. See https://trello.com/c/iH5IjWI8 for the use cases. As per earlier email, this is basically completely ignoring anything that might be going on upstream with respect to egress policy, due to timing/scope, but we do at least hopefully want this to be a subset of what eventually gets implemented upstream.

Looks OK to me, just a small nit.

So this has the same service Endpoint problem as multitenant used to have; since the firewalling happens in OVS, you can bypass it by manually creating a service endpoint pointing to the firewalled address; that translation won't happen until after the traffic leaves OVS, at which point it's too late.

well that sounds like a non-starter for a lot of people, probably...

merged into https://github.com/openshift/origin/pull/9227


CHMOD  777 - Which directory?

Please, explain, I don't know, which directory I should edit to:
Fatal error: Uncaught phpFastCache\Exceptions\phpFastCacheDriverException: PLEASE CREATE OR CHMOD /cache/testsite.ru/Files - 0777 OR ANY WRITABLE PERMISSION!
Very strange path! :((

I've found out that there is phpfastcache module error. There must be full path with variable in examples like that:
$instagram = \InstagramScraper\Instagram::withCredentials('login, 'password', dirname(FILE).'/cache');

Can confirm that this was indeed the issue. Had the same and solved the same way.

I'm still suffering the issue.
$instagram = \InstagramScraper\Instagram::withCredentials('login, 'password', dirname(FILE).'/cache'); doesn't work for me. Any progress on it? @raiym

Another way is to add the user www-data to the group in order not to give full access to the folder.


Add OnyxUI to developer tools

Lists OnyxUI in the developer tools documentation.

Couple of notes:

Try editing the Markdown, not the HTML output (will close this PR because merging to gh-pages won't do anything, automation overwrites it)
We want to avoid imparting an opinion in the description of tools. Everyone strives for quality! It's better to matter-of-factly describe tools in terms of what they do. For example, "Style-able UI components for Fusion". This more neutrally and effectively communicates what the tool does.


CentOS7.exe backup >> not working

C:\CentOS7>CentOS7.exe backup
Running backup Script.
If a password is requested, please enter the root password.
tar: Cowardly refusing to create an empty archive
Try tar --help' or tar --usage' for more information.
bash: line 1: --exclude: command not found
bash: line 2: --exclude: command not found
How can I fix it?

I done.
tar -zcpf /mnt/e/centos7.backup.tar.gz --exclude=/proc --exclude=/dev --exclude=/mnt --exclude=/media --exclude=/lost+found  --exclude=/tmp --exclude=/sys  --exclude=/run /


[contents.php] Fix logical error in getSimpleHTMLDOMCached function

Previously content was only loaded from cache when debug mode was enabled (the opposite of the expected behavior)

Nice catch @mightymt !


FIx top-down partition rdo split don't have ref pixelse

Fix for #761.

Verbose now and will need factoring.

AWCY results will come soon.
AWCY results w/ tx-domain turned off will also come soon.

Coverage increased (+0.04%) to 83.525% when pulling 3e338d10150bce027b2f80c2c90a991a358b642b on ycho:fix_top_down_partition_missing_rec into e3243957e3a8fd7a53433935f79ea5cfb943681d on xiph:master.

I hope we land this verbose version first then we can revise it cleaner with refactoring as separate patch.

Gain for -s 0:

PSNR
PSNR Cb
PSNR Cr
PSNR HVS
SSIM
MS SSIM
CIEDE 2000

-1.7455
-1.8582
-1.8858
-1.5072
-1.5250
-1.4228
-1.6135

AWCY link


Added my new App idea: Linear-Programming-Solver

Hi!
This is a project idea that came in to my mind when i was learning Linear Programming at the University.

I added new file named Linear-programming-Solver.md to the 2-intermediate folder

Hello everyone 👋
I hope this message finds you well. As you may know, the original repository for app ideas has not been updated in a while and is no longer actively maintained. However, I'm excited to let you know that a new repository has been created to continue this project (https://github.com/vincent0426/app-ideas).
The new repository aims to provide a comprehensive list of practical and achievable app ideas that developers of all levels can work on to improve their skills and build their portfolios. We welcome contributions from anyone who wants to add their own app ideas or improve the existing ones, and we are also looking for volunteers who can help maintain the repository and keep it up to date.
If you are interested in contributing or maintaining this project, please head over to the new repository (https://github.com/vincent0426/app-ideas) ⭐ and take a look at the existing issues and pull requests. Feel free to open a new issue if you have an app idea to suggest or if you have any questions about the project.
Thank you for your attention, and I hope to see you in the new repository soon! 💖

⚠ This message was generated by a robot 🤖, if this message reached you, consider leaving a star for this robot, repository link
⭐ https://github.com/aldairandre/github-bot ⭐


Toolbar not visible

The toolbar doesn't show up at all. How can I help you debug this?

This package by itself doesn't add any buttons as it's a service for other package to consume and append their own buttons. You can install one of the plugins to propagate the toolbar with icons.

Closing as probably invalid.

How do you add buttons?

@kendrickdk you need to install some plugins like Jerone mentioned above.

I figured it out... I just installed his other plugin that had the main
buttons already in it.  TY.
On Sat, Feb 2, 2019 at 10:11 AM Wojtek Siudzinski<EMAIL_ADDRESS>wrote:

@kendrickdk https://github.com/kendrickdk you need to install some
plugins https://github.com/suda/tool-bar#plugins like Jerone mentioned
above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/suda/tool-bar/issues/142#issuecomment-459981649, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbJ4W_y-fT6WFhrXXa_-yEHP6F4kwrgXks5vJcbbgaJpZM4Ii9QA
.


Remove terminal dependencies and build desmoscli in wasm

There are so many dependencies in the Cosmos SDK which uses Cobra and Viper. These dependencies make the desmoscli can't be compiled purely to wasm. We should figure out a way to remove those dependencies to build a standalone wasm binary which can be run on browser and mobile app directly.

close #2

I personally think that thanks to Juno, the upcoming Stargate update (which implements Protobuf) and the work that's being made on the CosmJs library as well as all the other web libraries, we should think if running a full\light node inside a web browser is really what we want.
I personally think that we should drop this objective as it seems highly undesirable to have such a energy consuming workload on web pages that are used only from a mobile phone or laptop. What do you think @kwunyeung?

Yup I also have this thought last couple days.


Execute apt-get-update-periodic on compile time if node['apt']['compile_time_update'] is true

This pull request adds the compile logic to resource execute[apt-get-update-periodic], similar to what is done in bash[apt-get-update at compile time].
I looked for tests on compile time, but I didn't find any and I don't know how to write those. Some guidance would be necessary to write tests for this PR.
Background
I was expecting Chef to run apt-get update to fix a broken APT configuration on compile time, but even with the compile_time_update node attribute set to true it is not updating in compile time.
Right after my include_recipe "apt::default" there is include_recipe 'build-essential::default', which installs packages in compile time, but since the apt conf wasn't fixed yet by apt cookbook, it failed and Chef aborted.

Hi @thommay,
My understanding is that your PR didn't change the behavior I described here, since that PR doesn't make execute[apt-get-update-periodic] run in compile time (if necessary).
Does your PR (#161) address the issue I mentioned in this PR? If it does, do you mind explaining how?
//cc @lamont-granquist

it makes the compile time apt-get update we already have work properly, and that correctly updates the periodic time stamp. So there's no reason to try and run two different apt-get updates in the compile phase. Does that answer your question?

Yes! Thanks, @thommay. I didn't pay attention to the change in library/helpers.rb, sorry.


Stac should resolve band paths similar to ODC

Use the ODC method for resolving measurement paths
(which handles edgecases like URLs better),
Skip assets with no location at all.

This fixes Explorer's Stac validation tests for Stac 1.0.0.

Codecov Report

Merging #202 (e20b309) into eodatasets3 (5374f0b) will decrease coverage by 0.05%.
The diff coverage is 75.00%.

@@               Coverage Diff               @@
##           eodatasets3     #202      +/-   ##
===============================================
- Coverage        87.97%   87.92%   -0.06%
===============================================
  Files               26       26
  Lines             3777     3786       +9
===============================================
+ Hits              3323     3329       +6
- Misses             454      457       +3

Impacted Files
Coverage Δ

eodatasets3/stac.py
90.07% <75.00%> (-1.73%)
:arrow_down:

Continue to review full report at Codecov.

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


Feature: add hubself cert manage mode that use bearer token to bootstrap yurthub agent

yurthub is currently communicating with master using the kubelet component's certificate(/etc/kubernetes/kubelet.conf), and when the node certificate expires, yurthub will not work because kubelet cannot update the node certificate via yurthub.
To solve this case, add node certificate generation and cycle updating ability to yurthub, so yurthub without kubelet node certificate can communicate with master. and when node certificate expires, yurthub can update it by itself.

To solve this case, add node certificate generation and cycle updating ability to yurthub, so yurthub without kubelet node certificate can communicate with master. and when node certificate expires, yurthub can update it by itself.

Can you elaborate:

Where to get the JoinToken when starting the cert manager?
What is the workflow of handling node cert expiration with the new code? I assume the (ycm *yurtHubCertManager) Update() method will be called but I don't see the caller.

Overall, the PR is good. I just have a question regarding the "jointoken." When the yurthub starts to run, the kubelet should have connected to the kube-apiserver already. Can we reuse the kubelet's bootstrap config instead of passing the "jointoken" through the command line?

/lgtm

To solve this case, add node certificate generation and cycle updating ability to yurthub, so yurthub without kubelet node certificate can communicate with master. and when node certificate expires, yurthub can update it by itself.

Can you elaborate:

Where to get the JoinToken when starting the cert manager?
when transfer  k8s worker node into  openyurt worker node, currently yurtctl deploy a yurthub on the node. so bootstrap join token will be created by yurtctl before yurthub deployment. and we will add this implementation in another pull request.

What is the workflow of handling node cert expiration with the new code? I assume the (ycm *yurtHubCertManager) Update() method will be called but I don't see the caller.
yeah, the caller for cert update will be added in another pull request

Overall, the PR is good. I just have a question regarding the "jointoken." When the yurthub starts to run, the kubelet should have connected to the kube-apiserver already. Can we reuse the kubelet's bootstrap config instead of passing the "jointoken" through the command line?

if no join token is set for yurthub when hubself cert mode is selected, orginal kubelet.conf also will be used.


Improved WOL and handling TV channels

Set the magic_packet to send a series of messages instead of a single message which drastically improves TV turn on behaviour (for me it's now working perfectly), see below for my investigations
Implement a ‘channel_list’ in the configuration which allows changing the TV channel via Lovelace input selection and more importantly by voice command (tested with Google Home).
Improved the ‘play_media’ service call when calling for a channel content type to change to TV input first if not already on TV mode. Works best with smartthings integration, without smartthings it is not able to distinguish TV from HDMI input.
Improved the ‘play_media’ service call when calling for a channel to not switch to a channel if it is already on the right channel (prevents the tv to go from digital to antenna) – only works with smartthings integration.

Full explanation here

Sounds great, I'll check the changes over the weekend

Merged, I'll ping you when I've made a new release.

I released v1.5.0 which includes your changes


Logistical Transporter pipes do not attach to Extra Utilities 2's Trash Cans

Using Mekanism <IP_ADDRESS>0 on 1.10.2

They don't attach to nullifiers from UsefulNullifiers either...

Commit?

It are probably mods who only support inventory capabilities, for which support is added in the 1.11 branch.

Anything to back that up?

Only checked UsefulNullifiers (as extra utilities 2 is closed source).
https://github.com/Bartz24/UsefulNullifiers/blob/master/src/main/java/com/bartz24/usefulnullifiers/tiles/VoidNullifierTile.java
This is the tile entity, which isn't an instance of IInventory, but has an inventory capability.
The implemented class is an abstraction of IItemHandler (a requirement for the capability) as defined at https://github.com/McJty/compatlayer/blob/1.11.2/src/main/java/mcjty/lib/compat/CompatItemHandler.java
As for reference of the commits in the 1.11 branch (not sure if I got them all):
b97b7184c138000997e34194174a7d82e5ebbed4
0392f550dcef7621c8a5361f9c3aedf3afeb9a24
796c9e502a6b5f5ad60b220a004d15b84cd1bbbd
ccb342ead7aab4260245edbbdd32b2ce370ea757

Ok those are the commits I was expecting to see here, though it seems like we're going to see a lot of segmentation as to what the mainstream-modded-mc-version is going to be...


tower-cli does not support username with leading zero

Here is an example, for valid user "008675309", which can log into the Tower web interface using the same password;
$ tower-cli credential list -u "008675309" -p ‘MyPassword'
Error: Invalid Tower authentication credentials (HTTP 401).
Other valid user, beginning with non zero succeeds ("481629847",) even when leading zero is added ("00481629847", which does not exist):
$ tower-cli credential list -u "481629847" -p 'MyPassword'
== ========================= ===============
id           name            credential_type
== ========================= ===============
71 aws-ansible-x                           5
74 ansible-vault-d                         3
42 empty-machine-credentials               1
== ========================= ===============
$ tower-cli credential list -u "00481629847" -p 'MyPassword'
== ========================= ===============
71 aws-ansible-x                           5
74 ansible-vault-d                         3
42 empty-machine-credentials               1
== ========================= ===============
It appears the username is being treated as a number somewhere along the pathway, even though the tower-cli code looks like it is a string.  Any patterns of quoting or escaping, or placing the same into .tower_cli.cfg do not make any difference.
This is a blocker for some automation we are trying to roll out, since several of the users who need to run CLI commands have the username with leading zero.  So far, we have not found any workaround for the issue.

resolved in linked PR


3.1.3 building docs randomly fails trying to create the directory

This one is admittedly really weird. About every 3rd build attempt either locally via isolated buildroot (chroot) or on Fedora infra I get this error[1]:
error: Could not create output directory /builddir/build/BUILD/Imath-3.1.3/redhat-linux-build/docs/doxygen/xml
gmake[2]: *** [docs/CMakeFiles/Sphinx.dir/build.make:81: docs/doxygen/html/index.html] Error 1

Since we build in parallel for 6 arches, chances are at least one of them will have this issue and the overall build fail[2].
I'm open to any ideas here...
[1] https://kojipkgs.fedoraproject.org//work/tasks/6351/77756351/build.log
[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=77756269

This issue should be fixed now : 27e908ecb846a70054681379c8c0baae019028f9


Create and Update docs 1.27

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve
/unhold


Impossible to play some tracks

Hi,
I have realised that since a couple of days librespot is not able to play some tracks.
When I start playing the track from the up-to-date Spotify android app or from open.spotify.com, nothing happen and only the following line is found in the log (each time I request playing):
(Spotify) [2020-04-18T19:53:54Z INFO  librespot_connect::spirc] No more tracks left in queue

I am using librespot compiled today on commit ef27b4bce371d0a41e7ee2263244ed141684ff9b running from a snapcast server on a raspberry pi 3 (armv7l).
An example of track impossible to be played: track/0J2p4KYdr6Mg4ET6JPlbe1
Antoine

I'm getting the same issue, except it happens with all tracks.
I'm starting librespot as
pi@raspberrypi:~ $ sudo librespot -n "Librespot Speaker" -b 160 --device "sysdefault:CARD=sndrpihifiberry"
[2020-08-15T18:52:57Z INFO  librespot] librespot (raspotify v0.14.0) 6aac8a6 (2020-07-24). Built on 2020-07-26. Build ID: wPNyqn0m
[2020-08-15T18:53:04Z INFO  librespot_core::session] Connecting to AP "guc3-accesspoint-b-bmgb.ap.spotify.com:4070"
[2020-08-15T18:53:05Z INFO  librespot_core::session] Authenticated as "noizenheimer" !
[2020-08-15T18:53:05Z INFO  librespot_playback::audio_backend::alsa] Using alsa sink
[2020-08-15T18:53:05Z INFO  librespot_core::session] Country: "US"
[2020-08-15T18:53:05Z INFO  librespot_connect::spirc] No more tracks left in queue

and no audio seems to arrive at my raspberry pi.
Also noteworthy

I'm starting song play from spotify ios app
librespot does the same whether song is started before or after selecting device
if I advance the track on ios app: [2020-08-15T18:55:00Z INFO  librespot_connect::spirc] Not playing next track because there are no more tracks left in queue.
if I skip to previous track on the ios app:

thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', connect/src/spirc.rs:1159:29
stack backtrace:
   0:   0x88b584 - backtrace::backtrace::libunwind::trace::had1ce870e7642f03
                       at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
   1:   0x88b584 - backtrace::backtrace::trace_unsynchronized::he46c884781dd51a8
                       at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
   2:   0x88b584 - std::sys_common::backtrace::_print_fmt::h621902e5e498623c
                       at src/libstd/sys_common/backtrace.rs:78
   3:   0x88b584 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h39c43d9eea8febb9
                       at src/libstd/sys_common/backtrace.rs:59
   4:   0x8b2e88 - core::fmt::write::h1faa4c62c7847860
                       at src/libcore/fmt/mod.rs:1076
   5:   0x884cd4 - std::io::Write::write_fmt::h1d02362bb0653180
                       at src/libstd/io/mod.rs:1537
   6:   0x88de68 - std::sys_common::backtrace::_print::hb6e6bf916a89634f
                       at src/libstd/sys_common/backtrace.rs:62
   7:   0x88de68 - std::sys_common::backtrace::print::h70b0c25b24fd7afb
                       at src/libstd/sys_common/backtrace.rs:49
   8:   0x88de68 - std::panicking::default_hook::{{closure}}::hc261daa3190f9e66
                       at src/libstd/panicking.rs:198
   9:   0x88db1c - std::panicking::default_hook::h5ce743d47ceb319b
                       at src/libstd/panicking.rs:218
  10:   0x88e520 - std::panicking::rust_panic_with_hook::hb609da6fd4918712
                       at src/libstd/panicking.rs:486
  11:   0x88e13c - rust_begin_unwind
                       at src/libstd/panicking.rs:388
  12:   0x8b0560 - core::panicking::panic_fmt::h48562d60f069801a
                       at src/libcore/panicking.rs:101
  13:   0x8b0528 - core::panicking::panic_bounds_check::hf394c8ac15a6104f
                       at src/libcore/panicking.rs:73
  14:   0x4c4f18 - librespot_connect::spirc::SpircTask::get_track_id_to_play_from_playlist::h185a7b661a1f479c
  15:   0x4c4fb4 - librespot_connect::spirc::SpircTask::load_track::h26596fdb8ba8975f
  16:   0x4c4100 - librespot_connect::spirc::SpircTask::handle_prev::h7370911a77585fd3
  17:   0x4c1d0c - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::hca2e59f6ce090749
  18:   0x479534 - <librespot::Main as futures::future::Future>::poll::hb6066ad006e6f68c
  19:   0x47fc68 - futures::task_impl::std::set::h084e6325663de6f9
  20:   0x47fec4 - futures::task_impl::std::set::h3c32452dee050335
  21:   0x461e48 - std::thread::local::LocalKey<T>::with::ha70cd7ac97d797ba
  22:   0x45dfb4 - tokio_current_thread::Entered<P>::block_on::ha9b21d11623ba87c
  23:   0x47efa8 - tokio_timer::timer::handle::with_default::h49052d56ddbe1634
  24:   0x461c04 - std::thread::local::LocalKey<T>::with::h15a5d3e5058f8296
  25:   0x4856e4 - scoped_tls::ScopedKey<T>::set::ha239ba9e873b9553
  26:   0x468f04 - tokio_core::reactor::Core::run::he161dc1ccad6b1bb
  27:   0x47bce4 - librespot::main::h6424af6f8ac98335
  28:   0x47f538 - std::rt::lang_start::{{closure}}::h20fd6404e8f8e33a
  29:   0x88e8e4 - std::rt::lang_start_internal::{{closure}}::he71ca971345dcdbf
                       at src/libstd/rt.rs:52
  30:   0x88e8e4 - std::panicking::try::do_call::h3ebcd0c1fd722d55
                       at src/libstd/panicking.rs:297
  31:   0x88e8e4 - std::panicking::try::he6a0b75af361a6ec
                       at src/libstd/panicking.rs:274
  32:   0x88e8e4 - std::panic::catch_unwind::h2fbf955b2ece72b7
                       at src/libstd/panic.rs:394
  33:   0x88e8e4 - std::rt::lang_start_internal::ha55d91cd07438bce
                       at src/libstd/rt.rs:51
  34:   0x47cc78 - main
  35: 0x76c82718 - __libc_start_main
                       at /build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308

I got mine to start playing by terminating some aplay service that was installed by the adafruit speaker bonnet setup installed (see https://learn.adafruit.com/adafruit-speaker-bonnet-for-raspberry-pi/raspberry-pi-usage)
After stopping aplay service (was supposed to help with popping on open/close of audio device?), librespot works fine with it.

Is this still happening?  There were some bugs on Spotify's end late last year causing these issues but I haven't seen them for a few months now so I'm wondering if this problem has now been resolved after Spotify fixed their servers.

You are correct @Malvineous. I have not encountered this errors for the past few months.


Can't install global tool from private nuget repo

There does not appear to be a way to install a global tool from a private repo.  It appears dotnet ignores "
ClearTextPassword" and I'm unaware of how to get an encrypted password on Linux since dotnet does not have the ability to add sources.
dotnet tool install --configfile ./NuGet.config --global customprivatetool
fails with 401 unauthorized
I'm using VSTS package management and things work fine on windows when I use an encrypted password.

Please forgive my ignorance, I was running into the docker inner/outer scope ARG/ENV issue, I've fixed my problem.  This works as expected.  Thanks.


Update emr script

allow empty ufs uri (means local hdfs mount)
-c flag which installs client jar and conf but do not start alluxio

@Xenorith PTAL

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9935/
Test PASSed.

@madanadit @Xenorith  fixed back compat and alphabetical order

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9942/
Test PASSed.

alluxio-bots, merge this please


Sprockets::Rails::Helper::AssetNotFound at /

I am trying to use Minipack but I am getting this error:
Sprockets::Rails::Helper::AssetNotFound at /
The asset "js/vendors-home.adac56fa84f3069d8f77.js" is not present in the asset pipeline

The asset mentioned is generated by webpack, and can be found in public/dist/js. However,  I do have assets from the asset pipeline - notably from other gems.
.
Configuration information below. Does anything stick out as obviously wrong.
In the meantime I have begun a clean new app to see if I can get it working there.
thanks,
Anita
Bundle generation
// webpack.dev.js
const commonConfig = require('./webpack.common.js');
const finalPath =  path.resolve(paths.Public, 'dist');

const devConfig = {
  mode: 'development',
  output: {
    path: finalPath,
    filename: 'js/[name].[chunkhash].js'
  },
....
module.exports = merge(commonConfig, devConfig)

//webpack.common.js
...
const commonConfig = {
 plugins: [
    new WebpackAssetsManifest({
      entrypoints: true
    }),
...

...
module.exports = commonConfig

Files are generated in public/dist and look fine.
# manifest.json
...
 "entrypoints": {
    "home": {
      "js": [
        "js/vendors-home.adac56fa84f3069d8f77.js",
        "js/home.4349e22ee3d91d252be1.js"
      ],
      "css": [
        "css/home.4d19c4ae13baa692fc23.css"
      ]
    }
  },
  "home.css": "css/home.4d19c4ae13baa692fc23.css",
  "home.js": "js/home.4349e22ee3d91d252be1.js",
  "vendors-home.js": "js/vendors-home.adac56fa84f3069d8f77.js"
...

Bundle consumption
# config/minipack.rb
Minipack.configuration do |c|
  c.cache = !Rails.env.development?
  c.manifest = Rails.root.join("public", "dist", "manifest.json")
end

and finally in the view
<!-- Javascript/Stylesheet Pack Tag-->
<%= javascript_bundles_with_chunks_tag 'home', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_bundles_with_chunks_tag 'home', 'data-turbolinks-track': 'reload' %>
<!-- Javascript/Stylesheet Pack Tag-->

and it is from here that the error is triggered.

I've generated a much simpler app, without all the baggage of the original one, and I am getting the same error.
Rails 6.0.0 (original problem on Rails 5.2.3)
Ruby 2.6.3

The configuration looks no problem. I’ll check it in a few days.

Solution so far - in  the simplified application is
# config/environments/development.rb
config.assets.check_precompiled_asset = false

and
# config/initializers/assets.rb
# Add the webpack output path to the assets path
Rails.application.config.assets.paths += [
  Rails.root.join('public', 'dist' ).to_s
]

I'll close the issue, but if there is a better answer I'd be eager to see it.


Handle all exceptions when checking for proc data

Previously we only checked for FileNotFoundError's, which would be thrown when the proc directory didn't exist at all. But sometimes the calibration pipeline will be really fast and create the proc directory and even create some files by the time the backend has received the migration message and launched a job. In this case open_run() will fail with an Exception about no HDF5 files being usable, which we didn't catch before and would cause processing of freshly-migrated runs to fail.

LGTM


[feature request] Default Dashboard JSON Configuration

It would be useful to be able to have access to the dashboard JSON required to generate this picture, rather creating the tiles individually for each new org we set this up for

I've just set this plugin up for nycvaccinelist.com, and wanted to check if there's a way we can get this default integration dashboard in a few clicks.

Alternately, it might be necessary to programmatically generate this JSON rather than doing a 1-time export, since we may have to add a prefix to keep the metric names organized like js-build-plugin.

Unfortunately, we don't have any integration (yet).
I'm not sure I'm following

programmatically generate this JSON rather than doing a 1-time export

Do you mean that the exported JSON you get isn't enough for what you need?

@yoannmoinet would it be ok for us to open source our build plugin dashboard JSON configuration, even without the "dynamic prefix generation" step I proposed above? This way, @icirellik's team would be able to have our setup as a starting point.

Hey @hydrosquall is that dashboard JSON still available? Would very much appreciate!

So sorry for the delays.
I've created #39, let me know if that would work.
I'll merge it once you give me a ✅

Hi @icirellik / @leggomuhgreggo / @irudoy thanks for your interest in this feature.  Not sure if you saw https://github.com/DataDog/build-plugin/pull/39, let us know how it goes with applying the default dashboard to your setups :).


customize theme

theme must include

[ ] locked background image
[ ] clickable galleries with "discovery themed" border per gallery cover photo

this will require updating programmable-matter-hugo-theme itself

OBE as per Grav adoption.


Could not find a Portal above this PortalTarget when using OpenContainer animation

I'm using flutter_portal 1.1.4 with the animations package from flutter.dev.
If I use a PortalFollower in combination with an OpenContainer (aka 'container transform', which provides a nice transition animation when pushing a route), when the container opens, I get:

The following PortalNotFoundError was thrown building _PortalTargetVisibilityBuilder(visible: false, closeDuration: null, builder: Closure: (BuildContext, bool) => Widget, dirty, state: _PortalTargetVisibilityBuilderState#7635b):
Error: Could not find a Portal above this PortalTarget(debugName: null, portalCandidateLabels=[[String <'test'>]]).

The relevant error-causing widget was:
PortalTarget PortalTarget:file:///Users/james/GithubRepos/portal_bug/lib/main.dart:48:18
When the exception was thrown, this was the stack:
0      _PortalTargetState.build. (package:flutter_portal/src/portal_target.dart:265:11)
1      _PortalTargetVisibilityBuilderState.build (package:flutter_portal/src/portal_target.dart:449:26)

I think that during the transition animation, PortalTarget cannot find a PortalLinkScope
        // From portal_target.dart line 263:
        final scope = PortalLinkScope.of(context, widget.portalCandidateLabels);
        if (scope == null) {
          throw PortalNotFoundError._(widget);
        }

I think because the animation detatches the whole widget from the original context to do the animation to the new route. This error occurs even if I set visibility to false on PortalTarget before triggering the animation.
I guess this is more a problem with the animations package but it would be nice if it could not throw an error if PortalLinkScope is not found but visibility is false, for example:
        final scope = PortalLinkScope.of(context, widget.portalCandidateLabels);
        if (scope == null) {
          // Add this check:
          if(widget.visible) {
            throw PortalNotFoundError._(widget);
          }
          else {
            return Container();
          }
        }

Here's a minimal reproducible example, just tap the button to trigger the error:
import 'package:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:flutter_portal/flutter_portal.dart';

const portalLabel = PortalLabel('test');

void main() {
  runApp(const MaterialApp(
    home: Portal(
      labels: [portalLabel],
      child: Example(),
    ),
  ));
}

class Example extends StatefulWidget {

  const Example();

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {

  bool _visible = true;

  @override
  Widget build(BuildContext context) {
    return OpenContainer(
      closedBuilder: (BuildContext context, VoidCallback openContainer) {
        return Center(
          child: PortalTarget(
            portalCandidateLabels: const [portalLabel],
            visible: _visible,
            portalFollower: const Row(
              mainAxisSize: MainAxisSize.min,
              children: [
                Icon(Icons.arrow_circle_up),
                Text('Tap here'),
              ],
            ),
            anchor: const Aligned(
              target: Alignment.bottomRight,
              follower: Alignment.topCenter,
            ),
            child: ElevatedButton(
              onPressed: () {
                setState(() {
                  _visible = !_visible;
                });
                openContainer();
              },
              child: const Text('Open container'),
            ),
          ),
        );
      },
      openBuilder: (BuildContext context, VoidCallback openContainer) {
        return const Scaffold(body: Center(child: BackButton()));
      },
    );
  }
}

not throw an error if PortalLinkScope is not found but visibility is false

IIRC flutter_portal has a feature that, if visible becomes false, it may show some animation. (e.g. see https://github.com/fzyzcjy/flutter_portal/blob/786cd79fb16f353c870e89958d29cf583e6c06b9/lib/src/portal_target.dart#L387 ).
However, for your scenario, what about something like: visible ? PortalTarget(..., child: YourButton()) : YourButton(). In other words, when not visible, just directly remove the PortalTarget.

Thanks, that seems to work. I'm still not entirely sure why it's happening as I'm not using a closeDuration on PortalTarget (so I don't think it animates?) and OpenContainer is quite complex. But I think this workaround may be the best solution

You are welcome!


Transient forcing: forward fill versus interpolation and principle of least surprise

I was expecting forward fill on my user_demand, but I got linear interpolated values:

I guess there are reasons for this, but it's not quite Principle of Least Surprise to me.
I see that it's mentioned in the docs: https://deltares.github.io/Ribasim/core/usage.html#userdemand-time
Precipitation uses forward fill. This is desirable, because precipitation is generally provided as e.g. daily sums. If you start interpolating between sum values, you don't actually meet the sum, because the vertices of the interpolation are always the most extreme values.
Anyway, what is the thinking behind this? Why is demand interpolated rather than forward filled?

Hi @Huite, I would agree that forward fill would be logical. My assumption is that all predictors for the allocation algorithm would be forward fill including the demand predictor


Change default location of created local instances

from ~/.aem/${project.rootProject.name} to ${project.rootProject.file(".aem")
it will be easier to preview what instance holds directly in IDE, could be shared folder when using vagrant
still value will be overiddable

Done


Change all Strings in Bundle structs to str

Really cool project! I was introduced to this by @scotty-c.
This change moves all of Bundle's (and its related structs') Strings to be &str constrained on some lifetime 'a which when deserializing will be the lifetime of the json str. This cuts down massively on the number of allocations needed to deserialize Bundles. It does mean though that you'll have the noise of having to mess with lifetime params when working with Bundle and its related structs.

Thanks! I just finished reading the lifetimes section on the book. This PR has been really helpful in my learning Rust.


docs(home): update layer version to 62 for package version 2.33.1

Issue number: #3780
Summary
Changes

Update layer version to 62 for package version 2.33.1. Not sure if this is an automatic process that was not triggered on the latest release, but the docs still mention the layer version 61 which has the package version 2.33.0 installed.

User experience

Users will have the correct reference to layer version 62 for when they want to use the latest 2.33.1 version of aws-lambda-powertools.

Checklist
If your change doesn't seem to apply, please leave them unchecked.

[X] Meet tenets criteria
[X] I have performed a self-review of this change
[X] Changes have been tested
[X] Changes are documented
[X] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

thank you so much @ericbn - something indeed happened with our automation. For the first time, it only updated parts of it.
cc @rubenfonseca

issue created #3780 - discovered the root cause.. it was the new GitHub Action upload-artifact major version which had a race condition in the last release, which led to the collection of Layer ARN be partial hence the PR reflecting parts with 62 version only.
cc @dreamorosi @am29d @rubenfonseca @sthulb so you're aware of the risk for next release until we use dynamic artifact + merge.

Docs rebuilt with the new Layer version. Thank you so much again @ericbn

Thanks for the heads up @heitorlessa! Just to make sure I understand the risk: was the issue only confined to the ARNs in the docs, or was the layer publishing also affected?

Docs only. As layers were published, the JSON artefact upload partially at
random. The docs update rely on that JSON
On Fri, 16 Feb 2024 at 10:09, Andrea Amorosi @.***>
wrote:

Thanks for the heads up @heitorlessa https://github.com/heitorlessa!
Just to make sure I understand the risk: was the issue only confined to the
ARNs in the docs, or was the layer publishing also affected?
—
Reply to this email directly, view it on GitHub
https://github.com/aws-powertools/powertools-lambda-python/pull/3778#issuecomment-1948006471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZPQBGFNC5CLXYCZS7PPR3YT4O45AVCNFSM6AAAAABDLC3SN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGAYDMNBXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Not compatible with @capacitor/core 6.0.0

NPM Error
Your version of @capacitor/google-maps is not compatible with @capacitor/core 6.0.0..
To Reproduce
Steps to reproduce the behavior:

Go to IONIC Upgrade
Click on 'Migrate to Capacitor 6'
Scroll down to 'Output Window on VS Code'
See error

Expected behavior
Should upgrade to Capacitor 6 without any issues

Well, this has taken somewhat longer to resolve than I hoped. Obviously, @capacitor/google-maps has not been updated to support the new<EMAIL_ADDRESS>Currently using  --legacy-peer-deps flag to bypass the peer dependency conflict, pending when the upgrade for @capacitor/google-maps would be available. The only other option, interim, would be to defer/downgrade from<EMAIL_ADDRESS>

I got it working with Capacitor 6 by installing the ACTUAL latest version of this plugin. See: https://github.com/capacitor-community/google-maps/discussions/234

@ravimittal16 I read your error message again and noticed that you are in the wrong repo. The error is about @capacitor/google-maps, but this is the repo for @capacitor-community/google-maps.

For anyone looking for info on the ionic team's @capacitor/google-maps v6 compatibilty issues, the answer is here
https://github.com/ionic-team/capacitor-google-maps/issues/5#issuecomment-2072345149

@frederikheld I think they are same.

We were able to update Capacitor v6 with RC version of google-maps plugin. Hence clsoing the issue

They are definitely not the same. I spent a lot of weeks recently, to figure out how both of them work and they work very different (and none of them properly)


Animation doesn't play when list is refreshed with StreamBuilder

If I wrap ListView with staggeredList animation from the example code inside StreamBuilder, animation plays on the first run, but does not play when stream builder calls the builder a 2nd time.

Hello,
You can try to add a UniqueKey() as a key to the AnimationLimiter

I tried placing AnimationLimiter as 1st parent of ListView and also as a parent of StreamBuilder. With either of these tries, animation does seem to play when list is refreshed, but then it glitches. See attached video file.
1111.mov.zip

And then I'm also getting this

════════ Exception caught by scheduler library ═════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
setState() called after dispose(): _AnimationLimiterState#40c11(lifecycle state: defunct, not mounted)

This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.

The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().

When the exception was thrown, this was the stack:
#0      State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1197:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1232:6)
#2      _AnimationLimiterState.initState.<anonymous closure> (package:flutter_staggered_animations/src/animation_limiter.dart:45:7)
#3      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1113:15)
#4      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1060:9)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ (2) Exception caught by scheduler library ═════════════════════════════════════════════════
setState() called after dispose(): _AnimationLimiterState#46820(lifecycle state: defunct, not mounted)
════════════════════════════════════════════════════════════════════════════════════════════════════

@Gintasz
The UniqueKey() make the AnimationLimiter be recreated each time your widget is rebuilt.
Depending on your use case, you probably need to update this key only on the first build when you want your list animation to play.
One way of doing this is to pass a boolean to you cell like animate and only wrap your cell in Animations widget if you need to animate.

Looks like LayoutBuilder as parent in the tree of my widgets is at fault, as it's called every time list is scrolled. Yet to figure out why. Animation works fine if it's removed.


Selection handlers should take precedence over page actions

Bug Description
Follow-up issue for #2042
See comment: https://github.com/google/web-stories-wp/issues/2042#issuecomment-643923137
When an element is rotated outside of the page such that the handles are on top of any of the page actions of the left and right nav buttons, the selection box handles should take precedence. Currently that is not the case:

Figma flow here
Expected Behaviour

The selection box handles should take precedence.
Additional Context

Plugin Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

@samitron7 Felt very strongly that the selection should NOT take precedence over the page menu. Could we just confirm this one more time quickly before making the change?

Yes, if you're rotating and the element is off the page then want to resize, it's a pain to have to move the element back inside because it's conflicting with the page action. If the element is actively selected, the focus should go to it. We should close out this ticket.

If the element is actively selected, the focus should go to it.

That's what this ticket wants to address, so why close it? 🤔

Agree with @swissspidy and we can clarify, the point here is to keep the focus while the element is selected. If the element is not selected, then priority to page actions makes sense.

@o-fernandez To confirm: should it take precedence over the Page carousel as well? Or just the Page actions?

@o-fernandez To confirm: should it take precedence over the Page carousel as well? Or just the Page actions?

See Figma Flow here
The selection box should remain hidden/not be clickable once you get to the page carousel section, as that's technically outside the workspace.

Verified in QA - PR#2556

This should also include the page navigation. Currently, if the selection box controls are over the page navigation, I end up navigating the page instead of focused on what i need to do (ie, manipulate my element)

Thanks for the information, created a new issue and closing this: https://github.com/google/web-stories-wp/issues/2814


send_on_create_confirmation_instructions callback isn't defined (rails 5)

fixes an issue where send_on_create_confirmation_instructions callback isn't defined.
previously reported on https://github.com/lynndylanhurley/devise_token_auth/pull/496
I, [2016-01-23T13:17:10.940856 #23602]  INFO -- : Started POST "/v1/auth" for <IP_ADDRESS> at 2016-01-23 13:17:10 +0800
I, [2016-01-23T13:17:10.943297 #23602]  INFO -- : Processing by DeviseTokenAuth::RegistrationsController#create as */*
I, [2016-01-23T13:17:10.943428 #23602]  INFO -- :   Parameters: {"name"=>"Patrick Ma"<EMAIL_ADDRESS>"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"https://localhost:4200/login"}
I, [2016-01-23T13:17:11.010024 #23602]  INFO -- : Completed 500 Internal Server Error in 66ms (ActiveRecord: 0.0ms)
F, [2016-01-23T13:17:11.011114 #23602] FATAL -- :
ArgumentError (After create callback :send_on_create_confirmation_instructions has not been defined):
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:641:in `block (2 levels) in skip_callback'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:637:in `each'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:637:in `block in skip_callback'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:568:in `block in __update_callbacks'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:566:in `reverse_each'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:566:in `__update_callbacks'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:636:in `skip_callback'
  /home/pma/.rvm/gems/ruby-2.3.0/bundler/gems/devise_token_auth-cb85c92b2297/app/controllers/devise_token_auth/registrations_controller.rb:41:in `create'
  actionpack (5.0.0.beta1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
  actionpack (5.0.0.beta1) lib/abstract_controller/base.rb:183:in `process_action'
  actionpack (5.0.0.beta1) lib/action_controller/metal/rendering.rb:30:in `process_action'
  actionpack (5.0.0.beta1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:126:in `call'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:455:in `call'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:90:in `run_callbacks'
  actionpack (5.0.0.beta1) lib/abstract_controller/callbacks.rb:19:in `process_action'
  actionpack (5.0.0.beta1) lib/action_controller/metal/rescue.rb:27:in `process_action'
  actionpack (5.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
  activesupport (5.0.0.beta1) lib/active_support/notifications.rb:164:in `block in instrument'
  activesupport (5.0.0.beta1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
  activesupport (5.0.0.beta1) lib/active_support/notifications.rb:164:in `instrument'
  actionpack (5.0.0.beta1) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (5.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
  activerecord (5.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (5.0.0.beta1) lib/abstract_controller/base.rb:128:in `process'
  actionpack (5.0.0.beta1) lib/action_controller/metal.rb:192:in `dispatch'
  actionpack (5.0.0.beta1) lib/action_controller/metal.rb:264:in `dispatch'
  actionpack (5.0.0.beta1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
  actionpack (5.0.0.beta1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
  actionpack (5.0.0.beta1) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
  actionpack (5.0.0.beta1) lib/action_dispatch/routing/mapper.rb:47:in `serve'
  actionpack (5.0.0.beta1) lib/action_dispatch/journey/router.rb:42:in `block in serve'
  actionpack (5.0.0.beta1) lib/action_dispatch/journey/router.rb:29:in `each'
  actionpack (5.0.0.beta1) lib/action_dispatch/journey/router.rb:29:in `serve'
  actionpack (5.0.0.beta1) lib/action_dispatch/routing/route_set.rb:715:in `call'
  warden (1.2.4) lib/warden/manager.rb:35:in `block in call'
  warden (1.2.4) lib/warden/manager.rb:34:in `catch'
  warden (1.2.4) lib/warden/manager.rb:34:in `call'
  rack (2.0.0.alpha) lib/rack/etag.rb:25:in `call'
  rack (2.0.0.alpha) lib/rack/conditional_get.rb:38:in `call'
  rack (2.0.0.alpha) lib/rack/head.rb:12:in `call'
  activerecord (5.0.0.beta1) lib/active_record/query_cache.rb:36:in `call'
  activerecord (5.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:963:in `call'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
  activesupport (5.0.0.beta1) lib/active_support/callbacks.rb:90:in `run_callbacks'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
  railties (5.0.0.beta1) lib/rails/rack/logger.rb:42:in `call_app'
  railties (5.0.0.beta1) lib/rails/rack/logger.rb:24:in `block in call'
  activesupport (5.0.0.beta1) lib/active_support/tagged_logging.rb:70:in `block in tagged'
  activesupport (5.0.0.beta1) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (5.0.0.beta1) lib/active_support/tagged_logging.rb:70:in `tagged'
  railties (5.0.0.beta1) lib/rails/rack/logger.rb:24:in `call'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
  rack (2.0.0.alpha) lib/rack/runtime.rb:22:in `call'
  activesupport (5.0.0.beta1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  actionpack (5.0.0.beta1) lib/action_dispatch/middleware/load_interlock.rb:13:in `call'
  rack (2.0.0.alpha) lib/rack/sendfile.rb:111:in `call'
  rack-cors (0.4.0) lib/rack/cors.rb:80:in `call'
  railties (5.0.0.beta1) lib/rails/engine.rb:522:in `call'
  rack (2.0.0.alpha) lib/rack/tempfile_reaper.rb:15:in `call'
  rack (2.0.0.alpha) lib/rack/lint.rb:49:in `_call'
  rack (2.0.0.alpha) lib/rack/lint.rb:37:in `call'
  rack (2.0.0.alpha) lib/rack/show_exceptions.rb:23:in `call'
  rack (2.0.0.alpha) lib/rack/common_logger.rb:33:in `call'
  rack (2.0.0.alpha) lib/rack/chunked.rb:54:in `call'
  rack (2.0.0.alpha) lib/rack/content_length.rb:15:in `call'
  puma (2.15.3) lib/puma/server.rb:541:in `handle_request'
  puma (2.15.3) lib/puma/server.rb:388:in `process_client'
  puma (2.15.3) lib/puma/server.rb:270:in `block in run'
  puma (2.15.3) lib/puma/thread_pool.rb:106:in `block in spawn_thread'

thanks @fivetwentysix


FIX: datetime serialization exception handler exception and message

Closes #137

The change in python-msgpack that broke us is:
https://github.com/msgpack/msgpack-python/commit/e464cb44fa3af5ad3ecd83f9c045b16981d01bb2
which (1) changed the exception type and (2) added to the exception text. This PR will work on both the old and new versions.


fix error on declaring docker_container with port_mapping

@aguschin This is not new actually. I think I left it there to highlight that this field is dict. But that's another issue


Password retry until lockout

I have tried a number of different ways to login, but when I get to the password page some string is repeatedly entered until the too many attempts 15 minute lockout kicks in.
Any suggestions?
I'm running Python 3.8 on Windows.

Hey I'd like to second this, as a new MintAPI user, I've been locked out.
Additionally, if anyone reads this, the Discord invite on the README has expired. While creating a new invite link, you can set one of the settings to "NEVER" under "Expire After".

Additionally, if anyone reads this, the Discord invite on the README has expired. While creating a new invite link, you can set one of the settings to "NEVER" under "Expire After".

Whoops, thanks, updated in the README!

@DavidLangworthy, can you give the command you are entering to cause this (python or command line)?

This was from the captive browser for the amazon categorizer tool.  I attempted a repro from the mintapi command line client.
If you're looking at this, I can try another repo this weekend.  If you'd like a particular environment let me know.  I have conda.
Thank you!

Isolating to mintapi would be helpful. Conda or cpython is fine.
On Thu, Sep 9, 2021, 9:45 AM DavidLangworthy 'notifications at github.com'
<jaron-github+reply+ADGNKUAKKOMBVJDDSCHRHMN7IX7SFEVBNHHDNFFZ24=
@.***> wrote:

This was from the captive browser for the amazon categorizer tool. I
attempted a repro from the mintapi command line client.
If you're looking at this, I can try another repo this weekend. If you'd
like a particular environment let me know. I have conda.
Thank you!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mrooney/mintapi/issues/263#issuecomment-916167723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGNKUCEAGSME3BASTON2STUBDCCFANCNFSM46LEASMQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks.  Will do.


Fail keyword causes assert on Test Teardown

Summary
For a given test case, you may call the Fail keyword at any time, but you cannot call it during the Test Teardown phase.
Detail

If Fail is called as the last step in a test case, setting the case status (including any msg you supply) works fine.
However, if you attempt to call this keyword during the test teardown phase, you will get the following if you don't include a message: Teardown failed: AssertionError
If you do include a message, the HTML tag isn't honored:

Teardown failed:
*HTML* My Message Title
φ FAIL

... etc.
Here is an example of a keyword that does work if it is called as the last step in a test case, and should work if called as a Test Teardown:
Finish Test Messages
    [Documentation]     This runs fine if called inline with a test case,
    ...                 however, it will fail if called from Test Teardown
    Run Keyword If  ${test_fail_count} > 0   Fail  msg=*HTML* ${test_messages}
    ...     ELSE    Set Test Message    *HTML* ${test_messages}

Suggested Fix Approaches

Don't allow this keyword to throw an assertion merely because it is called in the test teardown phase.
If the above is not acceptable, update the documentation to reflect that it cannot be called during any teardown phase (test or suite).

My guess is that using *HTML* doesn't work because the actual error is prefixed with Teardown failed:. The same problem would occur also with continuable failures if there are more than one failure. I'm not sure how easy this is to fix but I can take a look. Can you clarify is there some other issue than this?

@pekkaklarck - I'm assuming that as well. I guess my point is - why is teardown failing? Unless I flag the test case as failed, it appears to pass and the HTML is rendered correctly. Only if I mark it as failed (per my keyword example, if the ${test_fail_count} is greater than zero) will it blow up.
My point is this - if you have the Fail built-in keyword executing during test teardown, it says that teardown failed. That was an unexpected behavior to me. I would have thought that teardown failing would have meant that whatever action(s) I had specified for teardown couldn't be completed. Is the Fail keyword out of scope at that point? Otherwise, it seems that it should work on test case teardown (I would understand if I tried to do this at Suite teardown).
Let me know if my reply doesn't make sense. :confused:

To further illustrate...
This Works!
(nothing declared for Test Teardown):
*** Test Cases ***
API - Lender Management Routes
    [Documentation]     = Case Steps =
    ...
    ...             | *Step* | *Verification Action* |
    ...             | _1._ | Retrieve Package Label File response is good. |
    ...             | _2._ | Get Address Validation response is good. |
    ...             | _3._ | Evaluate pass/fail within test case. |
    [Tags]  positive    API    get   smoke
    Given Get Package Label File Response Is Good
    And Get Package Address Validate Is Good
    Then Finish Test Messages

This Throws the Assert
*** Settings ***

Test Teardown       Finish Test Messages

*** Test Cases ***
API - Lender Management Routes
    [Documentation]     = Case Steps =
    ...
    ...             | *Step* | *Verification Action* |
    ...             | _1._ | Retrieve Package Label File response is good. |
    ...             | _2._ | Get Address Validation response is good. |
    ...             | _3._ | Evaluate pass/fail within test case. |
    [Tags]  positive    API    get   smoke
    Given Get Package Label File Response Is Good
    And Get Package Address Validate Is Good
    Then Finish Test Messages

@pekkaklarck - Is that any more helpful? :mag:

How Finish Test Messages behaves depends on ${test_fail_count}. Without a full executable example I cannot really comment is the behavior correct or not. Notice that Fail doesn't do anything more than raise AssertionError(msg) and thus isn't any different to any other keyword that could potentially fail in teardown.Notice also that you could simplify Finish Test Messages

When ${test_fail_count} is zero, the test message is set and formatted just fine. Even if I strip all of that out and just do this at Test Teardown:
Finish Test Messages
    Fail

then I still get the Teardown failed: AssertionError in the Message column of the report. If I don't call Fail then no assertion happens. Again, it only happens if it is called during teardown - it doesn't happen if it is called as one of the steps (logically, the last) of the given test case.
So - is this by design? If so, then the documentation for this keyword should include a note: "If this keyword is executed during Test Teardown, an assert will be output to the test message."
If this was not by design... :beetle:
IMO, it would be preferable for this to be usable during teardown such that the test case author could determine whether the case passed or failed.

Fail always fails with message AssertionError if you use it without an explicit message. In teardown the only difference is that you get that additional Teardown failed: prefix.

OK, @pekkaklarck - I've probably wasted enough of your time on this. I appreciate it!
So if I understand you correctly, if I want to do my own eval and set Fail on a test case, I need to do it before teardown or I'll get the "teardown failed" message, along with it ignoring the HTML formatting "switch" - yes?
If so - I understand, even though it's kind of a bummer that I must have one additional step in each and every test case to do this vs. just one time in the Test Teardown. :cry:

I think Teardown failed is good but it breaking HTML is definitely bad. A separate bug should be submitted about it.

@pekkaklarck - hopefully issue 2360 gives you what you need. Let me know if it does not.

Closing in favor of #2360.


[New Port Request] libpsl

Library name: libpsl
Library description: C library to handle the Public Suffix List
Source repository URL: https://github.com/rockdaboot/libpsl
Anything else that is useful to know when adding (such as optional features the library may have that should be included):
It can use either libicu, libidn2 or libidn as dependency, although it seems that most Linux distributuions build is with libidn2.

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now, consider making a pull request instead.

@JackBoosY Does this section of maintainer guide mean that I will have to choose one of backend libraries for libpsl (either icu or libidn2), and users won't able to choose another via feature? If so then I think it will stay in my personal vcpkg registry. I actually need to build both variants of it, and I don't think I'm qualified to make this choice for others.

@JackBoosY Does this section of maintainer guide mean that I will have to choose one of backend libraries for libpsl (either icu or libidn2), and users won't able to choose another via feature?

Yes. That will cause the diamond issue if you use both 2 features.


implement real error case for precompiles

Describe the feature you would like
current ErrorPrecompileFailedGadget is for dummy use,  need to handle each precompile error case in its gadget.
Additional context
https://app.asana.com/0/1203078612788501/1205200959683966/f

done


Upgrading filesystem stops MSys2 from starting in $HOME

This morning I ran pacman -Syu. As soon as I upgraded to filesystem-2018.02-1-x86_64.pkg.tar.xz, MSys2 stopped opening in the $HOME directory. $HOME was set to the right directory; I could cd $HOME, and it worked.
I fiddled around with /etc files for a while but couldn't identify what had changed. Downgrading to filesystem-2017.05-1-x86_64.pkg.tar.xz fixed the problem.
Any ideas? Thanks.

I should note that my $HOME directory is mounted in fstab, which has
C:/Users /home ntfs binary,noacl,auto 1 1

so that my Windows user directory can also be my MSys2 user directory. This always worked before. I suspect that issue #1162 may point to the same problem.

Try this:

close every MSYS2 process
open a command prompt in usr\bin
run strace -o C:\trace.txt bash
look for "mount_info" in trace.txt, maybe even post the file

Thanks, @elieux. Everything mounts correctly.
I figured out what is going on.
I see that in msys2_shell.cmd we have set CD_HOME=yes. But I always launch MSys2 using a shortcut that has C:\tools\msys64\usr\bin\mintty.exe /bin/zsh --login -i, so CD_HOME presumably isn't getting set.
If I set the Windows environment variable CD_HOME to yes before launching mintty, everything works properly.
What do you think changed?

What do you think changed?

I guess this happened: https://github.com/Alexpux/MSYS2-packages/pull/1151
Then this happened:https://github.com/Alexpux/MSYS2-packages/pull/1154
Maybe it's fixed now.
--
David Macek

Thanks, @elieux. It would appear to be fixed now. I'll close this issue.


Add a plotter

Add some way to plot up the light curves of transients

Where a host redshift of transient redshift exists plot a second axis with absolute magnitude

Added a plotter in the newest version using ploty.

Add discoverer and classifier information to the plot


Use several fmts at one time

Now you can use several fmts at one time: moq -fmt fmt,goimports
Using 2 fmts at one time - can help with problem #94
goimports will delete redundant imports.

@kl09 Isn't goimports doing all what gofmt is doing + adding / sanitizing the imports? So why would I need to run both?

@kl09 Isn't goimports doing all what gofmt is doing + adding / sanitizing the imports?


Delete multiple keys in a single operation

Pass an array of keys to be deleted in a single operation.
await keyv.delete(['key-1', 'key-2', 'key-3']);

Would be nice to have for performant deletion of multiple keys. However not sure this is gonna be feasible to implement without breaking Map compatibility.

You definitely can't have that if you want to keep the default store a simple Map(). However, you can create a wrapper around Map(), kinda like a keyv-map module but included in keyv instead of maintained separately.

I think you could just loop over the args if it's an Array and if store is an instance of Map.
Something like this:
delete(key) {
	key = this._getKeyPrefix(key);
	const store = this.opts.store;
	return Promise.resolve()
		.then(() => {
			if (store instanceof Map && Array.isArray(key) {
				return Promise.all(key.map(key => store.delete(key)));
			}
			return store.delete(key)
		});
}

But that doesn't feel like a very neat solution.

Want me to toy with the idea and propose a couple of solutions? I'd rather do it once you're done with other core changes though


403 error when using stak

Hello,
first off, thank you for creating this!
i'm receiving the 403 error below when using the stak command. however, when manually listing accounts as favorites in ~/.kion.yml and using the fav command, everything works fine. i assume it has to do with permissions, but when first running the stak command, i am able to see all the projects i have access to.
e@mbp kion-cli %
e@mbp kion-cli % kion stak

 Choose a project: dev
 Error: received 403
 {"status":403,"message":"Insufficient permission to view project accounts"}

e@mbp kion-cli %

@sixth thanks for opening the issue. Yeah it sounds like a permissions configuration issue. Can you take a look and let me know what permissions you have on the dev project?

doesn't seem like i have access to view my permissions? attaching screenshots of the webUI below;

Thanks for the screenshots. We were able to replicate the issue here. Take a look at this branch, if you are able to pull that down and give it a go let me know if it resolves it on your end.

The fix has been merged into main. Let me know if the problem persist.

that was fast! confirming it works on my end as well. thanks again


fix: change Vite config type to work with Vitest options

closes https://github.com/sveltejs/kit/issues/8768
As suggested by Rich and Dominik, this changes all vite.config templates to:

use defineConfig instead of type annotations.
import defineConfig from vitest if the project includes vitest.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Is this a breaking change since it changes the shape of the vite config?

As in how the config is exported? (changed from exporting the constant to directly exporting the method output).
I'm not sure if it's breaking. It still uses the vite UserConfig type, but gets the type inference from the defineConfig output instead. Only the vitest option has changed to correctly use the superset type from vitest instead of vite.

It's more along the lines of potential downstream projects like svelte-add modifying that code. @babichjacob is vite.config.js/ts something svelte-add touches/adders could touch?

approved, but will hold off merging till we get clarity around svelte-add

Svelte Add is fine with defineConfig - it doesn't even validate that it's from Vite (or even called defineConfig - just that it's a function) so using the one from Vitest is a-ok. Thanks for the heads up, and you can go ahead.


[ENHANCEMENT] Support reserved memory in terraform-provider-rancher2 and docker-machine-driver-harvester

Is your enhancement related to a problem? Please describe.
We support to set reserved memory when provision a VM on harvester dashboard. However, there is no way to set it when users create a guest cluster. We should add it to terraform-provider-rancher2 and docker-machine-driver-harvester.

Hi! Any ETA on this?


Remove unnecessary parameters

The PR title "Remove unnecessary parameters" generally follows the imperative mood, but it could be more specific to adhere to best practices. To align with the guidelines, you might want to adjust the title to clarify which part of the codebase is affected and why these parameters are considered unnecessary.
Here are some suggestions for a revised PR title:

"Clean up function calls by removing unused parameters"
"Refactor API methods to eliminate redundant parameters"
"Simplify database query signatures by stripping superfluous parameters"

Each of these revised titles is still imperative, under the 72-character limit, and provides more context about where the change is happening and why. However, without additional context about the specific parameters or the area of the codebase being modified, it's difficult to provide a perfectly tailored title.
Remember, a good PR title helps reviewers understand the intent of your changes without having to dive into the code, and it also helps in maintaining a readable project history. If there are specific functions, classes, or modules that are affected, including those in the title can also be helpful.
OpenAI response time: 13.2 seconds


Chapter 9 - Name conflict

In the Grouping components section of Chapter 9, I can not find the definition of CardWrapper. I think it should be Cards, or the Cards below should be replaced by CardWrapper.

Yeap it's a typo. In the last code example on line 6 Cards should be CardWrapper

@JayYi3 Thank you for the feedback! This typo has been fixed :)


Checking test pass - Fix failing test

Likely the oldest post of subject page has been changed.
https://www.facebook.com/FullscreenInc/posts/221415914568791
The previous oldest post doesn't show
https://www.facebook.com/FullscreenInc/posts/363440160366365

Coverage remained the same at 100.0% when pulling b6ecaa8e4fcf299d2bf4895616025e54546174f2 on fix-error into a7486976e8c5c6f7bc7c46c5677a4542b089ea23 on master.

@kangkyu I ran the tests locally on master and the tests are not failing.
Are you sure this PR is still necessary?

They put the oldest post back. Closing this.


bug ffmpeg please help

(node:43668) UnhandledPromiseRejectionWarning: Error: FFmpeg/avconv not found!
at Function.getInfo (/root/self/node_modules/prism-media/src/core/FFmpeg.js:143:11)
at Function.create (/root/self/node_modules/prism-media/src/core/FFmpeg.js:156:38)
at new FFmpeg (/root/self/node_modules/prism-media/src/core/FFmpeg.js:45:27)
at AudioPlayer.playUnknown (/root/self/node_modules/discord.js-selfbot/src/client/voice/player/BasePlayer.js:47:20)
at VoiceConnection.play (/root/self/node_modules/discord.js-selfbot/src/client/voice/util/PlayInterface.js:71:28)
at Object.play (/root/self/utils.js:83:51)
at Object.module.exports.run (/root/self/commands/play.js:63:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:43668) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:43668) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Have you installed FFMPEG ? Is it in your PATH ?


autoclustering not working at all when using long names

I have no problems with autoclustering using erlang short names, but if i enable long names i get an error message when the plugin tries to join the other node using only a shortname.
With the logging level for autocluster turned all the way up I see the following in the log:
=ERROR REPORT==== 24-Feb-2016::05:54:57 ===
** System running to use fully qualified hostnames **
** Hostname rabbitmqalpha is illegal **
=ERROR REPORT==== 24-Feb-2016::05:54:57 ===
autocluster: Can not communicate with cluster nodes: [rabbit@rabbitmqalpha]
I looked through your recent commits and noticed there were some fixes made for consul. Did they address any of these issues?  I attempted to build the plugin from source but it failed miserably for both the umbrella and this project.  Do you maybe even have a builder docker that builds the plugin?  in the long term we'd really prefer to use erlang long names in all our nodes.
Thanks!

I had to deal with this today, the workaround that I found was defining RABBITMQ_USE_LONGNAME=true as an environment variable. For some reason if you define USE_LONGNAME=true in rabbit-env.conf the plugin doesnt work. Dunno why, some clarification will be nice

It currently doesn't support the truncated environment variables from the rabbit-env.conf file (and does not advertise doing so). I'll open a ticket to addrabbit-env.conf support to a future release.


Tell openapi-python-client update to not change certain folders/packages

When I run:
openapi-python-client update --path apispec.yaml

A custom folder, util is deleted.
I'd like to have an option where update will ignore the util folder.
I've considered somehow bundling the util folder outside of the package, but I really want something where it's straightforward to distribute some higher level code built on top of the really nice generated code.

Looks like this line could be replaced https://github.com/openapi-generators/openapi-python-client/blob/main/openapi_python_client/init.py#L130 with something that either:

explicitly only deletes known folder names (e.g. only models and only api), OR

deletes everything except some allow-listed folder names

here's a short proof of concept:
https://github.com/openapi-generators/openapi-python-client/pull/641

Related to #454 I think

Absolutely related, thanks for pointing out.
Happy to try and take my proof concept across the finish line, but also not sure what the desired developer experience is.
I do like the "ignore" terminology in #454, for what it's worth.


added new session-processing pattern (analysing smth in between smth)…

… based on daily_over_fs

@mpimenov PTAL

LGTM after fix


[#30] Improve event query filter

Part of #30

Once your review is done, I will be happy that you review https://github.com/curvegrid/v2.curvegrid.com/pull/215 too 🙇


Updating Contentful About information returns errors for Profile

Hi,
I'd like to update the favicon from the starter project. However if I update the Contentful content About, which is where the React Helmet is pulling its query Information from, the values for Profile becomes Nullify with a new Image upload
profile: {
    appleIcon: null
    bigIcon: null
    favicon16: null
    favicon32: null

I tried updating the icon referenced in Manifest-config to the image I need, which works if I run a build and serve from the build, but it seems gatsby develop is pulling the Icon directly from Contentful, which is different than the local image
How can I update both at the same time?
Also this might be more of a contentful question but how does it show Profile to be a Media content on the Contentful content GUI, but with the query, it shows Profile having appleIcon, bigIcon, favicon16 & favicon32? I'm not sure how those individual values can be updated in Contentful

Hello @alicemao23, I never encountered this issue. I think it might be connected to the type/extension of the image. What format are you using (png, jpg, svg, etc.)?


use forward-word-strictly when available

This is just a follow up to the previous pull request.  It just
introduces a simple macro to use forward-word-strictly when
it is bound.
go-goto-function-name and the like don't work properly in
emacs >= 25 with subword-mode when types are camelCased,
eg,
func (list *LinkedList) Sum() int {
	// point
}

Thanks for the PR. Two things:

Please call the macro go--forward-word, i.e. use two dashes to signal that this is an internal symbol
What's the significance of eval-when-compile here? If it's just an optimization, I think we can do without here. The body is small, and none of the other macros are wrapped in eval-when-compile.

if you use eval-when-compile then that macro will be expanded during compilation so the go-forward-symbol wont be exported when using the library, since it isn't needed anywhere else.


Flashing is very short, cant conect anymore

I flash mi yi 1080p home BFUSY31CG1 with 8.0.0XX firmware.
I put the SD card with the 2 folders and one file , then I power on the cam.
Blue led flashes and i heard thye relay "click", then blue led flashes a couple of seconds and turns yellow. after a few seconds, the "click" again, the cam reboots flashing blu led a few seconds and then it conect to network, but i cant acces anymore. I read the wiki webcodes and noone work.
I saw in the network but i cant conect any way,
The flasin proces is incomplete im afraid.
I tray version 1.4 and the same thing happens.
I have return to flash last version, , 1.5 , with identical result,I cant conect anymore.
I have another identical cam and saw in the wiki the process to bacup stock firmware, but im dont know how to flas it again on the cam that dont work.
But id like to have rtsp streamin to my computer, so it will be wonderfull if this firmware works for me , any ideas?
Sorry for mi english

well, after exploring a little I find that the cam conects to mi network, Ican reset and reconect but it dont pair with the android app, I cant acces anyway.
I think config.sh on the sd card its executed, it disables yi junk in init.sh , and repalces the update.sh wtih a more friendly one, but then for some reason the firmwareis not flased, it reboots with the old firmware but with almos services disabled.
This is a backup of the system after flashin with yi-hack-Allwinner 0.1.5,
the current state:
backup_POST FLASH.zip
And this is a backup from the other cam in the pack, as it comes from factory
without any modification, conected to my network and working flawessly...
but witout rtsp:
backupFACTORY+WIFI.zip
Firmware version is: <IP_ADDRESS>A_201912270941
and the exact model: 1080p home BFUSY31CG1
Hope it helps, thank you for your work

have you made sure nothing on your network is using port 8080?

Looking at the backups you've made, there are a lot of strange things.
There are traces of another hack, probably yi-hack-v3.
Original init.sh, update.sh and extpkg.sh are missing.
It takes a lot of work to recover your cam.

Many thanks, roleoroleo.
Yes, I find this hack at the end of a large seek, and I try another hack before, but it seems not do anyting, the cam start like ever and I though the sd card update was not working,
there was no changes that I could see.
The lack of extpkg.ssh may explain that I cant access trhu ssh, ill try with telnet.
When I have time I´ll study it a bit and I´ll try to recover.
I have another identical cam, lookin at the "backupFACTORY+WIFI.zip" (extracted from this second cam):
Will the hack work? That cam is as out of the box, the only thing I do with it is conect to my network via the android app,I made testing only in the first cam.
It will be nice if it works, i can sacrifice one of the cams, its a cheap toy,
but I want rtsp for streamin,
Im doubt about the firmware version, thus its a brand new cam bougth a couple of days ago.
I read users with the same model BFUSY31CG1 working, but i´m not shure if mi firmware is the same version or a newer one that isnt supported.
Many thanks for your time.

The hack should work if the fw is <IP_ADDRESS>A
Check the fw version on your app.
I will try to create a script to recover your 1st cam.

Many thanks, roleoroleo.
The app says that firmware version is: <IP_ADDRESS>A_201912270941
It seems that<PHONE_NUMBER>41 is a timestamp of the compilation,
so I will try formating sd card , decompress y20gam_0.1.5.tgz and paste the contents on the root of the sd card. Then I put the card on the cam and power on.
The led would blink on yellow a while, the cam would reboot and the led would blink yellow again for a long time (till an our. as I read on the guide on the main page of the proyect). The process is finished when the led turns blue and dont blink anymore.
Im rigth?
I have two more questions:
I need to reboot the cam at last to it boot to the new firmware, or I can use it when the process finish?
Should I reset the cam before doing this, or leave it as is, already conected to my network?
It would be nice if you do that script to recover the first cam, I used linux years ago, and I was unwrapped with the terminal, but I never understand scriptin on linux very well.
Without ssh way(ssh its not working), I´m trapped.
Thank you so much for your effort and your patience!

Correct.
If you use a clean SD card the upgrade procedure will finish in a minute.
The cam will reboot at the end of the procedure. When the system restart is ready, no more reboots.
Don't reset the cam before the upgrade.

Try this for your bricked cam:
https://drive.google.com/open?id=1Jp0rQvP1WqkPQDEl34PlK4pZsJVJK18l
Clean the sd card before try.

Thanks roleoroleo , it works perfectly, after your repair the cam conect to network via android app perfectly, paired and working perfectly.
Now I go to try y20gam_0.1.5 , and post here the results.
Im crossing my fingers...
Thank you very much

well, this is working fine, mi two cams are now flased and work correctly.
MAny thanks for you effort roleoroleo.
I cant see a button to contributeon your proyect, or in your profile, is there anyway to donate?
The rtsp performance is not good even with all other services turned off, and OBS hangs.
On VLC it runs better, but i have to investigate how to midify encoder parameters.
It be nice to reduce the high rtsp to 1280x720 to get better performance,thus low its very low, i will put that in pull requests better.
Many thanks again for your effort and your patiente.
I wait a while to close the thread for the donate question.

His donation info is at the bottom of the readme/main page of the github
https://cdn.discordapp.com/attachments/399670410565910529/709811916301664799/Screenshot_20200512-125757.png

thanks , I close this thread

The rtsp performance is not good even with all other services turned off, and OBS hangs.
On VLC it runs better, but i have to investigate how to midify encoder parameters.
It be nice to reduce the high rtsp to 1280x720 to get better performance,thus low its very low, i will put that in pull requests better.

It's not possible to change resolution: you can choose only between 1920x1080 and 640x360.
Unfortunately, we don't have control on the encoding phase.


Possible regression: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling cublasGemmEx

Describe the bug
The app works fine for me on version 0.1.6, however, I am facing this issue on the latest versions.
My card is a 3060 with 12gb of VRAM.
To Reproduce
Steps to reproduce the behavior:

Use the the 0.1.7 or 0.1.8 releases
Select the dataset
Use runwayml/stable-diffusion-v1-5
3000 steps
3e-6 LR
Use the following settings:

--mixed_precision=fp16
--train_batch_size=1
--gradient_accumulation_steps=1
--gradient_checkpointing
--use_8bit_adam

Expected behavior
The training to start. It works on 0.1.6 but not on the latest versions.
Logs
 0%|          | 0/3000 [00:00<?, ?it/s]
Steps:   0%|          | 0/3000 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/train_dreambooth.py", line 695, in <module>
    main()
  File "/train_dreambooth.py", line 627, in main
    noise_pred = unet(noisy_latents, timesteps, encoder_hidden_states).sample
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/accelerate/utils/operations.py", line 507, in __call__
    return convert_to_fp32(self.model_forward(*args, **kwargs))
  File "/opt/conda/lib/python3.7/site-packages/torch/amp/autocast_mode.py", line 12, in decorate_autocast
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/diffusers/models/unet_2d_condition.py", line 307, in forward
    sample = self.mid_block(sample, emb, encoder_hidden_states=encoder_hidden_states)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/diffusers/models/unet_blocks.py", line 373, in forward
    hidden_states = attn(hidden_states, encoder_hidden_states)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/diffusers/models/attention.py", line 169, in forward
    hidden_states = block(hidden_states, context=context)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/diffusers/models/attention.py", line 220, in forward
    hidden_states = self.ff(self.norm3(hidden_states)) + hidden_states
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/diffusers/models/attention.py", line 350, in forward
    return self.net(hidden_states)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/container.py", line 139, in forward
    input = module(input)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/linear.py", line 114, in forward
    return F.linear(input, self.weight, self.bias)
RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasGemmEx( handle, opa, opb, m, n, k, &falpha, a, CUDA_R_16F, lda, b, CUDA_R_16F, ldb, &fbeta, c, CUDA_R_16F, ldc, CUDA_R_32F, CUBLAS_GEMM_DFALT_TENSOR_OP)`

Steps:   0%|          | 0/3000 [00:00<?, ?it/s]

Desktop (please complete the following information):

OS: Arch Linux
GPU: RTX 3060 12gb VRAM
RAM: 16gb of RAM

Thank you for report! Do you mind install v0.1.6 and rerun it. Just to make sure It's a regression introduced in 0.1.6-0.1.8

Thank you for report! Do you mind install v0.1.6 and rerun it. Just to make sure It's a regression introduced in 0.1.6-0.1.8
Do you mind also run adocker images in command line?

I am training a model right now on 0.1.6, it is working fine.
As for the second request, here it is:

REPOSITORY                             TAG         IMAGE ID       CREATED       SIZE
smy20011/dreambooth                    gpu_debug   3e95c62d9125   10 days ago   15GB
smy20011/dreambooth                    latest      1468ae175524   2 weeks ago   14.9GB
stablediffusion-infinity-sd-infinity   latest      094b1365ee29   6 weeks ago   1.49GB

I also updated my system (including CUDA related libs), I will try again with 0.1.8 once I finish the training

I think you can do a docker pull smy20011/dreambooth:latest to fix this problem. I accidentally removed docker image update ability in 0.1.6-0.1.8 and you don't have the newest image.

I think you can do a docker pull smy20011/dreambooth:latest to fix this problem. I accidentally removed docker image update ability in 0.1.6-0.1.8 and you don't have the newest image.

I did this, and I can confirm it is now working on the latest version (1.1.8) =)
Thank you!


Deserialization of derived type works only when "$type" is first attribute in JSON object

Source/destination types
internal class Base
{
    public string Name { get; set; }
}

internal class Derived : Base
{ }

Source/destination JSON
{"Name":"test","$type":"Derived, DeserializationError"}

Expected behavior
I'd like to get instance of Derived class.
Actual behavior
I'm getting instance of Base class.
Steps to reproduce
var settings = new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.All };

var json1 = "{\"Name\":\"test\",\"$type\":\"Derived, DeserializationError\"}";
var obj1 = JsonConvert.DeserializeObject<Base>(json, settings); // obj1 has Base type

var json2 = "{\"$type\":\"Derived, DeserializationError\",\"Name\":\"test\"}";
var obj2 = JsonConvert.DeserializeObject<Base>(json, settings); // obj2 has Derived type

Deserialization of derived type works only when "$type" is first attribute in JSON object

Not a bug, and also an incorrect statement. Newtonsoft.Json also supports scenarios where the "$type" metadata property is not the first property in a Json object.
However, since this pretty much requires the serializer to buffer data (up to the point where it comes across the "$type" property), which is incurring both a perf and memory cost, this behavior needs to be explicitly enabled by setting JsonSerializerSettings.MetadataPropertyHandling to MetadataPropertyHandling.ReadAhead.


how do I run xubuntu?

i ran the setup.exe and i finished it, all was well but when the time came to restart my computer, i did it and Windows just opened up normally.

You have to access the boot menu. When you start up your computer, you will have to press a specific key to access it. This key varies by computer, but try F12, F9, or ESC.
After that, you may select Xubuntu from the menu.

Thanks. Just figured out I have a novo button. Now I just need to figure out how to connect to the internet on xubuntu, its like the whole OS is a puzzle

I can’t figure out how to connect to the internet.

Google hasn’t helped.

It appears you need to connect over Ethernet to download necessary firmware for your WiFi card

Closed due to no response in 3 days, looks like it's cleared up.


As a logged in user, I want to post a garment project

I want to be able to contribute :

Picture of the result
The type of garment
The size of the garment
The licence of the project
Technical description of the garment
Category of the garment
The state of the project (Completed, ongoing...)
Garment composition list
Pattern files

Done enough for now. Create new issue if changes are necessary


Setup Rubygems publishing

This can be done through travis or by @carlossg sharing credentials with puppet-community admins.

This is one of my favorite gems for creating gems: https://github.com/technicalpickles/jeweler and does the same thing as puppet-blacksmith but for gems.
Its has some awesome rake tasks. And one of them is for releasing gems to ruby gems.org.  You could probably just take some of those tasks for this gem or add jeweler as a development dependency.

voxpupuli is already an owner of the gem, what else needs to be done?
https://rubygems.org/gems/puppet-blacksmith

Integration work needs to be done

@carlossg thanks for uploading a new version to rubygems!


About Computer Crash Problems

Hi author, thanks for the code, I have successfully reproduced it using the kitti dataset, but I batch_size=4,at first it works fine, after a while the computer gets stuck and crashes, what's the reason for that, is it that the batch_size is too big (my computer is using an nvidia 3090)

我把batch_size改成了2,还是死机了（一块3090训练）


fix(vitest): propagation of describe options

...to all tests inside
close: #1998

How to retrigger pipelines?

@bartoszgolebiowski Thanks for the quick fix for this!


RequestCloseAsync() in CustomDialog returns null exception

i have a simple code
  Private Async Sub Button_Click(sender As Object, e As RoutedEventArgs)
        Await RequestCloseAsync()
    End Sub

and in designer it gives me this error
Cannot create an instance of "CustomDialog"

Maybe it's a duplicate of #1850 ?
I already submitted a pull request to fix this issue #1857


Update release 1.6 branch

This brings the release-1.6 branch up to the commit before we merged the 1.7 docs:

https://github.com/cert-manager/website/commit/9202deb1731e050b17528cc5a609dd21a0284037

This includes all the changes made to the master docs since the 1.6 release.
Which should fix the installation version numbers in the 1.6 documentation which currently refer to 1.5 versions.

https://cert-manager.io/v1.6-docs/installation/

I'll do a followup PR to increment the patch numbers for 1.5 and 1.6.

/override dco

/lgtm


Gate 1.2 Beta  installer to VS 2015 update 3 or later

NTVS 1.2 Beta will require VS 2015 Update 3 or later in order to pick up some important Typescript fixes.
We should gate the installer to this version, similar to what we did for the 1.2 Alpha and gating to VS 2015 update 2 or later: #806
The beta may actually have to be gated to the Update 3 RC, while the final release should be gated to Update 3 final

PR submitted #993 to handle Update 3 RC gating and open issue to track gating of the final NTVS 1.2 release #994

Closing since we will only benefit by gating to the final release of VS 2015 Update 3, not the RC. This work is tracked by #994