Mandatory Attributes

The latest UML2YANG tool will include mandatory substatement to attributes that has "Multiplicity 1 + no default values defined".
The following attributes which are formerly optional will be changed to mandatory in the upcoming YANG.
grouping attribute-value-changed-notification
1.referenced-severity-configuration-identifier
grouping alarm-event-notification
2. alarm-event-sequence-number
3. alarm-type-id
4. alarm-type-qualifier
5. resource
grouping alarm-kind-type
6. alarm-type-id
7. alarm-type-qualifier
grouping severity-configuration-type
8. severity-configuration-identifier
9. alarm-type-id
10. alarm-type-qualifier
11. resource-group-description
grouping current-alarm-type
12. current-alarm-identifier
13. alarm-type-id
14. alarm-type-qualifier
15. resource
grouping alarm-event-record-type
16. alarm-event-sequence-number
17. alarm-type-id
18. alarm-type-qualifier
19. resource

Proposal to the 5G-xhaul call at 21st of June 2023:
The following attributes will be equipped with a mandatory statement in YANG:
grouping attribute-value-changed-notification
1.referenced-severity-configuration-identifier
grouping alarm-event-notification
2. alarm-event-sequence-number
3. alarm-type-id
4. alarm-type-qualifier
5. resource
grouping alarm-kind-type
6. alarm-type-id
7. alarm-type-qualifier
grouping severity-configuration-type
8. severity-configuration-identifier
9. alarm-type-id
10. alarm-type-qualifier
11. resource-group-description
grouping current-alarm-type
12. current-alarm-identifier
13. alarm-type-id
14. alarm-type-qualifier
15. resource
grouping alarm-event-record-type
16. alarm-event-sequence-number
17. alarm-type-id
18. alarm-type-qualifier
19. resource
(Vendors to please check, whether their devices are able to associate a proper value in all cases.
Otherwise adding a default value (for indicating an attribute not being supported) shall be considered in such case.)

IMO the following attributes should not be mandatory:
alarm-event-notification

alarm-type-id, alarm-type-qualifier:
The attributes together identify an alarm. So one of them might not be present (in most cases the qualifier).
resource:
There might be cases where the resource is not provided or cannot be given because the affected object is not covered by the information models.

severity-configuration-type

alarm-type-id, alarm-type-qualifier: see above.
resource-group-description:
A human-readable description does not always exist.

current-alarm-type

alarm-type-id, alarm-type-qualifier: see above.
resource: see above.

alarm-event-record-type

alarm-type-id, alarm-type-qualifier: see above.
resource: see above.


Adding a built in Returns factor to the pipeline API

I followed the RSI example in writing the test.  @ssanderson this is ready for you to look at when you get a chance.

@ssanderson thanks for the feedback, I've made those change.  Let me know if there's anything else.

LGTM

@TimShawver can you add a whatsnew for this?

@ssanderson I added a whatsnew and also added our built-in factors to the API docs for zipline.io.  I noticed they were missing when I tried to link to the new Returns factor from the release notes.


Memory leaks in net.c and missing MTU?

I see alot of mallocs without a free(). Seems you loose some memory when you send some packets around:
exp:
static int net_send_tcp(struct socket *socket, uint16_t flags, uint8_t * payload, uint32_t payload_size) {
	struct tcp_header *tcp = malloc(sizeof(struct tcp_header) + payload_size);
.....
	if (payload) {
		memcpy(tcp->payload, payload, payload_size);
	}

	return net_send_ip(socket, IPV4_PROT_TCP, tcp, sizeof(struct tcp_header) + payload_size);
}

and in net_send_ip().. the same.. a malloc and payload gets copied, but no free. same then with the other functions being called. malloc, copy.. again. Maybe you should add a free(payload) after memcpy().
Another question: I dont see anything about Max Transfer Unit (MTU) and splitting up packets if they get too big. Intentional?
Cheers
C.

Can you file the MTU issues separately? It is known that we're not respecting any advertised MTUs, but we do split things up ourselves to very small amounts and I believe we're requesting a small MTU on our outgoing packets but I'd have to doublecheck.

Done. Changed title, removed the MTU text and put it into an own Issue.

A good bit of work was done to eliminate leaks in the network stack during the PCNET driver project, and I believe we have been successful, so I am closing this.


Use tenant-manager from this repository

The full integration is blocked by the integration-tests in registry 🙁


qusb2snes: init at <IP_ADDRESS>

Motivation for this change
Enable auto-tracking, netplay, etc for SNES emulators.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I took a quick look at the changes, it all looks good but I suggest using fetchFromGitHub over fetchTarball when fetching from github, idr why but it's preferred (something like faster downloads).

Thanks for the reviews. All suggestions have been implemented. Sorry for forgetting meta.

Closing due to inactivity from author.


New package: LRESolve v0.2.0

Registering package: LRESolve
Repository: https://github.com/NormannR/LRESolve.jl
Created by: @NormannR
Version: v0.2.0
Commit: 09b7fe946259cbaf9f8f794a8f53c3b07ba8ae8d
Reviewed by: @NormannR
Reference: https://github.com/NormannR/LRESolve.jl/commit/09b7fe946259cbaf9f8f794a8f53c3b07ba8ae8d#commitcomment-35982060

Please, delete this pull request. It is a mistake. Thank you for your attention and sorry for the inconvenience.


CheckScmInSrc failed for requirements.txt w/ scm+url schema

Hi,
I've pinned the version of ansible-later in requirements.txt to a specific version. But this triggers an error, even if I think the line is correct.
Interestingly, the test does not fail when I comment out the first line.
Steps to reproduce:
$ ll
total 4
-rw-r--r-- 1 carsten users 230 Dec 13 13:55 requirements.txt
$ cat requirements.txt
ansible == 6.6.0
# use git version till fix for github.com/thegeeklab/ansible-later/issues/501
# is officially released in a version > 3.0.0
#ansible-later
git+https://github.com/thegeeklab/ansible-later@fa35fee#egg=ansible-later
$ ansible-later
ERROR: [ANSIBLE0005] Standard 'Use `scm:` key rather than `src: scm+url`' not met:
... requirements.txt:5: syntax error: did not find expected <document start>

First line commented out:
$ cat requirements.txt
#ansible == 6.6.0
# use git version till fix for github.com/thegeeklab/ansible-later/issues/501
# is officially released in a version > 3.0.0
#ansible-later
git+https://github.com/thegeeklab/ansible-later@fa35fee#egg=ansible-later
$ ansible-later

Also, I would prefer to lower the severity from "Error" to "Warning" since this format is not a true bug/coding error.
Regards,
Carsten

Hi, place your requirements.txt file outside the role or add it to the exclude_files list, see https://ansible-later.geekdocs.de/configuration/defaults/
The test is complaining about syntax error: did not find expected <document start> which is a yaml parse error due to the fact the file is not a valid yaml file. The file is detected by https://github.com/thegeeklab/ansible-later/blob/main/ansiblelater/candidate.py#L209 and this test is a bit broader to allow multiple valid yaml extensions e.g. yml|yaml.

Also, I would prefer to lower the severity from "Error" to "Warning" since this format is not a true bug/coding error.

That can be controlled by the user. For details, please read the warning_filter description at https://ansible-later.geekdocs.de/configuration/defaults/

I added an entry to exclude_files to solve this issue.
I am still struggling with the classification as a role file. I understand the attempt to parse as many yaml files as possible. With this approach, requirements.txt files are also classified as yaml files and each user has to manually exclude this Python default file. What do you think about blacklisting requirements.txt files to prevent them from being classified as role files, or excluding them automatically if the yaml parser fails?

I thought about it again and think that your suggestion makes sense.


Replace angle with radians and degrees in sin and cos

This pull request is to fix #513 .

Looks great, thanks!

My pleasure ! :)


List of files to npm publish in package

Coverage remained the same at 76.667% when pulling e8603b037227a29d74e7188ed5414d9ee4cb2d8c on shanel262:master into 3f05656e50bb0654846b49fd205a61ab2f35b75e on nodezoo:master.


Piecewise copy of matrix results in unexpected output

This issue is either caused because I've been looking at the wrong thing or I must be doing something wrong at a different level. While trying to fix an issue I had with billboarding I stripped away my code piece by piece down to the following code. Somehow I get different results when I use material.worldPosition = mat * getPosition();  and material.worldPosition = rot * getPosition();
material {
 name : color,
    shadingModel : lit,
    blending: opaque,
    doubleSided: true,
    vertexDomain: object,
    parameters : [
      { type: float3, name: albedo },
      { type: float, name: roughness },
      { type: float, name: metallic },
      { type: float, name: alpha }
    ],
    }

fragment {
  void material(inout MaterialInputs material) {
    prepareMaterial(material);
    material.baseColor.rgb = vec3(1, 1, 1);
    material.baseColor.a = 1.0;
  }
}

vertex {

  void materialVertex(inout MaterialVertexInputs material) {

    mat4 mat = getWorldFromModelMatrix();
    mat4 rot;

    rot[0][0] = mat[0][0];
    rot[0][1] = mat[0][1];
    rot[0][2] = mat[0][2];
    rot[0][3] = mat[0][3];

    rot[1][0] = mat[1][0];
    rot[1][1] = mat[1][1];
    rot[1][2] = mat[1][2];
    rot[1][3] = mat[1][3];

    rot[2][0] = mat[2][0];
    rot[2][1] = mat[2][1];
    rot[2][2] = mat[2][2];
    rot[2][3] = mat[2][3];

    rot[3][0] = mat[3][0];
    rot[3][1] = mat[3][1];
    rot[3][2] = mat[3][2];
    rot[3][3] = mat[3][3];

    //material.worldPosition = mat * getPosition();
    material.worldPosition = rot * getPosition();
  }
}

When I use material.worldPosition = mat * getPosition() I get

And when I use material.worldPosition = rot * getPosition() I get

My system:
$ lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd Device 3fe9
	Kernel driver in use: nvidia

$ uname -a
Linux arch2080 5.8.5-arch1-1 #1 SMP PREEMPT Thu, 27 Aug 2020 18:53:02 +0000 x86_64 GNU/Linux

# from /var/log/Xorg.0.log
[    12.853] (II) Module nvidia: vendor="NVIDIA Corporation"
[    12.854] (II) NVIDIA dlloader X Driver  450.66  Wed Aug 12 19:44:12 UTC 2020
[    12.854] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    12.862] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    12.862] (==) NVIDIA(0): RGB weight 888
[    12.862] (==) NVIDIA(0): Default visual is TrueColor
[    12.862] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    12.862] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    12.862] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    12.862] (**) NVIDIA(0): Option "HardDPMS" "false"
[    12.862] (**) NVIDIA(0): Enabling 2D acceleration
[    12.862] (II) Loading sub module "glxserver_nvidia"
[    12.862] (II) LoadModule: "glxserver_nvidia"
[    12.863] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    12.924] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    12.925] (II) NVIDIA GLX Module  450.66  Wed Aug 12 19:41:37 UTC 2020
[    12.927] (II) NVIDIA: The X server supports PRIME Render Offload.

Can you try declaring rot as highp mat4 rot;? Though I wouldn't expect precision to have that large of an effect.
Are you compiling the material with optimizations? Try turning optimizations off (matc: -g flag) and see if that makes a difference.

highp is the default in vertex shaders, it shouldn't be necessary (and mediump might not even turn into fp16 computations on desktop GPUs anyway).

Are you compiling the material with optimizations? Try turning optimizations off (matc: -g flag) and see if that makes a difference.

When I disable optimizations it works as expected.

Interesting, perhaps it's a glslang / spirv-cross bug.

Sounds like it. Does rot = mat work?

Sounds like it. Does rot = mat work?

Yep that works.

I investigated a bit, and clearly this code gets optimized very very wrongly -- either spirv-cross or spirv-opt ends-up generating a full matrix assignment per assignment, e.g.:
mat4 _428;
void main()
{
    mat4 _381 = _428;
    _381[0].x = _105._m0[0].x;
    mat4 _384 = _381;
    _384[0].y = _105._m0[0].y;
    mat4 _387 = _384;
    _387[0].z = _105._m0[0].z;
  ...
}

We'll report this.

That said the generated code is correct, just a bit too complicated. The driver is falling over :/

Still need to report this to spirvopt/spirvtools.

There are two issues here: (1) incorrect rendering seen on an NVIDIA Linux machine, and (2) poor optimization.
The poor optimization code that Mathias noticed is actually from the "good" case (correct rendering).
For (1) I don't think there's anything actionable on our end, I can't repro it on my MacBook.  @roxlu maybe you can give it another try using latest NVIDIA drivers + the latest Filament code.  Note that we updated glslang and spirv-tools today.
For (2) I can still reproduce it, even with the latest glslang and spirv-tools.  I verified this by hacking the vertex shader in pointSprites.mat and doing:
./out/cmake-release/tools/matinfo/matinfo -w 8080 out/cmake-release/samples/generated/material/pointSprites.filamat

Correction, the poor optimization that Mathias noticed is indeed from the "bad" case.
However, there are still two separate issues here: for the second issue I will file a ticket against spirv-tools and reference it here, so that we can close this one out.

I filed an issue with spirv-tools here:
https://github.com/KhronosGroup/SPIRV-Tools/issues/4371

This issue is either caused because I've been looking at the wrong thing or I must be doing something wrong at a different level. While trying to fix an issue I had with billboarding I stripped away my code piece by piece down to the following code. Somehow I get different results when I use material.worldPosition = mat * getPosition(); and material.worldPosition = rot * getPosition();
material {
 name : color,
    shadingModel : lit,
    blending: opaque,
    doubleSided: true,
    vertexDomain: object,
    parameters : [
      { type: float3, name: albedo },
      { type: float, name: roughness },
      { type: float, name: metallic },
      { type: float, name: alpha }
    ],
    }

fragment {
  void material(inout MaterialInputs material) {
    prepareMaterial(material);
    material.baseColor.rgb = vec3(1, 1, 1);
    material.baseColor.a = 1.0;
  }
}

vertex {

  void materialVertex(inout MaterialVertexInputs material) {

    mat4 mat = getWorldFromModelMatrix();
    mat4 rot;

    rot[0][0] = mat[0][0];
    rot[0][1] = mat[0][1];
    rot[0][2] = mat[0][2];
    rot[0][3] = mat[0][3];

    rot[1][0] = mat[1][0];
    rot[1][1] = mat[1][1];
    rot[1][2] = mat[1][2];
    rot[1][3] = mat[1][3];

    rot[2][0] = mat[2][0];
    rot[2][1] = mat[2][1];
    rot[2][2] = mat[2][2];
    rot[2][3] = mat[2][3];

    rot[3][0] = mat[3][0];
    rot[3][1] = mat[3][1];
    rot[3][2] = mat[3][2];
    rot[3][3] = mat[3][3];

    //material.worldPosition = mat * getPosition();
    material.worldPosition = rot * getPosition();
  }
}

When I use material.worldPosition = mat * getPosition() I get
And when I use material.worldPosition = rot * getPosition() I get
My system:
$ lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd Device 3fe9
	Kernel driver in use: nvidia

$ uname -a
Linux arch2080 5.8.5-arch1-1 #1 SMP PREEMPT Thu, 27 Aug 2020 18:53:02 +0000 x86_64 GNU/Linux

# from /var/log/Xorg.0.log
[    12.853] (II) Module nvidia: vendor="NVIDIA Corporation"
[    12.854] (II) NVIDIA dlloader X Driver  450.66  Wed Aug 12 19:44:12 UTC 2020
[    12.854] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    12.862] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    12.862] (==) NVIDIA(0): RGB weight 888
[    12.862] (==) NVIDIA(0): Default visual is TrueColor
[    12.862] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    12.862] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    12.862] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    12.862] (**) NVIDIA(0): Option "HardDPMS" "false"
[    12.862] (**) NVIDIA(0): Enabling 2D acceleration
[    12.862] (II) Loading sub module "glxserver_nvidia"
[    12.862] (II) LoadModule: "glxserver_nvidia"
[    12.863] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    12.924] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    12.925] (II) NVIDIA GLX Module  450.66  Wed Aug 12 19:41:37 UTC 2020
[    12.927] (II) NVIDIA: The X server supports PRIME Render Offload.

Hi, is it convinient for you to share the billboard implemention code? I am also studying how to implement billboard with filament


Important README UPDATE

CHECKOUT THE README ASAP
Follow all the new changes and then raise PRs.

I can .. Please assign the task to me.


Request for best performance model

Hi, I really appreciate your wonderful work. But when I run the "segctcent_800w.sh" script, I get much lower Seq_Acc than they are in the paper.
I guess the performance gaps come from the training iteration steps. The scripts (segctcent_800w.sh) says 50 epochs. But in your paper,  you says 150 epochs.
Am I right ?
It takes almost two months to finish the 50 epochs training steps. It seems impossible for me to finish the left 100 epochs. So could you please provide the best performance model on Synth90K dataset?
I just want to make a comparison and validate my work.  Many thanks.

Hello, I want to know where I can download the dataset file "max90k_train_val.lmdb", "data/max90k_test.lmdb" to run the "segctcent_800w.sh" script.


[Task - App Share]: List entities in App Invite Modal

API:
List all the entities who have App Default Roles.
Uri: /api/v1/applications/<application_id>/members
Method: Get
Response: {
  "responseMeta": {
    "status": 200,
    "success": true
  },
  "data": [
    {
      "group": "Untitled Group 1",
      "role": "Developer",
    },
    {
      "name": "nilesh",
      "username"<EMAIL_ADDRESS>      "role": "Developer",
    },
    {
      "username"<EMAIL_ADDRESS>      "name": "test",
      "role": "App Viewer"
    }
  ],
  "errorDisplay": ""
}

Closing the issue as development is complete and merged to release.


power-domain-gpio must have configurable init priority

Current implementation of power-domain-gpio does not have a configurable init priority. It is hardcoded to 75.
This makes it incompatible with any device drivers that have a lower priority.
The init priority of power-domain-gpio should be configurable via Kconfig

@GrantRolls Could you submit a PR for fixing this?

@GrantRolls Could you submit a PR for fixing this?

Yes, I can try get around to this sometime in the next week

I have created a pr adding option to change init priority in all available domains

Thanks for that.
Closing this regardless because I didn't realise it had already been resolved to some degree with the common config option. I'm running an older version.


Preview & Save Draft icons hover state background wrong size

Bug Description
Hover gray background on icons should match the height of the “Publish” button
Expected Behaviour

Steps to Reproduce
Hover over either the Preview or Save Draft icons at the top right of the editor to enable the mouseover state
Screenshots

Additional Context

Plugin Version:
WordPress Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Added a question to Slack about it: https://xwp.slack.com/archives/C01ESBB8ZN1/p1616444452044400
In Figma, the icon buttons are smaller than the Publish button so we'll need UX confirmation first.
(It also looks like the button style has changed a bit meanwhile (buttons now have border), might make sense to implement that here, too)

Looks like the Publish button in Figma has incorrect size instead -- these should all have 32px height based on Sam's comment.


chore(release): 1.103.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: ef2d6a46ae79401b4a3f36ded74d4d5d0c336eab
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: dca0c5f6ac2f63acada304859fefd2d266c73ae7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Wallet Connect not working

Description
Wallet Connect not working on mobile IOS, can't confirm if this happens on Android as well. Also confirmed is not working on Brave Desktop and have reports from other browsers
Steps to reproduce
Steps to reproduce the behavior:
Connect to site using Iphone or IOS device and click . Wallet selection menu select ,
the menu stays up. Tested with other wallet connect enabled sites and they work as expected and show the prompt for wallet selection.
Stuck in this screen

Expected behavior
Menu should close and open wallet selection screen from block native for approval.
Screenshots

Versions
v2 site Jan 19 2021

React-Boilerplate:
Node/NPM:
Browser:

Received a report from a user that this is also broken on v1.yearn.finance for them as well, trying to connect iOS Trust Wallet to website

Received a report from a user that this is also broken on v1.yearn.finance for them as well, trying to connect iOS Trust Wallet to website


Update magic8.py

import random
create random number from 1 to 9
random_number = random.randint(1, 9)
taking user name input and question
name = input("Whats your name? ")
question = input("Enter your question ...")
variables will be used later in the if statement
answer = ""
if random_number == 1:
answer = "Yes definitely."
elif random_number == 2:
answer = "It is decidedly so."
elif random_number == 3:
answer = "Without a doubt."
elif random_number == 4:
answer = "Reply hazy, try again."
elif random_number == 5:
answer = "Ask again later."
elif random_number == 6:
answer = "Better not to tell you now."
elif random_number == 7:
answer = "My sources say no"
elif random_number == 8:
answer = "Outlook not so good"
elif random_number == 9:
answer = "Very doubtful"
else:
answer = "Error"
print(name, " asks: ", question)
print("Magic ball answers: ", answer)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Corrected multiple pages

Description
Corrected all the mentioned ppages
Fixes:  #526

Type of change

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

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@aditya-bhaumik all right

On it.

Before changes:

Width changes when toggling between modes

https://github.com/user-attachments/assets/eb8e36ad-2bf8-4c72-b665-615f45dfdca5

Extra space in smaller screens

https://github.com/user-attachments/assets/48ddb4f9-a2cc-445f-ba51-5e8f493ad014

@aditya-bhaumik please kindly have a look.
Thank you.

will review it before today night


Translations to other languages is blocked by the "no derivatives" license.

I was ready to translate the article to spanish (including code) but the license is crystal clear about this.
The international spread of this article is intentionally blocked by the publisher, isn't it?
Thank you, the article is a master work.

I was kind of wondering about this more broadly as well. Ignore translations for a moment. Suppose I fork the GitHub repo, change the text a bit, and submit a pull request with my proposed edits. I've just created a derivative work of the article, which GitHub is now happily distributing on my behalf.

I don't read all the article is fully english, and i am indonesian people so you must translate to other language i can't translate much like that :)
BTW i want copy your article +1:

@zachlipton if the changes you make involve a significant creative effort on your part, then the resulting work is considered to be a derivative, and thus not licensed under CC BY-NC-ND. If the changes are mechanical, for example, a run through a spell-checker, then a new "work" with respect to copyright is not created, and is allowed by the ND license. The legal bar for what is considered creative is rather low. I am not a lawyer, just a copyright nerd.


Buggy libraries in zeptocomjs

I found a couple of bugs in the versions of the libraries which come with zeptocomjs (https://tabemann.github.io/zeptocomjs/zeptocom.html), on the bottom right-hard corner Library list.
These problems dont happen when using the latest versions from the zeptoforth repository, these are probably outdated versions:
simple_font parses 8 bits in a font row instead of 7. Wide characters like 'W' and 'H' are chopped off on the leftmost pixel on a SSD1306 display.
rp2040_neopixel (neopixel module) doesn't init pins-pio-alternate. This means nothing ever lights up, ever!
Unortunately, these bugs caught me out as a complete zeptoforth newbie.

On Fri, Sep 13, 2024 at 8:44 AM veryalien @.***> wrote:

I found a couple of bugs in the versions of the libraries which come with
zeptocomjs (https://tabemann.github.io/zeptocomjs/zeptocom.html), on the
bottom right-hard corner Library list.
These problems dont happen when using the latest versions from the
zeptoforth repository, these are probably outdated versions:
simple_font parses 8 bits in a font row instead of 7. Wide characters like
'W' and 'H' are chopped off on the leftmost pixel on a SSD1306 display.
rp2040_neopixel (neopixel module) doesn't init pins-pio-alternate. This
means nothing ever lights up, ever!
Unortunately, these bugs caught me out as a complete zeptoforth newbie.

Thank you for bringing these to my attention. It has been a while since I
have looked at zeptocomjs; I will make sure to update these.
Travis

On Fri, Sep 13, 2024 at 9:50 AM Travis Bemann @.***> wrote:

On Fri, Sep 13, 2024 at 8:44 AM veryalien @.***>
wrote:

I found a couple of bugs in the versions of the libraries which come with
zeptocomjs (https://tabemann.github.io/zeptocomjs/zeptocom.html), on the
bottom right-hard corner Library list.
These problems dont happen when using the latest versions from the
zeptoforth repository, these are probably outdated versions:
simple_font parses 8 bits in a font row instead of 7. Wide characters
like 'W' and 'H' are chopped off on the leftmost pixel on a SSD1306 display.
rp2040_neopixel (neopixel module) doesn't init pins-pio-alternate. This
means nothing ever lights up, ever!
Unortunately, these bugs caught me out as a complete zeptoforth newbie.

Thank you for bringing these to my attention. It has been a while since I
have looked at zeptocomjs; I will make sure to update these.

These have now been updated.
Travis

Thanks for updating the files. Now working as expected.


Fix Failing Actions

Windows Failing Tests

river functions that call delft_3d_get_all_time, on python 3.10, all matlab versions, mhkit-python 0.7.0.

Running River_TestIO_Delft
  ...
  ================================================================================
  Error occurred in River_TestIO_Delft/testGetAllTime and it did not run to completion.
      ---------
      Error ID:
      ---------
      'MATLAB:Python:ConverterError'
      --------------
      Error Details:
      --------------
      Error using py.numpy.ndarray/double
      Conversion of Python 'ndarray' type to MATLAB 'double' is only supported for real numbers and logicals.

      Error in delft_3d_get_all_time (line 26)
          result = double(python_result);

      Error in River_TestIO_Delft/testGetAllTime (line 37)
                  time = delft_3d_get_all_time(data);

Attempted fixes:

Update numpy to 1.26.4

No change

Convert output of d3d.get_all_time to a python list then convert to double

Working fix:

Convert np masked array to np array in delft_3d_get_all_time: https://github.com/MHKiT-Software/MHKiT-MATLAB/pull/148/commits/f7b6e7c2d243426ac0d09fc96e68946e8431cc02

Unix Failing Tests
Error using ssl><module> (line 99)
      Python Error: ImportError:
      dlopen(/Users/runner/miniconda3/envs/mhkit_conda_env/lib/python3.9/lib-dynload/_ssl.cpython-39-darwin.so,
      0x0002): Symbol not found: _X509_STORE_get1_objects
        Referenced from: <DEADD0A1-08C8-3D77-A19C-08827189D194>
        /Users/runner/miniconda3/envs/mhkit_conda_env/lib/python3.9/lib-dynload/_ssl.cpython-39-darwin.so
            Expected in:     <F5E6CE2E-D06E-3F50-8C70-5B9602FE418A>
        /Users/runner/hostedtoolcache/MATLAB/2024.1.999/x64/MATLAB.app/bin/maci64/libcrypto.3.dylib

Starting point:

Failing:

Macos:

3.9, R2023b
3.9 R2024a
3.10 R2023b
3.10 R2024a
3.11 R2023b
3.11 R2024a

Attempted Fixes:

Modify dynamic library paths: b7ce780

Working Fix:

Install specific openssl version, 3.0.* with conda and add it as the first entry in DYLD_LIBRARY_PATH: https://github.com/MHKiT-Software/MHKiT-MATLAB/pull/148/commits/2ae226e1b86aa5ca61fe4cbf64c6416c472ad748

This is working. Summary of changes:

Handle edge case in Windows, Python 3.10, MATLAB where a np masked array cannot be parsed

Converts np masked array to np array

Update MacOS actions to use a specific version of OpenSSL installed by conda that is expected by MATLAB

@hivanov-nrel, good questions.

High level, there is a relatively high likelihood that testing these OS/MATLAB/Python version combinations via GitHub Actions won't be completely reliable due to the complexity of the software stack being tested. While I've been patching issues as they arise, I acknowledge this might not be the optimal strategy. We're balancing between testing all possible user configurations and maintaining reliable CI. For the macOS Actions changes here, my educated guess is that this is isolated to the GitHub Actions environment and wouldn't affect users' machines.

I'm not sure why the masked array is being used either. It could be an artifact of the output from the Delft3D model. However, since our tests are consistent between MHKiT-Python and MHKiT-MATLAB, we should catch any discrepancies in the calculations.

Given that these changes fix the immediate issues with the tests, I'll go ahead and merge this PR.


fix for invalid senza definition file structure

Commit 5305174d36f81500a926a88fdd9b666b24c1f914 removed spaces from the environment element making it an invalid YAML structure. This is the fix for the problem.

:+1:


Fall back to modified time if creation time of cached binaries is unavailable

When attempting to re-run the example script from the README in a podman container (Alpine Linux 3.17) I receive the following output:
code $ ./example.rs
A random number:<PHONE_NUMBER>5454293876
code $ ./example.rs
error: creation time is not available on this platform currently

In the container ~/.cache/ is on a fuse-overlayfs, which doesn't seem to expose file creation (called "Birth") time information:
code $ stat ~/.cache/rust-script/binaries/release/example_09d44c1e4ea1d0fc4dcbb3cb
[ ... ]
Access: 2023-06-17 01:54:11.809091333 +0000
Modify: 2023-06-17 01:54:11.822424859 +0000
Change: 2023-06-17 01:54:11.829091621 +0000
 Birth: -

This seems to be introduced by the change here: https://github.com/fornwall/rust-script/commit/ab77a62efaf4e6e55300f44128f919b50b3eadd4#diff-42cb6807ad74b3e201c5a7ca98b911c5fa08380e942be6e4ac5807f8377f87fcR364-R366
The issue is that this code assumes all files will have a creation time, while that's not true on Linux.
This commit makes no behavioral change if retrieving creation time is successful, but changes the error path to instead fall back to modified time if the creation time is missing (instead of erroring out).

Thanks a lot! Has now been released as version 0.29.0.


can we change our project name

can we change our project name ?

@sudipmajkoti07 I think this name is fine for now and later, We will name it to REPUBLIC OF AI


Ele 97 improve on run end performance

Changes:

Added artifact_hash column to artifacts.
Added dbt_artifacts_state view that hash a hash on all the hashes per artifact.
Upon on-run-end, the state is pulled and compared to the current state using local_md5.

This means that the caching will only take place from dbt 1.4.0 onwards.

@elongl do you think we need to add a macro/action to clear existing artifacts?
I also wanted to ask if you want to add an e2e test on this new functionality, something like calling twice and seeing the second time not running?

@RoiTabach

@elongl do you think we need to add a macro/action to clear existing artifacts?
Could you elaborate a bit on why? What's the use-case?
f you want to add an e2e test on this new functionality, something like calling twice and seeing the second time not running?

Yeah, definitely, I wanted to add tests today.

Why do we need to add an action to clear artifacts?
It'll allow me to force upload if that's something I want (if I care about the updated_at field or I want to debug something in the DWH)

@RoiTabach You can force upload by running the models themselves (dbt run -s dbt_models or dbt run -s edr.dbt_artifacts) because the caching only takes place from upload_dbt_artifacts() that is only called in the on-run-end.


Weird traffic

Operation System: Windows 10
Beaker version: 0.8 Beta
I noticed that beaker was (if my computer was idle) the process with the highest bandwidth consumption, even if the beaker window was closed.
So I watched it a little using wireshark...
What I found looks like a bug:
Beaker receives a few hundred TCP messages per second, each 1 byte of content, from <IP_ADDRESS>:53691(Hashbase.io)
and then acknowledges them (empty messages).
UPDATE:
Seems like the number of TCP connections and also the number of sent messages grows with the number of previously visited pages hosted on hashbase.
Does beaker listen to changes of pages even if it is closed? (looks like something like this...)

It's not a bug. P2P sites use https://datproject.org/, which is a bit like bittorrent. You join what's called the "swarm" and listen for updates, and also help share data for sites you visited. You only temporarily stay in the swarm for sites you visit. (Currently it's until you close the browser, but in the near future it'll be for something like 5 minutes after visiting.)
Hashbase.io is a "pinning" service, so it's a common peer on the network.

Closing to help keep the issue count down, but we can keep discussing here.

But like I said the connections stay open when I close the browser(!) and after some time this sums up to a significant amount of traffic, I guess it is polling for changes.
Btw what's the one byte sent by hashbase? (always a different byte)

What I am wondering about is why beakter/dat sends that many messages while not receiving or sending any data.
(about 100 per second and connection)

After you close the browser - that does sound like a bug, maybe related to https://github.com/beakerbrowser/beaker/issues/893. I'll check into that now.
The amount of traffic does seem too much as well. So I'll reopen to check into that.

Confirmed that the browser isn't closing properly on Windows. 😦 Silly bug, I'll get that fixed soon.

Still need to confirm the traffic patterns and make sure it's all correct.

Checked the traffic again (as I have seen you talking about this issue in the dat irc) and I found out that I was seeding a number of pages I liked - maybe that is part of why there was much traffic.
Also, could not confirm the "hundreds of packets per second" again, but still a lot...
After stopped all the seeding I opened a single page and it looked quite ok.
(So I am not sure if this actually a bug after all)

@fsteff appreciate it. The pages stay in your cache for 2 weeks after you stop seeding, so that's why you could visit it.
I think the traffic patterns are not buggy; we just need to reduce the heartbeat frequency.


No setRedirectResponseBlock in Alamofire

You can definitely do this in Alamofire. Check out the source code for the override closures in the SessionDelegate. 👍🏼


Add Evergreen

Hello! This PR adds Evergreen design system to the list.
Website: evergreen.surge.sh
GitHub: github.com/segmentio/evergreen

Sweet, thanks for adding!


How to label censored data on survival curves

lifelines is a great work that provides a lot of efficient features. But there is one thing I don't quite understand, how can I mark the censored data on the survival curve?
I'm a novice and don't understand if I'm expressing myself clearly. As shown in the figure below, there are many short vertical lines on the survival curve, which represent censored data. How can I use lifelines to achieve this function? I hope you can provide me with a simple demo code, thank you.

Hi there, try something like:
kmf.plot_survival_function(show_censors=True, censor_styles={'ms': 6, 'marker': 'vline'})

Thank you very much, but "vline" no use, I use '|' to replace, it is possible. Thank you for your answer and have a good life.


req.isAuthenticated occasionally fails - race condition?

I have set up passport to use a custom authentication scheme, but for arguments sake, imagine it authenticates any user to the app. I have a 'landing' page with a login button that issues a post, handled as follows:
app.post('/:id/landing', function (req, res, next) {
  passport.authenticate('myAuth', function (err, user) {
    if (err || !user) {
      return res.redirect('/' + req.params.id + '/landing' + req.body.redirectTo);
    } else {
      req.logIn(user, function () {
        return res.redirect('/' + req.params.id + '/' + req.body.redirectTo);
      });
    }
  })(req, res, next);
});

later, a route handler matches the redirect:
app.all('/:id/', function (req, res) {
  if (req.isAuthenticated()) {
    res.sendFile('index.html', {root: __dirname + '/../frontend/'});
  } else {
    // Instead of redirecting to /landing, simply render it.
    // this gets round safari issue with losing url fragments during a redirect:
    // https://bugs.webkit.org/show_bug.cgi?id=24175
    //
    res.render('landing', {message: '', previousID: '/' + req.params.id});
  }
});

9 times out of ten, this all works fine, but occasionally req.isAuthenticated will return false. If I put some logging in, I can see that before the redirect I have a valid req.user object, but then in the second route handler following the redirect, req.user is undefined. Sometimes it works, sometimes it doesn't! (When it does work, req.user IS defined in the second route handler) Is this issue the same as others have reported around the user not being serialised correctly?

@benheymink was it the redirect issue you mention in your comment? I'm experiencing the same problem.

@ChristopherGS The issue was that req.logIn is async, and hadn't finished flushing to the session store by the time the next request had come in for the redirect resource. I got around it by manually saving the season before the redirect:
          req.logIn(user, function () {
            // Manually save session before redirect. See bug https://github.com/expressjs/session/pull/69
            req.session.save(function(){
                res.redirect('/someURL');
            });
          });

Hope this helps!

@benheymink thanks for the explanation - will give this a try. Like you say, it's a tricky one because it only shows up about 1 in 10 times.

We also had such issues.
But this issue does not happen on all of our machines, we only see this in some of them.
Do you know what are the conditions that will trigger this?
Could this be some default flags that is uninitialized that causes the behavour?
We ran into the same issues , after a few redirects, the req.user=undefined
currentLng set to: en-US
debug: User is authenticated. Proceeding to the next page
{"req.user":{"password":"$2a$08$kBhANRyFam8eyNt4z8CXw.lNyixXbGVFVFEXNVrLO3agGQfmxy5jS","username":"pure1","_id":"55074542a34c0a9b55fe3a76","__v":0}}
debug: GET /gallery/ 304 162.091 ms - -
currentLng set to: en-US
debug: User is authenticated. Proceeding to the next page
{"req.user":{"password":"$2a$08$kBhANRyFam8eyNt4z8CXw.lNyixXbGVFVFEXNVrLO3agGQfmxy5jS","username":"pure1","_id":"55074542a34c0a9b55fe3a76","__v":0}}
debug: GET /resources 304 164.363 ms - -
currentLng set to: en-US
debug: User is authenticated. Proceeding to the next page
{"req.user":{"password":"$2a$08$kBhANRyFam8eyNt4z8CXw.lNyixXbGVFVFEXNVrLO3agGQfmxy5jS","username":"pure1","_id":"55074542a34c0a9b55fe3a76","__v":0}}
debug: GET /tutorials/ 304 164.499 ms - -
currentLng set to: en-US
debug: User is authenticated. Proceeding to the next page
{"req.user":{"password":"$2a$08$kBhANRyFam8eyNt4z8CXw.lNyixXbGVFVFEXNVrLO3agGQfmxy5jS","username":"pure1","_id":"55074542a34c0a9b55fe3a76","__v":0}}
debug: GET / 304 163.698 ms - -
currentLng set to: en-US
debug: User is authenticated. Proceeding to the next page
{"req.user":{"password":"$2a$08$kBhANRyFam8eyNt4z8CXw.lNyixXbGVFVFEXNVrLO3agGQfmxy5jS","username":"pure1","_id":"55074542a34c0a9b55fe3a76","__v":0}}
debug: GET /tutorials/ 304 165.213 ms - -
currentLng set to: en-US
debug: User failed authentication. Proceeding to the login page
{"auth":false} req.user=undefined
debug: GET /resources 302 241.021 ms - 70

Could it be related to this issue?
https://github.com/jaredhanson/passport/pull/320
That is why I am seeing it happening on some machines consistently and not on other machines.

@smartmouse You are probably seeing it on some machines and not others as the saving of the session is ASYNC. When you debug your app you subtly change the timings of your functions, which is perhaps why it now works. If you want to confirm, try the work around I proposed above, manually saving the session before doing any post-authentication redirect:
      req.logIn(user, function () {
        // Manually save session before redirect. See bug https://github.com/expressjs/session/pull/69
        req.session.save(function(){
            res.redirect('/someURL');
        });
      });

The other issue you linked to is unrelated I believe.

Just spent the better part of the last 3 days trying to figure out what was going on. Exact same issue using Postgres as session store. Intermittently the log in redirect would fail even though the user had authenticated correctly i.e. he would again see the log in screen, but if he typed manually a privileged page, he would see it just fine. All this with<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>Thanks for the temp solution @benheymink . The forced session.save() workaround seems to work though not sure it resolves the problem 100% of the time. Just stopped seeing failures in a stretch of N consecutive log ins when earlier there were some.

@tkalfigo Weird, it should save it 100% of the time. Are you sure you are only finishing the request/performing a redirect AFTER the session.save callback has completed? Doing the following won't work:
req.session.save()
req.redirect()

Make sure you are finishing the request in the callback:
req.session.save(function(){
  req.redirect()
});

@benheymink I didn't say it doesn't work 100% of the time. I meant that even though I see it working correctly now, I cannot be sure it is full proof. Admittedly, have been working with it the past 2 weeks without problems.

FYI - Just experienced this problem (September 2017) and this fix still works!

@benheymink how do you prevent the req.logIn method from attempting to save the session twice?

If anyone is using cookie-session, the above/following might not work (as the cookie-session's save() does not support callbacks):
req.session.save(function(){
  req.redirect();
});

Managed to get it to work by setting some value on the session before redirecting:
req.session.timestamp = new Date();
req.redirect();

Hi, unfortunately all the fixes described above did not solve the problem. I ended up using https://github.com/expressjs/cookie-session. It worked out of the box. I did not have to change a single line of code except for the config.

2022 and redirect as a callback to login fixed this same issue


Incompatible acceptances: FALSE vs TRUE

When I took the random DFA as the experimental object, the error "Incompatible acceptances: FALSE vs TRUE"  occurred in IncrementalDFADAGBuilder.java. By debugging the class IncrementalDFADAGBuilder, the execution result of the statement , "sig.successors.array[idx] = succ" (in the function updateSignature ), puzzles me. The type of the parameter "succ"  is State, and it changed after the executing of the above statement. As shown in the following figure：

Thus, the longer word will lead to the error   "Incompatible acceptances: FALSE vs TRUE".

Is there a way for you to provide a minimal working example so that we can reproduce the error?
Otherwise, there was a bug in the DAG-based caches that has been fixed in the current development version of AutomataLib. You could also try to use the current development version of LearnLib and see, if the error still exists. (You might want to check the AutomataLib and LearnLib changelogs before, to see if you are affected by other changes as well).

Which equivalence and learning algorithm did you use? Alternatively, you can also post the complete .java file of your learning setup (which preferably provokes the above error when executing its main method).

dfa.tar.gz
This is the added files and the path is "learnlib/algorithms/active/ttt/src/test/java/de/learnlib/algorithms/ttt/dfa".

This is the catalog of the added files. In addition, the equivalence algorithm is wp-method, and the learning algorithm is LStar. What else can I offer?

An intermediate update: I was able to reproduce the issue and it actually looks like a bug in the DFADAGBuilder. But I need some more time to actually piece together what goes wrong here. Do you mind if I use (some of) your code to create a testcase?
For now, you can use DFACaches.createTreeCache as an alternative. This type of cache will require a little bit more system memory, but it will give you the same query performance and you should be able to successfull execute your experiments.

Of course not,  as long as it is helpful for you. And I will try to use DFACaches.createTreeCache as an alternative.
Another issue is the queryCache. The core code of the function processQueries is as follows.
`
final Collection<ProxyQuery> unanswered = queryCache(queries);
delegate.processQueries(unanswered);
updateCache(unanswered);
`
I think there is an issue. If there are two identical unanswered queries in the Collection "queries", the number of unique query will be increased by 2. Could you analyse this issue?

Another issue is the queryCache. The core code of the function processQueries is as follows.
...
I think there is an issue. If there are two identical unanswered queries in the Collection "queries", the number of unique query will be increased by 2. Could you analyse this issue?

You are correct. However, this is currently by design because in order to answer queries we need to call the answer method on every query object. Thus, we cannot "merge" duplicate queries within a single batch without copying (and aggregating) every query. But to be fair, we do exactly that (copying) in the Mealy case, because of the even greater optimization potential of prefix-closedness. It's a valid point to think about for the DFA case as well.
Do you have encountered any specific situation where this is a problem? I think mostly table-based algorithms (L* variants) may be affected by this when using prefix-closed row labels and suffix-closed discriminators (columns). Most tree-based learners use much smaller batches when classifying states and the queries withing each batch should be distinct.

Through experiments, table-based algorithms are affected by this issue, but it has little effect.

I finally managed to find the culprit and provide a fix for the issue. Looking at the diff, the devil is always in the details :D.
Are you fine with using a development version of LearnLib (respectively AutomataLib) or would you prefer a separate bugfix release?
Also, regarding you remark on handling in-batch duplicates, I created a separate issue #78.

Thanks for maintaining this great library! For me,  a development version is fine.


Windows System Error can't find libwinpthread-1.dll

After following the readme and doing
nimble install nimraylib_now

Then trying to run a nim file with just
import nimraylib_now

in it
With
nim c -r -d:release --gc:orc crown.nim

I get this error:

Hi, I think you can take a look at Troubleshooting section of readme https://github.com/greenfork/nimraylib_now#windows-error-the-application-was-unable-to-start-correctly-0x00000007b

I'm having this problem too. Even after adding C:\Program Files\nim-1.6.2\dist\mingw64\bin to path, I still get "Windows error: The application was unable to start correctly (0x00000007b)" on other windows machines, although it was always running on the one with mingw installed. I tried installing and setting path for mingw installed via msys with the same result. I'm on Windows 11.

Why does raylib need pthreads?

Maybe statically link like this?

So I tried with
nim c -r -d:release --gc:orc --app:gui --passC:"-static" main.nim
It still didn't work, but now there is no error message when the dll is in the same folder and the same missing message without it.

I tried compiling on a Windows 10 machine where I installed using choosenim. I think on the 11 I installed the binary on the nim website (it's installed in Program Files). Now it runs when I have libwinpthread-1.dll in the same directory on another Windows 10 computer and also the Windows 11 computer after removing libwinpthread-1.dll from the mingw\bin directory so it can't use that one.

Also, adding mingw\bin to the system path, rebooting, recompiling with --passC:"-static" --passL:"-lpthread", and running again on a different Windows 10 machine did not allow me to run without the libwinpthread-1.dll in the directory.

This is still connected to the wrong paths since the problem is not with the library but with Windows being unable to properly locate it. It is a hard sign that something is wrong with the paths.

Even after adding C:\Program Files\nim-1.6.2\dist\mingw64\bin to path

This successfully resolved the problem for this issue https://github.com/greenfork/nimraylib_now/issues/2. I'm not sure what's wrong in your case.

Why does raylib need pthreads?

Raylib requires pthreads for some functionality. So linking is enabled by default for NimraylibNow. Disabling it by default won't solve the problem because once you need it, you will be in the same situation.
Overall, if you can find a recipe of what we need to change to make it work out of the box, we can add it to the library. But that being said, my understanding is that a lot of people use this library on Windows and they don't have these problems or they successfully solve them.
I will leave this issue open for some time so people can help. I think that we need to add some instruction on how to properly add the PATH to Windows to make it work. Or just to plainly copy the .dll since you will still have to distribute this game. Or maybe we can add some link step which will correctly detect the location of this .dll and link it on any Windows machine.

I think it might be specific to compiling on Windows 11, since it worked when I compiled on Windows 10 (albeit only with the .dll in the directory)

My issues were with Windows 11 as well

It would be interesting to know where the library is searched. Can you check with strace? (In the git for windows installation or some tool mentioned here: https://stackoverflow.com/questions/3847745/systrace-for-windows ) then it would be much easier to track down the issue.

@creikey @milanbt there's a possible solution in the PR, do you have time to check if that works for you?


Handle filters with empty 'enabled' field

may fix #537
Set default as true, as the filters are supposed to still work after updating.
The problem here is quite similar to #282 and its fix in #286. This is caused by adding a new required filed in setting, but failed to support empty field value.

Thanks for helping fix this! 🙏


Question about training a generative model and generating images with a different dataset.

Traceback (most recent call last):
File "/storage/research/workspaces/anomalydiffusion/generate_mask.py", line 110, in
model.embedding_manager.load('logs/mask-checkpoints/%s-%s/checkpoints/embeddings.pt'%(sample_name,anomaly_name))
File "/storage/research/workspaces/anomalydiffusion/ldm/modules/embedding_manager.py", line 175, in load
ckpt = torch.load(ckpt_path, map_location='cpu')
File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 986, in load
with _open_file_like(f, 'rb') as opened_file:
File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 435, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 416, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'logs/mask-checkpoints/grid-glue/checkpoints/embeddings.pt'

cmd
CUDA_VISIBLE_DEVICES=2 python run-mvtec.py --data_path=/storage/image_datasets/mvtec_anomaly_detection
---------------------------------------------------------------------------+
I am using the run_mvtec.py code to train an image generation model for each defect class in the MVTec-AD test set using a 2-fold method.
However, when I run the command as described, it seems that the process doesn't proceed because there is no checkpoint. How should I handle this situation?
Should I use actual_resume as it is if I want to start a new training process? I'm still learning about generative models, so I'm having difficulty understanding the overall process.
What I want to achieve is to split the MVTec-AD test set into 2 folds and then create a new generative model for each fold to generate 100 images + masks.
I would really appreciate your help with this!

Hi, run-mvtec.py contains both the training code and testing code. The problem happens because the training code do not save the corresponding checkpoints, you can have a check.


text/template:  illegal number syntax: "-"

package main

import (
	"log"
	"text/template"
)

func main() {
	_, err := template.New("").Parse(`{{- .Foo  -}}`)
	if err != nil {
		log.Fatal(err)
	}
}

Fails with:
template: :1: illegal number syntax: "-"

https://play.golang.org/p/VC7LYAI34HU
There is an extra space after .Foo, which is an easy "mistake" to make (I just did), and not always obvious to spot, esp. since there is only a line number in the error message.

Thanks for the report! I think this is just a bug in the lexer. I think it should be a valid template to parse. After all, {{    .Foo     }} is a valid template, and the mention of -  and  - never specifies that exactly one space is required.


feature request: logger taking context from mixin

Hi,
TL;DR I need another type of logger, other than regular or LoggerTakingImplicit. I need a LoggerInMixinContext or something like that.
scala-logging has Logger and Logger.takingImplicit[Context](canLogContext),
Logger has no concept of context,
LoggerTakingImplicit assumes context is passed on each method implicitly.
I have chosen a different strategy to handle context: create an instance per request, bound to the context, like so:
class MyClass(collaborator: Collaborator)(context: Context) {
   def doSomething(payload: Payload): ...
}

object Server {

  val collab: Collaborator = ...
  val myUncontextedClass = new MyClass(collab)(_)

  def onRequest(payload: Payload, context: Context) = myClass(context).doSomething(payload)

}

I need a logger that can take the context from the instance it's mixed in with, rather than the context passed implicitly on each method.
something like this maybe
object CanLogContext extends CanLog[Context] ...

trait LoggerInContext[Context] {

def context: Context

@transient
  protected val logger = Logger.inContext(context, CanLogContext) //have this use all the cool macro stuff
}

I tried doing something like that myself but all of your classes are private final (especially the macro expansions, so i can't implement our own logger like this).
umm, why is that btw?
The reason why i can't just use the logger taking implicit even in my use case (the callscope is available and can be implicit, so why not just use it?) is because i want to abstract away the context from the core:
//core, no context exists here
trait MyBehavior {
 def doSomething(payload: Payload)
}

//core, no context exists here
class MyClass(collaborator: Collaborator, logger: Logger) extends MyBehavior {
 def doSomething(payload: Payload) =  {
   logger.trace(s"doing something with collaborator $collaborator, payload $payload")
   doSomethingWithCollaborator(collaborator, payload)
  }
}

//context aware layer, this is just wiring of context and things that need it, wrapping the core objects
class MyContextAwareClass(contextAwareCollaborator: Context => Collaborator)(context: Context) extends MyBehavior with LoggerInContext {

  //get context bound collaborators / adapters
  private val collaborator = contextAwareCollaborator(context)

  //get context bound pure core object, unaware of context
  private val myClass = new MyClass(collaborator, logger) // note the use of a context bound logger

  //delegate all logic to "pure" core
  def doSomething(payload: Payload) = myClass.doSomething(payload)
}

Since in core/domain "pure" MyClass there is no implicit Context or concept of context at all, I would not be able to use the LoggerTakingImplicit which requires context on invocation of any log method.
If you approve of this idea but don't think it has high priority or wish to implement it yourselves i am open to contributing to you it via PR if you are willing to merge it when it's done.
Alternatively, if you would be willing to make your macros / traits / classes public and not private final, so consumers can reuse them to compose additional loggers, that would also be great...
many thanks!

@analytically WDYT?

https://github.com/lightbend/scala-logging/pull/212
WIP, have some pain points as mentioned in description, would appreciate feedback and what, if anything, to change


cpu/gpu mixed trace

Description
Modified nni.common.concrete_trace_utils.concrete_tracer.py to support cpu/gpu-mixed trace.
Model and input building is on cpu. call_function and call_module nodes will be moved to gpu when call run_target and moved back to cpu after running.

close this pr for another pr have added this feature.


Move remaining XDS vertical API calls to use kubecontroller caches

GetPodFromCertificate and ListPods were two remaining APIs used by
pretty much all verticals which were still going through kubeclient API
REST calls.
In E2E tests, with a higher count of pods we've seen slowness issues,
which ranged k8s API throttling, go-routine contention (as envoy updates pile up)
and webhooks timeout.
These additions remove any network/API dependency from the XDS paths, making
verticals' execution range between 50-100ms in demo conditions and debug logging.
(Down from 7-10seconds per vertical)
Please describe the motivation for this PR and provide enough
information so that others can review it.

Control Plane          [X]

Tests / CI System      [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Additionally, bookbuyer in demo should start seeing success after 6-10 iterations, down from 30

Additionally, bookbuyer in demo should start seeing success after 6-10 iterations, down from 30

That's a nice improvement.


Loading Resnet in tf2

I would like to request the ability to load [Resnet] (https://tfhub.dev/google/imagenet/resnet_v2_50/feature_vector/3)  modules in TF2 via hub.
Thanks

Thanks, noted!
Our current plan is slightly different, namely to republish most of tfhub.dev/google/imagenet/... in the new, native TF2 format in time for the TF 2.0 release. This will give you the exact same models (originally from TF-Slim), but avoiding some technicalities about TF1 vs TF2.

I'm pleased to report that the google/imagenet/... models have received an update to version /4, which changes them from the hub.Module format for TF1 to the SavedModel format for TF2.
@ArashJavan, please see https://tfhub.dev/google/imagenet/resnet_v2_50/feature_vector/4

@arnoegw
thanks :)

Hi, @arnoegw . Do you mind telling me how did you do the change from V3 to V4? Thanks.
I tried this method:
`
import tensorflow_hub as hub
import tensorflow as tf
from pprint import pprint
tf.enable_control_flow_v2()
tf.disable_control_flow_v2()
layers = hub.KerasLayer("https://tfhub.dev/google/imagenet/resnet_v2_50/classification/3",
trainable=True, arguments=dict(batch_norm_momentum=0.997))
piece_to_share = tf.keras.Model(layers)
full_model = tf.keras.Sequential([piece_to_share])
tf.saved_model.save(piece_to_share, "mymodel_v4")
I don't think I'm correct. Because it seems that the saved model cannot be loaded byhub.KerasLayer()`.

Hi, @arnoegw . Do you mind telling me how did you do the change from V3 to V4? Thanks.
I tried this method:
import tensorflow_hub as hub
import tensorflow as tf
from pprint import pprint
tf.enable_control_flow_v2()
tf.disable_control_flow_v2()
layers = hub.KerasLayer("https://tfhub.dev/google/imagenet/resnet_v2_50/classification/3",
trainable=True, arguments=dict(batch_norm_momentum=0.997))
piece_to_share = tf.keras.Model(layers)
full_model = tf.keras.Sequential([piece_to_share])
tf.saved_model.save(piece_to_share, "mymodel_v4")
I don't think I'm correct. Because it seems that the saved model cannot be loaded byhub.KerasLayer()`.

Hi, @arnoegw . Do you mind telling me how did you do the change from V3 to V4? Thanks.
I tried this method:
import tensorflow_hub as hub import tensorflow as tf from pprint import pprint tf.enable_control_flow_v2()
tf.disable_control_flow_v2()
layers = hub.KerasLayer("https://tfhub.dev/google/imagenet/resnet_v2_50/classification/3",
trainable=True, arguments=dict(batch_norm_momentum=0.997))
piece_to_share = tf.keras.Model(layers)
full_model = tf.keras.Sequential([piece_to_share])
tf.saved_model.save(piece_to_share, "mymodel_v4")
I don't think I'm correct. Because it seems that the saved model cannot be loaded byhub.KerasLayer()`.

Hi, @arnoegw . Do you mind telling me how did you do the change from V3 to V4? Thanks.
I tried this method:
`import tensorflow_hub as hub
import tensorflow as tf
from pprint import pprint
tf.enable_control_flow_v2()`
tf.disable_control_flow_v2()
layers = hub.KerasLayer("https://tfhub.dev/google/imagenet/resnet_v2_50/classification/3",
trainable=True, arguments=dict(batch_norm_momentum=0.997))
piece_to_share = tf.keras.Model(layers)
full_model = tf.keras.Sequential([piece_to_share])
tf.saved_model.save(piece_to_share, "mymodel_v4")
I don't think I'm correct. Because it seems that the saved model cannot be loaded byhub.KerasLayer()`.

Hi, @arnoegw . Do you mind telling me how did you do the change from V3 to V4? Thanks.
I tried this method:
import tensorflow_hub as hub
import tensorflow as tf
from pprint import pprint
tf.enable_control_flow_v2()
tf.disable_control_flow_v2()
layers = hub.KerasLayer("https://tfhub.dev/google/imagenet/resnet_v2_50/classification/3",
trainable=True, arguments=dict(batch_norm_momentum=0.997))
piece_to_share = tf.keras.Model(layers)
full_model = tf.keras.Sequential([piece_to_share])
tf.saved_model.save(piece_to_share, "mymodel_v4")
I don't think I'm correct. Because it seems that the saved model cannot be loaded by hub.KerasLayer().

https://tfhub.dev/google/imagenet/resnet_v2_50/feature_vector/4 is entiely different from /3: While /3 was written by hub.Module.export(), /4 was written by tf.saved_model.save(); compare tensorflow.org/hub/tf1_hub_module vs tensorflow.org/hub/tf2_saved_model.
Sorry, but the rest of your question seems unrelated.

Thank you :-)

import tensorflow_hub as hub import tensorflow as tf from pprint import pprint tf.enable_control_flow_v2()
tf.disable_control_flow_v2() layers = hub.KerasLayer("https://tfhub.dev/google/imagenet/resnet_v2_50/classification/3", trainable=True, arguments=dict(batch_norm_momentum=0.997)) piece_to_share = tf.keras.Model(layers)
full_model = tf.keras.Sequential([piece_to_share]) tf.saved_model.save(piece_to_share, "mymodel_v4")

Hey Bro did U get to know how to load this model that u saved , because i'm working on a project where am facing the same issue


Washing machine timeout

The problem
My washing machine keeps losing connection to the network and spams my log even though all other devices are stable. Is there a way to set a custom timeout? Thanks in advance!
Version of miele integration having the issue?
0.0.26
Version of Home Assistant Core having the issue?
2022.10.3
Anything in the logs that might be useful for us?
Logger: custom_components.miele
Source: helpers/update_coordinator.py:151
Integration: Miele (documentation, issues)
First occurred: 11. Oktober 2022, 14:17:16 (5 occurrences)
Last logged: 02:19:26

Timeout fetching miele data
Error requesting miele data: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://api.mcs3.miele.com/v1/devices')

Additional information
No response

The error handling can be improved here.
I need some more data to fix this.


Horizon missing historical failed transactions

What version are you using?
{
"horizon_version": "1.0.1-2c2d8fb0c3ae0516dcbbb39f189ca00731c9c8c3",
"core_version": "stellar-core 12.4.0 (c0136139802ac1a1ac8899424e7888fa9366414e)",
"ingest_latest_ledger": 28747380,
"history_latest_ledger": 28747380,
"history_elder_ledger": 1,
"core_latest_ledger": 28747380,
"network_passphrase": "Public Global Stellar Network ; September 2015",
"current_protocol_version": 12,
"core_supported_protocol_version": 12
}

What did you do?
Trying to add up the visible transaction, event and operation data for GAMFIL3N6PN5JSYF2DN3M5BJIXRA6AWZFFI3ZMYMNSIWC3CKGN4WE2ZL account and there's a 300 stroop difference between the account balance what what you get adding up all the transaction data.

What did you expect to see?
You should be able to "replay" the transactions to equal the balance so you know how you arrived at the balance you have. What's the point of a blockchain if blocks are missing or incomplete?
What did you see instead?
My assumption is there are missing failed transactions for GAMFIL3N6PN5JSYF2DN3M5BJIXRA6AWZFFI3ZMYMNSIWC3CKGN4WE2ZL as there are 300 stoops which are unaccounted for in Horizon for this account. There are some gaps in the sequence number for this account as well which would indicate the same.

For context the CEX.io exchange reported this issue and provided a TypeScript file for reviewing the issue. http://tyler.link/iwWWv0

Quick note here since we just release Horizon 1.0.1 -- we get the same result in 1.0.0.

Slack thread - Bartek thinks we need to migrate the DB. I'm not sure exactly what this entails, and why we didn't do it already.

I reingest from ledger 16002687 to 16093631 (which is the ranges where we have some missing txs)  and found the failed transactions. After running @tyvdh's script, the balance adds up now
Balance parsed<PHONE_NUMBER>
Balance from daemon<PHONE_NUMBER>
Balance difference is 0

This file https://gist.github.com/abuiles/026d8282fe83883f396b012e366ff9fa contains all the txs
I checked against Satoshipay public horizon and they also have the same issue.
@ire-and-curses I think we should move this issue out of Horizon and start a conversation with ops about running a full ingestion in our public nodes.

Yeah sounds good.

Before asking ops to do this, we should verify the process and expected workload on one of our staging servers. So keeping this here until we do that (after testing for current Horizon release).

@ire-and-curses do you mean, doing a full re-ingestion on staging?

Yeah. I think we have to anyway otherwise we'll get false positives from our verify checks right?

This has been reingested, and we have the DB in staging.
We should run Go replay on staging and confirm performance is still ok.
We should confirm missing transactions are present in staging.
Then work with ops team to get this deployed. Confirm hydration is complete before checking performance and enabling in production.

Heads up, we're going to switch the production cluster to reingested DB (with failed txs) on August, 12th.

This is complete. Production DB contains all transactions now (including failed).


Refactor slot strategy to resolve when there's only 1 choice / do the combinatorial thing when there are multiple choices.

FYI the original strategies did the combinatorial thing, and it resulted in identically appearing suggestions, that only differ in slot connections.
Maybe instead of doing the combinatorial thing, we need to have better slot-view restrictions?

Ultimately both are probably required. I'll split this up into (1) refactor into 1-choice resolve / n-choice resolve and (2) investigate combinatorial results and get back to you.

@mmandlis Is there ongoing work on this?

there is no ongoing work, and MapSlots does return combinatorial results now, so I'll close this.


How to make it starts counting from various number?

Sometimes I need to show a part of code and save the line numbers as in the source

Hi, thanks for your feedback.
No, in the current implementation.


Incorrect string marshaling when "ID3D12Object::SetName" was called

Summary
SetName("DepthStencil")
But I got
(0x000001CAA011C1C0:'Dphtni)
Steps to reproduce

Platform:Desktop
Framework Version: .NET 6
API: DirectX
API Version: DirectX 12

ID3D12Resource* depthStencil;
.......... Some Code Here ............
depthStencil->SetName($"DepthStencil");

Then I got this error:
Execution (From D3D12): ID3D12CommandQueue::ExecuteCommandLists: An ID3D12Resource object (0x000001CAA011C1C0:'**Dphtni**) referenced in a command list ............

Comments
It looks like Silk is using Marshal.StringToHGlobalAnsi() rather than StringToBSTR(), which drops half of the letters due to the encoding.

So basically every second character makes it? I guess it's a problem with UTF16 vs UTF8, which indicates an annotation mistake. @Perksey assigning you for now, assuming this is BuildTools work?

Yes, the native API uses LPCWSTR to receive the name, which points to UTF-16 wchar.
HRESULT SetName(
  LPCWSTR Name
);

Will fix this for 2.10. Assuming that BuildTools already collects the LPCWSTR info, shouldn't be too much work...


Zero Detections using Quantization [BUG]

Model Name: Yolov3-Tiny
Trained Resolution: 832x832
Detections using Yolo2_light: 10
Detections using Yolo2_light -quantized: 0
Detections using TensorRT: 10
Detections using TensorRT int8: 7
Output:
 Quantinization!

 old_weight_mult = 2.000000, weights_multiplier_single = 2.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 0
 Multiplers: weights 2, input 40, output 16
 Skip layer: 3
 old_weight_mult = 128.000000, weights_multiplier_single = 128.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 1
 Multiplers: weights 128, input 40, output 0.25
 Skip layer: 3
 old_weight_mult = 256.000000, weights_multiplier_single = 256.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 2
 Multiplers: weights 256, input 40, output 0.125
 Skip layer: 3
 old_weight_mult = 256.000000, weights_multiplier_single = 256.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 3
 Multiplers: weights 256, input 40, output 0.125
 Skip layer: 3
 old_weight_mult = 256.000000, weights_multiplier_single = 256.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 4
 Multiplers: weights 256, input 40, output 0.125
 Skip layer: 3
 old_weight_mult = 1024.000000, weights_multiplier_single = 1024.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 5
 Multiplers: weights 1024, input 40, output 0.03125
 Skip layer: 3
 old_weight_mult = 256.000000, weights_multiplier_single = 256.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 6
 Multiplers: weights 256, input 40, output 0.125
 old_weight_mult = 1024.000000, weights_multiplier_single = 1024.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 7
 Multiplers: weights 1024, input 40, output 0.03125
 old_weight_mult = 512.000000, weights_multiplier_single = 512.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 8
 Multiplers: weights 512, input 40, output 0.0625
 old_weight_mult = 512.000000, weights_multiplier_single = 512.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 9
 Multiplers: weights 512, input 40, output 0.0625
 Skip layer: 22
 Skip layer: 8
 old_weight_mult = 64.000000, weights_multiplier_single = 64.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 10
 Multiplers: weights 64, input 40, output 0.5
 Skip layer: 23
 Skip layer: 8
 old_weight_mult = 1024.000000, weights_multiplier_single = 1024.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 11
 Multiplers: weights 1024, input 40, output 0.03125
 old_weight_mult = 128.000000, weights_multiplier_single = 128.000000

 Warning: input_calibration= in the cfg-file has less values 0 than convolutional layers 12
 Multiplers: weights 128, input 40, output 0.25
 Skip layer: 22

Hi @dexception !
Did you have solved this problem?
Thanks in advance!
Ambra

You need create a calibration table.


Time scope for /api/metrics ?

Is it possible to specify time scope (days, weeks, months) for the Broker metrics API ?
It's quite important for monitoring to able to scope the results.

@toh2526 You can poll and store the metrics in TSDB at the interval of minutes


Add a test setup for oprint!

This way we can verify that oprint's output (for signatures) is valid
reason.
Test Plan:
node ./formatTest/testOprint.js
working toward #1453. This doesn't change the printer at all, just makes a way for us to verify when it works.
Note that I haven't hooked this up to our test command in the Makefile, as it would be failing.
Current output
❯❯❯ node ./formatTest/testOprint.js
Output printed for the signature of "basic.re" not parseable:

## Refmt's error:

File "", line 2, characters 0-3:
Error: 262: <UNKNOWN SYNTAX ERROR>

## Outcome printed:

let run : unit => string
let endOfRangeMustBeSimple : 'a => 'b => int
let theSame : 'a => 'b => 'c => int
type zed = { bar : ref int, }
let foo : ref (ref zed)

## Refmt's interface printed:

let run: unit => string;

let endOfRangeMustBeSimple: ('a, 'b) => int;

let theSame: ('a, 'b, 'c) => int;

type zed = {bar: ref(int)};

let foo: ref(ref(zed));

Done! 1 failures

cc @let-def. Might help with the iterations in the future =P


Support for creating an index on nested fields for SQLite.

Description

Closes #3506.
Readiness checklist

[x] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[x] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you!


Amortize document updates ingestion costs

The current update ingestion implementation recompute the reverse index.
It is an important CPU cost mostly for adding a small number of documents.
We can't deal with this anymore!
We must be able to acppet any size updates and make them be available to search without the minimum overhead.
We thought about something similar to database caching algorithms: putting most recently used entries in memory providing a rapid access to it. When too much entries are cached, a compaction is performed (i.e. some of the Sled's future strategy).
So, basically when a user propose some documents update/insertion/deletion we will not put every document attributes updates inside of an SST file, paying the cost of keeping words-docindex ordered in RAM and constructing a new FST.
Inserting words-docindex and document attributes values directly into the key-value store is the solution. Internally the database will extract words of the indexed attributes and update the special "revindex" keyspace, dedicated to reverse index data, storing DocIndex associated to words as keys-values, like the current FST.
The advantage of a key-value store is that, like a BTree and an FST, keys are ordered, making O(log n) unions possible between these datastructures at search time.
Obviously, we should find a rule to trigger compaction, it must be based on the latency involved in doing the union, probably related to the number of words/doc-indexes stored as raw keys. A compaction will be an update of the FST by integrating "revindex" word-docindex into the FST.

You should look at this talk https://youtu.be/s19G6n0UjsM?t=814.
Database caching is a complex stuff and this person done research at MIT about do smart and well caching. It precomputes and caches query results. His database automatically keeps cached results up-to-date as the underlying data, stored in persistent base tables, change.
His way of thinking is absolutely insane and I recommend you to look at the video that I have shared.

Haha! Thank you the good stuff you and share.
That's one of my favorite talk, I often follow its Youtube channel, he is currently working on implementing a concurrent lock-free HashMap from the Java world, quite fun to look at that, great stuff! He also shared the research paper about Noria that I read, in part.
This issue is a outdated it was refering of the old way I stored the postings list (all the positions where words matched for a given word) and the FST (the set of all the words, the dictionnary) in the same memory area. That was no quite good idea.
The current system stores the FST and the each postings lists in seperate entries in LMDB, one key for each postings list and another for the FST, this way when we even add a little amount of documents we only have to recompute the FST (that's pretty fast) and only the postings lists refering to the words contained in the added documents, I have made a generic library to do this kind of operations fast on slices.
Thank you for your job again, I'm closing this as it is no longer relevant :)


feat: tcp route translation

This Pull Request is based on #400 , so please review and merge it after #400 is merged.
This Pull Request adds the translation for stream_route (tcp field from ApisixRoute).

Codecov Report

Merging #401 (3fdf0b7) into master (3c6f911) will decrease coverage by 0.82%.
The diff coverage is 38.12%.

@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
- Coverage   40.31%   39.49%   -0.83%
==========================================
  Files          39       39
  Lines        3264     3312      +48
==========================================
- Hits         1316     1308       -8
- Misses       1785     1843      +58
+ Partials      163      161       -2

Impacted Files
Coverage Δ

pkg/ingress/apisix_route.go
0.00% <0.00%> (ø)

pkg/ingress/ingress.go
8.80% <0.00%> (+0.17%)
:arrow_up:

pkg/kube/translation/translator.go
51.38% <0.00%> (ø)

pkg/kube/translation/util.go
60.86% <0.00%> (-39.14%)
:arrow_down:

pkg/kube/translation/apisix_route.go
42.65% <16.00%> (-3.89%)
:arrow_down:

pkg/ingress/manifest.go
68.75% <80.00%> (+0.95%)
:arrow_up:

pkg/kube/translation/context.go
100.00% <100.00%> (ø)

pkg/kube/translation/ingress.go
90.90% <100.00%> (-0.54%)
:arrow_down:

pkg/kube/translation/plugin.go
100.00% <100.00%> (ø)

pkg/apisix/cluster.go
29.95% <0.00%> (-6.29%)
:arrow_down:

... and 3 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 3c6f911...3fdf0b7. Read the comment docs.


How to get logs (where i should find them) ?

Despite additional option like LOG_LEVEL=debug applied from compose there is no logs in:

compose up cmd
docker logs wg-portal
some file in running container (at least i couldn't find it)

But code already has logging (i saw inside the code).
So the issue is that documentation does not cover debugging a lots.

The logs are written to stdout. So they are visible in docker-compose logs (or docker logs).
If they are not visible, you might have changed the logging settings of your docker setup.

Already done. But unfortunately debug logs is absent.


Always out of memory, but available GPU memory is 16GB!

RuntimeError: cuda runtime error (2) : out of memory at /opt/pytorch/pytorch/torch/lib/THC/generic/THCStorage.cu:58

@binbinmeng I modified the test.py by adding volatile=True and find that it can test large image size (e.g., 1024) now. Have a try.


Add executor of commands, execlib, and command example client

@rvs If this executor works for you (see example calls in command.go), then I can add it.
Note that every command runs in the foreground with a timelimit.
The execlib.New and exevlib.Execute is used by the example command.go to show how to use this.

The bigger issue is that I don't know what this is supposed to be for. Why is one container executing a command in another? Is that not a security risk? Assuming we wanted to do things in others, would we not just pass it via pubsub messages?

Intended use is to replace the chroot shell script wrapper @rvs has for xl, xentop, etc commands. Not any less secure than the chroot shell script.

Intended use is to replace the chroot shell script wrapper @rvs has for xl, xentop, etc commands. Not any less secure than the chroot shell script

The whole "one container exec-ing into another to execute things" is a bit odd. Given that we do it, this is a better solution, but is there a cleaner way overall to do this kind of thing? Or do we necessarily expect that one "uber-container" (like pillar) is going to have more rights than others?

@rvs still waiting to find out whether this matches what you were looking for.


docs: add development userguide [SBK-286]

What I did
Add userguide for developing a SIlverback application
How I did it
How to verify it
Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
- [ ] New test cases have been added and are passing
[x] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Think this is good enough for now, will be releasing this as v0.1.0 once merged


Update validator.ex

Move scan_ssid: 1 KV pair to correct Map
This fixes issue mentioned in https://forum.farmbot.org/t/hidden-ssid-not-connecting/3257/16

Thanks for the fix! This has been released with FBOS v15.3.2.


Updating TenantID information in the article based on customer input

Though the article is clear with all of us being familiar with what a tenantID is, one of the customer ended up feeding the domain onmicrosoft.com name in the place on the $SourcetenantID and $TargettenantID looking at the following check it does against the domainname i.e. $existingOrgRel = $orgrels | ?{$_.DomainNames -like $targetTenantId}
So they have a request of adding a screenshot of an example  which depicts  $SourcetenantID and $TargettenantID.

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

Done, thank you!
Regards,
Likhitha
From: JohanFreelancer9 @.>
Sent: 13 December 2021 10:09
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Likhitha K @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Updating TenantID information in the article based on customer input (PR #7138)
@JohanFreelancer9 requested changes on this pull request.
Copy review - @LikhithaMShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLikhithaMS&data=04|01|likhitk%40microsoft.com|ae0717cb19bd4e9db61308d9bdf285aa|72f988bf86f141af91ab2d7cd011db47|1|0|637749671648598830|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=gEZU5DhpaRMYwMNB51CX4C4lw045AffOvmZFxFH8czQ%3D&reserved=0, kindly commit the suggested changes if you agree with them (note that the screenshot is already included in the referenced article). Many thanks.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fpull%2F7138%23pullrequestreview-829764898&data=04|01|likhitk%40microsoft.com|ae0717cb19bd4e9db61308d9bdf285aa|72f988bf86f141af91ab2d7cd011db47|1|0|637749671648598830|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=ahEeZ1X3HqtxLJdx69Q9HNR7hVwX5QfqXOzrGHKF7H4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARYV4G24IKF4TFJKPSJWBVTUQV2HJANCNFSM5JWUN6XQ&data=04|01|likhitk%40microsoft.com|ae0717cb19bd4e9db61308d9bdf285aa|72f988bf86f141af91ab2d7cd011db47|1|0|637749671648608824|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=CPKkzIwQ5dY9BzxAkTKW1%2FfCQ3yCik%2Bii%2F0wMjv1Z3o%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|likhitk%40microsoft.com|ae0717cb19bd4e9db61308d9bdf285aa|72f988bf86f141af91ab2d7cd011db47|1|0|637749671648608824|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=HVCKp7zqw5a00O5AQkvxfOlLI4vBDxWcMYCMv0xeKHg%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|likhitk%40microsoft.com|ae0717cb19bd4e9db61308d9bdf285aa|72f988bf86f141af91ab2d7cd011db47|1|0|637749671648618817|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Kd4GLpKJszy4iwMIVS2lBUYspVs9kB%2Fpgl1LS%2Bc1IkI%3D&reserved=0.

@JohanFreelancer9

@kelleyvice-msft Please merge this PR. Thanks


Align Function(..).toString output with F.p.toString proposal (fixes #971)

This fix for #971 also aligns our toString output in this particular case with the upcoming spec. Unit tests pass as well as a few more test262 tests related to the toString output of Function and %GeneratorFunction%.

Ping @Microsoft/chakra-es

:shipit:

Looks good to me.

As @ianwjhalliday mentioned before running away at unsafe speeds, someone should update the internal test baselines for me. Volunteers? cough @abchatra cough

@bterlson I will do it.

Fixed a broken comment. Should now be good to go. Please squash the fixup commit :)

@bterlson if I squash would it become my commit?

Shouldn't (rebase -i eg preserves metadata).

@suwc, it should show @bterlson as the author and you as the committer. It would look like this if you push to the Git repo directly.
You'd have to create a new PR though since you can't update this PR and merge it via the internal tool.

waves to @goyakin :)

HI GORKEM! 👋 :heart:
@suwc note that in the example @goyakin links, our roles are swapped.

@goyakin howdy do!

Merged.
@goyakin thanks!


chore(main): release effector 0.1.3

:robot: I have created a release beep boop
0.1.3 (2024-03-18)
Features

introduce effector template (fcaa754)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kmd-fl/ls-effector/releases/tag/effector-v0.1.3 :sunflower:


Community/Partners: Add support for Perplexity AI

Description: This PR adds support for Perplexity AI APIs.
Issues: None
Dependencies: None
Twitter handle: @atherfawaz

I don't know how to add/run integration tests. I've reviewed this doc, but need support here. I've written an initial integration test and will continue exploring other partners' integrations meanwhile.
Also, should this persist in libs/partners? Or lib/community?

So the tests failing due to:
from openai import OpenAI

Perplexity is built on top of the openai package. Should I add the openai package to some requirements file? I presume Langchain would want to be independent of it. In that case, should I try integrating with the direct CURL?

this is awesome @atherfawaz! could we add some docs notebooks to docs/docs/integrations/chat and docs/docs/integrations/llms?

@baskaryan, I've added the notebooks, please have a look. Thanks for fixing the tests! 😄

This is awesome @atherfawaz. From the notebook, it doesn't appear like in-text references are returned. Am I missing something or is this expected?

This is awesome @atherfawaz. From the notebook, it doesn't appear like in-text references are returned. Am I missing something or is this expected?

@Leewaldoe, if by in-text references you mean the source documents aren't returned like they are in Perplexity's web version, then I don't think the API supports it right now -- check these (1) (2). The API is quite limited.

@baskaryan, gentle nudge, do you think I should do anything else on this?

Hey @baskaryan and @efriis, how should we proceed with this?


Jshint fixes

Fix warnings from jshint

Should jslint be a part of travis build then?

Yes, assuming it can find more than just missing semicolons.
But it needs npm, so maybe only for travis, as I don't want to force people to install npm.

Yup, that's what I did.
make test will use jshint if it's installed & travis will now install it

Few more updates for the added benefit of this actually working. Pushed bad commit here and got broken build, removed broken commit and got green build.


Build views for the QR code experience

QR code will appear in a modal after the provider clicks "Begin test" for the patient
The QR code populates once they select the radio button. hitting continue will take the SR user to the test queue.
When clicking Continue after selecting QR code, the SR user goes to the test queue, where you can re-open this modal at any time by clicking the "Time of Test Questions" link in the card
Designs in progress #617
Figma designs
Figma prototype
Could potentially use this to generate QR codes https://github.com/rosskhanas/react-qr-code

TODO

[ ] Add a button to the bottom of the modal when you first open it @ClydeDroid @nullflux

currently, the second button only appears after making a selection on the radio buttons

Current

Expected

This task is in the TODO of this issue @ClydeDroid @nullflux


Feat/aave use case

 #22

Fixes #
Checklist

[x] My branch is up-to-date with upstream/main branch.
[x] Everything works and tested for major version of Python/NodeJS/Go and above.
[x] I ran pre-commit checks against my changes.
[x] I've written tests against my changes and all the current present tests are passing.

Current behaviour
Docs currently don't have any information on Aave V3 use case
New expected behaviour
Docs will have Aave V3 overview and data points in the Existing Implementations section
Change logs
Added

Aave V3 implementation overview index
Aave V3 data point breakdown
Additional references to Aave use case in data sources and architecture sections
Deployment and extension instructions

Fixed

grammatical errors in Uniswap V2 data points section
minor changes to Uniswap V2 Closer Look at Snapshots section

Deployment Instructions

Deployed on: https://powerloom-docs-245iq.ondigitalocean.app/docs/build-with-powerloom/use-cases/existing-implementations/aavev3-dashboard/


Some github badges within the Readme file are not working

Anyone fancy fixing them?

Looks  like it's not just ours


Admin/Key authentication

Does this library work with private-key authentication the way the firebase-admin library did?

Does this library work with private-key authentication the way the firebase-admin library did?

You can use the method setTokenFromServiceAccount to use the admin way of authenticating. You need to have the gcloud cli installed and it will use a service account to authenticate.

Make sure to have GoogleService-Info.plist in the root of the project for setTokenFromServiceAccount.

Hmm, the cli requirement and the filesystem requirement are both a bit of friction. It would be cool if this could take the cert in as json or base64-encoded json the way the firebase sdk does. That route has the advantage of allow secrets manegment via other sources, such as HTTP request or ENV VAR injection.
The firebase sdk isn't bundling the cli, afaik, so this should be possible with standard javascript


Alternative to ytdl-core lib

https://www.npmjs.com/package/@distube/ytdl-core

"ytdl-core": "npm<EMAIL_ADDRESS>


starknet: #153: fix grindKey implementation

Closes #153

Payment request #A39277 has been processed and payment is complete. See you around on OnlyDust.


Converting pt files to UTF-8 file encoding

Summary of changes
It was failing when translating Portuguese values which had accents like "á" because the encoding of po files.
So I converted to utf-8 (it was iso-8859-1)

Coverage remained the same at 64.798% when pulling 0b656661d3a288aea0f0d6fa39aed3aa3dd877b9 on douglascorrea:master into 3d326036e6fdee0a64ba29c221dd2c33888974e5 on bitwalker:master.

Thanks! I didn't notice those were encoded wrong, good catch :)


Explicit disclosure Ledger API documentation

The following scripts show how jq can be used to manipulate the json to construct the accept json.

This is run following the setup. It extracts the following files as disclosable contracts:

offer.json
priceQuotation.json
iou.json
stock.json
extract.txt

@loiskilberg-da I've added 4 commits since your last review. They are mostly about clarity on the small shell scripts part at the end (and got a review from Simon about them) and the last one fixes an anchor formatting, nothing controversial. Will merge for now but happy to amend in a subsequent PR if need be

@tudor-da Thanks for the heads up! Looks good to me.


"Build Targets" doc correction

What problem does this feature solve?
Documentation unclear
What does the proposed API look like?
Current doc here https://cli.vuejs.org/guide/build-targets.html#app says:
App is the default build target. In this mode:

index.html with asset and resource hints injection

Issue:
I guess something is missing in the "index.html with asset and resource hints injection" part.

Is it created by the script?
Is is copied from where to where after hints injection?
Is there anything added to my "index.html" if I can create my own?

While we're looking here... the instructions here don't mention which file in dist should be pointed to in the package.json main entry, and apparently one is required? The cookbook has examples, but the files listed there don't resemble the files produced by the vue-cli build library command.


128x64-32S Not working

Screen is just black if I press the reset button on the ESP screen some times Flashes

only flashing on reset if mxconfig.driver = HUB75_I2S_CFG::FM6126A is set

Your panel's driver is DP3246. It require additional configuration before work and is not fully compatible with the library.
By the way, you panel should contains a three types of chip, but you show us only two.

thx


Remove backports for releases older than oldstable

https://github.com/GoogleCloudDataproc/initialization-actions/issues/1157

/gcbrun


bump libseccomp-golang v0.9.1

full diff: https://github.com/seccomp/libseccomp-golang/compare/32f571b70023028bd57d9288c20efbcb237f3ce0...689e3c1541a84461afc49c1c87352a6cedf72e9c
Release notes:

Version 0.9.1 - May 21, 2019

Minimum supported version of libseccomp bumped to v2.2.0 (https://github.com/seccomp/libseccomp-golang/commit/fc0298087f328ac97a1fa781392de96b2ebb8aac)

PowerPC and S390(x) architectures are unavailable below library version v2.3.0 and will return errors if used with incompatible libraries

Use Libseccomp's seccomp_version API to retrieve library version
Unconditionally set TSync attribute for filters, due to Go's heavily threaded nature
Fix CVE-2017-18367 - Multiple syscall arguments were incorrectly combined with logical-OR, instead of logical-AND (https://github.com/seccomp/libseccomp-golang/commit/06e7a29f36a34b8cf419aeb87b979ee508e58f9e)
Fix a failure to build on Debian-based distributions due to CGo code
Fix unit test failures on 32-bit architectures
Improve several errors to be more verbose about their causes
Add support for SCMP_ACT_LOG (with libseccomp versions 2.4.x and higher), permitting syscalls but logging their execution
Add support for SCMP_FLTATR_CTL_LOG (with libseccomp versions 2.4.x and higher), logging not-allowed actions when they are denied

@Random-Liu @mikebrow ptal (not sure if the CVE affects the code in use here; might be good backporting this to the release branches (I can open cherry-picks after this one is merged)

/ok-to-test

LGTM