MUPX Deployment Fails

I have managed to setup mupx on two aws instances:
$ mupx setup

Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

Started TaskList: Setup (linux)
[xx.xx.xx.xx] - Installing Docker
[xx.xx.xx.xx] - Installing Docker: SUCCESS
[xx.xx.xx.xx] - Setting up Environment
[xx.xx.xx.xx] - Setting up Environment: SUCCESS
[xx.xx.xx.xx] - Copying MongoDB configuration
[xx.xx.xx.xx] - Copying MongoDB configuration: SUCCESS
[xx.xx.xx.xx] - Installing MongoDB
[xx.xx.xx.xx] - Installing MongoDB: SUCCESS

Now when I try to deploy I am getting this error:
$ DEBUG=* mupx deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

Meteor app path    : /Users/me/my-meteor-deployment/app
Using buildOptions : {}
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn meteor ENOENT
    at exports._errnoException (util.js:855:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:455:9)
    at process._tickCallback (node.js:369:17)
    at Function.Module.runMain (module.js:432:11)
    at startup (node.js:141:18)
    at node.js:980:3

I managed to find out myself, it was not an issue with mupx :) .meteor directory was missing from application directory, I used finder (MAC) to copy files from uziped directory to application directory, it didn't copy hidden directories :(  ...when I used $meteor to run application, it didn't run...I figured out later that .meteor was missing from app directory.


systemd: {pname,version} -> finalAttrs.{pname,version}

Description of changes
Without this patch, people overriding systemd like:
  systemd.package = pkgs.systemd.overrideAttrs (finalAttrs: previousAttrs: {
    version = "255.9";
    src = previousAttrs.src.override {
      rev = "v${finalAttrs.version}";
      hash = "sha256-fnMvBYyMRQrP2x//8ntGTSwoHOtFk2TQ4S5fwcsSLDU=";
    };
  });

would get the wrong version reported in systemctl --version
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Also fixed in the commit. Thanks


Incorrect Service Generation

Description
The service methods are not destructoring the data field which is an error.
/** Generated service.gen.ts */
// This file is auto-generated by @hey-api/openapi-ts

import type { CancelablePromise } from './core/CancelablePromise';
import { OpenAPI } from './core/OpenAPI';
import { request as __request } from './core/request';
import type { $OpenApiTs } from './types.gen';

export class DefaultService {
    /**
     * Creates a new pet in the store. Duplicates are allowed
     * @param data The data for the request.
     * @param data.requestBody Pet to add to the store
     * @returns Pet pet response
     * @returns Error unexpected error
     * @throws ApiError
     */
    public static addPet(data: $OpenApiTs['/pets']['post']['req']): CancelablePromise<$OpenApiTs['/pets']['post']['res'][200] | $OpenApiTs['/pets']['post']['res'][200]> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/pets',
            body: requestBody,
            mediaType: 'application/json'
        });
    }

}

/** Proposal of how the file should be generated service.gen.ts */
// This file is auto-generated by @hey-api/openapi-ts

import type { CancelablePromise } from './core/CancelablePromise';
import { OpenAPI } from './core/OpenAPI';
import { request as __request } from './core/request';
import type { $OpenApiTs } from './types.gen';

export class DefaultService {
    /**
     * Creates a new pet in the store. Duplicates are allowed
     * @param data The data for the request.
     * @param data.requestBody Pet to add to the store
     * @returns Pet pet response
     * @returns Error unexpected error
     * @throws ApiError
     */
    public static addPet({ requestBody }: $OpenApiTs['/pets']['post']['req']): CancelablePromise<$OpenApiTs['/pets']['post']['res'][200] | $OpenApiTs['/pets']['post']['res'][200]> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/pets',
            body: requestBody,
            mediaType: 'application/json'
        });
    }

}

OpenAPI specification (optional)
openapi: "3.0.0"
info:
  version: 1.0.0
  title: Swagger Petstore
  description: A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification
  termsOfService: http://swagger.io/terms/
  contact:
    name: Swagger API Team
    email<EMAIL_ADDRESS>    url: http://swagger.io
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: http://petstore.swagger.io/api
paths:
  /pets:
    post:
      description: Creates a new pet in the store. Duplicates are allowed
      operationId: addPet
      requestBody:
        description: Pet to add to the store
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/NewPet"
      responses:
        "200":
          description: pet response
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Pet"
        default:
          description: unexpected error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
components:
  schemas:
    Pet:
      allOf:
        - $ref: "#/components/schemas/NewPet"
        - type: object
          required:
            - id
          properties:
            id:
              type: integer
              format: int64

    NewPet:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        tag:
          type: string

    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string

Configuration
const config: UserConfig = {
    client: 'axios'
    dryRun: false,
    exportCore: true,
    output: 'openapi/requests/,
    request: './request.ts',
    schemas: {
      export: true,
    },
    services: {
      export: true,
    },
    types: {
      export: true,
    },
    useOptions: true,
  };
  await createClient(config);

System information (optional)
@hey-api/openapi-ts: 0.42.0
node: 21.7. 1
npm: 10.5.0
typescript 5.4.5

@seriouslag just noticed this myself. I have a fix PR and will release shortly

@seriouslag just released 0.42.1. Please use that version with the fix


fix: Correct Topic links not pointing at files

Also fixed table formatting to match columns in support document. I can split the two changes out if prefered

@nschonni : Thanks for your contribution! The author, @MightyPen, has been notified to review your proposed change.

@nschonni Thank you very much for these excellent fixes. These errors were likely caused by an imperfection in our internal software tooling that, over a year ago, automated the complex migration of this documentation content from MSDN.microsoft.com to DOCS.microsoft.com.
I am approving this PR 778.
#sign-off
@MightyPen


Feature Request: Unit Tests

It would be nice to have unit tests that cover the many possible  branches of the algorithm.

It would be nice to have unit tests that cover the many possible  branches of the algorithm.
thank you for your suggestion. we just added an unit test executable and a dataset with 100k queries.


Add daily builds for ITW 2.0

With ITW 1.8 dead only for security updates, and a lot of work done in ITW 2.0, and considering it as stable, it wasould be awesome to have nightly or after-commit/after tag  builds of itw.
Comapre: https://github.com/AdoptOpenJDK/IcedTea-Web/releases/tag/icedtea-web-1.8.3 and  https://github.com/AdoptOpenJDK/IcedTea-Web/releases/tag/icedtea-web-2.0.0-alpha13
ITW pom files are able to generate stnadalone binary tarballs, which can be safely published.
The windows MSI was not tested for a while, but should work too (via cigwin). The non-maven libraries (wix, rust, cargo...) are same as libraries for ITW  1.8. I will happily help on side of ITW.

I think we can close this. it had proved itslef that ITW 2.0 will never be finished.

@judovana Can you start a thread in the ITW channel on slack, let's see if the maintainers can chime in.


Response time on search is 10+ seconds

Summary of problem or feature request
I'm getting extremely long response times when trying to filter my datatable.  I only have about 20,000 rows in the database, but the response time is over 10 seconds for each AJAX call.
Is there extra filtering needed or something I'm doing wrong in my implementation?
I am able to run the same queries on the database directly and response time is approximately 1 second or less.
Thanks in advance.
Code snippet of problem
    /**
     * Process dataTable ajax request.
     *
     */
    public function datatables(Request $request)
    {
        $people = $this->getPeopleList(Person::count());
        return Datatables::of($people)->make(true);
    }

    protected function getPeopleList($limit) {
        /* Equivalent SQL:
            * SELECT firstname, lastname, userid, title, FK_department, pagerid, FK_authcode, roomnumber, pubroomnumber, group_concat(FK_extension separator ', ') as extension
            * FROM pdm.person
            * LEFT JOIN pdm.person_extension ON person.userid = person_extension.FK_userid
            * GROUP BY firstname, lastname, userid, title, FK_department, pagerid, FK_authcode, roomnumber, pubroomnumber
            * order by updated_at desc
            * limit $limit;
         */
        $people = Person::select('firstname', 'lastname', 'userid', 'title', 'FK_department', 'pagerid', 'FK_authcode', 'roomnumber', 'pubroomnumber', DB::raw('GROUP_CONCAT(FK_extension separator ", ") as extension'))
            ->leftJoin('person_extension', 'person.userid', '=', 'person_extension.FK_userid')
            ->groupBy('firstname', 'lastname', 'userid', 'title', 'FK_department', 'pagerid', 'FK_authcode', 'roomnumber', 'pubroomnumber')
            ->limit($limit)
            ->get();

        return $people;
    }

<script>
  $(function() {
      $("#people").DataTable({
        "iDisplayLength": 25,
        "processing": true,
        "serverSide": true,
        "deferLoading": {{ $numPeople }},
        "ajax": '{{ URL::to("datatables-people") }}',
        "columns": [
          { data: 'firstname', defaultContent: '' },
          { data: 'lastname', defaultContent: '' },
          { data: 'extension', defaultContent: '' },
          { data: 'userid', defaultContent: '' },
          { data: 'title', defaultContent: '' },
          { data: 'FK_department', defaultContent: '' },
          { data: 'pagerid', defaultContent: '' },
          { data: 'FK_authcode', defaultContent: '' },
          { data: 'roomnumber', defaultContent: '' },
          { data: 'pubroomnumber', defaultContent: '' }
        ]
      });
  });
</script>

Route::get('/datatables-people', 'PersonController@datatables');

System details

Debian
PHP 5.6
Laravel 5.4
Laravel Datatables 7.2

It's because you are using collection. Try removing ->get(); on your query to enable database level pagination.

That did the trick.
For anyone that might find this in the future, I was also using a join and so also needed to adjust as per instructions here: https://datatables.yajrabox.com/eloquent/joins
Thank you Yajra


Request option to not expand top-level directories

I have created a file system provider for a database and each time I log in and display the "directories" it goes through the readDirectory() step and fills the list. I'd prefer to have the directory start out collapsed and wait till the user expands it to populate the entries.
This is different from #134665 in that I want it to be collapsed the first time (not on re-open). This is different from #87956 in that I'm not selecting a file.
I'd like an API in FileSystemProvider to specify that a directory starts collapsed. The second choice would be a configuration option. Thanks!

Is this any different from https://github.com/microsoft/vscode/issues/130732#issuecomment-898657644 which is a request to be able to configure the explorer to auto expand single child nodes or not. Right now we always expand a node if it has just one child

In my case there are five or six top-level "directories" (at the root) and VS Code automatically expands all of them even when they have hundreds of children. I'd like to avoid burying the top-level directories under hundreds of files in an earlier directory.

In my case there are five or six top-level "directories" (at the root) and VS Code automatically expands all of them even when they have hundreds of children. I'd like to avoid burying the top-level directories under hundreds of files in an earlier directory.

@jgfoster Do you have a minimal repro I could use for testing and debugging? I'm not able to reproduce on my end

@lramos15, thanks for your interest. I've put together this to demonstrate the problem. I hope that the README.md gives a reasonable description of the steps I take in my use case.
By the way, a work-around is to insert another directory above the roots, which in my case actually makes some sense (I'm presenting each database as its own root and each schema in the database under the database rather than as a root in its own right).


Change NAPlug.plug_connected_boiler field from boolean to int

As mentioned in #15, it seems that the NAPlug.plug_connected_boiler field needs to change from boolean to int, too.
I performed some tests on the Netatmo openhab2 binding and I kept getting conversion errors with gson upon thing creation (Netatmo API) until I changed it too.
Maybe @clinique can also confirm this.

@clinique do you confirm ?
@IOOOTAlan would you do a PR for this ?

@cbornet, yes I confirm, I discovered yesterday that existed a second plug_connected_boiler in the json file and my last PR adressed only the first one. Will push an updated.

Fixed by #18


Change streamfunction definition

Closes #16

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.20 :warning:

Comparison is base (794ecbc) 83.49% compared to head (7cd5777) 83.30%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   83.49%   83.30%   -0.20%
==========================================
  Files           8        8
  Lines         509      509
==========================================
- Hits          425      424       -1
- Misses         84       85       +1

Impacted Files
Coverage Δ

src/foursidedcavity.jl
100.00% <100.00%> (ø)

src/linearstability.jl
98.09% <100.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[WIP] [RFC] luci-app-ddns: convert to client side implementation

This is an initial pr for reworked luci-app-ddns. I removed some very eccessive checks and custom scripts are still not supported. I'm posting this to ask some review of the code, some improvement and also actually test it to make sure it does works correctly.
Signed-off-by: Ansuel Smith<EMAIL_ADDRESS>

First comments on this PR from my side:

While we're at it, we should also clean up the Makefile. I don't think we need a version string, because normally the ddns-scripts package in the package feed master branch should match the luci feed master branch.

We have also some whispace issues in the file 70_ddns.js
I think also overview.js is ok because we have them in a separate ddns dir.

should we also not move the files ddns -> luci.ddns in the rpcd so this is clear thats for the luci ddns app? But mybe @jow could say if we have there a policy.

also can not add a section if i press create Service

What file should be moved?
You mean rename
Well I think files in ddns should have the name of the ubus entry so...
luci-ddns as a name?
Will check other suggestion
About create section it doesn't show the additional modal?

luci-ddns as a name?

would say luci.ddns but thats a general discussion with @jow- what he prefers. Because most of the calls are related to luci and in the future if more package are ported to client side scripting the ubus list output gets confusing i think.

About create section it doesn't show the additional modal?

Yes but the added section gets not saved. It shows the change only in unsaved changes but is not shown on the overview page. Additional the modal gets not closed.
And then if i do an reload i get the following error.

@jow- anyway i notice something odd....
By checking the request I notice that before the promise of this module lots of uci changes request are done... and i can't understand why...
To me it looks like a bug... don't know if it's only on my system but it's not the first time that i see multiple request like this
Related request curl 'https://<IP_ADDRESS>/ubus/?1573080186617' -H 'authority: <IP_ADDRESS>' -H 'pragma: no-cache' -H 'cache-control: no-cache' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3961.0 Safari/537.36' -H 'content-type: application/json' -H 'accept: */*' -H 'origin: https://<IP_ADDRESS>' -H 'sec-fetch-site: same-origin' -H 'sec-fetch-mode: cors' -H 'referer: https://<IP_ADDRESS>/cgi-bin/luci/admin/services/ddns' -H 'accept-language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7,id;q=0.6,de;q=0.5' --data-binary '[{"jsonrpc":"2.0","id":19,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":20,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":21,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":22,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":23,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":24,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":25,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":26,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":27,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":28,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":29,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":30,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]},{"jsonrpc":"2.0","id":31,"method":"call","params":["7a3f098da7f5367c5690afd955dc52ef","uci","changes",{}]}]' --compressed --insecure

@feckert what do you mean with clean makefile ?

@Ansuel - ignore the uci changes requests for now, will optimize that later.

#
# Copyright 2008 Steven Barth<EMAIL_ADDRESS># Copyright 2008 Jo-Philipp Wich<EMAIL_ADDRESS># Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
# Copyright 2014-2018 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
#
# This is free software, licensed under the Apache License, Version 2.0

include $(TOPDIR)/rules.mk

# PKG_NAME:=luci-app-ddns

# Version == major.minor.patch
# increase on new functionality (minor) or patches (patch)
PKG_VERSION:=3.0.0

# Release == build
# increase on changes of translation files
PKG_RELEASE:=7

PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=Ansuel Smith<EMAIL_ADDRESS>
# LuCI specific settings
LUCI_TITLE:=LuCI Support for Dynamic DNS Client (ddns-scripts)
LUCI_DEPENDS:=+luci-compat +luci-lib-ipkg +luci-mod-admin-full +ddns-scripts
# LUCI_PKGARCH:=all

define Package/$(PKG_NAME)/config
# shown in make menuconfig <Help>
help
	$(LUCI_TITLE)
	Version: $(PKG_VERSION)-$(PKG_RELEASE)
endef

include ../../luci.mk

# call BuildPackage - OpenWrt buildroot signature

I don't know why we or the old developer needs the version information.
The sources in the branches of the repositories should always fit together .
The makefile could so simplified to.
#
# Copyright 2008 Steven Barth<EMAIL_ADDRESS># Copyright 2008 Jo-Philipp Wich<EMAIL_ADDRESS># Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
# Copyright 2014-2018 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
#
# This is free software, licensed under the Apache License, Version 2.0

include $(TOPDIR)/rules.mk

LUCI_TITLE:=LuCI Support for Dynamic DNS Client (ddns-scripts)
LUCI_DEPENDS:=+luci-compat +luci-lib-ipkg +luci-mod-admin-full +ddns-scripts
LUCI_PKGARCH:=all

include ../../luci.mk

# call BuildPackage - OpenWrt buildroot signature

Okok will clean the makefile... Did you test recent changes?

Okok will clean the makefile... Did you test recent changes?

Yes now it works :+1:
Could we also move the Service[Section] and Global-Settings[Section] into a tab menu?
So We could also move the top section above service to start/stop the ddns into the Global-Settings[Section] as well.
So the UI looks more clean?

Also the *.js files have <space> but we need <tab>.
I know the sources get minified but this is then good programming style.
Also have a look at this lines https://github.com/openwrt/luci/pull/3267/files#diff-0629af6fe054d408610a1d9da1d8c6b6R88-R93 (space vs. tab)

Ok so for js tab
For lua?
Il Gio 7 Nov 2019, 13:11 Florian Eckert<EMAIL_ADDRESS>ha
scritto:

Also the *.js files have  but we need .
I know the sources get minified but this is then good programming style.
Also have a look at this lines
https://github.com/openwrt/luci/pull/3267/files#diff-0629af6fe054d408610a1d9da1d8c6b6R88-R93
(space vs. tab)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openwrt/luci/pull/3267?email_source=notifications&email_token=AE2ZMQUSAPQQBMUPOB3IRX3QSQAWNA5CNFSM4JJNUWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMGVFI#issuecomment-551053973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2ZMQTO6I72CUTYNDA6LRDQSQAWNANCNFSM4JJNUWEQ
.

Ok so for js tab For lua?

tab as well

@feckert the displayed value are not that much... i think that we would hide some options but putting them in tabs

Anyway I cleaned the Makefile and converted the file to tabs

@feckert @jow- other comments on this?

Fine from my side.

From my side :+1:

@Ansuel - if you remove the WIP mark from the PR we can merge it I guess.

@jow- rebased

@Ansuel thanks :+1:

Since merge the luci ddns & overview page doesn't work - I get
RPCError
RPC call to luci.ddns/get_services_status failed with error -32000: Object not found
handleCallReply
handleCallReply@[native code]
promiseReactionJob@[native code]

@ldir-EDB0 can you post here your ddns config? (redacted of the address user and password?)

@Ansuel
no ddns config, or say, default config, nothing setup on ddns

@ldir-EDB0 can you post here your ddns config? (redacted of the address user and password?)

Sure
config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option upd_privateip '0'
config service 'myddns_ipv4'
option ip_source 'network'
option service_name 'he.net'
option lookup_host 'redacted.me.uk'
option domain 'redacted.me.uk'
option use_https '1'
option cacert '/etc/ssl/certs/ca-certificates.crt'
option interface 'wan4'
option ip_network 'wan4'
option force_interval '7'
option force_unit 'days'
option enabled '1'
option use_syslog '4'
option password 'redacted'
config service 'myddns_ipv6'
option use_ipv6 '1'
option service_name 'he.net'
option lookup_host 'redacted.me.uk'
option domain 'redacted.me.uk'
option use_https '1'
option ip_source 'interface'
option enabled '1'
option cacert '/etc/ssl/certs/ca-certificates.crt'
option ip_network 'lan'
option password 'redacted'
option interface 'lan'
option ip_interface 'eth1'
option force_interval '7'
option force_unit 'days'
option use_syslog '4'
But I'm not convinced this is a direct 'bad config' issue, since I tried nulling /etc/config/ddns & rebooted and still have the problem on overview & ddns config pages.

Please try
chmod +x /usr/libexec/rpcd/luci.ddns
/etc/init.d/rpcd restart

@dibdot
ok, great thanks, after chmod +x and restart rpcd the issue fixed

OK, thanks for testing - fixed with 4111d54 in master


Add GuanceCloud observability vendor

Changes
Add GuanceCloud observability vendor
[website]: https://www.guance.one/
[opentelemetry support]: https://docs.guance.com/en/integrations/opentelemetry/

Next time please open your prs from a personal fork so we can force update if needed before merging.
Thanks for your contribution 😎

Locust documentation url not found, the correct link below
https://docs.locust.io/en/2.16.0/writing-a-locustfile.html

@harlonhuang please update the load generator readme link and we should be good to go. Must've been updated recently
FILE: ./src/loadgenerator/README.md
[✖] https://docs.locust.io/en/stable/writing-a-locustfile.html → Status: 404


Fuel version problem

I installed the current development version of fuel, but had some issue in fuel downloading.
$ fuel-download celeba 64
$ fuel-convert celeba 64
$ fuel-download celeba 64 --clear
The error message I got is:
fuel-download: error: unrecognized arguments: 64
if I remove 64, I got:
TypeError: init() got an unexpected keyword argument 'max_value'
Could someone please specify what version or commits of fuel and progressbar should I use? Thanks

This problem can be solved by modifying max_value to maxval into progressbar package.


🚀 Feature Request: Filter/search KV by metadata tags

Describe the solution
Describe the solution
To be able to use Wrangler CLI in GitHub actions and target specific keys in KV by their metadata(ideally to be able to delete them based on a metadata value such as a pr-tag). This currently takes a much more complicated process to achieve and isn't very ideal.
Rough example of what i'm looking for
npx wrangler kv:key list --binding MY_BINDING --env MY_ENV delete --metadata METAKEY="VALUE"

This would be interesting to associate keys for customer_id get a KV.list({meta.customer_id: xxx}) when needed, instead keeping a separate table to manage which key belong to what customer.


A request to change the icon in the status bar according to the typing mode, as well as a request for further improvements

This keyboard is just great.
Just to maximize its use, there should be an option to remove the line below if the 'confirm' function, and if the 'delete' function.
A separate option to remove the second line of the visibility of the words and letters and the input mode.
Also, it is very useful to add a function that the keyboard icon in the status bar will be changed according to the typing mode, in number mode there will be a sign of numbers and in normal letter mode there will be a marking of letters, and in prediction mode there will be a marking of letters with a bold line.
The marking of the letters will be according to the same language.
All this instead of just a keyboard tick.
Added an option to use the keyboard in normal mode before loading the dictionary, (for a device that is not yet connected to the Internet)
In prediction mode, adding an option to add a word including a symbol from key 1, for example if I use a lot of why? or when? or even an email address @gmail.com.
Thank you for your work

@wspdyb
Regarding the first thing you wrote that it would be possible to remove the line, this option is already there.
As for the other things, it does seem to me to be good things that will really help users

As for the last thing, it depends, because if it's in the middle of a word then it works like here #652,
But what you asked for will indeed be very helpful. For example at the end of a word, or at the beginning of a word [like why? or @gmail].

Just to maximize its use, there should be an option to remove the line below if the 'confirm' function, and if the 'delete' function.
A separate option to remove the second line of the visibility of the words and letters and the input mode.

Regarding the first thing you wrote that it would be possible to remove the line, this option is already there.
As for the other things, it does seem to me to be good things that will really help users

Correct. You can change the layout from Settings -> Appearance.

Also, it is very useful to add a function that the keyboard icon in the status bar will be changed according to the typing mode, in number mode there will be a sign of numbers and in normal letter mode there will be a marking of letters, and in prediction mode there will be a marking of letters with a bold line.
The marking of the letters will be according to the same language.
All this instead of just a keyboard tick.

There used to be language icons, but I could never make them look good on all devices. Besides, the whole process of creating a new icon and making sure all have the same look and feel takes too much time and effort. It's more than I am willing to do, sorry!
And last but not least, it can realistically be done only using Android Studio, which makes adding a new language too complicated. I do not want to turn down people who are willing to add a new language, but have little or no technical skills, or they just don't want to install Android Studio for such a simple task.

Added an option to use the keyboard in normal mode before loading the dictionary, (for a device that is not yet connected to the Internet)

I am not sure what you mean. I suppose "normal" mode is ABC mode, but even if so, there are no limitations about it. You can switch to it at any time, no matter if you are connected to the Internet or not, or if a dictionary is loading or not.

In prediction mode, adding an option to add a word including a symbol from key 1, for example if I use a lot of why? or when? or even an email address @gmail.com.

Absolutely not. Special characters in the added words are out of the question. Due to technical reasons, it is possible that they could cause missing suggestions or no suggestions at all. Also, in very specific scenarios, they could crash the application.
On the other hand, I can consider adding such combinations to the factory dictionary. I can see how "why?" and "when?" can be useful. Just provide a list of all the combinations in all languages you use. I will review them and possibly add them, provided that there are no technical issues with that.
Finally, you can already type domains like ".com". I can also add stuff like "@gmail", too. Just give me a list of all the "words" you can think of.

Word list:
@gmail.com
google.com
To the Hebrew dictionary
למה?
מתי?
בטוח?
ככה!
טוב!
חח😂😂
To the English dictionary
Good night!
Good morning!
Why?
When?
Sure?
Make it so that every time you write the word with the number 1 added, the other characters will appear.

".com" is available as a separate word. You can combine it with anything else, including "gmail" and "google". Just type "4664531266" for "google.com" or "462451266" for "gmail.com".
As for the words with question marks or exclamation marks at the end, I just realized that adding those will break typing words with apostrophes or domains like "google.com". Unfortunately, it is not possible to add such shortcuts. I'll have to decline all requests.


release docker images

[ ]  and add badges to README
[ ] add docker release info to wiki

Hi @shadiakiki1986 those are old ones, we are settingup CI/CD and will release it soon. It should be done sometime this week.

Following up on this, I noticed that you're linking to https://hub.docker.com/r/micropyramid/django-crm/ now. Is this the correct docker image to use?

yes @shadiakiki1986


Fix eth1 mode Azure remote signing (Java 17)

eth1 Azure mode remote signing is not working in Java 17 due to a bug in Azure libraries [1].
https://github.com/Azure/azure-sdk-for-java/issues/26689
Dev note: If Azure doesn't provide the fix, we'd need to use the rest API's calls (key vault API)
Relavant classes:

tech.pegasys.web3signer.signing.config.metadata.AzureKeySigningMetadata
tech.pegasys.web3signer.keystorage.azure.AzureKeyVault#AzureKeyVault
The remote call to Azure signing service:
tech/pegasys/web3signer/signing/secp256k1/azure/AzureKeyVaultSigner.java:82

Blocked waiting for https://github.com/Azure/azure-sdk-for-java/issues/26689

Handle sign api errors
Use “token service” (class name?) to perform authentication (and how it can be used with plain Rest API calls?). See
tech.pegasys.web3signer.keystorage.azure.AzureKeyVault#createUsingClientSecretCredentials on how TokenService is used.


How to run on Bun?

I'm interested in getting this running, but of course I want to combine the new framework with the new runtime. I know Bun is living on the edge. Looks like there are npm/node calls embedded in the dev process which bun --bun can't decipher. Any Ideas on how to get this going?
james@RHOADS:~/git/my-hwy$ bun --bun run dev
$ hwy-dev-serve

 Hwy  New build initiated (triggered from run-build-tasks.js)

 Hwy  Running pre-build tasks...

 Hwy  Running npm run hwy-prebuild

Error running pre-build tasks: 462 | }, toPathIfFileURL = function(fileURLOrPath) {
463 |   if (!isURLInstance(fileURLOrPath))
464 |     return fileURLOrPath;
465 |   return Bun.fileURLToPath(fileURLOrPath);
466 |
467 | }, genericNodeError = function(message, options) {
                                                               ^
error: Command failed: npm run hwy-prebuild
npm ERR! undefined is not an object

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/james/.npm/_logs/2023-09-22T19_45_01_539Z-debug-0.log

 code: "1"

      at node:child_process:467:60
      at exitHandler (node:child_process:59:44)
      at emit (node:events:122:94)
      at #maybeClose (node:child_process:680:26)
      at #handleOnExit (node:child_process:530:30)
      at processTicksAndRejections (:55:76)

Completed pre-build tasks in 353ms.

 Hwy  Running standard build tasks...

Completed standard build tasks in 86ms.

[nodemon] 3.0.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): .dev/refresh.txt
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting `node dist/main.js`
Error: Invalid stdio option "[object EventEmitter]"
    at <anonymous> (node:child_process:355:24)
    at map (:1:11)
    at spawn (node:child_process:610:8)
    at <anonymous> (node:child_process:2:21)
    at run (/home/james/git/my-hwy/node_modules/nodemon/lib/monitor/run.js:146:23)
    at <anonymous> (/home/james/git/my-hwy/node_modules/nodemon/lib/nodemon.js:243:9)
    at <anonymous> (/home/james/git/my-hwy/node_modules/nodemon/lib/config/index.js:82:7)
    at processTicksAndRejections (:55:39)
error: Invalid stdio option "[object EventEmitter]"
      at node:child_process:356:24

Hey @gitblit, thanks for the issue!
Yeah, definitely wanting to run this in Bun as well. It works if you run it just as bun run dev, but I believe that is just running it in Node mode but with Bun as package manager, whereas adding the --bun runs it in Bun mode, hence that part blowing up.
There's nothing particularly goofy going on under the hood during the build process. It looks like you're probably using the Tailwind CLI in the prebuild there. But in the Hwy dev/build deps are all really popular node packages -- cross-env, chokidar, nodemon, esbuild -- stuff like that.
But to the actual issue -- it seems like the Bun global itself is undefined there? Maybe an issue with Bun 1.0.3?

Potentially related to non-prebuild error further down: https://github.com/oven-sh/bun/issues/5681

Excellent! I'll keep an eye on that issue, but switch to Node in the meantime to keep playing with your creation. :)

Little update:
Regarding the first of the two errors (related to the pre-build), this seems to do fix the error when running bun --bun run dev (can test with 0.2.0-beta.7).
Still left with nodemon erroring out with the Invalid stdio option "[object EventEmitter]" error. Given the popularity of nodemon, I bet this is fixed pretty soon by the Bun team. Alternatively, if Bun implements the ability to watch a specific file (we want to target ~/.dev/refresh.txt) instead of inferring which files to watch from the entry file, then we can create a bun-specific version of the hwy-dev-serve script and not use nodemon at all.

No clue why I'm not getting more output, but this is not working w/ hwy 0.2.1 and bun 1.0.3
$ hwy-dev-serve
[0.01ms] ".env"
[0.01ms] ".env"

 Hwy  New build initiated (triggered from run-build-tasks.js)

 Hwy  Running pre-build tasks...

 Hwy  Running tailwindcss -i src/styles/tw-input.css -o src/styles/tw-output.bundle.css

[0.02ms] ".env"
Rebuilding...
Done in 81ms.

Completed pre-build tasks in 336ms.

 Hwy  Running standard build tasks...

Completed standard build tasks in 23ms.

Any idea what I can do to get more verbose output? Not expecting things to work, but would love to know exactly what is failing (I'm assuming it's a node API not yet implemented in bun)

No clue why I'm not getting more output, but this is not working w/ hwy 0.2.1 and bun 1.0.3

❯ bun --bun run dev

$ hwy-dev-serve

[0.01ms] ".env"

[0.01ms] ".env"

 Hwy  New build initiated (triggered from run-build-tasks.js)

 Hwy  Running pre-build tasks...

 Hwy  Running tailwindcss -i src/styles/tw-input.css -o src/styles/tw-output.bundle.css

[0.02ms] ".env"

Rebuilding...

Done in 81ms.

Completed pre-build tasks in 336ms.

 Hwy  Running standard build tasks...

Completed standard build tasks in 23ms.

Any idea what I can do to get more verbose output? Not expecting things to work, but would love to know exactly what is failing (I'm assuming it's a node API not yet implemented in bun)
EDIT: bun run dev works great! 😄

Ah, in the latest release we converted some bash scripts to node scripts to help with windows compat, and I bet I neglected to print any stdout. Will take a peek later, good callout.

@jharrell
Hmm, I am actually still seeing the same Invalid stdio option Bun/nodemon error as before (pasted at bottom) on Hwy 0.2.1 / Bun 1.0.3, when running in "bun mode" (bun --bun run dev) on Mac and Linux (with hwy-dev-serve as the dev script).
Are you not seeing that error at all? If so that's an interesting divergence.

For anyone reading that wants to dig in more, here is the equivalent script that hwy-dev-serve executes:
cross-env NODE_ENV=development hwy-build && cross-env NODE_ENV=development nodemon --watch .dev/refresh.txt

Which is basically:

Run build step in dev mode (this is succeeding)
Run the "start" script in dev mode with nodemon, and restart whenever .dev/refresh.txt changes (this is what's failing)

Theoretically this should not be that hard to recreate in Bun directly, but I do not think they have implemented the ability to watch just one specific file like you can with nodemon (hopefully soon 🤞).

My full output when running bun --bun run dev:
sjc5:~/bun-test-1$ bun --bun run dev
$ hwy-dev-serve

 Hwy  New build initiated (triggered from run-build-tasks.js)

 Hwy  Running pre-build tasks...

 Hwy  Running tailwindcss -i src/styles/tw-input.css -o src/styles/tw-output.bundle.css

Rebuilding...
Done in 174ms.

Completed pre-build tasks in 747ms.

 Hwy  Running standard build tasks...

Completed standard build tasks in 76ms.

[nodemon] 3.0.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): .dev/refresh.txt
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting `node dist/main.js`
Error: Invalid stdio option "[object EventEmitter]"
    at <anonymous> (node:child_process:355:24)
    at map (:1:11)
    at spawn (node:child_process:610:8)
    at <anonymous> (node:child_process:2:21)
    at run (/home/sjc/bun-test-1/node_modules/nodemon/lib/monitor/run.js:146:23)
    at <anonymous> (/home/sjc/bun-test-1/node_modules/nodemon/lib/nodemon.js:243:9)
    at <anonymous> (/home/sjc/bun-test-1/node_modules/nodemon/lib/config/index.js:82:7)
    at processTicksAndRejections (:55:39)
error: Invalid stdio option "[object EventEmitter]"
      at node:child_process:356:24

Happy to report this will be fixed in the next release. Ended up manually recreating what nodemon was doing in scripts and removing nodemon altogether. If anyone wants to try it out, you can run npx<EMAIL_ADDRESS>and select Bun as a deployment target.
npx<EMAIL_ADDRESS># Select Bun as deployment target
cd <your-project-name>
bun i
bun run --bun dev

@sjc5 awesome! Thank you so much and sorry for not getting back to you. I'll try it out as soon as I can and report back :)

@sjc5 confirming that with bun 1.0.4 and hwy 0.3.0-beta.2 this works great! Thank you so much for your work.

This is awesome! Thanks!


Reset on sequence start

Hi,
I recently ran into a problem when clocking my Malekko Voltage Block with my Performer.
It seems the Voltage Block expects a reset signal at the start of the sequence, rather than the default behaviour of the Performer which is to set reset high when the sequence is not running. This meant that the Voltage Block was always one step out of sync.
I've added a third output mode of "Reset on start" which fixes the problem.
Opened a PR since maybe this is useful for you/others. I'd appreciate any feedback - I've manually tested (not sure how you're approaching unit tests here), but let me know if there's anything else to add.
Great module and great work btw.

Why would you need that when there's run? That works with the VB :)

Why would you need that when there's run? That works with the VB :)

You are... correct. Must've had a brainfart moment, didn't think it was working when I tried it before.
Cheers!


change test resource client.key from pkcs#1 to pkcs#8

The original client.key is in pkcs#1 format and the unittest related to ssl will fail with Exception: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : algid parse error, not a sequence
I change the client.key from pkcs#1 to pkcs#8 and then all unittests pass successfully.
mv client.key client.key.pkcs1 && openssl pkcs8 -topk8 -inform PEM -outform PEM -in client.key.pkcs1 -out client.key -nocrypt && rm -f client.key.pkcs1
My runtime environment is "Darwin Kernel Version 14.5.0" and the openssl version is "OpenSSL 1.0.2d 9 Jul 2015"

Please refer to http://stackoverflow.com/questions/6559272/algid-parse-error-not-a-sequence


[release/8.0] Fix the casing of AddKeyedAzureCosmosDBClient

Also fix the casing in the READMEs as well.
Backport of #3897 to release/8.0
/cc @eerhardt
Customer Impact
Our public API is cased differently:

AddAzureCosmosDBClient
AddKeyedAzureCosmosDbClient

If we ship 8.0 this way, we will be forced to keep it forever since it is a stable release.
Also fixing the READMEs to have the correct case, which they were inconsistent on being right or not.
Testing
Tests updated with the new name. I searched for "CosmosDb" and only found usages for "Cosmos" "DbContext", which is the correct EF casing of DbContext.
Risk
Low
Regression?
Yes, we regressed here with:

https://github.com/dotnet/aspire/pull/2630
https://github.com/dotnet/aspire/pull/2781

Microsoft Reviewers: Open in CodeFlow

i did the same grep as you and only found EnrichCosmosDbTests, which doesn't matter.

Sorry, and thanks for addressing.  I talked to the team, and it turns out we don't typically use DB in API names at all.  I recognize it might be too late, but given that the type name is CosmosClient, would it be too late to change it just to AddAzureCosmosClient and AddKeyedAzureCosmosClient? or even Add[Keyed]CosmosClient if we don't think Azure is important in the name?

I'm happy to take such a change if it's, say, in the next couple days. Consistency is important. @eerhardt ?

Great - @kundadebdatta could you look at changing this?


LivingEntity.getAttackDistanceScalingFactor name not helpful

This name is a bit too long and somewhat undescriptive (added in #533). It is a factor that changes detection distance of the parameter entity of this entity based on the invisibility, the skull wore, etc. Also need to rename ignoreDistanceScalingFactor in TargetPredicate.
What do you suggest for a more informative name?

Perhaps getAttackRangeScale?

Since targets can be more than attacking, I would suggest getTargetRangeScale then.


Move to 2021.02.3 version

Signed-off-by: Manuel Buil<EMAIL_ADDRESS>Move to 2021.02.3 to consume iptables v1.8.6 and fix the ip6tables-nft issue https://github.com/rancher/rke2/issues/1229.
The version we are currently consuming (2020.11.1) uses iptables v1.8.5 which does not support --random-fully flag:
For v1.8.5(nf_tables):
/ # ip6tables-nft -V
ip6tables v1.8.5 (nf_tables)
/ # ip6tables-nft -A POSTROUTING -s <IP_ADDRESS>/16 ! -d <IP_ADDRESS>/4 -j MASQUERADE --help | grep random
/ #

For v1.8.6(nf_tables)
/ # ip6tables-nft -V
ip6tables v1.8.6 (nf_tables)
/ # ip6tables-nft -A POSTROUTING -s <IP_ADDRESS>/16 ! -d <IP_ADDRESS>/4 -j MASQUERADE --help | grep random
 --random
 --random-fully
				Fully randomize source port.

The buildroot config generally requires a bit of hand-massaging when we bump versions. Some of the stuff we have in the patches and packages directories may require updating (or are no longer necessary) as well.

@erikwilson There is an option in the buildroot config called  BR2_PACKAGE_LIBOPENSSL_ARCH_SUPPORTS=y that is yes by default. Do you know if this might break the hardened kube-proxy image? We are using k3s-root to build it

From what I understand libopenssl will be used to build commands like curl but the library itself will not be used outside of the buildroot context. We currently depend on go boring ssl/crypto for FIPS hardening for RKE2, so I think it should be ok there. I am not sure if the commands which we use from buildroot for kube-proxy require SSL, I don't think they do but if so we should consider migrating to ubi8 userland.

From what I understand libopenssl will be used to build commands like curl but the library itself will not be used outside of the buildroot context. We currently depend on go boring ssl/crypto for FIPS hardening for RKE2, so I think it should be ok there. I am not sure if the commands which we use from buildroot for kube-proxy require SSL, I don't think they do but if so we should consider migrating to ubi8 userland.

thanks!


Fix deadlock when build scripts are waiting for input on stdin

What does this PR try to resolve?
#10738 introduced a regression where build scripts did not close stdin, causing deadlocks for build scripts waiting for stdin.
Fixes #11196 by not piping stdin unless requested by the ProcessBuilder.
How should we test and review this PR?
Run a build script that reads from stdin and check that it no longer hangs. See the POC in the linked issue. The included test hangs without the fix.
r? @ehuss

We may want to beta backport this.

This does blow away the deadlock, but I am not sure whether to keep stdin piped by default. Probably not?

Okay, I reworked it to avoid opening stdin as piped unless explicitly requested.

I wonder if it needs a patch version bump

I bumped the patch version.

Thanks!
@bors r+
And yea, if you don't mind, can you post a PR to the rust-1.65.0 branch to backport this?

:pushpin: Commit d51ed05324d2bef147ea4bbe8366db2170d0e414 has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit d51ed05324d2bef147ea4bbe8366db2170d0e414 with merge 642a0e625d10099a0ca289827de85499d073c572...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 642a0e625d10099a0ca289827de85499d073c572 to master...


WIP: Battery manager

Battery management provides abstraction layer so an application
can get information about battery without hardware specific (fuel gauge)
code.
The battery is associated with set of properties (provided by hardware
driver or battery manager itself). Properties represent physical
values measured by fuel gauges or ADC converter that application may
be interested in.
The application specify how frequently battery information should be read
and can subscribe to some subset of data that is interesting for the application.
Typically application will subscribe to voltage, temperature or current readings.
On the lower layer battery API specifies simple interface that fuel gauge need to
provide.
The battery information can be provided by several drivers (fuel gauge and ADC).
This pull request also extends bq27z561 driver to conform to battery API

@wes3 Will I'm not able to add reviewer so far, but I heard that when mentioned person do get notification, so fill free to take a look.


I have an Asus laptop but I get an error - zenbook ux463fl

Hi.
I have an Asus laptop but I get an error:
This program is most likely not compatible with your system. See
https://github.com/leveson/bat#disclaimer.
model: zenbook flip ux46fl.
thanks.

Can you provide more information about the operating system and the kernel version you are running?
The latter can be found by running the command uname -r in your terminal.
Also if you can confirm that you're not running it inside of a virtual machine.

Arch linux.
uname -r : 5.13.8-arch1-1
Yes, I did not run it in Virtual Machine.

Run the following and let me know if you get anything.
sudo find /sys/ -name "charge_control*"

If that doesn’t work, check to see if you have a directory with the prefix BAT in /sys/class/power_supply/. It’s usually something like BAT0 or BATT on newer systems.

The first command requires elevated permissions, that's why you're getting errors. Prepend sudo to the command just as it appears in my comment above.
You seem to have the variable so let's see what options it exposes by listing its contents
ls /sys/class/power_supply/BAT0/

Your system does not seem to have the variable required and it's hard to pin point why. It could be anything from your distribution to an outdated BIOS. Both of which seem unlikely. Or it could be that on newer models, the variable is located under a different address and this hasn't been captured in the Linux driver repository.
You could try first updating your BIOS firmware, then if that doesn't work, another primary distribution like Debian (Experimental or Unstable).


feat(Header): Class name & specificity refactor

Header specificity reduced from 0, 7, 0 to 0, 3, 0, closes #462.
Following new class name structure.
Using CSS variables.
Removed header button styling from header.scss and placed in header-buttons.scss.
Add support for forced-colors.
Updated breadcrumbs.scss to allow for breadcrumbs to take full height within header.
Active breadcrumb button icon background color changed for better contrast score.
Breadcrumb button icons & branding button icons use scale instead of width & height transitions for better performance.
Breadcrumb icon now displays correctly, closes https://github.com/iTwin/iTwinUI-react/issues/447 .
Updated side-navigation.scss to Introduced variable for the space surrounding side navigation icons & using that variable in the header brand icon.
Introduced @mixin iui-label-with-sublabel that can be used for all instances of label + sublabel (menu, expandable block, etc.)

The test images for narrow screens don't look right; it looks like the header is getting cut off and not adjusting at the correct widths.  In the browser I get problems too. The width here was about 1100px. There are various widths when this problem occurs.

The overflow issues have been fixed by adding @mixin iui-page-header-left;.

There is a bunch of stuff changed, would be nice if you could summarize all of that and leave a comment in V1 branch after merge (classes, html structure changes, etc)

Looks good but I'm seeing some inconsistencies in dom structure and not sure if it will work in react, particularly the split-button part. We should verify it before merging.

I see the inconsistency that Mayank is talking about in react.
This PR handles split buttons for breadcrumbs by wrapping the two <button> elements in an
 due to its parent being an
. The current implementation for all split buttons is to wrap each button part individually in a
 and then wrapping those two
s in a .
I believe this refactor would call for a new React component HeaderBreadcrumbSplitButton so that these split buttons could follow the

 <button> structure.
This could be a bit excessive, but if the following structure is used for header breadcrumb split buttons, we can still use
 while keeping the DOM structure consistent with split buttons without having to create a new component. Thoughts?

____

________
____________

________________<button>
____________

____________

________________<button>
____________

________
____

I just realized we are using divs inside spans inside buttons. This markup is considered invalid. https://validator.w3.org/nu/#textarea

We should change the divs to be spans and add display: block to them.

I just realized we are using divs inside spans inside buttons. This markup is considered invalid. validator.w3.org/nu/#textarea
We should change the divs to be spans and add display: block to them.

Good catch, I wasn't even aware that was invalid.  I've swapped them over to , no CSS changes seem to be needed.

@adamhock Can you please verify and leave a comment about whether react works fine with the latest changes?

React works fine with the latest changes. My only suggestion would be to change the name of iui-header-breadcrumbs-item to iui-header-breadcrumb-item since it's only one item, unlike iui-header-breadcrumbs-list


Exported Blender materials appear faded on iOS (GLES3)

Godot version
v3.5.beta.custom_build [927dd95b2], v3.4.stable
System information
iOS 15.3.1
Issue description
Textured materials exported from Blender (packed in a .glb file) appear faded when exporting to iOS where in Blender the material is just a simple UV-mapped material with the base color set to Image Texture. Non-textured materials (base color set to any color instead of an image texture) are working fine.
On macOS all colors appear normal while on iOS, even with disabled Force Vertex Shading.mobile, the textured material appears faded and overexposed.

Steps to reproduce
Run the provided minimal reproduction project on macOS and the exported one on a real iOS device. Compare the colors:

Left: Exported .glb from Blender with textured material (overexposed, faded)
Center: MeshInstances created in Godot
Right: Exported .glb from Blender with basic color material (looks okay)

Minimal reproduction project
https://github.com/godotengine/godot/files/8282551/ios_bug.zip
https://we.tl/t-TbvwSYRFpJ (WeTransfer link)

Note that on 3.5.2, this doesn't appear to be due to mobile setting overrides, as using the mobile rendering settings on desktop results in nearly identical visuals on the MRP:

Default rendering settings
Mobile rendering settings on desktop


Problems with Running the Driver as Nodelet

Hello everyone!
I'm obtaining an error when i try to run the Driver as Nodelet. I am trying this because i need to run the camera in the same Launch file.
When i try to run the Driver as Node, it works fine. However as Nodelet the camera try to show the streaming, but after few seconds is not possible to see anything. I don't know if this error is caused by firmware or some procedure that i am doing it wrong.
Someone could help me?
Thanks a lot!

Hi @cesarhcq
I'm afraid I can't understand your question, could you provide more information ?
BTW these might help:
This launch file if for launching the driver as Nodelet:
bebop_nodelet.launch
And if you want to use your own launch file to add more Nodelets to use the same Nodelet Manager, here an example that runs image_view as well:
bebop_nodelet_iv.launch


Show the "Manifest List" / "OCI Index" digest in the UI

Tell us about your request
Right now, the tags listing UI shows the image digest for each architecture, but not the image digest for the overall manifest list (or OCI index, depending on your terminology preference).  This causes concrete user confusion in that docker pull (and other tools) will show the manifest list digest (https://github.com/moby/moby/issues/40636, https://github.com/docker/hub-feedback/issues/1925, for example).
Which service(s) is this request for?
Docker Hub :smile:
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Ideally, I'd love to be able to docker pull something and validate that the digest listed in the output there is the one I see on Docker Hub.  However for myself, the bigger thing I want is to be able to choose a tag from the Hub UI, copy the digest of the manifest list, and then be able to reference that digest no matter which architecture I end up running on.
Are you currently working around the issue?
I currently work around this by using the Registry APIs directly instead of getting this from the UI. :disappointed:

+1

As a user, I was confused. I support this request.

+1

Really need this feature to easily get the latest cross-platform digest to pin images to.
In the meantime, to get the overall manifest list from the Docker Hub Registry API:
curl https://auth.docker.io/token?scope=repository:$image:pull&service=registry.docker.io

where $image is the Docker image name. If it is an official image, prefix it with library/.
This will return a JWT token in the format:
{
  "token", ...,
  "expires_in": ...,
  "issued_at": ...
}

The Bearer Token is the value in token.
curl -v -H "Accept: application/vnd.docker.distribution.manifest.list.v2+json"  -H "Authorization: Bearer $token"  "https://registry-1.docker.io/v2/$image/manifests/$tag"

where $token is the Bearer token from the previous API request, $image is the Docker image name, $tag is the Docker image tag.
The overall manifest list digest can be found in the DOCKER-CONTENT-DIGEST/ETAG response header (in the format sha256:...).

Thanks @daniel-shuy. It's nuts DockerHub doesn't show that on their website. How else are people supposed to verify the hashes? Crazy.

Let me copy my comment from https://github.com/moby/moby/issues/40636#issuecomment-595985775;

perhaps both the "manifest list" digest, and the digest for the selected image (platform/architecture) should be shown. Currently it's confusing, because the digest is shown underneath the image name, but is actually referring to the digest for the selected architecture.
Something like this;

+1

+1

+1

+1

+1 - I recently created a lesson on this and already I've had two confused students reach out and mention that what they see in Docker Hub doesn't match what they see in the pull command.  It's fine of course if the container image is single platform only but, given that multi arch containers are essential (especially with the likes of apple silicon), this could really do with an update.
An alternative UI viewpoint suggestion to complement the one from @thaJeztah .  This was a quick modification to the html in chrome using inspect elements.  Given that real estate is now being taken up by Scout, the OS/ARCH specific digest is at the bottom with the main one seen in the docker pull output, being prominent at the top.

% docker pull alpine
Using default tag: latest
latest: Pulling from library/alpine
c41833b44d91: Already exists
Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126
Status: Downloaded newer image for alpine:latest
docker.io/library/alpine:latest

+1

+1

+1
It makes sense to also show the digest output of docker pull in the Docker Hub UI.

I think this is a signal that Docker needs to be forked by some intrepid group that is willing to maintain it and cares more about security. This issue is so trivial to fix and yet it has been open for two years now.

How is this still an open issue?!

If Docker is really serious about pushing multi-arch, they really need to add this.

+1

+1

+1
this causes so much confusion and PAIN

Looks like this was deployed @lukoboi ? https://github.com/docker/hub-feedback/issues/1925#issuecomment-1999995876

Closing this as I've just added the digest on hub 🎉 The index digest will be displayed when present now.

Awesome! I think you made a lot of people happy (myself included) I'll go ahead and close this ticket 🥳 🥳 🥳


Update help pages for moderator role and fixes some other parts as well in help pages.

Updated the help pages to include moderator role. Also fixed some other parts where incorrect subsection was being used.
Have not updated stream permissions page yet to mention that adding users to a stream is configurable. Cannot think of correct symbol to use, Tim suggested [1] but I think it does not go well with the exisiting symbols. Maybe we can use + or any other suggestions would be helpful.

Maybe start a #design thread on the symbols to use for that page?  I think this is something that would benefit from more folks offering ideas.


Make code pip installable and add CLI entrypoint

Closes #1
This PR does the following:

switch to src/ layout
add setup.py and setup.cfg with minimal amount of metadata to make a package
required reorganizing some code in the CLI since it relied on global variables (both unsafe and not useful for other people using the code)
add python entrypoint to make the n2v command available in the shell
add documentation in README for installation
update demo code

Is there anything else you'd like done here?

@cthoyt thanks a lot for your contribution! I just tested it out and it works great. To make the program name consistent with the package name, I'm going to change n2v to pecanpy


Suggestions for improving the paper

In my opinion, the paper would gain a bit more clarity by:

describing specifically what data/features ECNet predicts from (e.g. after 1st sentence would be a good place)
briefly explaining why the split into nodes is done (prediction quality, distributed computing)
adding the last paragraph from the README (Using ECNet, T. Kessler et al. have..)

also reference T. Sennott et al. could go into the paper (just copy).

To increase clarity, information on what inputs/outputs are used and why nodes are used has been added to the manuscript. Additionally, information present in the README (suggested references) has been added.

OK, also found Sennott in the reference section of the PDF (didnt spot it in the sources at first sight).


Allow createSession to throw

As I was writing my implementation of the protocol SessionManager, I realized I needed the createSession to be able to throw errors. After I create my session, I need to persist it to the our database, and that introduces a source of possible thrown errors that can not be propagated back to the network stack as createSession can not throw.
Would it be possible to change the method signature of the createSession method from
func createSession(account: Account) -> String

to
func createSession(account: Account) throws -> String

?
This would allow me to return an error in the HTTP request that initiated the session creation if the save operation failed.

Yeah, this makes sense. Let me look into this more tomorrow and see what we can do =]

I can throw a pull request your way if that makes things easier for you.


API file_flaky_issue_and_pr fails due to Validation Failed

GitHub Error: {"message":"Validation Failed","errors":[{"value":"dacoharkes","resource":"Issue","field":"assignee","code":"invalid"}],"documentation_url":"https://docs.github.com/rest/issues/issues#create-an-issue"}
#0      IssuesService.create (package:github/src/common/issues_service.dart:186:7)
<asynchronous suspension>
#1      FileFlakyIssueAndPR._fileIssueAndPR (package:cocoon_service/src/request_handlers/file_flaky_issue_and_pr.dart:122:13)
<asynchronous suspension>
#2      FileFlakyIssueAndPR.get (package:cocoon_service/src/request_handlers/file_flaky_issue_and_pr.dart:63:36)
<asynchronous suspension>
#3      RequestHandler.service.<anonymous closure> (package:cocoon_service/src/request_handling/request_handler.dart:50:24)
<asynchronous suspension>
#4      ApiRequestHandler.service.<anonymous closure> (package:cocoon_service/src/request_handling/api_request_handler.dart:151:9)
<asynchronous suspension>
#5      ApiRequestHandler.service (package:cocoon_service/src/request_handling/api_request_handler.dart:149:5)
<asynchronous suspension>
#6      createServer.<anonymous closure> (package:cocoon_service/server.dart:261:7)
<asynchronous suspension>

Seems the ownership is incorrect. We should be using GitHub handles. /cc @dcharkes


render: emit err.formatted

fixes #1508
The when encountering an error CLI will now print:
Error: Undefined variable: \"$variable\".
        on line X of X
>> color: $variable;
          ^

instead of:
{
  "formatted": "Error: Undefined variable: \"$variable\".\n        on line X of X\n>> \n   ----^\n",
  "message": "Undefined variable: \"$variable\".",
  "column": 1,
  "line": 1,
  "file": "FILE_NAME",
  "status": 1
}

Unfortunately this is a significantly breaking change.

Thanks @cody-greene.
As stated in https://github.com/sass/node-sass/issues/1508 this is a significantly breaking change so we won't be able to land this any time soon.

@xzyfer
So should this PR still be blocked?

Look we can merge this if it doesn't conflict with the roadmap for version 5.0.

@xzyfer Should we update the error message format?

Maybe, when I have time. Please stop repeating the same comments on issues.

Very well.

Closing because this is so old, and II've been using the dart-sass package instead.


Bug: Branch names with "/" in the branch name are not cloned correctly

The fix involves changing parsing_query.py

can I try to fix this ? @cyclotruc

Closing this, fix is merged 😄


fix(navbar): add shadow to mobile version (Navbar)

:tada: This PR is included in version 4.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Need OSX install bash commands for installing PowerShell and VSCode using Homebrew

@joeyaiello - in the community call someone was talking about homebrew and it sounded like they might know the steps to get PowerShell Core and VS Code installed using homebrew.
Could anyone who knows how to do this please post the script code bits to this issue so I can add them to install-powershell.sh ?

Anyone from the recent community call have the code to do this?

brew cask install powershell
brew cask install visual-studio-code

@vors - thanks!
I was hoping for a script similar to the existing download.sh that accounds for a clean machine that's never had brew on it, etc.
However, I also don't find those package names at http://braumeister.org/ - am I misunderstanding braumeister.org ?


Map WindowsEvent taskId to its name

What does this PR do?
This PR maps the taskID of a windows event to its name using the mapping found here
https://github.com/Microsoft/service-fabric/blob/c326b801c6c709f36684700edfe7bb88ceec9d7f/src/prod/src/Common/TraceTaskCodes.h
Motivation
The XML of the windows event only contains the ID and can't be practically used for filtering

Codecov Report

Merging #2668 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2668      +/-   ##
==========================================
+ Coverage   56.61%   56.63%   +0.01%
==========================================
  Files         379      379
  Lines       24049    24059      +10
==========================================
+ Hits        13616    13626      +10
  Misses       9514     9514
  Partials      919      919

Impacted Files
Coverage Δ

pkg/logs/input/windowsevent/tailer.go
71.42% <100%> (+11.42%)
:arrow_up:


Add cloud build trigger to deploy to staging after each commit

After a PR is merged into master branch, this cloud build will be trigged and do the following steps:

Build js release package
Run all the tests
Deploy to staging website
Update the commit hash to Google Cloud source repository datacom-ci:deployment

I realized there is no way for cloud build to push a commit to Github directly. Instead of hosting the deployment repo on Github, we can host it on Cloud source repository. I will add detailed steps in g3 doc.

/gcbrun


placement fails, and final def not created

Hi
I did what you suggested i.e. replace "unit" by "CoreSite" and RePlace now does takes these inputs and runs successfully. But at the output folder, I am not seeing final.def
Can you please check if placement ran correctly or not? Attaching log
mkSoc_wrapper_2018-12-02_09:12:17.log
anaghavsd@rise:~/Desktop/work/tools/RePlAce/src$ ls -ltr ../output/etc/mkSoc_wrapper.input/experiment005/
total 13104
drwxrwxr-x 2 anaghavsd anaghavsd     4096 Dec  2 09:12 initPlace
drwxrwxr-x 2 anaghavsd anaghavsd     4096 Dec  2 09:12 cell
drwxrwxr-x 2 anaghavsd anaghavsd     4096 Dec  2 09:12 bin
drwxrwxr-x 2 anaghavsd anaghavsd     4096 Dec  2 09:12 arrow
-rw-rw-r-- 1 anaghavsd anaghavsd      288 Dec  2 11:36 mkSoc_wrapper.input_gp.spef
-rw-rw-r-- 1 anaghavsd anaghavsd 13396305 Dec  2 11:36 mkSoc_wrapper.input.eplace-mGP2D.pl

Hi
I again checked closely
Looks like placement stops giving below message. Attaching log. Can you please have a look?
mkSoc_wrapper_yosys_synth_v1_2018-12-03_10:17:40.log
PROC:  BEGIN MACRO LEGALIZATION IN EACH TIER
PROC:  SA-based Macro Legalization (mLG)
INFO:  Boundary Bins Max_b_x=32, Max_b_y=32, Max_b_z=32
INFO:  Bin Step X=574.4688, Y=574.3750, Z=0.0312

The result seems very weird to me...

Did you have an empty NET in DEF?
RePlAce should take perfect netlist from DEF file (it seems some nets were empty, so it caused negative HPWL errors)
Did you intend to execute the mixed-size placement? (e.g. Do you have a multi-height cell as a 'PLACED' in  COMPONENTS section in DEF)?

On the top of that, may I have the DEF file you've used?
If I could get LEF/DEF file, this would be really perfect for me to fix this error.
(If LEF is not allowed to share, I'll do my best to fix the errors based on the DEF file)

testcase.tar.gz
Hi
I have recreated testcase with opensource std cells. So sharing the DEF and opensource std cells LEF in above attachment
Unfortunately the memories LEF's are foundary proprietary, so might not able to share them
And yes, I am using mixed-size placement

I tried to re-generate your errors on my side, but I happened to know that memory name, memory size, and memory pin name is essential to run this benchmarks... It seems very hard to fix this issue....
closed.


Relayer clients initialization cleanup

After restarting the relayer that had previously sync-ed some header, there are some debug messages about hashes not matching and trusted options height < header height in store. I think we need to look into this a bit, not sure why they occur as this is seen with good providers/ chains.
(see TODO logs below)
    Finished dev [unoptimized + debuginfo] target(s) in 0.39s
     Running `target/debug/relayer -v -c simple_config.toml start`
Apr 12 13:58:03.207 DEBUG abscissa_core::component::registry: registered component: abscissa_core::terminal::component::Terminal (v0.5.2)
Apr 12 13:58:03.208 DEBUG abscissa_core::component::registry: registered component: abscissa_core::trace::component::Tracing (v0.5.2)
Apr 12 13:58:03.208 DEBUG abscissa_core::component::registry: registered component: abscissa_tokio::TokioComponent (v0.5.1)
Apr 12 13:58:03.209 DEBUG relayer_cli::commands::start: launching 'start' command
Apr 12 13:58:03.209  INFO relayer_cli::commands::start: spawning light client chain.id=ibc1
Apr 12 13:58:03.210  INFO relayer_cli::commands::start: spawning light client chain.id=ibc0
Apr 12 13:58:03.210  INFO relayer_cli::commands::start: starting relayer
Apr 12 13:58:03.210  INFO relayer_cli::relayer: relayer is running
     Relayer spawning light client for chain ibc1
Apr 12 13:58:03.373 DEBUG relayer::client: initializing client from trusted store chain.id=ibc1
Apr 12 13:58:03.373 DEBUG relayer::client: restoring trusted state from store chain.id=ibc1
Apr 12 13:58:03.374 DEBUG relayer::client: found trusted state in store chain.id=ibc1 last_height=5321
Apr 12 13:58:03.374 DEBUG relayer::client: found last trusted state
Apr 12 13:58:03.374 DEBUG relayer::client: restoring trusted state from store chain.id=ibc1
Apr 12 13:58:03.374 DEBUG relayer::client: trusted options height is lesser than header height in trust store. TODO: rollback chain.id=ibc1 trust_options.height=806 trusted_header.height=5321
Apr 12 13:58:03.375 DEBUG relayer::client: comparing trusted_header.hash against primary.hash chain.id=ibc1 primary.hash=F24C779098C80571ACD8C399D4CBDC60DD213BC1A51546D143FCD238037713E2 trusted_header.hash=B6C7EBBC34C558CD4DD1DDA3F69F79B86CFC59813F3576DB8CCAF6B26BADFAFF
Apr 12 13:58:03.376 DEBUG relayer::client: hash do not match! TODO: cleanup chain.id=ibc1 primary.hash=F24C779098C80571ACD8C399D4CBDC60DD213BC1A51546D143FCD238037713E2 trusted_header.hash=B6C7EBBC34C558CD4DD1DDA3F69F79B86CFC59813F3576DB8CCAF6B26BADFAFF
Apr 12 13:58:03.376 DEBUG relayer::client: headers hashes match chain.id=ibc1 primary.hash=F24C779098C80571ACD8C399D4CBDC60DD213BC1A51546D143FCD238037713E2 trusted_header.hash=B6C7EBBC34C558CD4DD1DDA3F69F79B86CFC59813F3576DB8CCAF6B26BADFAFF
Apr 12 13:58:03.376 DEBUG relayer::client: trusted header was valid
     Relayer spawning light client for chain ibc0

This occurs because we do not implement rollback yet: https://github.com/informalsystems/ibc-rs/blob/287bd64409b58f886a9d48c0108249d6fff1f9ac/relayer/relay/src/client.rs#L346
As per the doc comments in the Go relayer:

//     3) behind trustedHeader.Height => remove all the headers between
//     options.Height and trustedHeader.Height, update trustedHeader, then
//     check options.Hash matches the trustedHeader's hash (if not, remove
//     trustedHeader and all the headers before)
// The intuition here is the user is always right. I.e. if she decides to reset
// the light client with an older header, there must be a reason for it.

We need to allow the relayer (re)start from latest store state. Currently it always starts from the trust options in the store. So probably allow parameters to the start command.
This is done here in the Go code:
https://github.com/tendermint/tendermint/blob/fb35b474ad9321624ba06be135825a469b0ea684/cmd/tendermint/commands/lite.go#L109-L130
caller docs:
https://github.com/tendermint/tendermint/blob/fb35b474ad9321624ba06be135825a469b0ea684/cmd/tendermint/commands/lite.go#L37-L45

Fixed in #54


Pure data ddsp~ external not found

Hi,
I've successfully built the realtime ddsp~ external for Linux, but it seems I'm having major trouble with pure data finding the external...
When I built, I generated a file called ddsp~.pd_linux, with a rough size of 93.2Kb. I've added this to the ddsp_tilde folder provided in the repo and then moved said folder to where my externals should be found...
I'm wondering if there's any step I'm missing and if you would be so kind as to provide some help.
EDIT: I have managed to find the external but I am getting a crash of Pure Data every time I try and run it. I'm posting here my log from building. I am using Linux Ubuntu 18.04:
`-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Caffe2: CUDA detected: 9.1
-- Caffe2: CUDA nvcc is: /usr/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr
-- Caffe2: Header version is: 9.1
-- Found cuDNN: v7.6.0  (include: /home/hexorcismos/anaconda3/include, library: /home/hexorcismos/anaconda3/lib/libcudnn.so)
-- Autodetected CUDA architecture(s):  6.1
-- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61
-- Configuring done
CMake Warning at CMakeLists.txt:18 (add_library):
Cannot generate a safe runtime search path for target ddsp_tilde because
files in some directories may conflict with libraries in implicit
directories:
runtime library [libnvToolsExt.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/hexorcismos/anaconda3/lib

Some of these libraries may not be found correctly.
CMake Warning at CMakeLists.txt:18 (add_library):
Cannot generate a safe runtime search path for target ddsp_tilde because
there is a cycle in the constraint graph:
dir 0 is [/home/hexorcismos/anaconda3/lib/python3.7/site-packages/torch/lib]
  dir 1 must precede it due to runtime library [libc10.so]
dir 1 is [/home/hexorcismos/anaconda3/lib/python3.7/site-packages/libtorch/lib]
  dir 0 must precede it due to runtime library [libtorch.so]
dir 2 is [/home/hexorcismos/anaconda3/lib]

Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /home/hexorcismos/Desktop/AI/ddsp_pytorch/realtime/build
(ddsp_pt) (base) hexorcismos@DeepDisk:~/Desktop/AI/ddsp_pytorch/realtime/build$ make
Scanning dependencies of target ddsp_tilde
[ 33%] Building CXX object CMakeFiles/ddsp_tilde.dir/ddsp_tilde/ddsp_tilde.cpp.o
[ 66%] Building CXX object CMakeFiles/ddsp_tilde.dir/ddsp_tilde/ddsp_model.cpp.o
[100%] Linking CXX shared library "ddsp~.pd_linux"
[100%] Built target ddsp_tilde
`
Thanks so much in advance.

Are you trying to build the external with CUDA enabled?

I both tried it with Linux and OS X. On Linux I believe with CUDA enabled and OS X not.
Linux fails to detect the external at all, even when pointing at it with the 'declare -path'.
On OS X, the external does get detected by I get an error when trying to load your provided pre-trained model: 'error when importing model'
Any thoughts? Thanks in advance.

It looks like you are using pytorch from an anaconda installation ! Make sure you are using the last version (>= 1.7) of  libtorch and not pytorch, you can download the library from the pytorch website (in CPU mode). Then recompile the external, put it somewhere Pd can see it.
You can also test the torchscript model with pytorch using the performance.py script to make sure its working.
python performance.py --model /path/to/pretrained.ts

But again, make sure you have the latest version, since I'm using one of pytorch's latest features !

I've also updated the external so when there is an model loading error the complete error is posted on Pd's console !

Be sure to update pytorch to a version >= 1.7 ! I've also modified the external so that any model loading error is entirely posted to Pd's console. For the linux version, maybe try to download a CPU only version of libtorch.

It is working now! I am now having another problem, but with the train.py script, I will open another issue.
Thanks for the help!


[Bug] php2cpg: identifiers missing in AST for static method calls and foreach

joern> workspace.reset ; importCode.php.fromString("""<?
       \Doctrine\ORM\Tools\Console\ConsoleRunner::run($helperSet);
       """)
creating workspace directory: /home/mkraus/src/joern/workspace
Creating project `console3776893619653733582` for code at `/tmp/console3776893619653733582`
=======================================================================================================
Invoking CPG generator in a separate process. Note that the new process will consume additional memory.
If you are importing a large codebase (and/or running into memory issues), please try the following:
1) exit joern
2) invoke the frontend: /home/mkraus/src/joern/joern-cli/target/universal/stage/php2cpg -J-Xmx7828m /tmp/console3776893619653733582 -o /home/mkraus/src/joern/workspace/console3776893619653733582/cpg.bin.zip
3) start joern, import the cpg: `importCpg("path/to/cpg")`
=======================================================================================================

moving cpg.bin.zip to cpg.bin because it is already a database file
Creating working copy of CPG to be safe
Loading base CPG from: /home/mkraus/src/joern/workspace/console3776893619653733582/cpg.bin.tmp
Code successfully imported. You can now query it using `cpg`.
For an overview of all imported code, type `workspace`.
Adding default overlays to base CPG
The graph has been modified. You may want to use the `save` command to persist changes to disk.  All changes will also be saved collectively on exit
The graph has been modified. You may want to use the `save` command to persist changes to disk.  All changes will also be saved collectively on exit
res5_1: Cpg = Cpg (Graph [25 nodes])

joern> cpg.identifier.filter{ i => scala.util.Try { i.astParent }.isFailure }.l
res6: List[Identifier] = List(
  Identifier(
    id = 5L,
    argumentIndex = -1,
    argumentName = None,
    code = "Doctrine\\ORM\\Tools\\Console\\ConsoleRunner",
    columnNumber = None,
    dynamicTypeHintFullName = ArraySeq(),
    lineNumber = Some(value = 2),
    name = "Doctrine\\ORM\\Tools\\Console\\ConsoleRunner",
    order = -1,
    typeFullName = "ANY"
  )
)

joern> workspace.reset ; importCode.php.fromString("""<?
           foreach ($GLOBALS as $foo) {
           }
       """)
creating workspace directory: /home/mkraus/src/joern/workspace
Creating project `console5177607781654829339` for code at `/tmp/console5177607781654829339`
=======================================================================================================
Invoking CPG generator in a separate process. Note that the new process will consume additional memory.
If you are importing a large codebase (and/or running into memory issues), please try the following:
1) exit joern
2) invoke the frontend: /home/mkraus/src/joern/joern-cli/target/universal/stage/php2cpg -J-Xmx7828m /tmp/console5177607781654829339 -o /home/mkraus/src/joern/workspace/console5177607781654829339/cpg.bin.zip
3) start joern, import the cpg: `importCpg("path/to/cpg")`
=======================================================================================================

moving cpg.bin.zip to cpg.bin because it is already a database file
Creating working copy of CPG to be safe
Loading base CPG from: /home/mkraus/src/joern/workspace/console5177607781654829339/cpg.bin.tmp
Code successfully imported. You can now query it using `cpg`.
For an overview of all imported code, type `workspace`.
Adding default overlays to base CPG
The graph has been modified. You may want to use the `save` command to persist changes to disk.  All changes will also be saved collectively on exit
The graph has been modified. You may want to use the `save` command to persist changes to disk.  All changes will also be saved collectively on exit
res7_1: Cpg = Cpg (Graph [72 nodes])

joern> cpg.identifier.filter{ i => scala.util.Try { i.astParent }.isFailure }.l
res8: List[Identifier] = List(
  Identifier(
    id = 3L,
    argumentIndex = -1,
    argumentName = None,
    code = "$GLOBALS",
    columnNumber = None,
    dynamicTypeHintFullName = ArraySeq(),
    lineNumber = Some(value = 2),
    name = "GLOBALS",
    order = -1,
    typeFullName = "ANY"
  )
)

I think there are 2 separate issues here. In the static method case, that identifier should not exist at all. All of the information it conveys should already be included in the methodFullName.
The foreach identifier should exist, but with an AST parent, of course.


Investigate freezes of mqtt, can we try to reproduce in office?

also implements #365

freeze doesn´t seem to be an issue anymore, this issue was investigated thoroughly with no result


fix(npm): Update dependencies

triggering minor release for previous flow updates
the fix is in the forcing the release update since
previous dependency updates should have triggered a
release change

:tada: This PR is included in version 16.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


runtime.md: State MUST be serialized with specific indentation pattern?

When serialized in JSON, the format MUST adhere to the following pattern:
{
    "ociVersion": "0.2.0",
    "id": "oci-container1",
    "status": "running",
    "pid": 4422,
    "bundle": "/containers/redis",
    "annotations": {
        "myKey": "myValue"
    }
}

https://github.com/opencontainers/runtime-spec/blob/v1.0.2/runtime.md#state
Does the above sentence demands that a state JSON "MUST" adhere to the specific indentation pattern?
I assume not, but what does "the following pattern" mean then?

No indentation does not matter. It's just referring to the things like the name, case and nesting of the attributes. For example, using ID instead of id would not be valid.

Thanks, opened #1178 for avoidance of confusion

Agreed, I think "schema" is probably closer to the original intent here than literally this pattern (which could mean all the whitespace and the field order, since JSON is technically an ordered document, and that seems like a pretty unreasonable restriction IMO).


Target rate sensor not creating next session when agile rates available

Describe the bug
I have a 3 hour target rate sensor, no max/min price and start/end time currently set to 20:00, i.e. any time.
The sensor is currently on:

But it hasn’t been re-evaluated since 14:38 and the ‘next’ time slots identified:

Agile rates for tomorrow are available:

Sensor config:

Reproduction steps
Create a sensor similar to my setup
I suspect the problem is due to a combination of the sensor being on now and the agile rates arriving whilst the sensor is on.  I’ll keep checking but I am guessing that once this 3 hour period is over the sensor will correctly re-calculate the next time period.
Expected behaviour
As soon as agile rates are made available the target rate sensors recalculate with the ‘next time’ details (assuming the other criteria such as min/max rate etc are met)
Tariff Code
E-1R-AGILE-23-12-06-A
Integration Version
12.2.1
Home Assistant Version
2024.8.3
Fresh Install?
Not specified
Home Assistant Logs
Not sure this is much use:
2024-09-05 16:36:40.232 DEBUG (MainThread) [custom_components.octopus_energy.coordinators.previous_consumption_and_rates] Finished fetching<PHONE_NUMBER>400_22J0452464_previous_consumption_and_rates data in 0.000 seconds (success: True)
2024-09-05 16:36:40.232 DEBUG (MainThread) [custom_components.octopus_energy.electricity] Skipping electricity consumption and cost calculation as last reset has not changed
2024-09-05 16:36:40.232 DEBUG (MainThread) [custom_components.octopus_energy.electricity] Skipping electricity consumption and cost calculation as last reset has not changed
2024-09-05 16:36:40.233 DEBUG (MainThread) [custom_components.octopus_energy.coordinators.previous_consumption_and_rates] Finished fetching<PHONE_NUMBER>319_22J0452464_previous_consumption_and_rates data in 0.000 seconds (success: True)
2024-09-05 16:36:40.234 DEBUG (MainThread) [custom_components.octopus_energy.electricity] Skipping electricity consumption and cost calculation as last reset has not changed
2024-09-05 16:36:40.234 DEBUG (MainThread) [custom_components.octopus_energy.electricity] Skipping electricity consumption and cost calculation as last reset has not changed
2024-09-05 16:36:50.236 DEBUG (MainThread) [custom_components.octopus_energy.coordinators.previous_consumption_and_rates] Finished fetching<PHONE_NUMBER>400_22J0452464_previous_consumption_and_rates data in 0.000 seconds (success: True)
2024-09-05 16:36:50.237 DEBUG (MainThread) [custom_components.octopus_energy.coordinators.previous_consumption_and_rates] Finished fetching<PHONE_NUMBER>319_22J0452464_previous_consumption_and_rates data in 0.000 seconds (success: True)

Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Something else not quite right with the target rate sensor.
target rate sensor for overnight time for the washing machine.  1.5 hours, max 15p overnight any time between 20:00 and 08:00 (outside of these hours I would be just as cheap running it off otherwise exported solar).
No time slots identified:

Its currently Sunday 18:52 and looking at the agile prices, Monday evening 21:30 onwards should have been selected:

Hello and sorry for the late response, I've been away for a couple of weeks. As per the docs, the target times will not be re-evaluated until all existing target times are in the past. By the looks of your initial screenshots, your target rates were set to finish at 18:00, so they should have re-evaluated soon after that. In the next release, there will be a newer type of target rate sensor (rolling times) which might be better suited for your circumstance.
As per your second post, the target times are evaluated during the periods you've specified, and they'll only look at the next block of times once the current block is in the past. For your setup, at 18:44 at 8/9/24, it would be looking at target times between 20:00 7/9/24 and 20:00 8/9/24. It would only look at the new agile rates between 20:00 8/9/24 and 20:00 9/9/24. This is to ensure the sensor doesn't come on too much during the specified time frame. I'll add this clarification to the docs at some point this week. Again, the upcoming new target rate sensor might be better suited for your scenario.


RunTestDeflate

I also have error in ./gradlew runTestDeflate with no any change.
-------------------------------Error Log-------------------------------
root@xxxxxxxxx:~/mnt/ASIC-DEFLATE-for-memory# gradlew runTestDeflate

Task :linkTestDeflate FAILED
/usr/bin/ld: /root/mnt/ASIC-DEFLATE-for-memory/build/verilated.o: in function VerilatedContext::threadPoolp()': verilated.cpp:(.text+0x286d): undefined reference to VlThreadPool::VlThreadPool(VerilatedContext*, unsigned int)'
/usr/bin/ld: /root/mnt/ASIC-DEFLATE-for-memory/build/verilated.o: in function VerilatedContext::threadPoolpOnClone()': verilated.cpp:(.text+0xb23d): undefined reference to VlThreadPool::VlThreadPool(VerilatedContext*, unsigned int)'
collect2: error: ld returned 1 exit status

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':linkTestDeflate'.

Process 'command 'g++'' finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1s
13 actionable tasks: 1 executed, 12 up-to-date
-------------------------------Environment -------------------------------
g++ and verilator setting is under below
g++ version
(Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Verilator version
Verilator 5.031 devel rev UNKNOWN.REV
-------------------------------Comment-------------------------------
I downloaded verilator on github(https://github.com/verilator/verilator?tab=readme-ov-file) recent version and finished example test of verilator following this document(https://verilator.org/guide/latest/install.html). But maybe not support some component in recent version of verilator like erilatedContext::threadPoolp(), so the error occur.
I want to know your version of verilator or other solution to simple run.
Thank you for pay attention!

This is terminal print of g++ -v command
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)

@dbear496

It's been a while since I've touched this project, but I recall it building fine with Verilator 5.002. Potentially if you try using an older version of Verilator that may help. My Verilator code makes no explicit use of multithreading, so it's not obvious to me why you would be getting an error about thread-pool stuff.

Thanks you!
I've checked out running with Verilator-4.210 worked well. (Refer previous closed issue)


Could we try a longer max length on tab titles?

Loving the increased padding overall, but I wonder if we could show more of the tab title before resorting to ellipses. Seems like it might be nice to let the tabs breathe a bit horizontally if we have the space.

I've got miles of tab bar here but I can't read my file extensions.

There is a related discussion #49 and in the sm-tabs branch, the max width is already much larger, but we can close this if/once that gets merged.

Larger max-width will be in Atom 0.197.0.

❤


webqr.com with  android g chrome front cam to rear c

how can i change from front cam to rear cam?

DeadlySystem, can I have the code that you mention to test in our web application?
Thank you.

Okay @rubensalcedo see here: https://gist.github.com/DeadlySystem/304d3da710a70ac0545c
This is compiled TypeScript, i.e. JavaScript. Please read the gist's description. Also, note that you will need to use requirejs for this to work in the posted form. You may freely use and adapt it, but when you share it please link to this Github issue. This is just a snippet from a large project, and of course it is untested in this form. But you should be able to find the important concepts.

hi i have the same problem. I do not know how can I turn rear camera (environment) if they could help me I would be very grateful
i found another QR scan  but thets  is the best of all

Just look at my gist from my previous comment... On line 33 starts the code that does the magic. It is used to fill a , but you could easily make it select a camera automatically on line 61. I haven't tested this in a while though, it could be that the APIs have changed meanwhile.