Unity3D "no usable version of libssl was found"

Describe the bug
Cannot use unity 3D editor because of "no usable version of libssl was found"
Steps To Reproduce
Steps to reproduce the behavior:

Install unity editor from hub
open or create a project
Error will be in editor console

Expected behavior
I should able to compile stuff and generally use the editor without a compilation error that does not go away
Screenshots

Notify maintainers
@tesq0
@huantianad
Metadata

system: "x86_64-linux"
host os: Linux 6.1.45, NixOS, 23.05 (Stoat), 23.05.2801.09a137528c3a
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.13.5
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Duplicate of #205019, see bottom comment there for solution.

I tried that but it only works with unity 2022 and ive had nothing but issues with it lol, I just wanna use the latest version of 2021 and that fix sadly does not appear to work for it, if there is no way I guess I will use 22 but it'd be nice to use 21 if possible

@huantianad I tried that but it only works with unity 2022 and ive had nothing but issues with it lol, I just wanna use the latest version of 2021 and that fix sadly does not appear to work for it, if there is no way I guess I will use 22 but it'd be nice to use 21 if possible

Weird, are you sure that adding openssl_1_1 doesn't work for 2021? I though I had tested it before and it did work. Did you make sure to restart unityhub and make sure that the one you're launching is the one with the added library?

Alright so I feel dumb or annoyed or something now but It wasn't working when I had it like this
 (pkgs.unityhub.override {
    extraLibs = pkgs: with pkgs; [
      openssl_1_1
    ];
  })

it was not working then.
Now when I use
  (unityhub.override {
    extraLibs = pkgs: with pkgs; [
      openssl_1_1
    ];
  })
``` it does work

who knows, I just decided to try that and it seems to work so I am very confused but at least its working lol

That's very strange 🤔 I have no idea why that would be the case


⚠ Spryr has degraded performance

In 5bc096e, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3746 ms

Resolved: Spryr performance has improved in 4fd0c15 after 7 minutes.


support for AzureDevOPs build agent

IMHO it would be good to have this be a global/local dotnet tool install (from public nuget) as this would allow installation on a AzureDevOps build agent (at build time) and/or with in a docker build image using the dotnet tool --install command.

You can use the NuGet Authenticate task

Hey @3GDXC - can you give some more details about your use case please?

Hey there, closing this issue. Please reopen if you need any other help.


[Feature] WebUI improvement: handling empty input boxes

In the current version (v1.0.0), if some input boxes are left empty, WebUI will still send the inference command to the backend, causing a RuntimeError: torch.cat(): expected a non-empty list of Tensors error, while the WebUI simply displays an default "Error" text.
To improve user experience, I suggest adding a validation function to handle empty input boxes. This would display a friendlier error message in the WebUI. Just an example:
def validate_input(text: str) -> bool:
    if not text:
        raise gr.Error("Please ensure that <InputBox1>  is not left empty.")
    return True

( •̀ ω •́ )✧

Sounds good, fixed.


MODOAIPMH-312: Rerequesting of SRS doesn't work properly

Jira: https://issues.folio.org/browse/MODOAIPMH-312
PURPOSE
Fix issues with an increasing number of attempts to re-request srs in two times after each exception handler.

Why weren't unit tests updated for this?  It's important that we're exercising code paths which have been problematic/buggy.  Cleary our tests didn't catch this bug, so they need to be updated.  @TotoroDevEbsco Please create another PR with tests for this fix.

Why weren't unit tests updated for this? It's important that we're exercising code paths which have been problematic/buggy. Cleary our tests didn't catch this bug, so they need to be updated. @TotoroDevEbsco Please create another PR with tests for this fix.

Yes, we will have another PR with adjusted tests but now we don't have time for that. That is the reason why they weren't updated.

I don't think it's acceptable to treat proper testing as an afterthought.  The PR never should have been merged w/o this.  The JIRA should never have been closed w/o this, and a release definitely should not have been made.

I agree with @craigmcnally - at this point we cannot afford inadvertently introducing bugs because of the lack of the proper testing.


bind db.connection as well

Original Laravel DatabaseServiceProvider binds the 'db.connection' service which is missing here.
 dd(app('db.connection'));
Illuminate\Database\PostgresConnection

What I don't understand is it seems to have work previously : https://github.com/njbarrett/laravel-postgis/issues/62

Coverage remained the same at 84.0% when pulling 1267f2e542da2a05723ec672e315be0c22e579ee on challet:patch-1 into b751206154ad06cfea2e8791815c4e03ea593cb2 on njbarrett:master.

By the way, it seems that with Larvel 5.5 and package auto-discovery, Phaza\LaravelPostgis\DatabaseServiceProvider is called before the ones from app config and then the service db.factory is not Phaza\LaravelPostgis\Connectors\ConnectionFactory but :
string(5) "phaza"
string(7) "laravel"
Psy Shell v0.8.16 (PHP 7.1.4-1+deb.sury.org~xenial+1 — cli) by Justin Hileman
>>> app('db.factory')
=> Illuminate\Database\Connectors\ConnectionFactory {#215}


Allow cli options

It would be nice to have some basic cli options.
Off the top of my head, it would be cool to have features like this included in the cli options.
Colorless flag option
Pick and choose widgets

another idea is to show/hide certain panels #16

network interface and disk also need CLI option

I installed gtop to see what it was like. First thing I typed was gtop -h and then gtop --help but in both cases it just started without any output/complaint which I have to say is somewhat off-putting. All Linux CLI programs should provide this.


Add Demisto-Py to PyPi

Currently in Python 2, Will be refactoring and updating code to be Py2.7+ compatible.
Need to attach CircleCI to being CI process.

fixes: demisto/etc#7940


Build Plan i3s API300 Support

Description
Implementation of the build plan for i3s API300 support.
Issues Resolved
#119
Check List

[x] New functionality includes testing.

[x] All tests pass ($ rake test).

[ ] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).

[ ] Changes are documented in the CHANGELOG.

The tests integration and examples for build plan will fail in update and delete, due to bug in i3s appliance.

@jsmartt , changes made.

I am solving the conflicts and adjusting some things.

Sorry, my bad. I didn't realize my changes would affect this PR

@jsmartt , it was not your fault. I am correcting tests that I had implemented, but due to the hardware of India is unavailable, it was not possible to test. But as the hardware is back, I tested it and saw that I have to fix some things. I'll be releasing corrections soon. :)


Question: Is it possible to verify primitive arguments during OCMExpect() ?

Hi,
I'm trying to create an expectation for the following UIApplication method:
- (void)registerForRemoteNotificationTypes:(UIRemoteNotificationType)types

Is there a way to validate received UIRemoteNotificationType value, or do I have to ignore validation using ignoringNonObjectArgs.
If latter is true, i think it really limits the validations that can be performed during unit testing. What's the technical reason behind being not able to provide such feature?

You can validate the arguments as described in the documentation: http://ocmock.org/reference/#argument-constraints
As mentioned in the contribution notes, please ask question related to the usage of OCMock on Stackoverflow.

What about verifying arguments like int?
id foo = OCMStrictClassMock(...)
OCMStub([foo bar:4])
[foo bar:5];
OCMVerifyAll(foo);
such a test passes, unless I did something wrong.


Populate created by and updated by fields in energy tariff

Closed in favour of https://github.com/Energy-Sparks/energy-sparks/pull/2926


Replace flake8 with ruff

I don't know exactly why _version.py is found by flake8, but since flake8 doesn't support pyproject.toml, we might want to switch to ruff so we can ignore the file there.

yes! finally! I had secretly been using ruff already locally ;)
Let's create a good ruff config in pyproject, and then we can also remove pylint I think

I'll look into it! :)


Wrong registration of RH in the Console if RH IP changes

If IP of RH changes later after it has been already registered with the Console, this breaks communication between the Console and the RH

Karaf logs

Will be checked and fixed in the course of the issue #1946


Fix bug remove-event

ReferenceError: id is not defined

Good catch, thanks for this 👍

https://github.com/CroudSupport/vue-fullcalendar/releases/tag/v2.0.6


Fix the casting from String to Numeric for zero-leading values

At the moment, when assigning a numeric String beginning with a '0'-character to a Number value, Model.valid? returns true while Model.save fails. This is a fix, borrowed from https://github.com/solnic/virtus/pull/124

Ping?

@FeeJai if you add some specs for the new behaviour I will review and merge it.
It's been a long time since I've worked on that specific section of the specs, so there may not be any covering behaviour, but do your best and I can always tweak things a bit to match the virtus specs (feel free to do this if you want though!)


Nuh vlan support

It's not for review yet.

Please resolve the conflicts and run the INSTALL-GCP-SA and UPGRADE-GCP-HA

Ready for merge

http://<IP_ADDRESS>:8080/job/Ning/job/INSTALL-GCP-HA/55/


slidesToScroll always 1 when using custom prevArrow and nextArrow

Hi,
Exactly as my title says, I have a slide which has this setup:
$carousel.slick({
        asNavFor: '#slider .slick-slider',
        slidesToShow: 5,
        slidesToScroll: 5,
        centerMode: true,
        focusOnSelect: true,
        prevArrow: '#carousel .prev-arrow',
        nextArrow: '#carousel .next-arrow'
    });

$slider.slick({
        asNavFor: '#carousel .slick-carousel',
        slidesToShow: 1,
        slidesToScroll: 5,
        prevArrow: '#slider .prev-arrow',
        nextArrow: '#slider .next-arrow',
        speed: 200,
        swipeToSlide: true
    });

When disabling the prevArrow and nextArrow lines, the scrolling works for 5 items a time.
How to overcome this?

Hey, I'm closing this because it doesn't include a test case, per the contributing guidelines. Also it feels like it might be more of a support request than a bug report. If you make a fiddle, we can look at reopening. Thanks!


Error with User

I must have made a mistake when changing the names from Customer to User. The table no longer appears in H2.

solved.


Codegen generic types

Codegen currently chokes on generic types.  Let's make that not happen.  (My team ran in this with Pagination APIs where a Page was generic on the type of items that it contains).
Description
Simply update the name of the field that we are searching for in the schema for generic types.
Types of Changes

[ ] Core
[x] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This fixes a bug where codegen would choke trying to find a field in the schema for a generic type.

Here's the preview release card for twitter:

Here's the tweet text:
🆕 Release (next) is out! Thanks to Matt Gilson for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This fixes a bug where codegen would choke trying to find a field in the schema for a generic type.

Here's the preview release card for twitter:

Here's the tweet text:
🆕 Release (next) is out! Thanks to Matt Gilson for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)


forth3: implement quit builtin word

Empty the return stack, store zero in SOURCE-ID if it is present, make the user input device the input source, and enter interpretation state. Do not display a message. Repeat the following:

Accept a line from the input source into the input buffer, set >IN to zero, and interpret.
Display the implementation-defined system prompt if in interpretation state, all processing has been completed, and no ambiguous condition exists.

— https://forth-standard.org/standard/core/QUIT

in mnemos, this will likely have to be an async builtin

probably this will also mean renaming process_line to process_until_quit (or something like that).

if we want this to be implemented in forth3, we probably either need to implement a way to make the VM generic over a user-provided IO type that implements some read and write traits, or just have the vm's process method return a value that indicates that the user code executed a quit and wants to drop back to input


Duplicated keys in da.linalg functions

The functions

da.linalg.cholesky
da.linalg.lu
da.linalg.solve (it's a wrapper around the above two)

contain the same keys in multiple layers of the HighLevelGraph.
Since #7274 (2021.03.1), this causes len to return an incorrect result:
>>> a = da.random.normal((3, 3), chunks=-1)
>>> b = da.random.normal((3, 3), chunks=-1)
>>> c = da.linalg.solve(a, b)
>>> len(c.dask)
27
>>> len(c.dask.to_dict())
13

The problem is not an easy one to solve. Both cholesky and lu produce two output arrays, a lower and a higher matrix.
The chunks below the diagonal of the lower matrix are a function of the matching chunks of the higher matrix.
The chunks above the diagonal of the higher matrix are a function of the matching chunks of the lower matrix.
Hence,

one cannot have a separate layer for the lower matrix and another for the higher matrix, because that would cause a circular dependency in HighLevelGraph.dependencies.
one also cannot have the two matrices use the same layer, because da.Array.__dask_layers__ is hardcoded to (self.name, ).

The current implementation puts all the keys in a single dict and then creates two layers out of it - hence the duplication.

    graph_upper = HighLevelGraph.from_collections(name_upper, dsk, dependencies=[a])
    graph_lower = HighLevelGraph.from_collections(name, dsk, dependencies=[a])
    [...]
    upper = Array(graph_upper, name_upper, shape=a.shape, chunks=a.chunks, meta=meta)
    lower = Array(graph_lower, name, shape=a.shape, chunks=a.chunks, meta=meta)
    return lower, upper

Proposed solutions
1. Do nothing
Update the docstring of HighLevelGraph.__len__ to state that there are legitimate cases where the output won't be accurate.
Pros: trivial
Cons: confused users; violates the collections.abc.Mapping protocol; duplicates data upon msgpack serialization
2. Skip already-seen layers
Modify HighLevelGraph.__len__ to skip layers whose id has already been encountered.
Pros: trivial; negligible performance impact
Cons: very fragile. Namely, it won't survive msgpack serialization.
3. Dummy layers
Move the current single layer down one level; then create two layers one for the upper matrix and one for the lower matrix, which are trivial redirects to the common layer:
{
    cholesky_u: {
        (cholesky_u, 0, 0): (cholesky_lu_u, 0, 0),
        (cholesky_u, 0, 1): (cholesky_lu_u, 0, 1),
        ...
    },
    cholesky_l: {
        (cholesky_l, 0, 0): (cholesky_lu_l, 0, 0),
        (cholesky_l, 0, 1): (cholesky_lu_l, 0, 1),
        ...
    },
    cholesky_lu: {
        (cholesky_lu_u, 0, 0): <actual logic>,
        (cholesky_lu_u, 0, 1): <actual logic>,
        (cholesky_lu_l, 0, 0): <actual logic>,
        (cholesky_lu_l, 0, 1): <actual logic>,
        ...
    },

Pros: hack is localized to functions of secondary importance
Cons: ugly and wasteful
4. Set Array.layers
Change da.Array.__init__ to accept a new optional parameter, layers. The upper and lower matrices will then be able to share the same layer (both in key and in value).
Methods changes as follows:
def __dask_layers__(self):
    return self.layers if self.layers is not None else (self.name, )

Pros: The Right Thing To Do™; very likely to be useful in more use cases yet to be discovered
Cons: Lots of legwork and widespread impact (__dask_postpersist__ etc. will all need to change)

CC @jrbourbeau @gjoseph92 @mrocklin

duplicates data upon msgpack serialization

Could you explain this? I guess I'm not familiar enough with how serialization uses __len__ to know what data is being duplicated.

duplicates data upon msgpack serialization

Could you explain this? I guess I'm not familiar enough with how serialization uses __len__ to know what data is being duplicated.

it doesn't.
If you disable (some) optimizations, the layers are going to be transferred whole to the scheduler, serialised with msgpack. Unlike pickle, msgpack does not have the notion of multiple references to an object. If (as it is today) you have two keys of HighLevelGraph.layers pointing to the same dsk dict, that dict will be deep-copied when it is serialised with msgpack.

Got it, thanks. So it sounds like that's an issue regardless of the __len__ situation, but it would also be solved by your "Set Array.layers" idea, since that would allow us to share the same underlying dict for both layers.

@crusaderky I ran across this in a different context and looked your proposed solutions above. If I understand HighLevelGraph correctly then I think the DummyLayer solution you propose above can be made much simpler. I believe that the Dummy layers can simply be empty, but dependent on the "combined layer" that contains all of the logic. I think that this solution is quite simple and should generally fix the issues. For cholesky, the fix is then simply the following patch:
diff --git a/dask/array/linalg.py b/dask/array/linalg.py
index fa28423b..2b79cb89 100644
--- a/dask/array/linalg.py
+++ b/dask/array/linalg.py
@@ -1307,6 +1307,8 @@ def _cholesky(a):
     # we can build graph for upper triangular simultaneously
     name_upper = "cholesky-upper-" + token

+    name_combined = "cholesky-combined-" + token
+
     # calculates lower triangulars because subscriptions get simpler
     dsk = {}
     for i in range(vdim):
@@ -1343,8 +1345,11 @@ def _cholesky(a):
                 dsk[name_upper, j, i] = (_solve_triangular_lower, (name, j, j), target)
                 dsk[name, i, j] = (np.transpose, (name_upper, j, i))

-    graph_upper = HighLevelGraph.from_collections(name_upper, dsk, dependencies=[a])
-    graph_lower = HighLevelGraph.from_collections(name, dsk, dependencies=[a])
+    graph = HighLevelGraph.from_collections(name_combined, dsk, dependencies=[a])
+    graph_upper = HighLevelGraph({name_upper: {}, name_combined: graph},
+                                 {name_upper: {name_combined}})
+    graph_lower = HighLevelGraph({name: {}, name_combined: graph},
+                                 {name: {name_combined}})
     a_meta = meta_from_array(a)
     cho = np.linalg.cholesky(array_safe([[1, 2], [2, 5]], dtype=a.dtype, like=a_meta))
     meta = meta_from_array(a, dtype=cho.dtype)

This patch appears to fix the issue; before the patch:
>>> a = da.random.normal(size=(3, 3), chunks=-1)
>>> b = da.random.normal(size=(3, 3), chunks=-1)
>>> c = da.linalg.solve(a, b, sym_pos=True)
>>> len(c.dask)
8
>>> len(c.dask.to_dict())
6

After the patch:
>>> a = da.random.normal(size=(3, 3), chunks=-1)
>>> b = da.random.normal(size=(3, 3), chunks=-1)
>>> c = da.linalg.solve(a, b, sym_pos=True)
>>> len(c.dask)
6
>>> len(c.dask.to_dict())
6

@abergou the layers returned by __dask_layers__ should contain all the keys returned by __dask_keys__, see
https://docs.dask.org/en/latest/custom-collections.html#dask_layers__
I'm not adverse in principle to changing the spec of the method from
Tuple of names of the HighLevelGraph layers which contain all keys returned by __dask_keys__().

to
Tuple of names of the HighLevelGraph layers which either contain all keys returned by __dask_keys__()
or directly or indirectly link, through the layers dependency graph, to the layers that do.

However we'd need to investigate all current uses of __dask_layers__ - namely I suspect it may not play nice with dask.graph_optmization.


Building error

ng2-cache/src/services/cache.service.ts(111,21): error TS7017: Index signature of object type implicitly has an 'any' type

Thank you! fixed


Enable storage slots initialization on contract deployment

When deploying a contract, it should be possible to initialize storage slots.
Today storage slots are hardcode empty: https://github.com/FuelLabs/fuels-rs/blob/99a7e1682d7ee341ccaf1356a494b5386b0036ee/packages/fuels-contract/src/contract.rs#L404
This looks related to this: https://github.com/FuelLabs/fuels-rs/issues/87

Closing as duplicate of #86

Closing as duplicate of https://github.com/FuelLabs/fuels-rs/issues/86


port mapping not working on specific ip address.

Describe the bug
Port mapping not working on specific ip address.
Dont know if this is sytem specific but I am on MacIs 14.1, on a silicon M2.
To Reproduce
Create a loopback IP (0ther than 127.0.01)
sudo ifconfig lo0 alias <IP_ADDRESS>
Start a service and bind it on above IP.
docker run -p <IP_ADDRESS>:8666:80  -d nginx
Access the port
wget http://<IP_ADDRESS>:8666
Expected behavior
You should be able to access the nginx welcome page on http://<IP_ADDRESS>:8666 ... But you get
wget http://<IP_ADDRESS>:8666
--2023-11-06 17:20:20--  http://<IP_ADDRESS>:8666/
Connecting to <IP_ADDRESS>:8666... failed: Connection refused.
Note:
-p <IP_ADDRESS>:8666:80  -> not accessible anywhere (But it does not fail to start the service)
-p <IP_ADDRESS>:8666:80  -> work as expected, accessible on both <IP_ADDRESS> and <IP_ADDRESS>, and any local network IPs
-p 8666:80  -> work as expected, accessible on both <IP_ADDRESS> and <IP_ADDRESS> and <IP_ADDRESS>, and any local network IPs
-p 127.0.01:8666:80  -> work as expected, accessible only on <IP_ADDRESS>
Where <IP_ADDRESS> is local network ip addess.
-p <IP_ADDRESS>:8666:80  -> crash with error : docker: Error response from daemon: driver failed programming external connectivity on endpoint gracious_shaw (772ab64b5ce46977fa57bd4fbecc90aa858597b152f78f922b45417719ce5038): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:8666: bind: cannot assign requested address.
ERRO[0000] error waiting for container:
All of this works fine on Docker Desktop...
Diagnostic report (required)
OrbStack info:
Version: 1.0.1
Commit: 0d4cdcf185489f992cf8e3187884f11f4feab1aa (v1.0.1)
System info:
macOS: 14.1 (23B74)
CPU: arm64, 12 cores
CPU model: Apple M2 Max
Model: Mac14,6
Memory: 32 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-11-06T22-37-00.137478Z.zip

Screenshots and additional context (optional)
No response

Duplicate of #291


PIC-16 Processor/Analyser not propagating RP flags

Issue
When reverse engineering a PIC-16 processor binary most SFR/GPR references do not get adjusted based on the RP bits in STATUS, and do not get interpreted as address references - even if the address is correct (i.e. RP0/1 are both 0 anyway)
All code in this issue is based on the attached example PIC-16 binary.
To Reproduce
Steps to reproduce the behavior:

Import PIC-16 binary (see example attached)
Run automatic analysis
Look for register file 'F' instructions that do not reflect previous setting/clearing of RP0/1

Expected output
       CODE:000e 83 12           BCF        STATUS,RP0
       CODE:000f 03 13           BCF        STATUS,RP1
       CODE:0010 8d 1e           BTFSS      DAT_DATA_000d,#0x5

With labelling:
       CODE:000e 83 12           BCF        STATUS,RP0
       CODE:000f 03 13           BCF        STATUS,RP1
       CODE:0010 8d 1e           BTFSS      PIR2,#0x5

Actual output
       CODE:000e 83 12           BCF        STATUS,RP0
       CODE:000f 03 13           BCF        STATUS,RP1
       CODE:0010 8d 1e           BTFSS      0xd,#0x5

Attempted fix
There are two components to this issue - the PIC-16 processor SLEIGH spec and the PIC-16 Constant Propagation analyser.
I've tried debugging the Constant Propagation analyser and found that in this code:
RegisterValue rValue = context.getRegisterValue(reg);
if (rValue == null) {
	return;
}

'rValue' seems to be null on every instruction of interest (both with my modifications described below and with the original PIC-16 SLEIGH spec).
While investigating the SLEIGH spec I attempted to fix the issue by switching the RP bits into a SLEIGH context variable (see attached pic16_instructions.diff). This produced a dramatic improvement - allowing Ghidra to create references for all file register based addresses. However the propagation of RP bits breaks down in some flow situations like the following example where RP is set to 2 at CODE:0d31-2 yet at the target of the GOTO (CODE:0d34 -> CODE:0d40) the RP bits are not taken into account.
Inspecting the instruction info at CODE:0d40 shows that the rp variable is not even included as input:
Instruction Summary
-------------------
Mnemonic          : BTFSS
Number of Operands: 2
Address           : CODE:0d40
Flow Type         : FALL_THROUGH
Fallthrough       : CODE:0d41
Delay slot depth  : 0
Hash              : 55ba551d

Input Objects:
   DATA:0057, const:0x0, const:0x1
Result Objects:
   SkipNext
Constructor Line #'s:
   BTFSS(pic16_instructions.sinc:551), bit(pic16_instructions.sinc:241),
   srcREG(pic16_instructions.sinc:145)

Byte Length : 2
Instr Bytes : 11010111 00011100
Mask        : 00000000 00111100
Masked Bytes: 00000000 00011100

Instr Context:
   doPseudo(00,00)     == 0x0

I attempted to solve this by specifically setting the globalcontext on the target of the GOTO with [ globalset(absAddr11,rp); ] but this had no effect.
Expected output
             assume PCLATH = 0xd
                             LAB_CODE_0d31                                   XREF[1]:     CODE:0d2d(j)
       CODE:0d31 83 12           BCF        STATUS,RP0
             assume PCLATH = <UNKNOWN>
       CODE:0d32 03 17           BSF        STATUS,RP1
       CODE:0d33 57 19           BTFSC      DAT_DATA_0157,#0x2                                = ??
       CODE:0d34 40 2d           GOTO       offset LAB_CODE_0d40
       CODE:0d35 d7 1d           BTFSS      DAT_DATA_0157,#0x3                                = ??
       CODE:0d36 4c 2d           GOTO       offset LAB_CODE_0d4c
       CODE:0d37 d7 11           BCF        DAT_DATA_0157,#0x3                                = ??
       CODE:0d38 83 12           BCF        STATUS,RP0
       CODE:0d39 03 13           BCF        STATUS,RP1
       CODE:0d3a 13 08           MOVF       SSPBUF,w                                         = ??
       CODE:0d3b 83 12           BCF        STATUS,RP0
       CODE:0d3c 03 17           BSF        STATUS,RP1
       CODE:0d3d db 00           MOVWF      i2c_rx_buffer[3]                                 = null
       CODE:0d3e d6 07           ADDWF      i2c_rx_checksum,f                                = ??
       CODE:0d3f 4c 2d           GOTO       offset LAB_CODE_0d4c
                             -------------------------------------------------------------
             assume PCLATH = 0xd
                             LAB_CODE_0d40                                   XREF[1]:     CODE:0d34(j)
       CODE:0d40 d7 1c           BTFSS      DAT_DATA_0157,#0x1                               = ??

Actual output
             assume PCLATH = 0xd
                             LAB_CODE_0d31                                   XREF[1]:     CODE:0d2d(j)
       CODE:0d31 83 12           BCF        STATUS,RP0
             assume PCLATH = <UNKNOWN>
       CODE:0d32 03 17           BSF        STATUS,RP1
       CODE:0d33 57 19           BTFSC      DAT_DATA_0157,#0x2                                = ??
       CODE:0d34 40 2d           GOTO       offset LAB_CODE_0d40
       CODE:0d35 d7 1d           BTFSS      DAT_DATA_0157,#0x3                                = ??
       CODE:0d36 4c 2d           GOTO       offset LAB_CODE_0d4c
       CODE:0d37 d7 11           BCF        DAT_DATA_0157,#0x3                                = ??
       CODE:0d38 83 12           BCF        STATUS,RP0
       CODE:0d39 03 13           BCF        STATUS,RP1
       CODE:0d3a 13 08           MOVF       SSPBUF,w                                         = ??
       CODE:0d3b 83 12           BCF        STATUS,RP0
       CODE:0d3c 03 17           BSF        STATUS,RP1
       CODE:0d3d db 00           MOVWF      i2c_rx_buffer[3]                                 = null
       CODE:0d3e d6 07           ADDWF      i2c_rx_checksum,f                                = ??
       CODE:0d3f 4c 2d           GOTO       offset LAB_CODE_0d4c
                             -------------------------------------------------------------
             assume PCLATH = 0xd
                             LAB_CODE_0d40                                   XREF[1]:     CODE:0d34(j)
       CODE:0d40 d7 1c           BTFSS      DAT_DATA_0057,#0x1                               = ??

Attachments
pic16_instructions.diff.txt
PSU PIC16F886.txt
Environment:

OS: Windows 10 Pro 21H1 Build 19043.1110
Java Version: 11.0.8
Ghidra Version: 10.0.1
Ghidra Origin: Github release package

In general the context bits shouldn't be used to track state from one instruction to the next as the context and state of the register/bit gets locked into the following instruction.  Normally the context is used for things like thumb-mode that directly affect the disassembly.  You can't always depend on the disassembly flowing status state correctly.  Registers can also be set to an initial state at the start of a function.
The main issue is setting the bits in the STATUS register when it's state is unknown isn't currently handled very well.  We could potentially add a more careful tracking for certain registers, as is done in the decompiler, for certain registers like STATUS.  This is probably a better solution in the long-run.
A simpler solution is to break out the RP0/1 bits into a separate fake register that can be tracked without knowing the state of the other status bits.  This is essentially what you were doing anyway, only in registers not disassembly context. The C bit will also have this issue, but may not matter.  Each language does it differently.  Some pack the status bits in, others don't.  If all the instructions that load/store the status register and bits can be known, then this is easy to do.  Whenever something grabs the status register the fake register bits are packed in.  Some for setting the status register.  There is actually a macro to do this already in the PIC16, but it is unused.  The X86 is done with separate flag registers, and the PIC16 looks like it may have done it this way at some point in the past.

A simpler solution is to break out the RP0/1 bits into a separate fake register that can be tracked without knowing the state of the other status bits.

This makes things a bit clearer, as it did seem strange that the RP bits were split out into a register.
My attempts at getting it working with the processor context were mostly experimental - but it made such a significant difference I thought I should include it.
The issue remains why the original RP register does not appear to be working, I'm going to do some more investigation stepping through the PIC16Analyzer.

I discovered there is a bug in the constant propagation looking up registers.  I'm working on a fix to it.
I hadn't realized the RP register was set separately as well as the STATUS register when I debugged the issue before.
I had jumped to the conclusion incorrectly that the load of the RP for the memory load came from the RP0/1 bits in the STATUS memory.
It may be that there is a workaround in the meantime.  If I think of one, I'll let you know.

Thank you.
I got a bit stuck on a decompiler issue on FUN_CODE_092d in my example file, as it seems to be going off into invalid memory ranges  (CODE:7xxx etc).
I found there was potential in some of the instructions to get an incorrect PC address as there weren't explicit bit masks in place. The attached patch adds these bit masks and at least solves the invalid memory range errors.
I'm still investigating the remaining decompiler errors: Unable to resolve constructor at CODE:1ad2. I'll leave an update as to what I find.
pic16_pc_explicit_bitmasks.patch.txt

Turns out, it isn't exactly a bug.  There is an assumption that any Memory Mapped register will be accessed directly by the instruction, and won't need a reference to it.  If it were, every access to STATUS, PCLATH, PCL, INTCON, etc... would get a reference to that memory location.
The memory mapped registers in this case are defined by the lines:
define DATA offset=0x0000 size=1 [
	INDF TMR0 PCL STATUS FSR PORTA PORTB PORTC PORTD PORTE PCLATH INTCON PIR1 PIR2 TMR1L TMR1H
];

To fix the issue, I removed certain memory mapped registers, and moved them to the .pspec file.  This should fix most if not all of your accesses.  There were special scrReg lines for special registers that ignore the RP bank register.
  I hadn't investigated why the decompiler is sign extending the value.  I suspect it may be a bug, and this is a workaround for it.

Does this affect the PIC18 also?


JES detects JSON in log output and sends in finished event

Assume the JES runs an image that outputs the following for myTask.triggered:
here is your output { "foo": "bar" }

Currently this entire thing is reported as a string. Is it technically feasible for JES to read that content and then we can detect that it contains JSON and send in the finished event:
{
  "type": "sh.keptn.event.myTask.finished",
  "data": {
    "myTask": {
      "foo": "bar"
    }
  }
}

Obviously we're assuming here (or perhaps can add checks) that the JSON is valid.

I think trying to automatically detect the output format of the tasks isn't something that JES should do. It is probably better to specify a property in the job configuration that indicates the type of the expected output and use that in the future to parsing.
But even with such a property, it currently isn't possible to attach any form of structured output to a .finished Event in JES, which we would need for this to work.

It sounds so straight forward and simple, and I have already discussed this with multiple people. I would really love to have exactly this functionality.
Unfortunately, as @Raffy23 already pointed out, it's not simple to implement and could break other uses of job-executor. As a first example, there could be multiple tasks within a job config that are executed, and we would only be able to take the result of the last one.
In addition, just guessing the output could be very problematic, e.g., what would [] result to? It's a valid JSON output, but how would you add it?


Add IDF TF ALGO

Add IDF TF ALGO for searching the documents and scoring them

done, spllited to master and worker


Clean up function duplicates and cache docs builder

Closes #818

Codecov Report

Merging #882 (7cb9b0c) into main (1fad119) will increase coverage by 62.29%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##               main     #882       +/-   ##
=============================================
+ Coverage     17.57%   79.87%   +62.29%
=============================================
  Files           273       31      -242
  Lines         40968     1729    -39239
  Branches       4256        0     -4256
=============================================
- Hits           7201     1381     -5820
+ Misses        33079      348    -32731
+ Partials        688        0      -688

Impacted Files
Coverage Δ

python/samples/wallet_demo.py
94.73% <100.00%> (ø)

python/trinsic/template_service.py
85.00% <100.00%> (+10.00%)
:arrow_up:

python/trinsic/wallet_service.py
84.21% <100.00%> (ø)

...rinsic/proto/services/trustregistry/v1/__init__.py
78.57% <0.00%> (-2.68%)
:arrow_down:

...thon/trinsic/proto/services/account/v1/__init__.py
79.51% <0.00%> (-2.59%)
:arrow_down:

...hon/trinsic/proto/services/provider/v1/__init__.py
76.86% <0.00%> (-2.40%)
:arrow_down:

...ces/verifiablecredentials/templates/v1/__init__.py
82.22% <0.00%> (-2.20%)
:arrow_down:

...roto/services/verifiablecredentials/v1/__init__.py
75.88% <0.00%> (-1.90%)
:arrow_down:

...nsic/proto/services/universalwallet/v1/__init__.py
72.91% <0.00%> (-1.60%)
:arrow_down:

python/trinsic/proto/sdk/options/v1/__init__.py
100.00% <0.00%> (ø)

... and 244 more

Continue to review full report at Codecov.

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


python files miss

I think you forget to upload some python files (e.g. utils_conditional3.py, utils_graph2text.py) to webnlg folder. I couldn't run the codes without these libraries.

Thanks, author for sharing the code but I also face the above-mentioned issue.

Me same.

Sorry guys. The previous version was not the official release. I have now updated the code. So it should be possible to run the data-to-text and summarization experiments with example conditional information.


Extend Command API with a support for persisting object graphs

API idea
users = rom.command(:users).create
tasks = rom.command(:tasks).create

command = users.combine(tasks).call(
  [name: 'Jane', [{ title: 'One' }, { title: 'Two' }]
)

 # returns inserted tuples in nested array ready for potential mapping
command.call

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13192465-extend-command-api-with-a-support-for-persisting-object-graphs?utm_campaign=plugin&utm_content=tracker%2F155789&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F155789&utm_medium=issues&utm_source=github).

@cflipse thoughts? :)


Diffing array is very inefficient if deletion/addition occurs anywhere but at the end of the array

Often an array will have an element inserted or deleted from some index within the array. As it stands, deepDiff seems to treat such an event as an insertion or deletion of the final member of the array, and an edit of all the other members. Example:
When a "c" is inserted into the first array:
var a = [h, a, p, p, y]
var b = [c, h, a, p, p, y]
diff(a,b) will output a bunch of edited values for the array values 0-4 and say that the y has been inserted.
Ideally, for memory savings at least, we could use some sort of fuzzy alignment of the objects being held in the two arrays to find the best match-up of indices and then have a way of notating insertions and deletions.
Do you think this is a feature you could see building in the future? Would your diff system be amenable to something like this or would it break too many aspects of it?
Also note I would be interested in helping build any such system.
Thanks for you time!

The short answer is that I have been unsatisfied with my initial, simplistic approach to array difference. I would love for it to be more robust.
There are consequences to deeper analysis though. Namely, it will degrade performance somewhat due to a multitude of new comparisons on arrays and their items.
I would love to see some code nonetheless because the current implementation is too weak. In the end, if the performance is poor when figuring out array insertions, moves, etc. we can make the array analysis an optional feature.

You could use something like Levenshtein distance for this.

jsondiffpatch does this with an LCS algorithm

@tnrich While it might be memory inefficient, it does mean that the actual running time of diff is faster. The resulting output might make your program run slower, of course, if processing each change record is processing intensive. The alternative is to have a slower differencing algorithm that takes multiple paths and chooses the one that produces the fewest number of changes. This is potentially much slower, tho I have no idea how much.
For me tho, that's what I want, so I'll probably end up building it. If I do I'll report back here.

So I created a differencing module that solves this issue: https://github.com/Tixit/odiff

Hey @flitbit & @tnrich - I created a benchmark suite to test multiple JSON diff frameworks head-to-head: https://github.com/justsml/json-diff-performance
It's coverage is hardly complete, but it's pretty easy to extend - main goals were testing ops/sec and output string byte length.
@fresheneesz I also recently added support for your odiff library!
Hope this helps in performance tuning and comparing various library techniques.

@justsml Very cool!

Yo @justsml thanks for a motivation to finally optimize this thing! Time to turbocharge the MVP... I'll report back soon.

Any updates?


jsonpb: unable to unmarshal JSON with enums as strings

Using:

protoc: v3.0.0-beta-2
github.com/protobuf: dda510ac0fd43b39770f22ac6260eb91d377bce3

Consider the following proto:
syntax = "proto3";

package google.security.safebrowsing.v4;

enum ThreatType {
  THREAT_TYPE_UNSPECIFIED = 0;
  MALWARE = 1;
  SOCIAL_ENGINEERING = 2;
  UNWANTED_SOFTWARE = 3;
  POTENTIALLY_HARMFUL_APPLICATION = 4;
}

message ThreatInfo {
  repeated ThreatType threat_types = 1;
}

Running a round-trip JSON marshal/unmarshal fails:
func main() {
	msg := &ThreatInfo{ThreatTypes: []ThreatType{0, 1, 2, 3, 4}}

	// This marshals just fine, but use string names for enums
	var b bytes.Buffer
	var m jsonpb.Marshaler
	if err := m.Marshal(&b, msg); err != nil {
		panic(err)
	}

	fmt.Println(b.String())

	// This fails to unmarshal as it cannot handle strings for enums
	var msg2 ThreatInfo
	if err := jsonpb.Unmarshal(&b, &msg2); err != nil {
		panic(err)
	}
}

It outputs:
{"threatTypes":["THREAT_TYPE_UNSPECIFIED","MALWARE","SOCIAL_ENGINEERING","UNWANTED_SOFTWARE","POTENTIALLY_HARMFUL_APPLICATION"]}
panic: json: cannot unmarshal string into Go value of type main.ThreatType

goroutine 1 [running]:
panic(0x4e3ac0, 0xc8200184b0)
	/home/rawr/Projects/go/src/runtime/panic.go:500 +0x18a
main.main()
	/home/rawr/Projects/protofail/main.go:22 +0x291
exit status 2

FYI this is in-flight: https://github.com/golang/protobuf/pull/163
Should fix the problem.

@dinowernli, awesome! Thanks for pointing that out.

Thanks for fixing this!


login success? but no info, no email or user name, just token

Installed the plugin with no errors and configured the backend, certificates etc. After sign in with Apple, I am getting an object with these properties: email, state, identityToken, fullName, user. However the email, state and fullName properties are empty. Only an identity token is provided.
Shouldn't there be some email address - whether one from apple or the user's , and some name?
email: ""
fullName: {nickname: "", phoneticRepresentation: {}, familyName: "", namePrefix: "", givenName: "", …}
identityToken: "eyJraWQiOiJBSURPUEsxIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2FwcGxlaWQuYXBwbGUuY29tIiwiYXVkIjoiY29tLnBldHRpbmdjbHViLmFwcCIsImV4cCI6MTU3M…"

You get this informations only in the very first request.
So when you log in a second time you'll not get this informations again.
In the first request you'll get at least the givenName & familyName & email.
The email is also provided in the very first identityToken.
You can go to https://appleid.apple.com/account/manage
And then under "Apps which using Apple-ID" and then say at your App "Dont use it anymore".
Then you can log in again and you'll get the details.
👍

Thanks Patrick

I'm having the opposite issue. For some reason this plugin treats every sign-in attempt as the first attempt. I am prompted for an name, email address, and then the callback gets all the info.
I checked the appleid.apple.com/account/manage, and the app is registered there.
What is the correct behavior?

@dminkovsky what do you mean?
In theory you're geting the authorizationCode which you send to your server. (with the other details as parameter)
And then you have all details.
But when now the user log in via the website - not the app / not the cordova plugin sign in with apple - then you're not getting the user first/last name and more details.
So I think its right when you get all via the plugin. But now check the sign in with Apple on a website and you'll not get the details.
On the App maybe the bahaviour has changed.
And maybe the behavior here changed, too.
https://github.com/twogate/cordova-plugin-sign-in-with-apple/commit/64adebe7f8eaa61b44057f430fd2caf606d3f053
There was a scope change.
Maybe thats the reason.

@patrickbussmann Sorry I was not clear. Let me explain better:
In the web version of my app, I implemented the Apple Sign In OAuth flow, and in that version, the first time a user attempts to authenticate, they are presented with the option to specify a name and email (or to use the relay proxy). Then, after that, the fact that they've authenticated with my application is stored in their AppleID account, for subsequent authentications do not prompt them for specify a name and email address. They can forget my app by going to appleid.apple.com/account/manage, but otherwise they are only prompted for their password.
In this native plugin, I am getting prompted for a name/email every time. It treats every authentication as the first time I've authenticated. Is there something I need to do for it to remember that the user has already authenticated with my app? I don't want to ask users their name/email every time they log in, just the first time.

Added an SO question https://stackoverflow.com/q/63120021/741970 @paulw11 maybe you know?

Thats what I mean @dminkovsky.
You need to use the details which you're getting from the App.
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api/authenticating_users_with_sign_in_with_apple
When you did it your user is registrated and will not see the selector for name and email again.
Ah ok now I see you SO question.
You need the same backend on both sides. Webserver & Native App.
Only getting the authentication token is different. (native = via native call, website = via javscript/redirect)

I'm sorry, I don't think I've communicated my question. Maybe it's clearer on SO? In a nutshell:
I don't want the user  to be prompted for a name/email every time they authenticate. On the web, this works. On iOS, it does not: they are prompted for a name/email every single time.

I understand the problem 😉
Thats why I said: You need the same backend.

On iOS, when you get the authorizationCode, you need to short-lived token used by your app for proof of authorization when interacting with the app’s server counterpart <- like written in the Readme

Look. This is an example code.
  window['cordova'].plugins['SignInWithApple'].signin(
    { requestedScopes: [0, 1] },
    response => {
      loginWith(response.authorizationCode).then(
        user => {
          // 'Login worked'
          resolve(user);
        },
        (error: ErrorResponse) => {
          reject(error);
        }
      );
    },
    error => {
      reject(error);
    }
  );

@patrickbussmann,
Thank you, I am glad it makes sense!
It wasn't the backend though. It was something way more banal... I was using a simulator, and on the simulator, it's the undesired behavior I describe. On a real device, though: works as desired.
Sorry to bother, and thanks for helping me troubleshoot.


[Event Request] Report 1306 "Standard Sales - Invoice" OnAfterFormatDocumentFields

Please add a new publisher event in the report 1306 "Standard Sales - Invoice":
local procedure FormatDocumentFields(SalesInvoiceHeader: Record "Sales Invoice Header")
begin
    with SalesHeader do begin
        FormatDocument.SetTotalLabels("Currency Code", TotalText, TotalInclVATText, TotalExclVATText);
        FormatDocument.SetSalesPerson(SalespersonPurchaser, "Salesperson Code", SalesPersonText);
        FormatDocument.SetPaymentTerms(PaymentTerms, "Payment Terms Code", "Language Code");
        FormatDocument.SetPaymentMethod(PaymentMethod, "Payment Method Code", "Language Code");
        FormatDocument.SetShipmentMethod(ShipmentMethod, "Shipment Method Code", "Language Code");
        **_OnAfterFormatDocumentFields(SalesInvoiceHeader);_**
    end;
end;

Definition:
[IntegrationEvent(false, false)]
local procedure OnAfterFormatDocumentFields(var SalesInvoiceHeader: Record "Sales Invoice Header")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 46663.


Support only a single asset per file.

To reduce complexity, support only a single asset per file.
Different asset types still have to be supported. The asset type could be specified in the root object.

done


Fix mapping of time dependent generic control variables (gentim2d)

What changes does this PR introduce?
Bug fixes
What is the current behaviour?

Currently with ALLOW_GENTIM2D_CONTROL defined, there's a mismatch of records in xx_$ctrlname.data and how many are actually asked if nIter0 is much larger than 1. This leads to errors because the model is reading beyond the end of the corresponding xx_$ctrlname.data files: ctrl_init_rec returns startrec, endrec and diffrec. For large nIter0 you may have, for example, startrec=2266, endrec=2272 and diffrec=7, and there are 7 records in xx_$ctrlname.data. The loop ranges in ctrl_map_ini_gentim2d.F are from 1 to endrec, so this immediately fails when trying to read the 8th record (in my example) (issue #377).
the value of nrecords in adxx_$ctrlname.meta does not correspond to the actual number of records in the corresponding .data file.

What is the new behaviour

fix the first issue by changing the loop ranges to 1 to diffrec in ctrl_map_ini_gentim2d.F. The loop ranges within the ALLOW_ECCO block are not changed, but that may be necessary as well.
suppress writing meta-files in REVERSE_SIMULATION mode in active_files_control.F to fix the second issue

Does this PR introduce a breaking change?
I expect this change (#377) to affect the results of an optimization, but so far all verification experiments including verification_other/global_oce_cs32 pass.
Other information:
Suggested addition to tag-index
o fix two bugs related to writing and reading control variables and corresponding gradients

pkg/ctrl/ctrl_map_ini_gentim2d.F: replace too large loop range endrec by diffrec
pkg/autodiff/active_file_control.F: suppress writing meta-files in REVERSE_SIMULATION mode

Hey @mjlosch, thank you for this PR! I'm not sure if you saw my email to the devel list but the fixes you have made regarding diffrec make perfect sense to me. As for fixing the meta writing in reverse mode ... wow thank you. I think all of the ecco crew has just dealt with this by custom writing post processing functions to read a hard coded number of records (at least that's what I've been doing). Now we can happily use e.g. rdmds ... looking forward to that.

@timothyas would care to review this PR?

Hey @mjlosch, I can review it but it may take a week or two for me to get there since I'm a bit slammed (who isn't though..). I looked it over whenever you first submitted it and mentioned this via email, and I thought it looked good. I will look through it closely, and run this with my own setups (probably ECCOv4 type setup), but let me know if there's something specifically more that you're looking for.

@owang01 please take a look at this

@gaelforget could you please have a look at the changes in pkg/ctrl/ctrl_map_ini_gentim2d.F, in particular the change starting in lines 147-161? I am pretty confident about line 289, because it fixes my problem, but I do not know what is really happening in this docycle block. Any help is appreciated, so that we can advance this PR.

@mjlosch I merged master into this branch and did run the global_oce_cs32 AD experiment from verification_other, and see no
difference in output. So I guess it's good. Regarding the other one, global_oce_llc90, it requires more resources to run so less easy
to try (and not sure I will do it).

Martin did try to run global_oce_llc90 (primary test) and it passed. Going to merge this PR soon.

Martin did try to run global_oce_llc90 (primary test) and it passed. Going to merge this PR soon.


colorCustomizations

Im using the Code Insider and having issues with editor.selectionBackground. It doesn't work the same on different file types. It works on HTML and JSON files but doesnt on CSS or JS files. when I double click on a word it doesnt add the background color.

Works when I select Keyword new but doesnt when I select Validation

Works in JSON File

Not is JS file

Maybe it's a different color Editor Colors:
editor.wordHighlightBackground - Background color of a symbol during read-access, for example when reading a variable
editor.wordHighlightStrongBackground - Background color of a symbol during write-access, for example when writing to a variable

@usernamehw That didnt work either.

Well, I cannot reproduce that. Are you using the latest version of Insiders? Have you tried to run it without extensions code-insiders --disable-extensions?

Some languages show the document highlights or word highlights more than others. That's editor.wordHighlightBackground,  editor.wordHighlightStrongBackground as @usernamehw writes.
Make sure all the selection colors use transparency.

Ya its strange, when im selecting const it works fine but not when I select `getData' or even the variable names.

@aeschli Using transparency on editor.wordHighlightStrongBackground fixed it. Thank You.


Find in Files doesn't work normally,when "files.encoding" isn't 'utf-8'

VSCode Version: 1.14.2

Steps to Reproduce:
Here is my setting.json:
  "files.autoGuessEncoding": true,
  "files.encoding": "Big5-HKSCS"

and Find in Files didn't work normally, it can just find out the result which is in opening file,
 "files.autoGuessEncoding": true,

After I change setting, it become normally,
it seems like same problem as #31742.
Reproduces without extensions: Yes

The problem with big5-hkscs is a typo on my part. But I should also point out that files.autoGuessEncoding isn't supported by search, because our search tool doesn't support autodetection of encodings.

One thing I note here is to use Big5-HKSCS , the encoding setting name is big5hkscs

Yeah there's a discrepancy between our setting names and the "canonical" names that ripgrep respects, which is why the function I changed in https://github.com/Microsoft/vscode/commit/e12b42560905f665719860c0a27ea28b977d0528 exists

Why search all function cannot work although I disabled encoding-autodetection ?


Rate Limiting

Hi did anyone faced rate limiting?
I'm not sure, but looks like I have, by using the conn.Contacts() method.
I was trying to improve the way I import contacts, the first was a hack using the msg received, but later I heard here that after you call conn.Contacts() conn.Store.Contacts are populated.
So while trying that approach, the code worked for over one hour, I was adjusting other areas of the code when this stopped working. conn.Contacts() never responds.
I'll dig a bit deeper to see if there are any errors that are not handled. Anyone else had the same experience ?

Hi @pentateu.
Does this error keep happening to you?
I would like to collaborate in this project but there are many open issues and it would be ideal to start closing those solved cases.

@danielspk sorry but I haven't touched this in a while. I will download latest and test agains my codebase to see if works as intented.


Invalid Headers when using Unirest

Unirest.post("https://dweet.io/dweet").fields(map).asJson(); // map is a HashMap of course

I am making a standard POST request to a server and I get the following while receiving a response.
Jun 06, 2015 4:36:18 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: dweet:thing=hallowed-mailbox; path=/; expires=Sun,
05 Jun 2016 20:36:16 GMT; httponly". Invalid 'expires' attribute: Sun, 05 Jun 2016 20:36:16 GMT

Can someone please help me fix this frustrating error? I love Unirest, it's like requests but in Java too!

I encountered the same problem and found a solution:

RequestConfig globalConfig = RequestConfig.custom()
.setCookieSpec(CookieSpecs.IGNORE_COOKIES).build();

HttpClient httpclient = HttpClients.custom().setDefaultRequestConfig(globalConfig).build();
Unirest.setHttpClient(httpclient);

Thanks for the response, Wondering is there a way to fix it than just IGNORING cookies/warnings?

CookieSpecs.IGNORE_COOKIES: just IGNORING cookies
CookieSpecs.STANDARD: will parse Invalid 'expires';The RFC 6265 compliant policy (interoprability profile).
see http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/config/CookieSpecs.html

Hello, this should be resolved or addressed in Unirest 2. Please see the upgrade guide for important changes.

Unirest.config().cookieSpec("standard");

solved it for me.


Failed to open output when running COPY TO

CrateDB Version: 2.17
JVM: OpenJDK 1.8.0_131
OS: Ubuntu 16.04.3 LTS Linux 4.4.38-std-1 x86_64
Problem description:
When attempting to copy a table to JSON, some of the files are created, and one fails, giving this error.
SQLActionException[NotSerializableExceptionWrapper: unhandled_server_exception: Failed to open output: '/mnt/data/crate-copies/table_name_2_.json (No such file or directory)']
If the command is reran, sometimes the same file fails, sometimes a different file fails. Our setup is a three node cluster, all running the same version of cratedb and ubuntu. The table we are attempting to copy has 2.3 million records in it, so it's not expected to be very quick, but other much smaller tables also get the same error. The COPY TO command has been ran on this table before, and succeeded without error, although I think this was before we switched from 2.0.7 to 2.1.7.
Steps to reproduce:
COPY table_name TO DIRECTORY '/mnt/data/crate-copies';
Where the table_name is any table.

@nocturnaltortoise thanks for reporting. Can you please provide the table structure of one of the tables you are reproducing this issue with? (the output of show create table ... )

@nocturnaltortoise do you have input on @andreidan s question?

Sorry for the late response.
The table I was trying to copy JSON from had this output from the SHOW CREATE TABLE command:
CREATE TABLE IF NOT EXISTS "armada"."energy_meter_readings" (
   "energy_exported" FLOAT,
   "energy_exported_cumulative" FLOAT,
   "energy_imported_cumulative" FLOAT,
   "estimated" BOOLEAN,
   "export_reading" BOOLEAN,
   "fit_reading" BOOLEAN,
   "meter_uuid" STRING,
   "timestamp" TIMESTAMP,
   PRIMARY KEY ("timestamp", "meter_uuid")
)
CLUSTERED INTO 4 SHARDS
WITH (
   "blocks.metadata" = false,
   "blocks.read" = false,
   "blocks.read_only" = false,
   "blocks.write" = false,
   column_policy = 'dynamic',
   "mapping.total_fields.limit" = 1000,
   number_of_replicas = '0-1',
   "recovery.initial_shards" = 'quorum',
   refresh_interval = 1000,
   "routing.allocation.enable" = 'all',
   "routing.allocation.total_shards_per_node" = -1,
   "translog.durability" = 'REQUEST',
   "translog.flush_threshold_size" = 536870912,
   "translog.sync_interval" = 5000,
   "unassigned.node_left.delayed_timeout" = 60000,
   "warmer.enabled" = true,
   "write.wait_for_active_shards" = 'all'
)

I can't see any errors in /var/log/crate/crate.log

@nocturnaltortoise We still can't reproduce your issue. Can you please double check that this is not a filesystem issue (eg NFS)?
Otherwise we'd really need to see you logs, as the full stacktrace of this error should appear there and hopefully will help to identify the root cause. You could also send me your logs to<EMAIL_ADDRESS>

I'm not quite sure what kind of filesystem issue you mean. I can't see why it would be a filesystem issue now, as the command used to work, and I've tried different directories. The command seems to manage to write some of the JSON files to the specified directory, and then errors. I can send you the log file but there's nothing in there except for [WARN ][o.e.d.r.RestController   ] Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header. I set logger.action.level to TRACE but that doesn't seem to have made any difference. I'm not sure if this is relevant or a different issue, but creating repositories doesn't seem to work either.

Possibly of importance is that this worked fine in Crate 2.0.7. Also, the drive that I am trying to copy JSON to is a network drive (NBD).

@nocturnaltortoise Thanks for the log, as you already said, they won't show any related information.
Can you please rerun this statement using crash -v?
Using the verbose mode, crash will print the full stacktrace.
Also can you please double check that the user crate is running as can successfully write to that directory?
Are there any other files being successfully created/written inside this directory (because you mentioned that it is not always failing on the same file)?
Thanks a lot.

Full stack trace from crash -v is:
SQLActionException[NotSerializableExceptionWrapper: unhandled_server_exception: Failed to open output: '/mnt/data/crate-copies/devices_3_.json (No such file or directory)']

SQLActionException: INTERNAL_SERVER_ERROR 5000 NotSerializableExceptionWrapper: unhandled_server_exception: Failed to open output: '/mnt/data/crate-copies/devices_3_.json (No such file or directory)'
       at io.crate.operation.projectors.FileWriterCountCollector.initWriter(FileWriterCountCollector.java:162)
       at io.crate.operation.projectors.FileWriterCountCollector.<init>(FileWriterCountCollector.java:108)
       at io.crate.operation.projectors.FileWriterProjector.apply(FileWriterProjector.java:78)
       at io.crate.operation.projectors.FileWriterProjector.apply(FileWriterProjector.java:34)
       at io.crate.operation.projectors.ProjectingBatchConsumer.accept(ProjectingBatchConsumer.java:98)
       at io.crate.operation.collect.BatchIteratorCollectorBridge$SyncBatchItCollector.doCollect(BatchIteratorCollectorBridge.java:63)
       at io.crate.operation.collect.collectors.CompositeCollector.doCollect(CompositeCollector.java:61)
       at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:569)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)

The directory I'm trying to copy to is owned by the crate user, and crate manages to write one or sometimes a few of the json files.

@nocturnaltortoise thx, unfortunately still won't give us any hint what's going wrong.
could you maybe create the files upfront so we can see if we maybe get a more meaningful error then?

There are already old files from the last time it ran successfully in the directory.

@nocturnaltortoise what file system are you using on your NBD devices?

ext4

@nocturnaltortoise ok thanks, still trying to reproduce without any success (no errors at all). so each node has it's own NDB fs mounted?

Yeah, the crate data, snapshot repositories and the directory I was trying to copy data to is also on the same NBD drive. Crate itself is running on a different NBD drive, on the same machine.

Ahh, we have three machines with separate NBD drives, i.e. they're not sharing. That would explain why I can't create a repository, so you've solved my other issue #6402. Do all the hosts need to be able to read/write to the directory to be able to run COPY TO on one node?

@nocturnaltortoise Yes, all nodes containing at least 1 primary shard of the related table will start writing to that directory.

@nocturnaltortoise Afaik your issue was just about that not all related nodes could access the path used inside you COPY TO statement. We will improve our documentation about this requirement asap.
I'm closing this issue now as solved, feel free to open it otherwise.


main.go :   cannot use "libvirt".Provider in field value "plugin".ProviderFunc

host info
Name: libvirt
Version: 3.2.0
go version
go version go1.9.1 linux/amd64
OS: centos:7 in docker
$ export GOPATH="$(pwd)"
$ export PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/go/bin"
$ export PATH="${GOROOT}:${PATH}"
$ export PKG_CONFIG_PATH="$(pwd)/libvirt"
ENVS
ARCH=amd64
BASH_VERSION='4.2.46(2)-release'
GITLAB_CI=true
GITLAB_USER_ID=2
GOPATH=/builds/xxxxxxxx/terraform_libvirt
HOSTNAME=runner-51991791-project-9-concurrent-0
HOSTTYPE=x86_64
IFS=$' \t\n'
MACHTYPE=x86_64-redhat-linux-gnu
OSTYPE=linux-gnu
PATH=:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/go/bin
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=/builds/xxxxxxxx/terraform_libvirt/libvirt
PWD=/builds/xxxxxxxx/terraform_libvirt
SHELL=/bin/bash
SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail
SHLVL=1
TERM=dumb
UID=0
VERSION=1.9.1
container=docker
build attempt
$ go build main.go
./main.go:12:15: cannot use "github.com/dmacvicar/terraform-provider-libvirt/libvirt".Provider (type func() "github.com/dmacvicar/terraform-provider-libvirt/vendor/github.com/hashicorp/terraform/terraform".ResourceProvider) as type "github.com/hashicorp/terraform/plugin".ProviderFunc in field value
ERROR: Job failed: exit code 1

Are you experiencing this on the master branch? Did you possibly run glide beforehand?

I'm unable to reproduce this in a centos:7 docker container.
Is this repo located at ${GOPATH}/src/github.com/dmacvicar/terraform-provider-libvirt? Do you get the same error when running go get github.com/dmacvicar/terraform-provider-libvirt?

You are correct, I had run a glide up at some point. A fresh pull of the master changed the operation of go build main.go
however, now I believe I have some GO ENV set incorrectly.
$ export GOPATH="$(pwd)"
$ export PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/go/bin"
$ export PATH="${GOROOT}:${PATH}"
$ export XC_OS=linux XC_ARCH=amd64 make bin
$ go build main.go
main.go:4:2: cannot find package "github.com/dmacvicar/terraform-provider-libvirt/libvirt" in any of:
/usr/local/go/src/github.com/dmacvicar/terraform-provider-libvirt/libvirt (from $GOROOT)
/builds/user/terraform_libvirt/src/github.com/dmacvicar/terraform-provider-libvirt/libvirt (from $GOPATH)
main.go:5:2: cannot find package "github.com/hashicorp/terraform/plugin" in any of:
/usr/local/go/src/github.com/hashicorp/terraform/plugin (from $GOROOT)
/builds/user/terraform_libvirt/src/github.com/hashicorp/terraform/plugin (from $GOPATH)
Any advice?

@bluefishforsale You are not exporting  GOPATH to PATH that is why go complain not find, looking at your snippet. Hope it helps

@bluefishforsale  i had the same issue on a machine.(debian)
What you have there is an issue that glide could not install libvirt pkg (golang pkg)
So try this:

Install libvirt-devel pkg
go get github.com/libvirt/libvirt-go
go build  should work

Let me know if it works.

little more info on my build environment
This is in the Dockerfile i'm using for the environment (in addition to much more)
FROM centos:7  RUN yum install -y git libvirt-lib libvirt-devel which qemu-kvm

current situation
$ go get github.com/hashicorp/terraform/plugin
$ go get github.com/libvirt/libvirt-go
$ go get github.com/dmacvicar/terraform-provider-libvirt
$ go build main.go
# command-line-arguments
./main.go:12:15: cannot use "github.com/dmacvicar/terraform-provider-libvirt/libvirt".Provider (type func() "github.com/dmacvicar/terraform-provider-libvirt/vendor/github.com/hashicorp/terraform/terraform".ResourceProvider) as type "github.com/hashicorp/terraform/plugin".ProviderFunc in field value

@bluefishforsale
you need to be in the src of the pkg for building.
´´´console
cd $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt/
go build
´´´´

@MalloZup thanks, this is my first time building a golang project at all, let alone someone elses. Lots of new moving parts here for me.
I appreciate the hand-holding. Hopefully i'll get a lot of value from this and be able to pay it forward for others needing help.

@bluefishforsale yop no problem, there is always a fist time :+1:
Feel free to improve also the documentation with some PRs if you feel that is lacking on doc.

@bluefishforsale  if it fixed the issue, feel free to close it !  feel free to open others issue or propose whatever you wish and maybe we can hack togheter in golang on this on other proj ! have fun

I found this useful in the build and figured I'd share a little:
FROM golang
RUN apt-get update && apt-get -y install libvirt-dev libvirt-daemon qemu-kvm git
RUN go get github.com/hashicorp/terraform/plugin
RUN go get github.com/libvirt/libvirt-go
RUN go get github.com/dmacvicar/terraform-provider-libvirt
WORKDIR $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt/
RUN echo "go build main.go" > /script.sh
RUN echo "cp /go/bin/terraform-provider-libvirt /binary" >> /script.sh
RUN chmod +x /script.sh
CMD /script.sh

Build with:
docker build -t terraform-libvirt .
docker run -it --rm -v $PWD/bin:/binary terraform-libvirt


non-cannonical nucleotides?

Do you want to throw back an error if they ever include a non-cannonical nucleotide like "F", or anything not in this list for nucleotides? https://www.bioinformatics.org/sms/iupac.html.

Users can use either uppercase or lowercase nucleotides including A, C, T, G and U. Users can also indicate indels at specific nucleotide positions, but the way they do this varies (28362Cdel, 27382del_insCT, 3725insC etc.). Because of this variety of entry styles, the app needs to be able to parse the nucleotide position of each list entry, but there may or may not be two nucleotides associated with every list entry.
Therefore, it would be extremely difficult to parse all letters associated with a numeric entry.


Ladybug fails to store any reports in Postgres database with default settings (SQLException: "Large Objects may not be used in auto-commit mode")

No visible error is being thrown during execution of the pipelines. This error is visible in Ladybug when clicking the refresh button. Looks like reports are not being saved at all.
 SQL state [25P01]; error code [0]; Large Objects may not be used in auto-commit mode.; nested exception is org.postgresql.util.PSQLException: Large Objects may not be used in auto-commit mode.]

https://github.com/wearefrank/ladybug/commit/356ed4c29352f765693f9575240133f823d4c75a
https://github.com/frankframework/frankframework/pull/6647
https://github.com/frankframework/frankframework/pull/6648


Update cats-effect, cats-effect-laws to 2.3.1

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws

from 2.2.0 to 2.3.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: test-library-update, semver-minor

Superseded by #161.


CppSharp.Runtime.UTF8Marshaller Included in generated source

Brief Description
I'm trying to following the only example I could find here and I'm getting generated output. However, the generated source is depending on CppSharp the Std.cs file
OS: Windows / OS X / Linux (include version and/or distro)
Linux, Ubuntu 22.04
Used headers
#include <array>
#include <filesystem>
#include <memory>
#include <tuple>

Used settings
options.GeneratorKind = GeneratorKind.CSharp;
parserOptions.AddArguments("-fcxx-exceptions");
options.OutputDir = Path.Combine(Directory.GetCurrentDirectory(), "src", "Interop", "XXXX");

Compiler
Target: gcc
Language
C++11
Stack trace or incompilable generated code
error CS0246: The type or namespace name 'CppSharp' could not be found (are you missing a using directive or an assembly reference?)

from generated code:
    public unsafe static partial class BasicStringExtensions
    {
        public partial struct __Internal
        {

            [SuppressUnmanagedCodeSecurity, DllImport("Std-symbols", EntryPoint = "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc", CallingConvention = __CallingConvention.Cdecl)]
            internal static extern __IntPtr Assign(__IntPtr __instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string __s);

        }

################################################################################
Not seeing why any reference to CppSharp should be included in codegen output, but I'm guessing it's some dumb error I'm making. Any help much appreciated!!!! Also, if you know of a solid example repo I can adapt, I'd be more than happy to try and reproduce off of that.

Any update?? Same question, why CppSharp.Runtime.UTF8Marshaller in generated code? like:
 [SuppressUnmanagedCodeSecurity, DllImport("gif", EntryPoint = "EGifOpenFileName", CallingConvention = __CallingConvention.Cdecl)]
 internal static extern __IntPtr EGifOpenFileName([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string GifFileName, bool GifTestExistence, int* Error);


Not sure if a bug or bad use, Future build does not cause child views to rebuild when data is ready..

Hello there,
I have. a FutureBased view model that eventually shows a map... with list. of markers,, child BaseView model is a map that generates markers when receiving data in widget vida constructor.
Basically on parent view
 model.isBusy ?    NearbyMapView(rests:  []) :  NearbyMapView(rests:  model.data.hits),
and the child view onmodalready function creates markers for the map when receiving the data..
 onModelReady: (model) => model.setMarkers(rests)
the setMarkers functions basically converts the rests object to markers and notify listeners,,
But because the view is rendered already,, it does not fire again.. so it only takes the firs init which has an empty array,, once the data is received from the parent view ,, it does not rebuild the child view..
It works only If i used a different widget like this
 model.isBusy ?    Container() :  NearbyMapView(rests:  model.data.hits),
But that is not how I want it to look like..
any help.. thanks.

Hey @bdairy this is a common Flutter problem. Doesn't have anything to do with stacked :)
Pass in a unique key to each of the constructors. Flutter doesn't know that it's a different widget so it re-uses the same one. That's the default behaviour to ensure a performant build tree. To tell flutter it's a "different widget" or the same widget with different data pass in a key that's different for each of the widgets.
model.isBusy ? NearbyMapView(key: Key('empty'), rests: []) : NearbyMapView(key: Key('not-empty'), rests: model.data.hits),

Hey @bdairy this is a common Flutter problem. Doesn't have anything to do with stacked :)
Pass in a unique key to each of the constructors. Flutter doesn't know that it's a different widget so it re-uses the same one. That's the default behaviour to ensure a performant build tree. To tell flutter it's a "different widget" or the same widget with different data pass in a key that's different for each of the widgets.
model.isBusy ? NearbyMapView(key: Key('empty'), rests: []) : NearbyMapView(key: Key('not-empty'), rests: model.data.hits),

@FilledStacks  thanks for the. reply,, It served the purpose,, but that opens another question.. how can I run a function in the View model,  from another widget..
Take this example:

ParentView init.
Child View loads with empty data
Parent view receives data from Future
Child view manipulate the received data without rebuild the whole tree,,  basically just add markers to the map..

In may case :

Parent is a FutureViewModel ,, that has a futureToRun.
While module.isBusy I want to show an empty map
Once future is ready and busy is false, I want to run a function on the child map to add markers to the map,, without re-initing the map.
Normally I would use didUpdateWidget(covariant NearbyMapView oldWidget) But from their I cannot access the model function that builds the markers,, I don't have access to the model outside the viewmodel builder, I  solved that by changing the. child to a lazysinglton and this way I can access from everywhere,, But I am  not sure if that is the correct behavior..plus now this viewmodel cannot be disposed,, I guess..

I appreciate your patience,, I really like your package and I want it to rely on it,, That is why I am bugging u with questions..
Check the attached video,, you will see how the screen flicks... that what I will have using the key to re-render the widget,, the other solution is with get it,, which might memory leak my vm..
https://user-images.githubusercontent.com/10797121/104618471-6c2df880-5695-11eb-8acf-b74f2892c7f3.mov

@FilledStacks  thanks for the. reply,, It served the purpose,, but that opens another question.. how can I run a function in the View model,  from another widget..
Take this example:

ParentView init.
Child View loads with empty data
Parent view receives data from Future
Child view manipulate the received data without rebuild the whole tree,,  basically just add markers to the map..

In may case :

Parent is a FutureViewModel ,, that has a futureToRun.
While module.isBusy I want to show an empty map
Once future is ready and busy is false, I want to run a function on the child map to add markers to the map,, without re-initing the map.
Normally I would use didUpdateWidget(covariant NearbyMapView oldWidget) But from their I cannot access the model function that builds the markers,, I don't have access to the model outside the viewmodel builder, I  solved that by changing the. child to a lazysinglton and this way I can access from everywhere,, But I am  not sure if that is the correct behavior..plus now this viewmodel cannot be disposed,, I guess..

I appreciate your patience,, I really like your package and I want it to rely on it,, That is why I am bugging u with questions..
Check the attached video,, you will see how the screen flicks... that what I will have using the key to re-render the widget,, the other solution is with get it,, which might memory leak my vm..
https://user-images.githubusercontent.com/10797121/104618471-6c2df880-5695-11eb-8acf-b74f2892c7f3.mov

Hey, I interact from ViewModel to ViewModel through streams on a service. I add a stream on the service, I subscribe to it in the Viewmodel that I want to react to something. Then i put a value on that stream when I want the viewmodel to react.
I don't know if that'll help with the flicker but that's how I "call" a function in a different viewmodel. It's not actually calling it, it's just reacting to an event put on a stream that was triggered by another viewmodel.

Hey, I interact from ViewModel to ViewModel through streams on a service. I add a stream on the service, I subscribe to it in the Viewmodel that I want to react to something. Then i put a value on that stream when I want the viewmodel to react.
I don't know if that'll help with the flicker but that's how I "call" a function in a different viewmodel. It's not actually calling it, it's just reacting to an event put on a stream that was triggered by another viewmodel.

So Basically a side service,, with a stream that all vms will listen to,, a good approach,, Basically looks like what a provider would do,, but provider manages the leaks and destroys listeners,,,
What do u think???

So Basically a side service,, with a stream that all vms will listen to,, a good approach,, Basically looks like what a provider would do,, but provider manages the leaks and destroys listeners,,,
What do u think???

@bdairy I don't have many leaks, the ViewModel will dispose of the stream subscription if it needs to. The stream in the service will "just be there" and available to subscribe to at any time. Any ViewModel that wants to subscribe will subscribe and then dispose of its subscription if it doesn't want to listen to the stream anymore.

@bdairy I don't have many leaks, the ViewModel will dispose of the stream subscription if it needs to. The stream in the service will "just be there" and available to subscribe to at any time. Any ViewModel that wants to subscribe will subscribe and then dispose of its subscription if it doesn't want to listen to the stream anymore.


Logic to check in the data for book, ebooks or both

We need some logic here that looks in the json file to determine if a pick has catatlogUrl or ebookUrl or both, and then render the proper block(s) of html... right now if, for example there is no ebookUrl in the book object the html is rendered, but where the url is, it returns undefined. Ideally it would not render the block of html at all.
https://github.com/NYPL/design-toolkit/blob/431bd6b2c3e84188f545335ea6bf18569676d471/docs/js/contentCard.js#L19
Set up a condtional where we ask if the ebookUrl is present then render the right html block.

this commit should fix this issue:
https://github.com/NYPL/design-toolkit/commit/8725e9a32d325145e003e57c9908b7ab9300403e
@EdwinGuzman or @ktp242  could you take a look and let me know if this is the right approach? It works, but I'm curious how you would do it.

@EdwinGuzman thanks for taking a look. I'll keep at it.

@EdwinGuzman check the latest commit

Yes.
A different minor change: this.classesFromTags = (tag) => { and this.tagsRaw = (rawTag) => { both take in an argument but it's not being used. When you call each function you also don't pass any arguments in. You're relying on the pick variable in the loop inside each function. It'd be better if those functions used only the variable passed to it:
this.tagsRaw = (pick) => {
   return pick.tags.map(rawTag => rawTag.replace(/\,/ , ', ');
}

and for those functions to be outside the loop, too.

@EdwinGuzman alright, fixed up the above issue(s)...
...next...

closing


Getting Invoke-RestMethod: {"errorCode":"ERR_SECRET_STORES_NOT_CONFIGURED","message":"secret store is not configured"}

Describe the issue

I am getting the above error in the Dapr Getting Started guide. I suppose it is a problem with the path to the secrets file in
On windows, I tried a dozen different way to specify "/mysecrets.json" in localSecretStore.yaml, but when running myapp and invoking the rest call:
Invoke-RestMethod: {"errorCode":"ERR_SECRET_STORES_NOT_CONFIGURED","message":"secret store is not configured"}

all of them result in:
Invoke-RestMethod: {"errorCode":"ERR_SECRET_STORES_NOT_CONFIGURED","message":"secret store is not configured"}

URL of the docs

https://docs.dapr.io/getting-started/get-started-component/
Expected content

I expect the rest call to return the expected response:
{"my-secret":"I'm Batman"}

Screenshots

Additional context

The docs (https://docs.dapr.io/reference/components-reference/supported-secret-stores/file-secret-store/) also do not specify whether the path is a relative path (if so, from where?) or what the proper syntax is on Windows.

Sorry, but the problem turned out to be an extra ".txt" helpfully added by the brain-dead text editor to the end of my yaml file. After fixing that, a relative path to the file from where the dapr run command is invoked worked. Would be nice to have a Windows path example, though. I might have caught on and ruled out the spelling of the path earlier.


Question about grouping function

Hi Daniil, I'm trying to adapt your code for a different dataset, your markdown reference is very helpful and well written, thank you!
I have one question on the grouping function https://github.com/Daniil-Osokin/lightweight-human-pose-estimation.pytorch/blob/master/modules/keypoints.py#L124 how should I change this line if the number of keypoints is different? It seems to me that you manually manage the last two part_id but I'm not sure.
Should I leave it as it is even if the number of PAFS (and keypoints) changed or let's say myBODY_PARTS_PAF_IDS has length of 30 should I switch it to elif part_id == 28 or part_id == 29:?
Thank you very much.

Hi! These two are auxiliary parts. They are not useful for a new pose instance creation (by design), but add keypoint into skeleton if it missed there. Actually, they just add ears if person stands backwards. So, adjust it for your use case.

Oh! Is that the ear to shoulder connection? That makes a lot of sense!
Thank you very much that's kinda cleaver


Admin controller a.k.a. /admin

Admin controller will provide feedback and control abilities for third party apps over ErpNet.FP, via Kestrel http. ErpNet.FP.Win.Manager for example will use it for feedback and control over ErpNet.FP.Win.

admin interface is not required, if autodetect is needed then we will restart the service.


Add the support of XIAOMI Aqara LLKZMK11LM Two-way Control Module

Modification to add the support of this new zigbee module :Add the support of XIAOMI Aqara LLKZMK11LM Two-way Control Module

Thanks!


HBASE-24395 ServerName#getHostname() is case sensitive

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 52s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-1 Compile Tests _

+1 :green_heart:
mvninstall
9m 46s
branch-1 passed

+1 :green_heart:
compile
0m 40s
branch-1 passed with JDK v1.8.0_262

+1 :green_heart:
compile
0m 44s
branch-1 passed with JDK v1.7.0_272

+1 :green_heart:
checkstyle
1m 46s
branch-1 passed

+1 :green_heart:
shadedjars
3m  0s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 48s
branch-1 passed with JDK v1.8.0_262

+1 :green_heart:
javadoc
0m 40s
branch-1 passed with JDK v1.7.0_272

+0 :ok:
spotbugs
2m 59s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
2m 56s
branch-1 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 55s
the patch passed

+1 :green_heart:
compile
0m 41s
the patch passed with JDK v1.8.0_262

+1 :green_heart:
javac
0m 41s
the patch passed

+1 :green_heart:
compile
0m 44s
the patch passed with JDK v1.7.0_272

+1 :green_heart:
javac
0m 44s
the patch passed

+1 :green_heart:
checkstyle
1m 32s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
2m 51s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
4m 29s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

+1 :green_heart:
javadoc
0m 32s
the patch passed with JDK v1.8.0_262

+1 :green_heart:
javadoc
0m 43s
the patch passed with JDK v1.7.0_272

+1 :green_heart:
findbugs
2m 52s
the patch passed

_ Other Tests _

-1 :x:
unit
110m 52s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 35s
The patch does not generate ASF License warnings.

158m 23s

Reason
Tests

Failed junit tests
hadoop.hbase.master.TestAssignmentManagerOnCluster

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2221

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux aadae55e5427 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2221/out/precommit/personality/provided.sh

git revision
branch-1 / 839ce8e

Default Java
1.7.0_272

Multi-JDK versions
/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/1/testReport/

Max. process+thread count
4402 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/1/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.0.1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
12m 35s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-1 Compile Tests _

+1 :green_heart:
mvninstall
10m 10s
branch-1 passed

+1 :green_heart:
compile
0m 49s
branch-1 passed with JDK v1.8.0_262

+1 :green_heart:
compile
0m 50s
branch-1 passed with JDK v1.7.0_272

+1 :green_heart:
checkstyle
2m  2s
branch-1 passed

+1 :green_heart:
shadedjars
3m 35s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 51s
branch-1 passed with JDK v1.8.0_262

+1 :green_heart:
javadoc
0m 46s
branch-1 passed with JDK v1.7.0_272

+0 :ok:
spotbugs
3m 32s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 27s
branch-1 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 16s
the patch passed

+1 :green_heart:
compile
0m 48s
the patch passed with JDK v1.8.0_262

+1 :green_heart:
javac
0m 48s
the patch passed

+1 :green_heart:
compile
0m 52s
the patch passed with JDK v1.7.0_272

+1 :green_heart:
javac
0m 52s
the patch passed

+1 :green_heart:
checkstyle
1m 49s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
3m 22s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
5m 19s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

+1 :green_heart:
javadoc
0m 38s
the patch passed with JDK v1.8.0_262

+1 :green_heart:
javadoc
0m 45s
the patch passed with JDK v1.7.0_272

+1 :green_heart:
findbugs
3m 26s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
124m 42s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 30s
The patch does not generate ASF License warnings.

183m 29s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2221

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 3401667bfd52 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-agent/workspace/Base-PreCommit-GitHub-PR_PR-2221/out/precommit/personality/provided.sh

git revision
branch-1 / e4a8dcc

Default Java
1.7.0_272

Multi-JDK versions
/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/2/testReport/

Max. process+thread count
3586 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2221/2/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.0.1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Closing this, new PR is already created https://github.com/apache/hbase/pull/2690


Commit pump

Added Commit Ingestion based on general logic of PullRequest, with a a watermark based on RepoId.

Copyright (C) 2020 https://github.com/chinarosesz/AzureDevOps.DataIngestor

@mgardnerMS, we should also add the build ingestor here as well when you get a chance.

Refers to: README.md:21 in 400d785. [](commit_id = 400d78587ca6f7d3de3ddffa1f65805b847ec889, deletion_comment = False)


Share a photo

Click on "..." to share a photo via UIActivityViewController

@jdisho this functionality is already present   case let .activity(items):             let vc = UIActivityViewController(activityItems: items, applicationActivities: nil)             return .alert(vc) in scene.swift


NTR: behavioral nutrition intervention and regulated nutrition intervention

‘Behavioral nutritional intervention’ and ‘regulated nutritional intervention’ under ‘Nutritional intervention’ (MAXO_0000009) based on the WHO https://www.who.int/elena/intervention/en/

Based on WHO terminology, this likely should be 'nutrition Intervention' (no -al at the end) and similarly 'behavioral nutrition intervention' and 'regulated nutrition intervention' (without -al in either). Can certainly also add exact synonyms for these terms with -al.


fix regression in dev mode

npm run dev now doesn't works with dev branch.

Codecov Report

Merging #1973 into dev will decrease coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              dev   #1973      +/-   ##
=========================================
- Coverage   89.32%     89%   -0.32%
=========================================
  Files          14      14
  Lines         946     946
=========================================
- Hits          845     842       -3
- Misses        101     104       +3

Impacted Files
Coverage Δ

lib/core/nuxt.js
93.18% <0%> (-4.55%)
:arrow_down:

lib/core/renderer.js
77.17% <0%> (-0.42%)
:arrow_down:

Continue to review full report at Codecov.

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


Tracing should indicate what bicepconfig.json file(s) were found and are being used.

This would help debugging and understanding the behavior of where settings are coming from.

@StephenWeatherford - I added it to committed but feel free to move it up


Even though it contains multiple elements, the avoid_single_child warning appears when using an if condition.

Describe the bug
Even though it contains multiple elements, the avoid_single_child warning appears when using an if condition.
To Reproduce
Column(      // <- avoid_single_child warnings here
  children: [
    if (isA) ...[
      _buildA1(),
      _buildA2(),
    ] else if (isB) ...[
      _buildB1(),
      _buildB2(),
    ] else ...[
      _buildC1(),
      _buildC2(),
    ],
  ],
)

Expected behavior
if condition children has not warnings

I think you are right!
I would like to avoid the warning if the if-else had more than one content.


[ BUG ] Incorrect GitHub Link Redirect on User Profiles

When clicking on the GitHub link on a user's profile on jsr.io, the link redirects to an undefined username on GitHub instead of the actual username of the users. This problem occurs continuously in different user profiles.

Its working as expected for me

Hello Dear @akmittal. Can I request that you do a test on the scope db members and then we can check the result?

@mikoloism All those are working for me too. Can you try in a different browser or clear browser cache and try

Yes, Your are correct. thank!


Issue in Flutter web: "Unsupported operation: Platform._operatingSystem"

[x] I have read the README
[x] I have already searched for the same problem
[x] I have read and done the setup for Android: IMPORTANT Note for Android and iOS and IMPORTANT Note for Android
[x] I have read and done the setup for iOS: IMPORTANT Note for Android and iOS and IMPORTANT Note for iOS
[x] I have ran the sample app and it does not work there

Environment

Technology
Version

Flutter version
1.21.0-9.1.pre

Plugin version
^4.0.0+4

Android version

iOS version

Xcode version

Device information:
Ussing flutter run -d chrome
Description
Expected behavior:
The plugin should work on web
Current behavior:
An exception is thrown: Unsupported operation: Platform._operatingSystem
See the related flutter issue: https://github.com/flutter/flutter/issues/36126
Steps to reproduce

Add inAppWebView in a statefull widget
Run with: flutter run -d chrome
See exception

The fix about this error will be available in the next version 5.0.0. However, flutter_inappwebview doesn't support Flutter Web and will not work on the Web.