Added ipaddress argument to disassociateIPAddress api (#8125)

Description
This PR adds argument 'ipadress' to the disassociateIpAddress api. IP address can be disassociated by directly giving the address instead of ID.
Fixes: #8125

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):

How Has This Been Tested?
Tested to see that disassociateIpAddress cmd passes with 'ipaddress' argument. And throws an error if neither Id nor ipadress is provided.  Added testcase in test_network.py to disassociate using ipaddress.

How did you try to break this feature and the system with this change?

```

@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 7726

@blueorangutan test

@harikrishna-patnala a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-8310)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 54575 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8222-t8310-kvm-centos7.zip
Smoke tests completed. 115 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_invalid_upgrade_kubernetes_cluster
Failure
3608.64
test_kubernetes_clusters.py

test_02_upgrade_kubernetes_cluster
Failure
3613.78
test_kubernetes_clusters.py

test_03_deploy_and_scale_kubernetes_cluster
Failure
0.04
test_kubernetes_clusters.py

test_04_autoscale_kubernetes_cluster
Failure
0.04
test_kubernetes_clusters.py

test_05_basic_lifecycle_kubernetes_cluster
Failure
0.04
test_kubernetes_clusters.py

test_06_delete_kubernetes_cluster
Failure
0.05
test_kubernetes_clusters.py

test_07_deploy_kubernetes_ha_cluster
Failure
0.04
test_kubernetes_clusters.py

test_08_upgrade_kubernetes_ha_cluster
Failure
0.05
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
0.05
test_kubernetes_clusters.py

test_10_vpc_tier_kubernetes_cluster
Failure
48.80
test_kubernetes_clusters.py

test_11_test_unmanaged_cluster_lifecycle
Error
1.25
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
58.57
test_kubernetes_clusters.py

test_08_migrate_vm
Error
0.06
test_vm_life_cycle.py

@blueorangutan package

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 7740

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

API rate limit issue. Test results from backend,
06:32:29 Smoke tests completed. 115 look OK, 2 have errors, 0 did not run
06:32:29 Only failed and skipped tests results shown below:
06:32:29
06:32:29
06:32:29 Test | Result | Time (s) | Test File
06:32:29 --- | --- | --- | ---
06:32:29 test_01_invalid_upgrade_kubernetes_cluster | `Failure` | 3609.16 | test_kubernetes_clusters.py
06:32:29 test_02_upgrade_kubernetes_cluster | `Failure` | 3610.36 | test_kubernetes_clusters.py
06:32:29 test_03_deploy_and_scale_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
06:32:29 test_04_autoscale_kubernetes_cluster | `Failure` | 0.03 | test_kubernetes_clusters.py
06:32:29 test_05_basic_lifecycle_kubernetes_cluster | `Failure` | 0.03 | test_kubernetes_clusters.py
06:32:29 test_06_delete_kubernetes_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
06:32:29 test_07_deploy_kubernetes_ha_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
06:32:29 test_08_upgrade_kubernetes_ha_cluster | `Failure` | 0.04 | test_kubernetes_clusters.py
06:32:29 test_09_delete_kubernetes_ha_cluster | `Failure` | 0.03 | test_kubernetes_clusters.py
06:32:29 test_10_vpc_tier_kubernetes_cluster | `Failure` | 43.69 | test_kubernetes_clusters.py
06:32:29 test_11_test_unmanaged_cluster_lifecycle | `Error` | 1.22 | test_kubernetes_clusters.py
06:32:29 ContextSuite context=TestKubernetesCluster>:teardown | `Error` | 57.53 | test_kubernetes_clusters.py
06:32:29 test_01_isolate_network_FW_PF_default_routes_egress_true | `Failure` | 93.20 | test_routers_network_ops.py
06:32:29 test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true | `Failure` | 161.32 | test_routers_network_ops.py

@harikrishna-patnala are your comments addressed?
@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 7774

@blueorangutan test

[SF] Trillian test result (tid-8337)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45740 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8222-t8337-kvm-centos7.zip
Smoke tests completed. 117 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_08_migrate_vm
Error
0.05
test_vm_life_cycle.py

[SF] Trillian Build Failed (tid-8339)

@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 7785

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Result from Trillian backend (not reported due to API limit),
05:26:44 Smoke tests completed. 116 look OK, 2 have errors, 0 did not run
05:26:44 Only failed and skipped tests results shown below:
05:26:44
05:26:44
05:26:44 Test | Result | Time (s) | Test File
05:26:44 --- | --- | --- | ---
05:26:44 test_02_upgrade_kubernetes_cluster | `Failure` | 543.79 | test_kubernetes_clusters.py
05:26:44 test_08_upgrade_kubernetes_ha_cluster | `Failure` | 685.53 | test_kubernetes_clusters.py
05:26:44 test_08_migrate_vm | `Error` | 0.06 | test_vm_life_cycle.py
05:26:44 test_10_attachAndDetach_iso | `Error` | 12.41 | test_vm_life_cycle.py


Sometimes seeing duplicate badges (user.special)

Intermittently I'm seeing duplicate user badges (mod, turbo, etc), but I only ever see it on "myself". Here's an image http://i.imgur.com/i6DWGzH.png. I noticed it's not limited to sub icons, I've seen it with the mod icon too. The most I've seen is 3.
For now I'll use underscore to remove duplicates.

Sorry for the delayed answer, I am on vacation.. Will see what's going on, expect an update next week.

One thing to note, it does sort itself out after a few minutes. When I saw 3 moderator badges, it went to 2, then later it was down to one (I am a mod on that channel).


Cleanup whitespace for all C# files

Trim trailing whitespace and convert all indentation from spaces to tabs.
Only space was changed. git show --ignore-all-space returns an empty diff.

Thanks!


Bug report

i just want to install package.json but i got error . node.js version 16 .

node-gyp is installed?
Python?

no i'm installing that now . thanks man

but i have got error in node-gyp rebuild

Read error, mabe i forgot something


libzen: 0.4.32 -> 0.4.33

Things done:

[x] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
[x] Built on platform(s): NixOS
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Built and tested locally.
From the changelog:
Version 0.4.33, 2016-02-29

x File::Open(): using now FILE_APPEND_DATA on windows when append mode
  is requested
x File::Open(): accept file names with * and ? characters on non-Windows
  platforms
x Better MinGW and CygWin compatibility
x autogen.sh: Adding missing shebang
x Dir/Create: create the parents directory if not existing

Could you also please add a commit to update the src.url and meta.homepage attributes to use HTTPS? Refs #13809.

@aneeshusa Done.

Built and tested locally (NixOS x86_64). Thanks for you contribution!


chore(main): release 2.103.3

:robot: I have created a release beep boop
2.103.3 (2024-03-11)
Bug Fixes

audit: add segment deleted audit log (#3585) (e2b8a92)
poetry audit (#3592) (c2155b2)
remove duplicate tos (#3589) (0f2506e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Flagsmith/flagsmith/releases/tag/v2.103.3 :sunflower:


[BugFix] Fix aggregate set_finishing called multi-times

stack in release
#6  starrocks::vectorized::AggHashSetVariant::visit<starrocks::Aggregator::convert_hash_set_to_chunk(int32_t, starrocks::vectorized::ChunkPtr*)::<lambda(auto:47&)> > (vistor=...,
    this=0x7f7d2c24cd70) at /home/code/starrocks/be/src/exec/vectorized/aggregate/agg_hash_variant.h:559
#7  starrocks::Aggregator::convert_hash_set_to_chunk (this=0x7f7d2c24cc10, chunk_size=<optimized out>, chunk_size@entry=4096, chunk=<optimized out>, chunk@entry=0x7f7ce67f5d30)
    at /home/code/starrocks/be/src/exec/vectorized/aggregator.cpp:1076
#8  0x00000000025c01c4 in starrocks::pipeline::AggregateDistinctBlockingSourceOperator::pull_chunk (this=0x7f7a9229fc10, state=<optimized out>)
    at /home/code/starrocks/be/src/exec/pipeline/aggregate/aggregate_distinct_blocking_source_operator.cpp:31
#9  0x00000000022a9f20 in starrocks::pipeline::PipelineDriver::process (this=this@entry=0x7f7a8e726790, runtime_state=runtime_state@entry=0x7f7d2c228e00, worker_id=worker_id@entry=39)
    at /home/code/starrocks/be/src/exec/pipeline/pipeline_driver.cpp:237
#10 0x000000000451dbb3 in starrocks::pipeline::GlobalDriverExecutor::_worker_thread (this=0x7f7f0331db40) at /home/code/starrocks/be/src/exec/pipeline/pipeline_driver_executor.cpp:133
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x0000000003f0fc72 in std::function<void ()>::operator()() const (this=0x7f7f02598758) at /opt/gcc/usr/include/c++/10.3.0/bits/std_function.h:622
#12 starrocks::FunctionRunnable::run (this=0x7f7f02598750) at /home/code/starrocks/be/src/util/threadpool.cpp:44
#13 starrocks::ThreadPool::dispatch_thread (this=0x7f7f02e786c0) at /home/code/starrocks/be/src/util/threadpool.cpp:539
#14 0x0000000003f0a76a in std::function<void ()>::operator()() const (this=0x7f7f02599418) at /opt/gcc/usr/include/c++/10.3.0/bits/std_function.h:622
#15 starrocks::Thread::supervise_thread (arg=0x7f7f02599400) at /home/code/starrocks/be/src/util/thread.cpp:351

reproduce case:
[root@query-dev-centos share]# cat tmp2.cc
#include <cstdio>
#include <memory>
#include <thread>
#include <unistd.h>
#include <any>
#include <cassert>

char buffer[1024];

struct Iterator {
    const char* a;
    const char* b;
};

std::any any_test;

void foo(void) {
  for (;;) {
        if (!any_test.has_value()) continue;
        auto iter = std::any_cast<Iterator>(any_test);
        assert(iter.a == buffer);
        assert(iter.b == buffer);
  }
}

int main() {
   Iterator iter{.a=buffer,.b=buffer};
   any_test = iter;

  std::thread t1(foo), t2(foo);
  for (;;) {
    usleep(10000);
    Iterator iter;
    iter.a = buffer;
    iter.b = buffer;
    any_test = iter;
  }
  return 0;
}

[root@query-dev-centos share]#  g++ tmp2.cc -std=c++17 -lpthread -fsanitize=address  -static-libasan -static-libstdc++
a[root@query-dev-centos share]# a./a.ou
bash: a./a.ou: No such file or directory
[root@query-dev-centos share]# ./a.out
=================================================================
==67186==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000000010 at pc 0x0000004cd586 bp 0x7f2c91cfdd40 sp 0x7f2c91cfdd38
READ of size 16 at 0x602000000010 thread T2
    #0 0x4cd585 in Iterator std::any_cast<Iterator>(std::any&) (/root/share/a.out+0x4cd585)
    #1 0x4cc9f2 in foo() (/root/share/a.out+0x4cc9f2)
    #2 0x4ce674 in void std::__invoke_impl<void, void (*)()>(std::__invoke_other, void (*&&)()) (/root/share/a.out+0x4ce674)
    #3 0x4ce5fe in std::__invoke_result<void (*)()>::type std::__invoke<void (*)()>(void (*&&)()) (/root/share/a.out+0x4ce5fe)
    #4 0x4ce5ab in void std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (/root/share/a.out+0x4ce5ab)
    #5 0x4ce57f in std::thread::_Invoker<std::tuple<void (*)()> >::operator()() (/root/share/a.out+0x4ce57f)
    #6 0x4ce563 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run() (/root/share/a.out+0x4ce563)
    #7 0x4d004f in execute_native_thread_routine ../../../.././libstdc++-v3/src/c++11/thread.cc:80
    #8 0x7f2c96486ea4 in start_thread (/lib64/libpthread.so.0+0x7ea4)
    #9 0x7f2c9588bb0c in clone (/lib64/libc.so.6+0xfeb0c)

0x602000000010 is located 0 bytes inside of 16-byte region [0x602000000010,0x602000000020)
freed by thread T0 here:
    #0 0x48ff97 in operator delete(void*, unsigned long) ../../.././libsanitizer/asan/asan_new_delete.cpp:172
    #1 0x4cdd31 in std::any::_Manager_external<Iterator>::_S_manage(std::any::_Op, std::any const*, std::any::_Arg*) (/root/share/a.out+0x4cdd31)
    #2 0x4cd3a4 in std::any::reset() (/root/share/a.out+0x4cd3a4)
    #3 0x4cd2a0 in std::any::operator=(std::any&&) (/root/share/a.out+0x4cd2a0)
    #4 0x4cd646 in std::enable_if<std::is_copy_constructible<std::enable_if<!(is_same_v<std::decay<Iterator&>::type, std::any>), std::decay<Iterator&>::type>::type>::value, std::any&>::type std::any::operator=<Iterator&>(Iterator&) (/root/share/a.out+0x4cd646)
    #5 0x4ccbf0 in main (/root/share/a.out+0x4ccbf0)
    #6 0x7f2c957af554 in __libc_start_main (/lib64/libc.so.6+0x22554)

previously allocated by thread T0 here:
    #0 0x48f177 in operator new(unsigned long) ../../.././libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x4cde43 in void std::any::_Manager_external<Iterator>::_S_create<Iterator&>(std::any::_Storage&, Iterator&) (/root/share/a.out+0x4cde43)
    #2 0x4cd88d in std::any::any<Iterator&, Iterator, std::any::_Manager_external<Iterator>, true>(Iterator&) (/root/share/a.out+0x4cd88d)
    #3 0x4cd633 in std::enable_if<std::is_copy_constructible<std::enable_if<!(is_same_v<std::decay<Iterator&>::type, std::any>), std::decay<Iterator&>::type>::type>::value, std::any&>::type std::any::operator=<Iterator&>(Iterator&) (/root/share/a.out+0x4cd633)
    #4 0x4ccb4a in main (/root/share/a.out+0x4ccb4a)
    #5 0x7f2c957af554 in __libc_start_main (/lib64/libc.so.6+0x22554)

Thread T2 created by T0 here:
    #0 0x438e72 in __interceptor_pthread_create ../../.././libsanitizer/asan/asan_interceptors.cpp:214
    #1 0x4d02c4 in __gthread_create /workspace/gcc/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:663
    #2 0x4d02c4 in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) ../../../.././libstdc++-v3/src/c++11/thread.cc:135
    #3 0x4ccb6c in main (/root/share/a.out+0x4ccb6c)
    #4 0x7f2c957af554 in __libc_start_main (/lib64/libc.so.6+0x22554)

SUMMARY: AddressSanitizer: heap-use-after-free (/root/share/a.out+0x4cd585) in Iterator std::any_cast<Iterator>(std::any&)
Shadow bytes around the buggy address:
  0x0c047fff7fb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c047fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c047fff7fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c047fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c047fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c047fff8000: fa fa[fd]fd fa fa 00 00 fa fa 00 00 fa fa fd fd
  0x0c047fff8010: fa fa fd fd fa fa fd fd fa fa 00 00 fa fa fa fa
  0x0c047fff8020: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==67186==ABORTING

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[x] 2.4

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

https://github.com/Mergifyio backport branch-2.3


Revert "Patch metadata and spec when handling errors (#92)"

This reverts commit de2738269396ec6e038b101745cd23c06555cc9a.
Description of changes:
Adding a patch in HandleReconcileError caused subsequent test failures in the EKS controller, and ultimately did not fix the issue in the RDS controller. This PR is to revert that change so that we can roll back to a known good state for any other controllers that may have been affected.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Upgrade The Fuel Wallet Extension

The extension window was not opening while trying to signing a transaction.

Did you try to refresh the browser and/or delete the cache?

The issue was solve thank you sir for assisting


Wasm.simd Negation, Splat, ReplaceLane + tests

This PR includes:

Negation op  + tests
Splat op + tests
ReplaceLane op + tests

This change is

@Cellule @MikeHolman please ignore this PR for now until I fix any possible issues w/ x-plat.
fyi @arunetm

@Cellule could you please take a look when you have a moment? The tests seem to have cleared

@Cellule hate to bug you that often; could you please take a look when you have a moment?

Reviewed 15 of 15 files at r1.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

lib/WasmReader/WasmByteCodeGenerator.cpp, line 1286 at r1 (raw file):

EmitInfo WasmBytecodeGenerator::EnregisterIndex()
{
    const uint offset = GetReader()->m_currentNode.lane.index;

I think I would put the code in CheckLaneIndex in here that way if you register an index you have to check the index is not out of range.
Also, could we rename this function to something like EmitLaneIndex(Js::OpCode requestingOp)

lib/WasmReader/WasmByteCodeGenerator.cpp, line 1303 at r1 (raw file):

    }

    EmitInfo simdArg = PopEvalStack();

use PopEvalStack(WasmTypes::M128, _u("simd argument type mismatch")) instead of checking the type manually after

test/wasm.simd/replaceLaneTests.js, line 31 at r1 (raw file):
Previously, Krovatkin (Nick Korovaiko) wrote…
we could change the indexing to a dict w/ an array view per each type where the type comes from a test name if this version is too ugly :-)

Yeah this is a little hard to read and it feels hacky. I would just pass the typed array and the length by arguments.

test/wasm.simd/rlexe.xml, line 47 at r1 (raw file):

<test>
  <default>
    <files>splatNegTests.js</files>

This is not needed, rl will do a second run with prejit

test/wasm.simd/rlexe.xml, line 59 at r1 (raw file):

<test>
  <default>
    <files>replaceLaneTests.js</files>

This is not needed, rl will do a second run with prejit

Comments from Reviewable

Review status: 10 of 15 files reviewed at latest revision, 5 unresolved discussions.

lib/WasmReader/WasmByteCodeGenerator.cpp, line 1286 at r1 (raw file):
Previously, Cellule (Michael Ferris) wrote…
I think I would put the code in CheckLaneIndex in here that way if you register an index you have to check the index is not out of range.
Also, could we rename this function to something like EmitLaneIndex(Js::OpCode requestingOp)

yup, looks much better that way

lib/WasmReader/WasmByteCodeGenerator.cpp, line 1303 at r1 (raw file):
Previously, Cellule (Michael Ferris) wrote…
use PopEvalStack(WasmTypes::M128, _u("simd argument type mismatch")) instead of checking the type manually after

fixed

test/wasm.simd/replaceLaneTests.js, line 31 at r1 (raw file):
Previously, Cellule (Michael Ferris) wrote…
Yeah this is a little hard to read and it feels hacky. I would just pass the typed array and the length by arguments.

I tried passing both, the array view and length, and it seems like a lot of boilerplate that can be avoided. Also, it makes harder to add new tests since w/ two additional parameters it's easier to pass the wrong thing.
I think the dict approach offers a nice compromise

it's much easier to add new tests
there's very little magic in helper functions to get the length and array view.

https://github.com/Krovatkin/ChakraCore/blob/b998a530697ff2902e8666c6847f2798148ab8cc/test/wasm.simd/splatNegTests.js#L34
https://github.com/Krovatkin/ChakraCore/blob/b998a530697ff2902e8666c6847f2798148ab8cc/test/wasm.simd/splatNegTests.js#L47
https://github.com/Krovatkin/ChakraCore/blob/b998a530697ff2902e8666c6847f2798148ab8cc/test/wasm.simd/splatNegTests.js#L63
But if you insist on passing those as extra parameters, we could definitely do it.

test/wasm.simd/rlexe.xml, line 47 at r1 (raw file):
Previously, Cellule (Michael Ferris) wrote…
This is not needed, rl will do a second run with prejit

fixed

test/wasm.simd/rlexe.xml, line 59 at r1 (raw file):
Previously, Cellule (Michael Ferris) wrote…
This is not needed, rl will do a second run with prejit

fixed

Comments from Reviewable

@Cellule I was wondering if you could take another quick look? If everything looks good, I'll squash the commits and ask you to help me to merge this PR. @arunetm is still trying to figure out his perms issue.

Reviewed 5 of 5 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

test/wasm.simd/replaceLaneTests.js, line 31 at r1 (raw file):
Previously, Krovatkin (Nick Korovaiko) wrote…
I tried passing both, the array view and length, and it seems like a lot of boilerplate that can be avoided. Also, it makes harder to add new tests since w/ two additional parameters it's easier to pass the wrong thing.
I think the dict approach offers a nice compromise

it's much easier to add new tests
there's very little magic in helper functions to get the length and array view.

https://github.com/Krovatkin/ChakraCore/blob/b998a530697ff2902e8666c6847f2798148ab8cc/test/wasm.simd/splatNegTests.js#L34
https://github.com/Krovatkin/ChakraCore/blob/b998a530697ff2902e8666c6847f2798148ab8cc/test/wasm.simd/splatNegTests.js#L47
https://github.com/Krovatkin/ChakraCore/blob/b998a530697ff2902e8666c6847f2798148ab8cc/test/wasm.simd/splatNegTests.js#L63
But if you insist on passing those as extra parameters, we could definitely do it.

This looks pretty good!

Comments from Reviewable

I'll try to merge it this afternoon

@Cellule Thank you very much!
We'll try to figure out perms issues on our end, so we at least don't have to burden you w/ merges.

@Cellule, awesome! Thanks a lot!


Update emoji's to emoji 14

#203
This pull request is to update vue-emoji-mart to the latest Emoji v14 specification.

Updated data source URLs in css/emoji-mart.css to match Emoji v14
Data was rebuilt in data/ files with npm run build:data
Rebuilt dist/ files
In docs.app.vue:

47 Add :key to address Vue issue that v-for now needs a key to function
284 Update style to the latest emoji specification

Package-lock.json updated with npm
package.json updated to the latest emoji-datasource
In scripts/build.js, emoji-datasource updated their specifications to make all skin tones part of the category component instead of Skin Tones meaning that subcategory has to be used
In src/utils/emoji-data.js:

4 npm change
6 Updated SHEET_COLUMNS to latest numbers
499-501 Changed get_position to better reflect Missive's approach to x and y
561 updated line to reflect Missive which eliminated visual artifacts from other emojis in the picker

@Hystersis Thanks for the pull request. Is it ready for the review or are you going to do some more work here?
I see that tests are failing on CI. Can you go through and fix them? (if not: let me know, I'll do it myself later, looks like there are mostly non-functional failures).
Also: are there any limitations related to the update?
Previous emoji version upgrades had some breaking changes, do we have some breaking changes with this update?

@serebrov it is ready for review, that previous commit was just to fix up the prettier issues. I am happy to fix the tests. Yet to have found any breaking changes.

Thanks! There are still some tests failing, I will merge this to a branch first, do more updates to tests and test it manually and release if everything is OK.

Published emoji-mart-vue-fast v11.0.0 to npm.


Building EWW as flake: gtk-layer-shell-0.pc not found

Hello, I'm running NixOS and trying to include EWW as a package in my system by using flakes. Here are some relevant code snippets:
Inputs to my flake.nix:
  inputs = {
    nixpkgs.url = "nixpkgs/nixos-unstable";
    nixpkgs-unstable.url = "nixpkgs/nixos-unstable";

    eww-git.url = "github:elkowar/eww";
  };

This is how I add eww to my system packages:
  environment.systemPackages = with pkgs; [
    # other stuff...
    inputs.eww-git.packages.x86_64-linux.eww
  ]

When I go to build my system with nixos-rebuild, nix begins to build eww but stops at this error:
error: builder for '/nix/store/77zg2i9azcmgm6wg8c0ql89kkxm4k4xp-eww-e76206817de1cb86ec431dcff7d4b04c8b7d36fc.drv' failed with exit code 101;
       last 10 log lines:
       >   Package gtk-layer-shell-0 was not found in the pkg-config search path.
       >   Perhaps you should add the directory containing `gtk-layer-shell-0.pc'
       >   to the PKG_CONFIG_PATH environment variable
       >   No package 'gtk-layer-shell-0' found
       >   Package gtk-layer-shell-0 was not found in the pkg-config search path.
       >   Perhaps you should add the directory containing `gtk-layer-shell-0.pc'
       >   to the PKG_CONFIG_PATH environment variable
       >   No package 'gtk-layer-shell-0' found
       >
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run 'nix log /nix/store/77zg2i9azcmgm6wg8c0ql89kkxm4k4xp-eww-e76206817de1cb86ec431dcff7d4b04c8b7d36fc.drv'.

Some interesting notes:

Installing the wayland package works fine (inputs.eww-git.packages.x86_64-linux.eww-wayland)
I was able to clone the repository and build it myself. I would run nix-shell in the repository's root directory, and then cargo build --release --no-default-features --features x11 to build EWW. That works.

Looking for assistance regarding this issue. It seems to me like an issue with the flake.nix in eww's repository, but I'm not knowledgeable enough in Nix or EWW yet to understand.
Thanks for reading

Hey, i had a similar issue trying to get #743 working on my configuration.
After some investigation, is seems that the flake in this repository is using the nixpkgs' expression and is just putting an overlay into it to build with the files from this repository.
The issue is that since #722 eww builds with wayland support by default, which means it needs gtk-layer-shell as a buildInput by default. And the nix expression for eww in nixpkgs is still based on eww 0.4.0, which didn't built with wayland support by default, so it do not specify this dependency out of the box.

Installing the wayland package works fine (inputs.eww-git.packages.x86_64-linux.eww-wayland)

Yes, building eww-wayland works fine, and would be the same as building eww from now on (if it worked).

I was able to clone the repository and build it myself. I would run nix-shell in the repository's root directory, and then cargo build --release --no-default-features --features x11 to build EWW. That works.

Same thing here, it works fine with nix-shell (using the shell.nix).
But with nix shell (using flake.nix and checking for devShells outputs), it fails because it tries to build before starting the shell. As expected, using nix shell .#eww-wayland it works just fine too.

I think the flake in this repo needs to be rewritten to not depend on the nixpkgs' expression, since it's an expression describing the stable version (v0.4.0) of the project, and so it makes it not suitable for standalone usage on the master branch.
I also suggest, since it now default to build with wayland support, using the eww package name for building eww with Wayland+X11 support, and eww-wayland for Wayland exclusive support.
Not very comfortable with writing flakes just yet, so might need help on this one !


feat: macos universal installer and binary

Describe Your Changes

feat: macos universal installer and binary

Fixes Issues

Related ticket #1396
Closes #

Self Checklist

[ ] Added relevant comments, esp in complex areas
[ ] Updated docs (for bug fixes / features)
[ ] Created issues for follow-up changes or refactoring needed

Update from old version to new universal version - macos


[IOS] App crash on launch

after edit AppDelegate.m
"react": "15.4.2",
"react-native": "0.40.0",
"react-native-fcm": "git+https://github.com/evollu/react-native-fcm.git#cf61b74fa6d00f7c56945e755866eb06186bbcea",
when i comment [FIRApp configure];
the app stop crashing

#import "AppDelegate.h"

#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>

#import "RNFIRMessaging.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  NSURL *jsCodeLocation;

  jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];

  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                      moduleName:@"leaguebet"
                                               initialProperties:nil
                                                   launchOptions:launchOptions];
  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  [FIRApp configure];
  [[UNUserNotificationCenter currentNotificationCenter] setDelegate:self];
  return YES;
}

- (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler
{
  [RNFIRMessaging willPresentNotification:notification withCompletionHandler:completionHandler];
}

- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler
{
  [RNFIRMessaging didReceiveNotificationResponse:response withCompletionHandler:completionHandler];
}

@end

I'm having the same issue. when I comment [FIRApp configure];
the app stop crashing. Is this correct solution? I have react-native 0.41.2 and react": "15.4.2",

Did you install with cococa pods ?

yes, my pod version is 1.2.0
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

target 'leaguebet' do
  pod 'Google-Mobile-Ads-SDK'
  pod 'Firebase/Messaging'
end

@BeudyZlip check my comment again, i did an edit.

I have resolve my issue
On your Xcodeproj create a new group names Ressources and past your GoogleService-Info.plist
And run the app in Profile mode

@BeudyZlip @flaviotobi Thanks. I'll check it out. I'm also using cocopods

thanks @BeudyZlip  you solved my problem

There is some bug in Xcode.
In my case, Drag-and-Dropping .plist file didn't work.
I recommend using Add Files to.. in the right click menu


Fix DPKG_INFO regexp to work with packages like oracle-j2re1.7_1.7.0+update45_amd64.deb

simplify regexp and fix it for package like this :
$ dpkg-deb -W /tmp/oracle-j2re1.7_1.7.0+update45_amd64.deb
oracle-j2re1.7	1.7.0+update45

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@sersut  would be great if someone else can do it.
Thanks

@cscetbon thanks for your contribution. We've decided to rewrite the dpkg provider to not use regular expressions at all, but rather use the output from dpkg-deb. See chef/chef#3498 for more details.
Thanks again!


hop stoped at its second step

I'm working on BTLE with bladeRF xA9 on Ubuntu 22.04,  using newest BTLE, libbladeRF and .rbf file, and met a problem on hopping.
Firstly, sorry for my poor English.
The problem is, when I use btle_rx with -o, seeing "track start" in terminal when bladeRF catches AUX_CONNECT_REQ, it could catch some packeges on one channel, but when it says next state 2, it stops working while not exiting. I tried at least five times with the same problem.
That's my input:
./btle_rx -c 37 -s test -o
That's what I get before it stop (hide some data because I don't know if it is needed):
0028557us Pkt080 Ch37 AA:hide ADV_PDU_t0:ADV_IND T1 R0 PloadL24 AdvA:hide Data:hide CRC0
0000032us Pkt081 Ch37 AA:hide ADV_PDU_t5:CONNECT_REQ T1 R1 PloadL34 InitA:hide AdvA:hide AA:hide CRCInit:hide WSize:02 WOffset:0011 Itrvl:0018 Ltncy:0000 Timot:01f4 ChM:1fffffffff Hop:10 SCA:5 CRC0
Hop: track start ...
Hop: next ch 10 freq 2424MHz access hide crcInit hide
Hop: next state 1
0266259us Pkt082 Ch10 AA:hide LL_PDU_t1:LL_DATA1 NESN1 SN1 MD0 PloadL0 CRC0
0000036us Pkt083 Ch10 AA:hide LL_PDU_t3:LL_CTRL NESN0 SN1 MD1 PloadL24 Op10(LL_RESERVED) Byte:hide CRC0
0000014us Pkt084 Ch10 AA:hide LL_PDU_t1:LL_DATA1 NESN0 SN0 MD0 PloadL0 CRC0
0000011us Pkt085 Ch10 AA:hide LL_PDU_t2:LL_DATA2 NESN1 SN0 MD0 PloadL9 LL_Data:hide CRC0
Hop: 1st data pdu
Hop: next state 2
0941868us Pkt086 Ch34 AA:hide LL_PDU_t1:LL_DATA1 NESN1 SN1 MD0 PloadL0 CRC1
^CCaught signal 2  (here I use ctrl+C after waiting for 1 or 2 minutes)
Exit main loop ...
bladerf_deinit_stream.
enable module false: Success
bladerf_close.
bladeRF rx thread quit.
I'd like to know why this happenes and how can I fix it. Thanks for any suggestion.

About my BLE equipment, they are a pad as master and a phone as slave. I used an app named BLE Debugging Assistant to make the phone work as slave, it could be seen on pad, connect with it and get simple data from it. Don't know if this has effected anything.

I found something strange when checking packets with wireshark.
I start rx at channel 37 ,in the terminal, I get:
Cmd line input: chan 37, freq 2402MHz, ...
When I check ADV_IND packet in wireshark, I found:
RF Channel: 37, 2476 MHz, Data channel 35
And as the same, when it start hopping I get:
Hop: next ch 12 freq 2430MHz ...
Following packet in wireshark:
RF Channel: 12, 2426 MHz, Data channel 38
I don't know if it's normal, cause it looks like the real freqency is wrongly setted.  I read btle_rx.c to find out which frequency it will set but it seems correctly. So is this just a specially expression or there is a problem?

Partly solve the problem. That's it:
I found out that BLE 5.x uses different hop mode, and my phone and pad support 5.0, so I got a old phone with only BT4.1 (guess it supports BLE at the same time) and let it be master. Then I got data packet during hopping.
However, there are a few of problems I still don't understand: why wireshark shows different frequency from it should be? why the order of hopping is like this (just copy channel part from terminal):
Hop: track start ...
Hop: next ch 13 freq 2432MHz ...
Hop: next state 1
1073199us Pkt035 Ch13
0000034us Pkt036 Ch13
Hop: 1st data pdu
Hop: next state 2
2080630us Pkt037 Ch34
2469888us Pkt038 Ch33
0000029us Pkt039 Ch33
2478129us Pkt040 Ch32
0000034us Pkt041 Ch32
2473990us Pkt042 Ch31
0000030us Pkt043 Ch31
0810932us Pkt044 Ch30
0000030us Pkt045 Ch30
3313649us Pkt046 Ch17
0003895us Pkt047 Ch17
1646765us Pkt048 Ch4
0000035us Pkt049 Ch4
0811003us Pkt050 Ch3
0000042us Pkt051 Ch3
2473848us Pkt052 Ch2
0000089us Pkt053 Ch2
0811006us Pkt054 Ch1
0000030us Pkt055 Ch1
2473885us Pkt056 Ch0
0000031us Pkt057 Ch0
0823387us Pkt058 Ch12
0000031us Pkt059 Ch12
0811066us Pkt060 Ch11
0003970us Pkt061 Ch11
...
I thought it should be something like:
Ch13
Ch26
Ch2
Ch15
...


streamline() not working correctly

When using streamline() to draw streamlines from 3-D vector data, a polar plane is being printed on top of the lines.
[x,y] = meshgrid(0:0.1:1,0:0.1:1);
u = x;
v = -y;
figure
startx = 0.1:0.1:1;
starty = ones(size(startx));
streamline(x,y,u,v,startx,starty)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/1003/#/) plots:

Examples on using streamline() can be found on:
https://www.mathworks.com/help/matlab/ref/streamline.html

This issue was fixed join to the issue #302. Specifically using this PR https://github.com/plotly/plotly_matlab/pull/317

@xarico10 please update your local master brach (using git pull) and test this again :)


Error Streaming to Chromecast Audio Group

Hi there,
Thanks for this great module! Using the sample provided in the README.md I have a working app streaming to one Chromecast Audio at a time. I also have these same devices in a Cast Group. I can find each device and the group:
found device "Living Room" at <IP_ADDRESS>:8009
found device "Basement" at <IP_ADDRESS>:8009
found device "All Speakers(1)" at <IP_ADDRESS>:38143

(I have no idea why it's adding the (1) to the end of my group. Separate question I guess.)
However, if I try to play to that group, it seems to almost work, and then it fails:
connected, launching app ...
app "Default Media Receiver" launched, loading media http://<IP_ADDRESS>:3000/All_Speakers(1).mp3 ...
[Error: Load failed]

Do you have any idea why it is failing to load? Is there something different I have to do on a group? Does the fact that it's using a different port have anything to do with it?
I have also confirmed that I never get an HTTP request to the media URL that it's trying to load. It looks like it never makes it that far. Any help you could offer would be great!
Thanks!

Hello. Could you run your script prefixed in debug mode and post the log ?
DEBUG=* node yourscript.js

Sure! Here's the log.
log.txt
I also noticed that I hear the connect sound on one of the Chromecast audios, but not the other one. Not sure if that helps.

Hmm...I discovered if I remove the (1) from the path that makes the [Error: Load failed] go away :) I guess something didn't like those parentheses. Maybe because that was part of the media URL that I was telling it to request.
But it's still only working with one Chromecast. Is there something else I need to do to get audio out of both?

Well, the log doesn't bring in much information. Looks like all we'll know from the group Chromecast is that the LOAD command fails. I don't know anything about groups by the way. Are you positive playing on groups with the default media receiver is possible ? If it is, you may want to find a regular sender that demonstrates it and sniff traffic to learn what's needed exactly to get it to work.
You'll find instructions here.

Okay. Maybe I'll have to dig into it more. I thought I read in another issue that groups worked but maybe that was just for discovery. I'm not really sure how the default media receiver works yet. Thanks for your help!


Support for a QueryBuilder like interface

As defined in scalafiddle.io/sf/4eoQgyD/29 a QueryBuilder object that can work over types such as Option, Set, List, etc.. would be a great addition to quill.
cc: @fwbrasil
@getquill/maintainers

How this QueryBuilder should interact Query?
Should it be just additional class without relation to Quoted[Query]?
I mean is it supposed to be exported to end users and they will use it instead / without quote {}?

@likern It should be an extra API to help with dynamic queries. Have you seen https://scalafiddle.io/sf/4eoQgyD/29? We could create additional methods for similar operations.

@fwbrasil Yes, my code is based on those approaches. QueryBuilder with base and additional methods. For example
QueryBuilder(cases)
      .filterOpt(Some(workListId))(quote((x: Case, y: Int) => x.ids.workListId == y))
      .filterOpt(params.reference)(quote((x: Case, y: String) => x.ids.reference == y))
      .filterOpt(params.createdFrom)(quote((x: Case, y: ZonedDateTime) => x.info.creationDate >= y))
      .filterOpt(params.createdTo)(quote((x: Case, y: ZonedDateTime) => x.info.creationDate <= y))
      .filterOpt(params.updatedFrom)(quote((x: Case, y: ZonedDateTime) => x.info.updateDate >= y))
      .filterOpt(params.updatedTo)(quote((x: Case, y: ZonedDateTime) => x.info.updateDate <= y))
      .drop(params.skip)
      .take(params.take)
      .build
...

and one of methods
def filterOpt[U: Encoder](value: Option[U])(f: Quoted[(T, U) => Boolean]): QueryBuilder[T] = {
  value match {
    case None => this
    case Some(v) =>
      QueryBuilder {
        quote {
          query.filter(f(_, lift(v)))
        }
      }
  }
}

@likern I see, there's some overlapping between the APIs (Query/QueryBuilder). I think we should avoid it, maybe we could have a method thenWith that would give the user access to the Query API?
QueryBuilder(cases)
      .filterOpt(Some(workListId))(quote((x: Case, y: Int) => x.ids.workListId == y))
      .filterOpt(params.reference)(quote((x: Case, y: String) => x.ids.reference == y))
      .filterOpt(params.createdFrom)(quote((x: Case, y: ZonedDateTime) => x.info.creationDate >= y))
      .filterOpt(params.createdTo)(quote((x: Case, y: ZonedDateTime) => x.info.creationDate <= y))
      .filterOpt(params.updatedFrom)(quote((x: Case, y: ZonedDateTime) => x.info.updateDate >= y))
      .filterOpt(params.updatedTo)(quote((x: Case, y: ZonedDateTime) => x.info.updateDate <= y))
      .thenWith(params.skip)(_.drop)
      .thenWith(params.take)(_.take)
      .build

I'm not sure _.drop would work out of the box, though. I think we'd need to change the quoted functions to be curried:
def thenWith[U: Encoder](value: Option[U])(f: Quoted[T => U => Boolean]): QueryBuilder[T]

In QueryBuilder methods drop and take takes Option. I would prefer a broader interface, even though it might overlaps with Query interface. Otherwise it's misleading what and when to use. For example you have to use QueryBuilder and drop with Option
def drop(value: Option[Int]) = value match {
  case None => this
  case Some(x) => QueryBuilder {
    quote {
      query.drop(x)
    }
  }
}

But once Option[Int] will be changed to Int, or otherwise, you have to fallback to thenWith(params.skip)(_.drop), changing code directly. I'd like a way it will work without any modification.
For that is required overlapping drop method
def drop(value: Int) =
  QueryBuilder {
    quote {
      query.drop(value)
    }
  }

@fwbrasil @likern @adam-singer Has there been any progress on a unified implementation of this or are people just all rolling their own as suits their needs?

Also, it seems like currently in Quill 2.5.4 the method illustrated in the ScalaFiddle link doesn't really work anymore.
With
  case class QueryBuilder[T](quillQuery: Quoted[Query[T]]) {

    def ifDefined[U: Encoder](value: Option[U])(f: Quoted[(Query[T], U) => Query[T]]): QueryBuilder[T] =
      value match {
        case None => this
        case Some(v) =>
          QueryBuilder {
            quote {
              f(quillQuery, lift(v))
            }
          }
      }

    def build: Quoted[Query[T]] = quillQuery
  }

I get compile errors like
[error] /rhome/adamj/Development/Personal/Scala/collectioneer-rest-api/src/main/scala/com/github/oopman/collectioneer/server/data/CollectionObjects.scala:45:8: type mismatch;
[error]  found   : CollectionObjects.this.context.Quoted[CollectionObjects.this.context.Query[com.github.oopman.collectioneer.server.data.Models.Collection]]
[error]  required: CollectionObjects.this.context.Quoted[CollectionObjects.this.context.EntityQuery[com.github.oopman.collectioneer.server.data.Models.Collection]]{def quoted: io.getquill.ast.Entity; def ast: io.getquill.ast.Entity; def id667029609(): Unit; val liftings: Object}
[error]       .build
[error]

@OOPMan Now I'm out of a scope as don't use Scala language =)

@likern My condolences :-)

In case anyone doesn't keep up with Gitter, the issue was caused by me using var and not explicitly specifying the type to be Quoted[Query[Collection]


https://dev.twitter.com/oauth/3-legged

can this be done here ?
tweet on behalf of user ?

Yes, technically you can issue the required http requests to accommodate 3-legged auth with this library.  The workflow to tie them all together would need to live in an application of your own design.  This currently out of scope in this lib.


Kitematic Freezing on startup OSX

Expected behavior
Expect the checking docker screen to run from 0-100% and then proceed to the login screen.
Actual behavior
Checking docker screen moves from 0-5% and then goes straight to the login screen with the cursor caret frozen immediately. Happens consistently.
Information about the Issue
Kitematic only installed for the first time today, issues have occurred since first run.
Kitematic was installed form the latest version of docker toolbox (1.12.0)
Docker Version 1.12.1-beta24
Virtual Box 5.0.26
OS X El Capitan 10.11.6
Have not been able to determine any additional information from trying to reproduce the issue. Have tried running:
docker-machine rm -f dev && docker-machine create -d virtualbox dev
as per this page to no avail.
No reported error messages are presented.
Steps to reproduce the behavior

Start up Kitematic from applications folder or terminal.

Please let me know if I can provide any more information to help👌

Since you're running on a Mac 10.11.6 - I would recommend using Docker for Mac:
https://www.docker.com/products/docker/#mac

Thanks for your response, @FrenchBen - Unfortunately this didn't resolve the problem for me, but I'll continue to look into it and report back to the ticket if I find a solution.

@Scoutski looking at this info:
Docker Version 1.12.1-beta24
Virtual Box 5.0.26
OS X El Capitan 10.11.6

It's a bit a mix and match.
If you're using Docker for Mac, there is no need for any virtualbox whatsoever. You can simply run containers without it, as Docker for Mac handles all of the heavy lifting.

Hi @FrenchBen - Thanks for your response.
I think initially I wasn't actually using Virtual Box when it was present. I was trying to use Docker for Mac. I've been able to get around the issue using Virtual Box for now, but was never able to get it running with Docker for Mac 😢. I understand that it isn't an ideal solution, but my use case is personal and pretty limited so it's not a big problem for me. Again, I appreciate you getting back to me on this.

@Scoutski for development purposes it would be nice to know what's causing the blockage and what prevents you from using Docker for Mac and Kitematic together


How i can check screen state at load time and save time

I want to check if there is any change in existing data or not. If not i want to avoid http request and navigate to next page, if yes i want to save that data on server and then navigate to next oage

@umersaddiq
It seems you are asking for code support for which StackOverflow is a right platform.
Closing from here as this isn't a bug or feature request.

Okay
On Thu, 8 Jul 2021 at 13:40, darshankawar @.***> wrote:

Closed #86079 https://github.com/flutter/flutter/issues/86079.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/86079#event-4993525182, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANCOXC32MGVROSUMBKJR43TTWVQBLANCNFSM5AAECCUQ
.


New Website Logo: Villamedia

Hello TypeScript friends!

Name: Villamedia
Homepage url: http://www.villamedia.ca
Brand Guidelines/Licensing: Please request alternate version of logo if using on a dark background
Logo:
Logo src: http://villamedia.ca/villamedia-logo.svg

Keep up the awesome work!

Logo uploaded, should be out in the next site refresh.


Fix visual bug with cluster description on main side nav

Summary
Fixes #10694

Occurred changes and/or fixed issues

Fix visual bug with cluster description on main side nav

Technical notes summary

Areas or cases that should be tested

Follow repro steps on #10694

Areas which could experience regressions

Screenshot/Video

Before

After

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@torchiaf this is tagged for manual QA test since it's a cosmetic issue


Possible security issue using postMessage with "*" as target

Hi,
I've been playing around with your library and was curious about the code. I have noticed that when you use postMessage for cross domain comunication you specify "*" as target (lines 406 and 516). This might be a securiy issue because from what I understand malicious sites could receive the message
From
https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#security_concerns

Always specify an exact target origin, not *, when you use postMessage to send data to other windows. A malicious site can change the location of the window without your knowledge, and therefore it can intercept the data sent using postMessage.

Since the domain where to send the event is known when postMessage is called, wouldn't it be better to just specify it as postMessage parameter?

Can you create a PoC of the issue where this is a problem?

Hi,
I'm sorry it took a while to answer but I've been trying to find a way to to show it might be an issue.
But it looks like the way the call to postMessage is used can't be exploited (At a certain point I felt like I almost made it but in a way that required the original site to be already compromised by allowing deliberate XSS attacks so sysend would be the least of the problems by then).
Anyways I don't think I'm the most qualified person to confirm 100% this won't be a problem, but as far as I'm concerned this issue can be closed
Thanks

There is already channels that limit number of other domains that can listen to sysend events, I can check if I can use the same domains in post message. Another protection will not hurt. Will do this when I will get back home. I'm on holiday.

Thanks, wish you a good holyday :)

I'm closing this issue, the code checks the domain on the iframe before it sends the postMessage:
            if (is_valid_origin(origin(iframe.node.src))) {
                iframe.window.postMessage(JSON.stringify(payload), '*');
            }

So this should not be an issue, there is no need to add the same origin as origin(iframe.node.src).


Refactor sortBy to take read only array

Links to documentation: https://ramdajs.com/docs/#sortBy
Link to GitHub or NPM: https://github.com/ramda/ramda
Type of contribution: refactor

Other notes:

PR to flow-typed raised:
https://github.com/flow-typed/flow-typed/pull/3678


Tutorial crashes after exhausting all dialogue options

Description
Tutorial crashes after exhausting all dialogue options - clicking next will crash the game rather than proceeding to the main game as intended.
How To Reproduce
Steps to reproduce the behaviour:

Go to the tutorial
Keep clicking next on all the dialogues, until game crashes and exits

Expected Behaviour
The game should have proceeded to the main game after all tutorial dialogues are exhausted
Fix
Resolved by setting game screen to LOADING in onNext() in TutorialActions.java (after all dialogues exhausted)

Resolved by setting game screen to LOADING in onNext() in TutorialActions.java (after all dialogues exhausted)
Code snippet
`private void onNext() {
logger.info("change dialogue");
    if (this.count < tutorialDialogues.length) {
        display.setDialogue(tutorialDialogues[count]);
        // go to next dialogue
        this.count++;
    }

    if (this.count >= tutorialDialogues.length) {
        game.setScreen(GdxGame.ScreenType.LOADING);
    }

}`


Save depth frames for later processing

Required Info

Camera Model
D405

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Kernel Version (Linux Only)

Platform
PC

SDK Version
2.51.1

Language
python

Segment
others

Issue Description
Hello, I think this is one of the more common issues on here, but unfortunatly I haven't found a good solution for me yet. Apologies, if I've overseen a previous answer.
I need to record 15 minutes long videos, apply some filters and use the result for some measurments.
How can I save more than the first 15 depth frames in python for this task?
One solution I found was to restart the pipe as suggested in this comment: https://github.com/IntelRealSense/librealsense/issues/946#issuecomment-497157740
I tried to implement it in the while loop of the "Read bag from file" example, but this will just give me the first 15 frames over and over again:
[...]
if i % 15 == 0: #Restart Pipeline
    pipeline.stop()
    pipeline.start(config)

[...]
The other possibility I found was to use the keep( ) function, but according to another commed I found,
this won't work well for more than 30 seconds (https://github.com/IntelRealSense/librealsense/issues/6146#issuecomment-605461606).
Thank you very much in advance for any help.

Hi @FerdiReh  It is typically the use of the append instruction in a Python script that causes the issue with the 15 frame limit referenced at https://github.com/IntelRealSense/librealsense/issues/946#issuecomment-497157740
So if you are using an append in your project then changing the project to avoid the need for appending may resolve the issue if it is possible for your project to make such a modification.

Use of the simple Python bag recording script at https://github.com/IntelRealSense/librealsense/issues/10184#issuecomment-1021252830 may also achieve your goal of recording a 15 minute file of camera data without the 15 frame limit.


Need help in running playwright serenity js example

Hi team,
I Need help in running playwright serenity js example, i used below template and used npm test but when i checked index.html, nothing is appearing.
https://github.com/serenity-js/serenity-js-cucumber-playwright-template#readme
@jan-molak

Hi @AnnneN! It's challenging to help you without seeing what you see.
Serenity/JS Cucumber Playwright Template is configured to run the tests and publish test reports to GitHub Pages, and those seem to be produced correctly. I can't reproduce the issue locally either, I'm afraid.
If you believe there's a bug in the template or Serenity/JS itself, I'd be grateful if you could follow the bug reporting guide and share:

the details of your execution environment, so the operating system and version of Node JS
printout of npm ls --all so that we can see if there are any issues with your Serenity/JS installation
log output produced by the test run

And anything that you think could help us reproduce the issue. Thanks!

Thank you for reply but let me explain again.
I downloaded the above template and ran below command
npm ci( success)
and now I run npm test
now the issue is I dont see any out put, I also checked in folder 'target/site/serenity' but no tests there.

Sure, but since the template seems to work correctly on CI and other machines, I suspect some issues with the local setup. To verify that, we need to know the difference between your setup and the ones that work, hence my questions above.

node version is 17.6.0

OK, so as you can see in the Serenity/JS installation guide, Serenity/JS supports only Long-Term Support versions of Node.js.
Node 17 is not an LTS but a dev version of Node.js, so I'd suggest to start with upgrading to Node 18 which is the current LTS.

Thanks, I was able to run after node upgrade.

Great, thanks for confirming! Enjoy Serenity :-)

Another question, why arent we using playwright.config file here.
What can I do if  want to use it..also I want to mention which features needs to be run.
How can I do so? Pls guide.

@jan-molak  pls look into my query


Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505

https://code.djangoproject.com/ticket/24345

buildbot, test this please.

merged in f668bac9d223408627ca92b2281cf7110039510b, thanks.


UI Grid remote pagination not working with data swap

I was successful in getting client side pagination to work with swapping data; however, I've not been able to get remote pagination to work with swapping data.  I believe this is a bug in the code, else more documentation needs to be provided to clarify how it should work.
As an example, I've combined the code examples on the Angular UI Grid page "314 Remote Pagination" and "112 Add/Delete/Swap".  When doing so you'll find that when you go to swap data it does not refresh the pagination controls on the grid.
main.css
  width: 600px;
}```

index.html

<!doctype html>

Swap Data

```
app.js
var app = angular.module('app', ['ngTouch', 'ui.grid', 'ui.grid.pagination']);

app.controller('MainCtrl', [
'$scope', '$http', 'uiGridConstants', function($scope, $http, uiGridConstants) {

  var paginationOptions = {
    pageNumber: 1,
    pageSize: 25,
    sort: null
  };

    var data2 = [
    {
      "name": "name1",
      "company": "company1",
      "gender": "male"
    },
    {
      "name": "name2",
      "company": "company2",
      "gender": "male"
    },
    {
      "name": "name3",
      "company": "company3",
      "gender": "male"
    },
    {
      "name": "name4",
      "company": "company4",
      "gender": "male"
    },
    {
      "name": "name5",
      "company": "company5",
      "gender": "male"
    },
    {
      "name": "name6",
      "company": "company6",
      "gender": "male"
    }
  ];

  $scope.swapData = function() {
    $scope.gridOptions.data = data2;
  };

  $scope.gridOptions = {
    paginationPageSizes: [25, 50, 75],
    paginationPageSize: 25,
    useExternalPagination: true,
    useExternalSorting: true,
    columnDefs: [
      { name: 'name' },
      { name: 'gender', enableSorting: false },
      { name: 'company', enableSorting: false }
    ],
    onRegisterApi: function(gridApi) {
      $scope.gridApi = gridApi;
      $scope.gridApi.core.on.sortChanged($scope, function(grid, sortColumns) {
        if (sortColumns.length == 0) {
          paginationOptions.sort = null;
        } else {
          paginationOptions.sort = sortColumns[0].sort.direction;
        }
        getPage();
      });
      gridApi.pagination.on.paginationChanged($scope, function (newPage, pageSize) {
        paginationOptions.pageNumber = newPage;
        paginationOptions.pageSize = pageSize;
        getPage();
      });
    }
  };

  var getPage = function() {
    var url;
    switch(paginationOptions.sort) {
      case uiGridConstants.ASC:
        url = 'https://cdn.rawgit.com/angular-ui/ui-grid.info/gh-pages/data/100_ASC.json';
        break;
      case uiGridConstants.DESC:
        url = 'https://cdn.rawgit.com/angular-ui/ui-grid.info/gh-pages/data/100_DESC.json';
        break;
      default:
        url = 'https://cdn.rawgit.com/angular-ui/ui-grid.info/gh-pages/data/100.json';
        break;
    }

    $http.get(url)
    .success(function (data) {
      $scope.gridOptions.totalItems = 100;
      var firstRow = (paginationOptions.pageNumber - 1) * paginationOptions.pageSize;
      $scope.gridOptions.data = data.slice(firstRow, firstRow + paginationOptions.pageSize);
    });
  };

  getPage();
}
]);

As a test, I tried adding a button that when clicked it set's the grid's current page to 1.  Setting the paginationCurrentPage property doesn't do anything.
    function testSetToPage1() {
        $scope.resultsGrid.paginationCurrentPage = 1;
        safeApply($scope, null);
    }

I was able to get this to work by forcing a refresh on the grid.  Doing $scope.$apply() doesn't do it.  You have to do the following...
$scope.gridOptions.totalItems = totalItems;
ui.grid.core.refresh();

Maybe the totalItems of gridoptions is set after the grid's initialization so you can use:
$scope.gridApi.grid.options.totalItems = 100;


Tile qt window launched from shell

For development I am using neovim-qt compiled from source. To launch it I am using a little alias around launching the program from shell
gnvim() {
  ABSOLUTEPATH=`realpath $1`
  open -n -a ~/src/neovim-qt/build/bin/nvim-qt --args -- $ABSOLUTEPATH
}

I tried adding
kwmc rule owner="nvim-qt" properties={float="true"}

and
kwmc rule owner="nvim-qt" properties={role="AXStandardWindow"}

but the window is still getting ignored by kwm. ./kwmc query window list doesn't list the window either.

Can you share what Accessibility Inspector has to say about that window?

It seems to be nothing out of the ordinary from what I can tell. How can I debug this?

Can you confirm that it tiles properly if not launched through the shell?
I had this issue with some applications as well, only when launching from the shell.
It caused OSX to set a "background only" flag in the process information, which Kwm filters away due to most of them not being interactable. See https://github.com/koekeishiya/kwm/blob/master/kwm/axlib/carbon.cpp#L31

I'm not able to launch the app without the shell. Double-clicking the binary it will spawn a terminal window which then executes nvim-qt.
open -a /path/to/nvim-qt has the same result as my custom shell command.
Can I mark this window inside kwm for it to find it or remove the background flag or do I have to package it into a .app?

You can try to edit out the return statement in the code I linked above and see if that is indeed the issue.

I can confirm, this is indeed the issue. Removing that statement is tiling the nvim-qt window correctly

Aight, gonna try come up with some system that allows whitelisting of processes through the kwmrc config file.

Thank you. Is it harmful if I leave that code removed for now on my system? What could happen?

Not harmful, just tries to create accessibility references to processes that most likely does not have it enabled, thus using a bit more resources.
Things like safari.webkit and so on.

I've added the command kwmc whitelist processname in the latest commit.
In your case, simply add kwmc whitelist neovim-qt in one of your config files.

Works great! Thank you for being so fast with these issues 👍 👍 👍


training on "Answer not available" ?

Any suggestions on how to train network on "Not available" answer for the questions which cannot be answered from the context.

Hi @nehaboob . To answer the question from outside of the given context paragraph you need to replace the answer pointer network to a decoder network with fixed dictionary size. You should expect the performance drop since you are giving up the assumption that the answer lies within the context.

since network is trained to predict probability of start and end of answer context, can we use that probability to find out if answer might not be present in the context ?

A good method might be to add a dummy word in front of each paragraph and then generate multiple samples (maybe by matching the question to a wrong paragraph) where the "answer" is the dummy word added in front of the paragraph.
During inference then the "no answer found" case is when the system predicts that default word.

Great. With this we can avoid tuning a probability threshold and can keep the assumption that answer lies in the context. I will try this.

I'll close this for now. If problems arise feel free to reopen this.

Sure. Thanks.


fix h264 by adding ffmpeg_branding

windows & linux

waiting for https://github.com/livekit/rust-sdks/actions/runs/6846308890


Active sound with combo mode

I love new combo mode. Would be great if editor play sound 'Awesome', 'Great', etc after a certain range of combos?

Thank you for your help I got right. I just went to the setting and got it
right. Thank you very much.
On Wed, Oct 12, 2016 at 3:09 PM, Thinh D. Bui<EMAIL_ADDRESS>wrote:

I love new combo mode. Would be great if editor play sound 'Awesome',
'Great', etc after a certain range of combos?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JoelBesada/activate-power-mode/issues/214, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVt0IZl2hhEUm5Bs2PdRNQNtcBbrHm3iks5qzKq6gaJpZM4KUjsF
.

The #264 provides a way to achieve this.


QuickAccent shift+space for going backwards

Description of the new feature / enhancement
I love QuickAccent. It's super convenient to be able to cycle through accented characters by pressing space without having to move my hands from home base. One slight improvement would be the ability to cycle the other way be holding shift (like in many other places, e.g., tab switching)
Scenario when this would be used?
When using QuickAccent by holding and pressing space, wanting to navigate to the left instead of the right
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #21548


Source packwiz mods from Modrinth

I should start sourcing packwiz mods from modrinth to boost their downloads and improve reliability (because CF goes down often).
While packwiz plans to add a command for that, mmc-export could also be used for that, as evident by my test.
The task itself is changing CurseForge to Packwiz-Modrinth.py code to use mmc-export instead of packwiz itself:

Import MultiMC zip to mmc-export
Export it as packwiz zip
Extract the packwiz zip to the correct location

Well, I finally implemented priority for providers, so you can source most of the mods from modrinth, and thoose which wasn't found, from GitHub or CurseForge.


1.20.1

plissss  the update

This is not an issue. Please use issue trackers for actual issues, thank you.
Regarding the update to 1.20: I am working on it.


Threescale 6594

Enables the date filter on liquid templated

We need to review the required tests in CI to discard those that have issues (ie. frequent timeouts) or those that make little sense to have in the required list.


Sjh remove leo data #2f3mqj6

HOTFIX - Leo data is being updated. Creating a release branch from master to avoid DJANGo upgrade changes. Merging in to release branch.

Task linked: CU-2f3mqj6 Remove Leo Data as discussed with chris


Use jQuery call in var $

Art first, great idea and result!
But this PR is maybe more clean to read the code and store jQuery call in a var.
Best regards.

Thank you!


MSL: Fix infinite CAS loop on atomic_compare_exchange_weak_explicit().

The CAS loop on atomic_compare_exchange_weak_explicit() became infinite if the atomic comparison was not equal. See further notes in the in-code comments.

Well no wonder that test caused a GPU hang!

Fun, fun :P


Remove warning when taking snapshot of ZIHDAWG8

Changes proposed in this pull request:

update parameter in ZIHDAWG.snapshot_base should work as advertised.
feature_code should be ignored when getting an update snapshot.

@WilliamHPNielsen

Will merge once ci passes


Make xio use dynamic_view instead of view

That way we can get rid of the template recursion making compilation potentially faster (template recursion currently still in).

fixes #471


stack.FunctionID fix for codegen in the future

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
Attention: 70 lines in your changes are missing coverage. Please review.

Comparison is base (66f5d69) 38.98% compared to head (79f4d13) 52.83%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #894       +/-   ##
===========================================
+ Coverage   38.98%   52.83%   +13.84%
===========================================
  Files         207      250       +43
  Lines       21178    24353     +3175
===========================================
+ Hits         8256    12866     +4610
+ Misses      12572    10533     -2039
- Partials      350      954      +604

Flag
Coverage Δ

52.83% <79.71%> (?)

go-1.20.x
52.83% <79.71%> (?)

go-1.21.x
?

integration
52.83% <79.71%> (?)

unit
?

windows
?

ydb-23.2
52.83% <79.71%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Fields of type String are not getting the @ApiProperty decorator

Hello, thank you for this package it is very useful.
I noticed that for each field in my schema, the generated DTOs doesn't have the @ApiProperty decorator on the fields that are of String type, am I missing something here?

Hm, that shouldn't be the case. Can you share some of your schema.prisma (config, one model)?

Thanks for the quick answer,
this is the config

example of a model:

this is the generated dto

updateDto

it's the same for every other model

My bad I fixed it, it was an issue from my part, there was this line added here

of the same package, I'm not sure how it got there..


Credentials should not be stored in plaintext, much less synced into GitHub as a public gist

At the moment, this (and several other drivers) store creds in plaintext — and worse, when Settings Sync is enabled, they can get sync'd to a public GitHub gist.
(See: mtxr/vscode-sqltools#210, mtxr/vscode-sqltools#479, mtxr/vscode-sqltools#927 …)
There's a new-ish API upstream that you can use for this, to properly behave as an AuthenticationProvider; see mtxr/vscode-sqltools#1066 for an example implementation.
This is pretty critical for us, ugh; but please don't take that too aggressively — I recognize this is a best-effort FOSS project. Take care of yourself. 💜

Hi @ELLIOTTCABLE, I hope this will be fixed in #515.
Btw, vscode has built-in settings-sync feature, so you doesn't need to use extension that pushes them to Gist.
Btw2, my gist was private:


File icons generated css should not hardcode px sizes

Some font based file icon themes — such as Monokai Pro — end up generating css that uses a hardcoded px value for the font size:

Other, like our built-in seti icons, instead use percentages. These size values are specified in the iconThemes json
I think it would be helpful to always use relative units for these in our workbench. I'm currently trying to use the icons in chat for example, and the normal icon size is too large for inline use. For seti I can scale the icons down by setting the parent element's font size. However Monokai Pro just always uses 16px
If I add a font-size: 1em override for the icon element, I can get Monokai Pro working but this breaks seti because it needs that 150% scaling rule or else its icons are tiny
I think we should strongly encourage that icon themes use relative units (either percentages or ems) and also try converting any non-relative units we encounter

Yes, converting makes sense.


How to hack Facebook without being noticed for free 2025

Go to the web: https://bit.ly/3OJQAHR
Attention Facebook users! Hackers are targeting and gaining access to Facebook accounts through a method known as enumeration attacks. This dangerous technique allows hackers to try different combinations of usernames and passwords until they find the right combination to log into an account. From personal photos to sensitive information and private messages, no Facebook account is safe from these cyber attacks. With the number of users on this social network increasing, hackers are finding new opportunities to gain unauthorized access to valuable accounts. It is vitally important to keep our Facebook accounts secure. This article will give you valuable information on how to protect your account from enumeration attacks and prevent hackers from getting hold of your personal data. Don't let your Facebook account fall into the wrong hands. Read on to learn about the steps you can take to ensure your data remains safe on this popular social media platform.
What is enumeration in hacking attacks?
Enumeration methods used by hackers on Facebook
Risks and consequences of enumeration attacks on Facebook
How to protect your Facebook account against enumeration attacks
Steps to strengthen the security of your Facebook account
Recommended tools and software to protect your Facebook account
Tips to create strong and difficult-to-guess passwords on Facebook
How to detect if your Facebook account has been the victim of an enumeration attack
Steps to follow in case your Facebook account is hacked
Final conclusions and recommendations to avoid enumeration attacks on Facebook
Hackers gain access to Facebook accounts through enumeration attacks Attention, Facebook users! Hackers are attacking and gaining access to Facebook accounts through a method known as enumeration attacks. This dangerous technique allows hackers to try different combinations of usernames and passwords until they find the right combination to log into an account. From personal photos to sensitive information and private messages, no Facebook account is safe from these cyberattacks. With the number of users on this social media platform increasing, hackers are finding new opportunities to gain unauthorized access to valuable accounts.

It is vitally important to keep our Facebook accounts secure. This article will give you valuable information on how to protect your account from enumeration attacks and prevent hackers from getting hold of your personal data.
Don't let your Facebook account fall into the wrong hands. Read on to learn about the steps you can take to ensure your data remains safe on this popular social media platform.
What is enumeration in hacking attacks?
What is enumeration in hacking attacks? Enumeration in the context of hacking refers to a process by which an attacker attempts to discover information about a specific system or account. In the case of Facebook, this involves guessing or discovering username and password combinations. This process can be extremely effective if the attacker uses appropriate techniques and has sufficient resources.

Enumeration attacks are particularly dangerous on platforms with a large number of users, such as Facebook. Cybercriminals can use automated tools to quickly try thousands of combinations, increasing the chances of success. As passwords become weaker, the risk of these techniques being successful also increases.
It is important to note that enumeration is not only limited to passwords. Attackers may also attempt to obtain additional information that helps them access accounts, such as associated emails or answers to security questions. This information can be collected through social media or public websites, making the protection of personal information even more crucial.
Enumeration Methods Used by Hackers on Facebook Hackers employ various methods to carry out enumeration attacks on Facebook. One of the most common methods is the use of automated tools that can try a large number of password combinations in a short period of time. These tools can be easily acquired on the black market and are used even by individuals without advanced technical skills.
Enumeration Methods Used by Hackers on Facebook
Another method is so-called “phishing,” where attackers send emails or direct messages that appear to be from Facebook. These messages often include links that lead to fake login pages, where users are tricked into entering their credentials. Once attackers obtain this information, they can access the account without difficulty.
Additionally, some hackers opt for social engineering, which involves manipulating users into revealing sensitive information. This can be done through social media interactions or even phone calls. This approach can be very effective, as many people are more likely to trust a source that appears legitimate.

Risks and consequences of enumeration attacks on Facebook The risks associated with enumeration attacks are significant and can have devastating consequences for affected users. Once a hacker gains access to an Facebook account, they can use it to spread unauthorized content, which can damage the user's reputation. This is especially worrying for influencers, brands, and businesses that rely on their social media presence.
Additionally, unauthorized access to accounts can lead to the exposure of personal and sensitive information. This includes direct messages, private photos, and personal life details that users may not want others to see. Disclosure of this information can result in harassment, extortion, or even identity theft.

Risks and consequences of enumeration attacks on Facebook
Another major risk is the use of hacked accounts to carry out fraudulent activities. Hackers can use compromised accounts to send messages to other users, requesting money or personal information. This not only harms the person whose profile has been hacked, but can also affect their friends and followers, who could fall for it.
How to protect your Facebook account from enumeration attacks Protecting your Facebook account from enumeration attacks is crucial in today's digital age. To do so, it's essential to take proactive measures that strengthen the security of your profile. One of the first things you can do is enable two-step authentication. This feature adds an extra layer of security by requiring a verification code, which is sent to your phone, in addition to your password.

It's also vital to stay alert to potential phishing attempts. If you receive messages or emails that look suspicious, it's important not to click on links or provide personal information. Always verify the sender's address and remember that Facebook will never ask for your password via email.
Also, consider regularly checking your account login activity. Facebook allows users to see from which devices and locations logins have been made to their account. If you notice any suspicious activity, change your password immediately and consider signing out of all devices.

I don't know how I got logged out on my mail account, it hurts a lot thou, cause that's the mail i linked to my business account and also my bank too.I think it was hacked, I tried logging in back with the password i used, still i can't access it, so sad.I just can't let it go i need to find a way to get it back by all means, for days i was doing a research on TIktok hopefully i found a professional hacker called Xiaospy1 platform, After i encountered their recovery service it was so massive and legit, cause they did their best to help me recover my hacked Mail, when they gave me the details to access it i can't thank them enough for their assistance.


Update to Sierra version of Jitouch

You didn't follow the steps listed in the PR template. Namely, you didn't run brew cask style Casks/jitouch.rb: https://travis-ci.org/caskroom/homebrew-cask/jobs/168863351#L426
You can run brew cask style --fix Casks/jitouch.rb to fix those issues.

Thank you for the contribution. It needed some fixes, so they were made in 3a61af920a2582ba552d10dbae118905ff314362. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


cart is empty

Something wrong, I am using Laravel 7.
Using this code:
$cartItem = Cart::add('1', 'ProductName', '100', 1);
dd($cartItem);
$cartItems = Cart::content();
dd($cartItems);

I have:
Melihovv\ShoppingCart\CartItem {#1283 ▼
  -uniqueId: "027c91341fd5cf4d2579b49c4b6a90da"
  +id: "1"
  +name: "ProductName"
  +price: 100.0
  +quantity: 1
  +options: []
}

Illuminate\Support\Collection {#404 ▼
  #items: array:1 [▼
    "027c91341fd5cf4d2579b49c4b6a90da" => Melihovv\ShoppingCart\CartItem {#1283 ▼
      -uniqueId: "027c91341fd5cf4d2579b49c4b6a90da"
      +id: "1"
      +name: "ProductName"
      +price: 100.0
      +quantity: 1
      +options: []
    }
  ]
}

but after reload page, cart is empty. Table 'shopping_cart' is empty too.
My repository:
`'repository' => \Melihovv\ShoppingCart\Repositories\ShoppingCartDatabaseRepository::class,
'database' => [
    'connection' => 'mysql',

    'table' => 'shopping_cart',

],`

What's wrong?

Hello
You need to call Cart::store($user->id); to persist you cart

I don't understand. Can you example full code for create cart and add to cart something? Why you are using $user->id, what if not logged?

If user is not logged in then use something that can identify him. For example, his session id.

Ok, so:
Cart::add('1', 'ProductName', '100', 1);
Cart::store('example2');
$cartItems = Cart::content('example2');
dd($cartItems);

i have dumped cart and new record in db, but after use only
$cartItems = Cart::content('example2');
dd($cartItems);

still dd is empty, why?

Can you reply me? Documentation does not contain these informations.

Yes, you need to use Cart::restore().
Sorry that docs are not so clear. I have almost never used this package myself. I wrote it per one evening for my job interview and after that I have  only been maintaining it.
You always can send pull request with enhancements.


KingfisherDidCleanDiskCache should be a constant

I noticed that the KingfisherDidCleanDiskCache changed from constant to variable in the migration to Swift 3.
IMO, this may be an unintended modification, because any changes to KingfisherDidCleanDiskCache's value may lead to unexpected behaviors.

Yes, you are definitely correct! Thanks!


Add support for Dark Mode

Do you plan to add support for Dark Mode (Android 10/IOS 13)?

Okay, I see that the Google button supports a "darkMode" parameter. So although it's not automatic, you can manually supply it. For example:

darkMode: MediaQuery.of(context).platformBrightness == Brightness.dark

There is no similar parameter for the Facebook button, but it's already white text, so I guess that's okay.


chore(other): remove package-lock.json from playgrounds

@katie-bobbe-genesys I think we can close this draft PR now.


increase obstacle margin

Just made this change without seeing this branch. Fixes collisions in-person. I tested this a bit in sim with root.launch.py and it seems okay too, but unsure if it works across all maps. We should merge this probably before sections next week because I am observing a decent amount of crashing behavior without it.


Fixed z-index calculation error on IE11

In IE11, the zIndex is returned as a number, which has parentsZIndex returned as an empty array.  This empty array has a max value applied, which is -Infinity, which causes the zIndexOffset to not be applied.
Chrome and other browsers accidentally get correct behavior since the zIndex property is returned a string, which makes !== 0 return true.
To unify the behavior, I added parseInt to the comparison, and set a default value of the parentsZIndex to 0, so that the max value is always at least 0.

I know the guidelines say to have a test.  This is a reported issue here: https://github.com/eternicode/bootstrap-datepicker/issues/1787
I'm not a big JS guy, but hopefully someone can run with this.  It's a fairly straightforward fix.

Thanks @allenpiscitello!

@vsn4ik is this covered by tests? Can you maybe provide a test if you have the time?


RootRef not exported in main index.js

[x] This is a v1.x issue (v0.x is no longer maintained).
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
import { RootRef } from '@material-ui/core' should work.
Current Behavior
It seems that (almost) all components are exported from material-ui/packages/material-ui/src in the main index.js file, but not RootRef.
Steps to Reproduce (for bugs)
Just try to import it from @material-ui/core
Your Environment

Tech
Version

Material-UI
v1.2.0

@medihack Good catch! Do you want to work on it? :)

@oliviertassinari Too late ... this project is too well maintained ;-) Next time I'll be faster :-)


@JuliaRegistrator register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/74682
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.3 -m "<description of version>" b2b178593b336ae4a682644e8dc34ae97c21a495
git push origin v0.1.3


The directory structure under tests does not match the source code.

For example, aiaccel/config.py and tests/unit/util_test/test_config.py.

Thank you very much! The test scripts in v2 now follow the structure of the main source code.


Keda v2.15.1 cannot list secrets within the keda namespace

If the permissions.operator.restrict.secret value is set to true, the minimal-rbac.yaml will not have permissions to read the secret within the release namespace. https://github.com/kedacore/charts/blob/1373262f4a262502cbfd4f4c8fd31148d6a48e20/keda/templates/manager/minimal-rbac.yaml#L30-L37
Expected Behavior
It should be properly configured to read the secret created within its namespace.
Actual Behavior
At runtime, the keda-operator logs:
1 reflector.go:147] k8s.io/client-go/informers/factory.go:159: Failed to watch *v1.Secret: failed to list *v1.Secret: secrets is
forbidden: User "system:serviceaccount:keda:keda-operator" cannot list resource "secrets" in API group "" in the
namespace "keda"

Steps to Reproduce the Problem

Set the values for v2.15.1 to define permissions.operator.restrict.secret to true
Deploy the helm chart to the cluster
Tail the logs for errors

Specifications

KEDA Version: v2.15.1
Platform & Version: AWS EKS v1.30
Kubernetes Version: v1.30

Note that an unreleased pull request added more permissions to list and watch. When will this be released?
https://github.com/kedacore/charts/blob/main/keda/templates/manager/minimal-rbac.yaml#L37-L40

See #605 and https://github.com/kedacore/keda-docs/issues/1307

This issue is fixed with the release of v2.15.2.


Added check to ensure FontsData.js doesn't break on fonts without scr…

…ipt tables
I was working on a alternative rendering of opentype feature and wanted to test reacting to a font that doesn't have any opentype features (however unlikely that is). On using such a font, I noticed that FontsData.js assumes a scripts table to be present in the code, and throws an error when there isn't. I simply wrapped that check in an if to avoid failure - maybe there is further actions that should be taken?

Thanks!


User input request with note

Summary
Include a summary of major changes in bullet points:

Feature 1: User input request with note

Before a pull request can be merged, the following items must be checked:

[x] Code is in the standard Python style.
The easiest way to handle this is to run the following in the correct sequence on
your local machine. Start with running black on your new code. This will
automatically reformat your code to PEP8 conventions and removes most issues. Then run
pycodestyle, followed by flake8.
[x] Docstrings have been added in theNumpy docstring format.
Run pydocstyle on your code.
[x] Type annotations are highly encouraged. Run mypy to
type check your code.
[ ] Tests have been added for any new functionality or bug fixes.
[x] All linting and tests pass.

Note that the CI system will run all the above checks. But it will be much more
efficient if you already fix most errors prior to submitting the PR. It is highly
recommended that you use the pre-commit hook provided in the repository. Simply
cp pre-commit .git/hooks and a check will be run prior to allowing commits.

there is no existing test for user_input.py


Npm problems

Getting a 404 on your package on npm
https://www.npmjs.com/package/execSync
However I can find it in the search and npm install execSync works fine.
Odd. Perhaps publishing a new version will fix it.

Project seems abandoned.


Scala Common Enrich: remove executable bit from Scala source files

For some reason, some source files are executable.
They can be found using find . -type f -executable -name "*.scala".

That's odd...


请问下大佬试过多显卡用LAMB吗

tesla v3 pod  2TiB 的内存， TitanX才12GB， 只能放6个512。。我真是白激动一场
我试了下horovod的 tf 的 bert 改lamb optimizer 但
UnknownError (see above for traceback): Horovod has been shut down. This was caused by an exception on one of the ranks or an attempt to allreduce, allgather or broadcast a tensor after one of the ranks finished execution. If the shutdown was caused by an exception, you should see the exception in the log before the first shutdown message. 	 [[node DistributedLAMBOptimizer_Allreduce/HorovodAllgather_gradients_concat_1_0 (defined at <string>:162) ]]

抱歉，才看到，我没在多显卡环境下用LAMB。实验都是在TPU下完成的。


Dockerfile does not build

$ sudo docker build .
Sending build context to Docker daemon 11.78 kB
Step 1/8 : FROM keymetrics/pm2:{{tag}}
Error parsing reference: "keymetrics/pm2:{{tag}}" is not a valid repository/tag: invalid reference format

Feel free to re-open if necessary!


Missing curated data, possible bug

May have found a bug - Declared license field blank https://clearlydefined.io/definitions/nuget/nuget/-/WindowsAzure.Storage/2.1.0
Curated here (https://clearlydefined.io/curations/1192)

@storrisi

@peggymoloney thanks for the catch.
Looks like the service is returning NOASSERTION instead of the curated License which should be Apache-2.0
Moving on the service side so @ignacionr or @geneh could take a look at this.


[Steps/Enhancement] List items displayed full before being shown one by one

When the slides are first loaded, the list items that will be displayed one by one by the step plugin are quickly displayed all (see video).
It would be nice not to have this display 😊
https://github.com/gouz/slidesk/assets/26224751/4f9a4d56-fb95-49b7-bbaa-448f31823286

Yes I confirm it's fixed! 👏


Duplicate alias on 'kconnect to' login with --namespace flag

What happened:
[A clear and concise description of what the bug is.]
Utilizing an alias for 'kconnect to {alias-name}' creates a duplicate entry in history.yaml when the namespace flag is used with kconnect use eks. All attempts to reconnect using that alias fail with the following message "fatal  failed executing root command   {"error": "getting history entry: getting history entry by alias: duplicate alias detected"}"
What did you expect to happen:
duplicate alias are not created when using kconnect to connect using an alias
How to reproduce it:

kconnect use eks --namespace {namespace-name} supply alias name
kconntect to {different-alias]
kconntect to {alias-name]

fatal  failed executing root command   {"error": "getting history entry: getting history entry by alias: duplicate alias detected"}

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kconnect version
info   kconnect - the kubernetes cli   {"version": "0.2.1"}
version: 0.2.1
builddate: "2020-10-20T08:36:51Z"
commithash: d35f6547d69123ace0d53d16c5fe4f5b6f4ded80
goversion: go1.13.15
platform: windows/amd64
compiler: gc
k version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:12:48Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.13-eks-2ba888", GitCommit:"2ba888155c7f8093a1bc06e3336333fbdb27b3da", GitTreeState:"clean", BuildDate:"2020-07-17T18:48:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.18363 N/A Build 18363

Target environment: EKS
Authentication Used (e.g. SAML, IAM, Azure AD):  SAML

Thanks @tckeith - i will investigate

I think this was closed in #170

Yes i think this is fixed now.
@tckeith - the latest version should fix this.

Closing as it was fixed in #170

Closing as it was fixed in #170


1253: dashboard courses and programs tabs aren't screen reader accessible

Pre-Flight checklist

[x] Testing

[x] Changes have been manually tested

What are the relevant tickets?
https://github.com/mitodl/mitxonline/issues/1253
What's this PR do?
Makes sure that screen readers are able to clearly communicate that the user has toggled between the "My courses" and "Programs" tab of the dashboard by announcing the respective tab name when either of the navigation options are selected.
This also fixes an issue with the "three dot" menu on the course card to ensure that the screen reader will only read the menu title and not "more_vert".
How should this be manually tested?

Have mitxonline up and running with a program and course created, program run and course run created, and your user enrolled in both.
Navigate to http://mitxonline.odl.local:8013/dashboard/?enable_programs
Turn on your screen reader.
Use the tab key to navigate to the "My courses" and "Programs" navigational options.
Focus on the "Programs" navigational option and press enter.  Verify that you hear "Programs" first before the screen reader continues reading the rest of the program card.
Bring focus back to the "My courses" navigational option and press enter.  Verify that you hear "My Courses" first before the screen reader continues reading the rest of the course card.
Listen for when the screen reader begins reading the menu title and verify that the screen reader does not say "more vert".

Any background context you want to provide?
Helpful links:
This is where I found the CSS to visually hide elements but ensure that the screen reader announces them: https://www.nomensa.com/blog/how-improve-web-accessibility-hiding-elements
This is where I learned how to have the screen reader announce the course cards and program cards whenever the navigational options are selected: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions

Codecov Report

Merging #1267 (957cf2c) into main (fbab364) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1267      +/-   ##
==========================================
- Coverage   83.12%   83.10%   -0.03%
==========================================
  Files         297      297
  Lines       12015    12015
  Branches      831      831
==========================================
- Hits         9988     9985       -3
- Misses       1797     1800       +3
  Partials      230      230

Impacted Files
Coverage Δ

frontend/public/src/components/EnrolledItemCard.js
57.42% <ø> (ø)

...ntend/public/src/containers/pages/DashboardPage.js
77.50% <ø> (ø)

ecommerce/models.py
85.83% <0.00%> (-0.56%)
:arrow_down:

ecommerce/views/v0/__init__.py
90.00% <0.00%> (-0.42%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add tests for HTTP Sender

@srikanthccv This is no longer needed, right?

@tigrannajaryan yes, the last PR covered what was necessary.


Can I use adaptive card and suggested action both at the same time?

I have a scenario in which I want to display suggested action "Home" on every response of the bot. And I have one scenario in which I am displaying adaptive card to the user as an input form or few actions to be taken by the user, in that scenario as well I want to put this suggested action "Home", upon clicking of which user is redirected to start of the conversation. So Can I do this both at the same time? As adaptive card expects input from the user and so as suggested actions. Please help.

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

ID: 0bd6cc54-ac88-582c-08d7-2d15ebea70ef
Version Independent ID: 80052090-93be-0674-59d4-4c676fd22bd9
Content: Add suggested actions to messages - Bot Service
Content Source: articles/dotnet/bot-builder-dotnet-add-suggested-actions.md
Product: bot-framework
GitHub Login: @RobStand
Microsoft Alias: kamrani

I'm a little confused by your question. Do you want to include one suggested action and one adaptive card in a single dialog? If so, the answer is yes. Or you want to integrate an adaptive card and a suggested action?

@CathyQian  Yes I want to show to the user Adaptive card asking for few input in a form and At the same time a suggested action should be displayed below (not related to Adaptive card) with a suggested action, user can click and can be redirected to start of the conversation.

@anandvardhandas You can use the turn context's SendActivities method to send the card and the suggested actions as two activities. Please reopen this issue if you need more detailed information.