Using custom Python from nixpkgs-python results in an interpreter unable to find glibc (I think)

  languages.python = {
    enable = true;
    version = "3.11.6";
    venv = {
      enable = true;
    };
  };

inputs:
  nixpkgs:
    url: github:NixOS/nixpkgs/nixos-23.11
  nixpkgs-python:
    url: github:cachix/nixpkgs-python
  devenv:
    url: github:mcdonc/devenv/python-rewrite

allowUnfree: true

(this only works if you use the nixpkgs-python cachix cache or turn off sandboxing, see #901)
devenv shell
Building shell ...
trace: warning: For cachix.push and cachix.pull attributes to have an effect,
upgrade to devenv 1.0 or later.

Entering shell ...

Python interpreter changed, rebuilding Python venv...
/nix/store/m29jrr9cy9wg9kgy7k1dyr0gc44a5r43-python3-3.11.6-env/bin/python3.11 -m venv --upgrade-deps /home/chrism/projects/apex/eao_dash/.devenv/state/venv
/nix/store/3w7xj32jhxqhkvn66x67vql9lzmbffyw-python3-3.11.6/bin/python3.11: error while loading shared libraries: __vdso_gettimeofday: invalid mode for dlopen(): Invalid argument
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/.devenv_interpreter: No such file or directory
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/bin/activate: No such file or directory
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/bin/pip: No such file or directory
✨ devenv 0.6.3 is out of date. Please update to 1.0: https://devenv.sh/getting-started/#installation
(devenv)
[chrism@thinknix512:~/projects/apex/eao_dash]$ /nix/store/m29jrr9cy9wg9kgy7k1dyr0gc44a5r43-python3-3.11.6-env/bin/python3.11
/nix/store/3w7xj32jhxqhkvn66x67vql9lzmbffyw-python3-3.11.6/bin/python3.11: error while loading shared libraries: __vdso_gettimeofday: invalid mode for dlopen(): Invalid argument
(devenv)

Note that working with nixpkgs-python directly works fine:
❯ nix build '.#"3.11.6"'
❯ ./result/bin/python -c "pass"

So it likely has something to do with LD_LIBRARY_PATH or possibly the Python binary wrappers.

It's the Python binary wrappers:
❯ devenv shell
Building shell ...
trace: warning: For cachix.push and cachix.pull attributes to have an effect,
upgrade to devenv 1.0 or later.

Entering shell ...

Python interpreter changed, rebuilding Python venv...
/nix/store/m29jrr9cy9wg9kgy7k1dyr0gc44a5r43-python3-3.11.6-env/bin/python3.11 -m venv --upgrade-deps /home/chrism/projects/apex/eao_dash/.devenv/state/venv
/nix/store/3w7xj32jhxqhkvn66x67vql9lzmbffyw-python3-3.11.6/bin/python3.11: error while loading shared libraries: __vdso_gettimeofday: invalid mode for dlopen(): Invalid argument
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/.devenv_interpreter: No such file or directory
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/bin/activate: No such file or directory
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/.devenv_requirements: No such file or directory
Requirements changed, running pip install -r /nix/store/2cjacq6j9ms8f588fy4395h3d246gadk-requirements.txt...
bash: /home/chrism/projects/apex/eao_dash/.devenv/state/venv/bin/pip: No such file or directory
✨ devenv 0.6.3 is out of date. Please update to 1.0: https://devenv.sh/getting-started/#installation
(devenv)
[chrism@thinknix512:~/projects/apex/eao_dash]$ /nix/store/m29jrr9cy9wg9kgy7k1dyr0gc44a5r43-python3-3.11.6-env/bin/python3.11
/nix/store/3w7xj32jhxqhkvn66x67vql9lzmbffyw-python3-3.11.6/bin/python3.11: error while loading shared libraries: __vdso_gettimeofday: invalid mode for dlopen(): Invalid argument
(devenv)
[chrism@thinknix512:~/projects/apex/eao_dash]$
(devenv)
[chrism@thinknix512:~/projects/apex/eao_dash]$ /nix/store/3w7xj32jhxqhkvn66x67vql9lzmbffyw-python3-3.11.6/bin/python3.11
Python 3.11.6 (main, Oct  2 2023, 13:45:54) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
(devenv)
[chrism@thinknix512:~/projects/apex/eao_dash]$

Disabling the inclusion of pkgs.pythonManylinuxPackages.manylinux2014Package in the definition of libraries allows the wrapper to work.
I suspect that putting manylinux on the LD_LIBRARY_PATH is the major rationale for the wrapper because libraries just kinda work anyway, but I'm not sure how it would work?  nixpkgs-python is going to produce things that link to some glibc, and the manylinux wrapper is going to put another glibc on the LD_LIBRARY_PATH that will be found first.
I'm going to try to hit up @domenkozar in the devenv element room sometime this week so I can understand how this might be meant to work.

Until this is fixed, adding this to your devenv.nix:
manylinux.enable = false;

Will work around it.

Irritating.  Although numpy installs as a "manylinux" wheel, it actually has a dependency on a non-manylinux library (zlib):
[chrism@optinix:~/projects/devenv/tmp/.devenv/state/venv/lib/python3.11/site-packages/numpy]$ find . -name "*.so"|xargs ldd|grep "not found"
	libz.so.1 => not found
	libz.so.1 => not found
	libz.so.1 => not found

Note that doing some shenanigans to synchronize nixpkg-python's nixpkgs input to the nixpkgs input produces a working wrapper (it can create the venv):
inputs:
  nixpkgs:
    url: github:NixOS/nixpkgs/nixos-23.11
  nixpkgs-python:
    url: github:cachix/nixpkgs-python
    inputs:
      nixpkgs:
        follows: nixpkgs

#920 will fix this issue.

#920 is merged!


Add an annotation to allow particular links to be skipped during link validation

Now that we're doing link validation, we might actually have cause to disable it for particular links that we know won't pass validation (like http://localhost:8080).

Codecov Report

Merging #7 (73e3ca5) into main (e2a7d89) will increase coverage by 0.56%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   97.73%   98.29%   +0.56%
==========================================
  Files           5        5
  Lines         221      235      +14
==========================================
+ Hits          216      231      +15
+ Misses          5        4       -1

Impacted Files
Coverage Δ

mechanical_markdown/__init__.py
100.00% <100.00%> (ø)

mechanical_markdown/parsers.py
100.00% <100.00%> (+2.22%)
:arrow_up:

mechanical_markdown/recipe.py
98.03% <100.00%> (+0.21%)
:arrow_up:

Continue to review full report at Codecov.

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


remove optional webhook since we recommend 1.9

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

also side car injector is already part of istio-demo or istio-auth-demo yaml files

Deploy preview for preliminary-istio failed.
Built with commit f2659e2913f32673365229df53b8dd2d49c65bce
https://app.netlify.com/sites/preliminary-istio/deploys/5b0ec995c9659279d6623434

@ayj @geeknoid thank you!  PTAL

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid,linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Disabled failing LS tests for completion support of isolated/function keyword

Description:
Failing isolated/function keyword completion support LS tests were disabled with following commits.

ebb4f58 in PR #25778
3a29197 in PR #26888

Summary of disabled tests are as follows.
org.ballerinalang.langserver.completion.latest.ClassDefContextTest

config12.json
config13.json

org.ballerinalang.langserver.completion.latest.TypeDescContextTest

function_typedesc16.json
function_typedesc17.json
function_typedesc18.json
function_typedesc19.json

org.ballerinalang.langserver.completion.latest.ExpressionContextTest

anon_func_expr_ctx_config1a.json
anon_func_expr_ctx_config1b.json
object_constructor_expr_ctx_config1.json

Will be addressed along with #26455

Issue description updated.

Blocked by: https://github.com/ballerina-platform/ballerina-lang/issues/31382

We can use the following API introduced in #31762 to access the leading invalid tokens.
https://github.com/ballerina-platform/ballerina-lang/blob/1dc0f3d9dcef94a4bad7a01a997f071f6b7bc687/compiler/ballerina-parser/src/main/java/io/ballerina/compiler/syntax/tree/Node.java#L156
i.e. node.leadingInvalidTokens() will give the qualifier list.

subtask of https://github.com/ballerina-platform/ballerina-lang/issues/30685


Notebook: Missing command palette commands

new cell
delete cell
move cell up/down
run cell
switch rendered mime type for cell

This can be done be adding f1 to each action definition but we need to make sure that they all work fine when invoked from command palette.

Did this for all except changing the output type, this isn't an action and should be refactored.

Actually I don't think we can really do it for that because there are multiple outputs with different types and there is no concept of a "current output".


Spike - integrate voluntapp

De verificat daca si cum putem importa userii as is direct in baza de date sso

Issue migrated to civictechro/auth-sso#5


emdb search-url needs protocol

MI:0936
search-url
From:
www.ebi.ac.uk/pdbe/entry/emdb/${ac}
To:
https://www.ebi.ac.uk/pdbe/entry/emdb/${ac}
From the automatic xrefs generation to work in the complex portal

Solved.


VM_REPLACE_TITLE_XY reading global variable index instead of value

Describe the bug
I am attempting use the VM_REPLACE_TITLE_XY method to replace a tile who's coordinates I provide via global variables. The VM_REPLACE_TITLE_XY appears to be using the index of the global variables instead of their assigned value.
To Reproduce
Steps to reproduce the behavior:

Create a logo scene called tilescene. This will be used to swap tiles.
Create an empty script.
Set two global variables. In my case, I set two variables based on the Player's position and added +1 to the X value. These variables are called VAR_CURSORX_1 and VAR_CURSORY_0.
Add following GBVM Script:

VM_PUSH_CONST 3
VM_REPLACE_TILE_XY VAR_CURSORX_1, VAR_CURSORY_0 ___bank_bg_tilescene_tileset, _bg_tilescene_tileset, .ARG0
VM_POP 1

Call the script OnInt.
Instead of updating the title at the position I intended, the script updates the tile at position 4,5. I believe these are the index values of my two variables. (I included a display action in my screenshot below to show this).

Expected behavior
I was hoping the script would update the tile at the position I provided, and not the use the index values of the variables.
Screenshots

Platform (please complete the following information):

OS: [Windows 10.0.19045]
App version [3.2.1]

Additional context
Apologies if this is user error, but I can't think of another way to get VM_REPLACE_TITLE_XY to read the value of the variables instead of their index.

VM_REPLACE_TILE_XY only accepts values as the coordinates and not variables. To pass variables as the coordinates use VM_GET_TILE first and then VM_REPLACE_TILE.

Oh awesome I’ll give that a try thanks!

Quick question if you don’t mind @pau-tomas , are there any examples of VM_Get_Tile and VM_Replace_Tile out there? I’m having trouble finding any. I’m trying to figure out the syntax and inputs for using them and how they’d work together. Thanks!


Readme/code remarks

1:
Micros() might not be 1 microseconds resolution, depends on the target. It could be 4 microseconds according to the arduino website. This should be made clear in both doxygen and the readme, or that micros() is used for timestamping and its resolution is depending in the target.
"Please refer to the description of these functions for the maximum possible duration:", so maybe add here "and minimum resolution".
2:
Isnt there a way to store the delta data (start to end) in the class as well? Or is this an unusual practice. Reason being: now you still have to create a seperate storage variable for delta, while this is the most used reason for timestamping. Would be nice to contain it in the class somehow as a variable thats updated on calling stop/end.
3:
This is more a matter of what i am used to and see most commonly done, i would call the timestamp functions start and end, because you are not actually stopping something but just ending a stamping delta.
4:
Wouldnt it be nice to have an override function to print your own deltatimestamp instead of (again) internally creating 1 before printing? So a .print() and a .print(mydelta) function (both micros and millis). For my usecases this would be most usefull.
5:
This is more common for all your cpp projects, and I might lack c++ knowledge so forgive me for asking dumb questions, but why do you not have a destructor in most of your classes? Is the class instance cleaned up nicely even without destructor, might someone want to do that? Or will this cause memory leaks?
Edit: now i see. Compiler makes a destructor if you dont create one. So
should be fine as long as you
dont malloc i guess?
https://en.cppreference.com/w/cpp/language/destructor
6:
How much overhead (time) would calling your functions with this class have (nanoseconds? 1 microsecond?). Also system/clock dependent, i know, but might be relevant on low end devices. Maybe add a warning for low end/slow devices that this might actually introduce some unwanted delay when measuring in the lower microsecond regions.
7:
Interrupts might come in just when you stored the delta. This can still give sime extra microseconds delay that you will not return in the delta. No need to fix, you cant, but maybe add a disclaimer somewhere.

Can you create separate issues for each topic? This makes it easier to start conversations and assign issues.
Thanks!

I will create 5 separate items then and remove this one. The 5th comment is probably no longer an issue, and 6th and 7th can be combined.

Split-up in some separate issues.


Problem with configuration

Hello!
I have ELK Stack, which is protected by searchguard. Kibi works properly, but watcher/reporter does't execute. every 1 min (set in watcher config) I get an error in kibi logs:

kibi           | {"type":"log","@timestamp":"2017-12-14T09:33:55Z","tags":["status","debug","Sentinl","scheduler
"],"pid":1,"message":"Reloading Watchers..."}
kibi           | {"type":"log","@timestamp":"2017-12-14T09:33:55Z","tags":["status","debug","Sentinl","scheduler
","auth"],"pid":1,"message":"Enabled: true"}
kibi           | {"type":"log","@timestamp":"2017-12-14T09:33:55Z","tags":["status","debug","Sentinl","scheduler
","auth"],"pid":1,"message":"Mode: basic"}
kibi           | {"type":"log","@timestamp":"2017-12-14T09:33:55Z","tags":["status","debug","Sentinl","get_elast
icsearch_client","AUTH"],"pid":1,"message":"Impersonate ES client by admin"}
kibi           | Elasticsearch ERROR: 2017-12-14T09:33:55Z
kibi           |   Error: Request error, retrying
kibi           |   POST https://localhost:9200/watcher/watch/_count => connect ECONNREFUSED <IP_ADDRESS>:9200
kibi           |       at Log.error (/usr/share/kibi/plugins/sentinl/node_modules/elasticsearch/src/lib/log.js:2
25:56)
kibi           |       at checkRespForFailure (/usr/share/kibi/plugins/sentinl/node_modules/elasticsearch/src/li
b/transport.js:258:18)
kibi           |       at HttpConnector. (/usr/share/kibi/plugins/sentinl/node_modules/elasticsearch/
src/lib/connectors/http.js:157:7)
kibi           |       at ClientRequest.bound (/usr/share/kibi/plugins/sentinl/node_modules/elasticsearch/node_m
odules/lodash/dist/lodash.js:729:21)
kibi           |       at emitOne (events.js:96:13)
kibi           |       at ClientRequest.emit (events.js:188:7)
kibi           |       at TLSSocket.socketErrorListener (_http_client.js:309:9)
kibi           |       at emitOne (events.js:96:13)
kibi           |       at TLSSocket.emit (events.js:188:7)
kibi           |       at emitErrorNT (net.js:1277:8)
kibi           |       at _combinedTickCallback (internal/process/next_tick.js:80:11)
kibi           |       at process._tickDomainCallback (internal/process/next_tick.js:128:9)
kibi           |
kibi           | Elasticsearch WARNING: 2017-12-14T09:33:55Z
kibi           |   Unable to revive connection: https://localhost:9200/
kibi           |
kibi           | Elasticsearch WARNING: 2017-12-14T09:33:55Z
kibi           |   No living connections
kibi           |
kibi           | {"type":"log","@timestamp":"2017-12-14T09:33:55Z","tags":["status","error","Sentinl","scheduler
"],"pid":1,"message":"An error occurred while looking for indices: Error: No Living connections"}

(kibi and elasticsearch was started in docker container)
now i have following in kibi.yml:

elasticsearch.username: "admin" # role with all rights
elasticsearch.password: "pass"
.....
sentinl:
  settings:
    email:
      active: true
      user<EMAIL_ADDRESS>      password: passss
      host: smtp.mail.com
      timeout: 1000
    report:
      active: true
      tmp_path: /tmp/
    authentication:
      enabled: true
      mode: 'basic'
      https: true
      admin_username: 'admin'  # the same role, but i tried system user before
      admin_sha: 'encrypted_pass'
      user_index: 'sentinl_users'
      user_type: 'user'
      verify_certificate: false
      path_to_pem: 'config/signing-ca.pem'
      encryption:
        algorithm: 'aes256'
        key: 'b9726b04608ac48ecb0b6918214ade54'
        iv_length: 16

what am I doing wrong?

Not all versions / releases are the same. What version of ELK and SENTINL are you actually using?

  "name": "sentinl",
  "version": "5.4.3-1",
  "kibana": {
    "version": "5.4.3"
  }

Actually I downloaded demo siren platform with preinstalled sentinl from https://support.siren.io/support/solutions/articles/17000058666-platform-5-4-3-1 , disable and remove all unnecessary for me things (graph browser, gremlin server, vanguard plugin..)

Have you configured authentication details anywhere?

sg_config.yml:

searchguard:
  dynamic:
    http:
      anonymous_auth_enabled: false
      xff:
        enabled: false
    authc:
      transport_auth_domain:
        enabled: true
        order: 2
        http_authenticator:
          type: basic
        authentication_backend:
          type: internal
      basic_internal_auth_domain:
        enabled: true
        http_authenticator:
          type: basic
          challenge: true
        authentication_backend:
          type: intern

sg_roles.yml:
Permissions for a Sentinl user.

sentinl:
  cluster:
    - "indices:data/write/bulk*"
    - "indices:admin/template/*"
    - KIBI_CLUSTER
  indices:
    '*':
      '*':
        - KIBI_READONLY
    'watcher_alarms*':
      '*':
        - KIBI_READWRITE
        - CREATE_INDEX
    'watcher*':
      '*':
        - KIBI_READWRITE
        - CREATE_INDEX
        - MANAGE
        - INDEX
        - READ
        - WRITE
        - DELETE

another configs almost the same as here: https://docs.support.siren.io/5.4.3/platform/#_access_control_configuration

in kibi.yml I also have this:

kibi_access_control:
  enabled: true
  cookie:
    password: "12345678123456781234567812345678"
    secure: false

  admin_role: kibiadmin
  sentinl:
    elasticsearch:
      username: sentinl
      password: sKzM2VBBB5x2
  acl:
    enabled: false

Hi @DimaBogdan-phie
The following config is needed only if you want to impersonate watcher. In Sentinl, impersonation is attaching specific authentication credentials to a watcher. Of course, the credentials should be configured on Search Guard side. Also, the credentials should be inserted in the username an password input fields in the General tab of the watcher editor.
...
    authentication:
      enabled: true
      mode: 'basic'
      https: true
      admin_username: 'admin'  # the same role, but i tried system user before
      admin_sha: 'encrypted_pass'
      user_index: 'sentinl_users'
      user_type: 'user'
      verify_certificate: false
      path_to_pem: 'config/signing-ca.pem'
      encryption:
        algorithm: 'aes256'
        key: 'b9726b04608ac48ecb0b6918214ade54'
        iv_length: 16

You don't need all these authentication config If you want to run Sentinl on behalf of a single user - sentinl. This kibi.yml config part
  ...
  sentinl:
    elasticsearch:
      username: sentinl
      password: sKzM2VBBB5x2

Thus, if you don't want the impersonation, just eliminate authentication part from kibi.yml and execute watcher again. It is the default behavior. It works like this when you unpack Kibi distribution and use standard sentinl user with password password.
And If you want impersonation, please make sure you inserted correct credentials in the username an password input fields in the General tab of the watcher editor.
Let me know.

@DimaBogdan-phie here is the recently updated wiki page about authentication in Sentinl https://github.com/sirensolutions/sentinl/wiki/Authentication

Thanks!
I've tired this before and had another error.
Now I did what you suggested, and have this:

kibi           | {"type":"log","@timestamp":"2017-12-14T19:18:55Z","tags":["status","debug","Sentinl","scheduler"],"pid":1,"message":"Reloading Watchers..."}
kibi           | {"type":"log","@timestamp":"2017-12-14T19:18:55Z","tags":["status","debug","Sentinl","scheduler","auth"],"pid":1,"message":"Enabled: false"}
kibi           | {"type":"log","@timestamp":"2017-12-14T19:18:55Z","tags":["status","error","Sentinl","scheduler"],"pid":1,"message":"An error occurred while looking for indices: Authentication Exception :: {\"path\":\"/watcher/watch/_count\",\"query\":{},\"statusCode\":401,\"response\":\"Unauthorized\",\"wwwAuthenticateDirective\":\"Basic realm=\\\"Search Guard\\\"\"}"}

You can close this issue. That was a problem with roles and permissions.


Create Experiment validation for mandatory params

This PR fixes #559

@khansaad - Please update the negative tests for createExperiment json keys with blank/NULL/invalid with the expected error messages and include assertions for the same in the existing functional tests.

Closing stale PRs


PSP core

Could it be possible to have the PlayStation portable core in the future?

See https://github.com/BinBashBanana/webretro/issues/6#issuecomment-1246073449 -- yes this may be possible. I got some of it done then asked for help because I'm less experienced in that area

Also see #28


Internet Explorer does not display any traders

IE does not support FETCH!
So another polyfill.. 'whatwg-fetch'


Until 2.0 is released, add README docs for network and labels

The following items are required for a container to work with the vhost-proxy, but are not mentioned in the README.
Until 2.0 is out, we should add them to aid in custom-container images that are intended to work with the vhost proxy.
Proposed changes:

Note that both io.docksal.virtual-host and io.docksal.project-root are required labels for service containers.
Note that io.docksal.project-root is a supported label.
Note that a network needs to be added by the name of "${COMPOSE_PROJECT_NAME}_default".
Provide example docker command and docker-compose yaml in the README.
Make any necessary updates to the 2.0 Roadmap for parity.

This should be reopened for the following reasons:

Maintainer closed #72 and created #77 without including the existing useful commit
Label io.docksal.project-root was omitted from the closing PR #77


change the meta tag name

Hi,
First of all, thank you for this npm package. It actually helps me a lot. While I was working on a project, I have noticed it has a tiny issue when I tried to get og:image from head. Upon researching, I have found that you are trying to find 'meta[name="og:image"]' where I think you should find 'meta[property="og:image"]'.

That's a valid issue but some sites do attach the Social image with the name attribute. So we can check for the property attribute first if not present the fallback to the name attribute. A logical OR assignment will do the trick.
PRs welcome.


Do not add partitions in EFI ISOs

There is no need of adding partition headers in EFI ISOs as they can still be dded to a USB and boot from there.
Related to rancher/elemental#365
Signed-off-by: David Cassany<EMAIL_ADDRESS>

In relation to rancher/elemental#365 the xorriso maintainer noted it is not possible to add an additional session to the iso image without breaking the partition metadata. Then I tried to remove the partition data to keep it simple and also realized I was capable to boot the iso as cdrom and as disk with qemu. I still have to experiment with some real hardware.
The relevant thing with this setup is that it is possible to add the yaml registration file into the iso without having to rebuild it. That means we could eventually release an ISO and then call
xorriso -boot_image any keep -dev <path_to_released_iso> -map <path_to_registration_yaml> /livecd-cloud-config.yaml

and in less than a second the ISO is ready.
I believe this is valuable for if we ever consider adding the ISO build into the elemental-operator.

This would be amazing!

Hi,
as i wrote in
https://github.com/rancher/elemental/issues/365#issuecomment-1261852353
this change will probably keep some EFI implementations from booting the
ISO from USB stick or other hard-disk-like storage devices.
The remaining El Torito EFI boot image is supposed only to work from
optical media (including virtual ones).
OVMF is more tolerant in this aspect than the specs and than other
real iron EFI implementations allow.
Have a nice day :)
Thomas

Hi,
as i wrote in rancher/elemental#365 (comment) this change will probably keep some EFI implementations from booting the ISO from USB stick or other hard-disk-like storage devices.
The remaining El Torito EFI boot image is supposed only to work from optical media (including virtual ones). OVMF is more tolerant in this aspect than the specs and than other real iron EFI implementations allow.
Have a nice day :)
Thomas

Thanks for the insights and the recomendation. This is all valuable information.

Closing since there is no need to adapt anything. The changes here could lead, for instance, to unbootable USB sticks.
In fact the real issue on trying to modify or customize the build by elemental-cli is using an up to date xorriso.


[Event Request] codeunit 86 "Sales-Quote to Order" - OnRunOnBeforeValidateSalesPerson

Describe the request
Hello, can you please add a new Event OnRunOnBeforeValidateSalesPerson in codeunit 86 "Sales-Quote to Order"?
    trigger OnRun()
    var
.
.
.
        Cust.Get(Rec."Sell-to Customer No.");
        Cust.CheckBlockedCustOnDocs(Cust, Rec."Document Type"::Order, true, false);
        if Rec."Sell-to Customer No." <> Rec."Bill-to Customer No." then begin
            Cust.Get(Rec."Bill-to Customer No.");
            Cust.CheckBlockedCustOnDocs(Cust, Rec."Document Type"::Order, true, false);
        end;
        Rec.CalcFields("Amount Including VAT", "Work Description");
        OnRunOnBeforeValidateSalesPerson(Rec);
        Rec.ValidateSalesPersonOnSalesHeader(Rec, true, false);

        Rec.CheckForBlockedLines();

        CheckInProgressOpportunities(Rec);

        CreateSalesHeader(Rec, Cust);

        TransferQuoteToOrderLines(SalesQuoteLine, Rec, SalesOrderLine, SalesOrderHeader, Cust);
        OnAfterInsertAllSalesOrderLines(SalesOrderLine, Rec, SalesOrderHeader);

    [IntegrationEvent(false, false)]
    local procedure OnRunOnBeforeValidateSalesPerson(var SalesHeader: Record "Sales Header")
    begin
    end;

Additional context
We have additional values to calculate the Amount Including VAT and need to recalculate it before being inserted.
Internal work item: AB#547369

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


Implement the Display trait for the Instruction struct

Is your feature request related to a problem? Please describe.
Like what happens with the Memory struct we sometimes want to print the instruction in order to debug the VM and right now this is really hard to understand with the current format.
Describe the solution you'd like
We should implement the Display trait for it to make it a little bit clearer to understand the fields inside the struct.

I would like to take this on

Not necessary


Rewrite action in golang

Some advantages of this rewrite:

run native golang library in workflow without dockerfile

This will lead to speedup in action running
ability to distribute to other CI systems easily

aligned with other tools in infra community

this work is being do in go branch

This is now merged in #35


FIX: is test in Expr.__eq__.

Shortcuts some expensive isidentical() checks for when comparing an
object with itself.
ping @jcrist

Closing; #1348 is a superset of this PR.


Correcting README

Fixing the <groupId> and updating the versions.

I think we should leave the package as rdl, not ardielle.

Isn't that what I did?

Sorry, my bad. Yes, the docs now match reality, which is good.

👍

Never mind, I misread. 👍


Added WiX detection to MSI Parser.

[x] Have you signed the Contributor License Agreement?
[x] Are you working against an Issue?

Resolves https://github.com/microsoft/winget-create/issues/222.
This PR adds WiX detection to the MSI Parser, inspired by similar changes to YamlCreate.ps1. Unfortuately, since there isn't a silver bullet way to determine if a MSI was created by WiX several things are checked.
Also, it seems to reformat PackageParser.cs for some reason, I suppose there was some style issue that was corrected during commit.
Tested: manually. As always, I'm happy to write unit tests if necessary.
Microsoft Reviewers: Open in CodeFlow

/azp run

Component Governance down again?
Starting: NOTICE File Generator
==============================================================================
Task         : OSPO NOTICE File Generator
Description  : Generates a NOTICE file based on a snapshot
Version      : 0.5.14
Author       : ospo
Help         : Generates a NOTICE file based on a Component Governance Snapshot
==============================================================================
##[error]failed to get governed repository id
##[error]Generation failed. Please see https://aka.ms/noticedebugging for more information.
Finishing: NOTICE File Generator

/azp run

@jedieaston, can you file an issue relating to this change? Just want to make sure that every PR has a linked issue for tracking purposes. In the meantime, I'm looking into why the build is failing...

@jedieaston, can you file an issue relating to this change? Just want to make sure that every PR has a linked issue for tracking purposes. In the meantime, I'm looking into why the build is failing...

#222

/azp run

/azp run

@jedieaston, sorry for the delay, took some time to figure out what was going on with Component Governance. You should be good to go now :)

Looks like the changes from main are merged. Ready when you are...

/azp run


add canFetchContext parameter to individual get request

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[x] SDK of Java
[x] SDK of Js
[x] SDK of Go
[x] PowerShell
[x] CLI
[x] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

this functionality has always been there, just that we missed this parameter on one of the get call

In reply to:<PHONE_NUMBER>

@msyyc to confirm the python SDK breaking change

/azp run

/azp run

@msyyc @akning-ms anything else we're waiting on?

/azp run

@jianyexi to take a look why there is 4 exception in linter

prettier has been and it only found whitespace issues

In reply to:<PHONE_NUMBER>

these are due to a description changes which was modified to fixed the wrong description.

In reply to:<PHONE_NUMBER>

these are due to a description changes which was modified to fixed the wrong description. are the description locked down and we're not suppose to change them once written?
In reply to:<PHONE_NUMBER>

No, it is due to change description caused conflict with another definition in another file. lead to linter rule exception.  it is not means you can not change description, better to keep consistent for same parameter in different place

@ArcturusZhang to help check why GO SDK T1 generation failure

these are due to a description changes which was modified to fixed the wrong description. are the description locked down and we're not suppose to change them once written?
In reply to:<PHONE_NUMBER>

No, it is due to change description caused conflict with another definition in another file. lead to linter rule exception. it is not means you can not change description, better to keep consistent for same parameter in different place

@vutran01 @akning-ms  i don't get this.  is this implying that EVERY "description" in the whole resource type has to say "application insights"  even though a lot of the resource types have nothing to do with application insights?  or was the suggestion here to just fix the 3 workbooks, templates, and private workbooks resource types that we own?
we don't want the docs to say application insights when these resource types have nothing to do with application insights.

/azp run

/azp run


add assertions in code for echidna fuzzing

I am also trying to set up echidna, but it's not that simple since we need to configure ERC20 and an NFT contract for echidna to play with. Hitting a road block, I'll create a branch for a reference.

We should move to foundry invariant testing since I wasn't able to fix echidna setup.


Variable system

By adding nu-attrs we introduced replacement for CSS classes in NUDE. With brand new Variable System we can simplify declarations with reusable variables.
<nu-block>
  <!-- declaration -->
  <nu-vars big-padding="3"></nu-vars>
  <!-- full usage syntax -->
  <nu-block padding="@big-padding"></nu-block>
  <!-- short usage syntax -->
  <nu-block padding="@big"></nu-block>
</nu-block>

Suffix -padding is optional 'cause NUDE can understand context (attribute name) and search for ${variableName}-${suffix} variable first. Usage of such variable in other attributes will require its full name.
This system can't use Custom Properties in implementation due to some limitations. So such variables can't be dynamic (responsive or depends on element state). But it still can be changed via attribute setting.

Done. Brand new variable system has great support for responsive system and can be used in certain decorators.


feat: Make "Post Preview URLs" action more generic

BREAKING CHANGE: The post preview url actions now takes a JSON definition of links to post
Refactors the post-preview-urls action to take a JSON array describing the links to post to the PR
Returns the hostname label used for deployment from the cursor deploy action
Adjust reusable workflows to work with the above updates.

@skovhus I changed the approach - no new action, instead I just return the label from the cursor deploy one - much simpler.

@skovhus Since this is mostly the same as you reviewed, just a bit less complicated, I'll go ahead and merge


Don't use getvar in defaults.pp

Allow the code to fail if osfamily is not set, rather than protecting it with getvar.

Fixed in 0595544dcd4dc4daa14bcd642ad0304867f07d34


Decreasing memory

every time I run flutter, my memory decreases. What happened?

Details

Logs

Please provide more information.

Output of the flutter doctor -v
Minimal reproduction sample
Memory profiles
Device(s) tested where this problem is observed

this my memory before i run flutter

this after i run flutter

and this my flutter doctor

also, i get this document..

Hi @congfandi
Please refrain from posting pictures if not necessary.
Are you experiencing the issue with the latest stable version of flutter?
If yes, please provide the device info (MacOS version, model etc...)  and flutter doctor -v
Thank you

hi @TahaTesser  i have been see this issue is already solved. every i clean flutter my memory is comeback again.
thankss!


Aroute 是否特别费时？

Look at here

→ Did you read the doc carefully
→ Did you add annotation above target activity
→ Did you add annotation processor dependence
→ Receive only bugs and suggestions

不费时，Release 更快，并且只有首次安装和更新会扫描


kumactl: 2.6.5 -> 2.7.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kumahq/kuma/releases.
meta.description for kumactl is: Service mesh controller
meta.homepage for kumactl is: https://kuma.io/
meta.changelog for kumactl is: https://github.com/kumahq/kuma/blob/2.7.0/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.7.0 with grep in /nix/store/vjr9zv6ynfb21v1rirfrf76y14iwci09-kumactl-2.7.0
found 2.7.0 in filename of file in /nix/store/vjr9zv6ynfb21v1rirfrf76y14iwci09-kumactl-2.7.0

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath
kuma
kuma-cp
kuma-dp
kuma-experimental
kumactl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vjr9zv6ynfb21v1rirfrf76y14iwci09-kumactl-2.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kumactl https://github.com/r-ryantm/nixpkgs/archive/d9287e4abde45a7c73b96e84cf4d195cd1662f08.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d9287e4abde45a7c73b96e84cf4d195cd1662f08#kumactl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vjr9zv6ynfb21v1rirfrf76y14iwci09-kumactl-2.7.0
ls -la /nix/store/vjr9zv6ynfb21v1rirfrf76y14iwci09-kumactl-2.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

5 packages built:

kuma
kuma-cp
kuma-dp
kuma-experimental
kumactl

Maintainer pings
cc @zbioe for testing.

Result of nixpkgs-review pr 305389 run on x86_64-linux 1

5 packages built:

kuma
kuma-cp
kuma-dp
kuma-experimental
kumactl

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kumahq/kuma/releases.
meta.description for kumactl is: Service mesh controller
meta.homepage for kumactl is: https://kuma.io/
meta.changelog for kumactl is: https://github.com/kumahq/kuma/blob/2.7.1/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.7.1 with grep in /nix/store/l2z86bcgqssfxqgi2x0rl3gh33iz6lcx-kumactl-2.7.1
found 2.7.1 in filename of file in /nix/store/l2z86bcgqssfxqgi2x0rl3gh33iz6lcx-kumactl-2.7.1

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

kuma
kuma-cp
kuma-dp
kuma-experimental
kumactl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l2z86bcgqssfxqgi2x0rl3gh33iz6lcx-kumactl-2.7.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kumactl https://github.com/r-ryantm/nixpkgs/archive/386ff48014308a7d0859db34844bf2520d57c9b3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/386ff48014308a7d0859db34844bf2520d57c9b3#kumactl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l2z86bcgqssfxqgi2x0rl3gh33iz6lcx-kumactl-2.7.1
ls -la /nix/store/l2z86bcgqssfxqgi2x0rl3gh33iz6lcx-kumactl-2.7.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

5 packages built:

kuma
kuma-cp
kuma-dp
kuma-experimental
kumactl

Maintainer pings
cc @zbioe for testing.


undefined is not an object (evaluating this.refs.input.setNativeProps')

I think this error is related to the TextInput Component. It happens sometimes when I'm transitioning from a form to another screen (I user Navigation Experimental)
I think it may be related to mounting and unmounting.

@mschipperheyn  I'm having this error, that i think the same as yours, so do you know to fix it ? Thank you

having the same issue, did you solve it?


Crossword repair loop fixes

[x] Fix #113
[x] Fix #109

Before:
goos: linux
goarch: amd64
pkg: github.com/celestiaorg/rsmt2d
cpu: 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz
BenchmarkRepair/Repairing_16x16_ODS_using_RSGF8-16         	      33	  36366217 ns/op
BenchmarkRepair/Repairing_32x32_ODS_using_RSGF8-16         	       4	 291625597 ns/op
BenchmarkRepair/Repairing_64x64_ODS_using_RSGF8-16         	       1<PHONE_NUMBER> ns/op
BenchmarkRepair/Repairing_128x128_ODS_using_RSGF8-16       	       1<PHONE_NUMBER>1 ns/op

After:
goos: linux
goarch: amd64
pkg: github.com/celestiaorg/rsmt2d
cpu: 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz
BenchmarkRepair/Repairing_16x16_ODS_using_RSGF8-16         	     363	   3733920 ns/op
BenchmarkRepair/Repairing_32x32_ODS_using_RSGF8-16         	      82	  20524141 ns/op
BenchmarkRepair/Repairing_64x64_ODS_using_RSGF8-16         	      16	  64611698 ns/op
BenchmarkRepair/Repairing_128x128_ODS_using_RSGF8-16       	       4	 268046116 ns/op

@musalbas Can we write a test asserting that #113 is being fixed or make an issue that needs to be tested? It is indeed fixed, and a unit test to concrete this would not hurt.

Agreed

@adlerjohn can you also review this?


nixos/boot: test on aarch64

Motivation for this change
Add aarch64 support for nixosTests.boot.uefiCdrom nixosTests.boot.uefiUsb and nixosTests.boot.uefiNetboot.
Related: https://github.com/NixOS/nixpkgs/issues/106304
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg test boot.biosCdrom boot.biosUsb boot.biosNetboot boot.uefiCdrom boot.uefiUsb boot.uefiNetboot

Result of nixpkgs-review pr 124415 at a65ee14c run on aarch64-linux 1

1 package built successfully:

ipxe

2 suggestions:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/misc/ipxe/default.nix:74:3:
   |
74 |   installPhase = ''
   |   ^

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/tools/misc/ipxe/default.nix:91:7:
   |
91 |       license = licenses.gpl2;
   |       ^

@GrahamcOfBorg test boot.biosCdrom boot.biosUsb boot.biosNetboot boot.uefiCdrom boot.uefiUsb boot.uefiNetboot

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/561

Thanks, @symphorien!


array-observable.md typos

I'm assuming that push() increases the array length.

Perhaps the after-events should do something more interesting?

Thanks for the contribution. You mean think of a more useful example with the after events?

Yes, like a formatting call.
Thanks for your docs (for such a young repo) & accepting my PRs so quickly!

If you have an idea in mind you could change it. Otherwise I will think about it because I agree with you.


[GUI] Always stop Liana-managed bitcoind when closing GUI?

This applies when running the embedded Liana daemon from the GUI. For an external Liana daemon, the GUI does not attempt to start any managed bitcoind (see gui/src/loader.rs#L122).
It could happen that the Liana-managed bitcoind on the chosen network is already running when opening the GUI. This could be either because the user started it manually or the GUI didn't close properly before and bitcoind was left running.
In such cases, we currently assume the user has started bitcoind. We log a message (gui/src/loader.rs#L504) that it's already running and continue, and then leave it running when closing the GUI later on.
Should the GUI rather assume that the managed bitcoind is already running due to an error and attempt to stop it the next time the GUI closes? This seems better for those users who would not otherwise realise that their managed bitcoind was still running.

I thinks its better to keep actual behavior, but not strong opinion.
Pros:

If bitcoind have been started by user, there is no reason to close it (some other software can rely on it).

Cons:

If liana crashed w/o closing bitcoind (this is not very likely to happen i guess) we will have a 'standalone' running bitcoind (but i don't think it's a big threat, right?)

find #916 while thinking aroud this

I think it would be reasonable to say that as long as bitcoind is managed by Liana, it will be stopped/started by Liana, and so if the user wants to start it manually, they should be prepared for this, and should otherwise migrate to using their own node.
If the managed bitcoind is left running when Liana is closed, there's a risk that pruning will cause the user to miss transactions without realising the next time they open Liana. So I think there's more risk leaving the managed bitcoind running than there is stopping it.

If the managed bitcoind is left running when Liana is closed, there's a risk that pruning will cause the user to miss transactions without realising the next time they open Liana.

Very good point

I don't think we'd miss transactions in this scenario. They would be recorded in the wallet, pruned from the node and we'd poll them from the wallet upon next startup.

I don't think we'd miss transactions in this scenario. They would be recorded in the wallet, pruned from the node and we'd poll them from the wallet upon next startup.

you mean the bitcoind watchonly wallet?

Yes.
-------- Original Message --------
On Jan 16, 2024, 12:29 AM, pythcoiner wrote:

I don't think we'd miss transactions in this scenario. They would be recorded in the wallet, pruned from the node and we'd poll them from the wallet upon next startup.

you mean the bitcoind watchonly wallet?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I don't think we'd miss transactions in this scenario. They would be recorded in the wallet, pruned from the node and we'd poll them from the wallet upon next startup.

Ah I see, so leaving it running would not be so bad, although I think it would still be reasonable to stop it given that it's the managed node.
Another option if the managed bitcoind is already running would be to show a prompt when the user closes the GUI asking if they'd like bitcoind to be stopped.

I think it's better to just stop it (as we do now) than to ask a potentially confusing question to the user.

I think now we don't stop it


docs: onchange macro example fix

You need to separate variables with commas in order to work. It took me some time to figure that out.

Thanks for the PR - and sorry about the problems this has caused you!


Docker image for SuMa

Hi @jbehley ,
I just create a docker image for SuMa, which could help people quickly evaluate this project.
https://cloud.docker.com/u/tseanliu/repository/docker/tseanliu/suma
The Dockerfile source:
https://github.com/HTLife/suma_docker

Sorry that I did not respond (a long time ago). Thanks for your contribution.
I'm not sure what to do with this. If this is still working, I could add this to the readme with the link. Let me know what you think.
(As it's not a real issue, I simply close this for now.)

just wonder whether you could open the GUI in the container.

Hi @jbehley , I just create a docker image for SuMa, which could help people quickly evaluate this project.
https://cloud.docker.com/u/tseanliu/repository/docker/tseanliu/suma
The Dockerfile source: https://github.com/HTLife/suma_docker

I think yes, but didn't try it. It might be necessary to ensure that there is a way for the process in the docker container to use the GPU, but with something like nvidia-docker it's even possible to use CUDA from the container. But I'm not an Docker expert.

I think yes, but didn't try it. It might be necessary to ensure that there is a way for the process in the docker container to use the GPU, but with something like nvidia-docker it's even possible to use CUDA from the container. But I'm not an Docker expert.

Thanks for your fast response. Is there a way to preprocess the data via command without opening the GUI?

the code relies on opengl shaders for computation and therefore you need an opengl context. In the experimental ROS node (https://github.com/jbehley/suma_ros), I used this to have an Offscreen Canvas and then call the process frame etc. Important is only that the OpenGL context is in the same thread as the code to run the processing.


Using with  Gamepad API

Hey I haven't dug too deep here but this library looks potentially really useful for menu navigation in games! Curious if anyone has experience hooking the gamepad API into it. It looks like I could do something hacky like trigger keypress events based on gamepad inputs, but is there a better way? Can I use custom events to trigger focus changes? I don't see a way to do this in the docs but that'd lead to a cleaner solution.

looks like navigateByDirection is the tool for this job.


engine: update reference docs with latest changes from 20.10 branch

generated from https://github.com/docker/cli/pull/3523
fixes https://github.com/docker/docker.github.io/issues/14135
fixes https://github.com/docker/docker.github.io/issues/11319
fixes https://github.com/docker/cli/issues/3431
Related issues (optional)

@jerae-duffin ptal 🤗

thx!


add: Diyouf

Description
[Thank for , Having a new contribution ]
[Added My profile]

@Diyouf Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and Star the repo to help us grow even further!


Request to open PR 5607

Requesting to merge PR
https://github.com/aspnet/EntityFrameworkCore/pull/5607

I am so upset that the PR was there but didn't merged. it was a long-awaited feature to happen.
as a team, we are doing a feature branch. each branch come with its own migration. as a convention, we are putting the task number in front of the migration and if it's something we needed to write custom script (somethign not generated by ef migration) then we add _custom at the end
atm it looks like this

as you can see most of the migration is coming with 2 or three files. it could be reduce to 2 files with that PR.
another problem that PR could solve is our development flow.
it's not always obvious that we need custom migration at the start. we do changes, we create migration. later in PR review or with intuition, it comes out there is a need for custom migration.
now the hardship starts. we need to remove the migration. create an empty migration (with custom file renaming and timestamp matching) and put back the migration again.
and god forbid if there is an after migration script and we want to do some more changes to the model. we need to copy the content of custom migration to another file. remove the last two migrations. do the changes. create a migration and put back the custom migration there again. and we need to do this again and again until we are happy with the changes.
with that PR we didn't need to remove the custom migration at all.
with that PR, we just needed an empty file with the same class name and just made it partial. it could be added either before or after the migration to handle all the scenario.
that's the whole idea behind the partial class. one portion generated by the machine and one portion is generated by the human. but now the class is partial but only support machine-generated part and there is no hook for human-generated part!
please merge the PR!

we need to remove the migration. create an empty migration (with custom file renaming and timestamp matching) and put back the migration again.

Why do you need to do this? Why not edit the generated migration?

remove the last two migrations. do the changes. create a migration and put back the custom migration there again.

Why not just add another migration?

one portion generated by the machine and one portion is generated by the human

Migrations are not generated with the intention that they will never be changed. Using EF to scaffold a migration is a starting point. It is intended that the migration then be edited as needed.

Why do you need to do this? Why not edit the generated migration?

because the model is changed. or the PR is merged but there are more to be done and it only can be done before certain migration. let say we need to have a before migration script.
so the flow is like this:

I use ef to generate a migration based on some model change
I create an empty migration and add the custom script
after PR I understand I need to change the model and have a before migration script. so what other option do I have to regenerate the step 1 migration and also insert a migration before step 1?

correct me if I'm wrong but there are two methods.
a. remove the migrations one by one up to step 1 (so the DB also update along the way) and recreate everything from scratch
b.  or update the DB to the before step 1 migration. create a custom file, fix the timestamp and everything to be able to inject the custom migration. then copy the snapshot from previous branch or parent branch (because your current snapshot is based on the existing model). then recreate step1
and the problem with migration with big teams is each time we rebase a branch more migration is coming to your branch, so we need to regenerate the migration each time and put them at the bottom of the migration list.
but there are cases that you understand another branch already removed or changed some data that you needed for your branch. then you want to have a copy of those changed or lost information somewhere and you need to modify their migration or add a before migration.
regenerating their migration is the most time consuming of the work.

Why not just add another migration?

because the sequence matters. specially if there is a data loss or data shape change. some action only can happen at that point in time. we don't have any method to inject a migration before another migration. we need to move to the top of the tree and then walk down again.

Migrations are not generated with the intention that they will never be changed. Using EF to scaffold a migration is a starting point. It is intended that the migration then be edited as needed.

I understand that. but the real-life development flow isn't like contoso app. we create model, we create a migration, we do the review, we drop migration, we do model change again and again and create migration again and again. and we rebase, we change data shape on a daily basis. but each time we can't go and rewrite the whole custom script that we wrote last time or modify the newly generated migration to amend those changes. that's why we have to keep a backup of what we wrote last time in another file. write the script, copy it to another editor. update the DB, ...
I hope I could demonstrate our daily frustration when a team try to work together and use migration.

@mhamri Can you post an example of what kind of code you put in the "custom script"?
/cc @bricelam to take a look.

sure, I am posting a fairly small one in here for easier read and discussion

a little brief about business logic
previously when we were creating our application, we thought that each of the tasks in the app has its own risk calculation. later when our understanding of the application grew, we came to the conclusion that we can have one single place for all the risk calculation with a little different formula.
so for this task, we need to move some of the columns to another table and at the same time recalculate them.
first, we need to take a back up of those values. our naming convention to take the backup is the backup_taskNumber_description. we need this backup table, especially for the down() method, because after applying the migration we don't know how to recalculate the old values.
 public partial class _1734backupactivitytofindingRecommendations_custom : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder) {
           migrationBuilder.Sql(@"SELECT Id,Recommendations, Urgency, DueDate , Action,ActivityId, ActivityOwnerId ,Status,CreatedAt  INTO backup_1734_ActivityModule_ActivityFinding FROM ActivityModule_ActivityFinding ");
        }

        protected override void Down(MigrationBuilder migrationBuilder) {

            migrationBuilder.Sql(@"UPDATE
                                                        ActivityModule_ActivityFinding
                                                   SET
                                                        Action = r.Action ,
                                                        ActivityOwnerId = r.ActivityOwnerId ,
                                                        DueDate = r.DueDate ,
                                                        Recommendations = r.Recommendations,
                                                        Status = r.Status ,
                                                        Urgency = r.Urgency
                                                   FROM
                                                        (SELECT fr.Id,  fr.Action ,fr.ActivityOwnerId, fr.DueDate,  fr.Recommendations,
                                                             fr.Status, fr.Urgency
                                                             FROM  backup_1734_ActivityModule_ActivityFinding AS fr
                                                         ) r
                                                    WHERE r.Id= ActivityModule_ActivityFinding.Id ");

            migrationBuilder.DropTable("backup_1734_ActivityModule_ActivityFinding");
        }
    }

after that, we create a new table. remove the columns from the old tables and refactor whatever we can.
then we call the ef migration add to create a new migration.
public partial class _1734findingRecommendations : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropForeignKey(
                name: "FK_ActivityModule_ActivityFinding_UserModule_User_ActivityOwnerId",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropForeignKey(
                name: "FK_ActivityModule_ActivityFinding_ActivityModule_Activity_IgrActivityId",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropIndex(
                name: "IX_ActivityModule_ActivityFinding_ActivityOwnerId",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropIndex(
                name: "IX_ActivityModule_ActivityFinding_IgrActivityId",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "Action",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "ActivityOwnerId",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "DueDate",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "IgrActivityId",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "Recommendations",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "Status",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.DropColumn(
                name: "Urgency",
                table: "ActivityModule_ActivityFinding");

            migrationBuilder.CreateTable(
                name: "ActivityModule_FindingRecommendation",
                columns: table => new
                {
                    Id = table.Column<long>(nullable: false)
                        .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
                    ActivityFindingId = table.Column<long>(nullable: false),
                    Recommendation = table.Column<string>(nullable: true),
                    Urgency = table.Column<int>(nullable: false),
                    Status = table.Column<int>(nullable: false),
                    PlannedStartDate = table.Column<DateTimeOffset>(nullable: true),
                    PlannedEndDate = table.Column<DateTimeOffset>(nullable: true),
                    ActualStartDate = table.Column<DateTimeOffset>(nullable: true),
                    ActualEndDate = table.Column<DateTimeOffset>(nullable: true),
                    ActionOwnerId = table.Column<long>(nullable: true),
                    ActionUpdate = table.Column<string>(nullable: true),
                    CreatedAt = table.Column<DateTimeOffset>(nullable: false),
                    UpdatedAt = table.Column<DateTimeOffset>(nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_ActivityModule_FindingRecommendation", x => x.Id);
                    table.ForeignKey(
                        name: "FK_ActivityModule_FindingRecommendation_ProjectModule_ProjectUser_ActionOwnerId",
                        column: x => x.ActionOwnerId,
                        principalTable: "ProjectModule_ProjectUser",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                    table.ForeignKey(
                        name: "FK_ActivityModule_FindingRecommendation_ActivityModule_ActivityFinding_ActivityFindingId",
                        column: x => x.ActivityFindingId,
                        principalTable: "ActivityModule_ActivityFinding",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                });

            migrationBuilder.CreateIndex(
                name: "IX_ActivityModule_FindingRecommendation_ActionOwnerId",
                table: "ActivityModule_FindingRecommendation",
                column: "ActionOwnerId");

            migrationBuilder.CreateIndex(
                name: "IX_ActivityModule_FindingRecommendation_ActivityFindingId",
                table: "ActivityModule_FindingRecommendation",
                column: "ActivityFindingId");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "ActivityModule_FindingRecommendation");

            migrationBuilder.AddColumn<string>(
                name: "Action",
                table: "ActivityModule_ActivityFinding",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "ActivityOwnerId",
                table: "ActivityModule_ActivityFinding",
                nullable: true);

            migrationBuilder.AddColumn<DateTimeOffset>(
                name: "DueDate",
                table: "ActivityModule_ActivityFinding",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "IgrActivityId",
                table: "ActivityModule_ActivityFinding",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Recommendations",
                table: "ActivityModule_ActivityFinding",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "Status",
                table: "ActivityModule_ActivityFinding",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "Urgency",
                table: "ActivityModule_ActivityFinding",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.CreateIndex(
                name: "IX_ActivityModule_ActivityFinding_ActivityOwnerId",
                table: "ActivityModule_ActivityFinding",
                column: "ActivityOwnerId");

            migrationBuilder.CreateIndex(
                name: "IX_ActivityModule_ActivityFinding_IgrActivityId",
                table: "ActivityModule_ActivityFinding",
                column: "IgrActivityId");

            migrationBuilder.AddForeignKey(
                name: "FK_ActivityModule_ActivityFinding_UserModule_User_ActivityOwnerId",
                table: "ActivityModule_ActivityFinding",
                column: "ActivityOwnerId",
                principalTable: "UserModule_User",
                principalColumn: "Id",
                onDelete: ReferentialAction.Restrict);

            migrationBuilder.AddForeignKey(
                name: "FK_ActivityModule_ActivityFinding_ActivityModule_Activity_IgrActivityId",
                table: "ActivityModule_ActivityFinding",
                column: "IgrActivityId",
                principalTable: "ActivityModule_Activity",
                principalColumn: "Id",
                onDelete: ReferentialAction.Restrict);
        }
    }

after that, we need to put back everything back to its place
public partial class _1734copyactivitytofindingRecommendations_custom : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.Sql(@"INSERT INTO ActivityModule_FindingRecommendation(ActivityFindingId,Recommendation,
                                                Urgency,ActionOwnerId,Status,PlannedStartDate,PlannedEndDate,ActualStartDate,ActualEndDate,ActionUpdate,CreatedAt)
                       SELECT actFind.Id AS ActivityFindingId, actFind.Recommendations, actFind.Urgency,	pu.Id AS ActionOwnerId,
                        Status = CASE
                        WHEN Status = 3 and DueDate is not null and ActivityOwnerId is not null THEN 4
                        WHEN Status = 1 and DueDate is not null and ActivityOwnerId is not null THEN 2
                        WHEN Status = 2 and DueDate is not null and ActivityOwnerId is not null THEN 2
					    ELSE 1
					    END,
                        PlannedStartDate = CASE
                        WHEN Status = 3 and DueDate is not null THEN actFind.DueDate
                        WHEN Status = 1 and DueDate is not null THEN actFind.DueDate
                        WHEN Status = 2 and DueDate is not null THEN actFind.DueDate
					    ELSE NULL
					    END,
                        PlannedEndDate = CASE
                        WHEN Status = 3 and DueDate is not null and ActivityOwnerId is not null THEN actFind.DueDate
                        WHEN Status = 1 and DueDate is not null and ActivityOwnerId is not null THEN actFind.DueDate
                        WHEN Status = 2 and DueDate is not null and ActivityOwnerId is not null THEN actFind.DueDate
					    ELSE NULL
					    END,
                        ActualStartDate = CASE
                        WHEN Status = 3 and DueDate is not null and ActivityOwnerId is not null THEN actFind.DueDate
					    ELSE NULL
					    END,
                        ActualEndDate = CASE
                        WHEN Status = 3 and DueDate is not null and ActivityOwnerId is not null THEN actFind.DueDate
					    ELSE NULL
					    END,actFind.Action as ActionUpdate,
                        actFind.CreatedAt
                        FROM backup_1734_ActivityModule_ActivityFinding actFind
			            INNER JOIN ActivityModule_Activity AS act ON act.Id = actFind.ActivityId
			            INNER JOIN ProjectModule_ProjectUser AS pu ON pu.ProjectId = act.ProjectId and actFind.ActivityOwnerId = pu.UserId");
        }

        protected override void Down(MigrationBuilder migrationBuilder) {
            migrationBuilder.Sql("truncate table ActivityModule_FindingRecommendation");
        }

so you maybe ask when do you drop the backup tables? the answer is in the deployment migration, before the deployment, we create an empty migration without down that can drop all the backup tables and add anything else that doesn't fall into the development migration script.
and please note that we are not reaching to this script straight forward. I remember for this case the developer right away jumped to the code and deleted the old columns and created some new columns. then he understood that he need to also move the activity owner to the new table. removed the migration and redo some stuff. then when he tried to write the down() migration, then he understood he forgot the before migration ....

@smitpatel To respond.

Looking at whole description, editing migration files directly is the right thing to do. It easily helps while rebasing with incoming changes. The custom scripts may be needed to be saved and moved around while recreating migration. Scaffolding additional migration to put script is pit of failure. You are causing more pain to yourself now that you need to revert multiple migrations.
I looked at the PR, while it would add something if you add method, it would not scaffold anything for you. You will be still in the same boat that you need to copy over script because when you regenerate the migration, the migration class would be differently named and now you have inconsistency in file name. Further, the code does not update to scaffold those methods in newly generated migration by default.
Now, to solve the issue of custom scripts, all you are doing in custom script file is calling Sql. (In some cases dropping-recreating tables which are not in EF Core model in first place). So rather than trying to use partial class, you should just create associated helper class - findingRecommendations_Helper.cs Make it a static class, create static methods in the class with passing MigrationBuilder parameter. Then call those methods from scaffolded migrations up/down method as needed. Not only you don't need to copy any code (which you would have to even with that PR merged), just 4 lines edit at max and you can get whatever you want. You never have to recreate those classes either even if you get more changes from upstream since their naming has nothing to do with migrations at that point.
Closing this issue as not needed. It is all about refactoring code when editing migrations. Helper class with static method is more robust way to do then scaffolding those methods in everyone's migration. (which still suffers from code copy over when regenerating migration).

@smitpatel I think you are wrong!

editing migration files directly is the right thing to do. It easily helps while rebasing with incoming changes.

when the team is big, the amount of changes is too much that after each rebase you can't edit the scaffolded code manually. you have to rely on migration and it's a good thing to do. in this way we don't need to look into the whole migration each time that we rebase (that is our daily routine).

Scaffolding additional migration to put script is pit of failure

I didn't ask the ef to create any new migration for me. all I want is 4 virtual methods in the base class (Migration) that I can override them (in a partial class). these 4 methods should be BeforeUp, AfterUp and BeforeDown and AfterDown. that's all I want. atm you have two PR that doing that. from different ppl. and I'm another guy with the same request.

I looked at the PR, while it would add something if you add method, it would not scaffold anything for you. You will be still in the same boat that you need to copy over script because when you regenerate the migration, the migration class would be differently named on regeneration and now you have inconsistency in file name. Further, the code does not update to scaffold those methods in newly generated migration by default.

again you are wrong! if you merge the PR we can have something like this

all these custom scripts can be picked by ef automatically and there is no need after each migration we edit the scaffolded code.
in this way, we only need to keep the name of the migration consistent. since the timestamp is not part of the class name, hence we don't need to copy and modify the migration each time.
as long as we have the same name for the migration (that can be done easily with the name of the branch and some script) we don't need even modify the scaffolded migration. why on each development we have to open the migration and copy-paste some static method there? that's the same thing if we have 4 hooks, isn't it? if I create a static method and put it at the first line of the up method is same as beforeUp()? and if I put it at the end of the up method is like afterUP(). it's same but the development and number of times that we need to do this is less. the files can go next to each other. can be found easily with the IDE, so why not?
if you fear is that what we do here is something that the other frameworks are not doing, it's because they don't have the partial file! if C# support such thing, so why we don't use it? if someone doesn't want to override those methods and do like the normal flow, so let them do. you don't need to expose the hooks in the migration file, but at the same time, you don't stop others to use these features.

just 4 lines edit at max and you can get whatever you want.

look at this way, please. it's 4 lines of code 10 times a day, 40 line of redundant code obligated by the framework on the developer per day!
@ajcvickers for comment

@mhamri We have discussed this as a team and several people have taken a look at it. On balance we don't believe this is something we want to do for the reasons already stated.

@ajcvickers thanks for the reply, but looking at the @smitpatel response, I believe my request understood incorrectly. he thought that I'm asking for more of the migration file to be generated but as I mentioned before, I am asking for 4 empty virtual methods in the base class (Migration) that I can override them (in a partial class). it doesn't affect the current flow nor it changes how the migration is being used or generated. so what is the harm to add something that doesn't affect anything but it helps the dev flow?
as you have multiple PR from different ppl that doing it, it proves that we are not alone with doing this exercise during our development. so may I know what is rational with not adding this?


chore: update dep: gcp-metadata

Fixes slow environment detection when running off of GCP. See
https://github.com/stephenplusplus/gcp-metadata/issues/10.

Superceded by #590.


Fixed typo error in hands on material of Introduction to Genome Assembly

I fixed the typo error in the background of the study:
https://training.galaxyproject.org/training-material/topics/assembly/tutorials/general-introduction/tutorial.html
It was a little omission of 'fi' in simplification.

Thanks @Chinonyemildred!


feat(azure-function): disable top level GitHub token permissions

Disable all permissions at the top level, then enable required permissions at job level instead.

Not tested, but assuming that this works since it's basically the same as #502.


Custom header overriding for matching patterns

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
No response
Region
No response
Amplify Hosting feature
Custom headers
Describe the bug
customHeaders:
  - pattern: '**/*'
    headers:
    - key: 'Cache-Control'
      value: 'public, max-age=300'
  - pattern: '*.css'
    headers:
    - key: 'Cache-Control'
      value: 'public, max-age=604800, immutable'

With the above customHttp.yml I'm seeing all paths served with a Cache-Control: public, max-age=300 header. Searching the documentation, there doesn't seem to be any discussion of how pattern collision is handled.
Expected behavior
All pages have a Cache-Control: public, max-age=300 header, except *.css pages, which have have Cache-Control: public, max-age=604800, immutable.
Reproduction steps

Create the above customHttp.yml.
Observe the cache-control header for an application serving paths that end in .css

Build Settings
No response
Additional information
No response

customHeaders:
  - pattern: '**/*'
    headers:
    - key: 'Cache-Control'
      value: 'public, max-age=300'
  - pattern: '**/*.css'
    headers:
    - key: 'Cache-Control'
      value: 'public, max-age=604800, immutable'

Resolves it for me. What are the matching / override semantics here, is amplify doing something clever with specificity? Or does *.css not match /foo/bar.css?


Nuxt setup

Hey, nice project!
Would you be open to also writing some docs code to get a minimum version up and running, to test if the library even works as well as some general docs for how to set this up on Nuxt.js? I am also struggling to get the types to work.
I get this error: Cannot find module 'vue-data-ui' or its corresponding type declarations.ts(2307
I also noticed that the component does get rendered, but it has no reactivity like the tooltips showing or the options doing anything
This is my component file:
<script lang="ts" setup>
import "vue-data-ui/style.css"
import { VueUiXy } from "vue-data-ui";

const config = {
    chart: {
        fontFamily: "inherit"
    }
}

const dataset = [
    {
        name: "Series 1",
        series: [-55, -34, -21, -13, -8, -5, -3, -2, -1, -1, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55],
        type: "bar"
        ,
        color: "rgb(95,139,238)",
    },
    {
        name: "Series 2",
        series: [55, 34, 21, 13, 8, 5, 3, 2, 1, 1, 0, -1, -1, -2, -3, -5, -8, -13, -21, -34, -55],
        type:
            "line"
        ,
        color: "rgb(66,211,146)",
        useProgression: true,
        dataLabels: false
    },
    {
        name: "Series 3",
        series: [64, 60, 52, 42, 30, 16, 0, -18, -38, -46, -50, -46, -38, -18, 0, 16, 30, 42, 52, 60, 64],
        type:
            "plot"
        ,
        color: "rgb(255,100,0)"
    },
    {
        name: "Target",
        series: [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
        type: "line",
        color: "#404040",
        dashed: true,
        useTag: "start",
        dataLabels: false,
    },
];

</script>
<template>
    <VueUiXy :config="config" :dataset="dataset" />
</template>

Hi, thanks for trying out :)
I created a  repo with an example implementation for your usecase in Nuxt3. To sum up the steps:

extract the vue-data-ui.d.ts file from the node module and place it at the root of your project so types are available (I need to adapt the types on a future release, as I noticed the config is required, which is not the case as it can be omitted. In the example folder I tweaked the extracted vue-data-ui.d.ts file to make it work).
create a plugin to import the VueUiXy component
import the css
Declare your dataset as a ref

Hey, thank you so much for the quick response!
Now I got it to work. This is a great project and I wish you all the best.
Turns out the 'nuxt-aos' module also was responsible for not rendering the charts properly...
Anyways, thank you for your work & quick help again! :D


TF for Embedded Devices

Has there been any effort to port the TensorFlow inference routines to lightweight cores commonly found in embedded devices (i.e. ARM Cortex M4F)?  Memory footprints are often small, but with efficient use of small datatypes, it seems that this could be fruitful.  Thanks.

There have been ports to Rasberry PI's that run full Linux stacks see https://github.com/samjabrahams/tensorflow-on-raspberry-pi/blob/master/GUIDE.md
However, I am not aware of any ports to MCUs that run RTOS' or bare metal. There may be some features in the soon to be released XLA that help deploy individual inference routines derived from TensorFlow.
@petewarden, do you have anything else to add?

@aselle I'm working on it.

The work @samjabrahams is actively doing on bringing TensorFlow to Raspberry Pi seems like a satisfactory response to this question. If you would like to request TensorFlow for a specific platform, e.g. ARM Cortex M4F, or have the aforementioned project merged into TensorFlow, then please open a new issue. Or I can re-open and rename this one.

Just saw this thread: I figured I may as well chip in a few bits of info:
Regarding Makefile support:

If you're simply looking for any kind of inference support, the "most officially supported" thing to do is to try and modify the Makefile instructions to work on whatever system you're trying to build. This leaves you with a static library that can run your model.
You could try following the Raspberry Pi Makefile tutorial to figure out the necessary flags to work on your system.
Once you've got a decent idea of how to compile, you could replace the pre-trained Inception model from the tutorial with whatever trained model you want to use

You'll want to freeze and optimize your exported model so that it's contained in a single protobuf file (which is what the Inception model looks like)

All this said, I can't say for sure if ARMv7-M would compile successfully (I'm fairly confident ARMv6 doesn't have the right instructions to work properly with the current codebase)

Regarding my repository:

If you want full TensorFlow functionality and/or the ability to run it from Python, you're going to have to get Bazel installed on whatever system you're running (the majority of the work done for my repo is figuring out how to compile new versions of Bazel)
You'll also want to figure out a reasonable cross-compilation setup, if possible. I'm still looking for a consistent way to avoid compiling everything directly on the Raspberry Pi
I'm a little behind on the current versions of TensorFlow/Bazel- holidays + vacation + work has led to much less time going toward the repo. Hopefully I can get it together by 1.0.0-final!

Bender supports running TensorFlow models on iOS. Maybe it's interesting for you.

@samjabrahams great work on this. we could be interested to contribute more also as part of my course (@Oxford Data Science for IoT) - has there been more updates re the TF on Pi? also .. does this come under the TF embedded / mobile tensorflow umbrella? finally which use cases are you considering for Pi(ex image or beyond) many thanks! Ajit

@dsiot There has been some work towards making official support in #5729 - that may be where you want to look next/continue the discussion!

thanks for the prompt reply!


Update _index.md

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
fbc52ba45437769292e50dbf880dfda853d7221b

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/63dbb75593a13d0009d64c61


unknown:0 is reported for unpositioned messages

It would be nice if messages like this here
[warn]  [1] unknown:0:
[warn]      there was one deprecation warning (since 2.11.0); re-run with -deprecation for details

would be reported like this instead
[warn]  [1] there was one deprecation warning (since 2.11.0); re-run with -deprecation for details

Fixed in #24


Make new build default and combine into dist package

contributes to https://github.com/NVIDIA/spark-rapids/issues/3223
This pr is based off of https://github.com/NVIDIA/spark-rapids/pull/3381 and includes:

makes the new build targets the defaults. it builds a single version of spark by default and the dist jar only includes that single version unless other profiles specified.
removes many of the old ones
Combines the spark version packages into a single dist package - this requires installing all other versions into .m2. This adds some profiles to combine snapshots (-Pallwithsnapshots), snapshots with db (-PallwithsnapshotsDB), no snapshots (-Pallnosnapshots) and no snapshots with DB (-Pallnosnapshotswithdb).
Supports building databricks 301db and 311db with PR 3381 changes
tries to update the jenkins build scripts
adds a scripts build/buildall that just installs all the apache and CDH versions and create a dist package with -Pallwithsnapshots.   This is very basic and we can make it better with more options later.
checked jar contents against older jars and it seems like we have everything for dependencies and properties files and license, notice, etc.
removed shims/aggregator module since no longer needed
Added an aggregator module that is responsible for shading each of the spark versions. This combines the sql-plugin, shuffle, udf, etc and then shades the dependencies. Those aggregated modules are what end up being combined into the file uber jar in the dist directory where they are put into a spark specific directory.

The jar is much larger right now until we can dedup the code. it was at 115M
Default build with no targest builds spark301. to build another version you specify -Dbuildver=spark3XX.
I tested databricks builds and one of the apache spark version integration tests.  all versions ran unit tests.
I can't test on cloudera right now because the override shim in pr 3381 isn't working and it needs these changes to test so I think we can fix this after they are merged.
There is more to do but I think the release jar is working for everything I've tested so would be good to switch to it and get a base.
I have not tested UCX or the udf examples.
In progress of righting a nightly build to see if that script works.

build

I was trying to test all the profiles and tests to make sure this breaks as alittle as possible. I'm guessing I've missed something but would be good to find out sooner rather then later.

build

build

Note for nightly tests we may want to switch that a bit to first just build/install all the versions then build the uber jar and then use that uber jar to run the tests for all the versions.

with the latest change to python files included in base the cudf_udf tests work on databricks

build

Note updated the description. there is a new module added here:
Added an aggregator module that is responsible for shading each of the spark versions. Those aggregated modules are what end up being combined into the file uber jar in the dist directory

build

failing with shuffle issues due to some thing made common that shouldn't be, @gerashegalov  was working on in 3381

yes should be with PnoSnaphsotsWithDatabricks. I was going to followup with deploy changes as I also need to probably do something with /dependency-reduced-pom.xml. If I have time I'll just do it with this.

Upmerged to latest 3381 but need to test on databricks because that didn't handle it so don't build/review until I do that.

build

build

I think I've addressed everyone comments so please take another look.

build

build

working on upmerging

build

for some reason a tool test was failing which makes no sense with these changes, so I'm running against base branch to see if broken there, either way I'll file an issue to followup.

ah tests failing due to gitlab down

tools test fails in base too - issue https://github.com/NVIDIA/spark-rapids/issues/3435

build

ah tests failing due to gitlab down

looks like the recent test fail was due to timeout running UCX test not related to the gitlab down
10487 deselected / 36 selected
[2021-09-09T23:08:10.356Z]
[2021-09-09T23:08:11.286Z] ../../src/main/python/hash_aggregate_test.py::test_hash_grpby_sum[{'spark.rapids.sql.variableFloatAgg.enabled': 'true', 'spark.rapids.sql.hasNans': 'false', 'spark.rapids.sql.castStringToFloat.enabled': 'true'}-[('a', Long), ('b', Integer), ('c', Long)]][IGNORE_ORDER, INCOMPAT, APPROXIMATE_FLOAT] 21/09/09 23:09:19 WARN RapidsShuffleInternalManager: Rapids Shuffle Plugin enabled. Transport enabled (remote fetches will use com.nvidia.spark.rapids.shuffle.ucx.UCXShuffleTransport. To disable the RAPIDS Shuffle Manager set `spark.rapids.shuffle.enabled` to false
[2021-09-09T23:08:13.805Z] 21/09/09 23:09:22 ERROR TaskSchedulerImpl: Lost executor 0 on <IP_ADDRESS>: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.
[2021-09-09T23:08:13.805Z] 21/09/09 23:09:22 ERROR TaskSchedulerImpl: Lost executor 1 on <IP_ADDRESS>: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.
[2021-09-09T23:08:23.744Z] 21/09/09 23:09:31 ERROR TaskSchedulerImpl: Lost executor 2 on <IP_ADDRESS>: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.

build

there are other shuffle related classes I need to handle to make those non-shimmed, working through them.

the shuffle stuff got very ugly, started requiring a lot of things to be unshimmed which then eventually broke using it without rapids shuffle, need to investigate a better way to handle shuffle

shuffle should be fixed if you merge https://github.com/tgravescs/spark-rapids/pull/3 into your branch

build

@revans2 thanks for the review, if you are ok, I'd like to do nits and things in followup since ci passed here and would like to get it as base?


update README

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4dcff5e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   24.13%
=========================================
  Files             ?        5
  Lines             ?       58
  Branches          ?        8
=========================================
  Hits              ?       14
  Misses            ?       37
  Partials          ?        7

Continue to review full report at Codecov.

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


spirv-llvm-translator_14: init at 14.0.0

Description of changes
This newer version will be needed to build Mesa 22.3 with Rusticl.
Apparently, LLVM API is not stable, and we should depend on the toolchain version here (according to Bas and Tatsuyuki).
Closes #130127. Republishes #197231.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 197235 run on x86_64-linux 1

1 package built:

spirv-llvm-translator_14


Disables Scrolling With Drag Gesture (Touch)

Hi, and thanks for this great package.
I've got it setup and working just right for mouse/wheel, but unfortunately, the widget has completely disabled scrolling on mobile, where the drag gesture is used. Not sure if this is intended functionality and a 'won't fix' situation, or if this is indeed my fault or a bug.
I'm happy to provide some code if you need it, and you can see the effect over at https://jaffaketchup.dev/.
Looking forward to hearing from you :)

Hi @JaffaKetchup , the plugin is intentionally made to not allow scrolling via touch it is to be used only by mouse scroll wheel. For that you can have a workaround. You can add a check if the platform is web then use this plugin else you can render your widgets in a normal listview.

Thanks for the quick response. However, web works on both desktop and mobile, so just doing a platform check won't differentiate between these two.

You can check device width, that's the same logic I'm using in my own portfolio.
Here is the code:
https://github.com/mayurnile/mayurnile_portfolio/blob/main/lib/presentation/landing_screen/landing_screen.dart

That's not really a reliable solution. What about laptops with touchscreen, where the user is using the touchscreen? Large tablets might not work, and equally, small monitors would disable this library's functionality.
I understand if you can't fix this, but width-based decisions are not a reliable enough workaround in this case.

Yeah width based is a very temporal solution but we cannot detect which device is being used to scroll, and we are relied only on the mouse scroll tickers we get and the scrolling issue is only with the mouse wheel and trackpads. That's the primary focus to resolve this issue until the Flutter team comes up with a solution.

Scrolling on macbook with touchpad is smooth like mobile device. So we need to check whether scrolling is with touchpad or mouse for using the package.

Facing the same issue
The package put the web app to a lot of janks/hangs when scroll using touchpad on laptop/macbook
Would love to have this thing here.

Sorry for delayed response @ijasmv @mhmzdev ,
I've tried to fix the scrolling on touchpad will keeping the smooth animations intact, you can check that out in the latest v1.1.0