Rework the recompilation and fix the epoch strategy

Hi @mboehm7 ,
I'd like to create a new PR due to some new different commits. In general, I reused some logic of parfor parallelism recompilation and fix an important problem wrt epoch updating strategy.  The idea of this fix is to accumulate the intermediate gradients generated in each worker in one epoch and push the gradients of this accumulated one.
Thanks for the review,
Guobao

LGTM - thanks @EdgarLGB for catching and fixing this issue. The rework for update per epoch is absolutely right - sorry for not catching this during the previous PRs. During the merge I made some additional improvements, which mostly address performance issues:

SYSTEMML-2398: The reason why we've seen such a large aggregation overhead w/ 80 workers, was because the updateModel method was synchronized on the single AggregationService instance, which led to a serialization of all local and global model updates and thus heavy thread contention. We now use separate execution context and unsynchronized model updates which improved the overhead for ASP EPOCH 2 epochs 80 workers from 3179.774/63.368 secs (local/global) to 123.369/9.508 secs.
Furthermore, we now use inplace binary operations for accruing the local gradients to avoid unnecessary reallocations.
I also made all time measurements conditional on enabled statistics because for very small operations the time measurement itself can become a bottleneck.


Chart fit and finish - Delete behavior for charts

When deleting a chart, there are the following changes required:
### UX
- [ ] Guidance for the UX for the delete friction

### Tasks
- [ ] Delete key should open of confirmation (see https://cloudscape.design/patterns/resource-management/delete/delete-with-simple-confirmation/)
- [ ] Implement test which utilizes the modal to delete a widget
- [ ] Prevent the users from dragging the chart by dragging the delete "X" icon
- [ ] Fix issue where delete key sometimes does not result in the deletion

Please use the simple confirmation delete modal for this experience.

There is a multi-select option and delete all selected widgets at a time, so can we go like the below screenshots?
for single select:

for multi-select:

Note: CSS changes not yet provided.


Order FoldableWithIndex methods

Not only would one generally expect these to be ordered, plain Foldable is
ordered. Consistency then suggests that we are ordered here.

Unnecessary if/when https://github.com/purescript/purescript-maps/pull/140 lands. Slightly more comprehensive than https://github.com/purescript/purescript-maps/pull/139.

I fixed this in ordered-collections, thanks!


If no value is set in ColorPicker or ColorSelector, the format is ignored

Which package has an issue?
@yamada-ui/react
Package Version
1.4.8
Description
When no value is set in ColorPicker or ColorSelector, the displayed channel is rgb even if hsl is set for the format.
Link to Reproduction
No response
Steps to Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Browser
None
Operating System

[ ] macOS
[ ] Windows
[ ] Linux
[ ] iPadOS
[ ] iOS
[ ] Android

Do you know how to fix the issue?
None
Are you willing to participate in fixing this issue and create a pull request with the fix?
None
Additional Information
No response

Fixed #2567


online map building

Hello,
My idea is the following:

Launch gazebo with any environment
Tell the quadrotor to explore the environment or move to a global goal while avoiding obstacles and mapping in real-time. Imagine a search and rescue scenario where the robot must go inside a buidling and completely explore.

So the goal is to:
Subscribe to camera depth map or disparity map or point cloud and explore an environment.
This is very similar to #55.
I am struggling with this. I did the followng:

roslaunch mav_local_planner firefly_sim.launch", gazebo is launched.
Then i enter firefly as the Namespace in the planning panel, then edit the goalTo send it to the local planner
pressed the Send Waypoint button.

But no path or mesh appears.
Can i implement my idea with this library?

Hi, I get same problems, I wonder do you know any potential reason of it? Thank you very much and i am expecting your response.

Really don't know. That was two years ago xD.


Embeddinator-4000 for generating Rust bindings to Cocoa & CocoaTouch

I observe that your very promising initial effort on this has stalled since 19 September 2016 (approximately 19 months).  Perhaps this is due to the vast manual effort required for manually authoring Rust source code for each API throughout Cocoa and CocoaTouch on MacOS and iOS.  Using Objective-C generation, Java generation, and C generation as a reference (the promised C++ generation doesn't exist yet), have you considered authoring Rust code generation for Embeddinator-4000?

Thanks for your interest in the project! Since I first wrote sorbet-cocoa and the associated blog post, I've switched from macOS to Linux and gotten a job, so I haven't had as much free time to work on the project. That said, I'm still very interested in the Rust app development space, so I really would like to return to this project again in the future (as well as the larger vision of native cross-platform app development in Rust which I briefly touched on in the blog post).
On codegen specifically, I haven't heard about Embeddinator-4000 before, but it definitely seems like an interesting project! Unless I'm mistaken though, it seems like it's mostly for C# -> {iOS,Mac,Android} codegen rather than the other way around?
Still, I think codegen will be an important part of the future of sorbet-cocoa. I've had some ideas on tackling this before, and I don't think it would be too challenging to get something working (using Clang to parse ObjC classes, translate to Rust with objc_class!, compile). As per usual, the devil is in the details, and I think the challenge will be figuring out how types like strings, etc. are translated in autogenerated classes.


Kafka Connect Distributed can't communicate with broker

We run Confluent 5.0.1 from cp-ansible with three nodes configured with connect-distribued.
Since yesterday we got problems with connect.
When I push a new connection:
{
    "name": "signal-elastic-sink",
    "config": {
        "connector.class": "io.confluent.connect.elasticsearch.ElasticsearchSinkConnector",
        "tasks.max": "6",
        "topics": "signal-source",
        "topic.index.map": "signal-source:signal",
        "schema.ignore": "false",
        "connection.url": "http://elastic01:9200",
        "key.ignore": "true",
        "type.name": "signal",
        "name": "signal-elastic-sink"
    }
}

Syslog get a frenzy with the following:
Nov  9 07:24:25 BROKER02 connect-distributed[16386]: [2018-11-09 07:24:25,451] ERROR [│worker rebalance)"}% Producer clientId=confluent.monitoring.interceptor.consumer-4] Connection to node -1 failed authentication due to: SSL handshake failed (org.apache.kafka.clients.NetworkClient:663)

Looks like you have something going wrong with your worker configuration. Like the monitoring interceptor is failing to authenticate with SSL. These parameters should be handling this for you, so I suspect you have done something else with the worker properties files for connect https://github.com/confluentinc/cp-ansible/blob/5.0.x/roles/confluent.connect-distributed/templates/connect-distributed_sasl_ssl.properties.j2#L30-L34
Can you validate or post your worker properties file?

Producer clientId=confluent.monitoring.interceptor.consumer

This seems to be an error with the interceptors, not Connect

I can confirm that we do not currently configure the interceptors.  We have this on the roadmap for a future release.


Optimize CI a bit

I didn't even know v3 of official actions came out. I have some reading to do, then will be back to this review.


IDE select should be consistent with others

Is your feature request related to a problem? Please describe.
https://github.com/daytonaio/daytona/assets/26512078/26b41785-3d5b-44fa-bdc1-62c90b27bce6
The IDE select prompt should be a full-height list. It should follow the same TUI pattern as the rest of our select prompts (e.g. daytona info.)
Describe the solution you'd like
The IDE select prompt has the same design as the daytona info select.

/bounty $20

/attempt196

/attempt #196

@Tpuljak isn't it already in list format?

@35C4n0r please pull the latest changes from main. We've added support for JetBrains IDEs, and as you can see from the screenshot below, the full list is hidden from the user:

😅 @Tpuljak, my bad I did pull the changes but forgot to build. I see it now.


The Chinese input method blocks the input content.

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Problem: When I enter Chinese in the Editor, the Chinese input method candidate box blocks the input content.
Solution: CodeEditor overloads the QPlainTextEdit inputMethodQuery method:
def inputMethodQuery(self, query):
    """Reimplement Qt method"""
    if query == Qt.ImInputItemClipRectangle:
        cursor_rect = self.cursorRect()
        margins = self.viewportMargins()
        cursor_rect.moveTopLeft(cursor_rect.topLeft() + QPoint(margins.left(), margins.top()))
        return cursor_rect

    return super(CodeEditor, self).inputMethodQuery(query)

What steps reproduce the problem?

Enter Chinese in Editor.

What is the expected output? What do you see instead?
The Chinese input method candidate box should be displayed under the cursor.
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:  6.0.3
Python version: 3.11.10
Qt version:
PyQt version:
Operating System name/version:  windows 11

Dependencies

PASTE DEPENDENCIES HERE

Hey @Deng-Guangyong, thanks for reporting and providing a fix for this! We'll include it in our next version (6.0.4), to be released in a few weeks.


Allow to require('phaser/no-physics') instead of require('./node-modules/build/custom/phaser-no-physics')

This feature request has been moved to the Phaser 3 feature list (so is being closed here)


can't see some old metrics after restoring snapshot

What did you do?
I have prometheus version 2.18
I enable  --web_api_admin
launch creating snapshot from prometheus
receive folder in which i have many directories with names like a "01E10T8EV6ZSK04N6299ZWQX45"
Update prometheus to the last version (2.22) and start
then stop prometheus
go to /var/lib/prometheus
delete all files from this directory
copy all directories from snapshot to the /var/lib/prometheus
start prometheus
What did you expect to see?
In node_exporter i expect to see continue my time series, but i see only old data (new data don't write into the snapshot directories)
I have trouble only with node_exporter dashboard
From other exporters such as mikrotik_exporter or APC UPS exporter i see all data (old and new) time series continue writing in the same files
If i create a new dashboard node_exporter i see a new data, but i don't see old data
What did you see instead? Under which circumstances?
This is old dashboard node_exporter

This is a new dashboard node_exporter

Environment

Prometheus version:

prometheus, version 2.22.1 (branch: HEAD, revision: 00f16d1ac3a4c94561e5133b821d8e4d9ef78ec2)
build user:       root@516b109b1732
build date:       20201105-14:02:25
go version:       go1.15.3
platform:         linux/amd64
How i can concatenate old and new time series in my new dashboard node_exporter (new dashboard is better)?

We have looked at in in our bug scrub, can you please help us by providing more steps to reproduce this behaviour?

Solved!
Do not change name of job on a new config prometheus)))
Before restoring

After restoring (used new config prometheus.yml with old backup metrics)

In first picture job = "Hardware", on second job = "node"
Grafana can't understand what's going with job naming
After that i change name of job and all alright!

Thank you @roidelapluie )))


Test for Memory Leaks

Use LeakCanary and MAT to see what I am holding onto, if anything. Engines are intentionally leaked, but they need to be modest in size.

Added LeakCanary.


Fix checkpoint validation tests for torch 1.13

What does this PR do?
Fix checkpoint validation tests for torch 1.13.

What issue(s) does this change relate to?

Before submitting

[ ] Have you read the contributor guidelines?
[ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[ ] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[ ] Did you update any related docs and document your change?
[ ] Did you update any related tests and add any new tests related to your change? (see testing)
[ ] Did you run the tests locally to make sure they pass?
[ ] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

Force merging -- docs build is having issues but not affected here


Scrolling down with mouse inside less

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Using iTerm2, I have enabled this setting: "Scroll wheel sends arrow keys when in alternate screen mode".

This enables me to scroll inside less using my trackpad or mouse (see https://stackoverflow.com/a/37610820/5932012).
However, when I invoke less from within fzf, this does not work. Instead, crazy things happen:
fzf --bind "enter:execute(echo {} | xargs less)"

Scrolling does work inside the list and preview windows, however.

The --no-mouse option seems to workaround this issue. Not sure if it's an actual fix, though.

Hi everyone!
As of today I'm using version 0.33 of fzf, and still got this annoying bug.
I'm under macOS Monterey 12.2, using zsh and iTerm2 (build 3.4.16).
I can't use the --no-mouse workaround due to my use case.
Is there anyone else who would work on this? Or has this issue been forget?


Need help USING the Programs I pay for

I have been a Microsoft customer for probably 30 years.  I currently PAY for Office 360, or whatever you are calling it these days.  I had a drive crash and had to reinstall everything.  NOW, when I go into Excel, Word, or PowerPoint, they tell me that a license has not been assigned to me.  What the hell?! I am the one and ONLY user.  I am the ADMIN but apparently, I need to speak to the ADMIN so he/she/it can assign my own license to me.  I don't know how to do that.  When I sign into<EMAIL_ADDRESS>with either of my two active IDs, neither gives me the ability to DO ANYTHING.  i need the ADMIN for that.  Did I mention that is me?
Those Google apps are looking a lot more inviting right now.  Someone help me or I am OUT.... not because I want to be but because you have made it so freaking hard, a non-system admin cannot easily figure it out (and should not have to).
You can reach me at<EMAIL_ADDRESS>or<PHONE_NUMBER>.  Ahhhh!
Mark Knowles

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

ID: 3fe006bd-000c-9171-7788-219607c8e13e
Version Independent ID: f9b403b0-098b-a05c-830c-f3934fbc0d3e
Content: What is the My Account portal? - Azure AD
Content Source: articles/active-directory/user-help/my-account-portal-overview.md
Service: active-directory
Sub-service: user-help
GitHub Login: @curtand
Microsoft Alias: curtand

@mknowlesnc Thanks for reaching out. We will investigate and update the thread accordingly.

@mknowlesnc ,
Thanks for reaching out and sorry for the the inconvenience.
I would request you to reach out to Office 365 - Microsoft Tech Community since this sounds more like Office 365 apps and licensing rather than AzureAD related. Thanks.


Cannot install new npm packages

Unfortunately there is an issue with the extend of the current images. I realized that i cannot install new npm packages (i can but then a MODULE_NOT_FOUND appears). Do you have a any workaround for this? i think the solution is on docker-compose.yml and Dockerfile. Maybe the place of the node_modules folder...

Don't know the fix but a work around :
Try commenting out the line containing the path to node_modules in your docker compose file, under services: app: volumdes

hi @exog3n thanks for bringing this to my attention. I believe I had made a mistake on the line pointed out by @nsyed1 , but I changed it in this commit https://github.com/hueter/docker-node-express-boilerplate/commit/3bdc82ed3f788a8e6afc1bb28f4f24910f65b637 and it works for me locally. If you add this change I think you should be able to npm install new packages even while the server is running.
Let me know if it works for you! Thanks


Werdna universe registered

We're so excited that you've decided to create a new project! Now that you're here, let's make sure you know how to get the most out of GitHub Projects.

[x] Create a new project
[x] Give your project a name
[ ] Press the ? key to see available keyboard shortcuts
[ ] Add a new column
[ ] Drag and drop this card to the new column
[x] Search for and add issues or PRs to your project
[ ] Manage automation on columns
[ ] Archive a card or archive all cards in a column

Im having problems being hacked out of my unmeaningful ideas on here other dogs out there


Add Serving Runtime section in Admin Panel and Feature Flag

Description

Closes #1076

How Has This Been Tested?

Add or deploy the newest OdhDashboardConfig crd and object
Disable de feature
The admin nav won't display the Serving Runtimes section
Enable de feature
You will see the section
Try to access to the URL as a regular user, it will redirect to login

Test Impact

None, first issue, tests will be added in following prs
Request review criteria:

[X] The commits have meaningful messages (squashes happen on merge by the bot).
[X] Included any necessary screenshots or gifs if it was a UI change.
[X] Included tags to the UX team if it was a UI/UX change.
[X] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has manually tested the changes and verified that the changes work
[X] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

@DaoDaoNoCode As i told you before, to unblock you and give you more flexibility to work on the next task, I've added the context to fetch templates too, you can start getting data by adding this yaml to your cluster:
kind: Template
apiVersion: template.openshift.io/v1
metadata:
  name: onnx
  namespace: opendatahub
  labels:
    opendatahub.io/dashboard: 'true'
  annotations:
    tags: 'oxxn,servingruntime'
    description: 'ONNX ServingRuntiem Definition'
objects:
  - apiVersion: serving.kserve.io/v1alpha1
    kind: ServingRuntime
    metadata:
      annotations: []
      labels:
        opendatahub.io/dashboard: 'true'
    spec:
      builtInAdapter:
        memBufferBytes: 134217728
        modelLoadingTimeoutMillis: 90000
        runtimeManagementPort: 8888
        serverType: ovms
      containers:
        - args:
            - '--port=8001'
            - '--rest_port=8888'
            - '--config_path=/models/model_config_list.json'
            - '--file_system_poll_wait_seconds=0'
            - '--grpc_bind_address=<IP_ADDRESS>'
            - '--rest_bind_address=<IP_ADDRESS>'
          image: >-
            registry.redhat.io/rhods/odh-openvino-servingruntime-rhel8@sha256:7ef272bc7be866257b8126620e139d6e915ee962304d3eceba9c9d50d4e79767
          name: ovms
          resources:
            limits:
              cpu: '2'
              memory: 8Gi
            requests:
              cpu: '1'
              memory: 4Gi
      grpcDataEndpoint: 'port:8001'
      grpcEndpoint: 'port:8085'
      multiModel: true
      protocolVersions:
        - grpc-v1
      replicas: 1
      supportedModelFormats:
        - autoSelect: true
          name: openvino_ir
          version: opset1
        - autoSelect: true
          name: onnx
          version: '1'
parameters: []


DefaultTabController crashes when used with Streams

lib.zip
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building NotificationListener<KeepAliveNotification>:
flutter: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2798 pos 14:
flutter: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart:2798:14)
flutter: #3      _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:2832:5)
flutter: #4      RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:209:11)
flutter: #5      SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:932:18)
flutter: #6      RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4525:35)
flutter: #7      RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4291:5)
flutter: #8      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4665:11)
flutter: #9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2919:14)
flutter: #10     Element.updateChild (package:flutter/src/widgets/framework.dart:2722:12)
flutter: #11     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #12     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #13     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3634:5)
flutter: #14     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3629:5)
flutter: #15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2919:14)
flutter: #16     Element.updateChild (package:flutter/src/widgets/framework.dart:2722:12)
flutter: #17     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #18     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #19     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3634:5)
flutter: #20     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3629:5)
flutter: #21     ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3967:11)
flutter: #22     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2919:14)
flutter: #23     Element.updateChild (package:flutter/src/widgets/framework.dart:2722:12)
flutter: #24     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #25     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #26     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3634:5)
flutter: #27     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3781:11)
flutter: #28     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3629:5)
flutter: #29     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2919:14)
flutter: #30     Element.updateChild (package:flutter/src/widgets/framework.dart:2722:12)
flutter: #31     SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:811:36)
flutter: #32     SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:769:34)
flutter: #33     SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:738:7)
flutter: #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #35     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4391:32)
flutter: #36     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4781:17)
flutter: #37     _ViewportElement.update (package:flutter/src/widgets/viewport.dart:192:11)
flutter: #38     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #39     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #40     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #41     ProxyElement.update (package:flutter/src/widgets/framework.dart:3921:5)
flutter: #42     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #43     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4673:14)
flutter: #44     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #45     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4673:14)
flutter: #46     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #47     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4673:14)
flutter: #48     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #49     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4673:14)
flutter: #50     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #51     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #52     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #53     StatefulElement.update (package:flutter/src/widgets/framework.dart:3811:5)
flutter: #54     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #55     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4673:14)
flutter: #56     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #57     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #58     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #59     StatefulElement.update (package:flutter/src/widgets/framework.dart:3811:5)
flutter: #60     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #61     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #62     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #63     StatelessElement.update (package:flutter/src/widgets/framework.dart:3714:5)
flutter: #64     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #65     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #66     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #67     StatefulElement.update (package:flutter/src/widgets/framework.dart:3811:5)
flutter: #68     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #69     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #70     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #71     StatelessElement.update (package:flutter/src/widgets/framework.dart:3714:5)
flutter: #72     Element.updateChild (package:flutter/src/widgets/framework.dart:2711:15)
flutter: #73     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3665:16)
flutter: #74     Element.rebuild (package:flutter/src/widgets/framework.dart:3507:5)
flutter: #75     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2255:33)
flutter: #76     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:653:20)
flutter: #77     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
flutter: #78     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #79     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #80     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
flutter: #81     _invoke (dart:ui/hooks.dart:128:13)
flutter: #82     _drawFrame (dart:ui/hooks.dart:117:3)
flutter: (elided 2 frames from class _AssertionError)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2798 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
flutter: Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2798 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
flutter: Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2798 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3509 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
flutter: Another exception was thrown: The _ScaffoldLayout custom multichild layout delegate forgot to lay out the following children:
[VERBOSE-2:shell.cc(181)] Dart Error: Unhandled exception:
type 'RenderErrorBox' is not a subtype of type 'RenderSemanticsGestureHandler'
#0      RawGestureDetectorState.replaceSemanticsActions (package:flutter/src/widgets/gesture_detector.dart:597:43)
#1      ScrollableState.setSemanticsActions (package:flutter/src/widgets/scrollable.dart:337:40)
#2      ScrollPosition._updateSemanticActions (package:flutter/src/widgets/scroll_position.dart:445:13)
#3      ScrollPosition.notifyListeners (package:flutter/src/widgets/scroll_position.dart:669:5)
#4      ScrollPosition.forcePixels (package:flutter/src/widgets/scroll_position.dart:318:5)
#5      ScrollPositionWithSingleContext.jumpTo (package:flutter/src/widgets/scroll_position_with_single_context.dart:199:7)
#6      PageController.jumpToPage (package:flutter/src/widgets/page_view.dart:132:14)
#7      _TabBarViewState._warpToCurrentIndex (package:flutter/src/material/tabs.dart:1126:21)
<asynchronous suspension>
#8      _TabBarViewState._handleTabControll<…>
flutter: Another exception was thrown: The _ScaffoldLayout custom multichild layout delegate forgot to lay out the following children:
flutter: Another exception was thrown: NoSuchMethodError: The getter 'visible' was called on null.
flutter: Another exception was thrown: The _ScaffoldLayout custom multichild layout delegate forgot to lay out the following children:

Using the Bloc pattern in a form that is on one tab. switching between tabs will through the exception.

I believe this is a dup of #11895
Please see this comment https://github.com/flutter/flutter/issues/11895#issuecomment-419985757


Installation fail

Composer error:
[InvalidArgumentException]
Could not find package jafaripur/laravel-comment at any version for your minimum-stability (stable). Check the package spelling or y
our minimum-stability

@Alexicode This ext is out dated, use another one.


feature request: LSP willRenameFiles

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
Add callbacks when creating, renaming/moving and deleting files.
Provide background
It would be nice to notify the lsp when a file is renamed, for example this plugin makes it possible with nvim-tree and neo-tree. It would be nice if it could integrate with oil.nvim. Also this could be interesting to have as a built-in feature
Additional details
No response

I've added built-in support for willRenameFiles. Been thinking about this for a while; just needed an extra push!

Might be worth adding this to the readme, personally I had nvim-tree installed only because oil did not yet support this :)


When sending a transaction fails, entered information gets cleared

When i try to send a new transaction and sending somehow fails, all information i entered gets cleared which is super annoying. Nobody reckons witch a failure while writing the transaction and therefore doesn't copy for example the message he wrote - when sending the transaction fails one has to write it again. There is absolutely no reason to clear all entered information on failure, the user should be able to just try again.
NDXRV4-767UOX-C2CY3Y-IRLFMB-TWIXXS-V7GQYO-WELC

Fixed in Version 2 Build 39

Not fixed, all entered information still gets cleared when an error occurs.

Fixed in Version 2 Build 40

This issue is still not fixed with build 40.
I made this video showcasing what i mean: https://youtu.be/lf1qQH3JG3Q

not resolved.  please see video.

Remove accounts from address book and reinstall app. And try again.
Account is broken, they was created in old versions or manually

Fixed in Version 2 Build 41

fixed


GAWB-2268: Cluster dockerfile and cluster url

Goes off of branch jt_db, but once that's merged, I'll point it to develop
The new docker image is: ansingh7115/leonardo-notebooks

[x] Submitter: Include the JIRA issue number in the PR description
[x] Submitter: Make sure Swagger is updated if API changes
[x] Submitter: If updating admin endpoints, also update firecloud-admin-cli
[x] Submitter: Check documentation and code comments. Add explanatory PR comments if helpful.
[x] Submitter: JIRA ticket checks:

Acceptance criteria exists and is met
Note any changes to implementation from the description
To Demo flag is set
Release Summary is filled out, if applicable
Add notes on how to QA

[ ] Submitter: Update RC_XXX release ticket with any config or environment changes necessary
[ ] Submitter: Update FISMA documentation if changes to:

Authentication
Authorization
Encryption
Audit trails

[ ] Tell the tech lead (TL) that the PR exists if they wants to look at it
[ ] Anoint a lead reviewer (LR). Assign PR to LR

Review cycle:

LR reviews
Rest of team may comment on PR at will
LR assigns to submitter for feedback fixes
Submitter rebases to develop again if necessary
Submitter makes further commits. DO NOT SQUASH
Submitter updates documentation as needed
Submitter reassigns to LR for further feedback

[ ] TL sign off
[ ] LR sign off
[ ] Product Owner sign off
[ ] Assign to submitter to finalize
[ ] Submitter: Verify all tests go green, including CI tests
[ ] Submitter: Squash commits and merge to develop
[ ] Submitter: Delete branch after merge
[ ] Submitter: Test this change works on dev environment after deployment. YOU own getting it fixed if dev isn't working for ANY reason!
[ ] Submitter: Verify swagger UI on dev environment still works after deployment
[ ] Submitter: Inform other teams of any API changes via Slack and/or email
[ ] Submitter: Mark JIRA issue as resolved once this checklist is completed

I was able to launch a cluster with this image, hooray!

👍

Move the docker files to /docker


Mistral example misses numpy in its requirements.txt

Hi,
It looks like numpy is required to convert the mistral model. But it is missing from the requirements.txt file.

I see that #7 fixes this.


[C#] chore: embeddings integration test

Linked issues
closes: #907
Details
Provide a list of your changes here. If you are fixing a bug, please provide steps to reproduce the bug.
Change details

Describe your changes, with screenshots and code snippets as appropriate

code snippets:
screenshots:
Attestation Checklist

[ ] My code follows the style guidelines of this project

I have checked for/fixed spelling, linting, and other errors

I have commented my code for clarity

I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient)

My changes generate no new warnings

I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:

Local testing
E2E testing in Teams

New and existing unit tests pass locally with my changes

Additional information

Feel free to add other relevant information below

Close and create a new PR #1227.


logger and time provider tests

Codecov Report

Merging #82 (d9a76a6) into main (260eb95) will increase coverage by 1.64%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   48.41%   50.05%   +1.64%
==========================================
  Files          41       41
  Lines         944      945       +1
  Branches      122      123       +1
==========================================
+ Hits          457      473      +16
+ Misses        486      471      -15
  Partials        1        1

Impacted Files
Coverage Δ

...ain/java/fi/epicbot/toster/logger/DefaultLogger.kt
100.00% <0.00%> (+100.00%)
:arrow_up:

...fi/epicbot/toster/time/SkipCommandsTimeProvider.kt
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Only one element rendering at each level in the DOM

Firstly, I think react-haskell is a really good idea, and I'm using it to build a web application even if I have to keep changing all my application code and getting out of various different manifestations of cabal hell.
Secondly, I think I've found a bug:
{-# LANGUAGE OverloadedStrings #-}

import Haste.Prim
import Haste.DOM
import React

data ApplicationState = ApplicationState {
    foo :: JSString
  }

transition :: JSString -> ApplicationState -> (ApplicationState, [AnimConfig JSString ()])
transition signal oldState = (oldState, [])

index :: ApplicationState -> React ApplicationState JSString () ()
index s = do
  h1_ "Render things"
  h1_ "Render moar things"

main = do
    mElem <- elemById "app"
    case mElem of
      Nothing -> putStrLn "not found"
      Just elem -> do
          render elem =<< createClass index transition (ApplicationState "") () []
          return ()

Only renders "Render things", but I would expect "Render things" then "Render moar things". In general, the only the first child of any element in the React declaration seems to be rendering.

Actually, we only see this effect at the top level in a ReactClass. This is not a bug, because React's Javascript render only seems to render 1 element at the top level.


Update getting advanced USB working on new swadge

Description

reboot-from-bootloader-into-swadge functionality in tools/bootload_reboot_stub/
reboot-to-bootloader functionality in tools/reboot_into_bootloader/
printf-over-usb in tools/sandbox_test/sandbox_interactive
A sandbox demo in tools/sandbox_test

Test Instructions
(This is a longer discussion)
Note: there are doxygen warnings for me anyway? Not sure what is going on there.

Note: there are doxygen warnings for me anyway? Not sure what is going on there.

I built the docs in this branch and didn't get any warnings. What version of doxygen do you have?
PS D:\git\Swadge-IDF-5.0> doxygen --version
1.9.6

Also the emulator fails to build because this file isn't mocked (among maybe other issues)
main/swadge2024.c:141:10: fatal error: advanced_usb_control.h: No such file or directory
  141 | #include "advanced_usb_control.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~

As a note, this still needs instructions written up.


Add documentation on how to use custom CSS

Added in this post:
https://toha-guides.netlify.app/posts/customizing/customize-css/


1.21.3 not working

The mod does not work with 1.21.3:

Added 1.21.3 support

Modrinth: https://modrinth.com/mod/better-ping-display-fabric/version/1.21.3-1.1.1
CurseForge: https://www.curseforge.com/minecraft/mc-mods/better-ping-display-fabric/files/5932632


Rich Text fields not initialising

I've noticed that Rich Text fields are not initialising within Neo. When a block is added with a Rich Text field inside, a JS error is thrown and the Redactor field is not loaded.
Uncaught TypeError: Cannot read property 'opts' of undefined

I believe this is related to the following:
/*<![CDATA[*/
$.extend($.Redactor.opts.langs["en"], {
	"fullscreen": "Fullscreen",
	"insert-page-break": "Insert Page Break",
	"table": "Table",
	"insert-table": "Insert table",
	"insert-row-above": "Insert row above",
	"insert-row-below": "Insert row below",
	"insert-column-left": "Insert column left",
	"insert-column-right": "Insert column right",
	"add-head": "Add head",
	"delete-head": "Delete head",
	"delete-column": "Delete column",
	"delete-row": "Delete row",
	"delete-table": "Delete table",
	"video": "Video",
	"video-html-code": "Video Embed Code or Youtube\/Vimeo Link"
});
new Craft.RichTextInput({
	"id": "fields-blogBody-new0-fields-text",
	"linkOptions": [{
		"optionTitle": "Link to an entry",
		"elementType": "Entry",
		"sources": ["singles", "section:3", "section:2"]
	}],
	"assetSources": [],
	"transforms": [],
	"elementLocale": "en_gb",
	"redactorConfig": {
		"buttons": ["format", "bold", "italic", "lists", "link", "file", "horizontalrule"],
		"plugins": ["source", "fullscreen"]
	},
	"redactorLang": "en"
});
/*]]>*/

It's possible to trick the fields into working, if a Rich Text field is added to the section outside of Neo, for example:

I'm currently using Neo 1.3.3 in a fresh install of Craft 2.6.2903. I've not installed any other plugins and created all the fields from scratch.
If there's anything else I can give you to help, please let me know.
Thanks in advance,
Tom.

Hey Tom, thanks for the detailed report! From what you've provided, it's clear the Redactor JS library is not available at the time of creating the text block. Blocks load their resources on the fly, so it might be an issue in a couple of specific areas. I haven't been able to reproduce it (yet) but I'll look into it hopefully tonight.

Hi Benjamin. No worries at all. If it helps I can zip you my installation with a database dump. It's completely fresh so no trouble.

Hey Tom, I've released 1.3.4 which might address this issue. I've changed the way Neo loads resources for blocks, and I think it'll solve this issue. I can't be sure as I couldn't replicate it, but give the new version a try and let me know how it goes :+1:

Hey @tomwelch any updates on the situation? Cheers, Ben.

Hi Benjamin. Sorry for being slow getting back to you. I think that's fixed it! The rich text fields are now working as expected.
When creating Rich Text fields for testing I tend to leave the Config option as Default. I wonder if this might have been causing the problem as a specific config wasn't chosen. I'm going to go back a version and try it out tonight for my curiosity, I'll let you know.
Look forward to putting Neo to work on a project now!
Cheers.

No worries Tom, glad it's fixed it for you!
I'm honestly not sure what the problem was, but I don't think it was the settings on the field. My best guess was some sort of race condition where the Redactor library was loaded after the field was initialised.


Running 'sqlmesh test' no longer displays dots for successful test cases

I noticed a few versions ago that sqlmesh test stopped logging ... for successes.
Bisecting through the revisions I pinpointed it to the introduction of the method addSuccess for the class ModelTextTestResult in d8ff3fd4c8946ab756609fc38c6d43552aea103e.
I think the original behavior is a very helpful visual feedback of test progression and this seems like a minor oversight.
repro:
λ uv venv
Using Python 3.11.8 interpreter at: /home/giovanni/.local/bin/python
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate

λ . .venv/bin/activate
λ uv pip install sqlmesh==v0.78.2
Resolved 52 packages in 795ms
Downloaded 1 package in 630ms
Installed 52 packages in 54ms
 [...]
λ sqlmesh init duckdb
λ sqlmesh test
.    <-------- dots are printed
----------------------------------------------------------------------
Ran 1 test in 0.020s

OK

λ uv pip install sqlmesh==v0.78.3
Resolved 52 packages in 284ms
Downloaded 1 package in 719ms
Installed 1 package in 19ms
 - sqlmesh==0.78.2
 + sqlmesh==0.78.3

λ rm -f db.db && sqlmesh test
    <-------- dots are missing
----------------------------------------------------------------------
Ran 1 test in 0.020s

OK

for completeness, it still happens on the latest version
λ uv pip install sqlmesh --upgrade
Resolved 53 packages in 82ms
Installed 4 packages in 10ms
 + freezegun==1.5.1
 - sqlglot==22.5.0
 + sqlglot==23.17.0
 - sqlglotrs==0.1.2
 + sqlglotrs==0.2.5
 - sqlmesh==0.78.3
 + sqlmesh==0.97.0

λ rm -f db.db && sqlmesh test

----------------------------------------------------------------------
Ran 1 test in 0.022s

OK

Fixed by #2657 - thanks!


Some components like checkboxes just need to enterEditModeAndSave

On a second thought, a good tutorial on the most common cases could be sufficient and better.


Create histogram of MPC score distribution for DDD cases/controls (Figure 3 in preprint)

Also possibly create table

https://docs.google.com/presentation/d/1U4jjntJ8V34M5bFoW74m528HvcQhzC30YwN2_rikrZQ/edit#slide=id.g131b6a4da92_0_100


Unable to directly set array of subclass when declared as array of super

The following code:
class Foo
end

class Bar < Foo
end

class Test
  @arr : Array(Foo)
  def initialize
    @arr = [Bar.new]
  end
end

t = Test.new

produces the following error:
instance variable '@arr' of Test must be Array(Foo), not Array(Bar)
I tried to find a similar issue or documentation but failed at both. Is this expected / desired behavior? My little bit of searching around seemed to imply that this shouldn't throw an error.
For example, if I change the = [Bar.new] to << Bar.new there's no issue. Like so:
class Foo
end

class Bar < Foo
end

class Test
  @arr = Array(Foo).new
  def initialize
    @arr << Bar.new
  end
end

t = Test.new

This is expected. Array(Foo) and Array(Bar) are different types. They can't be interchangeable because they behave differently. Reading from Array(Bar) is the same as from Array(Foo), it will always return a Foo (because Bar inherits from that). But writing to Array(Bar) it only accepts Bar, not any Foo.
See #3803 for more details and a discussion about alternatives.
Given that this example is about an array literal, it might be considered to apply an automatic cast to Array(Foo) in that case. But I don't think that would be a good idea. Just add of Foo after the literal and you're good to go.

Yeah, that'd be great.
I think it would better fit into the Inheritance section, as it is not specific to arrays. Maybe a reference from the array docs would be fine.

I'll go ahead and close this in favor of the PR over on the crystal-book repo. Thanks again :)


Add shader variable types in reflection

Hello,
I just noticed that in Shader reflections, shader variables do not contain type information (e.g. float, uint, float3, ...).
Looking at the SPIRV-Cross API, this information seems available, but is simply not saved in the Forge structures.
I haven't checked D3D12 yet but I suspect it is also available since D3D11 provides this info.
Is there any chance of it being added?
I could propose a Vulkan & D3D12 (maybe D3D11 too) patch to enable this, if useful.

We are developing a new shader translator for scratch. For this shader translator -I believe- we also change some of the reflection data. Let me ask my colleagues who are working on this.
On a related note, we tried the Google SPIRV reflection library but found it "too buggy" to be used. We will give it another try after it has settled for a while.
I follow up here ...

Thanks for the feedback.
To provide some more context, our current workflow consists in feeding HLSL shaders to DXC to provide SPIR-V bytecode (for Vulkan; DXIL for D3D), and forwarding this bytecode to the Forge's addShaderBinary, then reading reflection information for the created Shader object.
The shader variable type information is needed by some UI components to allow editing the values.
I'll temporarily add the minimum fonctionality we need to our clone, for now.

Hi @TLaviron , can I close this issue?


Add Neofeed

Adds Neofeed per @bep's direction here, and also updates the URL for another of my themes.

Looks like it's still trying to get v1. :/

In https://github.com/gohugoio/hugoThemesSiteBuilder/pull/61#issuecomment-903161953 Bjørn Erik stated:

Replace path in go.mod with github.com/victoriadrake/neofeed-theme/v2 (remember to tag a new version after doing this)

You've replaced the path in go.mod with github.com/victoriadrake/neofeed-theme/v2. However, it seems you did not release a new version after that. The release of neofeed v2.0.3 happend in https://github.com/victoriadrake/neofeed-theme/commit/045943085607904fef030ced66d343d4a59acbea, the path replacement only in the following commit https://github.com/victoriadrake/neofeed-theme/commit/8aba64e52c9ef97e73b3faede39205fa2461639b.
Maybe this detail is enough to make build script fetch the latest version of your theme.

Success! Thank you very much @digitalcraftsman for pointing out the error precisely.

Great to hear that the failing deploy previews could be fixed. Your theme should on www.themes.gohugo.io in a few moments.


Re-ordering at specific position

Hi @brendon, quick question. Going through the docs, I couldn't find a method that would allow me to move an existing list_item to a new position and in effect, re-ordering rest of the items around it. It seems like move_higher or move_lower is the only thing available for that?
Am I missing something? Happy to PR the docs if there is some work around.
Thank you!

Hi @oyeanuj :) You can just set the position of the existing item and upon saving, it will move other items out of the way to make room. Generally you'd need to know the position of the item you'd like to insert your current item in front of. Hope that helps :)

Got it, thanks so much!


Add JIT support for frozen string literal objects

Currently, string literals are stored in images as raw UTF-8. The startup helper code creates objects for each of them on the heap. https://github.com/dotnet/corert/commit/c9c3511716a63bacbf21f38ff2ebb5bed74e7104 added support for serialized string objects which will save allocations on the startup path.  When enabled, the JIT emits XOR edx, edx for the static property Environment.NewLine instead of LEA [str_literal_for_new_line]

Note: apply https://github.com/nattress/corert/commit/47324cbb68269e002f6ed1c6b5da8e5b15bbe087.patch to enable frozen strings

jit_stringliteral_bad_opt.txt

@pgavlin PTAL


Avoid implicit dynamic typing.

When using this library in a project with stronger static type settings, like
strict-inference: true
or
implicit:dynamic: false
the code generated by this library produces analysis errors.
Generated methods like this:
  static m5(howMany) => "${Intl.plural(howMany, one: '...', other: '${howMany} ...')}";

Cause the following analysis error:
argument_type_not_assignable: The argument type 'dynamic' cannot be assigned to the parameter type 'num'.
Also the line:
 final messages = _notInlinedMessages(_notInlinedMessages);

causes:
invalid_assignment: A value of type 'dynamic' cannot be assigned to a variable of type Map<String, dynamic>.
Since we cannot exclude the generated files in the analyzer: (https://github.com/dart-lang/sdk/issues/25551 ), this causes annoying error messages.
Either fixing the generated code to user stronger typing or adding
// ignore_for_file: invalid_assignment
// ignore_for_file: argument_type_not_assignable

Should make these errors go away.

I ran into this issue today that knaeckeKami explained concisely four years ago.  If the "howMany" argument in Intl.plural() is a required 'int' (or 'num' in some versions), then the generated signature should include the explicit type, so "static String m1(count) => "${Intl.plural(count, ...)}" that is generated now, would become "static String m1(int count) => "${Intl.plural(count, ...)}".

I also strongly prefer typed interfaced, and am happy to accept PRs. This would be a breaking change, though.


[WIP] Fix build errors from cherrypicking Notifications fix

Cherrypicking #1906 onto 2.8-release does not work out of the box - I had to layer the basics of #1835 under it.
After fixing all the build errors (including the one that was hiding behind javac), this PR still crashes when uploading on prodRelease. Got to take a deeper look and see if there's anything I missed...

Update: After fixing all the build errors (including the one that was hiding behind javac), this PR still crashes when uploading on prodRelease. Got to take a deeper look and see if there's anything I missed...

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.8-release@718c709). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             2.8-release   #1907   +/-   ##
=============================================
  Coverage               ?   3.74%
=============================================
  Files                  ?     190
  Lines                  ?    9547
  Branches               ?     850
=============================================
  Hits                   ?     358
  Misses                 ?    9163
  Partials               ?      26

Impacted Files
Coverage Δ

...n/java/fr/free/nrw/commons/CommonsApplication.java
31.14% <ø> (ø)

...java/fr/free/nrw/commons/upload/UploadService.java
0% <ø> (ø)

Continue to review full report at Codecov.

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


mo_coeff are the same for RHF and CASCI calculation even when mc.natorb = True

Hello,
I have tested CASCI calculations with different combinations of the mc.canonicalization and mc.natorb options (mc is a CASCI object). I compared mo_coeff from RHF and CASCI calculations. As far as I understand, mo_coeff of CASCI calculations for core, active, and virtual orbitals can be changed depending on the options. However, when mc.natorb = True and mc.canonicalization = False, mo_coeff are the same for RHF and CASCI calculations. This seemed weird since I was expecting that mo_coeff for the active orbitals should be changed. Did I miss or misunderstand something?
I used PySCF ver. 1.7.0, and the script I used is as below:
import numpy as np
import pyscf
from pyscf import scf, gto, mcscf, mrpt
Test for a simple N2 molecule
mol = gto.M(
atom = 'N 0 0 0; N 0 0 15.0',
spin = 0)
mol.basis = 'ccpvdz'
Run RHF calculation
myhf = scf.RHF(mol)
myhf.kernel()
Run CASCI calculation.
num_act_e = 4
num_act_orb = 4
mc = mcscf.CASCI(myhf, num_act_orb, num_act_e)
For easy comparison between HF and CASCI orbitals, I chosen active orbitals above core orbitals.
num_core_orb = mc.ncore
cas_list = np.linspace(num_core_orb, num_core_orb+num_act_orb-1, num_act_orb, dtype=int)
mo = mc.sort_mo(cas_list, base=0)
mc.canonicalization = False
mc.natorb = True
mc.kernel(mo);
differences of the mo_coeff from the HF and CASCI are checked
core_diff = np.sum(np.abs(myhf.mo_coeff[:, :num_core_orb] - mc.mo_coeff[:, :num_core_orb]))
act_diff = np.sum(np.abs(myhf.mo_coeff[:, num_core_orb:num_core_orb+num_act_orb] - mc.mo_coeff[:, num_core_orb:num_core_orb+num_act_orb]))
virt_diff = np.sum(np.abs(myhf.mo_coeff[:, num_core_orb+num_act_orb:] - mc.mo_coeff[:, num_core_orb+num_act_orb:]))
print(f"core orb diff = {core_diff}")
print(f"active orb diff = {act_diff}")
print(f"virtual orb diff = {virt_diff}")

Currently mc.natorb option is only used if mc.canonicalization = True. I also find it a bit confusing.
You should get what you want if you use mc.cas_natorb_() to set mc.mo_coeff to natural orbitals.
You also can get them with nat_mo_coeff, nat_ci, nat_occ = mc.cas_natorb() or
nat_mo_coeff, nat_ci, nat_occ = mcscf.addons.cas_natorb(mc) functipns.

Thank you, bogdanoff. I can get what I want as you suggested.

Currently mc.natorb option is only used if mc.canonicalization = True. I also find it a bit confusing.
You should get what you want if you use mc.cas_natorb_() to set mc.mo_coeff to natural orbitals.
You also can get them with nat_mo_coeff, nat_ci, nat_occ = mc.cas_natorb() or
nat_mo_coeff, nat_ci, nat_occ = mcscf.addons.cas_natorb(mc) functipns.

For some historical reason, the three attributes natorb, sorting_mo_energy, and canonicalization were introduced to transform the orbitals in different scenarios. I was pretty struggling with the treatment of them.
Generally, without enabling canonicalization, I don't want the orbitals to be changed unexpectedly.

@sunqm,
I think in the most codes inactive and virtual orbitals are always canonicalized, and the options of canonical or natural orbitals exist for active space only.
I appreciate the importance of keeping orbitals unchanged for DMRG solver.
But initially I was expecting that natorb = True would give me the natural orbitals in active space.
Now it doesn't matter anymore :) .


update network setting in manifest, but instance network dose not changed during deploy

First I deployed with a static network,
Then I update a network from static to dynamic in the manifest and deploy it again,
The cli display differences of two manifests, but the network which I changed have not updated
Seems the 'hack' below affect the comparison of networks
https://github.com/cloudfoundry/bosh/blob/master/bosh-director/lib/bosh/director/deployment_plan/instance.rb#L212
https://github.com/cloudfoundry/bosh/blob/master/bosh-director/lib/bosh/director/deployment_plan/instance.rb#L273

can paste networks section from before and after? also the output of bosh deploy.

closing, no activity. feel free to reopen.


Tracking issue for moving to FVM-4.4

Summary

Completion Criteria

[x] Make sure all dependencies have been updated:

[x] frc46_token: https://github.com/filecoin-project/actors-utils/pull/238

[ ] Test Forest against older calibnet snapshots to guard against regressions.

Additional Links & Resources

Note that we shouldn't upgrade until we know more regarding the performance regression when bumping to FVM 4.4 (or 2.7 to 2.9).
See FVM tracking issue https://github.com/filecoin-project/ref-fvm/issues/2058

We already moved to 4.5.2


Feature Request: Themes with arbitrary color names

This is probably a big effort, so I apologize =)
It would be awesome if the highlighter supported customizable themes that I can turn off and on individually for projects.
For example we are using Vuetify in our projects that includes classes for certain Material Design colors. It would be awesome if I could add these as a theme and get them highlighted in my code.

I'm afraid i dont understand the request

Currently the colors are hardcoded to the color name. I'd like to be able to change that and add my own color names.
To make it flexible it would be awesome if such a set of color name to color mappings could be saved as a theme/schema and be toggled per project, similar to how support for JavaScript libraries can be toggled in Languages & Frameworks -> JavaScript -> Libraries
An individual theme setup could look similar to this, although a simple mapping to a color could suffice.

I see. Definitely interesting. I don't know when I'll be able to work on it since I'm pretty busy at work. But yes, it can be useful/
Alternatively you can try to do it as well, I don't think it should be that hard :)

I'll take a look, could be some time though as I would have to do it at home in my spare time and my home PC is currently a mess in dire need of an upgrade XD


Lyrics not syncing

🧐 Have you fully read the README and viewed similar issues?

[X] I have read the README
[X] I have read the FAQ
[X] I have checked previous issues, open and closed
[X] I have completed all troubleshooting steps and the issue is not present on stock but returns after re-applying SpotX-Bash

Сountry of your account
India
What is your Spotify Plan?
Free
Do you have Spicetify installed?
Yes
ℹ Computer information
- Spotify version: Spotify for macOS (Apple Silicon) <IP_ADDRESS>1.ge66eb7bc
- OS: Sonoma 14.5
- Shell: zsh

📝 Description
Previously I was able to see lyrics in Spotify, but it's gone and shows the "explore premium" option.
Very saddening
🖥 Terminal Input/Output
Yes, that ran normally.
📸 Screenshots

Did you solve it? Im facing same problem

As of July 30, 2024 Spotify has started to return full/synced lyrics for free tier members.
Since we last checked, lyrics should be available to most users running desktop client version v<IP_ADDRESS>5 or higher. It's likely this will expand to some older version numbers in the future but currently  too soon to say. Lyrics availability seems to be rolling out to accounts and is not based on region. If you do not yet have lyrics on v<IP_ADDRESS>5 or higher, hopefully you will get them back soon.


Verify dApp Screen

Jira ticket: ABW-3398
Description
This PR updates the POC to use an (almost, missing copies) final version of the Verify dApp view. It is included as part of Dapp Interaction.

Obsolete, will be handled with different implemention in https://github.com/radixdlt/babylon-wallet-ios/pull/1157


fix lua json require statements

Fixes the bug noticed in https://github.com/finale-lua/lua-scripts/issues/343.
Though let's leave that issue open for now since the long-term solution is to update the bundler to support that syntax for require.
Feel free to merge when ready.

sorry I am not a developer...
what should I do? :)
thanks

As soon as this Pull Request is merged, you should be able to get the new version and it should work.

Yes, none of the subfiles have any require statements. Merging.


Add gabrielpoca/zazu-caniuse plugin

The caniuse plugin allows searching and opening features in caniuse.com.

Love it, thanks!


Delete docker image from docker hub after integration test

curl -X DELETE -u "$user:$pass" https://index.docker.io/v1/repositories/$namespace/$reponame/
Ref: https://stackoverflow.com/questions/44209644/how-do-i-delete-a-docker-image-from-docker-hub-via-command-line/44218747#44218747

@ashiquzzaman33 is this still not done?

https://github.com/appscode/libbuild/blob/master/docker.py#L78
this is what you need to call to delete tags.


Doc: Added Typescript/ESM Sample

I found it somewhat confusing to find Typescript usage since there seems to be no default export. So I added a sample.

This library currently does not provide an official ESM entry point, and thus it can be confusing to show ESM code examples in README. That said, I must admit that the defaultName = require("...")-style import is now old-fashioned and has to be updated to something close to the ESM-style import. I have updated the examples in READMS using ESM-ish CommonJS notation. Please check it out. Thank you.


compose: Allow the user to direct message bots despite of policy.

After the changes in https://github.com/zulip/zulip/pull/25572, users were no longer able to start a direct
message with bots if the organization disabled direct messages. However,
we should allow direct messages to bots regardless of the policy because
it's a useful interface for users to interact with various classes of
bots.
user_ids_string_to_ids_array was also modified to prevent cases where
the split function returned an array of [0] rather than [] when dealing
with a empty id string of "".
Fixes: #21896.

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@Joelute thanks for working on this; the changes seem correct but I'm not sure why you have the commits tagged as closing #21896; are the other pieces of that issue completed through other PRs? It'd be very helpful to explain that context in detail, as I just spent a few minutes trying to figure that out and failed.

So currently #25572 has already resolved a couple goals that we wanted to achieve in #21896. Which are the following:

[x] Show the banner immediately whenever DM is disabled.
[x] Disable the "Send" button.
[x] Show a tooltip on the "Send" button.

However we want to show the banner immediately whenever a DM addressee is selected that the user is not allowed to send a DM to. Which means we want to make sure that we are still able to send DM to bots while preventing users from DM other users. We also change the banner text to: "You are not allowed to send direct messages in this organization." to keep the text aligned with the stream version of the banner.

[x] Change the banner text to: "You are not allowed to send direct messages in this organization."
[x] Show the banner immediately whenever a DM addressee is selected that the user is not allowed to send a DM to.

I'll also update the PR description to clarify this. And CZO discussion on this can be found here
Please let me know if there is anything else I should clarify about @timabbott.

Thanks, that's very helpful, merged, thanks @Joelute!


Update badges

skip-ci

@vijayank88 FYI if you add "skip-ci" to the commit message, CI will not run. Useful if you are making changes to docs.


fix .fields() overwriting extra instead of appending

In the original .fields() implementation, extra is assigned to the input d while it should be an extending operation.
This should have been caught by the tests but somehow angular.extend() is not used correctly in the tests.
    // incorrect
    expectMessage = angular.extend(message, extra)
    // this extends message, so extra is included in the message

    // correct
    expectMessage = angular.extend({}, message, extra)
    // this does not change message

reference: angular.extend

Coverage remained the same at 85.227% when pulling 3a84c03cc38d1a91b3d86faa93f3dab063e70ad8 on Charlie-Hua:develop into c33555323e1e95656308760f50ff35c759cd5c84 on ajbrown:develop.

@Charlie-Hua Thanks for your contribution!


Paper PDF too large

Hi, I'm be interested in your work. But why your paper pdf so large? Its too hard to download = =
https://pdf.cdn.readpaper.com/arxivPdf/2111.08918_v4.pdf

Hi @Yuxiang1995,
That version is my mistake (latex package issue for cvpr camera-ready version - \usepackage[accsupp]{axessibility})
Please use the following link.
IPL server - https://ipl.dgist.ac.kr/LTE_cvpr.pdf
cvpr proceedings - https://openaccess.thecvf.com/content/CVPR2022/papers/Lee_Local_Texture_Estimator_for_Implicit_Representation_Function_CVPR_2022_paper.pdf


Intermittent http.client.RemoteDisconnected error

I'm getting intermittent http.client.RemoteDisconnected errors when performing queries to Splunk.
After successfully creating a Splunk Service instance, i create a normal search job:
def splunk_search(service, search_query, kwargs_search):
    job_normalsearch = service.jobs.create(search_query, **kwargs_search)
    print("- Starting Splunk search")

    while True:
        while not job_normalsearch.is_ready():
            pass
        stats = {"isDone": job_normalsearch["isDone"],
                "doneProgress": float(job_normalsearch["doneProgress"])*100,
                "scanCount": int(job_normalsearch["scanCount"]),
                "eventCount": int(job_normalsearch["eventCount"]),
                "resultCount": int(job_normalsearch["resultCount"])}

        status = ("\r%(doneProgress)03.1f%%   %(scanCount)d scanned   "
                "%(eventCount)d matched   %(resultCount)d results") % stats

        sys.stdout.write(status)
        sys.stdout.flush()
        if stats["isDone"] == "1":
            sys.stdout.write("\n- Done!\n")
            break
        sleep(0.5)

    query_result = job_normalsearch.results(count=0, output_mode='json')
    job_normalsearch.cancel()

    return query_result

This function is sometimes successful, but for other runs I'm receiving the following error:
File "test.py", line 19, in splunk_search
    while not job_normalsearch.is_ready():
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\client.py", line 2862, in is_ready
    response = self.get()
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\client.py", line 1117, in get
    return super(Entity, self).get(path_segment, owner=owner, app=app, sharing=sharing, **query)
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\client.py", line 862, in get
    return self.service.get(path,
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\binding.py", line 289, in wrapper
    return request_fun(self, *args, **kwargs)
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\binding.py", line 73, in new_f
    val = f(*args, **kwargs)
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\binding.py", line 699, in get
    response = self.http.get(path, all_headers, **query)
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\binding.py", line 1232, in get
    return self.request(url, { 'method': "GET", 'headers': headers })
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\binding.py", line 1294, in request
    response = self.handler(url, message, **kwargs)
  File "C:\Users\user\.conda\envs\testenv\lib\site-packages\splunklib\binding.py", line 1453, in request
    response = connection.getresponse()
  File "C:\Users\user\.conda\envs\testenv\lib\http\client.py", line 1374, in getresponse
    response.begin()
  File "C:\Users\user\.conda\envs\testenv\lib\http\client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "C:\Users\user\.conda\envs\testenv\lib\http\client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

I have also tried using one_shot searches and also getting the same error intermittently in the following line:
service.jobs.oneshot(search_query, **kwargs_search)
Do you know what could be causing this problem?

Looks like I have solved the problem. Changing the token from parameter from "splunkToken" to "token" when creating the service has solved the problem.


New excel filtering display issue (on demo)

I did try this new feature on demo but noticed a problem of display on list; it hides top items.
How is it possible to fix this ?

Improved display of picker, will be in next version.


Disable WatchList feature gate

Disable WatchList feature gate(enabled by default 1.32+) until k8s-dqlite can properly support it.

LGTM +1 thank you @berkayoz


test code for pose

Thank you for your previous help!
I would like to ask if you have the test code for pose? I need the camera pose path for a video , but I can't find this part of the code.

Ok. Thanks for your attention！


AF-346 handle when location key is not supplied at all, fix some rubocop warnings

:v:
/cc @zendesk/vegemite @zendesk/wombat
Description
We have code elsewhere that assumes locations['zendesk'].keys always returns a valid array of locations. However if the locations key was missing, that code snippet returns [nil].
References
https://zendesk.atlassian.net/browse/AF-346
Risks

[low] errors creating / updating no-location apps (eg requirements only)

👍  LGTM

👍


Add FT IMU in the ergoCubGazeboV1* models

Description of the Task
The robot's Force/Torque (FT) sensor is equipped with an Inertial Measurement Unit (IMU) capable of streaming orientation data. Integrating this feature into simulation would be beneficial.
Previously, @G-Cervettini initiated a Pull Request (PR) to integrate this functionality, https://github.com/icub-tech-iit/ergocub-software/pull/145. However, it involved manual modifications to the urdf file.
Definition of Completion
Successfully implement the IMU streaming within the Gazebo model using multipleanalogsensorserver.

@martinaxgloria also will benefit of this change

I'm going to open a PR for the feet imu (added with xml blob)

I'm going to open a PR for the feet imu (added with xml blob)

Why not as sensors in the yaml? Using the same CSYS of the ft gives problems?

I've never did it. Can you point me some line of the code I can use as inspiration?

Probably something similar to
https://github.com/icub-tech-iit/ergocub-software/blob/master/urdf%2Fcreo2urdf%2Fdata%2Fergocub1_0%2FERGOCUB_all_options.yaml#L808

At the end in :

https://github.com/icub-tech-iit/ergocub-software/pull/217

We went for adding as xml blobs because we spotted a bug in creo2urdf:

https://github.com/icub-tech-iit/creo2urdf/issues/77

The generated imu sensors had wrong poses, in simmecanics_to_urdf seems not to be a problem exporting an ft and imu that refers to the same csys:

https://github.com/robotology/icub-models/commit/e9d33b61f36955a8da238c2c06389816c3c1ec85


About the pre-trained weights for EUSR

Thanks for your excellent work!
When I use the EUSR codes with your provided pre-trained model eusr_x2.pb, eusr_x4.pb, eusr_x8.pb, it leads to the following error :
Data loss: not an sstable (bad magic number): perhaps your file is in a
different file format and you need to use a different restore operator?

Hi Bowen,
Unfortunately, the pb files are not compatible with the checkpoint files. The model files provided in this repository are in the "Frozen Graph" format, where the model parameters are converted to the constant values (i.e., not trainable).

Thanks for your prompt reply !  I have successfully used your test zoo. This is a great work that brings much convenience to us. Thank you !


Add show commands for identifier and VCEK URL.

Signed-off-by: John Plevyak<EMAIL_ADDRESS>

Thanks for the contribution @jplevyak. Could you squash the commits into one?

Done

@jplevyak Thanks for the contribution. I'm fine with this overall and will merge. Before I do, could you also edit the command's description in docs/sevctl.1.adoc to show the new options for the show command ?

Added documentation PTAL.


Update solang-parser to v0.3.3

solang-parser v0.3.3 has been released, which fixes some minor solidity parsing issues.

ci failures unrelated: https://github.com/gakonst/ethers-rs/pull/2650


Face rotation/angle detection

It would be nice if there would be a way to detect the face's direction/rotation. You can calculate direction from both eyes.

Maybe just getting eyes, nose and mouth position would be enough

You can get eye position from Face Recognition.

Hi @YanDevDe .
I need the same solution. I have been trying to find the solution for 2 weeks.
Could you please tell me what is that calculation to find if face is looking forward / little up  or not ?

Hello @gauravdhra
It was 2 years ago, so I might have forgotten how to solve it. Sorry!
But I'll try my best here:
I assume you can get position by using face landmark.
With those position you can either calculate...

the face rotations (by using both eye positions, this trick should works)
tilting face (up/down) by calculating the distance between both eyes with mouth/nose position. The shorter distance it is, the more you're looking down/up. To calculate distance between two points, you can check it out here

I'm sorry if I was not a help!
Regards,
Yan

Also you may want to checkout at face-api.js since this face-recognition.js is obsolete.

Hey @YanDevDe  ,after two years you still have solution wow !!!
I have all the position let me find the value of c :)
eye_right  [466.1014111340046,<PHONE_NUMBER>1182842]
eye_left  [446.8404211352269,<PHONE_NUMBER>4114222]
nose  [455.0013075934516,<PHONE_NUMBER>745976]
mouth [456.26030165702105,<PHONE_NUMBER>5198632]

@gauravdhra to be fair, I forgot that I was using this library lol. But this was a logical approach to detect the rotation/tilt of the faces.
Yeah those values are more than enough! Now calculating is the only part left! =)
Glad that I could help you!
Regards, Yan

@YanDevDe
Could you clarify this The shorter distance it is, the more you're looking down/up .
how to know if distance is shorter or not ? I am confused :p
shorter distance > looking down

the distance between both eyes shoul be equal to the distance between any eye and mouth .
it they are not equa or the smaller one  then its looking  down ..
am I right

You can either calculate the center point (lets call cp) between both eyes. (Or if you want to be lazy, just use left or right eye position, but it would be better to get center point between both of the eyes)
For mouth position, let's call mp.
So that means in order to calculate the distance between eyes and mouth position, you need to do that:
const distance_x = mp.x - cp.x;
const distance_y = mp.y - cp.y;
const distance = Math.sqrt(distance_x * distance_x + distance_y + distance_y);

The distance is now the value which you can guess if the face is tilting or not. The smaller distance it is, the more you're looking down or looking up (by up, I mean like up and not front)
The distance value may be bit different depending on face's different position / distances. So using simple equal operator may be not enough. But that's up to you to solve it. 😅

@YanDevDe  I understand the distance will be calculated according to the close faces and the faces sitting behind .
that is now a difficult part ...oops

You can calculate the eyes distance. As far I've read, almost every face has same eyes distance (left and right eyes). So you can use eye distance to tell on which distance your face is (from camera perspective). 🤷 But don't see this as confirmation, maybe I'm wrong as well.

Hi @YanDevDe  that was helpful for me .
Now I need to find if face is not turned to left or right .I need straight looking faces .

@YanDevDe Please help me out
See some face are looking down but it still detecting it .So for the improvement little bit I want to find bottom looking faces .

Hi @YanDevDe @gauravdhra,  Please help me
I get position of mouth, left eye and right eye by blow code
const mouth = landmarks.getMouth();       const leftEye = landmarks.getLeftEye();       const rightEye = landmarks.getRightEye();       console.log("Left eye position ===>" + JSON.stringify(leftEye));       console.log("Right eye position ===>" + JSON.stringify(mouth));       console.log("Mouth position ===>" + JSON.stringify(mouth));
Result:
// mouth position [{"_x":203.203125,"_y":399.6875},{"_x":217.1484375,"_y":382.5},{"_x":230.7421875,"_y":383.4375},{"_x":245.625,"_y":376.5625},{"_x":254.296875,"_y":370.3125},{"_x":253.828125,"_y":365},{"_x":275.859375,"_y":371.875},{"_x":275.625,"_y":360.625},{"_x":283.125,"_y":396.875},{"_x":267.1874713897705,"_y":420.00003814697266},{"_x":258.28125,"_y":424.6875},{"_x":238.2421875,"_y":415.3125},{"_x":202.14845180511475,"_y":399.6875},{"_x":236.015625,"_y":381.5625},{"_x":246.5625,"_y":383.4375},{"_x":258.75,"_y":371.5625},{"_x":264.140625,"_y":366.5625},{"_x":269.296875,"_y":390.3125},{"_x":259.21875,"_y":405.9375},{"_x":252.1875,"_y":406.875}] // leftEye position [{"_x":98.14453125,"_y":344.0625},{"_x":106.99220180511475,"_y":331.875},{"_x":126.4453125,"_y":318.28125},{"_x":156.09375,"_y":314.0625},{"_x":140.390625,"_y":329.375},{"_x":112.32422590255737,"_y":333.75}] // rightEye position [{"_x":220.3125,"_y":286.7187690734863},{"_x":243.2812786102295,"_y":277.03125},{"_x":247.9687786102295,"_y":283.59375},{"_x":246.796875,"_y":269.0625},{"_x":243.2812786102295,"_y":292.1875},{"_x":243.2812786102295,"_y":286.25}]
How to calculate distance from left/right eye to mouth?
Thanks!

Hi @YanDevDe @gauravdhra,  Please help me
I get position of mouth, left eye and right eye by blow code
const mouth = landmarks.getMouth();       const leftEye = landmarks.getLeftEye();       const rightEye = landmarks.getRightEye();       console.log("Left eye position ===>" + JSON.stringify(leftEye));       console.log("Right eye position ===>" + JSON.stringify(mouth));       console.log("Mouth position ===>" + JSON.stringify(mouth));
Result:
// mouth position [{"_x":203.203125,"_y":399.6875},{"_x":217.1484375,"_y":382.5},{"_x":230.7421875,"_y":383.4375},{"_x":245.625,"_y":376.5625},{"_x":254.296875,"_y":370.3125},{"_x":253.828125,"_y":365},{"_x":275.859375,"_y":371.875},{"_x":275.625,"_y":360.625},{"_x":283.125,"_y":396.875},{"_x":267.1874713897705,"_y":420.00003814697266},{"_x":258.28125,"_y":424.6875},{"_x":238.2421875,"_y":415.3125},{"_x":202.14845180511475,"_y":399.6875},{"_x":236.015625,"_y":381.5625},{"_x":246.5625,"_y":383.4375},{"_x":258.75,"_y":371.5625},{"_x":264.140625,"_y":366.5625},{"_x":269.296875,"_y":390.3125},{"_x":259.21875,"_y":405.9375},{"_x":252.1875,"_y":406.875}] // leftEye position [{"_x":98.14453125,"_y":344.0625},{"_x":106.99220180511475,"_y":331.875},{"_x":126.4453125,"_y":318.28125},{"_x":156.09375,"_y":314.0625},{"_x":140.390625,"_y":329.375},{"_x":112.32422590255737,"_y":333.75}] // rightEye position [{"_x":220.3125,"_y":286.7187690734863},{"_x":243.2812786102295,"_y":277.03125},{"_x":247.9687786102295,"_y":283.59375},{"_x":246.796875,"_y":269.0625},{"_x":243.2812786102295,"_y":292.1875},{"_x":243.2812786102295,"_y":286.25}]
How to calculate distance from left/right eye to mouth?
Thanks!

Hi,
   Did you have the detailed requirements ?such as pdf. Could you send another email.
------------------ 原始邮件 ------------------
发件人:                                                                                "justadudewhohacks/face-recognition.js"<EMAIL_ADDRESS>发送时间: 2021年1月18日(星期一) 下午5:49
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [justadudewhohacks/face-recognition.js] Face rotation/angle detection (#95)
Hi @YanDevDe @gauravdhra,  Please help me
I get position of mouth, left eye and right eye by blow code
const mouth = landmarks.getMouth(); const leftEye = landmarks.getLeftEye(); const rightEye = landmarks.getRightEye(); console.log("Left eye position ===>" + JSON.stringify(leftEye)); console.log("Right eye position ===>" + JSON.stringify(mouth)); console.log("Mouth position ===>" + JSON.stringify(mouth));
Result:
// mouth position [{"_x":203.203125,"_y":399.6875},{"_x":217.1484375,"_y":382.5},{"_x":230.7421875,"_y":383.4375},{"_x":245.625,"_y":376.5625},{"_x":254.296875,"_y":370.3125},{"_x":253.828125,"_y":365},{"_x":275.859375,"_y":371.875},{"_x":275.625,"_y":360.625},{"_x":283.125,"_y":396.875},{"_x":267.1874713897705,"_y":420.00003814697266},{"_x":258.28125,"_y":424.6875},{"_x":238.2421875,"_y":415.3125},{"_x":202.14845180511475,"_y":399.6875},{"_x":236.015625,"_y":381.5625},{"_x":246.5625,"_y":383.4375},{"_x":258.75,"_y":371.5625},{"_x":264.140625,"_y":366.5625},{"_x":269.296875,"_y":390.3125},{"_x":259.21875,"_y":405.9375},{"_x":252.1875,"_y":406.875}] // leftEye position [{"_x":98.14453125,"_y":344.0625},{"_x":106.99220180511475,"_y":331.875},{"_x":126.4453125,"_y":318.28125},{"_x":156.09375,"_y":314.0625},{"_x":140.390625,"_y":329.375},{"_x":112.32422590255737,"_y":333.75}] // rightEye position [{"_x":220.3125,"_y":286.7187690734863},{"_x":243.2812786102295,"_y":277.03125},{"_x":247.9687786102295,"_y":283.59375},{"_x":246.796875,"_y":269.0625},{"_x":243.2812786102295,"_y":292.1875},{"_x":243.2812786102295,"_y":286.25}]
How to calculate distance from left/right eye to mouth?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
   Did you have the detailed requirements ?such as pdf. Could you send another email.
------------------ 原始邮件 ------------------
发件人:                                                                                "justadudewhohacks/face-recognition.js"<EMAIL_ADDRESS>发送时间: 2021年1月18日(星期一) 下午5:49
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [justadudewhohacks/face-recognition.js] Face rotation/angle detection (#95)
Hi @YanDevDe @gauravdhra,  Please help me
I get position of mouth, left eye and right eye by blow code
const mouth = landmarks.getMouth(); const leftEye = landmarks.getLeftEye(); const rightEye = landmarks.getRightEye(); console.log("Left eye position ===>" + JSON.stringify(leftEye)); console.log("Right eye position ===>" + JSON.stringify(mouth)); console.log("Mouth position ===>" + JSON.stringify(mouth));
Result:
// mouth position [{"_x":203.203125,"_y":399.6875},{"_x":217.1484375,"_y":382.5},{"_x":230.7421875,"_y":383.4375},{"_x":245.625,"_y":376.5625},{"_x":254.296875,"_y":370.3125},{"_x":253.828125,"_y":365},{"_x":275.859375,"_y":371.875},{"_x":275.625,"_y":360.625},{"_x":283.125,"_y":396.875},{"_x":267.1874713897705,"_y":420.00003814697266},{"_x":258.28125,"_y":424.6875},{"_x":238.2421875,"_y":415.3125},{"_x":202.14845180511475,"_y":399.6875},{"_x":236.015625,"_y":381.5625},{"_x":246.5625,"_y":383.4375},{"_x":258.75,"_y":371.5625},{"_x":264.140625,"_y":366.5625},{"_x":269.296875,"_y":390.3125},{"_x":259.21875,"_y":405.9375},{"_x":252.1875,"_y":406.875}] // leftEye position [{"_x":98.14453125,"_y":344.0625},{"_x":106.99220180511475,"_y":331.875},{"_x":126.4453125,"_y":318.28125},{"_x":156.09375,"_y":314.0625},{"_x":140.390625,"_y":329.375},{"_x":112.32422590255737,"_y":333.75}] // rightEye position [{"_x":220.3125,"_y":286.7187690734863},{"_x":243.2812786102295,"_y":277.03125},{"_x":247.9687786102295,"_y":283.59375},{"_x":246.796875,"_y":269.0625},{"_x":243.2812786102295,"_y":292.1875},{"_x":243.2812786102295,"_y":286.25}]
How to calculate distance from left/right eye to mouth?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

add my weichat<PHONE_NUMBER>0
------------------ 原始邮件 ------------------
发件人:                                                                                "justadudewhohacks/face-recognition.js"<EMAIL_ADDRESS>发送时间: 2021年1月18日(星期一) 下午5:49
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [justadudewhohacks/face-recognition.js] Face rotation/angle detection (#95)
Hi @YanDevDe @gauravdhra,  Please help me
I get position of mouth, left eye and right eye by blow code
const mouth = landmarks.getMouth(); const leftEye = landmarks.getLeftEye(); const rightEye = landmarks.getRightEye(); console.log("Left eye position ===>" + JSON.stringify(leftEye)); console.log("Right eye position ===>" + JSON.stringify(mouth)); console.log("Mouth position ===>" + JSON.stringify(mouth));
Result:
// mouth position [{"_x":203.203125,"_y":399.6875},{"_x":217.1484375,"_y":382.5},{"_x":230.7421875,"_y":383.4375},{"_x":245.625,"_y":376.5625},{"_x":254.296875,"_y":370.3125},{"_x":253.828125,"_y":365},{"_x":275.859375,"_y":371.875},{"_x":275.625,"_y":360.625},{"_x":283.125,"_y":396.875},{"_x":267.1874713897705,"_y":420.00003814697266},{"_x":258.28125,"_y":424.6875},{"_x":238.2421875,"_y":415.3125},{"_x":202.14845180511475,"_y":399.6875},{"_x":236.015625,"_y":381.5625},{"_x":246.5625,"_y":383.4375},{"_x":258.75,"_y":371.5625},{"_x":264.140625,"_y":366.5625},{"_x":269.296875,"_y":390.3125},{"_x":259.21875,"_y":405.9375},{"_x":252.1875,"_y":406.875}] // leftEye position [{"_x":98.14453125,"_y":344.0625},{"_x":106.99220180511475,"_y":331.875},{"_x":126.4453125,"_y":318.28125},{"_x":156.09375,"_y":314.0625},{"_x":140.390625,"_y":329.375},{"_x":112.32422590255737,"_y":333.75}] // rightEye position [{"_x":220.3125,"_y":286.7187690734863},{"_x":243.2812786102295,"_y":277.03125},{"_x":247.9687786102295,"_y":283.59375},{"_x":246.796875,"_y":269.0625},{"_x":243.2812786102295,"_y":292.1875},{"_x":243.2812786102295,"_y":286.25}]
How to calculate distance from left/right eye to mouth?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

add my weichat<PHONE_NUMBER>0
------------------ 原始邮件 ------------------
发件人:                                                                                "justadudewhohacks/face-recognition.js"<EMAIL_ADDRESS>发送时间: 2021年1月18日(星期一) 下午5:49
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [justadudewhohacks/face-recognition.js] Face rotation/angle detection (#95)
Hi @YanDevDe @gauravdhra,  Please help me
I get position of mouth, left eye and right eye by blow code
const mouth = landmarks.getMouth(); const leftEye = landmarks.getLeftEye(); const rightEye = landmarks.getRightEye(); console.log("Left eye position ===>" + JSON.stringify(leftEye)); console.log("Right eye position ===>" + JSON.stringify(mouth)); console.log("Mouth position ===>" + JSON.stringify(mouth));
Result:
// mouth position [{"_x":203.203125,"_y":399.6875},{"_x":217.1484375,"_y":382.5},{"_x":230.7421875,"_y":383.4375},{"_x":245.625,"_y":376.5625},{"_x":254.296875,"_y":370.3125},{"_x":253.828125,"_y":365},{"_x":275.859375,"_y":371.875},{"_x":275.625,"_y":360.625},{"_x":283.125,"_y":396.875},{"_x":267.1874713897705,"_y":420.00003814697266},{"_x":258.28125,"_y":424.6875},{"_x":238.2421875,"_y":415.3125},{"_x":202.14845180511475,"_y":399.6875},{"_x":236.015625,"_y":381.5625},{"_x":246.5625,"_y":383.4375},{"_x":258.75,"_y":371.5625},{"_x":264.140625,"_y":366.5625},{"_x":269.296875,"_y":390.3125},{"_x":259.21875,"_y":405.9375},{"_x":252.1875,"_y":406.875}] // leftEye position [{"_x":98.14453125,"_y":344.0625},{"_x":106.99220180511475,"_y":331.875},{"_x":126.4453125,"_y":318.28125},{"_x":156.09375,"_y":314.0625},{"_x":140.390625,"_y":329.375},{"_x":112.32422590255737,"_y":333.75}] // rightEye position [{"_x":220.3125,"_y":286.7187690734863},{"_x":243.2812786102295,"_y":277.03125},{"_x":247.9687786102295,"_y":283.59375},{"_x":246.796875,"_y":269.0625},{"_x":243.2812786102295,"_y":292.1875},{"_x":243.2812786102295,"_y":286.25}]
How to calculate distance from left/right eye to mouth?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@fredzhu008 I need to find if face is turned to left or right or straight looking faces.
Can you help me?

@fredzhu008 I need to find if face is turned to left or right or straight looking faces.
Can you help me?

Could you send the original project description or other indormation,or example for that draw by handwriting?
I cannot get the goal for this project. It's you lab practice or commercial project?
------------------ 原始邮件 ------------------
发件人:                                                                                "justadudewhohacks/face-recognition.js"<EMAIL_ADDRESS>发送时间: 2021年1月21日(星期四) 上午10:17
收件人<EMAIL_ADDRESS>抄送: "Fred"<401450070<EMAIL_ADDRESS>主题: Re: [justadudewhohacks/face-recognition.js] Face rotation/angle detection (#95)
@fredzhu008 I need to find if face is turned to left or right or straight looking faces.
Can you help me?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Could you send the original project description or other indormation,or example for that draw by handwriting?
I cannot get the goal for this project. It's you lab practice or commercial project?
------------------ 原始邮件 ------------------
发件人:                                                                                "justadudewhohacks/face-recognition.js"<EMAIL_ADDRESS>发送时间: 2021年1月21日(星期四) 上午10:17
收件人<EMAIL_ADDRESS>抄送: "Fred"<401450070<EMAIL_ADDRESS>主题: Re: [justadudewhohacks/face-recognition.js] Face rotation/angle detection (#95)
@fredzhu008 I need to find if face is turned to left or right or straight looking faces.
Can you help me?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Migration should be optional

PHP & Platform
8.1.3
Laravel verion
9.5.1
Have you done this?

[X] I am willing to share my stack trace and logs
[X] I can reproduce this bug in isolation (vanilla Laravel install)
[ ] I can suggest a workaround as a Pull Request

Expectation
The migration included in this package should be optional.
Description
I'm migrating from the old Laraguard package. I already have a database table called two_factor_authentications, from a migration that has a slightly different name than the migration included with this package.
This causes a Table 'two_factor_authentications' already exists error when running php artisan migrate, where the migration included in this package is called because it is not listed in my migrations table.
As far as I can see I cannot cancel this migration.
Reproduction
Schema::create('two_factor_authentications', function (Blueprint $table) {
            $table->bigIncrements('id');
});

then run php artisan migrate

Stack trace & logs
No response
Are you a Patreon supporter?
No, don't give priority to this

The migration could check if the table already exists, but when using “down”, it would be destroyed.
I could make them optional, but it would be a breaking change. I’ll put this on 2.x.
Italo Baeza C.

El 24-03-2022, a la(s) 07:29, Grldk @.***> escribió:

PHP & Platform
8.1.3
Laravel verion
9.5.1
Have you done this?
I am willing to share my stack trace and logs
I can reproduce this bug in isolation (vanilla Laravel install)
I can suggest a workaround as a Pull Request
Expectation
The migration included in this package should be optional.
Description
I'm migrating from the old Laraguard package. I already have a database table called two_factor_authentications, from a migration that has a slightly different name than the migration included with this package.
This causes a Table 'two_factor_authentications' already exists error when running php artisan migrate, where the migration included in this package is called because it is not listed in my migrations table.
As far as I can see I cannot cancel this migration.
Reproduction
Schema::create('two_factor_authentications', function (Blueprint $table) {
$table->bigIncrements('id');
});
then run php artisan migrate
Stack trace & logs
No response
Are you a Patreon supporter?
No, don't give priority to this
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.

Fixed.
It will come into next patch version.


Update docs and remove debug message

This patch serves two purposes:

Remove a debugging println!() that was lying around in multispace/
Update the docs in the README file. The section describing the take_* macros was outdated. Also, the old fold macros were still mentioned.

Great! Thank you, keeping the documentation up to date is a never ending battle :)


Task/dr 396 Add Slack notification

Description
When a github action is triggered either in the dev or test environment on certain pipelines a slack notification will be sent to the appropriate channel if the pipeline fails. No notification will be sent if the pipeline is successful.
Note
This PR is to push to test to check that no slack notification will be received in the #dos-rewrite-test-pipelines slack channel
Context
DR-396 - Add slack integration for github action workflow notification
Type of changes

[ ] Refactoring (non-breaking change)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I am familiar with the contributing guidelines
[x] I have followed the code style of the project
[x] I have added tests to cover my changes
[ ] I have updated the documentation accordingly
[ ] This PR is a result of pair or mob programming

Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

[x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

This branch is no longer required as it's superseded by branch Task/dr 396 slack notifiy ghw new


How to highlight multiple weekend days?

I need to decorate both friday and saturday as weekend holidays. How to make it possible?
Pls help me

Take a look at the sample