text:
Cannot cast my MainActivity into Advanced Webview Listener

Error
022-02-26 15:12:43.683 13941-13941/com.example.paamemregistration E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.paamemregistration, PID: 13941
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.paamemregistration/com.example.paamemregistration.MainActivity}: java.lang.ClassCastException: com.example.paamemregistration.MainActivity cannot be cast to im.delight.android.webview.AdvancedWebView$Listener
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3108)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3251)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
Caused by: java.lang.ClassCastException: com.example.paamemregistration.MainActivity cannot be cast to im.delight.android.webview.AdvancedWebView$Listener
at com.example.paamemregistration.MainActivity.onCreate(MainActivity.java:19)
at android.app.Activity.performCreate(Activity.java:7327)
at android.app.Activity.performCreate(Activity.java:7318)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3088)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3251)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
Code
        super.onCreate(savedInstanceState);
        mWebView = (AdvancedWebView) findViewById(R.id.webView);
        mWebView.setListener(this, (AdvancedWebView.Listener) this);
        mWebView.setMixedContentAllowed(false);
        mWebView.loadUrl("https://someurl.com");

Kindly assist. It seems to be grabbing the webview fine but is unable to set the listener. when I try with mWebView.setListener(this, this); it brings an error for me to specify that the listener for the second context is Advanced Webview Listener.

You might have forgotten implements AdvancedWebView.Listener at the top of your MainActivity, and then implementing what this interface requires.

Hello. That works fine. Thanks

authors: RawPlutonium ocram


text:
Nv websocket client - subscription stopped callback and select the looper for callbacks

Add callback that is executed whenever a subscription stopped and there are no listeners waiting for it (i.e. after subscription is ready).
Added option to select the looper that all callbacks will be fired on. This already makes sure that callbacks are fired on the user thread.
Exposed getLoginToken() so that other access methods (REST calls) can use the same login information.

Very much appreciated, thank you!
In general, it is better to create separate pull requests for individual features, but we'll be able to dissect this pull request into its original parts here.
It is closed because the target branch does not exist anymore (it was not created against master).
Regarding the looper: Why did you need to set it manually? Right now, all callbacks should execute on the UI thread already. And if you don't want that, you probably don't want another specific thread but the calling thread (in each individual case), right?

Will do a commit per feature next time.
Regarding the Looper: I have a background thread that works with Meteor (not he UI thread). So it is more convenient to have all Android-DDP callbacks issued on my background thread (using its Looper) instead of having to handle moving the callback event from the UI thread to my background thread.
And, if I understand your comment regarding the correlation between the calling thread and the callback thread, I would not tie both of them together and leave the flexibility to the developer (i.e. call Android-DDP from any thread and receive callbacks on the selected Looper thread).
Thanks,
Shai

source: gharchive/pull-request

authors: ocram shaiamir

repo: delight-im/Android-DDP

license_type: permissive

license_source: bigquery


text:
[BUG]: Mode is mentioned incorrectly in the configMap of PowerMax even when it is deployed as a sidecar

Bug Description
Mode is mentioned incorrectly in the configMap of PowerMax even when it is deployed as a sidecar
Please refer to the below link
https://github.com/dell/csm-operator/blob/0ac538d395aa764534c047b5fbf779ce31a87eb8/samples/csireverseproxy/config.yaml#L18
Logs
https://github.com/dell/csm-operator/blob/0ac538d395aa764534c047b5fbf779ce31a87eb8/samples/csireverseproxy/config.yaml#L18
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Refer to the configMap of PowerMax for operator deployment - https://github.com/dell/csm-operator/blob/0ac538d395aa764534c047b5fbf779ce31a87eb8/samples/csireverseproxy/config.yaml#L18
Expected Behavior
Mode should either be removed completely or should align with standalone/deployedAsSideCar
CSM Driver(s)
PowerMax
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
NA
Operating System
NA

/sync

/sync

source: gharchive/issue

repo: dell/csm

license_source: github-api


text:
Install mpi-operator

Is your feature request related to a problem? Please describe.
We need to be able to run MPI jobs on the Kubernetes cluster
Describe the solution you'd like
mpi-operator from KubeFlow should do the trick: https://github.com/kubeflow/mpi-operator
Describe alternatives you've considered
We could build our own operator, but that seems unnecessary
Additional context
I think we should install the MPI operator separate from KubeFlow, as some users may want to run MPI jobs independently of using KubeFlow's other features.

we should include a working example along with this installation. Running a simple tensorflow w/ horovod or mpi 'hello world' would be fitting

We currently have an MPIJob example which uses apiVersion kubeflow.org/v1alpha1 and runs the Tensorflow Benchmark: https://github.com/dellhpc/omnia/blob/devel/examples/k8s-TensorFlow-resnet50-multinode-MPIOperator.yaml.
Should we add another example that uses apiVersion kubeflow.org/v1alpha2 (e.g., https://github.com/kubeflow/mpi-operator/blob/v0.2.2/examples/v1alpha2/tensorflow-benchmarks.yaml)?

Remove the old v1alpha1 example and move forward with master branch of mpi-operator

Should we rely on master or stick with a tagged release?

I changed this to use master instead of v0.2.2. See https://github.com/dellhpc/omnia/pull/48#issuecomment-607849605

repo: dellhpc/omnia


text:
When using Spark Thrift server to use Spark SQL，an exception occurs——File does not exist

After using Spark SQL to transfer data to hdfs，I get an error when I query the contents of this table
Error operating EXECUTE_STATEMENT: org.apache.spark.SparkException: Job aborted due to stage failure: Task 4 in stage 197.0 failed 4 times, most recent failure: Lost task 4.3 in stage 197.0 (TID 3521) (data198 executor 2): java.io.FileNotFoundException: File does not exist: hdfs://data197:8020/user/hive/warehouse/zilaishui_dwd.db/jbyjslmx1/part-00019-f2606e9e-691a-4188-ae6b-47d34ecaf37a-c000.snappy.parquet It is possible the underlying files have been updated. You can explicitly invalidate the cache in Spark by running 'REFRESH TABLE tableName' command in SQL or by recreating the Dataset/DataFrame involved.
The delta log does record the above file information, but the hdfs does not exist.The probability of this problem is very small.I don't know whether the problem is on HDFS or Delta, or my hardware.
Now the data in this table cannot be queried. How can I solve this problem
Environment information

Delta Lake version:1.0.0
Spark version: 3.1.2
Scala version: 2.12

How did you transfer data to HDFS?
"The probability of this problem is very small" Do you consistently have this issue? Or is it random?
How are you loading your delta table? Which exact command is giving you this error?
Have you run VACUUM on your delta table?

Execute some associated and merge operation through Spark SQL（All operations use Delta）:

1) Create temporary table
create table dwd1020.tmp_5084664359800537220
(
    id                    string comment 'id',
    value_string_255      string comment 'value',
    state                 string comment 'state',
    name                  string comment 'name',
    insert_time           timestamp comment 'insert_time',
    quality_filter_result string comment 'quality_filter_result'
) USING DELTA;

2).Associate multiple tables and insert temporary tables
insert into `dwd1020`.tmp_5084664359800537220 (id, value_string_255, state, name, insert_time, quality_filter_result)
select tmp.id    as id,
       tmp.value as value_string_255,
       tmp.state as state,
       null                      as name,
       current_timestamp()     as insert_time,
       'UN_CHECK'                as quality_filter_result
from (select t_1582975638421008385.state                 as state,
             t_1582975647835230209.value_string_255      as value,
             t_1582976225164754946.id                    as id,
             t_1582976225164754946.insert_time           as insert_time,
             t_1582976225164754946.quality_filter_result as quality_filter_result
      from `ods1020`.ods1020_1 t_1582976225164754946
               left join `ods1020`.ods1020_2 t_1582975638421008385
                         on t_1582976225164754946.id = t_1582975638421008385.id
               left join `ods1020`.ods1020_3 t_1582975647835230209
                         on t_1582976225164754946.id = t_1582975647835230209.id
      where 1 = 1) tmp
where 1 = 1
  and tmp.insert_time >= to_timestamp('2022-10-21 18:00:00', 'yyyy-MM-dd HH:mm:ss')
  and tmp.insert_time < to_timestamp('2022-10-21 21:00:00', 'yyyy-MM-dd HH:mm:ss');

3).Merge temporary table to target table
merge into dwd1020.dwd1020_2 as t using dwd1020.tmp_5084664359800537220 as s on t.id = s.id
when matched and (t.id != s.id or t.value_string_255 != s.value_string_255 or t.state != s.state or t.name != s.name or
                  t.insert_time != s.insert_time or t.quality_filter_result !=
                                                    s.quality_filter_result) then update set id = s.id,value_string_255 = s.value_string_255,state = s.state,name = s.name,insert_time = s.insert_time,quality_filter_result = s.quality_filter_result
when not matched then insert *;

Random. The data flow of our data platform is realized through Spark SQL, but suddenly this problem occurs when a table is queried one day, and the data flow before this table is normal.
It is a common query: select * from table.
yes. We will execute this operation regularly and set to vacuum (0) .I know this statement will clean up the data of the old version, but keep the latest version.We do not specify a version for the query data, and use the latest version by default.

We solved the previous problem by rerunning sql task，now we're trying to recurri this problem... but everything is normal

How did you transfer data to HDFS?
"The probability of this problem is very small" Do you consistently have this issue? Or is it random?
How are you loading your delta table? Which exact command is giving you this error?
Have you run VACUUM on your delta table?

Hi @scottsand-db I faced a same issue, I am using ADLS Gen2 (delta version 0.8), and my case is streaming case

Job 1 append data into delta table
Job 2 streaming read from delta table.

Job 2 encoutered this error (Job 2 find a file add entry from log, but faild to read that parquet file due to it does not exists), I manully checked the files, it indeed does not exists.
I also have a purge job (deletedFileRetentionDuration is 0 in my delta table) which will running in parallel.  The purge job run a delete command first to remove the data genrated 7 days ago, then run vacuum command.
I checked the log, I found the missed parquet file commit just followed the vacumm commit.  Do you have any insight?

yes. We will execute this operation regularly and set to vacuum (0) .I know this statement will clean up the data of the old version, but keep the latest version.We do not specify a version for the query data, and use the latest version by default.
I also have a purge job (deletedFileRetentionDuration is 0 in my delta table) which will running in parallel. The purge job run a delete command first to remove the data genrated 7 days ago, then run vacuum command.

vacuum 0 or deletedFileRetentionDuration=0 is not safe as vacuum may delete parquet files not committed yet, and cause the issue mentioned here.
We document the caution of misconfiguration for vacuum here:

It is recommended that you set a retention interval to be at least 7 days, because old snapshots and uncommitted files can still be in use by concurrent readers or writers to the table. If VACUUM cleans up active files, concurrent readers can fail or, worse, tables can be corrupted when VACUUM deletes files that have not yet been committed. You must choose an interval that is longer than the longest running concurrent transaction and the longest period that any stream can lag behind the most recent update to the table.

I also found this issue. It is really my misuse. thank you @zsxwing

authors: ChenXiongfeng guoliqiang scottsand-db zsxwing

repo: delta-io/delta


text:
Show modal on clic node

Do they have the functionality? Click on the node and put some type of id to know which node is being clicked.

See:
https://github.com/deltoss/d3-mitch-tree/issues/7

authors: deltoss dtm-decoramostumesa

license: MIT


text:
Update to use the latest TP SDK

Are there any plans to update this TP to use the latest TP SDK like they did with FSharp.Data? This would make it work on .Net Core without using the workaround that is mentioned int the readme.

Fixed in
https://www.nuget.org/packages/FSharp.Data.Npgsql/0.1.33-beta
Thanks for opening the issue.

authors: dmitry-a-morozov purkhusid


text:
Windows CI is broken

See https://github.com/demidko/graal-utility/actions

Починили с обновлением

repo: demidko/graal-utility


text:
update content-management.md

Status
Ready/In Progress/In Hold (Reason for hold)
Related Issues
fixes: link to the issue
Description

remove XSOAR CI/CD article
update XSOAR CI/CD pack documentation with the relevant sections from the article
added the line: CI/CD process tested in Cortex XSOAR version 6.0.0 and above, Cortex XSOAR version 8.0.0 supported as well.

Screenshots
Paste here any images that will help the reviewer

@bakatzir Doc review completed.

repo: demisto/content-docs


text:
🛑 HMD Main is down

In ab26823, HMD Main (https://hmidental.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HMD Main is back up in 8198522.

repo: dencap/Upptime


text:
enhance(workspace): Support queryNotesMeta and migrate NoteQuickInput to NoteQuickInputV2

Background
Lookup currently calls queryNotes which returns the entire NoteProps. With engineV3, this can cause some slow down b/c we're reading from disk to get the note body. Since lookup doesn't require the body, we will support queryNotesMeta to return NotePropsMeta instead
Changes

New api route for queryNotesMeta
Migrate users to use queryNotesMeta instead of queryNotes
Update NoteQuickInputV2 to include NotePropsMeta. This is b/c many commands need to work with NotePropsMeta after selection is made
Migrate from NoteQuickInput to NoteQuickInputV2. Since lookup doesn't need the body anymore, the data type will change as well

Testing
Tested on org-workspace. Keeping the limit to 100 notes, the response should be under 100ms

@Harshita-mindfire just as a heads up about this change.

repo: dendronhq/dendron


text:
Error when pressing enter with nothing selected

Describe the bug
If you open navi, misspell a search and press enter, navi seems to crash with the following message:
Hey, listen! navi encountered a problem.
Do you think this is a bug? File an issue at https://github.com/denisidoro/navi.

Caused by:
    No more parts in `selections`

To Reproduce
Steps to reproduce the behavior:

Start navi (shell shortcut or bash script, either way works)
Enter random search text until no results show up
Press enter

Expected behavior
nothing (staying on the search screen as-is) would be preferred. I believe previously it would either silently exit or restart (clearing the search)? I don't quite remember.
Versions:

OS: Manjaro Linux
Shell Version: GNU bash, version 5.0.18(1)-release (x86_64-pc-linux-gnu)
Navi version: 2.9.0

I've already fixed this bug but apparently there has been some regression in 2.9.0 😭
I'll look into it, fix it in the next release and try to add a test so this doesn't come back.
Thanks for reporting.

repo: denisidoro/navi


text:
dsa problems

This closes #11

add these programs in programs/c++ folder

You can also contribute to my new repository where you can contribute by opening pull requests for DSA related programs. :)
https://github.com/deniss-eh/DSA-HACKTOBERFEST

done

repo: deniss-eh/hacktuber


text:
Utilize Avdanced URI in task command?

Hello,
Thanks for the plugin, use it all the time. Was wondering could the link generated to Todoist (currently pointing to file) utilize Advanced URI to generate the link to the precise block in Obsidian's file?

that's be amazing, is it possible to put this together manually somehow?

repo: dennisseidel/obsidian-todoist-link


text:
feat: responsibly add support for unstable unix sockets

This PR adds support for connecting to Redis through Deno's unstable unix sockets without exposing this fact to callers who do not have lib.deno.unstable in scope.
Specifically, calls to connect with UnixConnectOptions-like properties will not pass type check, and intellisense will not suggest them unless lib.deno.unstable is in scope.
Screenshots:
With unstable types imported:

Without unstable types:

I think this is a responsible way of using unstable APIs in library code that doesn't permit or advertise it to users on the stable profile.
Closes #128

The company I work for decided to use a different redis driver, so I can't continue working on this. Closing.

repo: denodrivers/redis


text:
deno_core init crash on Android aarch64

core/examples/hello_world.rs can not run on Android, it just crash when init.
deno_core v0.280.0
rusty_v8 v0.91.1
build command:
export PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
export CC_aarch64_linux_android=aarch64-linux-android28-clang
export CXX_aarch64_linux_android=aarch64-linux-android28-clang++
export AR_aarch64_linux_android=llvm-ar
export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android28-clang

cd core
cargo build --example hello_world --release --target aarch64-linux-android

Then use adb push to send hello_world binary to Android phone, and adb shell:
violet:/data/local/tmp $ ls -l hello_world
-rwxrwxrwx 1 shell shell 36623592 2024-05-12 04:00 hello_world
violet:/data/local/tmp $ ./hello_world
deno_core/hello_world::main()
before JsRuntime::new()
Bus error
135|violet:/data/local/tmp $

Add these print code:
diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs
index 6e99349..8e3c176 100644
--- a/core/examples/hello_world.rs
+++ b/core/examples/hello_world.rs
@@ -15,6 +15,9 @@ fn op_sum(#[serde] nums: Vec<f64>) -> Result<f64, deno_core::error::AnyError> {
 }

 fn main() {
+  // FIXME
+  println!("deno_core/hello_world::main()");
+
   // Build a deno_core::Extension providing custom ops
   const DECL: OpDecl = op_sum();
   let ext = Extension {
@@ -23,12 +26,14 @@ fn main() {
     ..Default::default()
   };

+  println!("before JsRuntime::new()");
   // Initialize a runtime instance
   let mut runtime = JsRuntime::new(RuntimeOptions {
     extensions: vec![ext],
     ..Default::default()
   });

+  println!("before runtime.execute_script()");
   // Now we see how to invoke the op we just defined. The runtime automatically
   // contains a Deno.core object with several functions for interacting with it.
   // You can find its definition in core.js.
@@ -57,4 +62,6 @@ try {
 "#,
     )
     .unwrap();
+
+  println!("end of main");
 }

it seems crash happen in JsRuntime::new()

I use the same method to compile rusty_v8-v0.91.1/examples/hello_world.rs and it works fine:
violet:/data/local/tmp $ ls -l hello_world
-rwxrwxrwx 1 shell shell 23712208 2024-05-12 03:42 hello_world
violet:/data/local/tmp $ ./hello_world
Hello World!
3 + 4 = 7
violet:/data/local/tmp $

so maybe the BUG is in deno_core.

********** Crash dump: **********
Build fingerprint: 'Xiaomi/cepheus/cepheus:13/TQ3A.230901.001/1700048355:user/release-keys'
#00 0x000000000169b5fa /data/local/tmp/deno_core_tester/deno_core_tester (offset 0x277c000)
                                                                          v8::internal::CppHeap::ShouldFinalizeIncrementalMarking() const
                                                                          ./../../../../project/v8/src/heap/cppgc-js/cpp-heap.cc:823:46
#01 0x000000000157ae44 /data/local/tmp/deno_core_tester/deno_core_tester
v8::String::NewExternalOneByte(v8::Isolate*, v8::String::ExternalOneByteStringResource*)
./../../../../project/v8/src/api/api.cc:7569:17
#02 0x00000000013e79bc /data/local/tmp/deno_core_tester/deno_core_tester                                                                                v8::string::_$LT$impl$u20$v8..data..String$GT$::new_from_onebyte_const::_$u7b$$u7b$closure$u7d$$u7d$::he49368b64e9358c2
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.91.1/src/string.rs:524:9
#03 0x00000000012648cc /data/local/tmp/deno_core_tester/deno_core_tester
v8::scope::HandleScope$LT$$LP$$RP$$GT$::cast_local::h4571edd0760c36c0
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.91.1/src/scope.rs:239:21
v8::string::_$LT$impl$u20$v8..data..String$GT$::new_from_onebyte_const::h4a09757415235853
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.91.1/src/string.rs:523:7
deno_core::fast_string::FastString::v8_string::hac520e289ba5272f                                                                                /home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.280.0/fast_string.rs:250:9
#04 0x00000000012633e0 /data/local/tmp/deno_core_tester/deno_core_tester                                                                                deno_core::fast_string::FastStaticString::v8_string::h469444a3780ceba1
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.280.0/fast_string.rs:51:5
#05 0x00000000011abfb0 /data/local/tmp/deno_core_tester/deno_core_tester
deno_core::runtime::bindings::initialize_deno_core_namespace::ha7501f9b50daec73
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.280.0/runtime/bindings.rs:219:18
#06 0x00000000011c62a8 /data/local/tmp/deno_core_tester/deno_core_tester
deno_core::runtime::jsruntime::JsRuntime::new_inner::h8f22405992dbfb6e
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.280.0/runtime/jsruntime.rs:860:7
#07 0x00000000011c3f34 /data/local/tmp/deno_core_tester/deno_core_tester                                                                                deno_core::runtime::jsruntime::JsRuntime::new::h6d1905f499569ef7
/home/autsing/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.280.0/runtime/jsruntime.rs:619:11
#08 0x00000000010ef9a8 /data/local/tmp/deno_core_tester/deno_core_tester
deno_core_tester::main::h576d7b573f2b4241                                                                                /home/autsing/Gits/test_build_deno_core/src/main.rs:27:23
#09 0x00000000010edffc /data/local/tmp/deno_core_tester/deno_core_tester
core::ops::function::FnOnce::call_once::h51167d1a3094403f                                                                                /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
#10 0x00000000010ed0a8 /data/local/tmp/deno_core_tester/deno_core_tester                                                                                std::sys_common::backtrace::__rust_begin_short_backtrace::hf250caf38c5a453f                                                                                /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
#11 0x00000000010f3c30 /data/local/tmp/deno_core_tester/deno_core_tester
std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h043b3f29a11671bf
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:166:18
#12 0x0000000002751f08 /data/local/tmp/deno_core_tester/deno_core_tester
core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h9983aae1f0c22e8a
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:284:13
std::panicking::try::do_call::h066238e64a26bede
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
std::panicking::try::h33c132dbcd21b2c1
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
std::panic::catch_unwind::h105dc9d93356acbb
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::h541039ddd50eb0d5
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:148:48
std::panicking::try::do_call::h6d067e65329ff03d
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
std::panicking::try::h68073e7dd5111ae0
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
std::panic::catch_unwind::h6d258ee41ea7e92f
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
std::rt::lang_start_internal::h71c6fdbbf3980bb9
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:148:20
#13 0x00000000010f3c00 /data/local/tmp/deno_core_tester/deno_core_tester
std::rt::lang_start::h00b44abb2a65b1de
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:165:17
#14 0x00000000010f3ba8 /data/local/tmp/deno_core_tester/deno_core_tester
main
??:0:0
#15 0x000000000004a320 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: feb08ab3b0daed1a79b081a68ee9fbfd)
Crash dump is completed

I tried also and this may be the crash dump.

Crash log from adb logcat:
--------- beginning of crash
05-12 19:31:24.948  1144  1144 F libc    : Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x568c57c3de in tid 1144 (hello_world), pid 1144 (hello_world)
05-12 19:31:24.948 16567 16608 W GoogleApiManager: The service for lp1 is not available: ConnectionResult{statusCode=SERVICE_UPDATING, resolution=null, message=null}
05-12 19:31:24.952 20784 20784 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
05-12 19:31:24.986  1191  1191 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-12 19:31:24.987  1113  1113 I /system/bin/tombstoned: received crash request for pid 1144
05-12 19:31:24.988  1191  1191 I crash_dump64: performing dump of process 1144 (target tid = 1144)
05-12 19:31:24.990  1191  1191 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-12 19:31:24.990  1191  1191 F DEBUG   : Build fingerprint: 'xiaomi/violet/violet:10/QKQ1.190915.002/V12.5.4.0.QFHCNXM:user/release-keys'
05-12 19:31:24.990  1191  1191 F DEBUG   : Revision: '0'
05-12 19:31:24.990  1191  1191 F DEBUG   : ABI: 'arm64'
05-12 19:31:24.991  1191  1191 F DEBUG   : Timestamp: 2024-05-12 19:31:24+0800
05-12 19:31:24.991  1191  1191 F DEBUG   : pid: 1144, tid: 1144, name: hello_world  >>> ./hello_world <<<
05-12 19:31:24.991  1191  1191 F DEBUG   : uid: 2000
05-12 19:31:24.991  1191  1191 F DEBUG   : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x568c57c3de
05-12 19:31:24.991  1191  1191 F DEBUG   :     x0  000000568c585fe0  x1  000000568c585fe0  x2  0000000000000000  x3  000000568b380aa0
05-12 19:31:24.991  1191  1191 F DEBUG   :     x4  000000568a3a1d9a  x5  0000007c6b80a000  x6  0000000000000029  x7  000000000000000a
05-12 19:31:24.991  1191  1191 F DEBUG   :     x8  000000568c57c3de  x9  0000000000000056  x10 000000000000000a  x11 0000000000000000
05-12 19:31:24.991  1191  1191 F DEBUG   :     x12 0000000000000001  x13 000000568a3a1d66  x14 000000000000000a  x15 0000000000000002
05-12 19:31:24.991  1191  1191 F DEBUG   :     x16 000000568c5bf220  x17 0000007c6be98380  x18 0000007c6c6f4000  x19 0000007c6b918000
05-12 19:31:24.991  1191  1191 F DEBUG   :     x20 000000568c585fe0  x21 0000000000000002  x22 000000568ae108d8  x23 0000007c6b85a010
05-12 19:31:24.991  1191  1191 F DEBUG   :     x24 0000007c6b815620  x25 0000007c6b934b40  x26 0000007ff055e350  x27 0000000000000001
05-12 19:31:24.991  1191  1191 F DEBUG   :     x28 0000000000000000  x29 0000007ff055d4d0
05-12 19:31:24.991  1191  1191 F DEBUG   :     sp  0000007ff055d4d0  lr  000000568b3dc3e0  pc  000000568c57c3de
05-12 19:31:24.999  1191  1191 F DEBUG   :
05-12 19:31:24.999  1191  1191 F DEBUG   : backtrace:
05-12 19:31:24.999  1191  1191 F DEBUG   :     NOTE: Function names and BuildId information is missing for some frames due
05-12 19:31:24.999  1191  1191 F DEBUG   :     NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
05-12 19:31:24.999  1191  1191 F DEBUG   :     NOTE: found under the lib/ directory are readable.
05-12 19:31:24.999  1191  1191 F DEBUG   :       #00 pc 00000000012803de  /data/local/tmp/hello_world (offset 0x100b000)
05-12 19:31:25.014  1191  1191 E crash_dump64: cannot open libmiuindbg.so: No such file or directory
--------- beginning of system


text:
perf: improve wasm_module_deps_to_dts

100,000 iterations of the test_output test.
Before: 218ms
After: 179ms

Done: https://github.com/denoland/deno_core/pull/992


text:
Add document test with createHandler and example

Fixes #1222
Add example implementation and documentation of test code using createHandler() newly added by #622

Hi, @Octo8080X. Apologies, I wasn't clear enough that we'd like this in the new examples section of the documentation. It'll only require snippets, which will mean less maintenance in the future. Can you rework this as a /docs/examples/testing.md (or similar) file?
Also, could you please use Deno's Standard Library for assertion functions? You can check it out here.

Hi, @iuioiua san.

Can you rework this as a /docs/examples/testing.md (or similar) file?

OK. /docs/getting-started/create-test.md, I'll let /docs\examples\testing.md remake it.

Also, could you please use Deno's Standard Library for assertion functions?

I am sorry, but I used assertEquals that existed in https://deno.land/std@0.190.0/testing/asserts.ts. Was it insufficient?
If you don't want me to assume an import map, or if you mean that you don't want me to use superdeno and deno_dom, please let me know.

OK. /docs/getting-started/create-test.md, I'll let /docs\examples\testing.md remake it.

👍🏾

If you don't want me to assume an import map, or if you mean that you don't want me to use superdeno and deno_dom, please let me know.

Yeah, I think just using assertions from std is good enough. I don't think superdeno and deno_dom are needed.

@iuioiua san
Thanks for letting me know.
Removed dependencies on superdeno and deno_dom and moved documents.
Please check.

Ah, I should have followed my own advice and merged this after the next release was cut. Hopefully, this doesn't cause too much headache, as the new release is being published soon. Apologies. My bad.

repo: denoland/fresh


text:
Feature request: Wiki/Docs/Tutorial

Is your feature request related to a problem? Please describe.
Despite the code base is really simple and easy to understand. This project is really needs a getting started or tutorials. It's hard to add new features or make configurations.
Describe the solution you'd like
Small wiki that contains theming, subscriptions and adding different OAUTH providers.

I don't see why we should have an additional set of documentation that covers the same topics as the original documentation. We should improve on the existing documentation.

I don't see why we should have an additional set of documentation that covers the same topics as the original documentation. We should instead improve on the existing documentation.

I was actually thinking of adding a page to Saaskit's original web page called docs, which would contain the boilerplate's features and information in short titles and descriptions.
You are right. We can improve the existing one. Feedback welcome.

Can you come up with a list of where you think documentation may be lacking? That'd give us something to action 🙂

authors: fdemir iuioiua

repo: denoland/saaskit


text:
Allow to invoke custom functions

Targets 3.0

Implements #249 by checking if section is an invokable function,
if so invokes it. Also make the sourcing section only work if the section
file exists.

How about 2nd-dimensional array for defining plugins:
SPACESHIP_PROMPT_PLUGINS=(
  oh_my_git "path/to/oh_my_git/plugin.zsh"
  smth_else "path/to/smth_else/plugin.zsh"
)

Thoughts?

Is the 2nd-dimensional array to specify a path to the implementation? This is not so useful for me, I would prefer to implement a function in my zshrc. Users who prefer implementing in a separate file can always manually source the file themselves, right?

Not so useful for me too. I agreed with @nfischer's comment, and I'd like to add that some functions can be sourced by other tools that are out of direct control.

authors: bric3 denysdovhan nfischer

repo: denysdovhan/spaceship-zsh-theme

license: mit


text:
Feature request: docker-compose support

Are there any plans to support docker-compose and version numbers inside the docker-compose.yml file?
Up till now we created a Dockerfile for each image we used, just for dependabot.
This is the format:
version: '3.5'

services:
  php-cli:
    build:
      context: '../../docker/php'
      dockerfile: './cli/Dockerfile'
    volumes:
      - ./:/app:cached

  deptrac:
    image: jakzal/phpqa:alpine
    volumes:
      - ./:/app:cached
    working_dir: /app
    command: ["deptrac", "analyze", "--formatter-graphviz=0"]

So for cli how we currently do it with Dockerfiles and deptrac with the version direct in the docker-compose.yml

Duplicate of #390

repo: dependabot/dependabot-core


text:
Set bitbucket labeler to nil

As bitbucket does not support the labeler, @iinuwa tried to fix it in https://github.com/dependabot/dependabot-core/commit/52db87ebd750452d500e713bc85b745bc84f4352 by setting the default labeler in the constructor to nil. However from my testing this does not fix it, as we're still injecting the default labeler here.

Hitting this as well attempting to use the generic-update-script

Closing as this was handled in https://github.com/dependabot/dependabot-core/pull/4608 (many thanks @stefangr!)

authors: bmc08gt jeffwidman kobellem


text:
jsrepository.json empty, fails build

Hi,
I am currently having issues with a specific build. The exception trace shows that some files can't be downloaded:
Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta         at org.owasp.dependencycheck.data.update.NvdCveUpdater.doMetaDownload(NvdCveUpdater.java:411)         at org.owasp.dependencycheck.data.update.NvdCveUpdater.getMetaFile(NvdCveUpdater.java:356)         ... Caused by: org.owasp.dependencycheck.utils.DownloadFailedException: Download failed, unable to retrieve 'https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta'; Error downloading file https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta; unable to connect.         at org.owasp.dependencycheck.utils.Downloader.fetchContent(Downloader.java:187)         at org.owasp.dependencycheck.data.update.NvdCveUpdater.doMetaDownload(NvdCveUpdater.java:382)         ... 139 more Caused by: org.owasp.dependencycheck.utils.DownloadFailedException: Error downloading file https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta; unable to connect.         at org.owasp.dependencycheck.utils.HttpResourceConnection.obtainConnection(HttpResourceConnection.java:267)         at org.owasp.dependencycheck.utils.HttpResourceConnection.fetch(HttpResourceConnection.java:163)         at org.owasp.dependencycheck.utils.Downloader.fetchContent(Downloader.java:182)         ... 140 more Caused by: java.net.ConnectException: Connection refused (Connection refused)         at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)         at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)         at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)         at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)         at java.base/java.net.Socket.connect(Socket.java:609)         at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)         at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:508)         at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:603)         at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)         at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:373)         at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207)         at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)         at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)         at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193)         at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)         at org.owasp.dependencycheck.utils.HttpResourceConnection.obtainConnection(HttpResourceConnection.java:206)         ... 142 more
We are caching the database between builds, so I'm pretty sure we're not hitting some kind of rate limit and I've also taken care that there are not 2 builds interfering with each other.
When I check the nvd-cache directory I can see that
-rw-r--r--  1 *** ***     0 Aug  5 08:17 jsrepository.json
is empty.
I've tried removing the whole directory so it would be re-downloaded. same result.
Without any proof, to me it looks like the proxy settings are not honored, because:

when I run the build locally, everything is fine
on the CI/CD host I can curl that file, specifying a proxy, but when I try without the proxy it will fail with 'Connection refused' as in the exception

But, I have already specified the proxy settings, both in the gradle.properties, as well as passing it to gradle via -Dhttp.proxyHost and https.proxyHost respectively.
I am using:
Gradle 6.8
"org.owasp.dependencycheck" version "7.1.1" plugin
in docker on a CentOS 7 image
Any ideas how to make this work? Let me know if you need further information.
Cheers,
cc

Should be resolved with https://github.com/dependency-check/dependency-check-gradle/pull/286 - which will be released soon.

authors: clarinetcat jeremylong


text:
How multi server deployment works

Q
A

Issue Type
Question

Deployer Version
4.2.1

Local Machine OS
N/A

Remote Machine OS
N/A

I just wondering it does start with server1 and then executes all tasks and after that will start with second server? or it does task1 on server 1 and server2 then task2 on server1 and server2..
I understand that updates will come almost with no downtime but in my case I am doing long upgrades and want to put whole server under maintenance(because I know other server will take care of requests) and after is up to date I would like to bring it up and do updates with second server

Some useful information are available at the end of the following webpage: https://deployer.org/docs/tasks

oh I see now :)
but it looks it does one task in all servers and only starts second when all servers finish with first one :(
maybe there is some way to do all tasks to first server and then start second and so on?

I haven't seen this feature, but you can create stages and run the deployer for them one after another.
Assign server to stage: https://deployer.org/docs/servers
Run Deployer for the assigned stage: php vendor/bin/dep deploy <your_stage>

ok this answers my question just don't like idea to run deploy command for each server of course i could create a bash script for this but would be more happy with built in feature :D

@svycka you can do this by bash script:
dep deploy servers_a &
dep deploy servers_b &
dep deploy servers_c &

This does not included in code, i try to keep code simple. I think adding this to docs.

@elfet yes I can, just would like to have more control how to run tasks

authors: elfet neikei svycka

repo: deployphp/deployer


text:
Update README.md

Added a new company that use Deployer in yours projects

Q
A

Bug fix?
Yes or No

New feature?
Yes or No

BC breaks?
Yes or No

Deprecations?
Yes or No

Fixed tickets
N/A or xx

Do not forget to add notes about your changes to CHANGELOG.md

Cool!

Thanks ;)

authors: alexdw elfet


text:
Release names are hard to read.

[EDIT] submitted to the wrong repo, sorry

I see no difference between 20160425120500 than 2016-04-25_12:05:00. plus
characters like ":" and "." may be problematic ;)
2016-04-29 9:56 GMT+02:00 ju1ius notifications@github.com:

Hi,
I find the current way of naming release hard to read, especially if you
have several of them during the same day/hour.
Couldn't it be a bit more human friendly in future versions ?
For example:
// recipe/common.php/** * Release */task('deploy:release', function () {    $releaseDir = env()->parse("{{deploy_path}}/releases");    $guard = 42;    do {        $time = microtime();        list($usec, $sec) = explode(' ', $time);        $date = \DateTime::createFromFormat('U.u', $sec . '.' . ($usec * 1e6));        $releaseName = $date->format('Y-m-d_H:i:s.u');        $releasePath = $releaseDir . '/' . $releaseName;    } while (is_dir($releasePath) && --$guard);    env('release_name', $releaseName);    run("mkdir $releasePath");    run("cd {{deploy_path}} && if [ -h release ]; then rm release; fi");    run("ln -s $releasePath {{deploy_path}}/release");})->desc('Prepare release');
This way you have releases that look like:

releases
|-- 2016-04-25_12:05:00.011813
|-- 2016-04-25_18:01:02.614783
|-- 2016-04-26_12:00:03.314854
|-- 2016-04-26_18:03:00.214896
|-- 2016-04-27_12:00:12.114936
|-- 2016-04-27_18:02:33.014975
|-- 2016-04-28_12:04:45.015015
|-- 2016-04-28_18:00:07.215054
|-- 2016-04-29_12:01:18.115094
-- 2016-04-29_18:00:00.415149

Which is quite more readable than

releases
|-- 20160425120500
|-- 20160425180102
|-- 20160426120003
|-- 20160426180300
|-- 20160427120012
|-- 20160427180233
|-- 20160428120445
|-- 20160428180007
|-- 20160429120118
-- 20160429180000

Don't you think ? [image: :wink:]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/deployphp/recipes/issues/50

--
Pozdrawiam,
Hubert Kowalski

@johnny-bit Well then you have nice superpowers! :wink:
Not having an exceptionaly accute sight, I find that this:
+ releases
|-- 20160425120500
|-- 20160425180102
|-- 20160426120003
|-- 20160426180300
|-- 20160427120012
|-- 20160427180233
|-- 20160428120445
|-- 20160428180007
|-- 20160429120118
\-- 20160429180000

Is a lot harder to scan than this:
+ releases
|-- 2016-04-25_12:05:00.011813
|-- 2016-04-25_18:01:02.614783
|-- 2016-04-26_12:00:03.314854
|-- 2016-04-26_18:03:00.214896
|-- 2016-04-27_12:00:12.114936
|-- 2016-04-27_18:02:33.014975
|-- 2016-04-28_12:04:45.015015
|-- 2016-04-28_18:00:07.215054
|-- 2016-04-29_12:01:18.115094
\-- 2016-04-29_18:00:00.415149

I can tell much quicker what's the month, day, hour of a release, without having to think about it.

characters like ":" and "." may be problematic
: might be on windows maybe, but then everything is gonna be problematic, since recipes expect a POSIX shell...
. is never to be problematic, and is very common for directories (e.g. /etc/php5/conf.d, /etc/apache2/conf.d, etc...)

repo: deployphp/recipes


text:
♻ [Improve/all-of-them-104] 앙투앙 1차 대격변

💡 개요

resolved #104

📑 작업 사항

모든 도메인의 비즈니스 로직을 수정합니다.

✒ 코드 리뷰 요청 사항

✔ 코드 리뷰 반영 사항

앙투앙 대격변은 3차까지 있슴둥

1차 대격변은 여기서 마무리!

repo: depromeet/antoon-api


text:
🛑 Derailed Home is down

In c075cd0, Derailed Home (https://derailed.one) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Derailed Home is back up in 430392a.

repo: derailed-org/derailed-oss-status


text:
Add dereczjj1224's file

What happened and what exactly do you need

Take a look

Take a look


text:
Hidding the Menu after clicking on one item

Hello, Can I trigger the mouseleave event after I click on one of the menu items. Currently, I am opening a dialog after clicking on the first item in the menu but the state of the FAB not changing from open true to open false. I tried to trigger the mouseleave (mouseout) events from the code but no success. My goal is just hide the menu after clicking on any of the items in the menu

Can you paste the exact code you’re using so I can find a solution?

Thank you for replaying
my FAB code:
`const FloatingActionButton = ({ actions }) => (
<Fab
mainButtonStyles={{ backgroundColor: '#00bcd4' }}
position={{
bottom: 0,
right: '0.5rem',
}}
icon={}
event="hover"

{actions.map(action => (
  <Action
    key={Math.random()}
    style={{ backgroundColor: '#00bcd4' }}
    text={action.text}
    onClick={action.handleOnClick}
  >

  </Action>
))}

);`
`
import React from 'react';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import ContainerHeader from '../ContainerHeader';
import Loader from '../Loader';
import Toast from '../Toast';
import AdminsList from './AdminsList';
import Fab from '../FloatingActionButton';
import AddDialog from './AddDialog';
import IntlMessages from '../../util/IntlMessages';
import { showAdminsLoader, setAdmins, resetAdminsFaliure } from '../../actions/Admins';
class Admins extends React.Component {
state = {
isAddDialogOpen: false,
};
componentDidMount() {
const { authToken, dispatchSetAdmins, dispatchShowAdminsLoader } = this.props;
dispatchShowAdminsLoader();
dispatchSetAdmins(authToken);
}
componentDidUpdate() {
const { faliure, dispatchResetAdminsFaliure } = this.props;
if (faliure) {
setTimeout(() => {
dispatchResetAdminsFaliure();
}, 2300);
}
}
handleOpenAddDialog = () => {
this.setState(() => ({ isAddDialogOpen: true }));
};
handleCloseAddDialog = () => {
this.setState(() => ({ isAddDialogOpen: false }));
};
render() {
const { isAddDialogOpen } = this.state;
const { adminsList, faliure, message, loader, match } = this.props;
return (
<React.Fragment>
{loader && }
{faliure && }

<ContainerHeader match={match} title={} />

<Fab
actions={[
{
text: 'New Admin',
handleOnClick: this.handleOpenAddDialog,
icon: 'zmdi zmdi-account-add',
},
]}
/>

</React.Fragment>
);
}
}
`

Thank you for replaying
my FAB code:
const FloatingActionButton = ({ actions }) => (
  <Fab
    mainButtonStyles={{ backgroundColor: '#00bcd4' }}
    position={{
      bottom: 0,
      right: '0.5rem',
    }}
    icon={}
    event="hover"
  >
    {actions.map(action => (
      <Action
        key={Math.random()}
        style={{ backgroundColor: '#00bcd4' }}
        text={action.text}
        onClick={action.handleOnClick}
      >

      </Action>
    ))}
  </Fab>
);

Here I am using it:
import React from 'react';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import ContainerHeader from '../ContainerHeader';
import Loader from '../Loader';
import Toast from '../Toast';
import AdminsList from './AdminsList';
import Fab from '../FloatingActionButton';
import AddDialog from './AddDialog';
import IntlMessages from '../../util/IntlMessages';
import { showAdminsLoader, setAdmins, resetAdminsFaliure } from '../../actions/Admins';

class Admins extends React.Component {
  state = {
    isAddDialogOpen: false,
  };

  componentDidMount() {
    const { authToken, dispatchSetAdmins, dispatchShowAdminsLoader } = this.props;
    dispatchShowAdminsLoader();
    dispatchSetAdmins(authToken);
  }

  componentDidUpdate() {
    const { faliure, dispatchResetAdminsFaliure } = this.props;
    if (faliure) {
      setTimeout(() => {
        dispatchResetAdminsFaliure();
      }, 2300);
    }
  }

  handleOpenAddDialog = () => {
    this.setState(() => ({ isAddDialogOpen: true }));
  };

  handleCloseAddDialog = () => {
    this.setState(() => ({ isAddDialogOpen: false }));
  };

  render() {
    const { isAddDialogOpen } = this.state;
    const { adminsList, faliure, message, loader, match } = this.props;
    return (
      <React.Fragment>
        {loader && <Loader />}
        {faliure && <Toast type="error" message={message} />}

            <ContainerHeader match={match} title={<IntlMessages id="sidebar.adminManagement" />} />

                  <AdminsList admins={adminsList} />

        <Fab
          actions={[
            {
              text: 'New Admin',
              handleOnClick: this.handleOpenAddDialog,
              icon: 'zmdi zmdi-account-add',
            },
          ]}
        />
        <AddDialog isOpen={isAddDialogOpen} handleRequestClose={this.handleCloseAddDialog} />
      </React.Fragment>
    );
  }
}
const mapStateToProps = ({ auth, admins }) => {
  const { authToken } = auth;
  const { admins: adminsList, faliure, message, loader } = admins;
  return { authToken, adminsList, faliure, message, loader };
};

export default withRouter(
  connect(
    mapStateToProps,
    {
      dispatchSetAdmins: setAdmins,
      dispatchResetAdminsFaliure: resetAdminsFaliure,
      dispatchShowAdminsLoader: showAdminsLoader,
    }
  )(Admins)
);

So I want after opening the AddDialog i want the fab menu to be closed.
Currently, AddDialog is open by the FAB

@shadialtarsha I put a fix in place that should address this. Make sure to update your package.json to use v2 of react-tiny-fab and let me know if that fixes the issue for you.

@dericgw Thank you so much. It works perfectly

@shadialtarsha So good to hear!

authors: dericgw shadialtarsha

repo: dericgw/react-tiny-fab


text:
🛑 derosagabriele.com is down

In 13982b8, derosagabriele.com (https://derosagabriele.com) was down:

HTTP code: 403
Response time: 124 ms

Resolved: derosagabriele.com is back up in bf8edce.

repo: derogab/status


text:
Hello !, I've been using your ASCII converter for a week now, and it's working great, but

there's a problem, the converter is unable to convert an AVI file. Log down here
Traceback (most recent call last):   File "c:\users\user\appdata\local\programs\python\python38\lib\runpy.py", line  194, in _run_module_as_main     return _run_code(code, main_globals, None,   File "c:\users\user\appdata\local\programs\python\python38\lib\runpy.py", line  87, in _run_code     exec(code, run_globals)   File "C:\Users\user\AppData\Local\Programs\Python\Python38\Scripts\asciit.exe\ __main__.py", line 7, in <module>   File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\a sciisciit\asciit.py", line 101, in main     task.render(args['outfile'],   File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\a sciisciit\asciiart.py", line 320, in _render_to_movie     p = Popen(['ffmpeg', '-y', '-f', 'image2pipe', '-vcodec',   File "c:\users\user\appdata\local\programs\python\python38\lib\subprocess.py",  line 854, in __init__     self._execute_child(args, executable, preexec_fn, close_fds,   File "c:\users\user\appdata\local\programs\python\python38\lib\subprocess.py",  line 1307, in _execute_child     hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] ??The system could not locate the specified file

Hah what a blast from the past! Yeah I think this step requires an external command line program called ffmpeg. You should be able to download it here:
https://www.ffmpeg.org/
When you've got it installed and it is in your path, try your conversion again!

repo: derricw/asciisciit


text:
Using module in an environment with non-RPM based distributions puppet fails

Using this module in an environment that also includes non-RPM based distributions causes puppet to fail compiling catalog.

Pull request submitted to prevent use of nil version variable https://github.com/desalvo/puppet-frontier/pull/8

repo: desalvo/puppet-frontier


text:
Expo SDK 47: Problems caused by react-native-SVG version conflict 13.4 vs 13.6..

Error when instanciating maspdraw:
Invariant Violation: Tried to register two views with the same name RNSVGCircle, js engine: hermes
Cause seems: Expo 47 requires    "react-native-svg": "13.4.0",
and
maps-draw requires     "react-native-svg": "13.6.0"
upgrading expo breaks svg on some other libs. Can you provide a diffrent build that allows 13.4? Or shall we fork?
Thank you!

hi, yes!

Message ID: @.***>

authors: TimoGoetze dev-event

repo: dev-event/react-native-maps-draw


text:
add control for CRYPTO_POLICY on RedHat

RedHat introduces a CRYPTO_POLICY in RHEL8. This needs to be configured
separately, or it will override sshd_config settings for Cipher, MAC and
Kex.
see: https://access.redhat.com/solutions/4410591

Can you lint the 2 errors ? "redhat" in single quotes and add a new line after your block.

sorry, didn't notice the travis build.
There is now one warning left, should I move the if condition to the outside of the control or further in, to get rid of this warning?

I think you should use the only_if syntax provided by Inspec

nice, thank you. I didn't know that feature

Well done. Good to merge.

authors: micheelengronne schurzi

repo: dev-sec/ssh-baseline


text:
Correct app download check feature

Can check that the app is installed through the correct content service (such as Google Play or Apple Store).
This feature is provided by flutter_security_checker ( https://pub.dev/packages/flutter_security_checker ).

No, currently this package does not have this feature, but in the future will try to add this one also.

Can check that the app is installed through the correct content service (such as Google Play or Apple Store). This feature is provided by flutter_security_checker ( https://pub.dev/packages/flutter_security_checker ).

Hoping to get that feature included

authors: amitkumartiwaridis sthakrishnakumar

repo: devamitkumartiwari/devicesafetyinfo


text:
URL From The Same Wordpress Domain Is Incorrect

Linking to external websites (not the same blog e.g.) works with no problems. However, when internally linking, additional characters are added to the URL (domain.com/wp-admin/www.URL_I_wanted).
Is there a way to internally link without adding the extra characters?

Did you mean the syntax like [[link]] or [link](link.md) ?

authors: devbean wanderloots

repo: devbean/obsidian-wordpress


text:
Ternimal Error

Showing This Errors Please Give Solution

I didn't find any clickers for macos. This only works on Windows

to fix your trouble check this click
maybe this will solve your problem.

to fix your trouble check this click maybe this will solve your problem.

Dnt try this at home: he tries to run this powershell silently on your machine. SCRIPT: https://javierlopez.eu/adapt/kingdom

It works now, try it in v2

На MacOS запустилось с этой версией mouse (pip install mouse==0.5.0). Но не находит окна: "Blum window not found! Please open it, and restart the program."

repo: devbutlazy/Blum-AutoClicker


text:
Prepare workflows/sys directory without git

We know the workflows directory path and need two functions.
One is to check if workflows/sys directory exists. If not, try to clone it from provided Git URLs. But if no git command is available, copy the workflows directory in the package resources to the target workflow/sys path instead.
Another is to update the workflows/sys directory. Call the above function first. Then, if it is a git repo and the git command is available, do a git pull; if it is not a git repo or no git command is available, back up the current directory and copy the latest from the package resources.

Closed by https://github.com/devchat-ai/devchat/pull/143

repo: devchat-ai/devchat


text:
Update collection-index.yml with m4tchl0ck Features

What type of PR is this?

[x] Add a new dev container collection
[ ] Update to an existing dev container collection
[ ] Documentation/spec update
[ ] Other containers.dev site update (UX, layout, etc)

Related Issues

Related Issue #
Closes #

Description
Please replace this line with a description of your PR.
Collection checklist
If your PR contributes a new collection, please utilize this checklist:

[x] Collection name
[x] Maintainer name
[x] Maintainer contact link (i.e. link to a GitHub repo, email)
[x] Repository URL
[x] OCI Reference
[x] I acknowledge that this collection provides new functionality, distinct from the existing collections part of this index.

I will change the branch name and will came back :)

I will change the repository name and will came back :)

FYI - If it's your preference thing, then changing repo name is fine. However, we don't require you to have a specific name, it can be anything you'd like.

I fixed the branch name :)


text:
Add a specific CODE_OF_CONDUCT.md file

Having a specific CODE_OF_CONDUCT.md file will allow GitHub to mention it at various places, ensuring people have more chances to be familiar with it.
Example of how GitHub takes benefit of the file:

Since, according to CONTRIBUTING.md, we are following Facebook's Code of Conduct, the same line repeated in the CODE_OF_CONDUCT.md file should be enough.
## Code of Conduct

Please refer to the **[Code of Conduct](https://engineering.fb.com/codeofconduct/)** adopted by Facebook to understand what kind of behaviour will and not be tolerated when contributing to this project

This can either be a Community default file as indicated by steps here, OR a repo specific file by adding it to docs/CODE_OF_CONDUCT.md alongside the CONTRIBUTING.md file.

@Amorpheuz thanks for pointing out! This issue has been resolved by @bhadreshpsavani


text:
Change UI of home page

Subject of the issue
Describe your issue here.
The UI of home page requires changes with alignment, styling, font style.
The buttons are also not functiona;
Your environment

version of angular-translate
version of angular
which browser and its version

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo, you can use this template as a base.
Expected behaviour
Tell us what should happen
Several buttons on click on the home page produce nothing
Actual behaviour
Tell us what happens instead
On clicking the buttons, the background color or font style should change

Hi @MridulGupta007 . Could you specifically mention which button you want to work on? Since some are already working on a few of them.

Font size, Font style and change background color buttons are not functioning.
Moreover i could change the UI and like re-align the content and change the color scheme a little bit.

The UI can be kept unaltered now. But if you want to work on the buttons which are not working, I suggest open issues for each one (it will make sure you get more points and also will help to avoid overlapping of issues)

repo: developer-diganta/Dino


text:
[Req]: Regex Tester

Contact Details
No response
Explain the proposed feature
Regular expression testing tool
Explain the possible use cases for the feature
An interactive regular expression writing tool
Any other details you would like to provide?
At minimum this tool should:

Have a field for the regular expression
Have a field for a test case (text to run the expression on)
Have a field for output (show matches and capture groups)
Catch and display errors from the inputs

Possible extra features that are not required:

Multiple test cases for testing variations of text
Highlight matches and capture groups in the test case field(s)

Have you looked at
https://kangax.github.io/html-minifier/
https://www.npmjs.com/package/html-minifier

Have you looked at
https://kangax.github.io/html-minifier/
https://www.npmjs.com/package/html-minifier

@ageddesi I think this was meant for the HTML Minify issue?
In any case, I haven't looked into that at all yet, but I'll check it out, thanks!

Ahh yes sorry I had a few tickets open. ;)
On Thu, 6 Oct 2022, 21:59 DL Ford, @.***> wrote:

Have you looked at
https://kangax.github.io/html-minifier/
https://www.npmjs.com/package/html-minifier
@ageddesi https://github.com/ageddesi I think this was meant for the
HTML Minify issue?
In any case, I haven't looked into that at all yet, but I'll check it out,
thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/developertools-tech/developertools.tech/issues/9#issuecomment-1270691831,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ5YPDNMI7LUG76A3ZWDX3WB44T5ANCNFSM6AAAAAAQMXCIMU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ahh yes sorry I had a few tickets open. ;)
…
On Thu, 6 Oct 2022, 21:59 DL Ford, @.> wrote: Have you looked at https://kangax.github.io/html-minifier/ https://www.npmjs.com/package/html-minifier @ageddesi https://github.com/ageddesi I think this was meant for the HTML Minify issue? In any case, I haven't looked into that at all yet, but I'll check it out, thanks! — Reply to this email directly, view it on GitHub <#9 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ5YPDNMI7LUG76A3ZWDX3WB44T5ANCNFSM6AAAAAAQMXCIMU . You are receiving this because you were mentioned.Message ID: @.>

No worries!

@dlford Mind if I take this one?

@gaston-flores all yours, thanks!

authors: ageddesi dlford gaston-flores


text:
Do not inner diff dangerouslySetInnerHTML.

The children of a node with dangerouslySetInnerHTML should not be diffed because this will always cause all children to be removed.
I'm not sure if this is a good solution or not. Let me know what you think! 😺

Coverage increased (+0.004%) to 97.518% when pulling da7ef05cbf83c86d31bbce935be5bfdc38d3afe5 on braddunbar:hydrate-inner-html into 75acb15ff7f9439ed89b8e1fd82d39961fdfa84d on developit:master.

Were you seeing a bug with this one?  Currently they'll all get skipped because they weren't created by preact's recycler (specifically, because they would fail this check).
Let me know!

Coverage remained the same at 97.513% when pulling 76f5b385e3602fa487806834df92fbd3dc2df0d6 on braddunbar:hydrate-inner-html into 75acb15ff7f9439ed89b8e1fd82d39961fdfa84d on developit:master.

is this only happening during hydration?

Yes! I should've mentioned that in the description.

Were you seeing a bug with this one?

Yep. I put some rendered markdown into dangerouslySetInnerHTML and it's removed upon hydration.

Alright, I'll.prioritize this. I actually have to reverse the order of attribute/children diffing for another bug (initial select value) and it'll likely affect how this works. I'll try to merge first though :)

Wondering if this is the same bug as #454?

@braddunbar @gdub22 I merged this and it looks like your test is passing against master since this change. Rather than skipping the children diff, the order of attribute and children diffing was reversed (which brings us back to the order used in Preact 6 and prior).  Very happy to have your test though, and thanks for pointing in the right direction!

authors: braddunbar coveralls developit

repo: developit/preact


text:
Add environment.yml files per directory

Change list

Create an environment.yml file per directory containing the conda packages required for that notebook to run. To me this seems more maintainable than trying to include every dependency in one or two environment files, and seems more straightforward for users: "use the linked environment for each notebook"

I went through and ran each notebook in each directory, verifying that they ran for me with these sets of dependencies.
Closes https://github.com/developmentseed/cloud-optimized-geospatial-formats-guide/issues/20

Thanks @kylebarron I don't think I'm going to go through and test myself today but so far this looks good. It looks like this branch is behind main though, I was looking to add instructions about having conda or mamba installed in https://github.com/developmentseed/cloud-optimized-geospatial-formats-guide/blob/main/index.qmd#L14-L18 or contributing.md

I added a sentence in the contributing docs that we expect an environment.yml file with each notebook, and a paragraph in index.qmd linking to Conda and Mamba for installing the environment.

authors: abarciauskas-bgse kylebarron


text:
Should Kubernetes references in plugin/parent resolve across the entire cluster?

Description
Currently, when using a name/namespace pair to reference a DWT in a plugin or parent, the DevWorkspace controller will resolve that reference regardless of the namespace. This means that one could read DevWorkspaceTemplates in another namespace, even if they do not have permissions to read that namespace, provided they know the name/namespace pair.
Should we restrict plugin/parent references to a single namespace? If we do decide to restrict in this way, what's the point of having a namespace field at all?
The current approach allows for easier management of parents/plugins (you can just keep them all in one namespace). Removing this capability would mean that every namespace would need any parents/plugin DWTs the DevWorkspace intends to use. On the other hand, allowing DWTs to come from any namespace is a (minor) privilege escalation.

Note: restricting namespace for plugins would mean the proposed solution for having WTO depend on DWO would no longer work (since WTO would be deploying DWTs to a specific namespace for use by all Web Terminals)

Note: restricting namespace for plugins would mean the proposed solution for having WTO depend on DWO would no longer work (since WTO would be deploying DWTs to a specific namespace for use by all Web Terminals)

It can be configured. With OpenShift CSVs will get allowed the current namespace + openshift-operators.

As we agreed on DevWorkspace Cabal, it's not good to make DWT read-only available for all by default, and actually does not have permissions to create private one.
At first step we could allow openshift-operators by default to expose WTO's DWT.
Later we can introduce:

CRD that could define DWT in namespace as exposed.
Simpler - annotations on DWT with rules in which namespaces it should be available. By default - only the current one,

authors: amisevsk sleshchenko

repo: devfile/devworkspace-operator


text:
options page- grid view fix #9

What does this PR do?
-Grid view suggestion for the options page.
-one more fix.. [save.js : clientHeight >> ScrollHeight ] - to fix %age values in Scroll in options.
-options page : Scrrolls -> Scrolls

Screenshots and/or Live Demo

Looks awesome! There are a few changes that would need to make like the Scrroll wasn't a typo and using grid instead of flex, but other than that, its nice.

@all-contributors please add RohitKaushal7 for code and design

repo: devfolioco/scrroll-in


text:
Impossible hooking

Hooking init in after_setup_theme is not possible
https://github.com/devgeniem/wp-no-admin-ajax/blob/ebee2d29870e03dc7db0b584acbaa891c08c48b0/plugin.php#L41
as init is an earlier hook.

No!
https://codex.wordpress.org/Plugin_API/Action_Reference
Sorry for the noise.

repo: devgeniem/wp-no-admin-ajax


text:
[Enhancement] Minimize to tray

Hello,
First, I wanted to thank you for implementing scheduled downloads. This is great!
I just had a small feature suggestion:
Now that it has scheduled downloads, it would be nice to minimize it to the system tray since it may be open for many hours, waiting for the stream to start. It would free up space on the start menu.
Additionally, a small notification to alert you that the download started would be nice.
Thanks!

Closed with commit 1b2f4e038d0c3940c1ca79e48fd835521f572195

authors: TBloop devhotteok

repo: devhotteok/TwitchLink


text:
[Announcement] atto is moving to a new home soon!

Over the coming days, we plan to move atto to a new home, where we will continue to develop atto and build new projects that are part of the atto ecosystem. We're calling our new home DeviceFuture, since we believe that atto plays a part in the future of creating open, accessible software and hardware that anyone can get their hands on and start using to learn about the world of digital technology!
atto will still be maintained by the same people, and we've got some awesome features planned for the future of atto. In order to do this, we're creating the DeviceFuture organisation to develop a unified brand consisting of atto and its related projects.
We will soon be moving atto over to the @devicefuture GitHub organisation where we will then resume fixing bugs, adding features and making atto cooler with every release. This will mean that atto will experience downtime for a short period while we perform this migration. We expect the downtime to last up to a few hours, but if all goes well, you shouldn't notice a thing.
We will move atto to a new domain (atto.devicefuture.org) and to a new GitHub path (devicefuture/atto). GitHub will automatically redirect the old path (James-Livesey/atto) to the new one for those who have made bookmarks of the repo. We will also redirect the jamesl.me/atto path to our new domain, along with all of atto's subpages and custom links. That way, you (hopefully) won't have to manually update all your bookmarks and links to atto!
We're looking forward to the (device)future of atto, and can't wait to work on new projects that we're sure you'll love! Feel free to leave any questions about this migration on this issue, and I'll do my best to answer them ASAP. 😀
-James

Migration is planned to happen tomorrow at around 11:00 BST (10:00 UTC). Fingers crossed it goes well and stay tuned for any disruptions! 🤞

Move complete without any major problems! Everyone's last session programs (when you use the load command) should transfer fine if you visit jamesl.me/atto to get your old program.

repo: devicefuture/atto


text:
Library does not work on MAUI

Describe the Bug
Because of the peculiarity of MAUI data-binding, normal dependency inject syntax will not work, and we have to use a ServiceProvider "shim" which may be part of the problem.
Steps to Reproduce
I've provided a video
(https://youtu.be/CKxHnH2Szc4)

You haven't called the generated builder.Services.AddServices(); to register the discovered services, which is documented in the readme.

Confirmed! I missed that. Thanks! Very helpful lib.

Shipping an update now that will generate a build warning when this exact same scenario happens :). Should make it easier to fall in the pit of success

authors: dlandi kzu


text:
Define some Variables

E.g Main Brand Color

Brand Name (maybe this could be the rails app name)
Brand Logo

This way the style guide can be more related to the user's brand

If you place a copy of the engine provided layout file into app/views/layouts/mountain_view.html.erb then Rails should pick that up before the engine layout and use that. You can then modify that as you wish.

@OddEssay, sorry for not replying earlier. I've been away on holidays 100% disconnected the last month :)
That themed Styleguide looks awesome. Is the Styleguide public so I can check it out? If not, do you have a couple of screenshots?
Thanks!!!
Nacho

@devnacho Nice excuse! ;)
We don't have a public version as such, but right now it can be accessed on a test url of https://morning-shore-9193.herokuapp.com/mountain_view/styleguide/ - Which will be there until it's not (Might be a week, might be a month).
At some point, we'll be writing up a blog post (And maybe a talk/presentation for some of the user groups we're involved with) on how we've used components (powered by mountain_view)  and dig into some of the design principles we've used and the logic behind the direction we've taken some of the components.
If there is any bit's you like me to talk over how we did them, I'm more than happy to chat about them,  and if there is a pattern you think might be useful to maybe make a version as an example, I'd be happy to submit a PR with that in it.

Hey @OddEssay thanks for sending the link. The style guide looks awesome. It makes me happy to see how other people are using the tool.
Feel free to put the link to your blog post here when you have it. I'm eager to read about the design principles you used with components and Mt.View.
I don't think I have any particular subject in mind. (Maybe @kitop...anything you want to add?)
Cheers!
Nacho

Would be nice with a rails command to copy over the engine stuff, like rails mountain_view:copy_assets :)

@Frexuz great idea! Do you want to send a PR?

I can try, but not today :) Will start using MV later this week, can try then :)

Awesome, thanks!!!

authors: Frexuz OddEssay devnacho kitop


text:
Removed @APIResponse annotations in ProductRestService.java

The annotations in the REST service (@APIResponse) are removed as it adds redundancy and is an anti-pattern

In the file DemoApplication.java there are still some annotations

authors: GuentherJulian mustafaokyay


text:
#587:  check for git installation

Closes #587 .
Added the isGitInstalled Method to GitContextImpl, that calls the findBash method of AbstractIdeContext and throws an IllegalstateException if there is no bash path found.
Used the newly added method at the start of every method that performs an action for which git is required.

Pull Request Test Coverage Report for Build 11853253486
Details

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.001%) to 67.283%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/context/GitContextImpl.java
4
52.97%

Totals

Change from base Build 11853076778:
0.001%

Covered Lines:
6410

Relevant Lines:
9185

💛  - Coveralls

For the record: Throws InvalidArgumentException instead of CliException and therefore printing a stacktrace with link to create github issue what is undesired. We need to create a new story and PR changing the exception type. Everything else works fine.

authors: WorkingAmeise coveralls hohwille

repo: devonfw/IDEasy


text:
Release cobigen-textmerger-v2.1.0

This issue has been automatically created. It serves as a container for all release related commits

Automatically processed.
The decisions taken by the developer and the context of the decisions throughout the script:

User confirmed that tests are running on CI and the build is not failing.
User confirmed that tests are running on CI and the build is not failing after pushing release changes to development branch.
User has accepted to continue when found that some files were outside of build folder name
User has accepted to continue on found pom.xml changes

repo: devonfw/cobigen


text:
Adding argocd bin

Cc @devops-works/admins

Thanks !

authors: DnR-iData leucos

repo: devops-works/binenv


text:
The Big Bang Theory - Yarn Edition

This PR is a subset of #260 containing the fixes, cleanups, and improvements, without Mojmaps (As those are still being discussed, with the very real possibility of being rejected).

Full Changelog (As of writing):

Re-enabled ModMenu, RoughlyEnoughItems, and CustomPortalAPI

This includes re-adding portal functionality.

Major Import Cleanup (Auto-done by IDE, but should have no effects other then a bloated diff)
Added AetherBlockProperties#DOUBLE_DROPS

This will be fully implemented in a future update to bring parity to GG's edition
This can be easily reverted if needed.

Migrated from FabricBlockSettings, FabricItemSettings to their mojang equivalents

In this case, AbstractBlock/AbstractItem.Settings.copy

Migrate breakByTool to data tags and breakByHand to breakInstantly
Migrated from protected materialColor to mapColor (This is just called color in mojmaps)
Aerclouds have been revised to allow better customization and better parity to GG's version of them

This includes adding the particles to Blue Aerclouds and adding more resistance to Elytra boosting through them.

FlammableBlockRegistry deprecated in favor of Mojang's route of FlameBlock#registerFlammableBlock
Refactored the BlockRenderLayerMap to be assembled in groups rather then individually

Some layers have been re-arranged for parity/fixes
This will be refactored again later with a mixin to ItemBlockRenderTypes

Adjusted documentation for GravititeOreBlock to state new tagging requirements
Re-implemented FallingBlockEntity#handleFallDamage
Added DynamicConfiguration (Currently used for Aercloud, Quicksoil, and Lake Generation)

At this time, this config has 2 codec args: state (BlockState) and genType (String->GenerationType)
Using state, users are now free to customize the blockState generation should use
Using genType, users can manipulate how the generation is performed (For now, the only valid types are NORMAL and LEGACY)

Fixed a bug in aether_grass_path, where the wrong parent was referenced
Rewritten Tag systems to have sub-groups for different sets of blocks/items

This allows better maintaining over the systems involved here
Minable data has also been added among additional tags for several items

Looks good.

authors: CDAGaming Dragonoidzero

repo: devs-immortal/The-Aether


text:
Convert all issue templates into issue forms

Description

Convert all issue templates into issue forms.

You can see how do they look to our users here. 🙂

This PR fixes #
Notes for Reviewers:

Ready to merge.
Signed commits

[x] Yes, I am a Member of DEVSTRONS'

@Panquesito7: Thanks for your contribution! :slightly_smiling_face:
Looks Good! :partying_face:

repo: devstrons/hello-world


text:
⚠ Mobitopup has degraded performance

In 2f6688c, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 12824 ms

Resolved: Mobitopup performance has improved in ad006f5.


text:
feat: Added cluster terminal in cluster page

Description
Add terminal in the cluster page to access the terminal of a node
Fixes # ISSUE 596

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR require documentation updates?
[ ] I've updated documentation as required by this PR.
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas

src/assets/icons/ic-exit-fullscreen-2.svg This import of icon seems redundant as we already have a similar icon ic-fullscreen-2.svg please do verify

repo: devtron-labs/dashboard


text:
Is it possible to output more info when "Assertion Failed"?

I'm trying to hook up my dexie db to the cloud and got a bunch of promising output in the console, but then I started getting assertion errors. I have no info about what to look for. Here is the entirety of the message:
Failed to sync client changes Error: Assertion Failed
    at assert (utils.ts:71:19)
    at Dexie$1.setByKeyPath (utils.ts:138:9)
    at encodeIdsForServer.ts:38:19
    at Array.forEach (<anonymous>)
    at encodeIdsForServer.ts:29:16
    at Array.forEach (<anonymous>)
    at encodeIdsForServer (encodeIdsForServer.ts:25:10)
    at syncWithServer.ts:51:14
    at Generator.next (<anonymous>)
    at fulfilled (tslib.es6.js:73:58)

On the console before that I got lines starting with
SYNC STARTED
syncIfPossible
Sync request
BroadcastedAndLocalEvent
etc...
MORE SYNC NEEDED
SYNC STARTED
New Websocket Connection
dexie-cloud WebSocket create
Error from _sync (with the same assertion error)
How do I begin to debug this?

Thanks for the log printouts - seems as the problem is related a table with compound primary keys but the keys are not arrays as expected but plain strings. This could indicate a bug in dexie-cloud. I'll see if I can reproduce the issue from your database if I get a change tomorrow. You can export everything to a JSON file if that would help using npx dexie-cloud@latest export. Compound primary keys are stored as JSON strings and it might be a problem with that. I might get wiser after looking into your db.
An admin dashboard with database and subscription management is under development as the last part before the service goes into production in the end of the summer. For now, it's only npx dexie-cloud export and the REST API available to inspect what's stored in the cloud.

all-data.txt
That is what export gives me - but did you want the contents of indexedDB instead? That is much larger.

A little more info:
I split the writes into sections and I successfully wrote all the MetaNames, Tunes, and Lists. That synced up properly.
But when I went to write TuneInList it started failing. That is doing a many-to-many relationship.

I found the issue and it's really a bug occurring when client is about to sync a table with inbound compound keys. I've release a new version with "test" tag for you to try out:
npm i dexie-cloud-addon@4.0.1-beta.46

Let me know if this fixes it.
Another thing I noticed is that the typings for IDs in your code are all numbers while they really should be strings ('@'-keys) and the relation table should be:
export class TuneInList {
        //id?: number; not there!
	tuneId: string; // not number
	listId: string; // not number
	order: number;
	constructor() {}
}

Please try out the fix and let me know if everything is working properly with it.

Yes! can confirm - it works. And I ran npx dexie-cloud@latest export all-data.json and all the data is there.

authors: dfahlander paulrosen


text:
Поправил странную ошибку парсинга комментария для ИЕ9, 10

нужно обновить на github и npm

Im afraid this repo isnt efficacious anymore, and every project using the code needs to be refactored to use an alternate component-tip or dialog-component

authors: dfcreative everyonesdesign

repo: dfcreative/poppy


text:
Feature/add tag attribute

The current VCS object was in a proof-of-concept state.
This PR refactors it and fixes some issues:

#82 Branch name
#88 SVN branches or tags prefix required
#46  (prepare for interpretation of tags during check)

Hopefully #84 can be done as well

Don't forget to let the import command differentiate between branch: and tag:

repo: dfetch-org/dfetch


text:
bugfix: fix bug in grammar for async* expressions

We currently allow
async ()

but not
async* ()

and just
async* { ... }

Looks like a cut-n-paste error. Let's see if it passes CI.

Well both changes are yours
14219adbe9 (Claudio Russo 2022-07-12 10:31:14 +0100 193)     'async' <exp_nest>
26c229ad2b (Claudio Russo 2022-12-07 02:35:19 +0000 194)     'async*' <block>

but making it symmetrical makes sense. LGTM!

Yeah, it was definitely my cut'n'paste error!

repo: dfinity/motoko


text:
Test says indicies/indicy instead of indices/index

Neither 'indicies' nor 'indicy' are words. indices/index are
Context 'Singularize' {
        $output = echo people men women geese indicies oxen knives | ConvertTo-Singular
        It 'Should convert to singles' {
            $output[0] | Should Be 'person'
            $output[1] | Should Be 'man'
            $output[2] | Should Be 'woman'
            $output[3] | Should Be 'goose'
            $output[4] | Should Be 'indicy'
            $output[5] | Should Be 'ox'
            $output[6] | Should Be 'knife'
        }

Need to post that on https://github.com/Humanizr/Humanizer

Actually, Humanizer itself handles indices/index correctly. The test does what it does because the input "indicies" is not a real word, so Humanizer just takes a best guess at it.

authors: MarkWhybird dfinke

repo: dfinke/PowerShellHumanizer


text:
Reserved rockets

Rendered a list of all reserved rockets on the "My profile" page.

Hello @dfsalam, great job! Looks good, it's time to merge!

authors: dennis-every dfsalam

repo: dfsalam/spacehub


text:
[ui] sorting by # in all group leads to internal server error

Describe the bug
Sorting by #/date_created in the all group leads to internal error. Sorting by #/date_created  in any other group works, but after doing that and going back to all it breaks.
Clearing  the cache resets the sorting and fixes the problem until you sort by  #/date_created again.
Version
v0.45.1
To Reproduce
Steps to reproduce the behavior:

Open overview page / all group
Click on # to sort  by date_created
See error Internal Server Error

2nd way:

Open any group
Click on # to sort  by date_created
Go to all group
See error Internal Server Error

Expected behavior
Should load the all group sorted  by date.
Additional context
Docker container logs:
ERROR:changedetectionio:Exception on / [GET]
Traceback (most recent call last):
  File "/usr/local/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/flask/app.py", line 1519, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/flask_restful/__init__.py", line 298, in error_router
    return original_handler(e)
  File "/usr/local/flask/app.py", line 1517, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/flask/app.py", line 1503, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/app/changedetectionio/__init__.py", line 208, in decorated_view
    return func(*args, **kwargs)
  File "/app/changedetectionio/__init__.py", line 441, in index
    output = render_template(
  File "/usr/local/flask/templating.py", line 154, in render_template
    return _render(
  File "/usr/local/flask/templating.py", line 128, in _render
    rv = template.render(context)
  File "/usr/local/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/app/changedetectionio/templates/watch-overview.html", line 1, in top-level template code
    {% extends 'base.html' %}
  File "/app/changedetectionio/templates/base.html", line 154, in top-level template code
    {% block content %}{% endblock %}
  File "/app/changedetectionio/templates/watch-overview.html", line 84, in block 'content'
    {% for watch in (watches|sort(attribute=sort_attribute, reverse=sort_order == 'asc'))|pagination_slice(skip=pagination.skip) %}
  File "/usr/local/jinja2/filters.py", line 409, in do_sort
    return sorted(value, key=key_func, reverse=reverse)
TypeError: '<' not supported between instances of 'int' and 'NoneType'

thanks for the report!

looks like update 11 didnt run correctly - https://github.com/dgtlmoon/changedetection.io/commit/0aa2276afbbe336148226338c68a237090b73787
fixed as a new update

Just tested locally, can confirm sorting works now.
Thank you

This one should only affect people who have watches since before the "update 11"

authors: c-jaenicke dgtlmoon


text:
Tic tac toe new game issue

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Complete the game
Click 'New game'
See error

Expected behavior
A new game will start!
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser Edge
Version latest

ok fix it @kom-senapati

authors: dhairyagothi kom-senapati


text:
Syntactic Sugar to not have ellipsis for protocols

Description:
Develop a decorator to transform regular classes into Protocols, allowing for a cleaner syntax when defining Protocols.

[ ] Implement @protocol decorator
[ ] Allow use of pass instead of ellipsis in method bodies
[ ] Preserve type annotations
[ ] Ensure compatibility with static type checking

The basic idea here is to sort of intercept the methods within a class which have pass as a function body and then replace them with ellipsis. If you wrap all that up within a decorator then it should work.

Static type checking is done by wrapping the @protocol decorator to return something that is always runtime_checkable.

repo: dhruvshrma/interface-abstraction-python


text:
Fix Dialogflow Enterprise documentation link.

Fixes #3.
Fixes #4.

Codecov Report

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

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   94.28%   94.28%
=======================================
  Files          16       16
  Lines         525      525
  Branches       20       20
=======================================
  Hits          495      495
  Misses         12       12
  Partials       18       18

Continue to review full report at Codecov.

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

Suggested a couple of quick changes. Otherwise, looks good

authors: dlaqab gabrielfalcao lukesneeringer


text:
Question: purpose of the Grpc.Status.t returned with the Ok case.

Hello everyone.
I'm wondering why there's a status tupled with the rpc response, as a return to Client.call.
All the examples end up matching the result with
match response with
| Ok (response, _ok) -> ...
| Error error -> ...

As there are no examples showing a use case for this status, and all existing examples end up ignoring it, I am left wondering why it is given at all. Are there any cases where it is not the OK status? If so, which values can it be?

Thanks for bringing this up! These are gRPC specific status codes. It is not necessarily the OK status, and it's up to you to handle it or not.

This is the list of numerical status codes: https://github.com/grpc/grpc/blob/18be986e3b80061fae5576d228011f85d0d296a0/doc/statuscodes.md
and this is the mapping of the numerical codes to OCaml values: https://dialohq.github.io/ocaml-grpc/grpc/Grpc/Status/index.html

You're right, it would be good not to ignore this code in the examples. Feel free to modify the examples and open a PR, otherwise we'll get to it some time soon.

An interesting example to add would be support for the gRPC health check API and implement a scenario like pausing calling a service when the health check stops responding then resuming when it is healthy again. I made an earlier start on it here https://github.com/tmcgilchrist/ocaml-grpc/tree/grpc_health_check with a view to implementing this example from Rust https://github.com/hyperium/tonic/tree/master/examples/src/health

authors: clembu quernd tmcgilchrist

repo: dialohq/ocaml-grpc


text:
CAT3.0 业务指标监控 是否支持 Tag标签功能了？？

CAT3.0版本，对于业务指标监控是不是还没支持 标签功能呢？我看 CAT 客户端没有相关的方法可以调用，但是CAT管理界面上又可以配置业务标签

好像还不支持 #1708

还未支持，下个版本会支持

hi，请问现在支持Tag标签功能了吗？

authors: JiaRG guolongxu happier2

repo: dianping/cat


text:
Add chapter on release workflow

Hi @didier-wenzek !
Here are the changes @rina23q and I would like to add to the governance for the release workflow as requested by @TheNeikos and you!
This PR is done towards your rfc/governance branch!
I think the best idea would be that you merge (or cherry-pick) this patch to your bnanch/PR and we discuss there, so that the discussion is not spread over multiple repositories and pull requests!

I will merge this PR unchanged into the main PR. As you said it's better to have all the comments in a single place. However, I have   the feeling that this proposal is over-sized for the current state of thin-edge and even for the mid-term.

authors: didier-wenzek matthiasbeyer


text:
REQUEST: View all currently in-season items on the colour wheel

Hello, my partner passed this on to me and I love the idea.
Immediately I just wanted to see all the current in-season fruit and veg on the wheel, and couldn't work out how to do it.
I'm not that fussed about favourites as I'd prefer to follow what's in season, and it's a nice way to try new foods.
Maybe a show all in-season option for the colour wheel, or something like that.
Thanks
Russ

Hello @rjohnsonbade, I'm stoked to hear you love the idea!
Thanks for the feedback about wanting to follow what's in season to try new foods. For now, you can check the "Hide out of season foods" checkbox and the food tags listed below the color wheel will show only the in-season fruit and veg regardless of favourites:

Thanks for the response, I did figure that out.
Just thought seeing that on the colour wheel would be nice as well, and being able to step forwards and backwards through the months.
Nice little tool overall though, good work.

I appreciate the feedback. I'll keep that in mind for if I make changes in the future. For now, it's unlikely I'll make changes but I'll leave this issue open as food for thought. Thanks again.

authors: didoesdigital rjohnsonbade

repo: didoesdigital/growing


text:
Library not working on Android P

https://developer.android.com/preview/restrictions-non-sdk-interfaces

You can use Android's ExpandableListView instead.

    at com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.dispatchDraw(FloatingGroupExpandableListView.java:192)

authors: Ktirumalsetty rmtheis srgiitd


text:
BugFix - update filter status with measurement

Currently, the filter result does not display the visit/measurement on adding the filters, but the filtered patient count is updated with the change in visit/measurement field. This needs to be updated by adding measurement to the filter_status and do necessary changes wherever required in the Filter Service.

Visit: baseline

Visit: 1 year followup

New Changes:
Visit: None

Visit: baseline

Visit: 1 year followup

repo: dieterich-lab/medex


text:
gtf-to-bed12 does not handle de-novo gtf

When adding transcript_biotype, gene_id, gene_name, and/or gene_biotype, we overlooked that they are generally absent from de novo GTF. In that case, we also need to make sure that downstream scripts handle missing values...

v4.0.1 fixes this.

repo: dieterich-lab/pbiotools


text:
Document memoize (maybe lazySelfie?)

Use https://github.com/aallam/openai-kotlin as an example.
Might want to change our navbar to be:

why
get started
memoize
facets

or

why
get started
lazy
facets

Might also want to change the landing page, maybe: literal, lensable, lazy, and like a filesystem.
The function name lazy is already taken by kotlin-stdlib.  Renaming to lazySelfie might be a better fit.

Possible landing page copy, eventually:
Sometimes a test has a component which is slow, expensive, or non-deterministic. API calls to AI services are all three, for example.
In cases like this, it can be really useful to save the result of a previous execution of the API call, and use that as a mock for future tests.
var client = ExpensiveAiService();
var chatResponse = cacheSelfie(() -> {
  return client.chat("What's your favorite number today?");
}).toBe("Since it's March 14, my favorite number is π")
// build other stuff with the chat response

You can cache simple strings, but you can also cache complex API objects, binary data, or anything else you can serialize to a string or a byte array.
var imageBytes = cacheSelfie(() -> {
  return client.generateImage("A robot making a self portrait");
}).toBeFile("selfie.png")

For more information on how to use cacheSelfie, see the cache example.

Implemented by #238

repo: diffplug/selfie


text:
Excel spreadsheets

The exercise spreadsheet needs to be reset to have zero quantities.  The examples spreadsheet is no longer needed and can be deleted.

Fixed by referenced pull request.

repo: digicatapult/QTAP