Updated all packages and clean pubspec.yaml from default comments

Please check why it is failing, maybe due to latest publishing of network_tools package.

@guyluz11 It will show conflict because actions forced me to upgrade network_tools


Building Software

Hello, I have executed the command cmake .. successfully.
However, I once execute the make command, the process will be executed till [100%], but then I got the following error:
"""
[ 93%] Linking C executable basic-passwdcheck
[ 93%] Built target basic-passwdcheck
Scanning dependencies of target blank
[ 96%] Building ASM object blank/CMakeFiles/blank.dir/blank.S.obj
[100%] Linking ASM executable blank
/usr/bin/objcopy: Unable to recognise the format of the input file `path_to_repo/ibex-demo-system/sw/c/build/blank/blank'
make[2]: *** [blank/CMakeFiles/blank.dir/build.make:97: blank/blank] Error 1
make[2]: *** Deleting file 'blank/blank'
make[1]: *** [CMakeFiles/Makefile2:421: blank/CMakeFiles/blank.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
"""
I can see the binaries of all demos (basic-passwdcheck, hello_world. lcd_st7735, simpleserial-aes) in their respective folders. But what is the meaning of the last error and is it important?
I would appreciate, if someone knowing the reason of this issue, can explain.
Thanks in advance!

I've never seen this error before. Can you tell me whether it generated the binary: ./sw/c/build/blank/blank? Did you install your RISC-V toolchain from here: https://github.com/lowRISC/lowrisc-toolchains/releases?

Thanks for your fast response @marnovandermaas. No, there is no "blank" in the "/sw/c/build/blank/blank":

What is the purpose of it?
Although I got previosly mentioned error, I could still run the "hello_world" software on the simulated system:

That's why, I have asked what is the purpose of this "blank" and what problem may this error bring?

hi! I am having trouble building the software as well and posted an issuw #82. Would you be kind to let me know how did u get cmake to run?

Having the same issue!!!

The purpose of the blank binary is for programming the FPGA. It is essentially a software image with all zeros. It looks like it is using the wrong objcopy on your system.  Can you try the following patch:
diff --git a/sw/c/gcc_toolchain.cmake b/sw/c/gcc_toolchain.cmake
index d84d1af..00d9e24 100644
--- a/sw/c/gcc_toolchain.cmake
+++ b/sw/c/gcc_toolchain.cmake
@@ -1,6 +1,7 @@
 set(LINKER_SCRIPT "${CMAKE_CURRENT_LIST_DIR}/../common/link.ld")
 set(CMAKE_SYSTEM_NAME Generic)
 set(CMAKE_C_COMPILER riscv32-unknown-elf-gcc)
+set(CMAKE_OBJCOPY riscv32-unknown-elf-objcopy)
 set(CMAKE_C_FLAGS_INIT
     "-march=rv32imc -mabi=ilp32 -mcmodel=medany -Wall -fvisibility=hidden -
ffreestanding")
 set(CMAKE_ASM_FLAGS_INIT "-march=rv32imc")

Please feel free to reopen the issue if the fix does not work.


Parameter properties and anonymous classes result in invalid declaration files

TypeScript Version:  2.7.1, 2.8.0-dev.20180214 (last good version is 2.6.2)
Search Terms: TS2369, parameter property, constructor, declaration, anonymous class
Code
bug.ts:
export class X {
  constructor(readonly a: number) {}
}

export function y() {
  return class extends X {}
}

Run with tsc --declaration bug.ts.
Expected behavior:
Should output a valid declaration file. tsc bug.d.ts should output no errors.
Actual behavior:
Generates:
export declare class X {
    readonly a: number;
    constructor(a: number);
}
export declare function y(): {
    new (readonly a: number): { // <- unnecessary `readonly`
        readonly a: number;
    };
};

and tsc bug.d.ts gives:
bug.d.ts(6,10): error TS2369: A parameter property is only allowed in a constructor implementation.

Playground Link: -
Related Issues: none

@weswigham make sure that we have this case tested in your .d.ts rewrite.

I'm pretty sure I'm going to get the declaration emit rewrite merged, then add tests for or fix all the open declaration emit issues that were assigned to my backlog. This bug, on the other hand, I think is actually in the node builder (not the declaration emitter), since that's what handles printing classes as object literal types.


info about VK_AMD_image_layout_resolve shipping on Catalyst 17.2.3..

I say because may be eventually supported by AMDVLK,
being a shared codebase..

The extension will be added after the spec is ratified

VK_AMD_image_layout_resolve is unnecessary now and will be deprecated even with amdgpu-pro.


optimize image

refs
jtescher/carrierwave-imageoptimizer: This gem allows you to simply optimize CarrierWave images via jpegoptim or optipng. https://github.com/jtescher/carrierwave-imageoptimizer

Remove diff for structure.sql, please.
Because it is not related to optimize image.


Adding Travis CI

@denis-yu-glotov : All commits must have DCO signoff completed.  You can amend this PR by following the instructions in this gist. See step 10 for details.

As @tkuhrt  feedback is addressed, I am merging this PR even though we are seeing intermittent Travis CI failures.  We will debug those in a separate story.


Finishing addition of Page Manager.

Coverage remained the same at 64.215% when pulling 90acd197a483e8d9ce1c42513d3a4167768c6daf on feature/ui_page_management into 890885de2f721628f397d926b6a77a7b06784bff on develop.

Coverage remained the same at 64.215% when pulling 3ad097d906cf7ad6822a5e3a5c1e17668e9c3306 on feature/ui_page_management into 890885de2f721628f397d926b6a77a7b06784bff on develop.

:shipit:


Debugging iwasm on the restrictive shared Linux

I recently tried to run iwasm with CentOS 6.9 / GLIBC 2.12, and I succeeded.
https://gist.github.com/gnh1201/b9c4ee4a98fbb369237b3e447a9550a2
Then, I uploaded the compiled iwasm binary to a shared Linux using the same version. All versions matched, but Segmentation Fault occurred on shared Linux.
It worked well in the same version of the clean system, but not in a shared environment.
I tried debugging using gdb, but there is no debugging symbol for glibc, so no details are displayed.
However, the target system is very limited and cannot be installed.
I wanted the iwasm to act like a busybox, but there seems to be something that cannot.
[utilhome1@h25 ~]$ gdb --args iwasm test.wasm
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/utilhome167/bin/iwasm...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/utilhome167/bin/iwasm test.wasm

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7dd48cb in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.209.el6_9.2.x86_64
(gdb) info registers
rax            0x7fffff3fed70<PHONE_NUMBER>67664
rbx            0x7ffff7ff0720<PHONE_NUMBER>73888
rcx            0x10     16
rdx            0x1000   4096
rsi            0x1000   4096
rdi            0x0      0
rbp            0x7fffffffe280   0x7fffffffe280
rsp            0x7fffff3fed70   0x7fffff3fed70
r8             0x7ffff7ff0720<PHONE_NUMBER>73888
r9             0x2      2
r10            0x2      2
r11            0x246    582
r12            0x7ffff7dd1a00<PHONE_NUMBER>50496
r13            0x3000   12288
r14            0x0      0
r15            0x1      1
rip            0x7ffff7dd48cb   0x7ffff7dd48cb
eflags         0x10287  [ CF PF SF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb)

  >│0x7ffff7dd48cb  movb   $0x0,(%rax)
   │0x7ffff7dd48ce  mov    -0x10(%rbp),%rax
   │0x7ffff7dd48d2  movzbl (%rax),%eax
   │0x7ffff7dd48d5  add    %al,-0x1(%rbp)
   │0x7ffff7dd48d8  jmp    0x7ffff7dd4863
   │0x7ffff7dd48da  movzbl -0x1(%rbp),%eax
   │0x7ffff7dd48de  leaveq     │
   │0x7ffff7dd48df  retq       │
   │0x7ffff7dd48e0  push   %r15│
   │0x7ffff7dd48e2  push   %r14│
   │0x7ffff7dd48e4  push   %r13│
   │0x7ffff7dd48e6  push   %r12│
   │0x7ffff7dd48e8  mov    %rdi,%r12
   │0x7ffff7dd48eb  push   %rbp│
   │0x7ffff7dd48ec  push   %rbx│
   │0x7ffff7dd48ed  sub    $0xc8,%rsp
   │0x7ffff7dd48f4  data32 data32 data32 mov %fs:0x0,%rax
   │0x7ffff7dd4900  mov    %rax,%rbx
   │0x7ffff7dd4903  xor    %eax,%eax
   │0x7ffff7dd4905  cmpb   $0x0,-0x18(%rbx)
   │0x7ffff7dd490c  je     0x7ffff7dd4920
   │0x7ffff7dd490e  add    $0xc8,%rsp
   │0x7ffff7dd4915  pop    %rbx
   │0x7ffff7dd4916  pop    %rbp
   │0x7ffff7dd4917  pop    %r12
   │0x7ffff7dd4919  pop    %r13
   │0x7ffff7dd491b  pop    %r14
   │0x7ffff7dd491d  pop    %r15
   │0x7ffff7dd491f  retq
   │0x7ffff7dd4920  callq  0x7ffff7dc57c0
   │0x7ffff7dd4925  mov    %eax,%ebp
   │0x7ffff7dd4927  lea    0x0(%rbp,%rbp,2),%r13d
   │0x7ffff7dd492c  callq  0x7ffff7dd4750
   │0x7ffff7dd4931  mov    %ebp,%esi
   │0x7ffff7dd4933  mov    %rax,%r14
   │0x7ffff7dd4936  mov    %rax,%rdi
   │0x7ffff7dd4939  callq  0x7ffff7dd4850
   │0x7ffff7dd493e  xor    %edx,%edx
   │0x7ffff7dd4940  mov    %r13,%rsi
   │0x7ffff7dd4943  mov    %r14,%rdi
   │0x7ffff7dd4946  callq  0x7ffff7dc6540
   │0x7ffff7dd494b  test   %eax,%eax
   │0x7ffff7dd494d  jne    0x7ffff7dd4a10
   │0x7ffff7dd4953  xor    %ecx,%ecx
   │0x7ffff7dd4955  xor    %edi,%edi
   │0x7ffff7dd4957  mov    $0x3,%edx
   │0x7ffff7dd495c  mov    $0x8000,%esi
   │0x7ffff7dd4961  callq  0x7ffff7dc6430
   │0x7ffff7dd4966  test   %rax,%rax
   │0x7ffff7dd4969  mov    %rax,%rbp
   │0x7ffff7dd496c  je     0x7ffff7dd4ab0
   │0x7ffff7dd4972  xor    %esi,%esi
   │0x7ffff7dd4974  mov    $0x8000,%edx

Is there any advice I can get?

Since it is a restrictive Linux, the problem in AoT may be caused by the page-guard boundary check feature.

@gnh1201 you can disable the memory access boundary check with hardware trap feature:
cd product-mini/platforms/linux
mkdir build && cd build
cmake .. -DWAMR_BUILD_HW_BOUND_CHECK=1
make

And add the --bounds-checks=1 flag for wamrc to generate AOT code with memory access bound check:
wamrc --bounds-checks=1 -o <aot_file> <wasm_file>

Note: the hw boundary check feature is enabled by default on linux 64-bit platform
to improve the performance, and the aot code generated by wamrc doesn't contain the
instructions to check memory access boundary. Ref to:
https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/build_wamr.md#disable-boundary-check-with-hardware-trap-in-aot-or-jit-mode

I confirmed that the problem with AoT is solved by blocking all routes to 'aot_signal_init'. Perhaps the WASM_DISABLE_HW_BOUND_CHECK flag has the same effect.
However, it is still questionable why REFTYPE and INTERP must also be disabled to function normally.

Not sure why it must disable REFTYPE and INTERP? Do you mean cmake -DWAMR_BUILD_REF_TYPES=0 -DWAMR_BUILD_INTERP=0?
Could you please try using the latest code, and not disabling REFTYPE and INTERP?

Good news. The latest code no longer causes problems with REFTYPE and INTERP. However, we still haven't found a clear cause for the AOT not being available.
My build instruction: https://gist.github.com/gnh1201/b9c4ee4a98fbb369237b3e447a9550a2

First, I'm sorry. There was already an answer, but I wandered around.
cd product-mini/platforms/linux/build
cmake .. -DWAMR_DISABLE_HW_BOUND_CHECK=1

Second, I still don't know why the segmentation fault occurred in the REFTYPE and INTERP functions in the previous version, but it works well now.
All issues have been resolved. Thank you. :)


ShowKeyPlus 1.14.1 - Only English?

@Superfly-Inc
I found on internet ShowKeyPlus 1.14.1.
But it's only English.
No italian version available.

<IP_ADDRESS> is the old .Net Framework version (not the .Net Core version you tested in the Preview ) so it does not have the multilinguage code.
It's just that I have had no luck getting volunteers to do oither language translations - so not sure if the majority of users want this -  it seems we are going to be stuck with English and Italian for the time being.
I will back-port Italian into the next release.

@Superfly-Inc
Please take care that one translator for Italian language will be always there.
Thanks.


Cater for larger high density screens

Would you be able to update for larger high density screens?

Could you please specify the density you need?

Don't know screen sizes off hand, but assuming it would be for xxdpi and xxxdpi screens?

SDP should work for any density.

in phone everything is correct however in tablet somewhere is not correct destiny


Improve configuration cache test coverage for transform actions

Add failing test proving transform actions are re-executed upon input changes.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.


Android app refused

I'm trying to publish my app on the play store.
My app get refused and I received this mail :
https://i.stack.imgur.com/z2dPa.png
Here is my manifest :
https://i.stack.imgur.com/chkOk.png
To add context, my app is used by sport event participant to send an sos to rescuers if they are lost or injured. (ACCESS_COARSE_LOCATION & ACCESS_FINE_LOCATION permissions). In case of poor LTE network (3G/4G) the sos is sent by SMS (SEND_SMS permission).
Also, the organizer can locate a user on demand, without any interaction from the participant. For exemple if the oranizer has no news from someone since several hours, he asks for the participant's location, our backend sends a cloud message to the app, the app wakes up, calculates his position and sends it back to the backend. (ACCESS_BACKGROUND_LOCATION permission).
To finish, the organizer can also sends push notification to participants containing files (READ_EXTERNAL_STORAGE & WRITE_EXTERNAL_STORAGE permissions).
Here is a (french) short video showing how we ask user for permissions. What is important is that we ask location permission and as we need the "Always" choice, we display a tutorial showing how to set it on settings.
https://youtu.be/DBBUBTnQwws
On the android Play Console, I filled two Permissions Declaration Forms, one for the location permission and one for the sms permission. I also give test account credentials.
The problem now is that I have no clue where is the problem... Do you have any ideas ?

This is not related to the library. On iOS, it's important not embedding unused permissions but on Android the system is agnostic.

I'm sorry, I'm not used to post my problems..
This is the code for location permission request :
Android 29+
https://pastebin.com/hiYC6S6E
Android 28
https://pastebin.com/je4YJWQ6
For sms:
https://pastebin.com/iiYu3YcM
For storage:
https://pastebin.com/tDZYJX6F
And to display modals which ask for user permissions:
if (!sendSmsPermissionState.success || sendSmsPermissionState.data !== RESULTS.GRANTED) && sendSmsPermissionIsAskable) { setDisplaySendSmsPermissionModal(true); }
If the permission is not granted and the user didn't click on the skip button, I show the permission modal. When he click on the authorize button on the modal, I request for the permission.
I don't use "Rationale" as I use the request multiple function, do you think it can be the problem source ?

You never request location permission, only checking it?

Sorry, I updated the code with the good functions

Ask Google which permission is not prompted and ask for it.

I opened multiple requests to ask for more informations, they never replied yet, I will let you know when they will :)
But you are right, I should identify first which permission is concerned. I could delete all permissions exexpt one, publish the app, then add another one, but it takes 2 days eveytimes and it will destroy all the code base as I will have to delete also all the features who are using thoses permission...


Use relative links in all lessons

When reviewing the #736 I've noted that this lesson uses an absolute link to other lessons.
I think that having those links relative will help translators a bit + we already use this approach in the majority of links across the site.

Nice catch, @brain-geek!
I've also found ~30 occurrences of absolute paths. Shouldn't we fix them all in a single shot? If so, searching for )[/ might be a good start.
This could also be mentioned in CONTRIBUTING when it will be updated.

@nscyclone Thanks for the idea, I'll look into it and change the PR accordingly.

Commited also all other names.
Looks like the majority of those links were in places where english version had absolute links.
Not sure whether we should add one more point to CONTRIBUTING.

This is awesome @brain-geek!

@doomspork Does this look OK for you to merge? :)

@brain-geek done!


Trim DNA from Genbank downloads

The function acc2gb.py from issue #2 takes a list of accession numbers and downloads all the relevant data from Genbank. We don't need to keep the actual DNA though, and so it would be good to delete the DNA sequence portions of the file to save space and running time.
We need a function that reads in a single large file downloaded from Genbank that potentially contains more than one organism's data, and returns the same file with the DNA portion deleted.
The file Genbank_example.txt is a sample of the type of file downloaded.

trimGenbankDNA.py does this.


How directive in Vue 3 Works

What problem does this feature solve?
cant understand how vue directives works in VUE 3 . It has 4 weeks that I am trying a solution for that .
I didn't found a documentation about that .
A SPA DIRECTIVE IS LIKE THAT -
  app.directive('color', {
    mounted (el, binding) {
      el.style.color = 'purple'
    }
  })

HOW COULD I DO IT IN SSR ? -
export default (dir) => {
  return {
    props: []
  }
}

I don't understand how can I access this props
It looks like does not has this feature for SSR -
https://github.com/vuejs/vitepress/issues/92#issuecomment-739115781
What does the proposed API look like?
I need Directive to click outside in a component in VUE 3 + SSR mode . it only works on SPA mode .

https://github.com/vuejs/vue-next/issues/3298#issuecomment-785607554

This is a missing piece in the docs, but not an issue for this repository. We will make sure to cover it in the upcoming new docs.

thanks @LinusBorg


RPC method for exposing extrinsics/transactions (by block)

I started building a Polkadot Explorer (or more generalized a Substrate Explorer). Check: w3f github for details. This is the first issue posted to request for some additional JSON-RPC methods.
I am currently able to fetch all blockheaders from chaintip back to genesis. This allows for a basic block entity in the Explorer. Next step is create the transaction (extrinsics) entity in the explorer. I'd like to have an additional method available for this. Goal of this request is to allow for the Block Explorer to harvest, index, enrich and aggregate all available Txs/Extrinsics which are included in the chain.
Allowing the txs/extrinsics to be fetched by block allows for some optimizations in the block explorer harvester in case of chain reorganizations and allows for minimized number of JSON-RPC calls.
Suggestions (open for discussion): Experience with building a EVM/Ethereum explorer allows me to make additional suggestions (to minimize) the number of RPC calls. Ideally the txs/extrinsics data should be callable by blocknumber and blockhash and return an array with basic tx/extrinsic data. Perhaps similar to the Ethereum JSON-RPC method "eth_getBlock" with the flag to include txs. And in addition perhaps a aditional methods such as: getExtrinsic(hash), getExtrinsicsByBlockNumber, getExtrinsicsByBlockHash or other more elegant solutions...
Let's discuss how to best implement this.

So the whole block querying is done in #564. I'll see into providing getExtrinsic(hash) method now.

Closing issue, since main RPC is implemented and I'm not convinced we want to build further indexing into core DB.


Creating a file to fix an erroneous import leads to errors not getting generated.

Using Dart Editor with analysis server.

Create a file "file1.dart" and populate it with the text "import 'file2.dart';".  This results in the error message "Target of URI does not exist: 'file2.dart'", as expected.  Save "file1.dart".
Create a file "file2.dart".  This fixes the error message, as expected.
Insert this text into file "file2.dart": "class C { final int i; }"

Expected result: a warning message should appear, with the text "The final variable 'i' must be initialized".
Observed result: no warning.
Digging through the analysis server's instrumentation log and its debugging interface, the file "file2.dart" is in a strange state: the analysis server regards it as an implicitly analyzed file (it should be considered explicitly analyzed), and it has a cached exception for it indicating that the file couldn't be read (in spite of the fact that it *did* successfully read it after I created it).  This cached exception stops the analyzer from generating errors and hints for the file.  (Though for some strange reason, it doesn't stop it from trying to resolve the file).

This appears to have been fixed.


GH-472 Show event actions when dragging from input pins

Fixes #472

Applied to main (=2.1) and branch 2.0.


Remove the deprecated docker executor

Remove the executor code. Remove docker binary from executor.

This would also remove the gzip binary: https://github.com/argoproj/argo-workflows/blob/6566396666163198f2520c9a0790b01ada3863fd/workflow/executor/docker/docker.go#L445

@alexec are we ready for PRs that remove this to be opened?

@blkperl I actually have something in progress locally but let me know if you’d like to work on it and I’ll re-assign to you.

We also need to remove other executors. Plenty for all.

@terrytangyuan I will grab a different one, I didn't notice you were assigned 👍🏻


[jest-jasmine2]: Test throws error when a non promise/undefined value is returned

🐛 Bug Report
I'm not sure if this is a bug report or feature request 🤷♂
Currently Jest throws the following error if the return value from a test is not either a Promise or undefined:
Jest: `it` and `test` must return either a Promise or undefined.

I'm not sure what value this behaviour adds to Jest - while it does seem weird to return from inside a test (as what would you be returning to?) I don't think that it should fail the test by throwing an error.
In jest-chain I've had the following issue https://github.com/mattphillips/jest-chain/issues/1 raised for when using arrow functions without a body i.e.
it('returns 4 for [1, 3]', () => expect(sum(1, 3)).toBe(4));

This causes the error because jest-chain binds all of the available matchers together to be chainable, so the expect statement is no longer returning undefined but rather itself (the expect object).
It appears this behaviour was added a while back when adding support for promises in 644a512d and is not something that is supported in Jasmine itself - nor jest-circus from what I could see.

Solution
I think a better solution to this would be to remove the error throwing code here and instead add a new rule to eslint-plugin-jest if we think this is something that we should advise against rather than throwing an error.
~I'm happy to send a PR with the changes if you guys approve removing this error scenario?~ :smile:
EDIT: It was such a quick change and I wanted to see it working so I've sent a PR see #6517
To Reproduce
it('hello world', () => {
  expect('hello').toBeTruthy();
  return 'world';
});

Expected behavior
I would expect this to not throw an error.
Link to repl or repo (highly encouraged)
https://repl.it/repls/SorrowfulStarkRouter

the reason behind adding this error was that sometimes code under test might return something other than promise when promise is expected.
e.g. if we were to write an async test like this:
test('some async fn', () => {
  return makeHttpRequest('http://jestjestjset');
});

if makeHttpReuqest returns a promise, the test will wait for it to resolve/reject and pass/fail the test based on that.
now if something in the code changes and makeHttpRequest does not return a promise any more and instead takes a callback, the test will just finish as green and exit (and whatever happens with http request will be ignored)
This was a common and dangerous thing :) Things are pretty different now since we mostly use async functions, but i'm still not sure if it's worth removing this invariant.

Ah I see why it was added now :smile: While I agree it’s not good to allow tests to give false positives by passing when never running the async code, I think it would be great if we could offer an alternative solution than throwing.
With async/await and expect.hasAssrtions/expect.assertions(n) we are in a great position to stop recommending that when testing async code you should return a promise. I think we already have some nice eslint rules like: prefer-expect-assertion and there is babel-jest-assertions to automate expect checking.
I think overall I agree with the sentiment of the behaviour but it would be better to provide advice on best practises and  the tools to check for user error rather than throwing an exception.
@aaronabramov how would you feel about moving this to eslint rules etc or do you think it’s too big of a change? Happy to go with what you think dude :)

i also remember than before/afterEach hooks didn't follow the same pattern, but i'm not sure if i'ts still true
should we disallow explicit return in general? by suggesting to replace
test('111', () => {
  return makeHttpRequest();
});

with:
test('111', async () => {
  await makeHttpRequest();
});

@cpojer do you have any thoughts on that?

Adding an eslint rule for "never return anything" is pretty easy as a first step, fwiw

Good candidate for recommended

there may be another use case. I'm an author of bdd-lazy-var tests interface which makes JS BDD test runners like mocha, jasmine and jest to look more like rspec.
Rspec has very nice shortcuts like:
describe Array do
  subject { [1,2,3] }

  it { is_expected.to include(1) }
end

So, is_expected refers to the test subject defined right after describe statement.
I'm in a process of adding support for it without message, so in JS world it looks like this:
describe('Array', () => {
  subject(() => [1,2,3] })

  it(() => is.expected.toContain(1))
})

As you can see it returns expectation. And jest fails with error Jest: itandtest must return either a Promise or undefined.
In order to overcome this, I can create a wrapper function but then I will create a redundant wrapper function for each it statement what doesn't look efficient from performance point of view.
So, I guess the minium which may satisfy all parties is to allow to return expectation instance, undefined or Promise.
What do you think guys?


attendeeId missing when clicking 'Join'

I deployed successfully but when I click the join button, nothing happens and I am getting the above error. Anyone facing similar issues?

I fixed it by adding the roles
aws iam create-service-linked-role --aws-service-name transcription.chime.amazonaws.com
aws iam create-service-linked-role --aws-service-name mediapipelines.chime.amazonaws.com

Yes, creating the SLRs during the deployment was causing issues with multiple deployments, so I had removed it.  Those SLRs are required though.


I built a signed apk of it and tested it on 4 devices. 2 emulators and 2 real devices it worked fine in one real device only in other 3 it get crashed

Flutter initialization failed.
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/lib/x86, /data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at java.util.concurrent.FutureTask.report(FutureTask.java:123)
at java.util.concurrent.FutureTask.get(FutureTask.java:193)
at c2.f.g(Unknown Source:28)
at io.flutter.embedding.engine.d.(Unknown Source:35)
at io.flutter.embedding.android.e.I(Unknown Source:172)
at io.flutter.embedding.android.e.q(Unknown Source:7)
at io.flutter.embedding.android.d.onCreate(Unknown Source:13)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/lib/x86, /data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1657)
at io.flutter.embedding.engine.FlutterJNI.loadLibrary(Unknown Source:13)
at c2.f$a.b(Unknown Source:18)
at c2.f$a.call(Unknown Source:0)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
2023-10-24 02:08:48.846 19827-19827 AndroidRuntime          com.yoshi.rain                       D  Shutting down VM
2023-10-24 02:08:48.851 19827-19827 AndroidRuntime          com.yoshi.rain                       E  FATAL EXCEPTION: main
Process: com.yoshi.rain, PID: 19827
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yoshi.rain/com.yoshi.rain.MainActivity}: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/lib/x86, /data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/lib/x86, /data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at c2.f.g(Unknown Source:478)
at io.flutter.embedding.engine.d.(Unknown Source:35)
at io.flutter.embedding.android.e.I(Unknown Source:172)
at io.flutter.embedding.android.e.q(Unknown Source:7)
at io.flutter.embedding.android.d.onCreate(Unknown Source:13)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/lib/x86, /data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at java.util.concurrent.FutureTask.report(FutureTask.java:123)
at java.util.concurrent.FutureTask.get(FutureTask.java:193)
at c2.f.g(Unknown Source:28)
at io.flutter.embedding.engine.d.(Unknown Source:35)
at io.flutter.embedding.android.e.I(Unknown Source:172)
at io.flutter.embedding.android.e.q(Unknown Source:7)
at io.flutter.embedding.android.d.onCreate(Unknown Source:13)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/lib/x86, /data/app/com.yoshi.rain--15U-ivLXhboVZCkFBeO4Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1657)
at io.flutter.embedding.engine.FlutterJNI.loadLibrary(Unknown Source:13)
at c2.f$a.b(Unknown Source:18)
at c2.f$a.call(Unknown Source:0)

Debug version is working properly in all devices

I also tried it from Google Play and it's working fine. It's strange that the same app is not working from the source code but working fine from Stores. Please Help

If you would've read the logs properly, you would've noticed that you are missing a library.

I downloaded the project again from github, entered the flutter pub get command and added key.properties to the android folder and everything works fine. I do not know what your problems are.

I downloaded the project again from github, entered the flutter pub get command and added key.properties to the android folder and everything works fine. I do not know what your problems are.

Problem is coming with signed apk when we are trying to install and open that signed apk in device app is getting crashed with the error I shared. The debug version is working completely fine. If you are considering all these points and you are not facing this crash, can you please some tips or share some suggestions maybe I am doing something wrong or something wrong with my flutter

what version of flutter do you have?

what version of flutter do you have?

Flutter 3.13.8,
Dart 3.1.4

Then I do not know what the problem is

Then I do not know what the problem is

During building I am getting these messages - (Maybe this is causing that crash)
"e: C:/Users/USER/Desktop/CheckKar/Rain-v.3.6/build/flutter_timezone/.transforms/bd0d96e3ae6dae3966d7a60f5a51aa3d/transformed/out/jars/classes.jar!/META-INF/flutter_timezone_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/Desktop/CheckKar/Rain-v.3.6/build/dynamic_color/.transforms/a3069b1d6caef567ca5effdab79e1600/transformed/out/jars/classes.jar!/META-INF/dynamic_color_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/Desktop/CheckKar/Rain-v.3.6/build/home_widget/.transforms/c21f7eda768a6f1d38460c8a52499322/transformed/out/jars/classes.jar!/META-INF/home_widget_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/Desktop/CheckKar/Rain-v.3.6/build/package_info_plus/.transforms/66d70735ddf33f2e3cbe092bcb9ce5fc/transformed/out/jars/classes.jar!/META-INF/package_info_plus_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/Desktop/CheckKar/Rain-v.3.6/build/workmanager/.transforms/2636aa67fa253cf67f54b0a282914ec9/transformed/out/jars/classes.jar!/META-INF/workmanager_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.10/72812e8a368917ab5c0a5081b56915ffdfec93b7/kotlin-stdlib-1.9.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.10/72812e8a368917ab5c0a5081b56915ffdfec93b7/kotlin-stdlib-1.9.10.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.10/72812e8a368917ab5c0a5081b56915ffdfec93b7/kotlin-stdlib-1.9.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.10/dafaf2c27f27c09220cee312df10917d9a5d97ce/kotlin-stdlib-common-1.9.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1."

No, these errors are not related to this. They just say that it is necessary to update the gradle.

couldn't find "libflutter.so"

Ok, Thanks... Seems like I am stuck because I tried to search this error "couldn't find "libflutter.so"" but lots of people are stuck with this error and there is no proper solution for it..

@NomanBaigA can you check if adding
buildTypes {
    release {
        ndk {
            abiFilters 'armeabi-v7a','arm64-v8a','x86_64'
        }
    }
}

in android\app\build.gradle solves your problem.

@NomanBaigA can you check if adding
buildTypes {
    release {
        ndk {
            abiFilters 'armeabi-v7a','arm64-v8a','x86_64'
        }
    }
}

in android\app\build.gradle solves your problem.
The release group is already there, so just adding ndk should be fine

Thanks for sharing, actually i tried lots of solutions already from the internet

Could be related to https://github.com/flutter/flutter/issues/90586


Add support for multiple cities

Landing page can be a location selector. Each city can be qualified in the url such as hospitaltracker.in/bangalore

Done


Vue config Externals Array Syntax does not work

Version
4.0.0-alpha.5
Environment info
System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 11.13.0
    Yarn: 1.16.0
    npm: 6.7.0
  Browsers:
    Edge: 44.18362.1.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Using a vue.config.js like this:
module.exports = {
  chainWebpack: config => {
    config.externals([
      /@namespace/,
      {
        'jquery': 'jquery',
        'test': 'test',
      },
    ])
  },
}

What is expected?
All the config.externals should be externalized.
What is actually happening?
None of the libraries are externalized, because vue-cli (?) changes the externals to:
{ '0': /@namespace/,
  '1': { jquery: 'jquery', test: 'test' },
  vue: { commonjs: 'vue', commonjs2: 'vue', root: 'Vue' } }

This causes the node_modules\webpack\lib\ExternalModuleFactoryPlugin.jsto ignore  the externals.

I'm not sure if this is caused by the cli or by webpack-chain, but since vue-cli is adding the vue property to the object, I'm guessing that it's vue-cli's doing.

Thanks for submitting this issue! Due to our limited time, we ask you to include a reproduction link to a minimal full reproduction of your problem (for example in a GitHub repository) so we can find what is causing the issue. Thank you for your understanding!

@sodatea Sure, here's the repro: https://github.com/johannes-z/vue-cli-externals
Just npm install and npm run build. The test.umd-report.html shows that the external dependencies are still added to the bundle.

@sodatea Hi, are you sure this is resolved? I just updated the RC0 and it has wrong externals:
λ vue -V
4.0.0-rc.0


Non-literal time intervals

I ran into the restriction that I cannot pass a variable's value into the set_interval! macro. Are there any technical limitations that forbid that or is it possible to support this use case? I'd like to have the ability to change the interval.
let period = 5000;
set_interval!(println!("hey!"), period);

Hi @illright,
thanks for the suggestion and the interest in my library! I'll have a look into it.

Published as v1.2.1 on crates.io. Feel free to open more issues if you are missing more functionality


Add "read csv records"

fixes #228

@ludwigpacifici Nicely done!
I'll just remove the derive debug as it is no longer needed when cleaning up/reordering the csv examples

It's a pleasure! Thanks for your reviews @budziq


Should warn user when Hessian matrix was not positive definite

Just a reminder that we should check this is in MaxLikelihoodFit and warn the user if the constraints etc. may not be accurate

This has since been added so I think we can close this


Getting disabled factions in ladder

Occasionally I get a faction I have deselected/disabled when playing ladder games.
v2023.5.0
Windows 10

This is an issue where the client doesn't resend factions after a connection hiccup

This is an issue where the client doesn't resend factions after a connection hiccup

Would that mean we can just toggle all factions as a "workaround" so that the client again has the factions?

@Giovle
Turn on all factions, then select favorite faction again will work as a temporary workaround. A restart of the FAF client works as well, but not needed with the first approach.


LogBinner overflow handling

In relation to #38. I thought I might as well put up a pull request, since I have the implementation of the overflow vector, large_Binner = LogBinner(small_Binner::LogBinner) and relevant tests are done1. I still have to check/update docstrings.
1 There is no explicit test for correct overflowing, but the tests for LogBinner(::LogBinner) should cover it.

[ ] Check/Update docstrings

See #38


How to find object and display name?

const names = [
{id: 1, name: 'Reda Marriott'},
{id: 1, name: 'Cleta Cheatwood'},
{id: 1, name: 'Penney Fortman'},
];

Hi there, you can achieve this by using a custom menu component: https://stackblitz.com/edit/angular-wgafuw?file=src%2Fapp%2Fmenu.component.ts
Hope that helps! 😄


spack-stack 1.7.0 testing

This is a tracking issue for testing release/1.7.0.
For now, to test out the shortened naming schemes, let's use, e.g., ue-intel, ue-gcc, etc. (and remember to install a separate stack for each compiler).
Systems:

[x] Hercules (@RatkoVasic-NOAA)
/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.7.0/envs/ (gsi-addon-gcc  gsi-addon-intel  ue-gcc  ue-intel)
[ ] Orion (@RatkoVasic-NOAA)
[ ] Discover (@climbfuji and @srherbener)
[x] Casper (@climbfuji)
[x] Derecho (@RatkoVasic-NOAA)
/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-1.7.0/envs (ue-gcc  ue-intel)
[x] Acorn (@AlexanderRichert-NOAA; /lfs/h1/emc/nceplibs/noscrub/spack-stack/spack-stack-1.7.0/envs/ue-intel{19,2022})
[x] Gaea C5 (@RatkoVasic-NOAA)
/ncrc/proj/epic/spack-stack/spack-stack-1.7.0/envs (gsi-addon-intel  ue-intel)
[x] Hera (@AlexanderRichert-NOAA; /scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.7.0/envs/{ue,gsi-addon}-{intel,gcc}; ran a couple of UFS test builds)
[ ] Jet (@AlexanderRichert-NOAA;  /mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.7.0/envs/ue-{intel,gcc})
[ ] Narwhal (@climbfuji)
[ ] Nautilus (@climbfuji)
[ ] S4 (@climbfuji and @ashley314)
[ ] AWS AMI RH 8 (@climbfuji)
[ ] AWS CI cluster (existing, c6i; @climbfuji)
[ ] AWS CI single-node instance (new, c6g; @climbfuji)
[ ] AWS ParallelCluster (decommissioned - if resurrected, then @climbfuji)
[x] NOAA ParallelWorks EPIC (@natalie-perlin)
AWS, GCP: /contrib/spack-stack/spack-stack/1.7.0/envs/ (unified-env installed, currently re-building as ue-intel )
Azure: a mirror is being built as a serial job on a spinned instance/headnode, under /lustre/spack-stack/1.7.0; to be then to be re-built from the mirror under /contrib/spack-stack/spack-stack-1.7.0/envs/ue-intel)
[ ] NOAA ParallelWorks JCSDA (@climbfuji)

Issues encountered:

RESOLVED: Hera needs zlib-ng to be static only. I have added the necessary config changes (incl. update to compiler OS and external OpenMPI module/version).
UFS Weather Model: If testing against UFS Weather Model, note that a handful of changes are needed on account of ip@5. Message me or run a git diff in /scratch1/NCEPDEV/nems/Alexander.Richert/ufs-weather-model to see the changes needed (basically, sp becomes ip in all the CMakeLists.txt's, plus a no-openmp flag needs to be explicitly set in FV3/ccpp/physics/CMakeLists.txt.
On Jet, py-nodeenv and awscli-v2 are failing to build because they can't load ssl_ from urllib3.
grib-util 1.4.0 won't build with older Intel compilers that lack F2018 standard support. If this is a problem anywhere other than Acorn, then let's implement a patch.
To get odc to compile on Acorn, I had to patch the root CMakeLists.txt to use c++17 instead of c++11. Not sure why this isn't an issue on other systems.
Hera: Running out of space for gsi-addon builds
Jet: HDF5 failing to build with gcc due to using the centos7 gcc. Jet site config needs update.

I suggest we do the Orion in a month. It is switching from CentOS to Rocky OS on Apr 24th.

Cloud platforms (NOAA Parallel Works) may take longer to put into team plans, need to leave for April. Rocky8 is now available on the cloud platforms, so two sets of stacks may now be built, one for Centos 7 and another for Rocky8.

Cloud platforms (NOAA Parallel Works) may take longer to put into team plans, need to leave for April. Rocky8 is now available on the cloud platforms, so two sets of stacks may now be built, one for Centos 7 and another for Rocky8.

I'll do the JCSDA ParallelWorks Gcloud build immediately, since we are using the system actively at the moment.

I've updated the list and added my name in various places

@climbfuji - AWS and GCP have been successfully built on NOAA ParallelWorks, under /contrib/spack-stack/spack-stack1.7.0 . Initially built as ./envs/unified-env, and now being re-built as ./envs/ue-intel/
Azure: mirror spack-stack-1.7.0 built has been started on a local instance, as a serial job under /lustre/. When finished, will then be rebuilt from the mirror in a common space under /contrib/spack-stack/.

I have built and tested jedi-bundle on Discover, SCU16 with both gnu/openmpi and intel/oneapi-mpi. Both builds succeeded, and all jedi-bundles tests pass on GNU. However, I'm seeing the following test failures on Intel:
The following tests FAILED:
        408 - saber_test_process_perts_from_csdual_states_2_1-1 (Failed)
        530 - saber_test_process_perts_from_csdual_states_2_2-1 (Failed)
        1538 - ufo_test_tier1_test_ufo_qc_historycheck (Failed)
        1539 - ufo_test_tier1_test_ufo_qc_historycheck_mpi (Failed)
        1540 - ufo_test_tier1_test_ufo_qc_historycheck_unittests (Failed)
        1573 - ufo_test_tier1_test_ufo_qc_variableassignment (Failed)
        2414 - test_soca_forecast_pseudo (Failed)
        2423 - test_soca_parameters_diffusion (Failed)
        2424 - test_soca_enspert (Failed)
        2430 - test_soca_sqrtvertloc (Failed)
        2433 - test_soca_dirac_soca_cov (Failed)
        2434 - test_soca_dirac_socahyb_cov (Failed)
        2435 - test_soca_dirac_diffusion (Failed)
        2438 - test_soca_hofx_4d_pseudo (Failed)
        2439 - test_soca_3dvar (Failed)
        2441 - test_soca_3dvarfgat_pseudo (Failed)
        2442 - test_soca_3dhyb (Failed)
        2443 - test_soca_3dhyb_diffusion (Failed)
        2444 - test_soca_3dhybfgat_pseudo (Failed)
        2445 - test_soca_4denvar (Failed)
        2446 - test_soca_4dhybenvar (Failed)
        2450 - test_soca_addincrement (Failed)
        2451 - test_soca_convertincrement (Failed)
        2500 - test_mpasjedi_lgetkf_height_vloc (Failed)

The saber test failures are due to floating point tolerance being missed in comparisons made after the application successfully fiinishe.
The UFO test failures are crashes and exceptions not being caught by the test setup. It looks like these might be related to accessing netcdf/hdf5 files, but not sure.
The SOCA test failures are due to tolerance in floating point comparisons, floating point exceptoins and crashes due to not being able to find restart files
The MPAS test failure is due to tolerance of floating point comparisons.
Do these test failures look familiar? Is there a chance I did something wrong with the intel build? I'm asking because these tests passed with GNU/OpenMPI.
Thanks!

Did you also try to set up skylab, i.e. install the workflow dependencies?

Yes, and I tried creating an experiment with my GNU/OpenMPI environment. I go this error from create_experiment.py:
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GetObject operation: Access Denied

Another note: for my successful GNU/OpenMP and Intel/oneapi-mpi builds I had gsibec and sp loaded.

Building a mirror on NOAA Azure:
mirror seems to be built successfully under /lustre, and is staged now under
/contrib/spack-stack/spackmirror170.
Getting an error when running the following step:
 spack bootstrap mirror --binary-packages /contrib/spack-stacks/spackmirror170
Error:
 Spack concretizer internal error...

Building a mirror on NOAA Azure: mirror seems to be built successfully under /lustre, and is staged now under /contrib/spack-stack/spackmirror170. Getting an error when running the boostrap step:
[ue-intel] [root@NOAA-AZ:/contrib/spack-stack/spack-stack-1.7.0/envs/ue-intel]# spack bootstrap mirror --binary-packages /contrib/spack-stack/spackmirror170
==> Adding "clingo-bootstrap@spack+python %gcc target=x86_64" and dependencies to the mirror at /contrib/spack-stack/spackmirror170/bootstrap_cache
==> Error: Spack concretizer internal error. Please submit a bug report and include the command, environment if applicable and the following error message.
    clingo-bootstrap@spack%gcc+python arch=None-None-x86_64 is unsatisfiable

We don't usually run this step, why is it needed?

Building a mirror on NOAA Azure: mirror seems to be built successfully under /lustre, and is staged now under /contrib/spack-stack/spackmirror170. Getting an error when running the boostrap step:
[ue-intel] [root@NOAA-AZ:/contrib/spack-stack/spack-stack-1.7.0/envs/ue-intel]# spack bootstrap mirror --binary-packages /contrib/spack-stack/spackmirror170
==> Adding "clingo-bootstrap@spack+python %gcc target=x86_64" and dependencies to the mirror at /contrib/spack-stack/spackmirror170/bootstrap_cache
==> Error: Spack concretizer internal error. Please submit a bug report and include the command, environment if applicable and the following error message.
    clingo-bootstrap@spack%gcc+python arch=None-None-x86_64 is unsatisfiable

We don't usually run this step, why is it needed?

This appeared to be an essential step for the spack-stack to be built from the mirror. If the bootstrap fails reporting a concretizer errors (spack bootstrap mirror --binary-packages /contrib/spack-stack/spackmirror170), the subsequent steps fail as well. The subsequent steps are supposed to be the following:
cd /contrib/spack-stack/spack-stack-1.7.0/envs/ue-intel
spack mirror add local-binary file:///contrib/spack-stack/spackmirror170
spack mirror add local-source file:///contrib/spack-stack/spackmirror170
spack mirror list
spack concretize 2>&1 | tee log.concretize.ue-intel.001
#
spack buildcache update-index local-binary
spack buildcache list --allarch

spack install --cache-only --verbose --no-check-signature 2>&1 | tee log.install.ue-intel.001

What eventually worked out to build a spack-stack-1.7.0 successfully on NOAA Azure was the usual approach to build it in a common space as well, by running it twice. The first installation round did not complete successfully, but the second did. All is installed, modules generated successfully.

Closed via https://github.com/JCSDA/spack-stack/pull/1052


CA1062 giving false warning when nullables are enabled

Moved issue from Visual Studio repo to .NET
Old issue: https://github.com/MicrosoftDocs/visualstudio-docs/issues/5866
Regarding CA1062: Validate arguments of public methods
This is giving me a false positive warning in an ASP.NET Core MVC application.
This happens with .Net Core 3.1 and with .Net 5 (5.0.100-rc.1.20452.10) when using <Nullable>enable</Nullable>.
In more detail....
My application uses the Azure ADFS Workplace sign-on, and has the latest FxCop and StyleCop Roslyn analzers (as an aside, am I right that we no longer need to add the NuGet package Microsoft.CodeAnalysis.FxCopAnalyzers with .Net 5?).
I have a method (in a different class) with the following signature:
public async Task<SomeResponse> DoSomethingAsync(IIdentity identity)

And in that method the following code:
string? adfsUpn = identity.Name;

However, I'm getting a CA1062 warning (error in my case as I treat all warnings to errors) saying that:

Error CA1062 In externally visible method [...], validate parameter 'identity' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.

However, if I put in a test to check for null, e.g.
if (identity == null)
{
    .....
}

then I see that identity can not be null and that identity == null will always be false (as it should be with nullables set).
In addition to this, if I look in my Controller code (where this is called):
var response = await this.InstanceOfClass.DoSomethingAsync(this.User.Identity).ConfigureAwait(false);

then:

when using .NetCore 3.1, intellisense informs me that this.User and this.User.Identity are both never not null
when using .Net 5, intellisense informs me that ``this.User.Identity` may be null and that I can't pass a potentially null value to a method that doesn't allow nulls.

Summary

CA1062 is giving me what looks like a false warning in my method (.Net Core 3.1 and .Net 5)
With .Net Core 3.1, the intellisense in the Controller tells me that the object I'm about to pass down is NOT null (which I think is correct)
With .Net 5, the intellisense in the Controller tells me that the object I'm about to pass down might be null (which I think is not correct)

Thank

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

ID: d0ee01ce-a46f-74b6-eccc-9c9f69c74adf
Version Independent ID: c1d3f414-e493-d3a2-6b7c-729ff3fcc53b
Content: CA1062: Validate arguments of public methods (code analysis) - .NET
Content Source: docs/fundamentals/code-analysis/quality-rules/ca1062.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

then I see that identity can not be null and that identity == null will always be false (as it should be with nullables set)

Nullable reference types helps prevent callers from passing null, but does not guarantee it. Public APIs need to validate arguments even if Nullable Reference Types is enabled and the parameter is declared as non-nullable.

@DrGriff I'm going to close this issue as answered (i.e. it's not a false positive).
For future reference, you can log issues against analyzers at https://github.com/dotnet/roslyn-analyzers.


Test

Test for all apps and utils

hello friends
hope you all ok
i wrote some test (views_test and model_test) for Job application
if you think it is good time, i will send them to take a look at them


realsense2.dll was not found

Required Info

Camera Model
D465

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Platform
PC

SDK Version
{ legacy / 2.49.0. 3474}

Language
C/C++

Issue Description
I'm trying to run the camera in CLion. The first error was it hasn't recognize the header, but adding the include folder had solved it.
I added to my CMakeLists.txt the cmake command which should be enough to connect it to the project and the cmake doesn't show any errors, but neither it connected the libraries correct.
That is the total look of the CMakeLists.txt file:
cmake_minimum_required(VERSION 3.9)

project(data VERSION 0.1 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(WIC_DIR "${CMAKE_CURRENT_LIST_DIR}/../../lib/cmake/WIC/")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../lib/cmake/WIC/")

# Save the command line compile commands in the build output
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)

# Make project require C++11
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
if(COMPILER_SUPPORTS_CXX11)
	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11")
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
elseif(COMPILER_SUPPORTS_CXX0X)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
endif()

# Simple non robust way to find the librealsense library
if(WIN32)
	if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
		set(LIBRARY_DIR "C:\\Program Files (x86)\\Intel RealSense SDK 2.0\\lib\\x64")          # TODO: Update this variable to correct path - folder where realsense2.lib is found
		set(DLL_DIR "C:\\Program Files (x86)\\Intel RealSense SDK 2.0\\bin\\x64")              # TODO: Update this variable to correct path - folder where realsense2.dll is found
	else()
		set(LIBRARY_DIR "C:\\Program Files (x86)\\Intel RealSense SDK 2.0\\lib\\x86")          # TODO: Update this variable to correct path - folder where realsense2.lib is found
		set(DLL_DIR "C:\\Program Files (x86)\\Intel RealSense SDK 2.0\\bin\\x86")              # TODO: Update this variable to correct path - folder where realsense2.dll is found
	endif()
	set(PROJECT_BINARY_OUTPUT_PATH "${PROJECT_BINARY_DIR}/\$\(Configuration\)")                # TODO: Update this variable to correct path - folder to which your project will compile
	set(ADDITIONAL_INCLUDE_DIRS "C:\\Program Files (x86)\\Intel RealSense SDK 2.0\\include")   # TODO: Update this variable to correct path - folder where librealsense2 folder is found
endif()

find_library(REALSENSE2_FOUND realsense2 HINTS ${LIBRARY_DIR} REQUIRED)
if(NOT REALSENSE2_FOUND)
	SET(REALSENSE2_FOUND "realsense2")
	message(WARN "Failed to find_library(realsense2)")
endif()

find_package(WIC REQUIRED)
find_package(Pleora REQUIRED)

add_executable(data main.cpp)

target_include_directories(data PUBLIC ${Pleora_INCLUDE_DIR})

target_link_libraries(data PRIVATE WIC::WIC ${Pleora_LIBRARIES} ${REALSENSE2_FOUND})

include_directories(data ${ADDITIONAL_INCLUDE_DIRS})

set_target_properties(data PROPERTIES FOLDER Examples)

This is the cmake log:
"F:\JetBrains\CLion 2021.2.3\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -DBoost_DIR=F:\WIC_SDK\boost_lib\boost_1_70_0\PREFIX\lib\cmake\Boost-1.70.0 -DCMAKE_DEPENDS_USE_COMPILER=FALSE -G "CodeBlocks - NMake Makefiles" F:\WIC_SDK\examples\wic-module
-- The CXX compiler identification is MSVC 19.29.30137.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: F:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Failed
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Failed
-- Found Pleora: C:/Program Files/Pleora Technologies Inc/eBUS SDK/Includes
-- Found Boost 1.70.0 at F:\WIC_SDK\boost_lib\boost_1_70_0\PREFIX\lib\cmake\Boost-1.70.0
--   Requested configuration: QUIET REQUIRED COMPONENTS container
-- Found boost_headers 1.70.0 at F:/WIC_SDK/boost_lib/boost_1_70_0/PREFIX/lib/cmake/boost_headers-1.70.0
-- Found boost_container 1.70.0 at F:/WIC_SDK/boost_lib/boost_1_70_0/PREFIX/lib/cmake/boost_container-1.70.0
--   libboost_container-vc142-mt-gd-x64-1_70.lib
--   libboost_container-vc142-mt-x64-1_70.lib
-- Adding boost_container dependencies: headers
-- Found Boost: F:/WIC_SDK/boost_lib/boost_1_70_0/PREFIX/lib/cmake/Boost-1.70.0/BoostConfig.cmake (found suitable version "1.70.0", minimum required is "1.70.0") found components: container
-- Configuring done
-- Generating done
-- Build files have been written to: F:/WIC_SDK/examples/wic-module/cmake-build-debug

This is the error that I get when I try to put some code lines which refer to the rs2:

How can I solve it ?
Thank you in advance.

Hi @ilyak93   In the discussion https://github.com/IntelRealSense/librealsense/issues/3782 which sounds similar to your situation, a RealSense team member suggested in https://github.com/IntelRealSense/librealsense/issues/3782#issuecomment-486611797 to copy the realsense2.dll file from the RealSense SDK folder location C:\Program Files (x86)\Intel RealSense SDK 2.0\bin\x64\realsense2.dll to the cmake-build-debug folder.
You can find the path that realsense2.dll is located in by installing the full RealSense SDK on Windows.  This can be done by going to the Assets file list of a particular RealSense SDK version on the SDK 'Releases' page and then downloading and running the file Intel.RealSense.SDK-WIN10, which is an automated installer for the SDK.
https://github.com/IntelRealSense/librealsense/releases

No problem at all, @ilyak93 - thanks very much for the update.  It's great to hear that you succeeded  :)


Chore/semver

:tada: This PR is included in version 0.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Access document within onMount to allow SSR without document dependency

Hello Hartmut!
I really appreciate your work at this component. Maybe you're inspired by Bret Victor, too, or maybe you've seen this kind of Number Spinner component somewhere else? I remember some Adobe tools having this kind of controls as well.
When I tried to use your component in my SvelteKit project, I've got these error messages:
document is not defined
ReferenceError: document is not defined
    at NumberSpinner.svelte:45:25
    at Object.$$render (/Users/d433890/Desktop/Matthias/matths-web/node_modules/svelte/internal/index.js:1677:22)
    at styled-number-spinner.svelte:10:21
    at Object.$$render (/Users/d433890/Desktop/Matthias/matths-web/node_modules/svelte/internal/index.js:1677:22)
    at eval (/src/lib/components/tomato.svelte:48:98)
    at Object.$$render (/Users/d433890/Desktop/Matthias/matths-web/node_modules/svelte/internal/index.js:1677:22)
    at Object.default (/Users/d433890/Desktop/Matthias/matths-web/src/routes/posts/draw-tomatoes.md:26:85)
    at eval (/src/routes/posts/_layout.svelte:45:32)
    at Object.$$render (/Users/d433890/Desktop/Matthias/matths-web/node_modules/svelte/internal/index.js:1677:22)
    at draw-tomatoes.md:9:27

The reason is, that SvelteKit can't apply SSR, because when rendering components at the server, there's no document. So the component has to initialize this as soon as it was rendered. For that, there's the onMount callback.
Maybe you want to have a look at my changes.
Cheers, Matthias

Hello Matthias,
thanks for pointing that out and making the necessary changes. Already merged and I will make a new release soon. Probably today.
In fact, I didn't know Bret Victor. But yes, I've seen this kind of number spinner at some places throughout the last years (even decades :-). I can't remember which, but there was at least one CAD application that also used these modifier keys for slow and fast dragging.


feat(Bicategory/Oplax): Fix simp lemmas and renaming

This PR renames OplaxNatTrans to OplaxTrans and puts it in the Oplax namespace (as there should also be oplax natural transformations between lax functors, so this is more fitting).
It also removes @[simp] from OplaxTrans.id and OplaxTrans.vcomp, and instead adds @[simp!] to the CategoryStruct instance. This is needed as for example, right now, in order to prove that (η ≫ θ).app a = η.app a ≫ θ.app a simp needs to first convert this to (OplaxTrans.vcomp η θ).app a which is not ideal (in particular it converts (η ≫ θ) to OplaxTrans.vcomp η θ).
This is part of some of the restructuring that I want to do before constructing the bicategory of pseudofunctors.

[x] depends on: #18250

It seems like deprecated aliases for the renamed declarations are missing?


Test summary shouldn't be conditional on failure

Also clean up the output slightly for the case where there are no failures.

@swift-ci please test

@swift-ci please test windows

Unfortunately, I won't be able to finish this PR.


Discussion of Redundant Discussions

Is there a way someone smart can pull all discussions and use some NLP to track them against issues? I’ll give you a 🍪

Most discussions start as an issue, just like this one 😂


Fix typos in documentation.

Summary
Fix several typos in documentation. No code changes.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests (Not applicable.)
[x] Ran the ./bin/test script and it succeeded
[ ] Updated documentation if necessary (Not applicable.)

@swift-ci Please test


ODK preparation: No functional changes

This pull request is the first in a series of steps to migrate MP to the new ODK. The order of migration is as follows:

Add ODK related files to repo that are not interfering with the current pipeline. This includes sparql queries, local imports and dosdp pattern related files. (This PR)

Next (after this PR is merged):
2) Change the imports of MP to new, local imports, removing extra and DOID
3) Clearing out foreign axioms from mp-edit.owl
4) Enabling Travis logs for continuous quality control
5) Creating test branch with ODK Makefile(s), and making sure jenkins job works together with @oblodgett and @sbello
6) Designing the workflow that involves pushing back changes to github and creating proper releases
7) Merging ODK PR and live happily ever after.
6 will be the hardest, as the usual workflow was build with a human running it in mind. We will need to think about this quite carefully. One step at a time.

@sbello
Feel free to look through the diff, and involve other people you trust. The important thing is this:

You can see that nothing (no red) was removed, deleted or otherwise altered. Its all additions. But feel free to look this over.  As a tip: hold the alt/option key on your keyboard and click on the caret ^ on the right side on one of the files in the list; this will collapse them all and you can reduce your scrolling to looking at the filenames.

Looks good. I'll have to take some time to make sure I understand what all those sparql queries do but I've merged.

Thanks. Dont worry about these sparql queries for now; we will go through there use once ODK is there. Mostly used in quality control, like finding classes without labels etc.


Ensure consistent behavior of Buffer#subarray (WIP)

Just a WIP until we get to the bottom of #329 (depends on what the bottom is).
Fixes #329.
Closes #351.

Closing for now.


[question] Setting the email clients for litmus

Is it possible to set the email clients for testing with Litmus? Like passing the configuration an array of clients: [ "all outlook", "thunderbird" ] and so on ?
If not, how does the task decide which clients to choose? I can't figure it out.
Thanks!

@aminmeyghani Yes you can alter the list of clients in Gruntfile.js.
Find the client values through this Litmus URL https://{your_company}.litmus.com/emails/clients.xml


[REF]feat: wordware integration

Summary by CodeRabbit

New Features

Introduced a POST endpoint for running Wordware prompts.
Added a ChatLayout component for chat-related content.
Implemented an IndexPage that renders the PromptRunner component.
Added a "Wordware" link to the header navigation.
Introduced various form handling components for better form management.
Added customizable toast notifications with multiple components.
Created the Toaster component for displaying toast messages.
Introduced the PromptDescription and PromptRunner components for handling prompts.
Established chat model configuration through the WordwareProvider interface.

Updates

Updated several dependencies and added new ones for improved functionality.
Removed lottie-react from dependencies.

DO NOT MERGE THIS BRANCH ---- DOCUMENTATION ONLY

@Bran18 -- I turned this PR into a Draft :eyes: to enhance the tag as docs & wip implementation

@Bran18 -- now that we have the WW API up in develop, please confirm if this safe to close?

@Bran18 -- now that we have the WW API up in develop, please confirm if this safe to close?

100% you can close it :raised_hands:
Note: Im still having a local backup just in case


Use plugin publish plugin

Coverage remained the same at 95.092% when pulling 4c9c5fcf6287324fed0909ac76b9e2821eb877bc on feature/use-plugin-publish-plugin into 5aab9d2c0137b6d40e1431139b6023f04d332689 on master.


Automatically update Koryphe version on new koryphe release

Add an action which updates the koryphe version upon a new Koryphe release. It can use the ./cd/updateKorypheVersion.sh script if necessary.
This will save developer time.

Merged into develop


Cascade delete

class A(models.Model):
	...

class B(models.Model):
	a = models.ForeignKey('A')

class C(models.Model):
	b = models.ForeignKey('B')

def log_delete(sender, instance, **kwargs):
	logging

auditlog.register(A)
auditlog.register(C)

When you delete an instance of A cascade delete occurs removing B and C instances. How can I disable signal for child instances on cascade delete by django?

Is this issue caused by django-auditlog or are you referring to djangos default behaviour, if it is the latter you can set the on_delete property on model A to SET_NULL, see Django docs

This is indeed Django's default behaviour. Remember to add blank=True, null=True to the field definition when you set on_delete=SET_NULL.


Update inventory viewer

Fixes #894

Wildcard

@twizmwazin blame it on intellij

No. Intellij has settings. Use them.

@twizmwazin bad default configs

merged


Added support for encrypting and decrypting configuration settings.

MrGeoProperties was changed to add support for decrypting properties by creating an instance of EncryptableProperties if a master password is supplied.  This class extends Properties, detects encrypted properties (by looking for values surrounded with ENC(), and returns the decrypted value.  Behavior when accessing unencrypted properties should be unchanged.  Also added a CLI script for encrypting property values, pom changes to add a dependency on Jasypt (which provides the encrypted properties support), and unit tests for MrGeoProperties.

A minor issue with this request.  Because I put the jasypt dependency in the mrgeo-core pom, the script needs to be run from mrgeo-core.  I can fix it on the next pull request by moving it to the main pom.


[Microsoft.Powershell.SDK]An error occured while use the result of New-CsOnlineSession to Import-PsSession

`
PSObject psSession = null;
using (var ps = PowerShell.Create())
{
ps.Runspace = runspace;
ps.AddCommand(@"New-CsOnlineSession")
.AddParameter("Credential", CreatePSCredential());
                Console.WriteLine("----------------------    New-CsOnlineSession    -------------------------");
                psSession = ps.Invoke().FirstOrDefault();
            }
            using (var ps = PowerShell.Create())
            {
                ps.Runspace = runspace;
                ps.AddCommand(@"Import-PsSession").AddParameter("Session",psSession);
                Console.WriteLine("----------------------    Import-PSSession   -------------------------");
                var results = ps.Invoke();
                results.ToList().ForEach(x =>
                {
                    Console.WriteLine(JsonConvert.SerializeObject(x));
                });
            }

`
I want to use Power shell with C# Code to manager Teams policies Settings,so i choose Microsoft.PowerShell.SDK 7.0.3 + .net core 3.1 to fix it.But when i user PowerShell in .net core 3.1 Console Application with Nuget package:(Microsoft.PowerShell.SDK 7.0.3),it was occured an error while trigger the method "powershell.Invoke(" Import-PSSession ")".
Error Message:

The error is alter that the result type of cmdlet "New-CsOnlineSession" is Deserialized.System.Management.Automation.Runspaces.PSSession,can`t parse to System.Management.Automation.Runspaces.PSSession.
The result by the cmdlet "New-CsOnlineSession"：

You can see the BaseObject and ImmediateBaseObject is Empty, its abnormality.Because when i use the same cmdlet in .net formework project,its not empty and "Import-PsSession" cmdlet is also work success.
Please help me to find why alter this error and is there some other way to Avoid or repair this problem？
I would really appreciate your help。
Best regards.

The module is not PowerShell Core compatible.
Close as stale issue.

The module is not PowerShell Core compatible.
Close as stale issue.


Update StandardCal.java

Code updated

This is a invalid/Spam PR done to complete the Hacktober challenge. Marking this PR as invalid.


Go to definition/implementation doesn't list the implementation until the file is opened once

I use clangd with vscode. I want to use the "Go to definition" or "Go to implementation" functionality. But when I use it on an interface's function. It won't list the file containing the implementation until that file is opened once.
When the implementation file is opened, I can see that clangd is changed from idle to indexing. Not sure if that's related to the issue?
The impl file only needs to be opened once and the functionality will work correctly, even after restart.
System information
clang12

Based on the discussion of this issue on Discord (I assume "Phisen" there is you), it sounds like the issue was that if a project contains multiple compilation databases (compile_commands.json files) in different subdirectories, then indexing of a particular subdirectory is only triggered when a source file in that subdirectory is opened.
An effective way to resolve this is to combine the different CDBs into one (which you mentioned you were already doing, but the subdirectory CDBs need to be removed otherwise they take precedence over the combined one).

Yes Phisen on Discord is me. I've deleted the CDBs in the subdirectories and cleared the cached index files. The issue finding the impl file looks to be resolved. And I don't see that it's indexing every source file I open like before.
Should the index be completely built for a project when starting vscode? I noticed that the total index value in the status bar is much smaller than when I had CDBs in subdirectories. Once, when I thought it was done indexing(no indicator in status bar) and clicked around in different source files. Then it started to index additional X amount of entries.

My experience using clangd with a project with a single CDB is that when you first open the project:

For a few seconds / a minute, the progress indicator will say "0/1", while clangd starts up, loads the CDB, and builds a list of files to be indexed.
It will then change to something like "0/8000" (the number of source files that need indexing) and the first number will slowly increase as the indexing process progresses. Indexing happens in parallel, with the number of threads I believe defaulting to the number of cores, but customizable via -j.

If you interrupt indexing before it completes, when you next start clangd the total number will reflect the number of files remaining to index (e.g. if you interrupt at 6000/8000, on next startup it will be 0/2000). If you pull from upstream such that some files change, clangd knows which files are out of date and need reindexing, and will show e.g. 0/1000 if 1000 files need reindexing.


Update Roblox

Despite still requiring photo id, they don't verify your residency at all anymore.

Thanks!


Add sms opt-out i.e STOP 20880

From tenfour-archive created by kamaulynder: ushahidi/tenfour-archive#1010
As a user I want to be able to reply with STOP (all caps) or unsubscribe and my phone number will be unsubscribed from TenFour. This should work just like the email unsubscribe where the # is crossed out and can't be sent to, but is still visible in the contact card.
Requirement/Context: For check-ins sent via sms , we should add an unsubscribe/opt out option  - this is a regulation given by the CAK (Communications Authority of Kenya)

[ ] Append STOP on checkins sent via sms on Africa's Talking
[ ] Users who sends an sms with the word STOP stop receiving checkins via sms

http://docs.africastalking.com/sms/optout

@kamaulynder is this speced and ready for dev?

correct

@caharding I have spec'd the issue.  I assume the user will only stop receiving checkins via sms but can continue receiving from the other channels.


Theme JSON/JS options

Is your feature request related to a problem? Please describe.
In some cases (S)CSS is not enough to setup theme predefined customizations, for example: ECom.Beauty theme is meant to have quantity selector on product page, which can be done with hasQuantitySelector prop valued true, easy with JS, impossible with CSS only.
Describe the solution you'd like
Themes should be able to expose a configuration object, loaded from EJS and stringified to be handled on client side JS, through each widget/component.
Describe alternatives you've considered
N/A
Additional context
I've started a draft on product widget:
https://github.com/ecomplus/storefront/blob/master/%40ecomplus/widget-product/cms.config.js#L51-L54
https://github.com/ecomplus/storefront/blob/master/%40ecomplus/widget-product/src/index.js#L21
https://github.com/ecomplus/storefront/blob/master/%40ecomplus/widget-product/src/index.js#L44-L48
https://github.com/ecomplus/storefront/blob/master/%40ecomplus/widget-product/src/index.js#L59

[ ] Definir o nome/caminho do arquivo (opcional) de configuração do tema;
[ ] Carregar o arquivo no EJS se houver tema configurado;
[ ] JSON.stringify(themeConfig) no EJS expondo a configuração client side na global storefront.theme;

Feito isso, o próximo passo é atualizar os widgets como feito no de produto, adicionando opções de configuração úteis para os temas, em geral usando props de Vue components.

cc @sameoldcarlos


Remove unsupported macos versions

We do not want to support macOS 11.x and step2.sh does not work once the system recovery is updated to macOs 12.1 or later.
Remove macOS 12.0 beta as well since they are not signed anymore by Apple. Selecting those as startup disk requires changing the boot policy security mode to reduced security first.

No changes requested on this PR, but just FYI it should be possible to install the beta firmwares with 4ff844527a, so it would be good to give that a go before removing them (which I want to anyway, since I don't want people using betas at this point).

Should be available at the usual alxsh URL if you want to test it :) (I've been testing on a t6000 so I didn't get the option to actually use the betas)

I've tested installing a beta release locally with running bputil -g manually. I can test the installer on a mac mini tonight (CET).

I managed to sneak a quick test in on the mac mini. Unfortunately it appears not to work with macOs 12 Beta 8. Changing the boot policy to reduced security and startup disk selection worked. User experience is imo better now since the startup disk selection gets killed immediately after pressing restart.
bputil from step2.sh unfortunately fails with password rejected (3) and User not found. I have no time for further tests right now. I'll continue testing in the evening.

User not found error not reproducible in 3 further installations. No idea what could have caused the error in the first try. Using bputil to change the bootpolicy to permissive in step2.sh is not necessary. That means one password authentication less in the installation flow.

@jannau Are you sure about that? AIUI we need to disable CTRR lockdown; not doing that will likely allow m1n1 to start but will break in-place chainloads and other things. That needs bputil in step2.


Remove dependency on ICompilationOptionsProvider

Removed Configuration from RazorViewEngineOptions
Added ParseOptions and CompilationOptions to RazorViewEngineOptions

#3633
/cc @pranavkm @pakrym
There's a broken test that shows flowing compilation options from the project file. I can update the functional test project to support passing setting the right preprocessor symbols at runtime.
EDIT:
Update the test

:alien:

Precompilation gets out of sync but i guess we don't care for it much at the moment?

No we don't care.

Plus the only way to make it never go out of sync is to only have it be configurable via a file.

LGTM


Adding in a checkbox view

This is untested with multiple checkbox items although works for single ones.
Works with the following inside the model::$caravel
        'isBooked' => [
            'type'  => 'checkbox',
            'label' => 'Has this lesson been booked?',
            'help'  => 'Help block text goes here.',
        ],

Automatically gets handled inside BootForms.

It's coming through like this though, not sure if that's something to do with BootForms.
https://www.dropbox.com/s/nwtei6rcqd62ge2/Screenshot 2015-12-23 18.20.16.png?dl=0

Hmm, it seems you are patching from an existing patch branch or something, because that merge commit shouldn't be part of this PR.
Anyway...

It's coming through like this though, not sure if that's something to do with BootForms.

Yeah BootForms adds classes for Bootstrap 3 styling.  However, I'm pulling in Bootstrap 4 alpha, so I need to custom fix a few styles here and there.  Shouldn't be hard.  I plan to pump out a bunch of these common field types over the holidays :)

Going to close this PR until I can test how the controller and database handles these checkboxes.  Not sure how the merge would go anyway, since you have that merge commit in this PR.

It's coming through like this though, not sure if that's something to do with BootForms.

Yeah BootForms adds classes for Bootstrap 3 styling.  However, I'm pulling in Bootstrap 4 alpha, so I need to custom fix a few styles here and there.  Shouldn't be hard.  I plan to pump out a bunch of these common field types over the holidays :)
I really need to get a test suite going so I can define behaviour accept more PRs like this.  Anyway, enjoy your Christmas holidays man!


Hough fixes

WIP fix for https://github.com/PistonDevelopers/imageproc/issues/280

@HeroicKatora I think I've now addressed all your comments


Coud have exposed swagger

We use similar approach, but expose as swagger rest API, this provides both documentation and validation of inputs/outputs.

Thanks for the suggestion! We were thinking of using protobufs, like GRPC. I've summarised the discussion in #2.


[FEATURE] Debug utility command: shp buildrun gather

Is there an existing feature request for this?

[X] I have searched the existing feature requests

Is your feature request related to a problem or use-case? Please describe.
Failed BuildRuns can be challenging to debug due to the multiple abstraction layers involved. We should provide a simple command to extract the details of the failed BuildRun so diagnostics/analysis can be run by a support or platform team.
Describe the solution that you would like.
Provide a sub-command for shp buildrun that downloads all pertinent information for the BuildRun and saves it in a single location (or tarball/zip):

BuildRun object
TaskRun generated by the BuildRun
Pod generated by the TaskRun
Logs

Describe alternatives you have considered.
Update/provide troubleshooting docs on the website.
Anything else?
No response

This feature might be a bit too big for a brand new contributor, but if someone has submitted their first patch/PR then this is a "good second issue"/"good first feature"

From Refinement, this would be something to have but not committing it to a specific milestone.

/assign


[Bug] getProjectGraph renamed in nx devkit 12.6.x breaks builds

nx-spring-boot: ^2.1.0
nx: 12.6.2
Hi,
I created a new workspace with NX 12.6.2 (latest) and then used nx-spring-boot to try and build the project, but get the following error:
$> nx buildJar gb-server
[nx-spring-boot]: Looking Spring Boot related projects inside the workspace...
[nx-spring-boot]: Adding dependencies for project 'gb-server'...
/home/liam/dev/guidebook/node_modules/@nxrocks/nx-spring-boot/src/project-graph.js:48
    return builder.getProjectGraph();
                   ^

TypeError: builder.getProjectGraph is not a function
    at Object.processProjectGraph (/home/liam/dev/guidebook/node_modules/@nxrocks/nx-spring-boot/src/project-graph.js:48:20)
    at /home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:134:23
    at Array.reduce (<anonymous>)
    at updateProjectGraphWithPlugins (/home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:130:20)
    at buildProjectGraph (/home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:107:15)
    at createProjectGraph (/home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:71:26)
    at Object.<anonymous> (/home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:40:16)
    at Generator.next (<anonymous>)
    at /home/liam/dev/guidebook/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/home/liam/dev/guidebook/node_modules/tslib/tslib.js:113:16)
    at Object.createProjectGraphAsync (/home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:39:20)
    at Object.<anonymous> (/home/liam/dev/guidebook/node_modules/@nrwl/workspace/src/command-line/run-one.js:19:52)
    at Generator.next (<anonymous>)
    at fulfilled (/home/liam/dev/guidebook/node_modules/tslib/tslib.js:114:62)

It appears nx changed the API for ProjectGraphBuilder in the latest version. You can see the 12.5.x version here with getProjectGraph, which was then changed to getUpdatedProjectGraph in v12.6.x here.
I will downgrade to nx 12.5.x to resolve this for now. Apologies for not trying to fix this in a PR, I'm just not sure if this should be fixed with a version label in the package.json or a change to the code.
Thanks for your work on this. It's seriously cool to have Spring integrated with nx!

Hi @liamhilliard
Thanks for using the plugin, and for bringing that issue to me.
I'll have a look asap and provide a fix.
Stay tuned!

@tinesoft Here is what the fix in nx-dotnet looked like for the same issue. https://github.com/nx-dotnet/nx-dotnet/commit/2e56afc9b46e11ad1fb1ef5ea7767e1923fac0a0#diff-73afab7c3c81f25ec5c6d4f68d26d30fa1fa07ad3671251a93f626731c3d5129

Hey @tinesoft,
thanks for the quick fix. Would it be possible that you release a patch release for the npm package? The issue is fixed on develop and the docs are adjusted but there is "still" the old package in npm. If there is a schedule for releases i can easily downgrade nx.
Thanks :)

Hi @oguera
A release is coming up very soon (hopefully today or tomorrow) .
I will be  a "major" and not simply a patch release, as it requires an update to Nx v.12.6.x at least (in fact, the bug was due to a breaking change in Nx's DevKit Project Graph API, introduced since v12.6.0).
I have shipped a bunch of nice feats and fixes as well 😇.
You' be notified here as soon as the release is published.
So watch your inbox 📥!


null pointer dereference in reshape

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 18.04.6
Mobile device
No response
Python version
Python 3.8.3
Bazel version
bazel 5.3.0
GCC/compiler version
gcc 7.5.0
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
A maliciously constructed reshape operator model leads to input being empty, causing a null pointer dereference in the IsConstantTensor function.
// reshape.cc
TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {
  TF_LITE_ENSURE(context, NumInputs(node) == 1 || NumInputs(node) == 2);
  TF_LITE_ENSURE_EQ(context, NumOutputs(node), 1);
  OpData* op_data = reinterpret_cast<OpData*>(node->user_data);
  op_data->output_ptr = nullptr;

  TfLiteTensor* output;
  TF_LITE_ENSURE_OK(context,
                    GetOutputSafe(context, node, kOutputTensor, &output));
  if (output->type != kTfLiteString) {
    const TfLiteTensor* input = GetInput(context, node, kInputTensor);
    const TfLiteTensor* shape = GetInput(context, node, kShapeTensor);
    if (NumInputs(node) == 1 || IsConstantOrPersistentTensor(shape)) {
      if (IsConstantOrPersistentTensor(input)) {   // input is nullptr
        SetTensorToPersistentRo(output);

// kernel_util.h
inline bool IsConstantOrPersistentTensor(const TfLiteTensor* tensor) {
  return IsConstantTensor(tensor) ||
         (tensor->allocation_type == kTfLitePersistentRo);
}

inline bool IsConstantTensor(const TfLiteTensor* tensor) {
  return tensor->allocation_type == kTfLiteMmapRo;  // tensor is nullptr
}

reshape.zip
Standalone code to reproduce the issue
I use the benchmark tool built according to [this official guide](https://www.tensorflow.org/lite/guide/build_cmake#step_1_install_cmake_tool), as follows:
1. git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
2. mkdir tflite_build && cd tflite_build
3. cmake ../tensorflow_src/tensorflow/lite
4. cmake --build . -j
5. cmake --build . -j -t benchmark_model

The benchmark is in the tools directory

When I use the benchmark tool for PoC validation, it causes the TensorFlow Lite inference process to be subjected to a DOS（coredump).

❯ ./benchmark_model --graph=../poc/reshape.tflite
INFO: STARTING!
INFO: Log parameter values verbosely: [0]
INFO: Graph: [../poc/reshape.tflite]
INFO: Loaded model ../poc/reshape.tflite
ERROR: Invalid tensor index 32 in inputs. The subgraph has 3 tensors

INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[1]    10805 segmentation fault (core dumped)  ./benchmark_model --graph=../poc/reshape.tflite

Relevant log output
No response

I was able to reproduce this on 2.14.

@pkgoogle Could you please look into this issue?
Thanks.

I was able to reproduce on nightly:
./benchmark_model --graph=reshape.tflite
INFO: STARTING!
INFO: Log parameter values verbosely: [0]
INFO: Graph: [reshape.tflite]
INFO: Loaded model reshape.tflite
ERROR: Invalid tensor index 32 in inputs. The subgraph has 3 tensors

INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Segmentation fault

@alankelly, can you please take a look? Thanks.

Hi, @SiriusHsh
Thanks for raising this issue. Are you aware of the migration to LiteRT? This transition is aimed at enhancing our project's capabilities and providing improved support and focus for our users. As we believe this issue is still relevant to LiteRT we are moving your issue there. Please follow progress here: https://github.com/google-ai-edge/LiteRT/issues/113
Let us know if you have any questions. Thanks.


Bump wasmcloud-host and control-interface

Bumping these versions in order to support M1 macbooks with wasmtime-provider 0.0.3

Also updating this to fix #132 , a pretty unfortunate bug that should be patched


[Suggestion]Exporting of Stats

First off, I just want to thank you and everyone on this project. I have had more fun just using this app than actually playing the game.  I just noticed the "Full Stats" feature today and the SWEET heatmaps that it generates. This has got to be the coolest feature added ever.  I don't hammer their servers like some others, I run one single instance of the App and all of the features added over time just make one instance all I ever really need. If they ever bust out a C&D on you, they better damn sure give some props with it.
In the event that Niantic screws up the joy that this App brings, will the heatmaps that were collected over time still be accessible? If so then ignore this suggestion. If somehow they break the ability to login at all, is it possible to store/export/save the overall stats collected by the app in a manner that they can be accessed offline? I can see a long term value in generating a Google "My Map" using this data and users could even compare notes. How cool would it be if we all could donate stats to a centralized map?   So beautiful it brings a damn tear to my eye

On windows this data can be accessed under ..\AppData\Roaming\pokemon-go-map\pogom.db
On linux home/****/.config/pokemon-go-map/pogom.db (home folder, ctrl+H, config)
This file can be edited or exported and accessed however you like.

Sweeeeeet, thanks so much!


Converter Help

I'm trying to apply a function over the selection using the convert option, but I'm not being successful, I'm applying a dummy function (x => x) just to test, but I'm getting an error "TypeError: cOpt.convert is not a function", what am I doing wrong?
{
    "sites": {
        "listItem": "body > tr",
        "data": {
            "site": {
                "selector": "li > a > p",
                "convert": "(x => x)"
            }
        }
    }
}

I think I understand the problem, to use convert I have to inject the function using the mapping on a function node. I left the JSON field on scrape node empty and it's working now.
But I'm getting an error when deploying:


KeyError message

Hello,
we are using nexus-exporter in an Rancher environment with docker v1.13.1 and CentOS 7. Exporter is starting with environment parameter correctly. But if I curl it via port 9184 I see this message in log file:
---------------------------------------- 19.10.2018 15:51:01Exception happened during processing of request from ('<IP_ADDRESS>', 51552) 19.10.2018 15:51:01Traceback (most recent call last): 19.10.2018 15:51:01  File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock 19.10.2018 15:51:01    self.process_request(request, client_address) 19.10.2018 15:51:01  File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request 19.10.2018 15:51:01    self.finish_request(request, client_address) 19.10.2018 15:51:01  File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request 19.10.2018 15:51:01    self.RequestHandlerClass(request, client_address, self) 19.10.2018 15:51:01  File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__ 19.10.2018 15:51:01    self.handle() 19.10.2018 15:51:01  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle 19.10.2018 15:51:01    self.handle_one_request() 19.10.2018 15:51:01  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request 19.10.2018 15:51:01    method() 19.10.2018 15:51:01  File "/usr/lib/python2.7/site-packages/prometheus_client/exposition.py", line 76, in do_GET 19.10.2018 15:51:01    self.wfile.write(generate_latest(core.REGISTRY)) 19.10.2018 15:51:01  File "/usr/lib/python2.7/site-packages/prometheus_client/exposition.py", line 55, in generate_latest 19.10.2018 15:51:01    for metric in registry.collect(): 19.10.2018 15:51:01  File "/usr/lib/python2.7/site-packages/prometheus_client/core.py", line 54, in collect 19.10.2018 15:51:01    for metric in collector.collect(): 19.10.2018 15:51:01  File "/opt/nexus/nexus_exporter.py", line 76, in collect 19.10.2018 15:51:01    i = self._info['system-runtime'] 19.10.2018 15:51:01  KeyError: 'system-runtime' 19.10.2018 15:51:01----------------------------------------
The nexus delivers the needed system-information json file and is reachable via direct curl request. The container is not running as root. I added a group/user nexus and start the container as this user. Any ideas about it?
thanks Peter

That's odd. Are you able to paste the contents of http://yournexus//service/rest/atlas/system-information?
More particularly (if you can't paste it here), does it contain a top-level key system-runtime?
I'm wondering, have we tested nexus-exporter on a different version of Nexus to the one you're running?
To that end - what version of Nexus are you running the exporter against?

Sorry, I was on vacation. The issue was a routing problem in our rancher environment. I had to use the external URL via LoadBalancer and everything is working fine. Internal request (from container to container) produces a 404.
Do you know a source for a predefined grafana dashboard for Nexus monitoring?

I had the same problem today. Solution - the user hast to be in role having at least 2 following privileges: nx-atlas-all + nx-metrics-all

thanks, these roles are already described in the README.md