Server not starting on Linux (in a Docker container.)

OS: Ubuntu 16.04 (up to date and with MS SQL client tools installed.)
docker --version
Docker version 1.12.6, build 78d1802

Command to download and install
androidadmin@androidlx01:~$ docker run -e 'ACCEPT_EULA=Y' -e 'not my real password' \
>     -p 1433:1433 -v /dataPool/SQL-server-storage:/var/opt/mssql \
>     --restart unless-stopped \
>     -d microsoft/mssql-server-linux:2017-CU1
Unable to find image 'microsoft/mssql-server-linux:2017-CU1' locally
2017-CU1: Pulling from microsoft/mssql-server-linux
f6fa9a861b90: Pull complete
da7318603015: Pull complete
6a8bd10c9278: Pull complete
d5a40291440f: Pull complete
bbdd8a83c0f1: Pull complete
3a52205d40a6: Pull complete
6192691706e8: Pull complete
1a658a9035fb: Pull complete
fceab3b2d743: Pull complete
8b28cf1d590c: Pull complete
Digest: sha256:2059be15971607fdba972b0f976b5306cdd6e50718072845a37249c3bbb0fe20
Status: Downloaded newer image for microsoft/mssql-server-linux:2017-CU1
96f4d011bc861661b11c563711e3857e55471e12f3d7506791f28253cc09f76f
androidadmin@androidlx01:~$ docker ps
CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS                              PORTS                    NAMES
96f4d011bc86        microsoft/mssql-server-linux:2017-CU1   "/bin/sh -c /opt/mssq"   3 minutes ago       Restarting (1) About a minute ago   <IP_ADDRESS>:1433->1433/tcp   furious_boyd
286bb1fecd59        wordpress                               "docker-entrypoint.sh"   4 days ago          Up 4 days                           <IP_ADDRESS>:80->80/tcp       wordpress
a4c10a80bbc8        mariadb:10.3                            "docker-entrypoint.sh"   4 days ago          Up 4 days                           3306/tcp                 wp-mariadb
androidadmin@androidlx01:~$

Content of /dataPool/SQL-server-storage/log/errorlog
2017-11-06 22:05:53.15 Server      Microsoft SQL Server 2017 (RTM-CU1) (KB4038634) - 14.0.3006.16 (X64)
	Oct 19 2017 02:42:29
	Copyright (C) 2017 Microsoft Corporation
	Developer Edition (64-bit) on Linux (Ubuntu 16.04.3 LTS)
2017-11-06 22:05:53.15 Server      UTC adjustment: 0:00
2017-11-06 22:05:53.15 Server      (c) Microsoft Corporation.
2017-11-06 22:05:53.15 Server      All rights reserved.
2017-11-06 22:05:53.15 Server      Server process ID is 4120.
2017-11-06 22:05:53.15 Server      Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.
2017-11-06 22:05:53.15 Server      Registry startup parameters:
	 -d /var/opt/mssql/data/master.mdf
	 -l /var/opt/mssql/data/mastlog.ldf
	 -e /var/opt/mssql/log/errorlog
2017-11-06 22:05:53.16 Server      Error: 17113, Severity: 16, State: 1.
2017-11-06 22:05:53.16 Server      Error 87(The parameter is incorrect.) occurred while opening file '/var/opt/mssql/data/master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.

The server is perpetually restarting. It is a vanilla install and I don't know what the error means or how to resolve it. Attempts to connect via 'sqlcmd' (on the host) and 'docker -it ...' are rejected because the instance is restarting.
This is an initial install pulled from https://hub.docker.com/r/microsoft/mssql-server-linux/.
Not sure where to go from here.

I believe i found a solution for this problem.
Simply add the following
 - ./.db:/var/opt/mssql/
 - /var/opt/mssql/data

This is how my docker-compose looks like.
version: '3'

services:
  db:
    image: microsoft/mssql-server-linux:2017-latest
    volumes:
      - ./.db:/var/opt/mssql/
      - /var/opt/mssql/data
    ports:
      - 8010:1433
      - 8011:1434
    environment:
      - ACCEPT_EULA=Y
      - MSSQL_SA_PASSWORD=Mysql!Server02

The above comment worked 100% for me, Thanks Ballpin.


Microsoft Teams Focused Even If No Window Is On Screen

I'm having an issue that the Microsoft Teams app is taking focus even if no window is currently on the screen.
Steps

Have any window open. (But microsoft teams window all closed and app is opened for notification purpose.)
Focus on monitor-2
Focus back onto monitor-1

Expected:
The window on monitor-1 gets focused.
Actual
No window on monitor-1 gets focused. On the menu bar, I can see the current app has been switched to Microsoft Teams.

My current temporary solution is I have a keybinding setting:
alt - tab : yabai -m window --focus "$(yabai -m query --windows --space | jq -re "[sort_by(.id, .frame) | reverse | .[] | select(.role == \"AXWindow\" and .subrole == \"AXStandardWindow\") | .id] | nth(index($(yabai -m query --windows --window | jq -re ".id")) - 1)")"

So everytime I focused to my main-monitor, I will have to press alt-tab to cycle the focus for once, then I can use opt-h/j/k/l to focus on the tile again.
Are they better ways of doing this?

You're getting thwarted by the same "Microsoft Teams Notification" hidden window that causes me issues.  Inside your select filter, try adding and .title != "Microsoft Teams Notification".

I bet you're getting thwarted by the same "Microsoft Teams Notification" hidden window that causes me issues. Inside your select filter, try adding and .title != "Microsoft Teams Notification".

Recently Teams added native notifications. Not sure if that's whats going on here, but it might help.

Yes. Changing the settings to native notification fixed the issue. I don't know that it's caused by the notification window and also not realize that it provides a native notification option here. Thanks so much for the help.
Since my issue has been solved, I will close this issue now.

The problem comes back even after I change to the native notification. I think it is the meeting started notification that's doing the trick. Even if set mac native notification, it's still using its own notification window to display meeting notifications.

You can run sleep 2; yabai -m query --windows --window on the popup window that seems to be the culprit. If you can differentiate that window from others you can try to make a rule not to manage it. Alternatively you can run teams from the browser, but I believe some stuff isn't browser compatible.

@typkrft This is what I see when I run that command.
{
	"id":101025,
	"pid":50077,
	"app":"Microsoft Teams",
	"title":"Microsoft Teams Notification",
	"frame":{
		"x":2892.0000,
		"y":25.0000,
		"w":0.0000,
		"h":0.0000
	},
	"level":3,
	"role":"AXWindow",
	"subrole":"AXStandardWindow",
	"movable":1,
	"resizable":0,
	"display":1,
	"space":10,
	"visible":1,
	"focused":1,
	"split":"none",
	"floating":1,
	"sticky":1,
	"minimized":0,
	"topmost":1,
	"opacity":1.0000,
	"shadow":1,
	"border":1,
	"stack-index":0,
	"zoom-parent":0,
	"zoom-fullscreen":0,
	"native-fullscreen":0
}

Do you know what config I should have in .yabairc to disable management for this window? I tried yabai -m rule --add app="^Microsoft Teams Notification$" manage=off but it doesn't work.

Do you know what config I should have in .yabairc to disable management for this window? I tried yabai -m rule --add app="^Microsoft Teams Notification$" manage=off but it doesn't work.

You have app where it should say title.  You could add the app to, I saw an issue recently, though I can't remember the context in which someone said another rule wouldn't work without the app.

I also have this issue. Changing notification type and adding yabai -m rule --add app="^Microsoft Teams$" title="^Microsoft Teams Notification$" manage=off doesn't help.

For those willing to self-compile, I worked around this issue by treating the MS Notification as an unknown-type window:
https://github.com/nyyManni/yabai/commit/f979b7381de87a7a54f0e082ddb08578286ba947
I still seem to sometimes lose the focus to the notification when I close a window from the space, and none of the remaining windows gets focused.

I've solved this issue by writing a script that runs when a Teams window is selected. It differentiates between the invisible notification window and an actual notification window. It also works across multiple displays. See  https://github.com/koekeishiya/yabai/issues/74#issuecomment-767904356.
As others have pointed out, changing to native Mac OS notifications only works for a little while. I've been using the script from the link above for about a year now. I had to update it today because yabai updated the names of some of its json fields.

FWIW, since I think this issue is more likely to be found, then the other one, I will link my comment here as well: https://github.com/koekeishiya/yabai/issues/74#issuecomment-1543681804
In principle, when changing the space and the Microsoft Teams Notification window gets focused it will simply look for other windows in that space and focus the first one it finds. You can read more details in the comment.
I haven't tested multiple displays, but I don't see a reason why it shouldn't work.

Changing MS Teams notification style from "Teams built-in" to "Mac" fixes this issue.


Popover: Input Field Becomes Unusable When open Prop is Used

For what version of Nuxt UI are you suggesting this?
v3.0.0-alpha.x
Description
Where the UInput component inside a UPopover becomes unusable when the open prop is controlled externally. Specifically, when the open prop is used to control the display of the popover, the UInput component receives a type="button" attribute. This issue will cause the input component to be unable to enter text
<UPopover class="w-120" :open="searchOpen">
    <UInput
    v-model="searchKeyword"
    color="neutral"
    variant="soft"
    size="xl"
    :ui="{
        base: 'w-120',
    }"
    />
    <template #content>
        <Placeholder class="size-48 m-4 inline-flex" />
    </template>
</UPopover>

I don't know if this is a bug or if the logic is just like this.
Additional context
No response

The Popover component is not meant to be used with an Input as the default slot, I recommend using the InputMenu instead: https://ui3.nuxt.dev/components/input-menu

@benjamincanac Inputmenu and CommandPalette cannot implement the following mode. I think popover is more suitable.

I think you actually can achieve this result with the InputMenu and a bit of customization 😊


Default values just don't work

This example, taken literally from the README, fails on Python 3.11.8:
from typing import List
from chili import Decoder, decodable

@decodable
class Book:
    name: str
    author: str
    isbn: str = "1234567890"
    tags: List[str] = []

book_data = {"name": "The Hobbit", "author": "J.R.R. Tolkien"}
decoder = Decoder[Book]()

book = decoder.decode(book_data)

assert book.tags == []
assert book.isbn == "1234567890"

with
  File "<stdin>", line 1, in <module>
  File "[...]]/python3.11/site-packages/chili/decoder.py", line 599, in decode
    raise DecoderError.missing_property(key=key)
chili.error.DecoderError@missing_property: key=isbn

Nevermind, it's a duplicate of https://github.com/kodemore/chili/issues/32...


expect gauge type chart

Is there a plan to achieve gauge type chart?

@whx76 in the core we are not going to add a gauge type. I think if you search around through the closed issues someone made one as an extension of Chart.js


signal and background layers misaligned on Trh-F-500041

Description of the problem

Also VGlut-F-400073 (VFB_00015966).


No Healthy Upstream error when health_check property omitted

This is a bit of a follow up to #1912. I'm currently using only CDS. My CDS endpoint returns information about hundreds services. Here's a truncated result:
{
  "clusters": [
    "...",
    {
      "name": "autocomplete",
      "type": "strict_dns",
      "connect_timeout_ms": 2000,
      "lb_type": "random",
      "hosts": [
        {
          "url": "tcp://host1:31208"
        },
        {
          "url": "tcp://host2:31672"
        },
        {
          "url": "tcp://host3:31916"
        }
      ]
    },
    "..."
  ]
}

Note that there is no health_check property defined (on any entry) which should mean that health checks are disabled.
However, when I run the application, I notice two things. The first thing is that Envoy takes about 4 minutes before it starts allowing ingress HTTP calls to occur. The output logs which confirm this look like so:
[2017-10-24 22:09:38.532][203][warning][main] source/server/server.cc:164] initializing epoch 0 (hot restart version=9.200.16384.127)
[2017-10-24 22:09:38.562][203][warning][main] source/server/server.cc:332] starting main dispatch loop
Env Vars as seen from App: { HOME: '/root',
  HOSTNAME: '4c6976b72d2a',
  PORT0: '8080',
  PORT1: '8081',
  PORT_APP: '3000',
  S6_KEEP_ENV: '1',
  PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
  PROTO: 'IPC',
  IPCLOCALPATH: '0' }
Server running at http://<IP_ADDRESS>:3000/
Access externally via http://<IP_ADDRESS>:8080/
[2017-10-24 22:13:39.799][203][warning][main] source/server/server.cc:316] all clusters initialized. initializing init manager
[2017-10-24 22:13:39.799][203][warning][config] source/server/listener_manager_impl.cc:448] all dependencies initialized. starting workers

Afterwards, if I make an egress request to the autocomplete service via Envoy, the request will fail. Manually making a cURL request to that same URL will succeed (assuming I replace tcp:// with http://). When it fails, Envoy displays the following message:
503 - "no healthy upstream"

I am making use of a special Envoy-Discovery-Target header to notify Envoy which discovery service I'm attempting to communicate with. This configuration appears to partly work because when I grep the /stats admin endpoint after three failed egress requests I see the following (all lines with 0 values removed for brevity):
cluster.autocomplete.external.upstream_rq_503: 3
cluster.autocomplete.external.upstream_rq_5xx: 3
cluster.autocomplete.lb_healthy_panic: 3
cluster.autocomplete.max_host_weight: 1
cluster.autocomplete.update_attempt: 14
cluster.autocomplete.update_success: 12
cluster.autocomplete.upstream_cx_none_healthy: 3
cluster.autocomplete.upstream_rq_503: 3
cluster.autocomplete.upstream_rq_5xx: 3

The several minute pause, the upstream_cx_none_healthy: 3 stat, and the envoy process idling at 10% of CPU makes me think that health checking is somehow enabled. Does anyone know these services are listed as unhealthy despite now health checks?
The following is my current configuration:
{
  "listeners": [
    {
      "name": "ingress_http_listener",
      "address": "tcp://<IP_ADDRESS>:8080",
      "filters": [{
        "name": "http_connection_manager",
        "config": {
          "codec_type": "auto",
          "stat_prefix": "ingress_http",
          "route_config": {
            "virtual_hosts": [{
              "name": "route_vhost_local_service",
              "domains": ["*"],
              "routes": [{
                "timeout_ms": 0,
                "prefix": "/",
                "host_rewrite": "tcp://<IP_ADDRESS>:3000",
                "cluster": "application_cluster"
              }]
            }]
          },
          "filters": [{
            "name": "router",
            "config": {}
          }]
        }
      }]
    },

    {
      "name": "egress_http_listener",
      "address": "tcp://<IP_ADDRESS>:80",
      "filters": [{
        "name": "http_connection_manager",
        "config": {
          "codec_type": "auto",
          "stat_prefix": "egress_http",
          "route_config": {
            "virtual_hosts": [{
              "name": "route_vhost_remote_services",
              "domains": ["*"],
              "routes": [{
                "prefix": "/",
                "cluster_header": "Envoy-Discovery-Target",
                "timeout_ms": 15000,
                "retry_policy": {
                  "retry_on": "5xx",
                  "num_retries": 3,
                  "per_try_timeout_ms": 5000
                }
              }]
            }]
          },
          "filters": [{
            "name": "router",
            "config": {}
          }]
        }
      }]
    }
  ],

  "admin": {
    "access_log_path": "/dev/null",
    "address": "tcp://<IP_ADDRESS>:8081"
  },

  "cluster_manager": {
    "cds": {
      "refresh_delay_ms": 10000,
      "cluster": {
        "name": "cds_cluster",
        "type": "static",
        "connect_timeout_ms": 250,
        "lb_type": "round_robin",
        "hosts": [{
          "url": "tcp://<IP_ADDRESS>:3090"
        }]
      }
    },
    "clusters": [
      {
        "name": "application_cluster",
        "connect_timeout_ms": 250,
        "type": "logical_dns",
        "lb_type": "round_robin",
        "hosts": [{
          "url": "tcp://<IP_ADDRESS>:3000"
        }]
      }
    ]
  }
}

A few things:

It sounds to me like DNS is hanging/failing at large scale.
You should be able to see status once Envoy boots by looking at /stats and /clusters.
For large CPU, it might have to do with the rate of DNS refresh and the number of DNS queries you are doing. You may have to lower the rate. See cluster settings for how to lower the DNS refresh interval. A perf profile / flame graph can help here in seeing where CPU time is being spent.

@mattklein123 you were right, there were largscale DNS issues. They've been resolved and the 3 minute pause has been reduced to 15 seconds.

Update: the 503 - no healthy upstream intermittent response still exists with full ADS (CDS, LDS, EDS, & RDS). So far the only we to resolve the issue is to either restart the Discovery Server or the Envoy Proxies.
Note that we do not have any Health Checks enabled and the configuration correctly specifies the IP:PORT pairs for the upstream service.

@zanes2016 / @tlhunter - its been a while, but wanted to understand how this was resolved?
From what I understand, envoy is not able to get the resolutions for the endpoints you are accessing, and that is resulting in UH / no healthy upstream errors.
Was there any optimization you did to remediate the situation?


WIP making STIXFrame work nicely with Map.

Often want/need to do analysis in the STIX frame (really low counts) so need to support repojection and plotting etc. This PR aims to facilitate the creation of maps in the STIXImaging frame and support all the plotting, reprojections etc. Heavily based on what in sunpy coordinates.

Register new frame and wcs mapping to astropy
Update STIXImage to include observer and rsun

Well after some serious rabbit holing, mostly on the plotting side finally made some progress. Still lots to fix, improve (transforms are slow due to repeated fido search and fetch calls) and look into (I don't know why the limb is behind, indicated by the dotted line, the Sun).

Current plot


Keyboard navigation

This feature would almost be free and pretty useful for users that expect to have keyboard navigation, especially on the desktop.

You could be using the bindKeyboard HOC of react-swipeable-views.

@oliviertassinari Wow, that was easy. :+1:
Any idea how I could get the spring to be more material-like (using the same bezier curve that the dots use)?

Well, that's a good question. You need to tweak the springConfig property.
React-motion has a demo where you can play with different value. You would need to find the one that feels right. I know that there is section on the Material Specification regarding the expected transformation function curve. It's physical based. That shouldn't be too hard. As react-motion is also using a spring physical model with some friction.

Okay, I'll tweak the spring config then. Combining three HOCs is strange, by the way, but it works now.


Jestsource

Summary
Added a parent component for CheckboxWithLabel component to show how the props originated,it was sort of confusing at first glance ,especially for a novice.
Also added expatiation to MockReturnValue
Test plan
Not changing UI,just added more clarity in my PR
Please what do I do at CHANGELOG.md

Please how do I remove stale comment

Kindly look into this please
On Sat, Jan 6, 2024, 09:04 github-actions[bot] @.***>
wrote:

This PR is stale because it has been open 90 days with no activity. Remove
stale label or comment or this will be closed in 30 days.
—
Reply to this email directly, view it on GitHub
https://github.com/jestjs/jest/pull/14281#issuecomment-1879588663, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZDIFAKRCUX3J7GIGROTKFTYNEASFAVCNFSM6AAAAAAZWLYLOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGU4DQNRWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Embedded YouTube Fails Validation for "iframe" Tag Use

I have one YouTube video that was embedded using [youtube ...] shortcode from Jetpack. (I've also tried the [embed ...] shortcode.) They render eventually with an iframe tag.
I'm getting the following message:
The tag 'iframe' is disallowed. DISALLOWED_HTML_WITH_AMP_EQUIVALENT
AMP is asking for <amp-youtube..../> plus the .js snippet.
The routine YouTube embed, without any shortcode, returns the same error.
In addition, both embed methods results in:
The attribute 'style' may not appear in tag 'span'. DISALLOWED_HTML
Thanks.

iFrame support added. Thank you so much for reporting!


To add Countdown Timer

Project title
Countdown Timer
Project Description
Countdown Timer
Doc Domain

[] Solidity , Html, Css , JavaScript , Web3.js / Ether.js
[] Solidity , ReactJs /NextJs , Web3.js /Ether.js
[] Solidity , Python3 , Web3.py
[] Other , feel free to mention below

Are you contributing under any open-source program ?

@yashhibare7 closing this issue as similar project is already present in the repository.


Second parentRef in a HTTPRoute specifies "default" namespace

Description:
When a HTTPRoute references two different sections of a Gateway, the second parentRef has the namespace set to default instead of defaulting to the namespace of the HTTPRoute.
Repro steps:
Create a HTTPRoute with parentRefs such as this:
parentRefs:
- group: gateway.networking.k8s.io
  kind: Gateway
  name: default
  sectionName: tls-section
- group: gateway.networking.k8s.io
  kind: Gateway
  name: default
  sectionName: insecure-section

After this is created, using kubectl describe on the route reveals the following:
status:
  parents:
  - conditions:
    - lastTransitionTime: "2024-10-04T21:36:14Z"
      message: Route is accepted
      observedGeneration: 6
      reason: Accepted
      status: "True"
      type: Accepted
    - lastTransitionTime: "2024-10-04T21:36:14Z"
      message: Resolved all the Object references for the Route
      observedGeneration: 6
      reason: ResolvedRefs
      status: "True"
      type: ResolvedRefs
    controllerName: gateway.envoyproxy.io/gatewayclass-controller
    parentRef:
      group: gateway.networking.k8s.io
      kind: Gateway
      name: default
      sectionName: tls-section
  - conditions:
    - lastTransitionTime: "2024-10-04T21:36:14Z"
      message: There were no hostname intersections between the HTTPRoute and this
        parent ref's Listener(s).
      observedGeneration: 6
      reason: NoMatchingListenerHostname
      status: "False"
      type: Accepted
    - lastTransitionTime: "2024-10-04T21:36:14Z"
      message: Resolved all the Object references for the Route
      observedGeneration: 6
      reason: ResolvedRefs
      status: "True"
      type: ResolvedRefs
    controllerName: gateway.envoyproxy.io/gatewayclass-controller
    parentRef:
      group: gateway.networking.k8s.io
      kind: Gateway
      name: default
      namespace: default
      sectionName: insecure-section

As you can see, the second parentRef gets the namespace set to default which causes the error There were no hostname intersections between the HTTPRoute and this parent ref's Listener(s). because the parentRef does not exist in the default namespace.
Environment:
Envoy Gateway 1.1.0
Logs:
Irrelevant

looks like a dup of https://github.com/envoyproxy/gateway/issues/4127

You are right, it is the same issue. You can close this one. I apologize for missing the existing one.

np, thanks for logging this !


test: remove unused http request helper utility

With the use of the node-fetch, the http E2E helper utility module is now unused within the E2E tests and can be removed.
This also removes usage of the request package which is not an actual dependency of the project.

Can we merge https://github.com/angular/angular-cli/pull/23079 first? 🙏


[Feature][Connector-v2] add Snowflake connector

Purpose of this pull request

Initiated the snowflake connector, using jdbc
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

Please add e2e test case

Please add e2e test case

@Hisoka-X  Snowflake is cloud service so no local container to use. do you have any suggestion to add e2e test?

Please add e2e test case

@Hisoka-X Snowflake is cloud service so no local container to use. do you have any suggestion to add e2e test?

You can add e2e test case and run it in your local env.  And then place a screenshot of the successful operation here.
Before you push your code, add Disable annotation to the e2e case.
Thanks for your contribution.

Successfully run example:

Successfully run container test:

For some reason my flink 1.14.x processor doesn't start properly. it works with flink 1.13.x container

successfully sink data into Snowflake test table

@Hisoka-X @EricJoy2048 added test and screenshots

@Hisoka-X @EricJoy2048 mind take another look?

@wuchunfu not sure why the test failed. any suggestions?

@wuchunfu not sure why the test failed. any suggestions?

try merge from dev

Thank you for your contribution. There are still some small issues on the documentation and e2e.

Tested all fields except array.
input source data:

output sink data:

Please fix code style error.

Please fix code style error.

done


How do you get receiving addresses from a raw transaction?

I am trying to decode a transaction generated by nBitcoin, with nBitcoin.
I am using:
NBitcoin.Transaction.Parse(hex, Groestlcoin.Instance.Mainnet);

This provides me with a NBitcoin.Transaction. Looking through the TxOut records within that transaction, there doesn't seem to be an easy way to get the public addresses from the TxOut record?
Please excuse my ignorance.

Read https://programmingblockchain.gitbooks.io/programmingblockchain/content/
var address = tx.Outputs[0].ScriptPubKey.GetDestinationAddress(Groestlcoin.Instance.Mainnet);
Note that all outputs don't have necessarily addresses.

Thank you!


Please update types of sdk

I used this api and got this error, but i found in response the event get more data. Please fix this

Hello and thank you for letting us know the issue. But I think that's not an issue because all the events will be typed into TransactionEvent, that is super type(interface) and it has only properties can have concrete event types.
So I suggest to get the tokenIds property like below.
if(statusCode === "1000") {
  const tokenValue = responseData?.events[0]["tokenIds"] as string;
}

if you want to be more carefull, then following codes are available.
if(statusCode === "1000") {
  const nftMintedEvents = lbdTxResult.txEvents.filter(event => { event.eventName === "EventCollectionNftMinted"});
    if (nftMintedEvents.length > 0) {
      const tokenValues = (nftMintedEvents[0] as EventCollectionNftMinted).tokenIds;
      // handle with tokenValues
    }
}

if you want a sort of utility function to get expected type of an event from transaction result, then please let us know. We will see and provide such features.

I will close this issue since it does not look a bug. But feel free you can open this any time if you have any question or something else.


Add ASUS Strix to the ASUS store

https://store.asus.com/us/item/202009AM290000002/

Yes Please, seems like none of the Rog Strix models are included to the bot, there is OC and non OC,
Would be great if u can manage to add them.
Thank you for your time


Backup script will capture the DB cache and will create huge backup files as a result

Hello guys,
I am looking at a way to feed an ignore tables list to the backup job to prevent exporting useless tables like cache. At the moment I don't see a way to do this in the chart short of not enabling backup and creating me own cronjob outside the helm chart... but we are using the chart because everything needed is available in there... so it would defeat the purpose.
Is this something you had on the roadmap? How do you handle not backing caches in the DB for your own deployment?
I might propose an idea. How about adding an optional value to the backup section where we could capture extra drush -y sql-dump options? That way we could specify which tables to ignore with:
# Add option extra options to the drush -y sql-dump command
extra_options: --skip-tables-list=cache,cache_*

If you are interested I could submit a PR with the proposed changes to support the feature?
Bernard

Looks like we only added this in D7 so should add it to D9 as well :D
https://github.com/drupalwxt/helm-drupal/commit/4f3ac6e0f553dddc8cc44571a3554d3301949478

I see it in D7, you are right ;-) OK, no need for my PR then. I will let you add this simple fix ;-)

This should do it thanks so much :D
https://github.com/drupalwxt/helm-drupal/commit/259ea8ac3be7c057f849917d1f671e3f9fd49edc


wifi init cause issue on esp32

I have problem with a project on esp32 xtensa using esp-wifi (with esp-now) and embassy async. I have tried using xtensa rust 1.69 and latest 1.71 with the same outcome.

When I run only esp-wifi (with esp-now) the firmware hangs after about 12 hours. I need to reset to recover. This exact firmware works without issue on esp32c3 for weeks.
The amount of data traffic on the esp-now is minimal (a keep-alive packet received every 3 minutes, one sent every 5 minutes).
When run with another embassy task that reads async from an uart I have 2 outcomes:

firmware hangs in about 20-30 minutes without errors on uart
firmware start to give me corrupt data on Uart read after 20-30 minutes and hangs in about 1 hour (memory corruption?). I have analyzed the corruption and some bytes are basically corrupted. Length seems to be fine.

If I run the Uart task alone reads without error and never hangs (I have leave it running about 24 hours).
The Uart traffic is significant (I have a constant 5 KB/s data read at baud rate 921600)
The issue with Uart reproduces if only calling esp-wifi::initialize and nothing else. I have tried several times and reproduces within 10-40 minutes.
So my current plan is to drive a local copy of esp-wifi and comment stuff from esp-wifi::initialize until the issue is fixed.
Then report back to you guys. If you have any advice or a better approach please let me know.
P.S> I have ask this question on the esp-rs room, but I guess is better to have it here.

First idea would be that it's related to leaking memory or excess stack usage. After initialize the wifi task is running so one idea would be to see if changing the task's stack size in
https://github.com/esp-rs/esp-wifi/blob/68dc11bbb2c0efa29c4acbbf134d6f142441065e/esp-wifi/src/preempt/mod.rs#L29
changes anything. (i.e. increasing it slightly extends the time until things go belly-up)
If that doesn't change anything it would be interesting if it's running out of heap memory

I tried from small increase (10240) up to 4x increase(32768), it does not change the time to failure.
How can I check if is running out of heap memory?

We already log a message at level warn here: https://github.com/esp-rs/esp-wifi/blob/37dd9ed7ae07a86f7afaef34fa4cbb48ad41b210/esp-wifi/src/compat/malloc.rs#L19-L22
when we are unable to allocate memory which you should be able to see if logging is enabled.
Unfortunately, it's a normal thing and not necessarily a hard error if that happens (and it definitely happens). The calling code is supposed to handle such a situation gracefully.
On the other hand, reading your issue again it might be the case that for some reason the main-task's stack grows into the data/bss segment and overwrites data (especially seeing UART start sending garbage - is whatever is sent via UART from a statically allocated buffer?). However, if you don't do anything but initializing WiFi there is also nothing esp-wifi related running in the main task. Also, interesting this doesn't happen on ESP32-C3

We already log a message at level warn here:
https://github.com/esp-rs/esp-wifi/blob/37dd9ed7ae07a86f7afaef34fa4cbb48ad41b210/esp-wifi/src/compat/malloc.rs#L19-L22
when we are unable to allocate memory which you should be able to see if logging is enabled.
Unfortunately, it's a normal thing and not necessarily a hard error if that happens (and it definitely happens). The calling code is supposed to handle such a situation gracefully.
On the other hand, reading your issue again it might be the case that for some reason the main-task's stack grows into the data/bss segment and overwrites data (especially seeing UART start sending garbage - is whatever is sent via UART from a statically allocated buffer?). However, if you don't do anything but initializing WiFi there is also nothing esp-wifi related running in the main task. Also, interesting this doesn't happen on ESP32-C3

The UART1 task is only receiving from a slave board in a static stack allocated buffer and not sending anything. The received data is corrupted after a certain amount of time, so something overflows and start writing over the stack I guess.
The UART0 is sending esp-println data to console. I have disabled the log crate because it was not adding \r in esp-println and on apps like screen shows terrible. Made my own logging.
Anyway, I have put the logging back now, as a feature. It does not show that warning at all. I have run it with the original task_stack (8192). Another interesting fact is that when corruption occurs the hangs occurs later. Also the corrupt number of bytes grows over time. I guess if it overflows on uart1 buffer it has some more space until overflows on something even more important and everything halts. When this does not happen it overflows to the important part and halts much quicker.
I do not have the UART1 task on ESP32-C3 because this task runs only on this special hardware.
What I have run is only Esp-Now task: on ESP32-C3 works without issue, on this special hardware (without UART1 task) hangs in about 12 hours.
the uart1 task is an embassy_executor::task that looks like below. As mentioned, without wi-fi init works no issues for a long time, no data corruption.
pub const UART_READ_BUF_SIZE: usize = 0x60;

#[embassy_executor::task]
pub async fn run(mut uart: Uart<'static, UART1>) {
    const MAX_BUFFER_SIZE: usize = 20 * UART_READ_BUF_SIZE;
    const MOVE_BUFFER_SIZE: usize = MAX_BUFFER_SIZE - 3 * UART_READ_BUF_SIZE;
    // the stack buffer for receive
    let mut rbuf = [0u8; MAX_BUFFER_SIZE];
    let mut rbuf_len = 0;
    let mut rbuf_ofs = 0;
    loop {
       match uart.read(&mut rbuf[rbuf_len..]).await {
            Ok(len) if len > 0 => {
                rbuf_len += len;
                //process data &rbuf[rbuf_ofs ..rbuf_len], increase rbuf_ofs
                if rbuf_ofs == rbuf_len {
                    rbuf_ofs = 0;
                    rbuf_len = 0;
                } else if rbuf_len > MOVE_BUFFER_SIZE && rbuf_ofs > 0 {
                    rbuf.copy_within(rbuf_ofs..rbuf_len, 0);
                    rbuf_len -= rbuf_ofs;
                    rbuf_ofs = 0;
                }
          }
          ... //errors, none occurs
      }
}

The posted code looks sane to me
Probably would be best if you could create a public repro with the minimal amount of code to reproduce this issue

The posted code looks sane to me
Probably would be best if you could create a public repro with the minimal amount of code to reproduce this issue

Published here: esp32-wifi-uart. Issue start reproducing after about 30 minutes (data corruption) and halts after 1h.
For sanity check,I have run with esp_wifi::initialize call commented and verified no issue occurs.
Problem with this code is that requires a special hardware to reproduce. And a lot of BLE devices nearby to reproduce faster.
The hardware is this: MKGW-mini

Thanks for the code to reproduce the issue. I tried reproducing it by running the code on ESP32 and have my PC sending Hello World! to it via UART1. I had it running for more than 1h and it didn't crash or halt for me.
Since I don't send valid data it never gets into the parsing code for me but from looking at the code there is nothing suspicious happening there which could explain the behavior you see.

Thanks for the code to reproduce the issue. I tried reproducing it by running the code on ESP32 and have my PC sending Hello World! to it via UART1 in a loop. I had it running for definitely more than 1h and it didn't crash or halt for me.
Since I don't send valid data it never gets into the parsing code for me but from looking at the code there is nothing suspicious happening there which could explain the behavior you see.

Thank you very much for looking into this.
I have just took the esp32 at my house and run the same test. Worked without issue for more than 1h  too.
There are 2 differences:

The number of part message is 3 times less often(less BLE packets in the air). I will wait and see if the issue appears after more time has passed.
At the office I have 2 esp32c3 communicating asp-now. I have also noticed that when I took 1 esp32c3 and move it further away the timing of the reproduction changed(increased). So a question will be, if there are other esp-now packets in the air that do not belong to the esp32 (p2p between the 2 esp32c3) is the stack getting them and store them anywhere in the memory?

But at this point I am suspecting #2. I will let it run for the night to make sure is not #1, and let you know the result.
P.S> The art protocol is very simple: 0xED 0x02 0x04 N(1 byte) (N+8) bytes ...

Thanks for the code to reproduce the issue. I tried reproducing it by running the code on ESP32 and have my PC sending Hello World! to it via UART1 in a loop. I had it running for definitely more than 1h and it didn't crash or halt for me.
Since I don't send valid data it never gets into the parsing code for me but from looking at the code there is nothing suspicious happening there which could explain the behavior you see.

Thank you very much for looking into this.
I have just took the esp32 at my house and run the same test. Worked without issue for more than 1h too. There are 2 differences:

The number of part message is 3 times less often(less BLE packets in the air). I will wait and see if the issue appears after more time has passed.
At the office I have 2 esp32c3 communicating asp-now. I have also noticed that when I took 1 esp32c3 and move it further away the timing of the reproduction changed(increased). So a question will be, if there are other esp-now packets in the air that do not belong to the esp32 (p2p between the 2 esp32c3) is the stack getting them and store them anywhere in the memory?

But at this point I am suspecting #2. I will let it run for the night to make sure is not #1, and let you know the result.
P.S> The art protocol is very simple: 0xED 0x02 0x04 N(1 byte) (N+8) bytes ...

Update: it is no.1. It happens, just 3 times slower, proportional with the amount of data. But does not halt even after 5h, only data corruption.
Is like the time to occur depends on the embassy wakes count.
I will make a simple ticker, every 5ms, no uart, see if it still happens.

Thanks for the code to reproduce the issue. I tried reproducing it by running the code on ESP32 and have my PC sending Hello World! to it via UART1 in a loop. I had it running for definitely more than 1h and it didn't crash or halt for me.
Since I don't send valid data it never gets into the parsing code for me but from looking at the code there is nothing suspicious happening there which could explain the behavior you see.

Thank you very much for looking into this.
I have just took the esp32 at my house and run the same test. Worked without issue for more than 1h too. There are 2 differences:

The number of part message is 3 times less often(less BLE packets in the air). I will wait and see if the issue appears after more time has passed.
At the office I have 2 esp32c3 communicating asp-now. I have also noticed that when I took 1 esp32c3 and move it further away the timing of the reproduction changed(increased). So a question will be, if there are other esp-now packets in the air that do not belong to the esp32 (p2p between the 2 esp32c3) is the stack getting them and store them anywhere in the memory?

But at this point I am suspecting #2. I will let it run for the night to make sure is not #1, and let you know the result.
P.S> The art protocol is very simple: 0xED 0x02 0x04 N(1 byte) (N+8) bytes ...

Update: it is no.1. It happens, just 3 times slower, proportional with the amount of data. But does not halt even after 5h, only data corruption. Is like the time to occur depends on the embassy wakes count. I will make a simple ticker, every 5ms, no uart, see if it still happens.

There is no issue on using only a ticker. So only on UART and depends on the amount of received data.

I have update the sample on git with a version using only esp_now (use feature esp_now )
I have run on an esp32 and esp32c3 in parallel running this code. The esp32 stopped working in about 1h.
There were other esp32c3 transmitters in the air and this could have contributed to the faster reproduction.
P.S> The esp-wifi and esp-hal (latest git version that contains my UART PR fix) are not compatible anymore. The esp_now::init hangs for esp32 and for esp32c3 does not even compile anymore(some duplicate symbols on linking). So using uart is not an option to reproduce. I have also deleted my own PR branch (based on git suggestion !!!).

Thanks for the update. I am currently on vacation and won't be really able to get to this.
One thing which might be worth to try (but it's quite some effort) would be to test the last esp-wifi commit before the drivers were updates (should be abf6d4b781675a90e3ca7bba467c0bf9e4710488 ) - I think you need to downgrade the esp-hal dependency for that.
Just to check if the latest drivers introduced the problems seen here

Ok just to double check.
esp-hal 8598e188b1d1c2d9d7fe2eccaf136bdb693f490b was the last known working commit.
The first non-working commit is debe2b80048e00ba63a36e4dddc844fa128a9173
There are no obviously dangerous changes in that range so probably a git bisect would be the best next step

Ok just to double check.
esp-hal 8598e188b1d1c2d9d7fe2eccaf136bdb693f490b was the last known working commit. The first non-working commit is debe2b80048e00ba63a36e4dddc844fa128a9173
There are no obviously dangerous changes in that range so probably a git bisect would be the best next step
I have run git bisect

for esp32c3 linking issue I got this commit
[213dde9304ae5d6aa23def2c1703520d4683ae52] Add a new RMT driver (#653)
for the esp_now::EspNow::init lock on esp32 (internally is esp_wifi_start() that locks) I got
[9f5e2b59de752b24c93ab96f262104a27a154c06] ESP32-S3 deep sleep (#660)

for the esp_now::EspNow::init lock on esp32 (internally is esp_wifi_start() that locks) I got
[9f5e2b59de752b24c93ab96f262104a27a154c06] ESP32-S3 deep sleep (#660)

This is a known issue (sorry about it!) that should be fixed by https://github.com/esp-rs/esp-wifi/pull/220

for the esp_now::EspNow::init lock on esp32 (internally is esp_wifi_start() that locks) I got
[9f5e2b59de752b24c93ab96f262104a27a154c06] ESP32-S3 deep sleep (#660)

This is a known issue (sorry about it!) that should be fixed by #220. I probably should not have messed with ESP32 code there, reordering caused wifi clocks to become disabled on startup.

Thanks,
working now.

Ok just to double check.
esp-hal 8598e188b1d1c2d9d7fe2eccaf136bdb693f490b was the last known working commit. The first non-working commit is debe2b80048e00ba63a36e4dddc844fa128a9173
There are no obviously dangerous changes in that range so probably a git bisect would be the best next step
I have run git bisect

for esp32c3 linking issue I got this commit
[213dde9304ae5d6aa23def2c1703520d4683ae52] Add a new RMT driver (#653)

This is fixed now in esp-hal 0.11.0 release.
Now we are back on the initial issue, which is still not working on esp32 chipset. Maybe this hardware I am has a problem.
Could the version of esp32 matter? This hardware uses an older version ESP32WROOM32 which is not recommended for new designs according to espressif site.
Meanwhile, I have also tried running esp-wifi without async mode and the problem is the same. However the uart part was still embassy async, only asp-wifi was without async.

Could you please try a cargo update to make sure that you're using embassy-executor = 0.2.1? That release includes a fix for hanging ESP32 firmware that may or may not causes your issue.

Could you please try a cargo update to make sure that you're using embassy-executor = 0.2.1? That release includes a fix for hanging ESP32 firmware that may or may not causes your issue.

Already did that based on the #226 comments.
With the new embassy version is running for almost 3h now, which is longer than any time so far. I will let it run over the weekend and see how it goes.
However this does not solves my UART data corruption. It is still there. But maybe, the two issues are unrelated. At least we can treat them separately.

To clarify, it is still running after 3h, do I read you correctly?

Could you please try a cargo update to make sure that you're using embassy-executor = 0.2.1? That release includes a fix for hanging ESP32 firmware that may or may not causes your issue.

Already did that based on the #226 comments.
With the new embassy version is running for almost 3h now, which is longer than any time so far. I will let it run over the weekend and see how it goes.
However this does not solves my UART data corruption. It is still there. But maybe, the two issues are unrelated. At least we can treat them separately.

To clarify, it is still running after 3h, do I read you correctly?

Correct, now almost 4h and still running. Seems that freeze is solved by latest embassy(hopefully it will not prolong the time until the freeze appears, but I will let it run all the weekend). Not sure why this happens on esp32 and not esp32c3.

I can confirm the freeze problem is fixed. Has run for more than 48h.

The only issue remaining is the UART1 data corruption in the presence of esp-wifi.

If esp_wifi::initialize is not called it works without any issue.
if esp_wifi::initialize is called it works with few corruption once in a while.
if esp-now is fully functional the corruption gets worst. But is intermittent, for example I can found 30 minutes of continuous running without any errors, then errors appear again, and so on.

The only issue remaining is the UART1 data corruption in the presence of esp-wifi.

If esp_wifi::initialize is not called it works without any issue.
if esp_wifi::initialize is called it works with few corruption once in a while.
if esp-now is fully functional the corruption gets worst. But is intermittent, for example I can found 30 minutes of continuous running without any errors, then errors appear again, and so on.

Could esp-wifi interfere with the RX Fifo RAM Mapped Memory?

The big difference after executing esp_wifi::initialize is that the scheduler runs three tasks in total (main, wifi-task, wifi-timer-task). The scheduler uses a tick of 100Hz by default - so worst case the main task won't progress for 20ms.
Given the UART driver is CPU only that's long enough to overrun the FIFO at a high baud-rate.
When nothing really happens in esp-wifi the wifi taks should quickly yield and the effect should be less likely.  (Which matches your observations I guess)
If that's really the cause

lowering the baud-rate should lower the likeliness of errors
changing the scheduler's tick frequency should change the likeliness of errors

Yes, I guess an error should get triggered.

Lowering the baud rate is not an option for me, it will required overwrite the nRF slave board firmware which would require a lot of work for me.

That wouldn't be a solution - I just meant that as a test to see if it changes anything. Maybe you could simulate the nRF side on a PC

Scheduler's tick frequency: I am already using esp-hal-common/esp32_40mhz. Is this the setting or Is there another option?

We now have a way to configure it since 87687c82db75bb7378957c48d990602f423c7d36
See https://github.com/esp-rs/esp-wifi/blob/main/docs/tuning.md - the config option is tick_rate_hz

Yes, I guess an error should get triggered.

Lowering the baud rate is not an option for me, it will required overwrite the nRF slave board firmware which would require a lot of work for me.

That wouldn't be a solution - I just meant that as a test to see if it changes anything. Maybe you could simulate the nRF side on a PC

Scheduler's tick frequency: I am already using esp-hal-common/esp32_40mhz. Is this the setting or Is there another option?

We now have a way to configure it since 87687c8
See https://github.com/esp-rs/esp-wifi/blob/main/docs/tuning.md - the config option is tick_rate_hz

I noticed now that the bps received is less when esp-wifi is on.
So I loose bytes, even the error is not triggered, maybe the system is loosing them somehow because CPU is busy doing something else?
I will try the setting and see if that changes anything. I did not knew about that toml-cfg, I will use it for my code too, looks nice.

@alexiionescu maybe you could also think about handling the data in the interrupt?
https://github.com/esp-rs/esp-hal/blob/main/esp32-hal/examples/serial_interrupts.rs

@alexiionescu maybe you could also think about handling the data in the interrupt?
https://github.com/esp-rs/esp-hal/blob/main/esp32-hal/examples/serial_interrupts.rs

I will try that too, thanks.

I don't know your code but this is all really strange. The code under #[interrupt] is done at the highest priority in a sense that any other task cannot interrupt this execution. Keep in mind that this code has to be as short as possible - i mean eg. collect data but leave the processing in some other "normal" task.

My code is here published here: esp32-wifi-uart.
Interrupt handler is this UART1() and executes add_byte for each byte.
I do nothing in the interrupt code but check some bytes and push most of them into a vector for later processing.
The same code, without running esp-wifi, has 0 errors.
Also this does not explain why on one restart I get 8% error rate (24h run), then another restart I get 67% (today starting, I will keep it for another 24h to see if the error rate drops)

Your interrupt handler looks fine for me...

I have updated my test project esp32-wifi-uart  with a very good scenario to reproduce.
I needed to implement a function in esp-hal to change the UART_RX_SIZE in the UART_MEM_CONF_REG from 1(default) to 2.
I think this means increasing the UART1 RX FIFO RAM to 256 (?). It should be OK if I do not use UART2.
With this change, regardless if I use async mode or not, program gets stuck in esp-wifi at first uart1 interrupt call (my guess)
Rarely, however, it starts. And when that happens I get no uart1 data corruption. I have left such a rare successful run over the weekend in async mode.
Simple way to reproduce is use --features esp32,uart_intr,esp_now (interrupt version, which enable the interrupt immediately)
You will see that "esp_now init" is the last line to be printed. Then the program gets stuck.
If you use async version (--features esp32,esp32_async,uart,esp_now) the program gets stuck a little bit later when async mode enabled the interrupt at first read call.
Again, without esp-wifi, the uart works without issues.
So my suspicion is that somehow the esp-wifi and/or esp_now and UART RF FIFO RAM Memory have a collision of some sort. Unfortunately, I cannot explain this, cause I do not know the internal of the wi-fi tasks, not sure if they are documented anywhere public. In the technical reference manual I cannot find anything about wifi or esp_now.
And I hope the setting of UART_RX_SIZE = 0x02 is correct, the documentation is very poor:
UART_RX_SIZE This register is used to configure the amount of memory allocated to the receive FIFO. The default number is 128 bytes. (R/W)

The UART_RX_SIZE has only 4 bits and the default value is 0x01 (I read it and it is correct).

@alexiionescu
One quite important fix just get merged (https://github.com/esp-rs/esp-hal/pull/804).
Maybe it's worth to try it also in your case?

@alexiionescu
One quite important fix just get merged (esp-rs/esp-hal#804).
Maybe it's worth to try it also in your case?

Thanks, I was planning to run on latest versions when I get rid of my current tasks.
My problem happens only when running with esp-wifi enabled with esp-hal only works just fine.
But who knows.

Working with latest esp-hal 0.13.1 and latest esp-wifi
I am closing this.


[Event Request] CU 392 Reminder-Make

Hello, can we please add the following:
procedure SuggestLines(ReminderHeader2: Record "Reminder Header"; var CustLedgEntry2: Record "Cust. Ledger Entry"; OverdueEntriesOnly2: Boolean; IncludeEntriesOnHold2: Boolean; var CustLedgEntryLinefeeOn: Record "Cust. Ledger Entry")
    begin
        ReminderHeader := ReminderHeader2;
        CustLedgEntry.Copy(CustLedgEntry2);
        OverdueEntriesOnly := OverdueEntriesOnly2;
        IncludeEntriesOnHold := IncludeEntriesOnHold2;
        CustLedgEntryLineFeeFilters.CopyFilters(CustLedgEntryLinefeeOn);
       //Added
        OnAfterSuggestLines(ReminderHeader, CustLedgEntry2, OverdueEntriesOnly2, IncludeEntriesOnHold2, CustLedgEntryLinefeeOn);
    end;

[IntegrationEvent(false, false)]
    local procedure OnAfterSuggestLines(ReminderHeader2: Record "Reminder Header"; var CustLedgEntry2: Record "Cust. Ledger Entry"; OverdueEntriesOnly2: Boolean; IncludeEntriesOnHold2: Boolean; var CustLedgEntryLinefeeOn: Record "Cust. Ledger Entry")
    begin
    end;

This will allow to capture parameters for custom reminder creation is done, just like onAfterSet
Thanks,
Bartek

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


Use arxiv's compiler

https://github.com/allenai/scholar/issues/27321
Changes:

Use TeXLive from Arxiv instead of from apt-get.
Change config.ini to point to where TeXLive is installed

Testing: manual testing

can compile 2 latex files that were previously failed to compile
can compile 1 latex file that was successfully compiled

Also, the image size balloons to 18GB. We're gonna need a bigger boat, @ca16.

Fun fun fun.
Before merge I would recommend a couple things:

Verify that the scholarphi-pipeline image can still be built and run correctly when extending this.
Run the pipeline on a few test papers before/after to make sure the output is the same.

Verified scholarphi-pipeline image can still be built and run
Compiled latex files from 2009.12303v4 and 2012.09607v2 using old and new latex compilers and the resulting pdfs are identical.


README performance section, result package name is wrong

  @napi-rs/skia:
    37 ops/s, ±6.30%   | fastest

should change to @napi-rs/canvas ？

should change to @napi-rs/canvas ？

Yes, it was renamed.


Find a more robust way to implement the different shifts

Current shift types are contextual and could leave to issues:
Ex:

{'Omega_c': 0.3} is a determinist shift
{'Omega_c': (0.2, 0.4)} is a range
{'Omega_c': (-0.1, 0.1)} is a delta shift

This can be problematic for parameters like w!

I believe we should drop support for the "delta shift" approach and document that only the range approach is expected. This is similar to what we use in terms of a flat prior so it is sensible.


Update Makevars

I cribbed this line from the extendr package. It seems to obviate the need to manually modify one's .Rprofile with the path to cargo. This seems to fix the issue on both OS X and Windows 10, though I still can't get it to fully install on windows yet b/c of some other issues with the compiler.

Nice!


Compile only the common components that are needed

With CMake, customers may disable compiling specific libraries, say because they
only want to compile google/cloud/storage and do not want to compile the
other dependencies (gRPC, Protobuf, etc.)
After we import google-cloud-cpp-common we will always compile all the
common components, even if they are not needed by the libraries that
the customer selected. It would be nice to disable the common
components that are not needed.
This may be as simple as adding the right EXCLUDE_FROM_ALL options
into the CMake files, or may require some more fine tuning.

Maybe we could have two "common" libraries. Maybe common and common-grpc. GCS should not take the dep on common-grpc. That way our client libraries simply say what they depend on and they get exactly what they depend on, no more no less. Just a thought.

Another leftover TODO:
https://github.com/googleapis/google-cloud-cpp/blob/80f03434e7e590d53302fa0bda1f883ab987a5c2/CMakeLists.txt#L169-L171


Adjust sleep spell for MidiQOL 11.6.x

Edited the code
Added localization for Sleep condition/ spell

Oh need probably to add that to the 3.x.x branch


This is a really valuable library, thank you!

Thank you for recognizing this library, which we are continually maintaining!


"GetRecordOnce" instead of "InsertIfNotExists"

Call "InsertIfNotExists" from "GetRecordOnce" and call "GetRecordOnce" from the OnOpenPage Trigger on the Setup page

Hm, I see where you're getting at .. but .. isn't this a bit mixing responsibilities?  The page doesn't need to get - it needs to insert if it doesn't exist.  Get happens when opening the page .. so as such, now it would get twice?
During business logic, I could "GetOnce" .. but now it's going to insert, while I might want an error of the get fails (which I do ..) :-/

On the OnOpenPage I am with you. Get happens anyway.
But in code, You dont want to get an error if the get fails. You want to get the error on the TestField when your field is empty. As this needs to be checked anyways, the record can automatically be insertert and geted only once :)

Well .. I don't fully agree, sorry :(.
Most of the time, you're right.  But it's those other times - where:

I might rely on the fact there is no record in the setup in my business logic
I might not have permission to write into the setup table

With both separate functions, I have full flexibility: I can choose between both for the behavior that I want.. .

I mean, at the end its still your snippet ;) But you agree with my way most of the time, and dont have a function for this case.
Maybe:

GetRecordOnce -> Error if not exists
InsertIfNotExists -> Autoinsert and also checks if already getted

this way I could use InsertIfNotExists just all the time if I just want to have the record read to my variable

Let's agree to disagree ;-).  And I blame my autistic mind ..
calling "InsertIfNotExists" .. means that I expect it to just insert if not exist - and I intentionally want to insert a record.  That's my intention.
When GetRecordOnce - I'm only interested in getting it.  If it mysteriously would insert it .. that would be unintentional .. and .. yeah .. I would call both, you know?
Sorry :(.  We're talking peanuts here, I know :(.

No need to apologize :D I like to discuss even the little things.
But InsertIfNotExists also gets the record. Shouldnt it be setting "RecordHasBeenRead := true;" ?
If yes then this would fit for me to not do unnecessary reads

Now THAT I get!  It actually has to , yes .. PR? ;-)

of course but this needs to wait a bit ;) currently quite busy :/

ehm, what about smth like this?

But it seems like this function does only exist on RecordRefs

Well .. I don't know.
get GetRecordOnce happens when Record-var is active .. which is usually within a transaction.  Within a page, this doesn't have too much use I guess.. .
Within a transaction - how can this rec get dirty? 🤔

Sorry for delay :)
I admit chances are probably very low, but you can always have a second session which updates the rec after you have read it.
If you record variable is global and your code takes some time and later on uses the setup again, chances will rise

Afaik, it's in the snippet .. sorry for this to take so long.. :(


newline is '\n' by GetValue for multiline

I want to keep the newline is \r\n in windows, but now each line is delimited by a single '\n' character,so how do i do that?

Internally, all newlines use \n. When you save to disk, all newlines will use either \n or \r\n as necessary.
If you want to work with a multiline value then it will use \n only. You would need to convert it back to \r\n if that is what you want.

Internally, all newlines use \n. When you save to disk, all newlines will use either \n or \r\n as necessary.
If you want to work with a multiline value then it will use \n only. You would need to convert it back to \r\n if that is what you want.

thank you


Bernice

Added the profiler report

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


Visual Studio Azure Dev Spaces

Not too long ago we were able to select "Azure Dev Spaces" to start debugging. Recently this option has disappeared from our IDEs. Even after running azds prep and azds up manually we are still not able to find the capability to Debug using Azure Dev Spaces in Visual studio.
If we create an entry into the launchSettings.json (as below) the Azure Dev Spaces option is available to debug however we get an error stating.
"The project doesnt know how to run the profile Azure Dev Spaces"
"Azure Dev Spaces": {
      "commandName": "AzureDevSpaces",
      "launchBrowser": true,
      "resourceGroup": "<redacted>",
      "aksName": "<redacted>",
      "subscriptionId": "<redacted>"
    }

To reproduce this I created a new Solution with a new  dotnet core 3.1 Web Application and ran azds prep. Next I had to manually modify the launchSettings.json file.
Expected behavior
As advertised we should be able to debug the projects in Azure Dev Spaces.
Environment Details
Visual Studio 2019 Enterprise version 16.7.2
Multi project solutions \ single project solutions
dotnet core application using the dotnet core 3.1.7 framework
Windows 10 Enterprise

We also have had this problem occur for us when upgrading to 16.7.1 and the problem persist with the 16.7.2 Visual Studio update.
The project no longer know how to run the profile and the Azure Dev Spaces alternative is not longer available for new profiles.

I have managed go get around this by doing the following:
in your project .cs file, make sure theese packages are included:
    <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.9" />
    <PackageReference Include="Microsoft.VisualStudio.Azure.Kubernetes.Tools.Targets" Version="1.1.0" />

open your "launchSettings.json" file (its in the "Properties" folder) and change
"Azure Dev Spaces": {
...
    }

to
"Container in Kubernetes": {
...
    }

When you select "Container in Kubernetes" from start debugging, you should now get the option to select your k8 cluster.
Unfortently it seems to be a problem with listning Dev Spaces atm. Gonna place a issue about this now.

Thanks Eneuman for your reply! Our original profile works without the rename to "Container in Kubernetes" after installing the nuget packages you mention.

@Eneuman thank you for the comment. I can confirm that from a blank solution to get DevSpaces working needed to add those packages (although Microsoft.VisualStudio.Azure.Kubernetes.Tools.Targets has a dependency on Microsoft.VisualStudio.Azure.Containers.Tools.Targets so really only need one). This worked for the blank project and just now trying to replicate this to our larger solutions.
Also adding Container Orchestration and selecting Kubernetes \ Helm will also add that package and enable the "Container in Kubernetes" options.

Adding container orchestrator support to your project should fix the issue (https://docs.microsoft.com/en-us/visualstudio/containers/overview?view=vs-2019#kubernetes-support)

I am seeing similar issue in VSCode. Can some one guide me how to fix this issue in VSCode?

@BommagantiKrishnaPrasad Could you please create a new issue for what you see in VS Code? The Visual Studio problem mentioned here was specific to Visual Studio, and I expect that your issue isn't the same as the one mentioned above.


OpenJS Foundation Security Collab Space Meeting 2023-10-09

Time
UTC Mon 09-Oct-2023 18:00 (06:00 PM):

Timezone
Date/Time

US / Pacific
Mon 09-Oct-2023 11:00 (11:00 AM)

US / Mountain
Mon 09-Oct-2023 12:00 (12:00 PM)

US / Central
Mon 09-Oct-2023 13:00 (01:00 PM)

US / Eastern
Mon 09-Oct-2023 14:00 (02:00 PM)

EU / Western
Mon 09-Oct-2023 19:00 (07:00 PM)

EU / Central
Mon 09-Oct-2023 20:00 (08:00 PM)

EU / Eastern
Mon 09-Oct-2023 21:00 (09:00 PM)

Moscow
Mon 09-Oct-2023 21:00 (09:00 PM)

Chennai
Mon 09-Oct-2023 23:30 (11:30 PM)

Hangzhou
Tue 10-Oct-2023 02:00 (02:00 AM)

Tokyo
Tue 10-Oct-2023 03:00 (03:00 AM)

Sydney
Tue 10-Oct-2023 05:00 (05:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Security Collab Space+Meeting+2023-10-09&iso=20231009T1800
or https://www.wolframalpha.com/input/?i=06PM+UTC%2C+Oct+09%2C+2023+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1u5NsxVigGodBc5Xk3wwHMCm2J1vYiLuXcw2wxGHLTUg/edit

Agenda
Extracted from security-agenda labelled issues and pull requests from the openjs-foundation org prior to the meeting.
openjs-foundation/security-collab-space

Brainstorm Around Q4 Security Engineering Champion Milestones #67
Review Latest Revisions To OpenJS SBOM Best Practices & Secure Releases and CVE Management for the JS Ecosystem #64
Discuss: Request for Information on Open-Source Software Security: Areas of Long-Term Focus and Prioritization #53
Get Feedback On Draft "OpenSSF CII Best Practices Badge for JS Projects" #50
Create a prescriptive best practices toolchain #45
Milestone: Compliance Report / Audits / Dashboard Created And Populated By Tier 2 Projects #17
Milestone: SBOM Generation /  Tooling Best Practices Created #18

Invited

OpenJS Foundation Security Collab Space Members
OpenJS Foundation Cross Project Council
OpenJS Foundation Project Maintainers
OpenJS Foundation Board of Directors
All are welcome

Observers/Guests
Notes
The agenda comes from issues labelled with security-agenda across all of the repositories in the openjs-foundation org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting
link for participants: Zoom link: https://zoom.us/j/94497273832

For those who just want to watch: https://livestream.openjsf.org

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

No meeting notes taken or perhaps meeting was canceled


WFLY-711: Improve Management Console error message when duplicate ins…

…tances running

Any chance of getting this merged for 2.0.5.Final?
The BindException is wrapped inside a RuntimeException when thrown, so the code I replaced is never invoked.


Multiple changes

Description of the changes

Updating the jar entries sorting in TreeView
Display non-class files as plain text (Closes #3)
Clear tabs on Transformer change to avoid problems related to how CFR handles inner classes
Add FR & NL locales

Thank you so much for the contribution!
I will review and merge these changes soon.


ModuleNotFoundError: No module named 'AudioLib'

Hello,
I'm new to Python, I am using ubuntu, and when I run the command: python3 AudioEffect.py the ModuleNotFoundError: No module named 'AudioLib' pops up, I think that the problem is in the init.py file as the program doesn't recognize AudioLib as a module, instead it sees it as a regular folder probably, I haven't changed anything in the code, I downloaded exactly from the github repository and I ran the main AudioEffect.py file, can you help me solve this problem, thank you in advance, best regards
Aleksa

Hi Can you provide a screenshot of your issue or type the code that trigger this issue ?
Kind Regards

Shot in the dark someone might answer heres my error message.
`int96@Ubuntu:~/Documents/PythonAudioEffects/tests$ python3 effects.py
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Traceback (most recent call last):
File "/home/int96/Documents/PythonAudioEffects/tests/effects.py", line 10, in
from AudioLib import AudioEffect

ImportError: cannot import name 'AudioEffect' from 'AudioLib' (/home/int96/.local/lib/python3.10/site-packages/AudioLib/init.py)
`
welp back to searching

Hi,
can you show the files present in the directory
/home/int96/.local/lib/python3.10/site-packages/AudioLib/

In this directory you should normally see the file AudioEffect.py
Double check the file name as Linux is case sensitive.
Can you also show what is in the file init.py from (/home/int96/.local/lib/python3.10/site-packages/AudioLib/init.py)
Thanks


Smart Reply AAR example for tensorflow lite won't build

I have not changed any code, and followed the procedure as per: https://github.com/tensorflow/examples/blob/master/lite/examples/smart_reply/android/how-to-build.md
I tried to build on Windows, and Linux (16.04) and I get the following error from bazel:
Linux:
amsha@amsha-linux:/local/mnt/workspace/workspace/tensorflowliteExamples/smartReply/examples/lite/examples/smart_reply/android/app$ bazel build libs/cc:smartreply_runtime_aar
WARNING: Output base '/usr2/amsha/.cache/bazel/_bazel_amsha/09e97388c3884f6fff92e89b26f572b5' is on NFS. This may lead to surprising failures and undetermined behavior.
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/316e6133888bfc39fb860a4f1a31cfcbae485aef.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
ERROR: /local/mnt/workspace/workspace/tensorflowliteExamples/smartReply/examples/lite/examples/smart_reply/android/app/libs/cc/BUILD:163:1: //libs/cc:smartreply_runtime_aar_dummy_app_for_so: no such attribute 'aapt_version' in 'android_binary' rule
ERROR: error loading package 'libs/cc': Package 'libs/cc' contains errors
INFO: Elapsed time: 0.401s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
Windows:
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/316e6133888bfc39fb860a4f1a31cfcbae485aef.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
ERROR: C:/workspace/bazelbuilds/smart_reply/android/app/libs/cc/BUILD:163:1: //libs/cc:smartreply_runtime_aar_dummy_app_for_so: no such attribute 'aapt_version' in 'android_binary' rule
ERROR: error loading package 'libs/cc': Package 'libs/cc' contains errors
INFO: Elapsed time: 88.009s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)

I am not too familiar with the bazel build system, however in:
https://github.com/tensorflow/examples/blob/master/lite/examples/smart_reply/android/app/WORKSPACE
the WORKSPACE file makes a reference to:
https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/316e6133888bfc39fb860a4f1a31cfcbae485aef.tar.gz
which gives a 404, rather then a tar.gz

Hi Amit,
Let me take a look at this and come back to you.
In general, if you just want to use gradle to build the app, you may download prebuilt AAR and forget about bazel (it is a optional step). That is done by gradle.

Hi Amit,
The problem is from bazel, the build tool. The latest bazel remove this attributes "aapt_version". I guess you must be using bazel >= 2.0.
As TensorFlow has a minimum version requirement of 0.19, it is this causing the breaking change with the bazel, while our dependency didn't update it.
A quick solution: If you build custom ops with current C++ code, you can use bazel 1.x.x (from [release(https://github.com/bazelbuild/bazel/releases), or https://bazel.build.
At the same time, we will figure out dependency update from our side. :-)

Okay, I will try again with an old version of bazel.
I have edited the C++ code so I can pass in which device to use (nnapi, gpu, cpu, number of threads, etc), and I have added a few instrumented tests. So, that would require me to rebuild the AAR.
I have some related questions.
In android studio the default build tool for jni/native apps is CMAKE, and android studio has tooling such that, I can step into the C++ code, use watchlists, etc.
What is the recommended (your own personal), work flow for making these types of native apps.
Do you write the C++ in android studio, or VS Code, or something else. Are you building from commandline (using bazel)? How do you debug your native code in your workflow? Do you use a fully featured debugger?
There are a couple external dependencies in this project, tf lite, RE2, flatbuffers. I was in the middle of rebuilding this app in CMAKE. But then I realized the .a I made for RE2 was not made for arm64 devices. (I am a bit new to cmake and c++ in general)
Do you recommend using bazel for such tasks? I believe I will just bite the bullet and transition to bazel since its the build tool of tensorflow lite (and I see many other google/android github projects using it). Do you have a recommended environment for writing bazel code, or do you do it in a regular text editor and just check for errors by running it.
Then on the topic of custom ops.
There are two ways that I see of writing custom ops. You write the ops and then register them in your C++ code. Or, if you are doing everything in java/kotlin you can put your code in a specific file location and build a custom tflite .aar.
However, in this project, I am unsure how the custom ops are being registered. I understand "RegisterSelectedOps" is related, but I cant find the documentation for it.
I see that "RegisterSelectedOps" should be overridden, but where is that happening? I suspect it has to do with the build system, and how the .aar is constructed. In that regard, I am sure I will figure it out as my bazel skills increase, but if you have any incite for me, that would be appreciated.
Again, thank you for your time, and answering my questions, and any additional advice you have.

Fresh projects with no code changes:
I used bazel 1.2.1 on windows, and I get some error related to com_google_protobuf.
Is this project supported on windows?
On ubuntu I had 3.0.0 installed, I then used "sudo apt-get --purge remove bazel" to uninstall.
Then followed:
https://docs.bazel.build/versions/master/install-ubuntu.html
to install bazel-1.0.0, and then I renamed it to bazel in usr/bin/
and got a error related to "'libs/cc/testdata': BUILD file not found in any of the following directories."
Which is true, there is no build file there, there is a build file located in the parent directory.
I will learn bazel, to better debug these issues. Its a bit inconvenient dealing with an older version of bazel.
Full error messages:
On Windows:
C:\workspace\SmartReplyRebuild\CleanSmartReply\examples\lite\examples\smart_reply\android\app>bazel version
Build label: 1.2.1
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Nov 26 15:24:17 2019<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>
C:\workspace\SmartReplyRebuild\CleanSmartReply\examples\lite\examples\smart_reply\android\app>bazel build libs/cc:smartreply_runtime_aar
INFO: Call stack for the definition of repository 'com_google_protobuf' which is a tf_http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl:121:19):

C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/tensorflow/workspace.bzl:434:5
C:/workspace/smartreplyrebuild/cleansmartreply/examples/lite/examples/smart_reply/android/app/WORKSPACE:39:1
INFO: Repository 'com_google_protobuf' used the following cache hits instead of downloading the corresponding file.

Hash 'b9e92f9af8819bbbc514e2902aec860415b70209f31dfc8c4fa72515a5df9d59' for https://storage.googleapis.com/mirror.tensorflow.org/github.com/protocolbuffers/protobuf/archive/310ba5ee72661c081129eb878c1bbcec936b20f0.tar.gz
If the definition of 'com_google_protobuf' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'com_google_protobuf':
Traceback (most recent call last):
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 101
_apply_patch(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 67, in _apply_patch
_wrap_bash_cmd(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 28, in _wrap_bash_cmd
fail(<1 more arguments>)
BAZEL_SH environment variable is not set
INFO: Call stack for the definition of repository 'remotejdk11_win' which is a http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):

C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/utils.bzl:205:9
/DEFAULT.WORKSPACE.SUFFIX:249:1
INFO: Call stack for the definition of repository 'remote_java_tools_windows' which is a http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/utils.bzl:205:9
/DEFAULT.WORKSPACE.SUFFIX:270:1
INFO: Call stack for the definition of repository 'android_tools' which is a http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
/DEFAULT.WORKSPACE.SUFFIX:343:1
ERROR: Analysis of target '//libs/cc:smartreply_runtime_aar' failed; build aborted: no such package '@com_google_protobuf//': Traceback (most recent call last):
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 101
_apply_patch(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 67, in _apply_patch
_wrap_bash_cmd(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 28, in _wrap_bash_cmd
fail(<1 more arguments>)
BAZEL_SH environment variable is not set
INFO: Elapsed time: 6.725s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
currently loading: @org_tensorflow//tensorflow

on ubuntu:
amsha@amsha-linux:/local/mnt/workspace/workspace/tfliteExample/SmartReply/examples/lite/examples/smart_reply/android/app$ bazel build libs/cc:smartreply_runtime_aar
WARNING: Output base '/usr2/amsha/.cache/bazel/_bazel_amsha/a55405c8a948a2ec30cda52a5973c4a9' is on NFS. This may lead to surprising failures and undetermined behavior.
INFO: Writing tracer profile to '/usr2/amsha/.cache/bazel/_bazel_amsha/a55405c8a948a2ec30cda52a5973c4a9/command.profile.gz'
ERROR: /local/mnt/workspace/workspace/tfliteExample/SmartReply/examples/lite/examples/smart_reply/android/app/libs/cc/BUILD:17:1: no such package 'libs/cc/testdata': BUILD file not found in any of the following directories.

/local/mnt/workspace/workspace/tfliteExample/SmartReply/examples/lite/examples/smart_reply/android/app/libs/cc/testdata and referenced by '//libs/cc:smartreply_ops'
ERROR: Analysis of target '//libs/cc:smartreply_runtime_aar' failed; build aborted: no such package 'libs/cc/testdata': BUILD file not found in any of the following directories.
/local/mnt/workspace/workspace/tfliteExample/SmartReply/examples/lite/examples/smart_reply/android/app/libs/cc/testdata
INFO: Elapsed time: 0.333s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 0 targets configured)
currently loading: @org_tensorflow//tensorflow/lite/schema
amsha@amsha-linux:/local/mnt/workspace/workspace/tfliteExample/SmartReply/examples/lite/examples/smart_reply/android/app$

Hi Amit,
For your Ubuntu case, I also find this too: libs/cc/testdata/BUILD is mistakenly removed. Here is the content:
package(
    default_visibility = ["//visibility:public"],
    licenses = ["notice"],  # Apache 2.0
)

exports_files(glob(["*"]))

filegroup(
    name = "testdata",
    srcs = glob([
        "**/*",
    ])
)

(Requires step 1 to download smartreply.tflite to that testdata folder)
It fixes the problem from my side.
FYI, a patch is ongoing to fix this and also update dependencies for bazel. :-)

Okay, I will add the missing project files... and see if that works...
Any further comments on my previous questions would be appreciated.

Bazel is the open source build tool by Google, which supports cross platforms and language compilation. The BUILD of Bazel resolves external dependencies from other libraries. TensorFlow uses this, so if your changes need to depends on deep changes or customization related, it is recommended. (FYI, we are planning to provide more examples with other build system, in particular for those example applications in this repo.)
There is a tutorial Building Android Apps with Bazel. However, we provide gradle for the example apps is mainly because it is more common for Android development.
Tests guard the correctness of each component, so whatever text editor or IDEs should be fine. It is free for you to choose different tools for each part and put them together. My suggestion is that you may use Bazel to custom ops and lower-level interface to build AAR, and use gradle to create Android app. Our c/c++ interface contains the richest utilities for customization.

Fresh Build:
On Ubuntu: works
On Windows: com_google_protobuf related error
full error:
C:\workspace\SmartReplyRebuild\CleanSmartReply\examples\lite\examples\smart_reply\android\app>bazel build libs/cc:smartreply_runtime_aar
INFO: Call stack for the definition of repository 'com_google_protobuf' which is a tf_http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl:121:19):

C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/tensorflow/workspace.bzl:434:5
C:/workspace/smartreplyrebuild/cleansmartreply/examples/lite/examples/smart_reply/android/app/WORKSPACE:39:1
INFO: Repository 'com_google_protobuf' used the following cache hits instead of downloading the corresponding file.

Hash 'b9e92f9af8819bbbc514e2902aec860415b70209f31dfc8c4fa72515a5df9d59' for https://storage.googleapis.com/mirror.tensorflow.org/github.com/protocolbuffers/protobuf/archive/310ba5ee72661c081129eb878c1bbcec936b20f0.tar.gz
If the definition of 'com_google_protobuf' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'com_google_protobuf':
Traceback (most recent call last):
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 101
_apply_patch(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 67, in _apply_patch
_wrap_bash_cmd(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 28, in _wrap_bash_cmd
fail(<1 more arguments>)
BAZEL_SH environment variable is not set
INFO: Call stack for the definition of repository 'remote_java_tools_windows' which is a http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):

C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/utils.bzl:205:9
/DEFAULT.WORKSPACE.SUFFIX:270:1
INFO: Call stack for the definition of repository 'remotejdk11_win' which is a http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/utils.bzl:205:9
/DEFAULT.WORKSPACE.SUFFIX:249:1
INFO: Call stack for the definition of repository 'android_tools' which is a http_archive (rule definition at C:/users/amsha/_bazel_amsha/sqsdm6y6/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
/DEFAULT.WORKSPACE.SUFFIX:343:1
ERROR: Analysis of target '//libs/cc:smartreply_runtime_aar' failed; build aborted: no such package '@com_google_protobuf//': Traceback (most recent call last):
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 101
_apply_patch(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 67, in _apply_patch
_wrap_bash_cmd(ctx, <1 more arguments>)
File "C:/users/amsha/_bazel_amsha/sqsdm6y6/external/org_tensorflow/third_party/repo.bzl", line 28, in _wrap_bash_cmd
fail(<1 more arguments>)
BAZEL_SH environment variable is not set
INFO: Elapsed time: 6.728s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
currently loading: @org_tensorflow//tensorflow

In the readme, it should be noted that it doesn't work on windows, and that an old version of bazel is needed, presently.
Also, yes I have done the bazel tutorial on the getting started page... and I understand the concept of tests. Thanks for the advice...
And, I guess I will just have to read the codebase to figure out the rich C++ feature set...

Hi Amit,
We updated the custom ops AAR dependencies, and polished the guidance. You may follow it to build your own AAR. Please let us know if you have any question. Thanks!

Hi Tian,
Why is the .aar that I built twice the size of the default .aar (I have not included any of my additional code).
I also tried the '-c opt' option as specified:
"bazel build -c opt --fat_apk_cpu=arm64-v8a,armeabi-v7a cc:smartreply_runtime_aar"
which is also wrong, it should be:
bazel build -c opt --fat_apk_cpu=arm64-v8a,armeabi-v7a **libs/**cc:smartreply_runtime_aar
Thank you for the time.


Google Scholar gets bad "Description" field

It may be a Scholar issue we cannot fix, but please look into it. Seems like Scholar ignores our Description field and instead summarises the webpage somehow, which ends badly. See e.g. this Scholar record of License Selector

might actually be related to #431

The general resposne from google scholar is

Scholar is unable to index datasets

With that and a rather long/random/unknown reindex times, I'd leave this and #431 to some later date


[Event Request] Report 7323 "Create Invt Put-away/Pick/Mvmt" - OnBeforeCheckWhseRequest

We would like an event OnBeforeCheckWhseRequest to override the functionality in CheckWhseRequest
Thanks
local procedure CheckWhseRequest(var WhseRequest: Record "Warehouse Request") SkipRecord: Boolean
var
    SalesHeader: Record "Sales Header";
    TransferHeader: Record "Transfer Header";
    GetSrcDocOutbound: Codeunit "Get Source Doc. Outbound";
    IsHandled: Boolean;
begin
    OnBeforeCheckWhseRequest(WhseRequest, SkipRecord, ShowError, IsHandled);
    if not IsHandled then begin
        // ...
    end;
    OnAfterCheckWhseRequest(WhseRequest, SkipRecord);
end;

//...

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckWhseRequest(var WarehouseRequest: Record "Warehouse Request"; var SkipRecord: Boolean; ShowError: Boolean; var IsHandled: Boolean)
begin
end;

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


Chore(dev-deps): bump @okp4/ui to v2

Self explanatory.

:tada: This PR is included in version 1.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Gradle plugin?

@himion0 Could you provide a description for this? Do you mean a gradle build script?
The build system used in jInstagram is maven.

Closing. Needs more detail. Reopen if needed.


suggested approach to add Lets Encrypt ?

Can someone suggest their preferred approach to add lets encrypt.
I prefer to do it locally and not in the load balancer above.

Fixed in master


Draft: Optimization for GLT search

TBD

Labelled on hold until we have resources to revisit this. Possible actions items are:

Describe the change (logic + testing + benchmark results)
Add any more changes based on new insights


Fix hsl color preview and improved color-picker UI for connect playground

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on enhancing the color selection functionality in the ColorInput component by integrating a new Popover UI from @radix-ui/react-popover and a color picker from react-pick-color. It also updates the dependencies in package.json.
Detailed summary

Removed the ColorInput.module.css file.
Added @radix-ui/react-popover and react-pick-color to package.json.
Updated ColorInput component to use Popover for color selection.
Integrated ColorPicker within the PopoverContent.
Refactored onChange handling in ColorInput.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5193  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite