StorageValueRef::mutate panic without gracefully returning error

Sample code:
#[pallet::weight(10_000)]
pub fn do_something(origin: OriginFor<T>) -> DispatchResult {
    let writer = sp_runtime::offchain::storage::StorageValueRef::local(b"some-key");
    let write_status = writer.mutate::<SomeType>(||{
        // some computation
       Ok(some_value)
    });

  ensure!(write_status.is_ok(), Error::<T>::MutateError);

  Ok(())
}

Given that above function is a extrinsic. This call will fail with panic
Panic message
Version: 3.0.0-monthly-2021-10-43d75ba-x86_64-linux-gnu

   0: sp_panic_handler::set::{{closure}}
   1: std::panicking::rust_panic_with_hook
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/panicking.rs:610:17
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/panicking.rs:502:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/sys_common/backtrace.rs:139:18
   4: rust_begin_unwind
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/panicking.rs:498:5
   5: core::panicking::panic_fmt
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/panicking.rs:107:14
   6: core::panicking::panic_display
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/panicking.rs:63:5
   7: core::option::expect_failed
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/core/src/option.rs:1637:5
   8: std::thread::local::LocalKey<T>::with
   9: sp_io::offchain::local_storage_get_version_1
  10: sp_io::offchain::local_storage_get
  11: sp_runtime::offchain::storage::StorageValueRef::mutate
  12: <pallet_ocw::pallet::Call<T> as frame_support::traits::dispatch::UnfilteredDispatchable>::dispatch_bypass_filter
  13: <node_template_runtime::Call as frame_support::traits::dispatch::UnfilteredDispatchable>::dispatch_bypass_filter
  14: <node_template_runtime::Call as sp_runtime::traits::Dispatchable>::dispatch
  15: <sp_runtime::generic::checked_extrinsic::CheckedExtrinsic<AccountId,Call,Extra> as sp_runtime::traits::Applyable>::apply
  16: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPallets,COnRuntimeUpgrade>::apply_extrinsic
  17: <node_template_runtime::Runtime as sp_block_builder::runtime_decl_for_BlockBuilder::BlockBuilder<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<sp_runtime::multiaddress::MultiAddress<<<sp_runtime::MultiSignature as sp_runtime::traits::Verify>::Signer as sp_runtime::traits::IdentifyAccount>::AccountId,()>,node_template_runtime::Call,sp_runtime::MultiSignature,(frame_system::extensions::check_spec_version::CheckSpecVersion<node_template_runtime::Runtime>,frame_system::extensions::check_tx_version::CheckTxVersion<node_template_runtime::Runtime>,frame_system::extensions::check_genesis::CheckGenesis<node_template_runtime::Runtime>,frame_system::extensions::check_mortality::CheckMortality<node_template_runtime::Runtime>,frame_system::extensions::check_nonce::CheckNonce<node_template_runtime::Runtime>,frame_system::extensions::check_weight::CheckWeight<node_template_runtime::Runtime>,pallet_transaction_payment::ChargeTransactionPayment<node_template_runtime::Runtime>)>>>>::apply_extrinsic
  18: sp_block_builder::runtime_decl_for_BlockBuilder::apply_extrinsic_native_call_generator::{{closure}}
  19: std::panicking::try
  20: std::thread::local::LocalKey<T>::with
  21: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
  22: sc_executor::wasm_runtime::RuntimeCache::with_instance
  23: <sc_executor::native_executor::NativeElseWasmExecutor<D> as sp_core::traits::CodeExecutor>::call
  24: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_aux
  25: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
  26: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
  27: sp_block_builder::runtime_decl_for_BlockBuilder::apply_extrinsic_call_api_at
  28: <node_template_runtime::RuntimeApiImpl<__SR_API_BLOCK__,RuntimeApiImplCall> as sp_block_builder::BlockBuilder<__SR_API_BLOCK__>>::BlockBuilder_apply_extrinsic_runtime_api_impl
  29: <node_template_runtime::RuntimeApiImpl<Block,C> as sp_api::ApiExt<Block>>::execute_in_transaction
  30: <sc_basic_authorship::basic_authorship::Proposer<B,Block,C,A,PR> as sp_consensus::Proposer<Block>>::propose::{{closure}}
  31: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  32: std::panicking::try
  33: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
  34: <tracing_futures::Instrumented<T> as core::future::future::Future>::poll
  35: tokio::park::thread::CachedParkThread::block_on
  36: tokio::runtime::handle::Handle::block_on
  37: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
  38: tokio::runtime::task::harness::Harness<T,S>::poll
  39: tokio::runtime::blocking::pool::Inner::run
  40: std::sys_common::backtrace::__rust_begin_short_backtrace
  41: core::ops::function::FnOnce::call_once{{vtable.shim}}
  42: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/alloc/src/boxed.rs:1694:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/alloc/src/boxed.rs:1694:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b/library/std/src/sys/unix/thread.rs:106:17
  43: start_thread
  44: clone

Thread 'tokio-runtime-worker' panicked at 'local_storage_get can be called only in the offchain call context with
                                OffchainDb extension', /<username>/.cargo/git/checkouts/substrate-7e08433d4c370a21/bf9683e/primitives/io/src/lib.rs:1039

This is a bug. Please report it at:

Expected
As far as I can say, this error arise because we cannot have read access to offchain storage ( and for mutate function we still need read access to reference to previous value on which later we would write ).
It would be wise for us to return a error type rather than doing a panic?
A novice question.
I actually do not understand why reading from offchain storage is not allowed outside offchain worker context. Is it because of possible time consumption if reading large chunk from storage?
Actual context
I am trying to keep a vector of some data in offchain storage, Source of data to this vector is extrinsic call. So it is required that we keep push a data for every call. Is there any idiomatic way to do so?

Because accessing the local storage could easily introduce non determinism. Aka you could accidentally store this value in the state and it could be different per node leading to a different storage root.
We could probably add some api to append data.

Thanks for explaining it. Yeah we should definitely add an api to append data. Also we may try returning an error than just having panic along the way?

No, the panic is "valid" there. You are doing some "illegal" operation, so panicking there is correct.

That also sounds legit though. About having an api to append, is there any blocker? or possible limitation? Maybe I could look on that or someone from parity will

You will want to use the offchain index API https://github.com/paritytech/substrate/pull/5200

We could probably add some api to append data.
Renamed issue accordingly.

For those who happen to land here, here is a quick fix: ( please consider side-effect )
My original intent was ( I was just getting started with substrate & all ) that I need to keep adding incoming parameters in offchain storage block wise. For this purpose, temporary fix was something like:

Add a storage with some name like _TemporaryUse
In extrinsic keep modifying/adding data to that stirage as you wish
In on_finalize hook: read all the data from _TemporaryUse and put it to offchain storage at once under key current_block_numer and then ::kill the _TemporaryUse

This however bring unwanted effect depending on how much size and how intensive calculation is required. I however adapted to different approach, might be useful for someone who is still learning.
Also don't know if having an api to append to offchain storage would be worth as not all storage types will be appendable. So might not be worth to handle such narrow case. Feel free to close this @bkchr if you think so


assign spesific port lensapp/lens

Describe the bug
To Reproduce
Expected behavior
Screenshots
Environment (please complete the following information):
Logs:
Kubeconfig:
Additional context
We want to install lensapp/lens in flatcar linux kuberbetes cluster server,
We see lens similar to vmware octant, for octant we used spesific port 8900 to access octant gui, so it's ip:8900 from the browser,
How to access lens ui, if we install lens in flatcar linux server and what if we want to access lens ui from specific port not from port 80/8080 ??
Than you

I don't this is is possible because the Lens UI relies on some specific electron APIs that are not available in a normal browser.


fix: resolve issue where removing a language removed the wrong language

Resolves #856.

Tested for creating FRO page and Project and it looked good.


Fix API endpoint /_synapse/admin

Got errors on pulling data from /_synapse/admin, turns out it was never redirected in nginx config

this is on purpose.
See https://matrix-org.github.io/synapse/latest/reverse_proxy.html#synapse-administration-endpoints


Adding a general system overview dashboard

Summary | Résumé
Adding a dashboard that provides an overall system overview with some key information that I find myself looking for often (celery errors etc)
Test instructions | Instructions pour tester la modification
Dashboard should deploy to staging and work correctly.

Do you have a link to an existing dashboard?

Do you have a link to an existing dashboard you've been using?

Sure here it is in staging:
https://ca-central-1.console.aws.amazon.com/cloudwatch/home?region=ca-central-1#dashboards/dashboard/Ben-Notify-System

This is nice!
A couple thoughts

can we make the send rates per minute rather than per 5 minutes (and add text (title maybe?) to reflect that)
this seems to be a k8s dashboard essentially. Which would be good. We have this one already which... isn't great. Maybe we could replace that one with this?

hrm, api lambda is on there to though, so maybe this really could be considered a system status dashboard.

This is nice! A couple thoughts

can we make the send rates per minute rather than per 5 minutes (and add text (title maybe?) to reflect that)
this seems to be a k8s dashboard essentially. Which would be good. We have this one already which... isn't great. Maybe we could replace that one with this?

Made the metrics per minute as requested. The other idea, you answered your own question in your other comment :)


skpy.core.SkypeAuthException: ('wsse:FailedAuthentication - Authentication Failure', <Response [200]>

tried this code locally
from flask import Flask
from skpy import Skype

app = Flask(__name__)
@app.route("/")
def hello_world():
    sk = Skype('XXX','XXXX,connect=True)
    contact = sk.contacts
    ch = sk.contacts["dXXXX"].chat
    ch.sendMsg("sending from bot")
    return "
Message sent!
"

it worked fine and sent the message,
tried the same code on cpanel server and i'm getting Auth failure error.
python version 3.8.6
Skpy version 0.10.4

That error comes straight from Microsoft.  If you're sure you haven't made a typo between the two machines, try using Live authentication if available for your account, or proxy a browser via the server's connection to see if the IP is restricted.


Fix broken go.mod

Apparently our recent move back to the upstream WhatsApp library has resulted in our dependency graph breaking down. I tracked this down to the maunium.net/go/mautrix-whatsapp dependency having itself a broken go.mod which references an inexistent version for github.com/Rhymen/go-whatsapp.
We could not however downgrade as even those earlier versions would break down due to their internal reliance on a fork of github.com/Rhymen/go-whatsapp. I've put up a PR to fix their broken go.mod (tulir/mautrix-whatsapp#66) but in the mean time this did not solve the issue.
The current solution is to also override our dependency on Rhymen/go-whatsapp with the tulir/go-whatsapp fork as this is required by tulir/mautrix-whatsapp. I've already raised an issue (tulir/mautrix-whatsapp#67) about upstreaming changes in that fork so that we might in the future rely again on the upstream.

The strange thing is that this PR build was OK, https://travis-ci.org/42wim/matterbridge/jobs/522271692
Seems like someone did a git push -force on the mautrix-whatsapp repo

Closing in favour of #838.


Flutter Web support

Can this work with Flutter Web?
Currently it shows error:
Socket error: Unsupported operation: InternetAddress

Probably because dart:io is not available on the web and it should use HtmlWebSocketChannel. Here is package that explains it a bit better: https://pub.dev/packages/web_socket_channel
Any help is appreciated.

Yes you are right that's because dart:io library is not for the web.
I am not sure how SecureSocket could be implemented with this library as API is bit different, but I encourage you to try, as I have no experience with Flutter Web.


Logarithmic scale on tray icon CPU graph

I'd find it very helpful to have a logarithmic scale on the tiny tray icon graph for CPU usage. We have CPUs with 8 threads today and will have ones with 32 threads soon. That icon is still 16 pixels tall (maybe a bit more on high-res monitors). It's barely visible or even completely invisible to see one active thread there. But it already makes a big difference whether the CPU is completely idle or working in a single thread. That already increases the power consumption and heat a lot. The other cores/threads don't add as much anymore, so they shouldn't have the same weight in the graph.
The same applies to the equally-tall graphs in the process tree. The bigger separate graph views in the system information window wouldn't need this change.
This might be an option if some users prefer to see the linear usage of their CPU. And the new option may not be available for 1- or 2-thread CPUs since it's not really necessary there.

It's barely visible or even completely invisible to see one active thread there.

This is by design because the tray icon graph shows the total cpu usage and and a single core/thread running at maximum is not utilizing the total number of processors.

makes a big difference whether the CPU is completely idle or working in a single thread.

You'll see the graph when it utilizes more than one core?

This is by design

I'm asking to change exactly that.

You'll see the graph when it utilizes more than one core?

If this is a question, I don't understand it.

Great user experience, by the way. Thanks for slamming the door right in front of me. :-( @dmex Nothing has improved over the years. At least there was no new release for a while. Seems I can fork this project and add the missing usability feature myself without too much work.

@ygoe
Ok


Bug? transport cursor gets choppy on Curve track when muted

Very minor issue that doesn't exactly affect performance, but I just noticed that when I mute a Curve track, the play cursor gets choppy, and goes back to smooth operation when unmuted. Happens in both Free and Aligned mode.
Short video:
https://www.dropbox.com/s/0f5b3auu4k6t8em/20201205_205032.mp4?dl=0
Again, doesn't affect playback as far as I can tell, but thought I'd make a record of it.

Fix will be released with 0.1.40 release.


Attempt

I hope it works

Looks good, good job

This was meant to be created off of my fork closing so it doesn't affect curriculum


On signout Required String parameter 'redirect_uri' is not present

I followed steps mentioned in below blog:
https://medium.com/@saurishkar/setting-up-aws-http-authentication-on-cloudfront-s3-using-cognito-and-lambda-edge-166ee38d471e
https://console.aws.amazon.com/lambda/home?region=us-east-1#/create/app?applicationId=arn:aws:serverlessrepo:us-east-1:520945424137:applications/cloudfront-authorization-at-edge
Set below parameters:
CreateCloudFrontDistribution => False
EnableSPAMode => False
OAuthScopes => email, openid
mentioned User pool details

Cloudfront configuration:

When I redirect app to URL "<<'Your CloudFront url'>>/signout" it gives below error in browser.

In Congnito, under app client setting I mentioned URL's as below.

Any help appreciated.

I am able to move ahead by updating signout URL in cognito.
From: "<<'Your CloudFront url'>>/signout"
To: "<<'Your CloudFront url'>>/"
But when I call "<<'Your CloudFront url'>>/signout" it is not redirecting me to login page. It just come back to same page and show same content unless i refresh the page manually. On manual refresh of the page it redirects me to the login page again.
Am i doing anything wrong ?

Got it working with below code
Logout

reload_page() {
    window.location.reload();
  }

Hi @Dhyanesh97
Here's a little explanation on how it is supposed to work.
SignOutUrl (default value /signout) is the path you can visit to sign out your user -- meaning to clear the JWTs from the Cookies and also sign out from the Cognito Hosted UI.
So if your Auth@Edge CloudFront URL is e.g. https://12345678.cloudfront.net then you could open https://12345678.cloudfront.net/signout in your browser to sign you out from Auth@Edge.
Signing out like that works as follows:

First your JWT cookies are cleared (by Lamba@Edge)
You are redirected to the Cognito signout endpoint (to sign you out from Cognito)
After signout at Cognito, you are redirected back to your your CloudFront distribution, at the RedirectPathSignOut (so e.g. https://12345678.cloudfront.net/)
Since you are now no longer signed in, Auth@Edge should kick in, and redirect you to the Cognito Hosted UI to sign-in

(Yes it's redirect galore)
So, the RedirectPathSignOut is where Cognito redirects you back to at step 3 above, and must indeed match the value of "Sign Out URL(s)" in your app client config.
Hope that helps.
I see you're setting CreateCloudFrontDistribution to false, which means you must wire in the Authe@Edge lambda functions into your own CloudFront distribution. An example of how to do that is here. I think in order to help you debug your template, could you paste your CloudFormation template here (redacting out any sensitive things).

Have you solved your issues @Dhyanesh97 ?

I am able to move ahead by updating signout URL in cognito. From: "<<'Your CloudFront url'>>/signout" To: "<<'Your CloudFront url'>>/"
But when I call "<<'Your CloudFront url'>>/signout" it is not redirecting me to login page. It just come back to same page and show same content unless i refresh the page manually. On manual refresh of the page it redirects me to the login page again.
Am i doing anything wrong ?

Yes I solved the issue by adding refresh page in the code itself because angular wasn't refreshing entire page on logout.
Thank you for the explanation.

Great to hear !


Ability to visualize and test new hazard indicators in front-end

New hazard indicators are created from code in the hazard repo https://github.com/os-climate/hazard. These are pushed into the development bucket physrisk-hazard-indicators-dev01. Currently in order to test integration with API and UI it is necessary to run both locally which is quite heavy. It is desirable to be able to test via the existing UI https://physrisk-ui-sandbox.apps.odh-cl1.apps.os-climate.org/ in some 'test' mode.

Hi @mvarfima, FYI, this is the issue discussed last week. @EglantineGiraud, also of interest to you I think.
I have set up a new service end-point:
https://physrisk-api-uat-sandbox.apps.odh-cl1.apps.os-climate.org
Note the 'uat' in the name.
This is identical to the existing service except that it uses the physrisk-hazard-indicators-dev01 bucket as opposed to physrisk-hazard-indicators.
New hazard data sets can be tested using this endpoint. I am also in the process of adding an option to the UI to use the test service rather than prod in a 'test' mode. The process is then

Add new hazard indicator data set in physrisk-hazard-indicators-dev01
Test using https://physrisk-api-uat-sandbox.apps.odh-cl1.apps.os-climate.org
Request promotion to physrisk-hazard-indicators (a set of fewer people doing the promotion!)

A few utilities exist to facilitate testing. In order to update the inventory.json with a new resource, the following code snippet in hazard can help (requires credentials for physrisk-hazard-indicators-dev01):
docs_store = DocStore()
#docs_store.write_new_empty_inventory()
docs_store.update_inventory([resource])
The inventory.json stored in physrisk-hazard-indicators-dev01 only contains data sets in testing (i.e. ones additional to the ones embedded in physrisk).
On update of the inventory, we can force a reload of the inventory using:
https://physrisk-api-uat-sandbox.apps.odh-cl1.apps.os-climate.org/api/reset

Hi @mvarfima,
As discussed, this is because the new hazard type has to be added to physrisk first. For now please use 'drought'. I would also suggest you use the same hazard.zarr not hazard_consortium.zarr but just have different paths. physrisk only uses a single root at the moment and no reason to change that (i.e. we have multiple sources already so no reason to add a separate root).

Hi @joemoorhouse
I completely agree with everything, will do it as you just commented. I separated at the beggining as a testing zarr, I didn't want to break you hazard.zarr (not even the dev01 one).


cache tc early_upcast_axes [pr]

With the new swizzle tc, this property might be called up to 5 times per kernel with tc. It's not much but it might as well be cached

Don't think so really, sorry I didn't test it. Will test now

status?

On the first tests I made I couldn't get any measurable difference. Today I'll round up the tests.

Closing, no measurable speed up. Sorry for opening without testing for speed improvement first.


Add computation applications

Hadoop: https://hadoop.apache.org/
Spark: https://spark.apache.org/
Flink: https://flink.apache.org/
Beam: https://beam.apache.org/
Camel: https://camel.apache.org/

Hadoop: https://github.com/zhoujiagen/application-store/commit/bfdf9eadd1eef6f666994a021b1e7a249d8d3da7

Spark: https://github.com/zhoujiagen/application-store/commit/647cf1a84517135f468b0b0af888f31451799de7

Flink: https://github.com/zhoujiagen/application-store/commit/01aedbb2d8b5028b6a9bbb2483e051a5df1df97c


Shared terminal window can only see 4 lines of hosts terminal, despite all participants having around ~30 lines visible

Describe what happened:
During a liveshare session, the host is sharing a terminal. They have their terminal height at around ~30 lines
On my vscode, I can see the shared terminal, however only 4 lines are visible, with the rest as completely black space. (See diagram).
I checked all participants, and all have the terminal window quite large, with a lot of black space where there should be lines of text.
Is this some kind of security feature? It makes terminal sharing basically unusable as we can see so little of stacktraces etc.
What was your system configuration?
Mac
Version: 1.67.2 (Universal)
Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
Date: 2022-05-17T18:20:57.384Z (1 wk ago)
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.4.0
Steps to Reproduce / Scenario:
Host starts a terminal
Host shares the terminal
Participants click on terminal to view it
Participants and host increase terminal size to around ~30 vertical lines
Host can see full terminal, but participants can only see around 4 lines, with the rest being black space.
Please attach logs to this issue:
Please ask if you need to see logs from all participants or just one
Screenshots
Attaching afterwards

Could be slightly related to https://github.com/MicrosoftDocs/live-share/issues/2855

Screenshot shows participants view (on left), with hosts view (on right) - the host was also being shared over zoom which is why its on screen at the same time.

Ditto to this bug, MacOS to MacOS

+1

I have also been experiencing this bug MacOS to MacOS. I'd really love a fix, the only major issue I have with Live Share.

This happened many times to me as well

We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. We understand this may be disappointing; we've all been there, whether in this project or others we've contributed to. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it’s for you.


Use ToValue trait for ObjectExt::set_property()

https://github.com/gtk-rs/glib/blob/ba748d15e607daf4a3ef103e7e83333466d7c9eb/src/object.rs#L562-L564
Either as trait objects (which fortunately work for ToValue), or generics. Neither doesn't really make a difference, for you to decide.
Could also use ToValue for ::emit() at least, but as this is more of a plumbing function it is maybe not too useful. And for ::connect() we can't do it anyway, so maybe let's keep the symmetry there.
Comments?

OTOH get_property() must return a Value, so we would lose symmetry there too. I'm fine with keeping things as is.

It is good idea.

You think the asymmetry is not a problem?

Yes, it normal for rust, ex. AsRef<Path> vs PathBuf or even more common &str vs String :wink:


Limit gradient to selection

I'm not sure if this is how the original worked, but logically I think the gradient should be limited to the selected area if one exists. Currently it ignores it and just draws the gradient on the whole layer.

Indeed it should.
That's a result of my bad habit. I usually only use selections to cut/copy parts of layers.


Fix ctrl c win

Argh, I already forgot about the ctrl-c with another terminal. Let me give this another go.

And that does not work for me. I get the following.
'"start"' is not recognized as an internal or external command,
operable program or batch file.
The following kind of escaping would be ok for me as well.
"$COMSPEC /C" start "$COMSPEC /C" arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME
I'm tempted to go all batch with these.


preset_chunks not working in some DAWs

Anybody tried to use preset_chunks before?
Update: It's working in ableton but not bitwig... weird...
I am setting preset_chunks: true but get_preset_data(), get_bank_data(), load_preset_data(), or load_bank_data() are never called.
I'll dig more into it but was hoping someone had insight or experience with it.
Additional info: can confirm it's working in ableton and renoise, but bitwig will not call those functions even in the lib itself. Putting breaks inside any of the functions doesn't trigger anything in bitwig but does in other daws.
OpCode::GetData => {} is never called.
It's likely that vst2 isnt' following the spec correctly as bitwig is usually very tolerant. Also, it goes without saying there are many many plugins which use this feature and work fine, so the bug is within rust-vst2 somewhere, any help in determining how to diagnose this would be super useful.

For those coming across this, I worked it out. It's some strange behaviour from bitwig.
Bitwig does not seem to call the data unless you actually save and reload a preset. This is pretty troublesome as it means the preset loading behaviour is different on bitwig and you'll have to ensure default plugin states don't rely on any chunk data. But at least it works!


[BUG] enhancing the rejuvenate page UI

https://akshitagupta15june.github.io/Moksh/Rejuvenate_page/rejuvenate.html

i would like to work on this issue

i would like  to work on this

@akshitagupta15june  Please assign this issue to me I want to work on it.

assigned

please assign this issue to me

@akshitagupta15june I would like to work on this. Please consider it.


Treat try and catch blocks as different pseudo-scopes

To be consistent with other out-of-scope warnings we need to treat catch blocks as separate pseudo-scopes:

if (false) {
  var a = function () { /* ... */ };
}

a(); // JSHint warns about 'a' being used out of scope.

try {
  var b = function () { /* ... */ };
  throw;
} catch (err) {
  b(); // JSHint doesn't warn about 'b' being used out of scope but _should_.
}

Fixed by #2468 - catch is now treated like any other block, not as if it is a function. Will be released in the release after 2.8.0.
warning message change request put into #2484


Ban appeal command

Let players submit ban appeals for the global database by using /banappeal or /appeal. The command should show a modal window where the player can fill in their name, steamid and appeal reason, when they click submit the appeal should be sent to a channel where admins can review it.

I'll handle this one.
Question though, do we want the admins to be able to do anything such as accepting the appeal through the bot?

Yes having a approve and reject button which send a message to the person who made the appeal with the decision would be nice.


Addition of the feature of label/text in Linear Progress Bar(Determinate)

Summary 💡

It'll be a really helpful add on to be able to display some Text over the Determinate Progress Bar like the percentage value of progress or just any text values as label (as is provided in BootStrap or other Material Designed libraries..), the closest method I could find out was 'title' which displays text only on hover over bar.
Also if this feature exists, I couldn't find it on documentations, please take a look,
Examples 🌈

Motivation 🔦

I am apparently building a Polling application in ReactJS, which requires me to display poll options in a deterministic progress bar(decided by the number of votes on that option), I wanted to display the Option string on the Bar indeed(somewhat like what Twitter does) instead of putting a heading or label above it..also this method is available in Libraries like BootStrap by the name of 'label', I think it'll be a nice add on for such widely used open sourced library.

@Himank17Gupta Do you mean something like this?

I was thinking they meant overlapping text instead.

Ohh, like this:

@oliviertassinari Exactly

Yes, overlapping of text is something which will look rich and save us a label or heading component space.

I have added the waiting for users upvotes tag. I'm closing the issue as we are not sure people are looking for such abstraction. So please upvote this issue if you are. We will prioritize our effort based on the number of upvotes.

Is it implemented  bross i need it :)

`const useStyles = makeStyles({
rootProgress: {
backgroundColor: "#F2F2F2",
height: "20px",
borderRadius: "10px"
}
});
const classes = useStyles();
function BorderLinearProgress(props) {
const { color, value } = props;
const innerStyle = makeStyles({
label: {
position: "absolute",
width: "100%",
height: "100%",
zIndex: 1,
maxHeight: "20px", // borderlinearprogress root.height
textAlign: "center",
display: "flex",
alignItems: "center",
"& span": {
width: ${value}%,
color: "white"
}
},
bar: {
backgroundColor: color
}
});
const innerClass = innerStyle();
return (

        <Typography variant="caption">{`${value}%`}</Typography>

    <LinearProgress
      classes={{
        root: classes.rootProgress,
        bar: innerClass.bar
      }}
      {...props}
    />

);

}
`
try this

I think that the simplest is to display something at the end or at the center but nothing inside:

I think that the simplest is to display the progress at the end or at the center but nothing inside:

Hi Olivier, how do you manage to put the label inside the circle progress?

Here is a possible implementation:
https://codesandbox.io/s/material-demo-vvtol?file=/demo.tsx:0-1848
import React from "react";
import {
  CircularProgress,
  LinearProgress,
  Typography,
  ThemeProvider,
  createMuiTheme,
  Box
} from "@material-ui/core";

const theme = createMuiTheme({
  palette: {
    primary: {
      main: "#1a90ff"
    }
  },
  overrides: {
    MuiLinearProgress: {
      root: {
        borderRadius: 4,
        height: 7
      },
      bar1Determinate: {
        borderRadius: 4
      },
      colorPrimary: {
        backgroundColor: "#f5f5f5"
      }
    },
    MuiCircularProgress: {
      circle: {
        strokeLinecap: "round",
        strokeWidth: 3
      }
    }
  }
});

function NumberLinearProgress(props) {
  return (
    <Box display="flex" alignItems="center">
      <Box width="100%" mr={1}>
        <LinearProgress variant="determinate" value={props.value} />
      </Box>
      <Typography variant="body2" color="textSecondary">{`${
        props.value
      }%`}</Typography>
    </Box>
  );
}

function NumberCircularProgress(props) {
  return (
    <Box position="relative" display="inline-block">
      <Box top={0} left={0} bottom={0} right={0} position="absolute">
        <CircularProgress
          style={{ color: "#f5f5f5" }}
          size={100}
          variant="static"
          value={100}
        />
      </Box>
      <CircularProgress size={100} variant="static" value={props.value} />
      <Box
        top={0}
        left={0}
        bottom={0}
        right={0}
        position="absolute"
        display="flex"
        alignItems="center"
        justifyContent="center"
      >
        <Typography color="textSecondary">{`${props.value}%`}</Typography>
      </Box>
    </Box>
  );
}

export default function Demo() {
  return (
    <ThemeProvider theme={theme}>
      <NumberLinearProgress value={30} />
      <NumberCircularProgress value={75} />
    </ThemeProvider>
  );
}

I think that the use case is common enough so that we, at least, add two new demos in the documentation with https://github.com/mui-org/material-ui/issues/18322#issuecomment-633114100. Maybe something in this structure?
diff --git a/docs/src/pages/components/progress/progress.md b/docs/src/pages/components/progress/progress.md
index e79581a9c..75e8017ce 100644
--- a/docs/src/pages/components/progress/progress.md
+++ b/docs/src/pages/components/progress/progress.md
@@ -40,6 +40,10 @@ When displaying progress for a sequence of processes, indicate overall progress

 {{"demo": "pages/components/progress/CircularStatic.js"}}

+### Circular with label
+
+// new demo
+
 ## Linear

 [Linear progress](https://material.io/design/components/progress-indicators.html#linear-progress-indicators) indicators.
@@ -52,6 +56,10 @@ When displaying progress for a sequence of processes, indicate overall progress

 {{"demo": "pages/components/progress/LinearDeterminate.js"}}

+### Linear with label
+
+// new demo
+
 ### Linear Buffer

 {{"demo": "pages/components/progress/LinearBuffer.js"}}

@oliviertassinari I can implement this. Should I just add the example to the docs or try also to enhance the component?

I'm not sure. The linear progress with label seems too simple to ever require a higher level abstraction. For the circular prograss with label, it's a topic. It requires more code to put it together. I think that we could add the demos, close the issue, and see how that goes.

onhover will work on progress bar?

Is this done? How can we use +:)

@goxr3plus https://material-ui.com/components/progress/#circular-with-label

@oliviertassinari Thank you , you are amazing :)

It will be very helpful to add this feature. We are also working on a polls feature in that i have to show the vote progress of all the options with a text of multi line or text with image or any html component. I am using material UI linear progress but i couldn't able to add a html element inside the progress bar.

@Pradheeep I'm making polls as well, and I'm here to know how other people do :)

It will be very helpful to add this feature. We are also working on a polls feature in that i have to show the vote progress of all the options with a text of multi line or text with image or any html component. I am using material UI linear progress here but i couldn't able to add a html element inside the progress bar.

him where you find those progressbar?


Node headblock timestamp difference from GMT

I have setup a private node but the time for head block timestamp is 5 min ahead of GMT time. What is causing this time difference ?

see head block  time 8:10:32

see GMT

Nodeos relies on system time, so you may want to try using NTP or a similar solution to ensure that you don't have time drift on your host.

Syncing my server time with GMT resolved the issue Thanks @aclark-b1


giscus doesn't automatically adjust to correct iframe height?

I've just stumbled across this repo - looks amazing! Thanks for all your hard work on it!!
I'm having some issues getting it to look correct however.
The <iframe> doesn't seem to automatically resize the height correctly - for example:

I'm still experimenting, but here's the current page I'm testing on:
https://fcp.cafe/accessibility/
Any tips or tricks?

I've also tried on another page without any YouTube embeds, but it has the same issue:
https://fcp.cafe/articles/
It seems SOMETHING in the HTML is breaking giscus's method to automatically resize the <iframe>.

Putting the script inline seemed to do the trick! Thanks anyway!

Actually scrap that, it didn't fix the issue.

Apparently this is caused by Retype so closing this issue.

I'm actually having the exact same issue you screenshotted; with no Retype, hardly any JS. I'm sure I didn't have this a couple of weeks ago...

OK, I solved my problem. I was developing on (non-https) localhost, and used src="//giscus.app/client.js, since using https used to give me errors for mixing secure and insecure contexts. When loading giscus from http, frame resizing doesn't work.
I just went back to HTTPS and it all works again (and also no more mixed-content warnings, not sure why).
Just reporting this in case it helps anyone.


Command md for Markdown

Option to generate markdown file using a html2markdown library

Once this gets merged in, percollate html --output - will print the processed HTML to stdout:

https://github.com/danburzo/percollate/pull/151

This will allow the user to pipe the HTML into another tool, such as trimd, to process down to Markdown. Regardless of that, for better ergonomics, it would be good for Percollate to have its own md command.
Like in trimd, Markdown options can be namespaced to --md.<option>=<value>.


Implement Fields InputModule

Describe the task
As a QuackStack developer I want Feature So That add Fields to my farm
Acceptance Criteria

Given I edit the Fields Form:

[ ] When I first see the form, it asks me to add the first field automatically
[ ] The first added field shows up in a list, with it's name and Area only
[ ] This list offers two buttons for editing the field, a delete and an edit
[ ] I have a 'New Field' Button to add more fields to the list
[ ] Each field has a name, are and comments input field
[ ] Inputs are validated upon changes

Additional context

Add any other context about the task here.

I think we forgot to estimate this one...

We'll break this ticket down as it's a bit large


Swap Route

@HrikB did you fix the header? This is on the latest fleek deploy

Yup... header is fixed

@HrikB it doesn't look fixed: https://www.loom.com/share/efec5977ade74a5dbded9a26d31195f9

I sync with @matt-bullock and only the wrap page needs fixing


Add gsoc information for Aniruddha Karajgi (Polaris000)

Signed-off-by: Aniruddha Karajgi<EMAIL_ADDRESS>

@GeorgLink please review


[crunchyroll] stream info HTTP Error 403 (even with cookies+user-agent/impersonation)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
USA
Provide a description that is worded well enough to be understood
Trying to download any anime on Crunchyroll now yields a 403 response
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', '--extractor-args', 'crunchyrollbeta:format=download_hls', '--write-subs', '--sub-lang', 'en-US', '--cookies-from-browser', 'chrome', '--no-check-certificate', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36', 'https://www.crunchyroll.com/watch/G7PU4VJEJ/asteroid-blues']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [c9ce57d9b] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-108083-g06b98e396a-20220909 (setts), ffprobe N-108083-g06b98e396a-20220909
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
Extracting cookies from chrome
[debug] Extracting cookies from: "C:\Users\Tanner\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\Tanner\AppData\Local\Google\Chrome\User Data\Local State"
Extracted 3149 cookies from chrome
[debug] cookie version breakdown: {'v10': 3159, 'other': 0, 'unencrypted': 23}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[crunchyroll] Extracting URL: https://www.crunchyroll.com/watch/G7PU4VJEJ/asteroid-blues
[debug] [crunchyroll] Using cxApiParam=noaihdevm_6iyg0a8l0q
[crunchyroll] Authenticating with grant_type=etp_rt_cookie
[crunchyroll] G7PU4VJEJ: Downloading object info JSON (cms)
[crunchyroll] G7PU4VJEJ: Downloading stream info
ERROR: [crunchyroll] G7PU4VJEJ: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "yt_dlp\extractor\common.py", line 734, in extract
  File "yt_dlp\extractor\crunchyroll.py", line 390, in _real_extract
  File "yt_dlp\extractor\crunchyroll.py", line 169, in _extract_stream
  File "yt_dlp\extractor\common.py", line 1127, in download_content
  File "yt_dlp\extractor\common.py", line 1087, in download_handle
  File "yt_dlp\extractor\common.py", line 954, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 903, in _request_webpage

  File "yt_dlp\extractor\common.py", line 890, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4131, in urlopen
  File "yt_dlp\networking\common.py", line 115, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 335, in send
  File "yt_dlp\networking\_requests.py", line 350, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

https://github.com/yt-dlp/yt-dlp/issues/7442

This seems to be a new issue unrelated to #7442 :(

Probably related: https://github.com/crunchy-labs/crunchy-cli/issues/382

Looks like they said they fixed it in that last comment @rdamas?

Yes. If it's related, then the cause is, that login with "etp rt cookie" won't work anymore for the console/switch/play endpoint. https://github.com/crunchy-labs/crunchyroll-rs/commit/e4534cf161d971e4a6fdeaf989833e53d11b7e7b

Is the fix just using those new tokens? That's it? o_O

@NSExceptional , Nope i tried multiples compilations, editing _BASIC_AUTH value with  the fired in https://github.com/crunchy-labs/crunchyroll-rs/commit/e4534cf161d971e4a6fdeaf989833e53d11b7e7b
I tried with cliend_it and password grant_type,  tried adding offline_access scope ...
Nothing is working, i will try more based on crunchy-cli code, but i hope that a user with CFW Switch can do the same as @bytedream

I'm looking into it

thank you very much @bashonly!!!!
compiled with your changes and working with --username and --password. I have also verified that it works with --cookies-from-browser

I have also verified that it works with --cookies-from-browser

@fe80Grau can you clarify what you mean by this?
Do you just mean that using --cookies-from-browser for the Cloudflare bypass does not conflict with also using --username and --password ?

Same here. It works with
--cookies-from-browser firefox
--username<EMAIL_ADDRESS>--password "xyz"
Damn good work. Thank you.

I have also verified that it works with --cookies-from-browser

@fe80Grau can you clarify what you mean by this?
Do you just mean that using --cookies-from-browser for the Cloudflare bypass does not conflict with also using --username and --password ?

I first tried with username and password and then with cookies-from-browser (without username and password), both work for me.

Was that with free content? --cookies-from-browser alone shouldn't work for premium content anymore

Was that with free content? --cookies-from-browser alone shouldn't work for premium content anymore

You are right, I was working with a free video. Indeed, premium content only works with username and password

@bashonly Anything blocking your PR or can it merge in time for the nightly build?


Design blog list and post page

After some discussion on the feasibility of launching a blog on our website (see #114), we decided it makes the most sense to build a blog on our website rather than using a third-party platform like Ghost.
Design
We want the blog's functionality modeled after the calitp.org Press list page and press post page but with the Compiler's branding.
Blog List Page
We are still working on the assets we want to include, but @laneymangan and @AnthonyRollins can follow up after discussing them with the blog committee team. We would like to have a title, date and author name. We will confirm if there are other things we would like to include, like a category option for (Wrap-ups and Quarterly Posts)
Blog Posts Page
The blog posts page should also include a title, subtitle, date and author name, and the ability to add images in-line with text. We don't need imagery in the header background section, but having the Compiler's brandmark or something might be nice to make the title more visually appealing.

@segacy1 I moved this status to Work on Next as we prioritize getting this out by the end of the month. We will push back the Work page until later this month or early next month. Let me know if we can start work on the designs for a blog for the next few weeks.

For sure!

@segacy1 Just a suggestion - for the post page typography, it might be nice to design type for pulled quotes and featured image with a caption.

Hey folks! I wanted to share some initial designs for a first round of feedback.
@AnthonyRollins @o-ram @thekaveman @machikoyasuda @angela-tran
Blog Listing Page
I’ve designed three versions, each with a bit more content shown than the last, with options for tagging and filtering by category. If we want a filter, I’d recommend the dropdown field over the filter pills we use on calitp.org because 1) it’s a lot easier to scale and 2) we already have a similar pill design for the page labels.
Blog Post Page
I’ve designed two versions of this page. One thing to note is that I included an option for a white background. Since this will be a lot of text for folks to read, I think the consensus is black text on a white background is easier to read than white text on a black background. I can pull some sources on that if we’re interested/want some confirmation. Also:

I created two additional blocks for Further Reading and Newsletter at the bottom of these pages. We can have one or both.
I haven’t included categories on these designs, but they’d be easy to add.

Note: These designs aren’t final or pixel-perfect but I wanted to give an opportunity for feedback before I continued to iterate. If there’s a blog out there you like, feel free to share it with me for inspo.
@AnthonyRollins I'm still thinking through the brandmark or graphic on the blog post pages

Some feedback from @indexing:

Will we have Headings and Subheading styles? I think the ability to break longer posts into sections will be important.
Aside from the browser back button, will there be in-app navigation to return to list of blog posts?

Excited to take a look! Flagging this to @MerylGreen as well. @segacy1 do we have a compiler company account for Figma or should I create my own account and request access?

@laneymangan hi! I think you'd need to create your own account with compiler and request access. Let me know if you have trouble

@ segacy1 I am responding to your questions and thoughts, below.
Blog Listing Design

I’d recommend a dropdown field over the filter pills we use on calitp.org because 1) it’s a lot easier to scale and 2) we already have a similar pill design for the page labels.

The dropdown field works for me, but I am curious from dev if that is easy to implement, as the blog team is still figuring out the filters.
As for the designs, I like the 3rd option w/ Categories - I added a thumbs-up comment to the one I prefer
Blog Page Designs

I think the consensus is black text on a white background is easier to read than white text on a black background.

I like the white background

I created two additional blocks for Further Reading and Newsletter at the bottom of these pages. We can have one or both.

We don't have a Compiler Newsletter, only a newsletter for future job postings, so the Further Reading section makes more sense.
As for designs, I thumbed up the one I prefer: the no photo, white background with all text aligned in the center.

I'm still thinking through the brandmark or graphic on the blog post pages

The brandmark isn't necessary to include, but it might be something we could use to add some color.

Will we have Headings and Subheading styles? I think the ability to break longer posts into sections will be important.
Aside from the browser back button, will there be in-app navigation to return to list of blog posts?

I agree with Andy to include some headings and subheadings to break up the content if needed. I do like the idea to have a return to the blog list page, as an option.
Very long post, but I hope this is helpful.

I haven't looked at the proposals yet, but I just want everyone to keep in mind:
Features like filters and sorting etc. for a listing page require lots of content to be meaningful. My take is we iterate on a list page that starts very simply for the handful of posts we might have over the next few months. As our content calendar is tightened up we can look to add more features to the listing page that make sense when there is a larger list to work with.

Do we know yet what we want our publishing cadence to look like (e.g. one post per month?) and if we'll launch with just one post or a handful?
And @thekaveman agreed - we can save those more complex additions for later when we have more content

Features like filters and sorting etc. for a listing page require lots of content to be meaningful. My take is we iterate on a list page that starts very simply for the handful of posts we might have over the next few months. As our content calendar is tightened up we can look to add more features to the listing page that make sense when there is a larger list to work with.

@thekaveman That makes a lot of sense to me, as filtering won't matter until we have multiple posts.

Do we know yet what we want our publishing cadence to look like (e.g. one post per month?) and if we'll launch with just one post or a handful?

@segacy1 Our cadence is a quarterly(long-form content) post and monthly smaller posts. We are looking to have our first short-form post when we launch and then follow shortly behind with a long-form post. You can see the list of the topic ideas in our Blog ClickUp List and the one-pager on the ClickUp Blog

I think they look great, @segacy1! thank you! I agree with all of the above discussion. I commented on my preferred options

I've updated the listing and post pages with the most votes so far here (under "Design Round Two"). Updates are:
Listing Page

remove filter on listing page

Post page

add "back" button in a subnav
add styling for headers and subheaders
keep "further reading" section

What do folks think about moving forward with these? Is there any other feedback you'd like to see implemented?
cc @AnthonyRollins @laneymangan

@segacy1 I am good to move forward with these designs, but I did have two notes about the designs.

add "back" button in a subnav

We should also have a back button at the end of the blog post content.

add styling for headers and subheaders

I don't think we need a subheader for blog headings, but curious what you think @laneymangan.

I've also added an idea underneath for tagging with categories, but still not including filters.

I think we can look into this for our blog v2, and keep it simple for now.

add styling for headers and subheaders

I don't think we need a subheader for blog headings, but curious what you think @laneymangan.

@AnthonyRollins I think this is about in-content, to be able to have e.g. h2, h3, h4 levels of various sections and sub-sections within a post. I think we should at least have and h2 style, but probably h3 as well.

In that case, design is just about ready. Two questions from me before wrapping up:

Do we want to stick with the image I pulled for the blog listing page hero? @AnthonyRollins
The blog post page design calls for a new header style (Source Code Pro, 24px) and I'm not sure how best to name it. I could slap it on the end of our header list as h6 since already have h1-5, but I don't know if that's confusing with headers otherwise descending in size (h1 Is 48px, h5 is 16px). I could give it a blog-specific name, but I'd like the option to use it elsewhere on the site. @thekaveman @machikoyasuda @angela-tran do you have any preference?

If you want the option to use it elsewhere on the site, I think it should be an h4. And change the current h4 to h5. Then change the current h5 to h6. As far as I can tell, h5 (font size 16px) is not used anywhere in the app yet.

works for me, thanks @machikoyasuda!

@ segacy1 The photo looks good to me. We have more recent photos with more of the team here, so if you find something you like more, you can use it.

From today til next Friday (9/29) is our engineering slush week (the downtime week before sprints, so we can work on non-Cal-ITP projects), so I'm available to work on biulding the blog and blog post pages out. Is this design ready? @AnthonyRollins @segacy1

@machikoyasuda just about, I'll tag you when it's done!

@AnthonyRollins I realize we probably would need a line of copy for this section. Would you like us to go with Our Blog? Would you like to add an intro?

Our Blog as a title is fine; we have some thoughts on changing that in the future - see #blog channel.
For copy we can go with: An inside look at Compiler's internal projects, interests and our client projects. Definitely open to changing that content, but I think that should work for now.

Design is complete! Designs ready for dev can be found here


Error on deploying to Azure app service

Hi,
I am using the webapps-deploy v2 github action to deploy artifact to azure app service, and getting the following error -
Step Details –
Run azure/webapps-deploy@v2
with:
app-name: functionapp
publish-profile: ***
package: bin
Error Message -
Copying files to destination directory '/home/site/wwwroot'...
Done in 4 sec(s).
Removing existing manifest file
Creating a manifest file...
Manifest file created.
Done in 29 sec(s).
Running post deployment command(s)...
Generating summary of Oryx build
Deployment Log file does not exist in /tmp/oryx-build.log
The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
Triggering recycle (preview mode disabled).
Linux Consumption plan has a 1.5 GB memory limit on a remote build container.
To check our service limit, please visit https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits
Writing the artifacts to a squashfs file
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/site/artifacts/functionappartifact.squashfs, block size 131072.
[=============================================================/] 6677/6677 100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 42229.82 Kbytes (41.24 Mbytes)
30.36% of uncompressed filesystem size (139101.05 Kbytes)
Inode table size 65665 bytes (64.13 Kbytes)
28.88% of uncompressed inode table size (227400 bytes)
Directory table size 66071 bytes (64.52 Kbytes)
35.44% of uncompressed directory table size (186420 bytes)
Number of duplicate files found 456
Number of inodes 7018
Number of files 6214
Number of fragments 507
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 804
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Creating placeholder blob for linux consumption function app...
Malformed SCM_RUN_FROM_PACKAGE when uploading built content.
Generating summary of Oryx build
Deployment Log file does not exist in /tmp/oryx-build.log
The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
Deployment Failed. deployer = GITHUB_ZIP_DEPLOY deploymentPath = Functions App ZipDeploy. Extract zip. Remote build.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer logs for more details.
App Service Application URL: https://axavp.azurewebsites.net/

@will300 is the app still active? I am not able to see the app. Could you share some details on app for us to debug further?

The app is active and running on Azure. Some details are as follows:
Location: West Europe
Operating System: Linux
Runtime Version: <IP_ADDRESS>
Status: Ready
Zone Redundant: Disabled
ENABLE_ORYX_BUILD: 1
FUNCTIONS_EXTENSION_VERSION: ~4
FUNCTIONS_WORKER_RUNTIME: python
SCM_DO_BUILD_DURING_DEPLOYMENT: 1
App Service authentication: Enabled
Restrict access: Require authentication
Unauthenticated requests: Return HTTP 401 Unauthorized
Token store: Enabled
I can provide further specific details if needed.
And the repo I'm trying to deploy has roughly the following file structure:
├── .github
│   ├── workflows
│   ├── config.yml
├── bin
│   ├── dir1
│   ├── file1.py
│   └── file2.py
│   └── init.py
│   ├── dir2
│   ├── file1.py
│   └── file2.py
│   └── init.py
│   ├── init.py
├── host.json
├── local.settings.json
├── requirements.txt
├── otherfile1
└── otherfile2

Seems like you're using functionapp. There is a different action for azure functions.
Can you try this workflow: https://github.com/Azure/actions-workflow-samples/blob/master/FunctionApp/linux-python-functionapp-on-azure.yml?

I've tried this workflow as well but it gives exactly the same error

Azure Function should be correct place to troubleshoot. Adding the contributor @fsschmitt @patelchandni to take a look on this.

Thank you. I've looked at that repo but it doesn't seem as active for issues. Is there anywhere else you would recommend looking for help troubleshooting in the meantime?

Since we use zip deploy in our github action, we advise all the webapps deploy user to enable run from package, can you check if enabling run from package helps?

I've tried setting WEBSITE_RUN_FROM_PACKAGE = 1 as it says in the link but now get an error slightly earlier on

@will300 Looks like you are using webapps-deploy. Can you please try using functions-action? functions-action is the recommended action.

@will300 Looks like there is an AzureWebJobsStorage warning indicating that the app setting is missing. Can you please add that app setting?

Here is some documentation you can reference for that app setting: https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azurewebjobsstorage

@will300  You are using linux consumption, and I see you have WEBSITE_RUN_FROM_PACKAGE set to 1. Run from package is not available for linux consumption. For linux consumption, please set WEBSITE_RUN_FROM_PACKAGE to 0 (or do not set it). And set SCM_DO_BUILD_DURING_DEPLOYMENT to true (https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#scm_do_build_during_deployment)

@will300 Here is some useful documentation in case it helps:
https://learn.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package#enable-functions-to-run-from-a-package
https://learn.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package#general-considerations

Just to clarify, please note that the solution I proposed is specifically for function app deployments. WEBSITE_RUN_FROM_PACKAGE =1 is what is suggested for web app deployments.

@will300 were you able to resolve the issue by steps shared by @kamperiadis?

Not yet unfortunately, I have tried setting the AzureWebJobsStorage and no longer receive the warning, and also the WEBSITE_RUN_FROM_PACKAGE variable, but other than that the error is still the same.

@will300 The issue might be related to something else. Since you have had two different error logs, can you please clarify for me which error you are seeing now? Can you please share the latest logs from the GitHub repo by clicking on "Actions" tab > "All Workflows" > click on failed run > copy the logs under "Run Azure Functions Action". Can you please also share your deployment pipeline in yaml?

@will300 can you please share the logs and workflow yaml which @kamperiadis asked above?

@will300 Reminding for the same again.

@will300 Waiting for the revert. will close this item by 28th Feb.

Closing this issue because of no response. Feel free to re-open or create new one.


Wiki Contribution - Do not route traffic through VPN

https://github.com/pivpn/pivpn/wiki/FAQ#allow-clients-to-connect-but-block-their-access-to-the-internet
I can't find how to edit the page, but, I'd like to add a note to this.
Under the "Allow Clients to connect but block their access to the internet" section, please add:
**If you remove the above PUSH command, you'll need to add a route PUSH command to get access to your LAN.
Add the PUSH command:
push "<IP_ADDRESS> <IP_ADDRESS>"
Ensure that the IP and netmask match what the VPN side of the network is.**

Nice Catch, Done!
https://github.com/pivpn/pivpn/wiki/FAQ#allow-clients-to-connect-but-block-their-access-to-the-internet
Thank you for your contribution!


Module Behavior Modification: IOSXR_CONFIG Currently Commits After Every Command Sent, Even When In a Hierarchical Command Structure Which Causes the Module to Fail

Proposal: Module Behavior Modification: IOSXR_CONFIG Commits After Every Command Sent, Even When In a Hierarchical Command Structure.
Author: Michael Fisher <@mfisher30>
Date: 2017/xx/xx

Status: Existing
Proposal type: process
Targeted Release: 2.6

Motivation
In the current design, looping through a YAML variable list while trying to configure an item using the IOSXR_CONFIG module, ANSIBLE tries to send a commit after every item sent, causing the module to error out. You are unable to commit while up in a Cisco IOS-XR hierarchical command, EX: prefix-set, access-list, etc...
Problems
Currently, if you try to use a with_items parameter while using a parent, the module will error out after the first item. The error that pops is indicative of the module trying to send a commit to the router, but cannot while in a hierarchical configuration. Some IOS-XR configurations require the complete rewrite of an 'object list' like prefix-sets, ACLs, prefix-lists, etc... when working with them via configuration terminal. With the way the module is currently designed, you have to send a configuration item as one long string. In the tested example of modifying a 'prefix-set', you are limited to only 49 prefixes as the input buffer doesn't allow for any more.
Example of message from the router when trying to 'modify' a prefix-set which is a hierarchical item
ASR9K Router(config)#prefix-set test_set
Tue May 22 16:03:39.225 UTC
% WARNING: Policy object prefix-set test_set' exists! Reconfiguring it via CLI will replace current definition. Use 'abort to cancel.

Example of how current module functionality allows you to work within a hierarchical item
  vars:
   prefixes: <IP_ADDRESS>/24, <IP_ADDRESS>/24, <IP_ADDRESS>/24, <IP_ADDRESS>/24, <IP_ADDRESS>/24, <IP_ADDRESS>/8

  - name: Configure Prefix-Set
    iosxr_config:
      lines:
        - "{{ prefixes }}"
        - exit
      parents: prefix-set {{ prefix_set }}

Example of Ansible commands that fail due to module commit functionality:
  vars:
      prefixes:
        - <IP_ADDRESS>/24
        - <IP_ADDRESS>/24
        - <IP_ADDRESS>/24
        - <IP_ADDRESS>/24
        - <IP_ADDRESS>/24
        - <IP_ADDRESS>/8

  - name: Configure Prefix-Set "{{ prefix_set }}"
    iosxr_config:
      lines:
        - "{{ items }}"
      parents: prefix-set {{ prefix_set }}
    with_items:
        - "{{ prefixes }}"

Solution proposal
Ideas for potential solutions:

Remove the auto commit and make the commit a parameter within the module that can only execute when exited out of a hierarchical command and is defined by the user.

Modify the module to only commit when exiting out of a hierarchical command structure allowing for the use of loops/YAML list items

Implement a separate module for commits. This could allow additional commit options.

This will allow you to loop through a list of configuration items prior to the commit. Commit should be pushed to the device as per designated by the user writing the script or after you instruct the module to exit out of the hierarchy via 'exit' command.
Dependencies (optional)
-iosxr_config
Testing (optional)
A successful test would allow the use of a list of items to be sent to the router while configuring an item like a prefix-set, prefix-list, or ACL, and not have the router try to commit it until it exits out of the hierarchy or until the user defines the commit
Documentation (optional)
This would require modification to the current iosxr_config documentation or possibly the addition of module documentation if a new iosxr_commit module was implemented.

closing issue. After deliberation, moving to bug report due to module not functioning as expected

+1  Need a way to show commit diffs in check mode


hsts@2

Seems ready to be merged and released!
Take a look at this PR to see everything going into version 2 of this module.
See the 2.0 milestone for more details.
Breaking changes:

maxAge option is now in seconds, not milliseconds
maxAge now defaults to 180 days (instead of 1 day)
includeSubDomains is true by default
minor breaking changes:

Some options are now error-checked for their presence, rather than their truthyness. For example, maxage: false didn't used to throw an error, but now it does
includeSubdomains and includeSubDomains cannot both be included

Closes #5.
Closes #10.
Closes #12.

This going to be merged sometime soon?

Yes, it should be released soon.
Would you mind giving it a test to make sure it works for you? It's worked in all my testing but I haven't had a lot of other testers.

I'd love to - will check back next week with some results.


Strange characters with w3m

Description
What's wrong? Where do these symbols come from?
I saw similar issues but did not understand at all how its author solved this
Neofetch version
6.0.0
Screenshot
https://imgur.com/Yb7Hnji
Config file
https://pastebin.com/MZ1nTYf9
Verbose log
https://pastebin.com/yrTWJzWS

The user in the other bug had his locale unset or set incorrectly. What is your locale set to?

This
http://imgur.com/a/njzjGJr

That explains it. You're using the C locale despite setting en_us.UTF-8.

thank you very much! heh,my fall, but, again, thanks for the help!


fix: Fix error message for export conda explicit spec

This fixes a reference to a flag that was removed from pixi project export conda-explicit-spec during the review of PR #1873.

Thank you!


CORS check should not apply to +page|layout.server.js

Describe the bug
In #6550 we started simulating CORS errors for server-side fetches to avoid a discrepancy between server-side and client-side fetches.
More recently, in #7113, we added fetch to RequestEvent, meaning that you can use event.fetch in a +page.server.js or +layout.server.js. But the simulated CORS errors still apply, needlessly.
Reproduction
https://github.com/Rich-Harris/sveltekit-server-side-fetch-bug-repro
Logs
No response
System Info
System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 74.27 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Chrome: 107.0.5304.87
    Chrome Canary: 109.0.5388.0
    Firefox: 106.0.1
    Safari: 15.6.1
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.86
    @sveltejs/kit: next => 1.0.0-next.511
    svelte: ^3.44.0 => 3.52.0
    vite: ^3.1.0 => 3.2.2

Severity
serious, but I can work around it
Additional Information
No response

Didn't think I'd say this to you one day, but duplicate of #7441 😜


New Contribution - Active

Contributor: [contributor information - Optional]
SSH Public key: [contributor SSH public key (if you don't have one, submit the issue to receive instructions)"- Required]
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKDxdvS0+hhapiUTElCKDyC1H0LkSQnMhsHQkEdx65D1

I'm ready to contribute now.

Yes, I'm ready now

Downloading contribution ./download.sh

contribute -c ./contributions
[2024-06-09T18:02:18Z INFO  ceremony::contribution] Reading contribution from "./contributions/0000000008.csrs"
[2024-06-09T18:03:40Z INFO  ceremony::check] Checking contribution with id 8
[2024-06-09T18:03:40Z INFO  ceremony::check] Contribution's k and n are correct
[2024-06-09T18:03:40Z INFO  ceremony::check] > SRS Check #1 Succeded: srs uses hardcoded group generators
[2024-06-09T18:03:40Z INFO  ceremony::check] > SRS Check #2 Succeded: g2 and s_g2 have order r
[2024-06-09T18:03:40Z INFO  ceremony::check] > SRS Check #3 Succeded: the g vector has expected size
[2024-06-09T18:07:34Z INFO  ceremony::check] > SRS Check #4 Succeded: srs is well-formed
[2024-06-09T18:07:34Z INFO  ceremony::check] > SRS Check #5 Succeded: srs is non-degenerative
[2024-06-09T18:07:34Z INFO  ceremony::check] SRS is valid
[2024-06-09T18:07:34Z INFO  ceremony::check] Contribution with id 8 is valid
[2024-06-09T18:07:34Z INFO  ceremony::secrets] Generating secrets ..
[2024-06-09T18:07:34Z INFO  ceremony::secrets] Generating and hashing<PHONE_NUMBER> random bytes
[2024-06-09T18:07:39Z INFO  ceremony::secrets] Hashing hasher's state 1048576 times
[2024-06-09T18:07:40Z INFO  ceremony::secrets] Extracting secrets
[2024-06-09T18:07:40Z INFO  ceremony::contribute] Rescaling powers of tau..

Uploading ./contributions/0000000009.csrs to /0000000009.csrs

Upload contribution finished

Dear @zvorcuit,
I'm pleased to receive Zircuit Points. My Ethereum address is 0x88287444cE4f824f7B0b9F49fe68d9015d30D912
Best regards,
@cuongnx42


ARROW-11422: [C#] add decimal support

I'm not familiar with the C# implementation but note decimals can now be 128 or 256 bit.

Can you also update
https://github.com/apache/arrow/blob/master/docs/source/status.rst
To check Decimal128 and Decimal256 support for C#?
Also, should be able to remove Decimal from the Not Implemented section of https://github.com/apache/arrow/blob/master/csharp/README.md

This fell of my radar, sorry! Merging.


[firebase_messaging] How to setGroup in the JSON?

if collapseKey is set, will the notification be replaced with the new one on the users device? and also - is there a way  to setGroup in the message json?
(a key to add here for exapmle:
await admin.messaging().send({   token: 'YOUR_TOKEN_HERE',   apns: {     payload: {       aps: {         threadId: 'foo',         alert: 'Hello world',       },     },   },   android: {     collapseKey: 'foo',     notification: {       title: 'Hello world',     },   }, }); )
‘collapseKey’ is not group. Don’t close without testing
Group notification https://developer.android.com/training/notify-user/group
Originally posted by @bhanuka96 in https://github.com/FirebaseExtended/flutterfire/issues/1736#issuecomment-725411355

Hi @lironzemingo
There is already an open issue for this https://github.com/FirebaseExtended/flutterfire/issues/6068
Please comment any relevant information on the mentioned issue.
Thank you


Final Issue

Link to Blog

0.94/1
This project has successfully incorporated all the necessary components outlined in the CPT requirements provided by College Board. The video clearly demonstrates users inputting data through a form, and the program's functionality is highlighted by the creation of graphs based on that data. The output process, including data storage and graph generation for exercise and sleep patterns, is effectively showcased. The video adheres to the guidelines by excluding distinguishing information and voice narration. It is formatted as a nice .mp3 file, less than a minute long, and with a file size under 30MB, meeting the specified criteria. In summary, the project thoughtfully fulfills each requirement, ensuring a clear and compliant representation of its key features. I admired every picture of code and each segment of your feature, great work!
I really enjoyed your blog, but I think it could be even better with a bit more detail in your explanations. Adding more info, especially about the features you talked about, would help readers understand everything better. Still, I want to highlight that your blog is great, and that's why I gave it a 0.94 rating. Your writing is clear, and your unique perspective and insights show a real passion for the topic. Keep up the good work!

4.7/5


SFML app Is Behaving Like app, Even though it does not display anything

GitHub. I come to you in a time of great need.
I am starting to learn C++, after learning Python, and I want to learn C++ in an entreating way; that is, by making games with SFML. I am following a book which you can find here. I am using MacOs Catalina, with Clion and Cmake. The problem is that, when using a basic example, listed below, SFML does not create a window. (Sorry for my use of using namespace)
My Code:
// Include important C++ libraries here
#include <SFML/Graphics.hpp>

// Make code easier to type with "using namespace"
using namespace sf;

int main()
{

    // Create a video mode object
    VideoMode vm(1920, 1080);

    // Create and open a window for the game
    // RenderWindow window(vm, "Timber!!!", Style::Fullscreen);

    // Low res code
    RenderWindow window(vm, "Timber!!!");

    // Create a texture to hold a graphic on the GPU
    Texture textureBackground;

    // Load a graphic into the texture
    textureBackground.loadFromFile("graphics/background.png");

    // Create a sprite
    Sprite spriteBackground;

    // Attach the texture to the sprite
    spriteBackground.setTexture(textureBackground);

    // Set the spriteBackground to cover the screen
    spriteBackground.setPosition(0, 0);

    while (window.isOpen())
    {

        /*
        ****************************************
        Handle the players input
        ****************************************
        */

        if (Keyboard::isKeyPressed(Keyboard::Escape))
        {
            window.close();
        }

        /*
        ****************************************
        Update the scene
        ****************************************
        */

        /*
        ****************************************
        Draw the scene
        ****************************************
        */

        // Clear everything from the last frame
        window.clear();

        // Draw our game scene here
        window.draw(spriteBackground);

        // Show everything we just drew
        window.display();

    }

    return 0;
}

An image of what happens when I build and execute is below

I tried to reinstall SFML, make the window smaller (the book suggests that I create a smaller, 960-pixel-wide VideoMode object and then window.draw() the original 1920/1080 picture*, but this did not work), re-build the project, execute it from XCode, and copy the SFML.dll files into my main project directory (and also I checked for my project directory).
Is this normal? Do you know how I can fix it? Notice how it takes up my screen as if it were the app which I am currently using. Thank you for your time.

As a footnote, I ran some other SFML examples to check the correctness of my SFML installation. The ran successfully.

Adding an event loop should fix your problem (see examples, documentation, tutorials, ...).


Runtime Failure unexpected keyword argument 'debug'

Attempted to run one of the tests and got the following.
python wildfire-to-stix.py -h 2f9dcb186e385b8632d69ab03667263d11814677ea68a601237933d61d5b3c13 -t jpc -o 2f9dcb186e385b8632d69ab03667263d11814677ea68a601237933d61d5b3c13_result.xml
Traceback (most recent call last):
File "wildfire-to-stix.py", line 148, in
main()
File "wildfire-to-stix.py", line 138, in main
dump_report_to_stix(options)
File "wildfire-to-stix.py", line 34, in dump_report_to_stix
sp = panstix.packaging.get_stix_package_from_wfreport(**options)
File "/Users/jack/Desktop/panXfer/PANGITHUB/pan-stix/panstix/packaging.py", line 49, in get_stix_package_from_wfreport
ms = wf.get_malware_subject_from_report(**subargs)
File "/Users/jack/Desktop/panXfer/PANGITHUB/pan-stix/panstix/wf/utils.py", line 162, in get_malware_subject_from_report
tag=kwargs['tag'])
TypeError: init() got an unexpected keyword argument 'debug'

Added panstix support for pan.xapi logging levels


Maximum function nesting level of '256' reached, aborting! from page.summary()

Pardon the title, it's the standard error-message and most succinct hit for Google. When calling page.summary(), under certain circumstances, Grav\Common\Helpers\Truncator::removeProceedingNodes() is called 188 times. As best I can tell, this is a result of xDebug being enabled with its defalt xdebug.max_nesting_level=256-setting. Still, its not actually doing much since this is set:
xdebug.remote_autostart=0
xdebug.remote_enable=0
xdebug.profiler_enable=0

This happens on PHP Version 7.4.16, with a pretty standard production-server (no sensitive information contained within). As shown in the full error stack, Truncator::truncateLetters() is called with a limit of 300. The site runs on Core 1.7.10, and is a direct copy of this skeleton.
The same occurs even without the filters applied. page.content() renders just fine.
I'm not sure which end it's best to approach this from: I rarely run xDebug locally in this way, but I'm aware that many servers might. There are other truncators that could be used as less intense alternatives, but access to page.summary() is very useful. I'm sure I've come across this before in a similar setup and environment, but I can't recall when.
Is this an intended limit on truncation, or an unintended side-effect of max_nesting_level?

Try disabling xdebug if that helps. I would not say it's a bug as long as it works without xdebug and even then it's just one setting that you can use to get rid of the error.

Disabling xDebug is done, as noted with the settings above, though the recursion-limit appears to be enforced by xDebug just being loaded. I am concerned that other production-servers may also be loading it, making page.summary() more crashy.

Production servers should never have xdebug enabled. NEVER. :)

It's not enabled, it's loaded. The recursion-limit comes from the DLL-loading, not profiling.

By enabled, I mean that the extension is loaded. I would commend out loading the library in production as it should really be used only for development.

Solved by not loading xDebug. It's rather unfortunate that the max_nesting_level-setting of xDebug takes precedence even if xDebug is not configured to do anything.

Well, xdebug runs normally unless you're running the latest version with PHP 8. But that is not really the issue here -- it's a debug tool and as such, it can be used to reveal information about the site which can be used to attack against the site.


Error in DbDiagnostics::executeDbProfile: unused argument overwriteAchilles

The function executeDbProfile function signature in the documentation does not match the current release function signature. It looks like the overwriteAchilles option has been removed but the vignette has not been updated yet.

https://github.com/OHDSI/DbDiagnostics/blob/cf7fcda85896678ff7f96733b525d4421552e585/vignettes/RunAndUploadDbProfile.Rmd#L67

https://github.com/OHDSI/DbDiagnostics/blob/cf7fcda85896678ff7f96733b525d4421552e585/R/executeDbProfile.R#L54

Thanks @ablack3! This was fixed with this commit:
https://github.com/OHDSI/DbDiagnostics/commit/05bb08ffe3960b540d53ad9de8e3363b6dc48e56#diff-96516bad755f4dd8ce640b56ef58bb129d7299d93094713e0daabbba4316da69


Update webforj-install-bbj-plugin to automatically exclude webforj-engine

With #797, the webforj-engine is now considered an internal dependency. When running with BBjServices, this dependency should be excluded by default since the functionality provided by the engine is already available. For now, the exclusion must be defined in the POM as follows: improve the webforj-install-bbj-plugin to automatically exclude the webforj-engine.
<dependencies>
  <dependency>
    <groupId>com.webforj</groupId>
    <artifactId>webforj</artifactId>
    <version>${webforj.version}</version>
    <exclusions>
      <exclusion>
        <groupId>com.webforj</groupId>
        <artifactId>webforj-engine</artifactId>
      </exclusion>
    </exclusions>
  </dependency>
</dependencies>

Can you tell me where webforj-install-bbj-plugin  is on github
On Fri, Nov 8, 2024 at 11:37 AM Hyyan Abo Fakher @.***>
wrote:

Assigned #798 https://github.com/webforj/webforj/issues/798 to
@kevinhagel https://github.com/kevinhagel.
—
Reply to this email directly, view it on GitHub
https://github.com/webforj/webforj/issues/798#event-15208492335, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCYUXKXZMPLTHB3I2R3XFDZ7SA7HAVCNFSM6AAAAABRNCPUB2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGIYDQNBZGIZTGNI
.
You are receiving this because you were assigned.Message ID:
@.***>

Can you tell me where webforj-install-bbj-plugin is on github
…
On Fri, Nov 8, 2024 at 11:37 AM Hyyan Abo Fakher @.> wrote: Assigned #798 <#798> to @kevinhagel https://github.com/kevinhagel. — Reply to this email directly, view it on GitHub <#798 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCYUXKXZMPLTHB3I2R3XFDZ7SA7HAVCNFSM6AAAAABRNCPUB2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGIYDQNBZGIZTGNI . You are receiving this because you were assigned.Message ID: @.>

https://github.com/webforj/webforj/tree/main/webforj-plugins/webforj-install-bbj-plugin

Updated the pom.xml in webofjr-install-bbj-plugin, specific exclusion child of com.webforj:webfor dependency.
Added com.webforj:webforj-engine as a dependency itself, with scope provided.
Added a bunch of other exclusions to remove sonar and security complains.

https://github.com/webforj/webforj/issues/798
Hmm, I used
resolves #798 as the commit message.  i was not aware it would close the
ticket, i though we still had to go through the PR processes.
On Fri, Nov 8, 2024 at 11:48 AM Kevin Hagel @.***> wrote:

Can you tell me where webforj-install-bbj-plugin  is on github
On Fri, Nov 8, 2024 at 11:37 AM Hyyan Abo Fakher @.***>
wrote:

Assigned #798 https://github.com/webforj/webforj/issues/798 to
@kevinhagel https://github.com/kevinhagel.
—
Reply to this email directly, view it on GitHub
https://github.com/webforj/webforj/issues/798#event-15208492335, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCYUXKXZMPLTHB3I2R3XFDZ7SA7HAVCNFSM6AAAAABRNCPUB2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGIYDQNBZGIZTGNI
.
  I've been away from git too
long
On Thu, Nov 14, 2024 at 3:23 PM Kevin Hagel @.***> wrote:

https://github.com/webforj/webforj/issues/798
Hmm, I used
resolves #798 as the commit message.  i was not aware it would close the
ticket, i though we still had to go through the PR processes.
On Fri, Nov 8, 2024 at 11:48 AM Kevin Hagel @.***> wrote:

Can you tell me where webforj-install-bbj-plugin  is on github
On Fri, Nov 8, 2024 at 11:37 AM Hyyan Abo Fakher <
@.***> wrote:

Assigned #798 https://github.com/webforj/webforj/issues/798 to
@kevinhagel https://github.com/kevinhagel.
—
Reply to this email directly, view it on GitHub
https://github.com/webforj/webforj/issues/798#event-15208492335, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCYUXKXZMPLTHB3I2R3XFDZ7SA7HAVCNFSM6AAAAABRNCPUB2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGIYDQNBZGIZTGNI
.
You are receiving this because you were assigned.Message ID:
@.***>


Change stratified current message to use Vector3[] instead of separate float32[] for velocity values.

Using a Vector3 array instead of three float32 arrays is more in keeping with the de facto standards of the rest of the codebase.  The single velocity value generated by the same plugin is already published as a single Vector3 value.

@dtdavi1 I remember you saying that you are working on this. If you are not, or if you need help, please let me know!

@woensug-choi Yes, I've got it for action.  It's actually finished and committed in the branch we were working in, but I won't submit the merge request until the second issue is included.

Thank you very much!


scaling service down shouldn't put all the nodes on one host

Output of docker version:
Client:
 Version:      1.12.0-rc2
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   906eacd
 Built:        Fri Jun 17 21:15:33 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-rc2
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   906eacd
 Built:        Fri Jun 17 21:15:33 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 18
 Running: 5
 Paused: 0
 Stopped: 13
Images: 7
Server Version: 1.12.0-rc2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 112
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host null bridge overlay
Swarm: active
 NodeID: 1rtix8otorooc797rbf73q3uz
 IsManager: Yes
 Managers: 2
 Nodes: 3
 CACertHash: sha256:57ccb49971b1803615d2b7be3c36f9f2c77335435e19b3f828fb88ce0f995a27
Runtimes: default
Default Runtime: default
Security Options: apparmor seccomp
Kernel Version: 4.2.0-38-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.86 GiB
Name: 1f5d014f-82c0-484c-96b1-bab9c7e40cbd
ID: CYOV:ZAFN:2E66:M6QW:25Y2:GNGC:YCOP:LZFG:WPWI:MX5I:GUYZ:S2Q6
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Steps to reproduce the issue:

Create a new service
Scale up/down

Describe the results you received:
During some scale downs all the remaining tasks in the service are on one swarm worker.
Describe the results you expected:
Service tasks should be somewhat redundant and not all be on one node.
Additional information you deem important (e.g. issue happens only occasionally):
The scheduler should take into account where the nodes are being scheduled for a given service. I noticed that when I scaled a service to 10 then back to 3 that all the nodes sometimes would be on one swarm node which is less than ideal from a redundancy standpoint. The only way to fix it is to scale up and down again and hope the scheduler does it better.

ping @aluzzardi @dongluochen PTAL

@aaronlehmann @dongluochen @aluzzardi

I have a fix for this pending in the swarmkit repo: https://github.com/docker/swarmkit/pull/1051

This was included in -rc3.


Coroutine suspension types

Currently only dialogue messages and wait X ticks suspensions exist.
Other suspension types:

[x] Walk to tile
[x] Wait for interface to close
[ ] Wait for animation/gfx to finish (extends time/ticks)
[ ] Custom - e.g wait for player to click on a button (when to check?)

Widget button press
var pressed = -1
on<ButtonClick> {
    when { pressed == -2 }
    then {
        pressed = it.buttonId
        queue.resume()
    }
}

suspend fun waitForSmithingScreen(): Int {
    showScreen()
    pressed = -2
    suspend()
    return pressed
}

Can local variables be used? Or would there be race conditions when two players use at once?
If so just switch out pressed == -2 with queue.peek().suspension is WidgetButtonSuspension
And pressed = -2 with setting suspension like normal.
Should all suspensions should use the same method? Where is the line between necessary 'core' suspensions and 'extras'.

Custom suspensions are possible, albeit a bit verbosely.
lateinit var suspendingQueueMapper: ComponentMapper<SuspendingQueue>
lateinit var queue: PriorityQueue

data class CustomSuspension(var field: Int = -1) : SuspensionType

on<Command> {
    where { it.prefix == "resume" }
    then {
        val suspension = suspendingQueueMapper.getSuspension(it.entityId)
        if(suspension is CustomSuspension) {
            suspension.field = 1
            queue.resume(it.entityId)
        }
    }
}

suspend fun QueueScope.customSuspension(value: Int): Int {
    val sus = CustomSuspension(value)
    suspension = sus
    suspend()
    return sus.field
}

queue(QueuePriority.Weak) {
    customSuspension(2)
}

Animation/graphic waiting not possible right now #65


Remove unnecessary variable in CacheTest

Like we discussed it in the previous PR, t2 should be removed.
PR: https://github.com/square/okhttp/pull/5552

@yschimke My bad, sorry. PTAL.


Add contact us page

Issue Template
Description
Create a contact us section for homepage and attach with the contact us button on navbar.
Steps to Reproduce
Please provide step-by-step instructions on how to reproduce the issue:

Go to homepage
Click on contact us button in navbar
See blank page.

Expected Behavior
When you click on contact us , contact us page should be there.## Screenshots
If applicable, add screenshots to help explain the issue.
Additional Context
Add this email<EMAIL_ADDRESS>

Hey @theashikagupta , could you please assign this to me?

Can I work in this?
Will there only be a email or a full form for the same?

Assigned @Harmeet10000

@theashikagupta i am unable to clone the project as the size is exceeding the git limit, so please assign it to @Saurabhchaudhary9799

hey @theashikagupta , could you please assign this to me ?

Assigned @Saurabhchaudhary9799

you can assign this task to me ...
i can design a very good contact page..


docs: add Massoud Maboudi's portfolio to showcase

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Another RTL website from @massoudmaboudi 😁
Test Plan

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/
Related issues/PRs

This is a very, very awesome website! However it leaves me very ambivalent, because while it's highly designed, it doesn't showcase much docs feature of Docusaurus😟 I'm open to add it to the favorites, but I'm afraid it doesn't represent a typical use-case... Do you have plans to add more docs-related pages to this site in the future?

Thanks, man,
Yes, the blog is on the way. not this week but very soon.

Good to know! 👍 Looking forward to it, then

Good to know! 👍 Looking forward to it, then

Sure things.
I am not sure about docs section though as its a portfolio website but a different design of blog can help to make it glow.

Ye I'll be equally happy if it ends up a personal blog! We've never had a personal blog in the favorites, so it's always meaningful to add one

Yes, working on https://iammassoud.ir and my other website which is https://datagit.ir already added to the favorite before.
btw, check a preview of my new design for https://datagit.ir as below:
https://pythonbeginnercourse--datagit-preview.netlify.app/

Hi @Josh-Cena
I didn't understand why the PR is closed

@massoudmaboudi Did you accidentally delete your branch?

my fork was on the time the main branch name was master.
Seems my fork is updated. not sure, but reapply for this change shortly. Hope my other PR is active still


Actions on volumes by name instead of ID

Will this be implemented in the future? Would you be open to accepting a pull request with this implemented?

I haven't started on this, a PR would be great!

In the interest of backward-compatibility, I'll make the new methods:

client.volumes.getByName
client.volumes.deleteByName
It might take me a while to look through the codebase and understand it :)

Ah, so the getByName is actually just a variation on list(), it just accepts the name as a query param, similar to the listing images by types. That's documented here: https://github.com/phillbaker/digitalocean-node/#image-resource. So no need to implement a separate function for that one.


Correct empty auto_prev satisfaction

auto_prevs are now correctly satisfied with an empty value when the previous packet can no longer satisfy the type.
Also, for each decoration for type T with timeshift N, decorations for type T and timeshifts < N are guaranteed to exist

Don't merge me yet

ready to merge


SIGINT / Ctrl+C sometimes doesn't stop subscribe output early

Hi, I'm sometimes encountering an issue with gnmic where Ctrl+C doesn't interrupt the subscribe output and gnmic will continue until no more messages are buffered before the program exits; this leads to the gnmic process needing to be killed in order to stop the execution early. I would expect that mashing Ctrl+C or sending an interrupt signal would stop the program and exit.
Wondering if anyone else has experienced this or knows of a fix already? I took a peek through the signal handler code but wasn't able to make a fix that consistently resulted in gnmic exiting when Ctrl+C is pressed. I did notice that for me passing the --debug flag to gnmic will cause it to exit quickly with an interrupt but wasn't able to link that to a specific code path that was causing the issue.

Hi, I did notice the same and was not able to find a better Ctrl+C handling behavior.
If anyone has a fix or an enhancement they are more than welcome to create a PR

I think I figured this out but a second set of eyes would be great to confirm.
From what I'm seeing the file Output sends all writes immediately to File.Write() which will block until output is written regardless of context.Context being "done". A submitted a PR that changes the behavior to limit calls to File.Write() to a ConcurrencyLimit specified in file.Config. The default limit is 1000 which seemed somewhat sane based my tests pressing Ctrl+C on my laptop.
This solution seemed reasonable for getting File.Write() to honor Context.Done() but open to looking at alternatives as well if someone has a different idea.

thanks for your contribution @colinmcintosh
it's been merged and gnmic 0.6.0 will have this fix in place