[CORE] Fix incorrect precision of Decimal literal

For SQL as follows:
select (col0 / (col1 + 0.00000001)) from table;

In this case, col0 and col1 are 0.
The result may be NULL. The reason is that the result of Decimal(0.00000001).toString() is "1E-8", which will make the new precision be 4.
Therefore, we use toPlainString here to prevent scientific notation.

@kecookier

@rui-mo Can you review this PR?
I hava a question: why do we have this rescale in gluten? I can't find the same logic in Spark. I have read the comment and I still can't have a good understanding of it.
Thanks!

Hi @jiangjiangtian, this adjustment, as I recall, is for the situation where one performs an arithmetic operation between a decimal and a number. In this instance, the precision and scale of the decimal input acquired from Spark are (38, 18), which are inconsistent with the real values. In order to produce accurate results, we need additional logic to extract the accurate precision and scale that native computing requires.

Hi @jiangjiangtian, this adjustment, as I recall, is for the situation where one performs an arithmetic operation between a decimal and a number. In this instance, the number is converted to decimal and its precision and scale acquired from Spark are (38, 18), which are inconsistent with the real values. E.g., in the case you mentioned, Decimal(0.00000001) should have a precision and scale of (8, 8) instead of (38, 18). In order to produce accurate results, we need additional logic to extract the accurate precision and scale that native computing requires.
Perhaps you could help confirm if it is the case for the example you provided. Thanks.

@rui-mo Thanks! It seems that Spark doesn't have the logic. I don't know why Spark doesn't need this logic.
In my case, the type of the literal 0.00000001 is Decimal(19, 8). After the adjustment, the type is still Decimal(19, 8). Because the string representation of the decimal contains . and the decimal is not a valid long number. Perhaps we should not return the original precision and scale in the end of the function. https://github.com/apache/incubator-gluten/blob/main/gluten-core/src/main/scala/org/apache/gluten/utils/DecimalArithmeticUtil.scala#L110

Thanks for the fix. Would you like to add the buggy case as a unit test?

I add a unit test. Is there anything that I need to add or edit? Thanks.

Because the string representation of the decimal contains . and the decimal is not a valid long number.

Thanks for reminding me of this. I just remembered that this adjustment is typically for the arithmetic operation between a decimal and an integer/bigint. In your case, the literal is double, so to return the original precision and scale should be fine.


Properly handle python include path

Python include path was not detected earlier. This solution should fix it.

Travis could not verify the changes. Please review or do a manually build to verify. This pull request does handle python path properly.


Windows Server 2022 failover or switchover with duplicate IP address

Failovers and switchovers using patronis etcdctl ends up with 80% failure because of duplicate IP in the network.
Windows (our case: 3nodesWindows Server 2022, 2nodesPostgres) doesnt reactivate or test the additional IP again after such conflict has been detected.
with an ipconfig /all the standard IP4 status is a (Preferred) state. In case of such error we got a (Duplicate) status instead
The failover stucks until removing this address by powershell command. After removing address vip-manager add it again and failover succeeds.
We found a workaround for the moment. Its forever running task on both postgres servers which looks every 5 seconds for a (duplicate) state of the desired interface and if occurs remove the address....
Powershell:
Remove-NetIPAddress -Confirm:$false -InterfaceAlias yourinterfacename -AddressState Duplicate
A better way could be to add such verfiy command short time after adding the IP to the interface instead doing this ever 5 seconds inside the vip-service. If duplicate state happens the ip can be removed and added again until state is (Preferred) or amount of try ends up with a permanent fail...
Thank you for this software.
BR Thilo

We have been running into issues ever since we updated python from 3.9 to 3.11+. The vip-manager seems to move too quickly and the server sense duplicate IP Addresses on a administrative switchover. We've found that by restarting the vip-manager service on the destination leader, the contention resolves. It is somewhat intermittent, but completely destroys the High-Availability of the ETCD/PGSQL Cluster since we don't know if it will be successful during a true host failure. We've disabled Windows built in Duplicate IP Detection on both Cluster Nodes to see if that would resolve the issue. It became slightly better, Windows stopped popping up regarding duplicate IP Addresses, but we still find that the switchover is unsuccessful 80+% of the time. Any thoughts on how to improve this system or to replace vip-manager with another solution?

Would disabling Gratuitous ARP in the registry settings help? (Although the pros and cons of disabling it may need to be considered separately.)
Registry key: HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value name: ArpRetryCount
Value type: REG_DWORD
Data: 0x0
Under Windows 2022 environment, the same duplicate detection has been improved as described above.


<EMAIL_ADDRESS>Fix hash

Closes #86

All changes look good.
Wait for review from human collaborators.
python

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction


get link direct

how to get link direct = code : domain.com/getyoutube.php?videoid=KV2ssT8lzj8&type.mp4

It is not possible as of now, it needs some refactoring. Maybe I'll add it in later releases

Created Successfully :) Could you please Add my code if you dont mind :)


Any other way to set thumbimage to gsyvideoplayer in listview

I am using following code to set thumbimageview in listview.. It is taking more time to load and making listview scroll hard. Is there any other way to set thumbimage to gsyvideoplayer.
Imageview imageView = new ImageView(getActivity());
imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
        if (m.getVideothumbnailUrl() != null) {

            Picasso.with(getActivity())

                    .load(m.getVideothumbnailUrl())
                    .resize(125, 125)
                    .placeholder(R.drawable.kt_talent)
                    .into(imageView);

      }

        viewHolder.gsyVideoPlayer.setThumbImageView(imageView);

you may need to use imageview cache in viewholder


Palm tree leaves render error 1.20.1 forge

Causing error message in chat:
CCL Caught and exception rendering a block. See the log for info
When playing with iris/sodium causing minecraft to crash.
If it not fixable on your end, where i should post this issue?
[08:52:39] [Worker-Main-8/ERROR]:
 CCL has caught an exception whilst rendering a block
  BlockPos:      x:26, y:124, z:-97
  Block Class:   class com.ferreusveritas.dynamictrees.block.leaves.PalmLeavesProperties$DynamicPalmLeavesBlock
  Registry Name: dtphc2:coconut_leaves
  State:         Block{dtphc2:coconut_leaves}[direction=4,distance=1,persistent=false,waterlogged=false]
 Tile at position
  Tile Class:    null
  Tile Id:       null
  Tile NBT:      null
This functionality can be disabled in the CCL config file.
You can also turn off player messages in the CCL config file.

latest.log

I am having a similar issue where this addon isn't playing nice with Embeddium/Sodium. I recently swapped out Croptopia for PHC2 in my custom ATM9 pack, so I can have dynamic fruit trees, since Croptopia doesn't have an DT addon for 1.20.1 yet. I have posted a pastebin link to the crash report.
https://pastebin.com/uLTvhv2e


docker pull on windows through firefox browser gcr.io image

May I download this operation with this extension?. thanx. A  image about 14 GiB ?

Sorry, I'm not sure I understand the question/problem...

I:m trying to download gcr.io kaggle image and when execute docker pull
into Google console does not complete the task.
El mié., 19 abr. 2023 14:41, Jocelyn Le Sage @.***>
escribió:

Sorry, I'm not sure I understand the question/problem...
—
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-firefox/issues/180#issuecomment-1514666652,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXTM4LNLAF5FADWEHNF5N3XB7MPVANCNFSM6AAAAAAXD6RUCU
.
You are receiving this because you authored the thread.Message ID:
@.***>

An image perhaps better than muy poor explanation.
El mié., 19 abr. 2023 16:17, Alberto Armin @.***>
escribió:

I:m trying to download gcr.io kaggle image and when execute docker pull
into Google console does not complete the task.
El mié., 19 abr. 2023 14:41, Jocelyn Le Sage @.***>
escribió:

Sorry, I'm not sure I understand the question/problem...
—
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-firefox/issues/180#issuecomment-1514666652,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXTM4LNLAF5FADWEHNF5N3XB7MPVANCNFSM6AAAAAAXD6RUCU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Images are not seen via email.  You need to go through github.com to add it.

as you can tell that I from github, I understand little
I hace uploaded to Drive and this ie a shortcut link:
https://drive.google.com/file/d/1XO1j4elnLrFiGoKL4a62cW0FHzSdtFy2/view?usp=drivesdk
In short:
https://n9.cl/x35mj
I Hope I've explained well enough. Thanx for your time a
And patience
El mié., 19 abr. 2023 16:29, Jocelyn Le Sage @.***>
escribió:

Images are not seen via email. You need to go through github.com to add
it.
—
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-firefox/issues/180#issuecomment-1514842072,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXTM4KBI5WECFGGMIR63WDXB7ZGLANCNFSM6AAAAAAXD6RUCU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I would suggest that you check the available space on the device you try to install the Docker image.
But in any case, I don't see that your problem is related to this project...

I didn't realize of no convenience. Sorry.

El mié., 19 abr. 2023 20:05, Jocelyn Le Sage @.***>
escribió:

I would suggest that you check the available space on the device you try
to install the Docker image.
But in any case, I don't see that your problem is related to this
project...
—
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-firefox/issues/180#issuecomment-1515156293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXTM4JO3RBQ4OZQC7SSBV3XCASP7ANCNFSM6AAAAAAXD6RUCU
.
You are receiving this because you authored the thread.Message ID:
@.***>

No problem!


Potential Issue: Domain Killed if Grace Period is Nil

In the current shutdown handling logic, if the GracePeriod metadata is missing (i.e., nil), it triggers domain termination. Historically, this logic might have been designed to handle cases where a grace period was not consistently present. However, with recent changes, the grace period is expected to be set reliably.
Issue Summary: If GracePeriod is nil, the shutdown logic proceeds to terminate the domain, which may not be the intended behavior in all cases. We should consider reviewing this behavior to decide if it is still appropriate or if we should wait for the client connection to avoid premature domain termination.
we found this issue whie reviewing https://github.com/kubevirt/kubevirt/pull/12820

/cc @enp0s3

/cc @xpivarc

@nekkunti thanks for this issue.
TBH, I'm not sure I fully understand it.
Would you mind sharing steps to reproduce this problem, reference the code that you think is problematic or suggest what the desirable outcome would be in your perspective?

https://github.com/kubevirt/kubevirt/pull/12820#discussion_r1814628569
^^ above discussion for more details

The scenario is as follows:

A virt-handler pod was restarted.
A fresh instance of virt-handler pod came up, its domain cache is empty.
A request to delete the VM came from the k8s API.
Since there is no data about this VM domain yet in the virt-handler cache, and the VMI doesn't have termination grace period defined, virt-handler will kill the VM right away.

/remove-sig virtualization
/sig compute
FYI @dosubot


[SPARK-30832][DOCS] SQL function doc headers should link to anchors

Why are the changes needed?
In most of our docs, you can click on a heading to immediately get an anchor link to that specific section of the docs. This is very handy when you are reading the docs and want to share a link to a specific part.
The SQL function docs are lacking this. This PR adds this convenience to the SQL function docs.
Here's the impact on the generated HTML.
Before this PR:

array_join

After this PR:

array_join

Does this PR introduce any user-facing change?
No.
How was this patch tested?
I built the docs manually and reviewed the results in my browser.

Test build #118445 has started for PR 27585 at commit 347952a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23202/
Test PASSed.

Test build #118445 has finished for PR 27585 at commit 347952a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118445/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23229/
Test PASSed.

Test build #118472 has started for PR 27585 at commit 347952a.

Test build #118472 has finished for PR 27585 at commit 347952a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118472/
Test PASSed.

Merged to master/3.0


Updating to snapshot 160 breaks Python support

Describe the bug
The Python interface no longer works after updating MacVim from snapshot 159 to snapshot 160.
To Reproduce
Detailed steps to reproduce the behavior:

Put the lines below in /tmp/pythontest.vim to tell Vim where to find Python 3.7:
 " this is from MacPorts, use a path that works for you
 let &pythonthreehome = '/opt/local/Library/Frameworks/Python.framework/Versions/3.7'
 let &pythonthreedll = '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7.dylib'

Start the TUI with:
 $ mvim -vNu /tmp/pythontest.vim

or the GUI with:
 $ mvim -gNu /tmp/pythontest.vim

Do :echo has('python3').

Get a 0.

Do :py3 print(1).

Get the following errors:
 E370: Could not load library /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7.dylib
 E263: Sorry, this command is disabled, the Python library could not be loaded.

Expected behavior
Both commands should echo 1, without throwing errors.
Environment:

Vim version: 8.1.2224 (160)
OS: macOS 10.14.6
Terminal: Terminal.app and the GUI

First reported:
https://www.reddit.com/r/vim/comments/dotqki/macvim_black_and_python_version_problem/

@romainl Thank you for an issue,
It's a known problem, #978

Have the same issues. Any workarounds?

@RStankov I worked around the issue by rolling back to snapshot 159. I'll wait and see for snapshot 161.

This will be fixed in snapshot 161 which will come out in a day or so. The cause of this was that snapshot-160 turned on hardened runtime for app notarization requirements but it messed with Python and other scripting languages.
For now, Apple allows using much more lenient restrictions so I'm going to work around the issue and get the app notarized, but they are going to tighten up what they allow to be notarized soon (Janurary 2020) so I'll need to find a real solution for this problem.

Fixed in 161


Overlay follows player and moves with head

I don't know where to begin with this issue. I play on 1.20.6, at first I thought it was conflicts with other performance mods like Sodium but when I turned on the mod alone, I still had the issue.
If I press F7 and go to overlay settings, the game outright crashes.
Crash log: https://pastebin.pl
Unlisted Video of bug: https://youtu.be/gMJ0CZguox4

Slightly adapted from issue #62
Thanks for opening this issue!
Please make sure you are using Lighty v3.0.0-beta.2+1.20.6. For some reason, CurseForge wrongly suggests Lighty for 1.20.3/4 for versions 1.20.5/6, and I cannot change that. Very weird CurseForge bug.
Anyways, it has been fixed in v3.0.0-beta.2, so make sure you use that.
end of adapted copy paste from issue #62
I've marked v3.0.0 as a beta because I haven't finished adding all features I want in Lighty v3.0.0 yet.
Playing on a Lighty beta shouldn't cause any problems, I've taken extra care about that!
As a precaution, I'll leave this issue open and pin it, so that anyone else who encounters this "bug" can find all the relevant information here. If v3.0.0-beta.2 doesn't fix the problem, let me know as well, and I'll look into fixing it.
Thanks for using Lighty, and let me know if updating fixes the Problem! Have fun!
(small note: the link to the crash log is just to the pastebin website, not to the actual crash log itself. But I highly appreciate the intention of providing the crash log, those always proof to be very useful!)


Target resource doesn't register with an ALB target type

What happened?
Hi, first of all, thank you for the great work!
I'm trying use crossplane to create a TargetGroup that has a Target to an Application Load Balancer. I'm using the Target resource that was introduced in the very last release of the provider.
The problem is: The target doesn't register if the Target type is an ALB
How can we reproduce it?

Create a Network LoadBalancer
Create a TargetGroup
Create a Listener to the NLB using forwarding the traffic to the previous TargetGroup
Create a target resource to register an Application Load Balancer as it's target

I've created these resources:

---
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: LoadBalancer
metadata:
  name: mytest-lb
spec:
  deletionPolicy: Delete
  forProvider:
    ipAddressType: ipv4
    loadBalancerType: network
    region: sa-east-1
    name: mytest-lb
    scheme: internet-facing
    subnetMappings:
      - subnetID: subnet-xxxxxxxxx
      - subnetID: subnet-xxxxxxxxx
      - subnetID: subnet-xxxxxxxxx
  providerConfigRef:
    name: aws-provider
---
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: TargetGroup
metadata:
  name: test-targetgroup
spec:
  forProvider:
    name: test-targetgroup
    port: 80
    protocol: HTTP  #I've tried with TCP too
    region: sa-east-1
    targetType: alb
    vpcID: "vpc-xxxxxxx"
  providerConfigRef:
    name: aws-provider
---
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: Listener
metadata:
  name: test-listener
spec:
  forProvider:
    region: sa-east-1
    defaultActions:
      - actionType: forward
        forwardConfig:
          targetGroups:
            - targetGroupArnRef:
                name: test-targetgroup
    loadBalancerArnRef:
      name: mytest-lb
    port: 80
    protocol: TCP
  providerConfigRef:
    name: aws-provider
---
apiVersion: elbv2.aws.crossplane.io/v1alpha1
kind: Target
metadata:
  annotations:
    crossplane.io/external-name: arn:aws:elasticloadbalancing:sa-east-1:xxxxxxxxxxx:loadbalancer/app/xxxx-xxxx-xxxxxx
  name: test-target
spec:
  forProvider:
    region: sa-east-1
    targetGroupArnRef:
      name: test-targetgroup
  providerConfigRef:
    name: aws-provider

Whenever I exec kubectl get target test-target -o yaml I get this status:
status:
  atProvider:
    targetHealth:
      description: Target is not registered to the target group
      reason: Target.NotRegistered
      state: unused
  conditions:
  - lastTransitionTime: "2022-08-30T01:21:48Z"
    reason: ReconcileSuccess
    status: "True"
    type: Synced
  - lastTransitionTime: "2022-08-30T01:21:48Z"
    reason: Unavailable
    status: "False"
    type: Ready

The status of the target is:
reason: Target.NotRegistered
state: unused

At the AWS the target doesn't show up inside of the Target Group
What environment did it happen in?
Crossplane version: 1.9.1

Cloud provider: AWS
Kubernetes version: 1.22
Kubernetes distribution: EKS
OS: Amazon Linux 2
Kernel: 5.4.209-116.363.amzn2.x86_64

I guess the issue is that the controller never retries if the registration failed once. I think we have to check if reason == types.TargetHealthReasonEnumNotRegistered and retry.

Thank you for your reply and commit, @MisterMX


Add suport for Secrets based PropertySource

This PR aims to add support for Secrets as PropertySource so you can consume secrets as you would with ConfigMap:
apiVersion: v1
kind: Secret
metadata:
  name: activemq-secrets
  labels:
      type: amq
      cluster: amq-cluster1
type: Opaque
data:
  amq.pwd: MWYyZDFlMmU2N2Rm
  amq.usr: bXl1c2VyCg==

@Value("${amq.usr}")
public String username;

@Value("${amq.pwd}")
public String password;

Prefix for the ConfigurationProperties is:
spring.cloud.kubernetes.secrets

You can select the Secrets to consume either by setting a name (default to spring.application.name) or by defining a list of labels:
-Dspring.cloud.kubernetes.secrets.labels.type=amq
-Dspring.cloud.kubernetes.secrets.labels.cluster=amq-cluster1

If labels are defined, name is discarded.

ok to test

@iocanel should be good enough to merge or I need to amend something ?

[merge]

@lburgazzoli: It was absolutely fine, I just forgot to hit the merge button.

One thing that could be added is some docs around it. :-)

Yep, sending a pr tomorrow or later today


Teardown of tiller-deploy is failing due to wrong namespace

On a kraken-lib down.sh, There are three places we see Errors because tiller-deploy can't be found.  It is using the wrong namespace.  The namespace should be 'kraken'.  These errors are ignored so it does not cause down.sh to fail, but would be nice to clean up.
[aws] changed: [localhost]
[aws]
[aws] TASK [roles/kraken.services : Clean up releases] *******************************
[aws] ...ignoring
[aws] failed: [localhost] (item={u'chart': u'samsung_cnct/heapster', u'version': u'0.1.0-0', u'namespace': u'kube-system', u'registry': u'quay.io', u'name': u'heapster'}) => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.8/bin/helm", "delete", "--purge", "heapster"], "delta": "0:00:00.329792", "end": "2017-11-16 19:56:44.013802", "failed": true, "item": {"chart": "samsung_cnct/heapster", "name": "heapster", "namespace": "kube-system", "registry": "quay.io", "version": "0.1.0-0"}, "rc": 1, "start": "2017-11-16 19:56:43.684010", "stderr": "Error: could not find tiller", "stderr_lines": ["Error: could not find tiller"], "stdout": "", "stdout_lines": []}
[aws]
[aws] TASK [roles/kraken.services : Clean up tiller if present] **********************
[aws] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.8/bin/kubectl", "--kubeconfig=/root/kraken/cluster/aws//pr-154-1/admin.kubeconfig", "delete", "deployment", "tiller-deploy", "--namespace=kube-system"], "delta": "0:00:00.312036", "end": "2017-11-16 19:56:44.484320", "failed": true, "rc": 1, "start": "2017-11-16 19:56:44.172284", "stderr": "Error from server (NotFound): deployments.extensions \"tiller-deploy\" not found", "stderr_lines": ["Error from server (NotFound): deployments.extensions \"tiller-deploy\" not found"], "stdout": "", "stdout_lines": []}
[aws] ...ignoring

[aws] TASK [roles/kraken.access : create admin user entry from cert user] ************
[gke] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.7/bin/kubectl", "--kubeconfig=/root/kraken/cluster/gke//pr-154-1/admin.kubeconfig", "delete", "deployment", "tiller-deploy", "--namespace=kube-system"], "delta": "0:00:00.446829", "end": "2017-11-16 19:52:35.966580", "failed": true, "rc": 1, "start": "2017-11-16 19:52:35.519751", "stderr": "Error from server (NotFound): deployments.extensions \"tiller-deploy\" not found", "stderr_lines": ["Error from server (NotFound): deployments.extensions \"tiller-deploy\" not found"], "stdout": "", "stdout_lines": []}
[gke] ...ignoring

fixed by https://github.com/samsung-cnct/kraken-lib/pull/1025


CSGCylinder3D has incorrect normals compared to the CylinderMesh primitive

See also https://github.com/godotengine/godot/issues/19143.
Godot version
4.0.dev (6d98f84ab), 3.3.2
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 465.31)
Issue description
CSGCylinder3D has incorrect normals compared to the CylinderMesh primitive.
CSGTorus3D also has unexpected normals compared to a torus exported from Blender (due to a sharp line in the middle), but it's not as bad.
Top: CSG nodes (torus, box, sphere, cylinder) or meshes (Suzannes, sharp cylinder).
Bottom: MeshInstances with primitive meshes (box, sphere, smooth cyulinder) or OBJs exported from Blender (torus, Suzannes, sharp cylinder).

This also occurs on 3.3.2. CSGCylinder on top, MeshInstance with CylinderMesh at the bottom:

Steps to reproduce

Create a CSGCylinder node and set the number of sides to 64 to match a CylinderMesh.
Create a MeshInstance node, add a CylinderMesh to it.
Place the MeshInstance above/below the CSGCylinder and compare the lighting on both.

Minimal reproduction project

master: test_csg_normals.zip
3.x: test_csg_normals_3.x.zip

CSGSphere has the same issue.
Taking a guess, this might be the CSG models not having merging vertices that share the same coordinates - you get similar errors in Blender if you use the spin modifier to make a circular object, but disable "Auto Merge". I've included an exported model in my test project to show what I mean.
From top to bottom: CSGSphere, MeshInstance sphere, UV sphere from Blender (made with the spin modifier, Auto Merge disabled).

CSGSphereNormals.zip

I have the same issue. Here's how the shading looks after subtracting a CSG cylinder from a block:

I suspect this is what's going on:
The CSG cylinder's curved shell's normals point away from the whole object's origin, rather than from the center of a ring of vertices they belong to (top or bottom).
Here's an illustration of what I suspect is going on:

Of course the normals are split on edges with the flat top and bottom faces, but I'm omitting these as they appear to be correct.
I have no idea how the code looks like, but maybe this is enough to help fix it?

I looked briefly at fixing this, but it appears the CSG shape's normals are automatically generated with no way to manually override them: https://github.com/godotengine/godot/blob/73ece5ba1962eb3c19ac529b8cb4ac18aefd5cac/modules/csg/csg_shape.cpp#L384-L397


Update SlidingCameraBehaviour.cs

Fix for camera clipping through hills when sliding.

If you test this with a cliff it still clips, because the camera is allowed to intersect with the terrain. If you add a small number to both lines so that the camera is always at terrainLevel + SMALL_OFFSET_FROM_TERRAIN,   the fix would be complete.

You will see that I divided _minAltitude and _maxAltitude by some value. That's because changing the value themself didn't seems to do anything. Maybe it was just because unity doesnt update them since they are declared at class level? This could be changed later.

Nice work, I hadn't noticed that the max altitude is too high but after testing it out it's a good change. I broke up a line that was too long and removed the division constants after trying out changing values on the camera myself (and updating the prefab so everyone gets the new values).
If you still think changing the values does nothing, try this: Start the game in unity, get to the lowest possible height, then increase min altitude in the inspector. The camera will move up by itself. If that doesn't happen we can investigate further.


fix ipex 2.3 bug

Description
ipex 2.3 will replace some transformers's functions, which may cause error
insert a fake module before importing ipex to avoid it
1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[ ] N/A
[ ] Unit test: Please manually trigger the PR Validation here by inputting the PR number (e.g., 1234). And paste your action link here once it has been successfully finished.
[ ] Application test
[ ] Document test
[ ] ...

PR validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/11735734976


[RFC] networkd: allow to supply own unit files

Motivation for this change
A lot of effort was put into this module, but it only support half the options
supported by latest systemd-networkd.
The patch allows to generate/write own files to this directory. Instead of providing /etc/systemd/network only single files are symlinked to this directory.
The following example:
systemd.network= {
  enable = true;
  networks.eth0 = {
    enable = true;
    name = "eth0";
    address = [ "2a03:4000:13:31e::/64" ];
    gateway = [ "fe80::1" ];
    DHCP = "v4";
    networkConfig.IPv6AcceptRA = "no";
  };
};

can be then also written as:
systemd.network.enable = true;
environment.etc."systemd/network/eth0.network".text = ''
  [Match]
  Name = eth0

  [Network]
  DHCP = v4
  Address = 2a03:4000:13:31e::/64
  Gateway = fe80::1
  IPv6AcceptRA = no
'';

The latter one is much easier to interfere by looking at the manpage or
copy'n'paste from other examples. Also systemd-networkd provides better
error messages compared to the module.
In future wireguard vpn will be supported by networkd.
To avoid leakage of private keys, those could be then also put
outside of the /nix/store
Currently files changed outside of this module will not trigger update
of networkd. My suggestion therefor is to refactor the module to
just take strings instead of attributes.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

What about an in-between solution, making systemd.network also accepting strings with a either so the following can be done:
systemd.network = {
  enable = true;
  networks.eth0 = ''
    [Match]
    Name = eth0

    [Network]
    DHCP = v4
    Address = 2a03:4000:13:31e::/64
    Gateway = fe80::1
    IPv6AcceptRA = no
  '';
};

or with a dedicated configFile option like sometime seen in other modules:
systemd.network = {
  enable = true;
  networks.eth0.configFile = ''
    [Match]
    Name = eth0

    [Network]
    DHCP = v4
    Address = 2a03:4000:13:31e::/64
    Gateway = fe80::1
    IPv6AcceptRA = no
  '';
};

So the user can chose to use either the attrs way or the copy-paste way, and the config files can still be managed by the networkd module?

This would work in theory, but i fear that this module is currently not maintained.
It should at least a field where keys can be passed, which are not type checked.

I added extraConfig for all sections now.


Log in with long lived token does not work

HA Client version: [Main menu -> About HA Client]
.8.3
Home Assistant version:
.108.1
Device name:
galaxy s9+
Android version:
9
Description
[Replace with description]
First I enabled mobile_app: as per the instructions at https://ha-client.app/docs#authentication
When clicking the blue login with home assistant button I got a white screen with nothing on it, so I tried long lived token instead generating and inputting the token, which also did not work. It would just say disconnected at the bottom and hitting reconnect would do nothing. Going back into the connection settings, right below the authentications settings line is a gray box that is really large. I can scroll on this page , but cannot scroll to the bottom of it as the box is too long and I don't have a scroll bar.

0411 15:13:29 [Error] :  Socket stream Error: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate(handshake.cc:354))
0411 15:13:30 [Debug] :  Loading settings...
0411 15:13:30 [Error] :  Long-lived token read successful
0411 15:13:30 [Debug] :  Socket connecting...
0411 15:13:30 [Error] :  Socket stream Error: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate(handshake.cc:354))
0411 15:13:35 [Debug] :  Loading settings...
0411 15:13:35 [Error] :  Long-lived token read successful
0411 15:13:35 [Debug] :  Socket connecting...
0411 15:13:35 [Error] :  Socket stream Error: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate(handshake.cc:354))
0411 15:13:38 [Debug] :  Socket connecting...
0411 15:13:38 [Error] :  Socket stream Error: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate(handshake.cc:354))
0411 15:13:39 [Debug] :  Loading settings...
0411 15:13:39 [Error] :  Long-lived token read successful
0411 15:13:39 [Debug] :  Socket connecting...
0411 15:13:39 [Error] :  Socket stream Error: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate(handshake.cc:354

The issue with huge gray area is strangest thing I've ever saw here......
Anyway your connection issue is because of self signed certificate. Unfortunately it is not supported currently: #180

To give you a little help with long lived token field - try to clear app data

Closing for now. Feel free to reopen if still actual


Fix/a11y language menu fix

Description:
This PR brings forth improvements to the Language Menu component, enhancing user interaction and accessibility. Additionally, it introduces a new testing plugin and restructures of the unit tests, streamlining them for better efficiency and clarity. Link to Jira - OTT-484
Changes:

Language Menu Component Refactoring:

Path: ott-web-app/packages/ui-react/src/components/LanguageMenu/LanguageMenu.tsx
The logic for language selection is now encapsulated within the <LanguageMenu> component. This change simplifies the component's structure and enhances readability.
Enhanced accessibility and interaction handling within the component.

Example:

<LanguageMenu
  openLanguageMenu={openLanguageMenu}
  closeLanguageMenu={closeLanguageMenu}
  languageMenuOpen={languageMenuOpen}
  onClick={(code) => {
    onLanguageClick(code);
  }}
  languages={supportedLanguages}
  currentLanguage={currentLanguage}
/>

IconButton Component Improvement:

Path: ott-web-app/packages/ui-react/src/components/IconButton/IconButton.tsx
Introduced AriaAttributes from React for improved accessibility.
Extended the Props type to include 'aria-controls' and other accessibility attributes.
Spread the rest of the props for flexible integration of aria attributes.

Example:

type Props = AriaAttributes & {
  onClick?: () => void;
  onBlur?: () => void;
  children: JSX.Element;
  tabIndex?: number;
  className?: string;
};

const IconButton: React.FC<Props> = ({ children, onClick, tabIndex = 0, className, ...ariaProps }: Props) => {
// Component implementation
};

Test Suite Restructuring:

Paths: ott-web-app/platforms/web/test-e2e/tests/language_test.ts and ott-web-app/platforms/web/test-e2e/codecept.mobile.js  / codecept.desktop.js.
Introduced a new plugin, CustomLocator to enhance the use of data-testid attributes in testing.

Example:

/* In config File */
plugins: {
    customLocator: {
      enabled: true,
      attribute: 'data-testid',
    },
    // rest of the code remains unchanged
    ...
}

/* In Test File */
const locators = {
  languageMenuButton: '$language-menu-button',
  languageMenuPanel: 'language-panel',
};

I.seeElement({ id: locators.languageMenuPanel });
I.click(locators.languageMenuButton);

Refined Testing Approach for LanguageMenu Component:

Path: ott-web-app/packages/ui-react/src/components/LanguageMenu/LanguageMenu.test.tsx
Adopted a more structured approach in the test suite, introducing a centralized rendering function and efficient cleanup.

// AfterEach for cleanup
afterEach(() => {
  onClickCb.mockClear();
  openLanguageMenuCb.mockClear();
  closeLanguageMenuCb.mockClear();
  cleanup();
});

// Example of a streamlined test
test('renders and matches snapshot', () => {
  const { container } = renderLanguageMenu(languages[0], false);
  expect(container).toMatchSnapshot();
});

Request for Review:
I kindly ask for a review of these changes. Your feedback will be invaluable in ensuring that these improvements effectively enhance our application's accessibility and the efficiency of our testing process.

I have also tested in on 2 screen readers (Android & iOS). It work as expected.

All feedback is resolved to my satisfaction. Only the failing e2e tests are remaining, but I know you are aware of that

The world icon is aligning a bit lower

Well spotted! I agree, the styling should be identical as before this change.

Both the language menu options are underlined, which I don't think they should be.

The underline is not introduced by this change. This is caused by a "underline all links for a11y" change from Melissa. But I agree we do not want that in a popup. This brings me to the next point...

And while we're working on this, should we perhaps make the selected language more obvious (accessible?) by giving it a background color like in the other menu?

I also agree the visual representation is not obvious. I suggest @R-Cloud-Designs to create a new ticket for this in the (future) OTT sprint 2. Let's fix this visual representation separately!
Thanks for the critical eye @royschut ;) To summarize:

The styling should be identical as before this change (we only try to fix keyboard navigation for the popup in this PR)
Everything else related the styling/visual representation should be fixed in next sprint. We should create a ticket for this.

As per your suggestions @langemike and @royschut i've created a new Jira task,
I totally agree with:

The styling should be identical as before this change (we only try to fix keyboard navigation for the popup in this PR)

This will be updated in the next commit!


Some Issues (regex-tdfa, Auth of JWT way)

PostgREST is really a tasty cookie :)
I recently used it in my own project, en, nicely performed. But I found some thing not convenient:
Firstly: PostgREST relys on regex-tdfa, but I have installed regex-tdfa-rc in my system, so I have to change the .cabal file of PostgREST to satify my need.
Secondly: I dont quite like the JWT way to authenticate(not know well with jwt and it does to much work in PG server side in this way), I would like to use postgrest as a Swiss Knife to power my Yesod app, so I turned It into a WAI app ,  with
Network.Wai.Middleware.Vhost(vhost), rewrite pathinfo of the request, and write a HttpDigestAuth module to perform the authentication. It works pretty well with my Yesod App.
So, Why not get rid of the JWT way , to forcus on the PostgREST's functions, and give the full authorization control to the users?

Glad to hear it's helpful for your project. What project are you working on?
About your regex library question, are you able to have regex-tdfa and regex-tdfa-rc both installed  on your system at once? You could try Stack of cabal sandboxes. Also it looks like the regex-tdfa-rc is outdated, so maybe you want to switch away from it.
Now about JWT. it has two benefits:

External (non-Haskell) services can generate JWT on behalf of the PostgREST server. All these helpers need to know is a shared encryption secret. JWT is pretty flexible, able to integrate with systems like Auth0 who can hook up with still more identity providers and generate JWT.
PostgREST uses information in the database to create an API. This includes database roles and their permissions. Rather than write custom authorization code in my web server to determine the information people can see, we use the database. When a client authenticates with JWT, PostgREST changes which database role it uses to execute commands. Using the database for permissions allows us to implement things like a username/password system in sql like this example.

If it is more convenient to you to do your own authorization in a middleware (or even nginx) then you're free to do that. The JWT support just enables other possibilities.

There have been long debates about auth, for some context see what we call good ol' #260.
We went with JWT because it allows for any method, it is the ultimate in extensibility. The idea is we aren't in the authenticator business, we are the resource server (as defined by the OAuth2 spec) and developers role their own authentication server.
Currently I'm writing my own JWT based auth system in a node server which gives me the flexibility my app requires. However, I agree in that PostgREST should provide some authentication support. We claim to follow industry best practices, we should probably give that in the authentication field too. I assume you are a Haskell developer @uuhan, and you are an unbiased (at least in terms of the projects history) PostgREST user, so your recommendation on where to go for auth is very helpful. Here are the options as I see it:

Only JWT, nothing else.
JWT with some SQL templates showing an auth example with /rpc (we do this now).
JWT with a basic auth system built into core.
JWT with an advanced auth system built into core.
PostgREST + a new project (PostgrAUTH? Play on words doesn't work here 😊) which creates JWT tokens for a PostgREST system using Postgres.

I think most core devs want to take an approach similar to 5 (this also fulfills the REST layered system constraint) however very few have the motivation.

@begriffs I turn PoetgREST into a module of my Yesod app which is a small Project manager, a small OA system for my group.
@calebmer En, I am a Haskell developer and really enjoy with It :) .. I think It's good to be more modularized for postgREST.  Like Yesod, I think it's really good idea to have a 'postgAuth' (similar to yesod-auth), to satisfy all the need of the users.

We're going to keep JWT support for the time being. You don't have to use it and can provide your own auth with middleware if you like.
Can you tell me more about the regex-tdfa problem?

I'm closing this issue because regex-tdfa-rc is deprecated in favor of regex-tdfa.


Revert "some changes"

Reverts RCOE-Code-Cell/Code-Cell-Website-#8

environment variables will be changing


VA Insurance Access in Production

Dusca and Sandeep need access to the VA Insurance service in Production as they prep for launch.

[x] Dusca Fitchel was added to the service
[x] Sandeep Bagga was added to the service

Granted the users access and let Dusca know in teams that it was complete. She validated.


Adding CSS to button

@arghadipmanna101

I have added some CSS to button.Please check it

There have some conflict issue check it once.


Use Apache Arrow for runtime storage layer

Runtime storage layer currently has an abstraction similar tto the platform data service component. However, Apache Arrow already have their own file system abstraction with built in support for AWS, GCP, HDFS and local. Others (Azure) can be added by implementing their interface in Python
https://arrow.apache.org/docs/python/filesystems.html
We already use Arrow as the foundation of the runtime data layer, so it makes sense to use their storage abstraction as well. It will save writing our own implementations, give standard behavior and may well yield performance benefits.
This only applies to data that is loaded in-process, i.e. small datasets that are eventually converted to Pandas dataframes. It does not apply to Spark dataframes.

Note this is different from #136, which was about using Arrow batches / tables to represent data in memory, for data conformance and marshalling between formats. The storage part is about access files / objects from the underlying data store.


PhantomJS crashes

Hi,
I am trying to use phantomjs to work with images (canvas). But phantomjs sometimes give out of memory error and sometimes crashes. I want to send you a couple of dmp files, please let me know where I can email you, github does not support attachment of dmp files.
Please let me know the issue/fix soon.
Awaiting your prompt reply.
Thanks,
Mukta.

Program terminated with signal 11, Segmentation fault.
#0  0x000000362a47a1bc in free () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install expat-2.0.1-9.1.el6.x86_64 fontconfig-2.8.0-3.el6.x86_64 freetype-2.3.11-6.el6_1.7.x86_64 glibc-2.12-1.47.el6.x86_64 keyutils-libs-1.4-3.el6.x86_64 krb5-libs-1.9-22.el6.x86_64 libcom_err-1.41.12-11.el6.x86_64 libgcc-4.4.6-3.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libstdc++-4.4.6-3.el6.x86_64 libthai-0.1.12-3.el6.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) bt
#0  0x000000362a47a1bc in free () from /lib64/libc.so.6
#1  0x00000000019d321a in QEventDispatcherUNIXPrivate::~QEventDispatcherUNIXPrivate() ()
#2  0x00000000019d32e9 in QEventDispatcherUNIXPrivate::~QEventDispatcherUNIXPrivate() ()
#3  0x00000000019c3daa in QObject::~QObject() ()
#4  0x00000000019d2149 in QEventDispatcherUNIX::~QEventDispatcherUNIX() ()
#5  0x00000000018c6cd8 in QThreadPrivate::finish(void*) ()
#6  0x00000000018c7879 in QThreadPrivate::start(void*) ()
#7  0x00007fa2c0f3d7f1 in start_thread () from /lib64/libpthread.so.0
#8  0x000000362a4e570d in clone () from /lib64/libc.so.6

I work on a mac and it turns out fine local, on my ubuntu server phantom crashes. I am essentially creating a screenshot of a webpage

Same issue on Ubuntu 14.04 & PhantomJS 1.9.7 . Is it corrected in PhantomJS 2.0

I'm having the same problem, any updates on this?

+1 same issue

+1 and only on Debian 8 fetching https://uniq.site , which is fetched without crashing on Mac OSX
I've tested multiple other websites with canvas/SVG - all of them is fetched fine.
And it crashes right on page.open(), without a chance to log it status.
No crash report is created (I've checked /tmp):
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

Also, update from v2.0.0 to v2.1.1 - doesn't helped with this issue.
Can anyone from this thread try to page.open('https://uniq.site', function(){}), please?

No crash with development trunk on Debian unstable (x86-64).  However, my development box has 32GB of RAM...
@dr-dimitriu, please tell us whether you're on x86-64, -32, or something else, and how much RAM your computer has.  Also, please try to construct a self-contained test case; uniq.site might've changed something that made the problem go away.  See http://discuss.phantomjs.org/t/draft-troubleshooting-and-reporting-bugs-in-phantomjs/22 for a guide for doing that.

@zackw Thank you for quick response. Could you please post code you have used and phantomjs arguments, you've running on?
OS: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux (On top of Proxmox)
RAM: 29GB (8.3GB used)
Phantomjs process RAM usage: 0.1%
As I wrote previously - There is no issues on dev stage (Mac OSX 16GB i7), but on production it appears. Is there something I can work around with .openUrl() instead of .open()? Unfortunately docs is not expressive at all.

BTW: My running phantomjs flags:
phantomjs --load-images=true --ssl-protocol=tlsv1 --ignore-ssl-errors=true --disk-cache=true --debug=true --web-security=false

I've played with them all, and without them. - No luck

I did
$ cat test.js
var page = require('webpage').create();
page.open('https://uniq.site', function(s){console.log(s);phantom.exit(0);});
$ ./bin/phantomjs test.js ; echo $?
success
0

With your options I get a whole lot of debug spew mostly having to do with cookies, but there is no error.

Phantomjs 2.1.1, right?
Pre-build or compiled version?
I've got new errors, never seen before (any idea?):

1   0x1b67967 phantomjs() [0x1b67967]
2   0x1b91e92 phantomjs() [0x1b91e92]
3   0x1b91f58 phantomjs() [0x1b91f58]
4   0x1aa48a0 phantomjs() [0x1aa48a0]
5   0x188f2a5 phantomjs() [0x188f2a5]
6   0x188fad5 phantomjs() [0x188fad5]
7   0x1aad842 phantomjs() [0x1aad842]
8   0x1892c94 phantomjs() [0x1892c94]
9   0x22f8909 phantomjs() [0x22f8909]
10  0x4ac3bc phantomjs() [0x4ac3bc]
11  0x4b0000 phantomjs() [0x4b0000]
12  0x22d1036 phantomjs() [0x22d1036]
13  0x231633c phantomjs() [0x231633c]
14  0x23146e0 phantomjs() [0x23146e0]
15  0x1bbf4b5 phantomjs() [0x1bbf4b5]
16  0x22cf7a9 phantomjs() [0x22cf7a9]
17  0x22d4585 phantomjs() [0x22d4585]
18  0x415b9a phantomjs() [0x415b9a]
19  0x7f785f7fab45 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f785f7fab45]
20  0x4176a1 phantomjs() [0x4176a1]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

And again no bug report, is there any way to turn it on?

@zackw Thank you for your help.
I've figured out what all errors comes under all users but not root. I don't know how to fix it yet.
I think I should create specific user for phantomjs only. Could you point me onto which files, folders and bins is used while phantomjs is running?

@zackw thank you again for your help.
After three days and nights (finally!):

Stupid (as always) issue was caused by permissions and users (my user has nologin)
Fixed via chown -R root:root /app/dir and chmod -R 755 /app/dir
Application still running as special user, but have access and can execute everything inside /app/dir (running as nobody)

Hope this may help to someone too.
BTW: Still idk why I can't run phantomjs as nologin users, at this very special case: page.open('https://uniq.site'), hope someone can tell me why this happens.

My tests were done with 2.1.1, compiled myself.
Crash reporting was removed from 2.1.1 because it is almost always useless to us.  You can see the problem in the stack trace (presumably from 1.9.x?) you posted - that tells us absolutely nothing meaningful.
If changing file system permissions fixes the problem, then it would be helpful to know which file it assumed it could read.  You can find that out by putting the permissions back the way they were, and then running
$ strace -o /tmp/pjs-strace.log phantomjs [... arguments ...]
$ grep -e '-1 E' /tmp/pjs-strace.log | tail -10

Post the output of the grep.  This will print out the last ten failing system calls that phantomjs made before it crashed, and that will probably tell us the name of the file it couldn't access.  I might need to see the entire pjs-strace.log but let's start with this.

@zackw I'll be back with this issue in 24 hours. Sorry, afk

Okay (I've access to ssh), last 30 - 40 lines is same:
access("/home/phantom/.local/share/Ofi Labs/PhantomJS/ApplicationCache.db-journal", F_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.local/share/Ofi Labs/PhantomJS/ApplicationCache.db-wal", F_OK) = -1 ENOENT (No such file or directory)

Here is last 200 lines (with omitted similar lines):
....
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
stat("/home/phantom/.config/QtProject/qtlogging.ini", 0x7ffca0c4ef90) = -1 ENOENT (No such file or directory)
stat("/etc/xdg/QtProject/qtlogging.ini", 0x7ffca0c4ef90) = -1 ENOENT (No such file or directory)
stat("/usr/bin/qt.conf", 0x7ffca0c4ed80) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/tls", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/lib/tls/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls", 0x7ffca0c4e8c0)        = -1 ENOENT (No such file or directory)
open("/lib/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64", 0x7ffca0c4e8c0)     = -1 ENOENT (No such file or directory)
open("/lib/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7ffca0c4e8c0)    = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7ffca0c4e8c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libCSUNSAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libswift.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libswift.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libswift.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libswift.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnfhwcrhk.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libnfhwcrhk.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libnfhwcrhk.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnfhwcrhk.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libSureWareHook.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libSureWareHook.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libSureWareHook.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libSureWareHook.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/ssl", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/ssl", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/ssl/certs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/ssl/certs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/openssl/certs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/openssl/certs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/etc/pki/tls/certs/ca-bundle.crt", 0x7ffca0c4f000) = -1 ENOENT (No such file or directory)
lstat("/etc/pki", 0x7ffca0c4ed20)       = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/pki/tls/certs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/certs/ca-root-nss.crt", 0x7ffca0c4f000) = -1 ENOENT (No such file or directory)
lstat("/usr/local/share/certs", 0x7ffca0c4ed20) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/certs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.config/fontconfig/conf.d", 0x7ffca0c4af00) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.config/fontconfig/conf.d", 0x7ffca0c4af00) = -1 ENOENT (No such file or directory)
access("/home/phantom/.config/fontconfig/conf.d", R_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.config/fontconfig/conf.d", R_OK) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.config/fontconfig/fonts.conf", 0x7ffca0c4af00) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.config/fontconfig/fonts.conf", 0x7ffca0c4af00) = -1 ENOENT (No such file or directory)
access("/home/phantom/.config/fontconfig/fonts.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.config/fontconfig/fonts.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.fonts.conf.d", R_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.fonts.conf.d", R_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.fonts.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.fonts.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/fonts/local.conf", R_OK)   = -1 ENOENT (No such file or directory)
access("/etc/fonts/local.conf", R_OK)   = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/lib/X11/fonts", 0x7ffca0c4ebf0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/lib/X11/fonts", 0x7ffca0c4ec60) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.local/share/fonts", 0x7ffca0c4ebf0) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.local/share/fonts", 0x7ffca0c4ec60) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.fonts", 0x7ffca0c4ebf0) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.fonts", 0x7ffca0c4ec60) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.local/share/mime/mime.cache", 0x7ffca0c4d5f0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/mime/mime.cache", 0x7ffca0c4d5f0) = -1 ENOENT (No such file or directory)
stat("/home/phantom/.local/share/mime/types", 0x7ffca0c4d5f0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/mime/types", 0x7ffca0c4d5f0) = -1 ENOENT (No such file or directory)
futex(0x7fdcd86e3d44, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
mkdir("/home", 0777)                    = -1 EEXIST (File exists)
mkdir("/home/phantom", 0777)            = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache", 0777)     = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/prepared", 0777) = -1 EEXIST (File exists)
mkdir("/home", 0777)                    = -1 EEXIST (File exists)
mkdir("/home/phantom", 0777)            = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache", 0777)     = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/data8", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/data8/0", 0777) = -1 EEXIST (File exists)
....
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/data8/f", 0777) = -1 EEXIST (File exists)
mkdir("/home", 0777)                    = -1 EEXIST (File exists)
mkdir("/home/phantom", 0777)            = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache", 0777)     = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/prepared", 0777) = -1 EEXIST (File exists)
mkdir("/home", 0777)                    = -1 EEXIST (File exists)
mkdir("/home/phantom", 0777)            = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache", 0777)     = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/data8", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/data8/0", 0777) = -1 EEXIST (File exists)
....
mkdir("/home/phantom/.cache/Ofi Labs/PhantomJS/data8/f", 0777) = -1 EEXIST (File exists)
mkdir("/home", 0777)                    = -1 EEXIST (File exists)
mkdir("/home/phantom", 0777)            = -1 EEXIST (File exists)
mkdir("/home/phantom/.local", 0777)     = -1 EEXIST (File exists)
mkdir("/home/phantom/.local/share", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.local/share/Ofi Labs", 0777) = -1 EEXIST (File exists)
mkdir("/home/phantom/.local/share/Ofi Labs/PhantomJS", 0777) = -1 EEXIST (File exists)
access("/home/phantom/.local/share/Ofi Labs/PhantomJS/ApplicationCache.db-journal", F_OK) = -1 ENOENT (No such file or directory)
access("/home/phantom/.local/share/Ofi Labs/PhantomJS/ApplicationCache.db-wal", F_OK) = -1 ENOENT (No such file or directory)
...all same lines to the bottom...

Drat, I think I need to see the entire file.  It's probably huge, so please gzip and then attach it.  Also, did it crash?  The log won't tell me anything useful if it didn't crash.

Yes, it is crashed with same behaviour, as described above:

And it crashes right on page.open(), without a chance to log it status.

pjs-trace.tar.gz

Huh, there isn't a single permissions error anywhere in there.  It looks more like "ApplicationCache" is corrupted.
Please tar up and attach the contents of /home/phantom/.local/share/Ofi Labs/

To make it clear - I'm using precompiled version
But same error was on 2.0.0 compiled from sources.

there isn't a single permissions error anywhere in there

But somehow it depends.
ofi-labs.tar.gz

Unfortunately I have to get back to the day job now and may not have time to look at this any more for several days.  But I have some leads to investigate, and thanks for your help so far.

Okay (and I'm going to take a nap). Let me know if you will have any idea so far. BTW maybe I should just compile it (not a big deal for me)?
We've solved the uniq.site issue, but I'm still getting bunch of those:
1   0x1b67967 phantomjs() [0x1b67967]
2   0x1b91e92 phantomjs() [0x1b91e92]
3   0x1b91f58 phantomjs() [0x1b91f58]
4   0x1833cb0 phantomjs() [0x1833cb0]
5   0x183ce9e phantomjs() [0x183ce9e]
6   0x18334f6 phantomjs() [0x18334f6]
7   0x183ce9e phantomjs() [0x183ce9e]
8   0x1aa4866 phantomjs() [0x1aa4866]
9   0x188f2a5 phantomjs() [0x188f2a5]
10  0x188fad5 phantomjs() [0x188fad5]
11  0x1aad842 phantomjs() [0x1aad842]
12  0x1892c94 phantomjs() [0x1892c94]
13  0x22f8909 phantomjs() [0x22f8909]
14  0x4ac3bc phantomjs() [0x4ac3bc]
15  0x4b0000 phantomjs() [0x4b0000]
16  0x22d1036 phantomjs() [0x22d1036]
17  0x231633c phantomjs() [0x231633c]
18  0x23146e0 phantomjs() [0x23146e0]
19  0x1bbf4b5 phantomjs() [0x1bbf4b5]
20  0x22cf7a9 phantomjs() [0x22cf7a9]
21  0x22d4585 phantomjs() [0x22d4585]
22  0x415b9a phantomjs() [0x415b9a]
23  0x7f3a7bb10b45 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f3a7bb10b45]
24  0x4176a1 phantomjs() [0x4176a1]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

Note: currently I'm running 4 processes of phantomjs, and they are renders around 4,500 pages / hour.

After some monitoring, only next error appears to be related to pjs crashes:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
# and:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)

Hi @zackw , just want to let you know:
I've compiled phantomjs 2.1.1 locally. No changes. Still getting same crashes.

I maybe should have been clearer about "I have to get back to the day job now and may not have time to look at this any more for several days".  I meant "I won't be doing any PhantomJS work at all until March."  Sorry.

@zackw okay ))
I hope you don't mind, if I just will keep updating this thread with my progress around this issue.

I've found a solution.
Errors described above is caused by memory leaks in V8.

Due to some technical limitations, the web page object might not be completely garbage collected. This is often encountered when the same object is used over and over again

Run process as nobody
Add undocumented --disk-cache-path=;
Add access to specified disk-cache-path for nobody user
My solution is running as web server module, and even calling close() after rendering page is not freeing all allocated memory. So after every 100 requests I'm simply exiting (phantom.exit(-1)) phantom process. And starting it again in parent process (which initiated via spawn) on exit event.

Okay, @dr-dimitru,
I'm happy you found a work around. But it looks somewhat hacky, and I'd like to have a more permanent solution to my test framework. Right now, I get very frequent phantomJS crashes, which are blocking my CI from producing new product releases..
So, at end of September, there is still no one who has found a solution to this issue?
Cheers,
Aril

@aril-spetalen
I've built a PhantomJS factory where is dozen of PhantomJS servers is ready for incoming request, and if it fails - request will be handled by other instance, while failed instance is restarting.
This issue was discussed with main maintainer - there is no fix to it, as it bug of V8 not PhantomJS.


Compare treatment phenotype predictions

In this pr, I refactored the treatment comparisons between phenotypic class probabilities. Additionally, I added only compare treatments to negative controls within the same plate, and don't compare wells with cell counts below a supplied threshold. Please let me know if you have any questions or suggestions.

Thanks Mike, merging now!


Entrust need more people to manage issue

Hi @andrewelkins and @Zizaco, currently entrust have so many issue (183) and pull request (20) but they lack of response from the core developer. i think entrust have an oportunity to become big and more stable but as i see on your public activity this repository is not your priority for now. do you need some help?

We'll take help, sure

hi @andrewelkins, how can we help entrust if we never get feedback or response for our pull request? :)

That's true, you should add more active collaborators.

Agreed. I currently don't have perms to do that. I've ask Zizaco for this, so I can take care of it.

@andrewelkins that's excellent

@andrewelkins and @Zizaco I would love to help with this project also.

@moos3 i made a fork of this package because this one isn't getting the right attetion, you can check ir out in my profile

I'd love to add both of you to the project. Just need to get the permissions to do it.

We're adding you all to the project!

but there are still 276 pending issues and 27 pending pull requests at this time cc @andrewelkins @santigarcor @moos3 @devsalman

@dodyagung I'm not working on entrust i have been working on my own fork, it's called laratrust.


Ignore taskbar on maximize and the taskbar

If there are any windows [partially] behind the taskbar (e.g. Visual Studio in screenshot #1) before clicking the "Ignore taskbar on maximize" Window option, they will be displayed in front of the taskbar after either clicking "Ignore taskbar on maximize" again (e.g. Visual Studio in screenshot #2) or by restoring MahApps' original size before it was maximized (e.g. Visual Studio & MahApps in screenshot #3) by clicking the window's "Restore Down" button at the top right of the window.
The taskbar remains in the background until the focus on the MahApps window is lost.

@spasas maybe its an issue by running the demo from vs with debugging.

We can reproduce in release also. Only on Windows 7 though. Windows 8.1 seems to work fine.

@spasas I would like to close this issue, cause first, the menu point was created to demonstrate the possibility of ignoring the taskbar (not really at runtime, only used for the demo), and second, maybe a Windows function is causing this.

That's fine with me.

@spasas :+1:


Various fixes

Initiator/client sends the initial multistream handshake rather than waiting to receive it from the responder/server.
Drop handshake reverse logic
Fix issue whereby a new mplex worker can send its child handler msgs ( such as multistream header ) before the mplex protocol's new stream msgs has been sent, which would result in all prior msgs being dropped by the server.
Rust's Ping protocol does not frame msgs with a header. Added a change to allow an explicit payload size to be defined via the packet spec and this to be used to aid the encode and decode of relevant packets
Fixed tests and added some debug

@madninja thanks for the review.  re your concern about the handshake reverse logic removal, i am not entirely sure of likelyhood of the edge case this caters towards so happy to take your lead here.  I would say however the reverse logic was working of the assumption the server would be the initiator and I am not convinced in the scenario where the client is the initiator it actually provides any additional value.   Lets discuss further


SKY130_PDK

Added PDK primitives for SKY130

I'm not quite sure about the primitive.py file. We might need to have a discussion.
SKY130 seems to have different flavours of cells like lvt,hvt etc. (Which I had commented earlier.)

@thesourcerer8 https://github.com/thesourcerer8 we can set up a meeting
to discuss these issues.
On Wed, Aug 26, 2020 at 2:38 PM Parijat Mukherjee<EMAIL_ADDRESS>wrote:

@parijatm commented on this pull request.
In pdks/SKY130_PDK/primitive.py
https://github.com/thesourcerer8/ALIGN-public/pull/2#discussion_r477543414
:

+# I have not run this using ALIGN. I think we need to have a meeting to check the correctness of this file.
+
+#We are only copying code from align/primitive/default/mos.py
+#what about via.py/canvas.py?
+
+
+#In the layers.json file "Fin" is mapped to "active". Is this how it is supposed to be?
+#I am having some doubts here.
+
+
+
+
+
+
+class MOSGenerator(default.MOSGenerator):
@arvuce22 https://github.com/arvuce22 can help with this exercise too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thesourcerer8/ALIGN-public/pull/2#discussion_r477543414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKTUJYOTGGLJP4XNPFV6F7DSCVQCLANCNFSM4QKTEKVQ
.

@arvuce22 @parijatm : We were going through some of the ALIGN literature to understand the tool better.
@thesourcerer8 will be initiating a meeting very soon.


Refactor send_message_to_facebook

Notice that every method in messaging.py that utilizes send_message_to_facebook method adds a recipient and a message (for example: https://github.com/Stark-Mountain/meetup-facebook-bot/blob/master/app/messenger/messaging.py#L119). It would be nice to have send_message_to_facebook take care of it, namely have a recipient and message_body parameters.

Closed by 04ab6e2552fa7c51f9e809107030fed70e932a29


Disabling SELinux is ill-advised

In the documentation it is stated that:

The SAP workload requires some specific settings on all worker nodes:
Disabling SELinux

SELinux is a major protection mechanism and ensures isolation between processes, which is critical in containerised platforms.
Instead of disabling SELinux, an appropriate solution should be found to allow the process in the container to operate correctly.

Just my 2 cents: SAP Data Intelligence (SDI) comprises of dozens of containerized components, one of them is a small HANA instance running in a pod. The SDI has been validated on OpenShift 4 with all the nodes in enforcing mode since the beginning.
Some of the pods (including the HANA pod) run unconfined (spc_t). Confining them is a topic for future discussions.


Typo in various document files

Describe the bug

Typo in the various markdown files in the docs/production section
To Reproduce
Steps to reproduce the behavior:

Go to docs.
Go to subsection 'production' :
Various typos in the file listed in pull request.

Additional context

I am working on it

@mohitm15 there's no need to open an issue for typo fixes, just submit a PR :)

@timabbott I didn't knew about that .Will take care from next time.


take over develop to second year students

Now, this project is developed by my friend and I.
If someone who is a student in Takasaki high school wants to use this application after 2025, We should take over develop to second or first year students.

This application (The Client side app) is easy to take over to second students.
But, The Store side app is difficult to do...

https://github.com/suiranfes/blog.suiranfes.blue


Usage of med3web as an external library

Hello! I'd like to integrate your tool as a package for datagrok.ai platform (https://github.com/datagrok-ai/public/issues/46), but if I understand correctly currently it is a standalone web app that cannot be used as an external library. Please, let me know how I can use med3web as an external library to read and view MRI files or if it's not currently possible, is it planned to make med3web to work as an external library?

Hello @vdyma. Thank you for your question!
This feature haven't implemented yet, but we are looking for a solution to do this in the future releases.
If you are still interested in that, we can add you to waiting list and email, when it's done.

@DanilRostov just wondering if you still plan to introduce this feature?

I'd be interested as well.

Hands on,
We are still working on this feature.
Will let you know as soon as it implemented.
Thank you.


Categorical histogram should show percentage in addition to count

Currently, the categorical histogram view (SArray.show on str dtype) shows the absolute value of the count for each category. This may be useful, but the user may be looking instead for the relative value (how much of my dataset has this label?), which percentage would communicate better.

Can these be done in tooltips?

They can!

Tooltip sounds like a good place for this.


PMA0005: Compiling Creative writing data from CTA in a single format. (MM24)

Description:

We have creative or structured writing data from CTA, that needs to be compiled into a single format.
We also need to collect metadata such as letter types, dates, tags etc

Department:
We are expecting data from these department

[x] Department of Religion and Culture
[ ] Department of Information and International Relations
[x] Department of Home
[x] Department of Education
[ ] Kashag (Executive)

Implementation:

Subtask:

[ ] Collect all the soft-copy data from CTA.
[x] Collect all hard copy data.
[x] OCR the scanned document and clean the output
[x] Convert the data into txt format if they are in any other format.
[ ] Compile all the txt into a JSON with metadata such as types, dates etc

Completion Criteria
Create JSON with compiled creative writing data from CTA departments

img.1 compiled data for cta correspondence letter

img.2 compiled data for cta announcement

-compilation of yigdrel and saldak data from DoH, DoE and DoRC is done.
-The scanned documents are being cleaned right now.
-compilation of reports(laydom) need to be done


how to change loginUrl

Hi, how can I change the loginUrl from bootstrap.php

Hi, made a "walk around" with custom view and custom controller and now it works fine, so feel free to ignore the original request! Thanks! Philipp

It could explain better how did you change the loginUrl of bootstrap.php me interested in the template advanceapp have 2 urls Login and  Loginadmin, now I have extended the view and the controller of LoginAdmin as you did to tell the bootstrap by which loginby default.

@tecnologiaterabyte you can just set loginUrl in your config file as follows:
'components' => [
  'user' => [
    'loginUrl' => ['site/login'],
  ],
],

nope, get's overwritten by bootstrap from module

The latest version (0.9.3) allows you to override that value from config. I've checked it a few minutes ago ;)

Work Fine v. (0.9.3), great job soon I will get in my blog a complete guide on how to implement yii2-user in advanced app, for me the best extension of yii2 of user authentication.


How to train the model

Hi,
I notice that you used torch.no_grad() in the stem net, with no regard to train or inference.
Is the stem net parameter-fixed all the time ? or you trained it at somewhere else ?
Thank you !

Initially, the main backbone is trained in a single-frame setting. Afterwards, the warping offsets are learned in a multi-frame setting while the backbone is frozen.

Initially, the main backbone is trained in a single-frame setting. Afterwards, the warping offsets are learned in a multi-frame setting while the backbone is frozen.

So, there's no joint training of two HRNet and the PoseWarper model?

No. We observed that joint training was detrimental to the pose detection accuracy. In other words, during joint training the model focuses more on correctly warping the keypoints from one frame to another, while the pose detection accuracy drops. If we do separate training, are able to maintain a good pose detection accuracy, and also good warping accuracy without sacrificing one for another.


Add typestubs

Resolves #47. Relates to python/typeshed#10023.

A couple thoughts:

Separate stub files are annoying, but the least bad option if this project still needs to support Python 2.
The stubs are not checked in any way when someone makes a PR. You probably want to at least run mypy in github actions, maybe also flake8 with the flake8-pyi plugin (the stubs contain # noqa comments to ignore some of its warnings).

Thanks. I agree it's not as ideal as having the types inlined. I think python-periphery will probably drop Python 2.7 support in 3.0.0 and fully migrate to a Python 3 library.
I'll get this into the 2.4.0 release soon with a couple of amendments to accommodate the new GPIO changes. I'll add mypy type checking to the Travis CI as well.


Trailing space in specs2's "should" block causes the test to fail

Example:
class MyTest extends SpecWithJUnit {
  "trailing space " should {
    "fail the test" >> {
      success
    }
  }
}

Note there's a single space at the end of "trailing space ".
Will produce the following test_filter: "--test_filter=src.it.scala.foo.test.MyTest#\Qtrailing space should::fail the test\E$"
The name "trailing space should" does not contain the extra space, causing the test runner to fail during filtering.

We use TestConfigurationUtil.getStaticTestNameOrDefault for the scope name, and it does trimming.
Would this work in a non-blaze project? Should probably file an upstream bug if it happens there too.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


Template editing with open source software (LibreOffice / OpenOffice)

This is a great project - thanks a lot ! It would be great if it was possible to edit the templates with open source software rather than MS Word. I tried editing templates with LibreOffice but always get exceptions for different reasons.

thanks @mark-orion!
This is likely something we will need to troubleshoot on a case by case basis. I would probably start with a Serpico template written from scratch in LibreOffice. That is, all of the templates were written from Office and inherit MSOffice docx design/functionality. I think starting out with a LibreOffice based document will limit complexity in trying to figure out what's broken. Haven't tested it, but copying text from the office document to an intermediary (e.g. gedit) and then over to LibreOffice would get the basics in.


ollama: Add Support for Custom HTTP Headers in Client 🔐

Hello Team,
I've made an update to the ollama package to enhance the functionality of the Client struct. This update allows users to set custom HTTP headers when making requests to the Ollama server.
Key Changes:

Added a new field additionalHeaders in the Client struct to store custom headers.
Updated the NewClient function to accept custom headers as a parameter.
Implemented the parseHeaders function to convert header strings to a map.
Modified the do and stream methods of the Client struct to include custom headers in requests.

Why This Change:
Custom HTTP headers are crucial for various use cases, such as setting authentication tokens, customizing content types, or providing API keys. This flexibility is essential for users who need to interact with different types of HTTP-based services through the Ollama client.
Additional Notes:
This change is backward compatible as it adds a new feature without altering the existing functionalities. Users who don't need custom headers can continue to use the client as before.
I believe this enhancement will make the Ollama client more versatile and user-friendly. Looking forward to your feedback and suggestions.
Thank you for considering this contribution!
Best regards tuhochi!

I think the approach in #505 is preferable.

Closing as #505 merged.


bug:.net7.0 nativeaot cannot load weight.

vs2022, .net7.0, torchshapr0.99.3
Nativeaot can work normally, but cannot load weights

================================
begin buildmodel
begin loadmodel:D:/microocr.net/data/MicroBound_GEN9_nh64_depth2_epoch20.pth
Unhandled Exception: System.ArgumentException: Mismatched state_dict sizes: expected 0, but found 92 entries.
at TorchSharp.torch.nn.Module.load(BinaryReader, Boolean, IList1) + 0x170    at TorchSharp.torch.nn.Module.load(String, Boolean, IList1) + 0xbb
at MicroBound.Program.test() + 0xf5
at MicroBound!+0x3f11d3

@williamlzw -- you'll have to show more of the model code in order for us to help you.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static TorchSharp.torch.nn;
using static TorchSharp.torch;
using TorchSharp.Modules;
using TorchSharp;
namespace MicroBound
{
public class ConvBNACT : Sequential
{
public ConvBNACT(long inChannels, long outChannels, long kernelSize, long stride = 1, long padding = 0, long groups = 1) : base(
Conv2d(inChannels, outChannels, kernelSize, stride, padding, dilation: 1, groups: groups, bias: false),
BatchNorm2d(outChannels),
GELU())
{
}
}
public class MicroBlock : Module<Tensor, Tensor>
{
    private readonly ConvBNACT conv1;
    private readonly ConvBNACT conv2;

    public MicroBlock(long nh) : base("MicroBlock")
    {
        conv1 = new ConvBNACT(nh, nh, 1);
        conv2 = new ConvBNACT(nh, nh, 3, 1, 1, nh);
        RegisterComponents();
    }

    public override Tensor forward(Tensor input)
    {
        var x = conv1.forward(input);
        x = x + conv2.forward(x);
        return x;
    }
}

public class MicroStage : Sequential
{
    public MicroStage(int depth, long nh) : base(Enumerable.Range(0, depth).Select(_ => new MicroBlock(nh)).ToArray())
    {
    }
}

public class MLP : Sequential
{
    public MLP(long inputDim, long hiddenDim) : base(
        Linear(inputDim, hiddenDim),
        GELU(),
        Linear(hiddenDim, inputDim)
        )
    {
    }
}

public class MLPBlock : Module<Tensor, Tensor>
{
    private readonly LayerNorm layer_norm1;
    private readonly LayerNorm layer_norm2;
    private readonly LayerNorm layer_norm3;
    private readonly MLP mlp1;
    private readonly MLP mlp2;
    private readonly Conv2d conv;

    public MLPBlock(long inputDim, long hiddenDim) : base("MLPBlock")
    {
        layer_norm1 = LayerNorm(inputDim);
        mlp1 = new MLP(inputDim, hiddenDim);
        layer_norm2 = LayerNorm(inputDim);
        conv = Conv2d(inputDim, inputDim, 3, stride: 1, padding: 1, groups: inputDim, bias: false);
        layer_norm3 = LayerNorm(inputDim);
        mlp2 = new MLP(inputDim, hiddenDim);
        RegisterComponents();
    }

    public override Tensor forward(Tensor input)
    {
        var x = input.permute(0, 3, 2, 1);
        x = layer_norm1.forward(x);
        x = x + mlp1.forward(x);
        x = layer_norm2.forward(x);
        x = x.permute(0, 3, 2, 1);
        x = conv.forward(x);
        x = x.permute(0, 3, 2, 1);
        x = layer_norm3.forward(x);
        x = x + mlp2.forward(x);
        x = x.permute(0, 3, 2, 1);
        return x;
    }
}

public class MLPStage : Sequential
{
    public MLPStage(int depth, long inputDim, long hiddenDim) : base(Enumerable.Range(0, depth).Select(_ => new MLPBlock(inputDim, hiddenDim)).ToArray())
    {
    }
}

public class Tokenizer : Sequential
{
    public Tokenizer(long inputChannels, long hiddenDim, long outDim) : base(
        new ConvBNACT(inputChannels, hiddenDim / 2, 3, 2, 1),
        new ConvBNACT(hiddenDim / 2, hiddenDim / 2, 3, 1, 1),
        new ConvBNACT(hiddenDim / 2, outDim, 3, 1, 1),
        MaxPool2d(3, 2, 1))
    {
    }
}

public class Decoder : Module<Tensor, Tensor>
{
    private readonly Sequential deconv_layers;
    private long _inChannels;
    private Sequential MakeDeconvLayer(long numLayers, List<long> numFilters, List<long> numKernels)
    {
        ModuleList<Module<Tensor, Tensor>> layer = new ModuleList<Module<Tensor, Tensor>>();
        for (int i = 0; i < numLayers; i++)
        {
            var kernel = numKernels[i];
            var planes = numFilters[i];
            layer.append(ConvTranspose2d(_inChannels, planes, kernel, 1, 1, 0, bias: false));
            layer.append(BatchNorm2d(planes));
            layer.append(GELU());
            _inChannels = planes;
        }
        return Sequential(layer);
    }
    public Decoder(long inChannels = 3) : base("Decoder")
    {
        _inChannels = inChannels;
        deconv_layers = MakeDeconvLayer(3, new List<long>(new long[] { 64, 64, 64 }), new List<long>(new long[] { 3, 3, 3 }));
        RegisterComponents();
    }

    public override Tensor forward(Tensor input)
    {
        return deconv_layers.forward(input);
    }
}

public class MicroBoundNet : Module<Tensor, Tensor>
{
    private readonly Tokenizer embed;
    private readonly MicroStage micro_stages;
    private readonly MLPStage conv_stages;
    private readonly Flatten flatten;
    private readonly Decoder upsample;
    private readonly Linear fc;
    private readonly Dropout dropout;
    private readonly long _inputShape;
    public MicroBoundNet(long inputChannels = 3, long nh = 64, int depth = 2, long inputShape = 512) : base("MicroBoundNet")
    {
        embed = new Tokenizer(inputChannels, nh, nh);
        micro_stages = new MicroStage(depth, nh);
        conv_stages = new MLPStage(depth, nh, nh);
        flatten = Flatten(1, -1);
        upsample = new Decoder(nh);
        dropout = Dropout(0.1);
        fc = Linear(64, 8);
        _inputShape = inputShape;
        RegisterComponents();
    }

    public override Tensor forward(Tensor input)
    {
        using var _ = NewDisposeScope();
        var x = embed.forward(input);
        x = micro_stages.forward(x);
        x = conv_stages.forward(x);
        x = upsample.forward(x);
        x = nn.functional.adaptive_avg_pool2d(x, 1);
        x = flatten.forward(x);
        x = dropout.forward(x);
        x = fc.forward(x);
        x = x * _inputShape;
        return x.MoveToOuterDisposeScope();
    }
}

}

And which module class is it that you are are loading?

var model = BuildModel(cfg.InChannels, cfg.Nh, cfg.Depth, cfg.InputShape);
if (cfg.ModelPath != null)
{
LoadModel(cfg.ModelPath, model);
}
public static void LoadModel(string modelPath, Module<Tensor, Tensor> model)
{
model.load(modelPath);
}
    public static Module<Tensor, Tensor> BuildModel(int inChannels, int nh, int depth, long inputShape)
    {
        return new MicroBoundNet(inChannels, nh, depth, inputShape);
    }

var model = BuildModel(cfg.InChannels, cfg.Nh, cfg.Depth, cfg.InputShape);
if (cfg.ModelPath != null)
{
LoadModel(cfg.ModelPath, model);
}
public static void LoadModel(string modelPath, Module<Tensor, Tensor> model)
{
model.load(modelPath);
}
    public static Module<Tensor, Tensor> BuildModel(int inChannels, int nh, int depth, long inputShape)
    {
        return new MicroBoundNet(inChannels, nh, depth, inputShape);
    }

Other models cannot be loaded in nativeaot mode.

Is the reading path text string of nativeaot compiled ansi characters? Cannot be loaded by torchsharp.

What is the result of this:
var model = BuildModel(cfg.InChannels, cfg.Nh, cfg.Depth, cfg.InputShape);

var size = model.state_dict().Count;

begin buildmodel
model size:0 /// 0
begin loadmodel:D:/microocr.net/data/MicroBound_GEN9_nh64_depth2_epoch20.pth
Unhandled Exception: System.ArgumentException: Mismatched state_dict sizes: expected 0, but found 92 entries.
at TorchSharp.torch.nn.Module.load(BinaryReader, Boolean, IList1) + 0x170    at TorchSharp.torch.nn.Module.load(String, Boolean, IList1) + 0xbb
at MicroBound.Program.test() + 0x1bc
at MicroBound!+0x3fc2f3

The model size is 92 and runs using. net. Use nativeaot to run size 0
begin buildmodel
model size:92
begin loadmodel:D:/microocr.net/data/MicroBound_GEN9_nh64_depth2_epoch20.pth
begin readimg:d:\dataset\gen9\test\00000.jpg
begin forward
end forward

Okay, that's the problem -- it's not the load, it's the initialization of the model that's going wrong for some reason.
TorchSharp has not been tested with AOT.

Can you fix the problem of aot compilation, saving and loading weights? Now the model is trained and reasoned normally, but the weight cannot be loaded and saved. Thank you.

@tarekgh -- any thoughts and/or insights?

@NiklasGustafsson AOT is not friendly with the reflection. If someone can look at the failing code path and figure out the area that the reflection is used there, that can help try to find what is the best way to mitigate that for AOT.

https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/reflection-free-mode.md
https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/reflection-in-aot-mode.md

@williamlzw -- thanks for identifying the spot where reflection is used. This is necessary in order to make the definition of custom modules straightforward, especially the loading and storing of state dictionaries, but also the registration of components when a module is created, and the conversion of modules to a different element type or moving modules to another processor.
If AOT is incompatible with the use of FieldInfo, then that's very unfortunate. We'll have to add some visible comment to the readme and other documentation.

Is it possible you can try providing the rd.xml for the Module class and find out if this can help?

Net8.0 is expected to support method reflection in the near future.


Add metagame setting to restrict party ally visibility

I'll address the misalignment on the inventory boxes once exploration is in. The core styling is getting some tweaks and shuffling.

I expect people will want finer control than that, but can we get the reduced denounce? :)

Already in there, its in the party document.
For now I'm happy to do "my gm" and "your gm" as the two possible settings and then see what people actually want. The one area I think there might be disagreement is on showing the HP. I can imagine people wanting to at least show HP for all actors in the exploration tab but otherwise hiding the overview.


add day-ahead prices to default battery dashboard of toy account

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 7 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.01%) to 65.526%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

flexmeasures/cli/data_add.py
0
7
0.0%

Files with Coverage Reduction
New Missed Lines
%

flexmeasures/cli/data_add.py
2
31.94%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
6869

Relevant Lines:
9850

💛  - Coveralls


PR HDX-9859 adapting patch table and VAT tables

There are no changes to the actual hapi schema here.
There are changes to the VAT tables (needed by the HAPI Write App) and to the Patch table + related tests:

adapting primary keys
some columns needed to be nullable
using enums

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

21 of 21 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 80.756%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
919

Relevant Lines:
1138

💛  - Coveralls


refactor: improve UX of mobile navbar

Attempts to make a smoother transition of the navbar sidebar display on mobiles. Based on the mobile Wikipedia website experience.

Before
After

Builds:

Before: https://infima63-before.netlify.app/
After: https://infima63-after.netlify.app/

(Experiment) new changes with using translate3d instead of translateX for better graphics performance  https://infima63-after-translate3d.netlify.app/
cc @yangshun what do you think about this improvement (and also to replace translateX with translate3d)?

Ah, sure, fixed it! What do you think of translate3d? Should we use it? This should speed up performance as this navbar is for mobiles.

Ah, sure, fixed it!

Thank you!

What do you think of translate3d?

Yep I think it's good, thanks for using that instead!

Yep I think it's good, thanks for using that instead!

But I didn't actually do it in this PR! I just suggested it and built framework with proposed change. So I opened new PR for that. https://github.com/facebookincubator/infima/pull/65


Fix azure-common-auth Credential classes to take HttpRequest

Fixing build breaks from PR #3200
Unfortunately the solution is not built as part of the parent pom.xml, so these build breaks were missed. :(

Can one of the admins verify this patch?


[Publisher / Sorting option] Implement sorting option for publisher columns

Currently, the sorting option is not implemented for publisher columns. Ideally, the user should be able to click on the column title and sort the applications. Also, we need to update 'Status' column as a part of this effort to be able to sort by application status. Please refer to the attached screenshot.

@ruwany , @sinthuja , @charithag : Please add labels: enhancement , medium