Remove time zone before datediff

Describe the bug
dbt run throws this error:
17:23:24  Database Error in model int_pendo__page_info (models\intermediate\int_pendo__page_info.sql)
17:23:24    function pg_catalog.date_diff("unknown", timestamp with time zone, timestamp without time zone) does not exist
17:23:24    HINT:  No function matches the given name and argument types. You may need to add explicit type casts.
17:23:24    compiled SQL at target\run\pendo\models\intermediate\int_pendo__page_info.sql

The <target_schema>_int_pendo.int_pendo__page_info table/view doesn't get built.
Here's the compiled SQL at target\run\pendo\models\intermediate\int_pendo__page_info.sql (where the target schema is public):
  create view "dev"."public_int_pendo"."int_pendo__page_info__dbt_tmp" as (
    with page as (

    select *
    from "dev"."public_int_pendo"."int_pendo__latest_page"
),

application as (

    select *
    from "dev"."public_int_pendo"."int_pendo__latest_application"
),

pendo_user as (

    select *
    from "dev"."public_stg_pendo"."stg_pendo__user"
),

product_area as (

    select *
    from "dev"."public_stg_pendo"."stg_pendo__group"
),

page_rule as (

    select *
    from "dev"."public_int_pendo"."int_pendo__latest_page_rule"
),

agg_page_rule as (

    select
        page_id,
        -- should we use a different/more apparent delimiter?

    listagg(rule, ', ')

 as rules

    from page_rule
    group by 1
),

feature as (

    select *
    from "dev"."public_int_pendo"."int_pendo__latest_feature"
),

active_features as (

    select
        page_id,
        count(feature_id) as count_active_features

    from feature

    -- give a buffer of a month
    where

    datediff(
        day,
        valid_through,

    getdate()

        )

 <= 30

    group by 1
),

page_join as (

    select
        page.*,
        agg_page_rule.rules,
        product_area.group_name as product_area_name,
        application.display_name as app_display_name,
        application.platform as app_platform,
        creator.first_name || ' ' || creator.last_name as created_by_user_full_name,
        creator.username as created_by_user_username,
        updater.first_name || ' ' || updater.last_name as last_updated_by_user_full_name,
        updater.username as last_updated_by_user_username,
        coalesce(active_features.count_active_features, 0) as count_active_features

    from page
    left join application
        on page.app_id = application.application_id
    left join pendo_user as creator
        on page.created_by_user_id = creator.user_id
    left join pendo_user as updater
        on page.last_updated_by_user_id = updater.user_id
    left join product_area
        on page.group_id = product_area.group_id
    left join agg_page_rule
        on page.page_id = agg_page_rule.page_id
    left join active_features
        on page.page_id = active_features.page_id

)

select *
from page_join
  ) ;

The relevant bit (generated by this dbt-utils macro):
    datediff(
        day,
        valid_through,

    getdate()

        )

GETDATE() returns a timestamp without a time zone, valid_through apparently has a time zone; if it's already in UTC, then it should simply be cast to TIMESTAMP, as DATEDIFF() doesn't accept TIMESTAMPTZ.
Steps to reproduce

Connect Pendo to Redshift via Fivetran.
Finish initial sync. Ensure these tables are populated: pendo.application_history, pendo.feature_history, pendo.page_history, pendo.page_rule_history, pendo.group, pendo.user.
In the local dbt project, install dbt_pendo_source and dbt_pendo.
(In the virtual env) dbt run

Expected behavior

This table/view and its downstream tables/views should exist:
SELECT * FROM <target_schema>_int_pendo.int_pendo__page_info

Project variables configuration

name: 'my_dwh'
version: '1.0.1'
config-version: 2

profile: 'dwh_admin'
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

target-path: "target"
clean-targets:
  - "target"
  - "dbt_packages"

Package Version

packages:
  - package: fivetran/pendo
    version: 0.2.0
  - package: fivetran/pendo_source
    version: 0.2.0

Warehouse

[ ] BigQuery
[x] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Additional context

This bug was reported to the dbt-utils package repo, but they decided not to do any type casting there. It should probably be done here instead.
Screenshots

Please indicate the level of urgency

Not urgent for me, but this affects anyone depending on tables built from int_pendo__page_info, which aren't created due to this error. That includes pendo__page_daily_metrics, pendo__page, and pendo__page_event.
Are you interested in contributing to this package?

[x] Yes, I can do this and open a PR for your review.
[ ] Possibly, but I'm not quite sure how to do this. I'd be happy to do a live coding session with someone to get this fixed.
[ ] No, I'd prefer if someone else fixed this.  I don't have the time and/or don't know what the root cause of the problem is.

After reading more about the validThrough variable in Pendo's docs, perhaps Fivetran's Pendo connector should be changed to store this column as TIMESTAMP WITHOUT TIME ZONE. Such a change was made to the Salesforce connector in January 2020. If the connector is changed, then no change needs to be made to this package.


/DEBUG:FULL is default

/DEBUG:FULL is default except for debug builds in Visual Studio 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

To confirm the command-line default, compile any C++ source code, say, a.cpp with the following options:
>type a.cpp
int main() {}

>cl /nologo /W3 /Zi /EHsc /fp:fast /Od /MDd /c a.cpp
a.cpp

>link /nologo /debug /incremental:no a.obj

>mspdbcmf /nologo /check a.pdb
 [Non FASTLINK] The input PDB file was not generated by the linker with /DEBUG:fastlink.

>link /nologo /debug:fastlink /incremental:no a.obj

>mspdbcmf /nologo /check a.pdb
 [FASTLINK] The input PDB file was generated by the linker with /DEBUG:fastlink.

I have used:
Microsoft Visual Studio Professional 2017
Version 15.2 (26430.14) Release


Display inventory number based off storage location

Resolves #1792
Description
The form was missing "storage-location-required" class which triggers the inventory to be displayed in the drop down based off the storage location.
Once this was fixed another issue arose which was that the inventory would not change based off the selected storage location.
When the storage location would change on the form a JavacSript event is triggered but if the user added extra "Items in this distribution" it would not know of the extra elements on the page.
So now when the event is triggered it will check again for the any elements with the class name line-item-fields select.
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
This has been tested by me adding more Items and ensuring that the inventory is showing up and that when the storage location changes the inventory will also change.
Screenshots

Nice catch and find on this!!!

@SethLieberman brilliant! Thank you for fixing this!


Remove/unskip skipped tests

Remove skipped tests
Reintroduce an optimization in slice nav

Codecov Report

Merging #347 into fix/345 will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           fix/345     #347      +/-   ##
===========================================
+ Coverage    97.91%   97.93%   +0.01%
===========================================
  Files          111      111
  Lines          431      435       +4
  Branches        23       12      -11
===========================================
+ Hits           422      426       +4
  Misses           9        9

Impacted Files
Coverage Δ

packages/immutadot/src/nav/sliceNav.js
97.43% <100%> (+0.29%)
:arrow_up:

Continue to review full report at Codecov.

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


New version: CombinatorialSpaces v0.6.2

Registering package: CombinatorialSpaces
Repository: https://github.com/AlgebraicJulia/CombinatorialSpaces.jl
Created by: @algebraicjuliabot
Version: v0.6.2
Commit: 8b9fee590dbfa0f17679dce96c443f4fbb5e449b
Reviewed by: @algebraicjuliabot
Reference: https://github.com/AlgebraicJulia/CombinatorialSpaces.jl/commit/8b9fee590dbfa0f17679dce96c443f4fbb5e449b#commitcomment-139133864
Description: Simplicial sets and other combinatorial models of geometric spaces

Retrigger Registrator


After updating, cannot enter chroot anymore

I don't usually update the chroot, but I just did it today, and I can no longer enter it. Searched similar issues, but none of the solution really works. Please help, chromebook and crouton is my main work machine. Thanks in advance!
I can still enter the CLI using enter-chroot, but not the graphical UI. this is output of croutonversion:
crouton: version 1-20151013174138~master:488c9e21
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce-desktop,xfce,keyboard
host: version 7390.61.0 (Official Build) stable-channel wolf
kernel: Linux localhost 3.8.11 #1 SMP Thu Oct 15 05:11:47 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

This is the output when I run the command sudo startxfce4 -c /media/removable/SD/chroots/ (I installed it on SD card).
Entering /media/removable/SD/chroots/trusty...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Thu Oct 15 05:11:47 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=25358360-a96e-674b-9b83-6c787c3b2b72/PARTNROFF=1 hashtree=PARTUUID=25358360-a96e-674b-9b83-6c787c3b2b72/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=53565fb083b69a2b04b6c07e13e8553382f6821d salt=c70488e5bd235832b4f753d78510d07c49326febd1ac5604dbba20f932074f3e" noinitrd vt.global_cursor_default=0 kern_guid=25358360-a96e-674b-9b83-6c787c3b2b72 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sun Nov  1 23:34:24 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x48) [0x7f22b9400848]
(EE) 1: /usr/bin/Xorg (0x7f22b9257000+0x1ad539) [0x7f22b9404539]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f22b8150000+0x10340) [0x7f22b8160340]
(EE) 3: /usr/bin/Xorg (0x7f22b9257000+0xb57a6) [0x7f22b930c7a6]
(EE) 4: /usr/bin/Xorg (xf86BusProbe+0x9) [0x7f22b92e0099]
(EE) 5: /usr/bin/Xorg (InitOutput+0x74d) [0x7f22b92ee6fd]
(EE) 6: /usr/bin/Xorg (0x7f22b9257000+0x59bab) [0x7f22b92b0bab]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f22b6b90ec5]
(EE) 8: /usr/bin/Xorg (0x7f22b9257000+0x451ee) [0x7f22b929c1ee]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /media/removable/SD/chroots/trusty...
Sending SIGTERM to processes under /media/removable/SD/chroots/trusty...

Nevermind, I was using the very old startxfce4 script stored on SDD. Switch to using the startxfce4 script on the SD Card and it works. Just me being dumb. Sorry.

@ferb96 - Still, that goods to know - thanx for following up...

Sorry could you explain what you did to fix this? I seem to be having the same issue but don't understand what you mean by using a different script on the SD card.

@Jimzyboi - Probably one or more startxfce4 scripts may be out of date.
You can list them using:
ls -l /usr/local/bin/startxfce4 /media/removable/"SD Card"/bin/startxfce4
Since you ran: sudo sh /media/removable/"SD Card"/bin/startxfce4
and it didn't work, you could try: sudo startxfce4 -c /media/removable/"SD Card"/chroots
and see if that works.
If neither work, you can either use crouton's '-b' option to update/restore it/them:
                chroots currently installed in PREFIX/chroots.

Or, just update your chroot (again) using:
sudo sh ~/Downloads/crouton -n trusty -p /media/removable/"SD Card"

Thank you, the different script worked!

Cool, another satisfied customer :laughing: :+1:


added contact page

Changes made:

Created a contact/help page

Users can email GDSC directly
There is an FAQ section with 3 current FAQs, but there can easily be added more in the JS section

Primary Reviewer: @angadk4


[question] is this code based on the Microsoft/code-push? and are the APIs compatible?

I am asking this because we are planning to transfer from MS service to this server without big effort.. not sure if it is compatible with the existing ms code push service.. thanks.

yes,almostly


[BUG] cannot write response headers after response is sent

Describe the bug
The following error is repeatedly logged:
23-10-30 03:45:31 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:387:5)
at ServerResponse.setHeader (node:_http_outgoing:644:11)
at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
at /double-take/api/src/app.js:46:38
at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)
Version of Double Take
latest (I think this error does not happen in docker tag 1.13..11.4 or 1.13)
Expected behavior
I am thinking this might be causing some unknown issues and that it should not happen.

Can confirm I also experienced this (was troubleshooting it yesterday)
The immediate effect I saw was that updating Frigate labels stopped working.
Can help with any troubleshooting as needed.

Same, switched back to previous build

Oh I see it now. Looks like this problem is only in the docker container with latest tag. The one with <IP_ADDRESS> version tag or 1.13 works just fine. So I don't mind closing this as documented if latest is supposed to be the latest dev version.

<IP_ADDRESS>

Umm, so I switched to <IP_ADDRESS> tag, not just doing latest. And I got the same error
23-11-02 01:40:02 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at /double-take/api/src/app.js:46:38
    at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)
23-11-02 01:51:00 info: purged 7 file(s)
23-11-02 02:03:51 info: Double Take v<IP_ADDRESS>

probably fixed on v<IP_ADDRESS>

Thanks for the update. Yes please close
On Wed, Nov 1, 2023 at 12:35 PM Nabheet Sandhu @.***>
wrote:

Oh I see it now. Looks like this problem is only in the docker container
with latest tag. The one with <IP_ADDRESS> version tag or 1.13 works just
fine. So I don't mind closing this as documented if latest is supposed to
be the latest dev version.
—
Reply to this email directly, view it on GitHub
https://github.com/skrashevich/double-take/issues/144#issuecomment-1789372980,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY7PVOXFJOVUGZLF3L3OPLYCKB7FAVCNFSM6AAAAAA6VNJ5K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZGM3TEOJYGA
.
You are receiving this because you commented.Message ID:
@.***>


Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60:

https://prnt.sc/wbrpk3
I searched, could not find a result, I am still searching.

can you solve your problem ? i have same probilem

i look the solutions but i cant not what solution is working . please help me more sir .


feature: support CTranslate2

Among the backends that we already have, we should consider also ctransformers2 which is high performance: https://opennmt.net/CTranslate2/generation.html besides #796

@mudler Show more detail please. Do you mean we use it on Text generation or encode?


feat: support visit of stage repository

Purpose of the PR
support visit of stage repository

Main Changes

update ci.yml
Verifying these changes

[ ] Trivial rework / code cleanup without any test coverage. (No Need)
[ ] Already covered by existing tests, such as (please modify tests here).
[x] Need tests and can be verified as follows:

xxx

Does this PR potentially affect the following parts?

[ ]  Nope
[x]  Dependencies (add/update license info)
[ ]  Modify configurations
[ ]  The public API
[x]  Other affects (ci.yml)

Documentation Status

[ ]  Doc - TODO
[ ]  Doc - Done
[x]  Doc - No Need

scylladb 8(Run raft test) rocksdb8 (Run core test): There are test failures, rocksdb11(Run raft test) time out: 4h+++

also need update the 3rd-party ci

Also need handle


Some HTCondor-CE tests require a proxy

I guess the CE as a whole doesn't, otherwise we'd be putting globus-proxy-utils in osg-ce?


i I executed the examples of rc_balance,but the motors cannot work

who can help me?
debian@beaglebone:/$ rc_balance
Inner Loop controller D1:
order: 2
timestep dt: 0.0100
-4.9450z虏 +  8.8620z  + -3.9670
1.0000z虏 + -1.4810z  +  0.4812
Outer Loop controller D2:
order: 2
timestep dt: 0.0100
0.1886z虏 + -0.3721z  +  0.1835
1.0000z虏 + -1.8605z  +  0.8605
Hold your MIP upright to begin balancing
dsm Calibration File Doesn't Exist Yet
Run calibrate_dsm example to create one
Using default values for now
RUNNING: Hold upright to balance.
胃    |  胃_ref  |    蠁    |  蠁_ref  |    纬    |  D1_u   |  D3_u   |  vBatt  |arm_state|
0.216  |  0.000  |  0.213  |  0.000  |  0.006  |  1.000  | -0.008  |  8.603  |  ARMED  |inner loop controller saturated
0.362  |  0.025  |  0.359  |  0.000  |  0.006  |  1.000  | -0.008  |  8.613  |DISARMED |
the project version is 0.3.4. I execute the rc_test_motors -d0.5.the two motors can run as usual.
I  may think if it is the PID date is not confihuration.who can help me.

Are the motors plugged into channels 2&3? Older copies of the eduMiP instructions may be floating around which say channels 1&4. running rc_test_motors will drive all 4 channels, not just the two that rc_balance will try to drive. I have new instructions here with the new correct headers: http://strawsondesign.com/#!edumip-assembly
I hope it's just the motor connections.

@leehua1993 can you confirm if you followed the instructions?


Cannot restart nuxt:  Cannot read properties of undefined (reading 'nuxt')

After the steps in the Setup section of the README, I get the following error.
Reproduction steps:
< mkdir folder
< cd folder
< nuxi init .
< npm i @nuxtjs/proxy
< npm i
(Setup steps from README)
< npm run dev

>ERROR  Cannot restart nuxt:  Cannot read properties of undefined (reading 'nuxt')

 at proxyModule (node_modules\@nuxtjs\proxy\dist\index.js:38:21)
 at installModule (/C:/Users/user/Desktop/test-proxy/node_modules/@nuxt/kit/dist/index.mjs:452:21)
 at async initNuxt (/C:/Users/user/Desktop/test-proxy/node_modules/nuxt/dist/index.mjs:2475:7)
 at async load (/C:/Users/user/Desktop/test-proxy/node_modules/nuxi/dist/chunks/dev.mjs:6824:9)
 at async _applyPromised (/C:/Users/user/Desktop/test-proxy/node_modules/nuxi/dist/chunks/dev.mjs:6737:10)

Any idea how to fix it?

Do I understand correctly that this module does not work with Nuxt 3+?
If so, then this seems to be the case. I'm trying to run it on Nuxt 3... I need to update the documentation and point out that this is a module for Nuxt 2.

@paul-asvb Even using the nitro config above, it still doesn't work.
export default defineNuxtConfig({
  devtools: { enabled: true },
  modules:  [
    '@nuxtjs/proxy',
    '@nuxt/devtools',
    '@nuxtjs/i18n',
    '@nuxtjs/eslint-module',
  ],
  ...
  nitro: {
    devProxy: { '/api': `http://localhost:${ process.env.SERVER_PORT || 8080 }` },
  },
});

Running nuxt dev still fails with the same error:
 % npm run dev

> dev
> nuxt dev

[11:01:13 AM]

[11:01:13 AM] Nuxi 3.6.5
[11:01:13 AM] Nuxt 3.6.5 with Nitro 2.5.2
[11:01:15 AM]
  > Local:    http://localhost:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://[fdbf:91fe:c74d:b58:105f:b1c7:9b46:617b]:3000/

[11:01:15 AM]  ERROR  Cannot start nuxt:  Cannot read properties of undefined (reading 'nuxt')

  at proxyModule (node_modules/@nuxtjs/proxy/dist/index.js:38:21)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:2409:101)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:3238:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:205:9)
  at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:249:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:49:20)

I am sure I must be doing something wrong but I can't figure out what it is...

@paul-asvb Even using the nitro config above, it still doesn't work.
export default defineNuxtConfig({
  devtools: { enabled: true },
  modules:  [
    '@nuxtjs/proxy',
    '@nuxt/devtools',
    '@nuxtjs/i18n',
    '@nuxtjs/eslint-module',
  ],
  ...
  nitro: {
    devProxy: { '/api': `http://localhost:${ process.env.SERVER_PORT || 8080 }` },
  },
});

Running nuxt dev still fails with the same error:
 % npm run dev

> dev
> nuxt dev

[11:01:13 AM]

[11:01:13 AM] Nuxi 3.6.5
[11:01:13 AM] Nuxt 3.6.5 with Nitro 2.5.2
[11:01:15 AM]
  > Local:    http://localhost:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://[fdbf:91fe:c74d:b58:105f:b1c7:9b46:617b]:3000/

[11:01:15 AM]  ERROR  Cannot start nuxt:  Cannot read properties of undefined (reading 'nuxt')

  at proxyModule (node_modules/@nuxtjs/proxy/dist/index.js:38:21)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:2409:101)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:3238:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:205:9)
  at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:249:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:49:20)

I am sure I must be doing something wrong but I can't figure out what it is...

If you are using nitro devProxy you need to remove '@nuxtjs/proxy' from your modules.

yeah, this module is irrelevant for Nuxt 3.  Just use the nitro proxy and don't look back.


feature comparison to commercial VIPs

For your UVM based AXI VIP, if we could compare with the those commercially provided from Cadence or Synopsys, how much percentage of the features are covered?
Your VIP is the only one available in open source and extremely impressive!

tvip-axi has very limited features.

It's just BFM. No checkers/SVAs/covergroups are implemented.
INC burst type is only supported.
Some AXI signals are not implemented.

eg: axlock/axcache/axprot/axregion/axuser

AXI ACE is not supported.


Shell integration failed to activate

Type: Bug
Hi,
I just downloaded VS Code. When I try and follow the simple get started tutorial I get an error message when I try to run my file. The error message is copied below.
Hope you can help
Thanks,
Ahmed
JavaScript Debug Terminal
Process ID (PID): 3748
Command line: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe '-noexit' '-command' 'try { . "c:\Users\ahmed\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1" } catch {}'
Shell integration failed to activate
The following extensions have contributed to this terminal's environment:
Git
VS Code version: Code 1.77.1 (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:21:11.906Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz (8 x 2904)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.83GB (0.98GB free)

Process Argv
--crash-reporter-id deb1a435-e28e-4475-a9fc-6478b3a7007a

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

python
ms-
2023.6.0

vscode-pylance
ms-
2023.4.10

jupyter
ms-
2023.3.1000892223

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-wsl
ms-
0.77.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1:30587005
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
vsccsb:30705552
pythonb192cf:30669361
defaultazurewalk:30687958
pythonms35:30701012
pythonclientmv:30708685

Hi Ahmed,
Here's a summarized list of steps to help you resolve the issue
Ensure you have the latest version of PowerShell installed. Download it from [here](https://aka.ms/powershell-release?tag=stable) if needed.

In VS Code, go to "Settings" (click on the gear icon or use Ctrl+,) and search for "terminal.integrated.shell".

Update the "Terminal > Integrated > Shell: Windows" setting to the path of the newly installed PowerShell executable (e.g., C:\Program Files\PowerShell\7\pwsh.exe).

Save the settings and restart VS Code.

If the issue persists, try disabling all extensions temporarily to check if any extension is causing the problem. You can do this from the "Extensions" view (click on the square icon or use Ctrl+Shift+X). Restart VS Code and see if the issue is resolved. If it is, re-enable the extensions one by one to identify the problematic one.

I hope these steps help you resolve the issue.

Hi,
It now says "Shell integration activated" but I do not get any output in the Debug Console.
I am trying to run a simple js file that contains the following:
console.log('-----');
console.log('Rise & Shine!');
console.log('-----');

Hi Ahmed,
I'm glad to hear that the shell integration issue is resolved. Now, let's try to troubleshoot the problem with the Debug Console. Please follow these steps:
First, ensure that you have the necessary extensions installed for JavaScript development. The most important one is the "JavaScript Debugger" extension, which should be built-in. You can verify this by going to the "Extensions" view (Ctrl+Shift+X) and searching for "JavaScript Debugger".

Next, create a launch configuration file for your project. To do this, click on the "Run" icon in the left sidebar (or use Ctrl+Shift+D). Then, click on "create a launch.json file" and select "Node.js" as the environment.

In the newly created launch.json file, make sure you have a configuration similar to this:

json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/path/to/your/js/file.js"
}
]
}
Replace path/to/your/js/file.js with the correct path to your JavaScript file.
Save the launch.json file.

With the configuration in place, go back to the "Run" view, and you should see the "Launch Program" configuration in the dropdown menu. Select it, and click the green "Run" button (or press F5). This should start the debugger, and you should see the output in the "Debug Console".

If you still don't see any output in the Debug Console, please let me know, and we can look into other potential solutions.

Hi Ahmed,
I'm glad to hear that the shell integration issue is resolved. Now, let's try to troubleshoot the problem with the Debug Console. Please follow these steps:

Ensure JavaScript Debugger is installed: Go to the "Extensions" view (Ctrl+Shift+X) and search for "JavaScript Debugger".

Create a launch configuration: Click on the "Run" icon in the left sidebar (or use Ctrl+Shift+D). Click on "create a launch.json file" and select "Node.js" as the environment.

Update the launch.json file: Make sure you have a configuration similar to this:
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Launch Program",
      "skipFiles": ["<node_internals>/**"],
      "program": "${workspaceFolder}/path/to/your/js/file.js"
    }
  ]
}

4. Replace `path/to/your/js/file.js` with the correct path to your JavaScript file.

5. **Save the launch.json file.**

6. **Run the debugge**r: Go back to the "Run" view, and you should see the "Launch Program" configuration in the dropdown menu. Select it, and click the green "Run" button (or press F5). This should start the debugger, and you should see the output in the "Debug Console".

If you still don't see any output in the Debug Console, please let me know, and we can look into other potential solutions.

Thanks - now I am getting the following error

In my launch.json file I have the following. I figure since I am already in my workspaceFolder - I only need to give it my filename - correct?
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/jsSample.js"
}
]
}

Hi Ahmed,
I apologize for the delay in my response. Let's address the new issue you're facing.
The error you're encountering suggests that Node.js might not be installed or its path is not set correctly in your system. Please follow these steps to resolve the issue:

Install Node.js: If you don't have Node.js installed, download and install it from here.

Verify Node.js installation: Open a new terminal/command prompt and run node -v to check if Node.js is installed correctly. You should see the installed version number.

Add Node.js to PATH (if needed): If the previous step did not show the version number, it's likely that Node.js is not added to your system's PATH. To add it, follow these steps:

For Windows:

Press Win + X and select "System".
Click on "Advanced system settings" on the right side.
Click on the "Environment Variables" button.
In the "System variables" section, find the "Path" variable and click "Edit".
Click "New" and add the path to the Node.js installation folder (e.g., C:\Program Files\nodejs).
Click "OK" to save the changes and close all the dialogs.

For macOS/Linux:

Open a terminal.

Run the following command (replace /path/to/nodejs with the actual path to the Node.js installation folder):
echo 'export PATH=$PATH:/path/to/nodejs' >> ~/.bashrc

Restart your terminal.

Restart VS Code: Close and reopen VS Code to ensure that the new environment variables are loaded.

Check the launch.json file: Your current launch.json configuration looks correct, as long as jsSample.js is located in the root of your workspace folder.

After completing these steps, try running the debugger again. If the issue persists, please let me know and we can explore other solutions.
Best regards,

This works now. Thanks!

No problem, have a great day!

please i need help am working on a react app for some while as a beginner. I have been using npm start to start my app it has being working fine. Just yesterday i tried practicing what i learnt on the creating a backend. After several attempt to set up a mern server that fail, when i tried running {npm start} to start my frontend the terminal when silent.
When i tried hovering the pointer on powershell this is message am getting
shell integration activated  (the following extension has contributed to this terminal environment) : 'Git'
after trying you suggestion above.

Here is what i have tried maybe am still doing wrong please i need assistant. thanks
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/C:/Users/pc/Desktop/projects/my-second-repo/lit_lemon/litle-lemon/src/Components/styles/ChicagoSection.js"
}
]
}

Finally i have resolved it. Using the node installation option. thanks alot


to_instr() requires redundant information

In the parser, the to_instr() function has been taking operands along with their x64asm::Type, passed in as an array of pairs.  We can eliminate this redundancy once #70 is done, and also all the typed operand productions in the grammar.

For this matter, we're not all that far from being able to pitch the whole flex/bison parser altogether now.
I'd say that at this point it's better to just replace this issue with one to eliminate the legacy code. This issue looks low priority enough (no one has touched it in 3 months) that I think it's okay.

how would we parse assembly code without the flex/bison parser?  I see no reason to throw it out?

Just with little hand-written c-codes.
I was just making the observation that a lot of the code in the library was
tending towards this dispatch on type structure -- see the register print
code -- and you could just as soon write the corresponding dispatch on type
register read code for example.
There are some nasty artifacts associated with using a flex/bison parser in
a larger c++ project. Manolis and I came upon some weird segfault that had
to do with static initialization that neither of us could diagnose. It
never turned into an issue, but I could imagine something like that
happening in the future.
It's just one less dependency to support, but probably not worth worrying
about unless there was nothing else to worry about first.
On Sun, May 10, 2015 at 4:56 AM, Berkeley Churchill <
<EMAIL_ADDRESS>wrote:

how would we parse assembly code without the flex/bison parser? I see no
reason to throw it out?
—
Reply to this email directly or view it on GitHub
https://github.com/StanfordPL/x64asm/issues/76#issuecomment-100631059.

Gotcha.  I might be overhauling the parser soon anyway so I could do this.


Remove static newline suffix

might fix #270
I added a test for the body roundtrip that terminates without a newline as a regression test.

Hi there, thanks for the PR, this is actally a good spot.
However, moving the trailing newline into the Decor essentially makes it optional for Structures that are constructed programatically. Encoding a Body that contains these now would produce invalid HCL. Users would need to manually add this to the decor suffix of every structure that they add to a Body to make it emit valid HCL.
One way to fix this I see is to inline this:
for structure in body {
    structure.encode_decorated(buf, NO_DECOR)?;
    buf.write_char('\n')?;
}

at https://github.com/martinohmann/hcl-rs/blob/b92d3d49920683c83bf70008c8c6f832c0cf5481/crates/hcl-edit/src/encode/structure.rs#L55 and then change https://github.com/martinohmann/hcl-rs/blob/b92d3d49920683c83bf70008c8c6f832c0cf5481/crates/hcl-edit/src/encode/structure.rs#L10-L13 to something like this:
let len = self.len();

for (i, structure) in self.iter().enumerate() {
    structure.encode_decorated(buf, NO_DECOR)?;

    if i < len-1 {
        buf.write_char('\n')?;
    }
}

This will only enforce the newlines for every structure of the top-level body, except the last one.
But there we'll have another problem that we need to keep track if the body was newline terminated or not somehow.
For me this smells a bit like splitting the body parser into one for the block body and one for the top-level body to handle this edge case.

See my other comment in #270 as well. I think my proposed solution isn't ideal either.

Closing in favor of #273


Register

@JuliaRegistrator register()

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/92883
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" 99d4153aa998e83525e8f0912c13fa2ebbd5a1a5
git push origin v0.0.1


Open rcx v2 - branch: OpenRCX-v2

Capacitance and Resistance accuracy and performance improvements
Via resistance modeling
New capacitance modeling patterns
Multi-corner extraction
New fast geometry Search Engine
Python scripts to understand and visualize errors
Regression Testing suite
Miscellaneous commands - max_res, no_via_merge_res
New Comprehensive Pattern Set
Modeling based on FasterCap and not dependent on Commercial extractors
Restructuring of main C++ functions for readability and maintenance
Wire Organization
Connectivity Extraction Debugging and Regression Test
Pattern Recognition and Modeling
Pattern Generation for 3rd party Solvers
Model file generation
Modeling Debugging Routines
Compliance with OpenROAD coding standards
Internal/External Documentation of major functions
src/rcx/doc
src/rcx/calibration/fasterCap

Matt,
good catch.
there are 2 models (in the code: _diag_model=1, _diag_model=2
one that ignores s, as the distance to the lateral same level neighbor
the other one with s
I need to debug the second one before use.
Dimitri
On Wed, Nov 13, 2024 at 10:57 PM Matt Liberty @.***>
wrote:

@.**** commented on this pull request.
In src/rcx/doc/model_file.README
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#discussion_r1841662049
:

+# ------------------------------------------------------------

C. Extraction Pattern Model
+# ------------------------------------------------------------

+Metal  <model_name>

model_name can be:

RESOVER - Distance based Resistance

OVER  - metal over sub or other metal

OVER0  - metal over sub or other metal - 1-wire model

OVER1  - metal over sub or other metal - 2-wire model

UNDER - metal over metal under Substrate

UNDER0 - metal over metal under Substrate - 1-wire model

UNDER1 - metal over metal under Substrate - 2-wire model

OVERUNDER - metal over metal under metal

DIAGUNDER - metal over metal under metal for diagonal coupling

I thought DIAGUNDER has another parameter (ds) based on Diagonal Coupling
Cap= function(w,s,ds). Where is that represented in the model file?
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#pullrequestreview-2435195619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDWMWTDYCGGYXLNOPCT2ARCUNAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMZVGE4TKNRRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

There is no DIAGOVER.
Also there is no Over or Under context (crossover) for Diagonal coupling.
It was never there before, but with this new search infrastructure, it will
be easier to implement
I need to re-thing diagonal coupling altogether,
one of the reasons I enhanced the wire search infra
On Wed, Nov 13, 2024 at 10:57 PM Matt Liberty @.***>
wrote:

@.**** commented on this pull request.
In src/rcx/doc/model_file.README
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#discussion_r1841662712
:

+# ------------------------------------------------------------

C. Extraction Pattern Model
+# ------------------------------------------------------------

+Metal  <model_name>

model_name can be:

RESOVER - Distance based Resistance

OVER  - metal over sub or other metal

OVER0  - metal over sub or other metal - 1-wire model

OVER1  - metal over sub or other metal - 2-wire model

UNDER - metal over metal under Substrate

UNDER0 - metal over metal under Substrate - 1-wire model

UNDER1 - metal over metal under Substrate - 2-wire model

OVERUNDER - metal over metal under metal

DIAGUNDER - metal over metal under metal for diagonal coupling

Also why is there no DIAGOVER?
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#discussion_r1841662712,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDUKA3JB27A4BK4CYCL2ARCXDAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMZVGE4TMNZSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Please add unit tests for v2 pattern generation and extraction.

v2 patterns can be generated as follows:
cd src/rcx/test/rcx_v2/model
make v12_patterns
the golden files are 230MB
for extracting v2 patterns with v2 models we need to get SPEF files ran by
third part extractor and generate the model.
I am working on creating a v2 model file with FasterCap.
On Fri, Nov 15, 2024 at 6:41 PM Matt Liberty @.***>
wrote:

Please add unit tests for v2 pattern generation and extraction.
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#issuecomment-2480346798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDVVKKMWLJB3E5CXDCD2A2WD5AVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGM2DMNZZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

added these lines on the  src/rcx/doc/model_file.README
On Fri, Nov 15, 2024 at 6:43 PM Matt Liberty @.***>
wrote:

@.**** commented on this pull request.
In src/rcx/doc/model_file.README
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#discussion_r1844883501
:

example: DensityModel 0

+# ------------------------------------------------------------

C. Extraction Pattern Model
+# ------------------------------------------------------------

+Metal  <model_name>

model_name can be:

RESOVER - Distance based Resistance

OVER  - metal over sub or other metal

OVER0  - metal over sub or other metal - 1-wire model

OVER1  - metal over sub or other metal - 2-wire model

UNDER - metal over metal under Substrate

UNDER0 - metal over metal under Substrate - 1-wire model

UNDER1 - metal over metal under Substrate - 2-wire model

OVERUNDER - metal over metal under metal

What about OVERUNDER0 & OVERUNDER1 which are in
extRCModel::spotModelsInRules?
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#pullrequestreview-2440267172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDQQYOBK43JAG2Q57QD2A2WONAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDINBQGI3DOMJXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

There are new commands that need to be documented in the README
read_process
rules_gen
metal_rules_gen
run_solver
write_rcx_model
init_rcx_model
bench_wires_gen

and new options that need documenting on
bench_wires
write_rules

[Please pull as I've made some updates to fix other issues]

will document these
On Tue, Nov 19, 2024 at 10:28 PM Matt Liberty @.***>
wrote:

There are new commands that need to be documented in the README
read_process
rules_gen
metal_rules_gen
run_solver
write_rcx_model
init_rcx_model
bench_wires_gen
and new options that need documenting on
bench_wires
write_rules
[Please pull as I've made some updates to fix other issues]
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#issuecomment-2487607355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDU6NMJEFR7LADGJUWT2BQTZDAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXGYYDOMZVGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I can waive DCO for this PR but in the future please use "git commit -s" to sign your commits and avoid problems in the future.  I'll also waive clang-tidy for now.  The documentation is the last piece to get this merged as I've fixed the rest of the checks.

@maliberty can this read the old RCX extraction decks we have? If not, this will break a lot of PDKs.

@gadfort yes, I've run it through the ORFS suite.  There is a -version option so the default is no change.

@maliberty thanks for confirming :-)

I cleaned all obsolete user commands and wrote min documentation in
src/rcx/doc/userOptions.README
I am in the process of resolving the conflicts after git pull
On Tue, Nov 19, 2024 at 10:28 PM Matt Liberty @.***>
wrote:

There are new commands that need to be documented in the README
read_process
rules_gen
metal_rules_gen
run_solver
write_rcx_model
init_rcx_model
bench_wires_gen
and new options that need documenting on
bench_wires
write_rules
[Please pull as I've made some updates to fix other issues]
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#issuecomment-2487607355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDU6NMJEFR7LADGJUWT2BQTZDAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXGYYDOMZVGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@dimitrisfotakis this no longer compiles for me:
/home/mliberty_openroad_tools/w3/tools/OpenROAD/src/rcx/src/process_ext.cpp:58:9: error: ?class rcx::extMain? has no member named ?setCurrentModel?; did you mean ?rcx::extRCModel* rcx::extMain::_currentModel?? (not accessible from this context)

I just pushed some fixes.
it should build correctly now
dimitri
On Thu, Nov 21, 2024 at 2:41 PM Matt Liberty @.***>
wrote:

@dimitrisfotakis https://github.com/dimitrisfotakis this no longer
compiles for me:
/home/mliberty_openroad_tools/w3/tools/OpenROAD/src/rcx/src/process_ext.cpp:58:9: error: ?class rcx::extMain? has no member named ?setCurrentModel?; did you mean ?rcx::extRCModel* rcx::extMain::_currentModel?? (not accessible from this context)
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#issuecomment-2492501307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDU4BH7TV6YEJVG476T2BZORLAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJSGUYDCMZQG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Still missing docs for
write_rcx_model
init_rcx_model
read_rcx_tables
gen_solver_patterns
define_rcx_corners
get_model_corners
gen_rcx_model
bench_wires_gen

not in the userOptions.README ?
do you need more?
On Thu, Nov 21, 2024 at 9:49 PM Matt Liberty @.***>
wrote:

Still missing docs for
write_rcx_model
init_rcx_model
read_rcx_tables
gen_solver_patterns
define_rcx_corners
get_model_corners
gen_rcx_model
bench_wires_gen
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/pull/6154#issuecomment-2492922330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADK2TDUM6B3ZGDA7FDBK7JT2B3AWHAVCNFSM6AAAAABRXDCBWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJSHEZDEMZTGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


readme — correction of lockfile generation command

I suppose, these instructions were meant to say list, instead of env export.
Please check, if this change is correct.

Hi @creative-resort . Thank you for taking the time to contribute.
I'm unsure as to why you are recommending this change. Did micromamba env export ... not work for you? micromamba list ... produces a human readable list that is not usable to initialize an environment.

My apologies, I was using mamba instead of micromamba,
and found the "Explicit spec files" approach with list in the documentation
https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html#explicit-spec-files
The explicit flag is indeed available on env export for micromamba.
https://github.com/mamba-org/mamba/blob/b46dbbf1b167db78c11a6e6c5348ebc6c6304f1f/micromamba/src/env.cpp#L58

Yes, these little differences between the mamba, micromamba, and conda command line parameters can be rather annoying. We could ask the micromamba team (via an issue in https://github.com/mamba-org/mamba/) to add the --explicit option for micromamba list ...


fix: replace alert-engine png with svg image

:id: Reference related issue.
https://gravitee.atlassian.net/browse/AM-794
:pencil2: A description of the changes proposed in the pull request
Change alert-engine png image to provided svg image
:memo: Test scenarios
Click on alerts from sidebar
:computer: Add screenshots for UI

@leleueri / @gcusnieux do you agree this is ok to merge to 4.1 branch ignoring the flaky tests since it's just an image change as Mariano mentioned in daily?

@leleueri / @gcusnieux do you agree this is ok to merge to 4.1 branch ignoring the flaky tests since it's just an image change as Mariano mentioned in daily?

Yes sure


Added Docker setup

Simple  config for developing inside a docker container

This PR looks OK now and can be merged?

🙏 thank you @vidarl


compute entry id for each received entity notification

Is your feature request related to a problem? Please describe.
At the time being there is no unique identifier of registered timeseries entries. This  may simplify some queries, and help to support some of the ngsi-ld requirements.
From NGSI-LD spec for Properties:

"instanceId": a URI uniquely identifying a Property instance. System generated. Optional.

For temporal representations, systems should maintain an instanceId for each Property instance. Without
such an instanceId, it is not possible to selectively modify or delete temporal information via the
NGSI-LD API. The consequences of this may be severe in the case of modification or deletion requests
for legal reasons, e.g. GDPR [i.18]. When implementing the NGSI-LD API on storage systems that do
NOT allow modification or deletion, similar problems may be encountered.
Describe the solution you'd like

When a new entity is received, automatically and id is generated from the backend db.

Describe alternatives you've considered
Well doing nothing about it :)
Additional context
N/A

@chicco785 I would like to contribute on this issue. For that I need little clarification on:

When a new entity is received, automatically and id is generated from the backend db.

We need to create a new column named instanceId, and whenever we receive an update for entity we should add unique value to instanceId. So each row inside the table is uniquely identified by instanceId

Closing as PR #565 is merged.


Software TPM (sTPM) not working after fall creators update

After updating to Version 10.0.16299.19 the Software TPM (sTMP) is not working any more.

After the update the previous settings where gone on all slots
New settings through the Device Portal where stored
TPM Settings are are not readable through the actual C# SDKs using the Microsoft.Devices.Tpm Class. All NuGet Packages on the most current versions (Microsoft.NETCore.UniversalWindowsPlatform - 6.0.1, Microsoft.Devices.Tpm - 1.0.0). There is no error but the Device ID shows a random GUID and all other settings are empty Strings
Resetting the TPM settings and using different sTPM Slots did not solve the issue

Thank you for reaching out. We've filed a bug for this.

The Software TPM is a developer only feature, and work was not done to preserve state on upgrade. Have you attempted to reset the sTPM via the instructions located here?

Yes I reseted the sTPM multiple times... that the sTPM does not preserve the state during upgrade is not a big problem, however that is not useable at all after the Windows Upgrade is. In the meanwhile this issue is filed as a bug in Windows 10 IoT Core so I hope the issue is resolved in the foreseeable future.


Fix memory leaks for observing properties

When I used "Leaks" of instruments for "Example" target, several memory leaks were detected just after launch.

It seems that observing properties by using observe causes them.
This PR is to prevent the leaks by using observeWeakly instead of observe for observing properties.
When using observeWeakly, no leaks are detected.

I would appreciate if this PR could be reviewed.
Reference: rx.observeWeakly
https://github.com/ReactiveX/RxSwift/blob/12cccb171ad9038251af6883807f0290c1d75a5b/Documentation/GettingStarted.md#rxobserveweakly

Nice catch guy. Thanks for this PR.


Not seeing accessory

Describe Your Problem:
After installing the plugin and adding the switch I don't see the accessory added.
Logs:
[12/29/2020, 1:55:35 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[12/29/2020, 1:55:35 PM] [HB Supervisor] Started Homebridge v1.1.7 with PID: 35421
[12/29/2020, 1:55:36 PM] Loaded config.json with 1 accessories and 7 platforms.
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:36 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:36 PM] Registering platform 'homebridge-bravia.BraviaPlatform'
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:36 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:36 PM] Registering platform 'homebridge-config-ui-x.config'
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:36 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:36 PM] Registering platform 'homebridge-nest.Nest'
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:36 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:36 PM] Registering platform 'homebridge-ring.Ring'
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:36 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:36 PM] Registering platform 'homebridge-samsungtv-control.SamsungTVControl'
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:36 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:36 PM] Registering platform 'homebridge-switchmate-switch.SwitchmateSwitch'
[12/29/2020, 1:55:36 PM] ---
[12/29/2020, 1:55:37 PM] ---
[12/29/2020, 1:55:37 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:37 PM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[12/29/2020, 1:55:37 PM] ---
[12/29/2020, 1:55:37 PM] Loaded plugin<EMAIL_ADDRESS>[12/29/2020, 1:55:37 PM] Registering platform 'homebridge-yamaha-receiver.YamahaReceiver'
[12/29/2020, 1:55:37 PM] ---
[12/29/2020, 1:55:37 PM] Loading 7 platforms...
[12/29/2020, 1:55:37 PM] [Config] Initializing config platform...
[12/29/2020, 1:55:37 PM] [Config] Running in Service Mode
[12/29/2020, 1:55:37 PM] [Ring] Initializing Ring platform...
[12/29/2020, 1:55:37 PM] [Nest] Initializing Nest platform...
[12/29/2020, 1:55:37 PM] [TplinkSmarthome] Initializing TplinkSmarthome platform...
[12/29/2020, 1:55:37 PM] [TplinkSmarthome] homebridge-tplink-smarthome v6.1.0, node v14.15.3, homebridge v1.1.7
[12/29/2020, 1:55:37 PM] [BraviaPlatform] Initializing BraviaPlatform platform...
[12/29/2020, 1:55:37 PM] [YamahaReceiver] Initializing YamahaReceiver platform...
[12/29/2020, 1:55:37 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform...
[12/29/2020, 1:55:37 PM] Loading 1 accessories...
[12/29/2020, 1:55:37 PM] [BraviaPlatform] Restoring Family Room TV from HomeKit
[12/29/2020, 1:55:37 PM] [Nest] Fetching Nest devices.
[12/29/2020, 1:55:37 PM] Homebridge is running on port 51155.
[12/29/2020, 1:55:37 PM] [YamahaReceiver] Found AVR "Yamaha RX-A1070" at XX
HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F126-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F10C-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F110-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F10A-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 000000E3-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000043-0000-1000-8000-0026BB765291. Adding anyway.
[12/29/2020, 1:55:37 PM] Yamaha AV is running on port 50906.
[12/29/2020, 1:55:37 PM] Please add [Yamaha AV] manually in Home app. Setup Code: XX
HAP Warning: Characteristic 000000E3-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000043-0000-1000-8000-0026BB765291. Adding anyway.
[12/29/2020, 1:55:37 PM] Zone2 is running on port 50907.
[12/29/2020, 1:55:37 PM] Please add [Zone2] manually in Home app. Setup Code:XX
[12/29/2020, 1:55:38 PM] [Ring] Configuring 1 cameras and 4 devices for location "Tampa" - locationId: XX
[12/29/2020, 1:55:40 PM] [Nest] initing thermostat "Downstairs Thermostat": deviceId: XX structureId:XX
[12/29/2020, 1:55:40 PM] [Nest] initing thermostat (P) "Upstairs Thermostat": deviceId: XX structureId: XX
[12/29/2020, 1:55:40 PM] [Nest] initing home_away_sensor "Home Occupied": deviceId:XX structureId: X
[12/29/2020, 1:55:40 PM] [Nest] initing protect "Upstairs": deviceId: XX structureId: XX
[12/29/2020, 1:55:40 PM] [Nest] initing protect "Downstairs": deviceId: XX structureId: XX

Plugin Config:
        {
            "devices": [
                {
                    "name": "Master Bedroom",
                    "id": "MAC ID (Double and triple checked)"
                }
            ],
            "platform": "SwitchmateSwitch"
        }

Environment:

Plugin Version:  homebridge-switchmate-switch v1.1.0
Homebridge Version: 1.17
Node.js Version: v14.15.3
NPM Version: 6.14.9
Operating System: macOS

looks like the plugin never finished initialization. Is this the log in debug mode?

No. Not debug. I set Debug to * and I'm not sure I can weed through that to pull out everything that needs to be pulled for privacy. Any way to guide me what to look for?

you can turn on the debug mode(not setting debug environment variable) then copy all lines starting with [SwitchmateSwitch]. you can mark anything that looks like a mac address to you.

[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform...
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] Finished initializing platform
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] Executed didFinishLaunching callback
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] peripheral 5d23eeb4f6554650b9d98f6695a0a997 is not configured
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] peripheral 33103bb138af4b03974c5abccaf75cdb is not configured
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] peripheral 2408c374f2db426bad43b6ad34eb3010 is not configured
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] peripheral 460bac18ea7844de8a6edc494e2f047b is not configured
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] peripheral b3983b47956648cdbd5e9a794cf91e81 is not configured
[12/29/2020, 10:50:52 PM] [SwitchmateSwitch] peripheral 17f673b4ac3e42428d03736c2a5f1d01 is not configured
[12/29/2020, 10:50:53 PM] [SwitchmateSwitch] peripheral b329c7ed14644a4f83953e844bea93b0 is not configured
[12/29/2020, 10:50:53 PM] [SwitchmateSwitch] peripheral 241c9f36660c4ab0bb288e1f50638407 is not configured
[12/29/2020, 10:50:53 PM] [SwitchmateSwitch] peripheral a4453abf79dc4bd1992561b2dbeef0a9 is not configured
[12/29/2020, 10:50:53 PM] [SwitchmateSwitch] peripheral 46737e251227465f994366c474af5c65 is not configured
[12/29/2020, 10:50:53 PM] [SwitchmateSwitch] peripheral 33437f4e699e402191e2ff88d4e6c858 is not configured
[12/29/2020, 10:50:54 PM] [SwitchmateSwitch] peripheral 65502d2d7c22452ebc758487cfaa3ee4 is not configured
[12/29/2020, 10:50:54 PM] [SwitchmateSwitch] peripheral 6529a4cee1024493ac5de8849eb72da6 is not configured
[12/29/2020, 10:50:55 PM] [SwitchmateSwitch] peripheral 5a91ab5cedf241c6ad1ed9413472bc88 is not configured
[12/29/2020, 10:50:55 PM] [SwitchmateSwitch] peripheral 7b5771be4f554b5bb7599d0338f1770b is not configured
[12/29/2020, 10:50:56 PM] [SwitchmateSwitch] peripheral d807b6cb343d46de9e250a3c596b5688 is not configured
[12/29/2020, 10:50:57 PM] [SwitchmateSwitch] peripheral 29fc38c976164fb6bcec5c1bdefb8bd6 is not configured
[12/29/2020, 10:50:59 PM] [SwitchmateSwitch] peripheral 11949155a2ed4e8194f5b0765df5d2be is not configured
[12/29/2020, 10:50:59 PM] [SwitchmateSwitch] peripheral 040ba6b162d744df8448e2c2e4a73c6c is not configured
[12/29/2020, 10:51:03 PM] [SwitchmateSwitch] peripheral d291606134a44897bda672d58df496bb is not configured
[12/29/2020, 10:51:03 PM] [SwitchmateSwitch] peripheral 3fd1f921e873433899b307602b7525a6 is not configured
[12/29/2020, 10:51:05 PM] [SwitchmateSwitch] peripheral 773a9038973b4116b06d3d7138a1ec59 is not configured
[12/29/2020, 10:51:11 PM] [SwitchmateSwitch] peripheral<PHONE_NUMBER>554d628011cf9421fee8e4 is not configured

thanks. looks like it does discover some bluetooth devices but the mac addresses are not in a format that this plugin can understand. they should be something like 5f06d9e88cd2 .
Are you running homebridge on a pi?

No. On a Mac. Maybe it’s not picking up the switch just being too far away?

no. the plugin is looking for something like 5f06d9e88cd2. Are you installing noble with homebrew?
Looking at their page I don't find anything regarding macOS yet it supports macOS

MacOS is at the top. It just says install Xcode which I verified I have installed. I’ll see if I can find more info down that path. Thanks for the help.

MacOS is at the top. It just says install Xcode which I verified I have installed. I’ll see if I can find more info down that path. Thanks for the help.

 Don’t know what may or may not apply to your code.
example: Note: isNotification event parameter value MAY be undefined depending on platform. The parameter is deprecated after version 1.8.1, and not supported on macOS High Sierra and later.
And
Note: On macOS, the address will be set to '' if the device has not been connected previously.

 Don’t know what may or may not apply to your code.
example: Note: isNotification event parameter value MAY be undefined depending on platform. The parameter is deprecated after version 1.8.1, and not supported on macOS High Sierra and later.
And
Note: On macOS, the address will be set to '' if the device has not been connected previously.

that's why I'm not sure. There's nothing special regarding the usage of noble on macOS, yet it's outputing something different from linux/raspbian.

Note: On macOS, the address will be set to '' if the device has not been connected previously.

this doesn't matter to us since we're using the id of the device not the address

that's why I'm not sure. There's nothing special regarding the usage of noble on macOS, yet it's outputing something different from linux/raspbian.

Note: On macOS, the address will be set to '' if the device has not been connected previously.

this doesn't matter to us since we're using the id of the device not the address

I'll try to see if I can find the problem on my macbook but I'm pretty busy this week so hopefully next week

I'll try to see if I can find the problem on my macbook but I'm pretty busy this week so hopefully next week

I'm going to move to Big Sur and update Xcode too, see if that helps.

I'm going to move to Big Sur and update Xcode too, see if that helps.

This is all I'm seeing now (I don't know that it's related to the updates).
[1/2/2021, 4:29:49 PM] Loaded plugin<EMAIL_ADDRESS>[1/2/2021, 4:29:49 PM] Registering platform 'homebridge-switchmate-switch.SwitchmateSwitch' [1/2/2021, 4:29:49 PM] Registering platform 'homebridge-switchmate-switch.SwitchmateSwitch' [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform... [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform... [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Finished initializing platform [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Executed didFinishLaunching callback [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] start noble scanning

This is all I'm seeing now (I don't know that it's related to the updates).
[1/2/2021, 4:29:49 PM] Loaded plugin<EMAIL_ADDRESS>[1/2/2021, 4:29:49 PM] Registering platform 'homebridge-switchmate-switch.SwitchmateSwitch' [1/2/2021, 4:29:49 PM] Registering platform 'homebridge-switchmate-switch.SwitchmateSwitch' [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform... [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform... [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Finished initializing platform [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] Executed didFinishLaunching callback [1/2/2021, 4:29:49 PM] [SwitchmateSwitch] start noble scanning

hi @gonzonia, i just updated the plugin with more detailed logs. Please update and see if you get more logs from homebridge.

hi @gonzonia, i just updated the plugin with more detailed logs. Please update and see if you get more logs from homebridge.

I looked at this some more earlier today. I have some theories....
#1- Noble added some details to their requirements. They added a note about needing to update security settings on OSX.
#2- I looked at another Switchmate plugin and and they had some additional steps that won't work on MacOS. I'm wondering if some of that is to blame.
In my logs now.
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform...
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] Finished initializing platform
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] on DID_FINISH_LAUNCHING. Looking for new accessories
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] delay discovery for 15 seconds
[1/24/2021, 7:06:33 PM] [SwitchmateSwitch] noble is not running. waiting for it to power on...

I looked at this some more earlier today. I have some theories....
#1- Noble added some details to their requirements. They added a note about needing to update security settings on OSX.
#2- I looked at another Switchmate plugin and and they had some additional steps that won't work on MacOS. I'm wondering if some of that is to blame.
In my logs now.
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] Initializing SwitchmateSwitch platform...
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] Finished initializing platform
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] on DID_FINISH_LAUNCHING. Looking for new accessories
[1/24/2021, 7:06:18 PM] [SwitchmateSwitch] delay discovery for 15 seconds
[1/24/2021, 7:06:33 PM] [SwitchmateSwitch] noble is not running. waiting for it to power on...

#2- I looked at another Switchmate plugin and and they had some additional steps that won't work on MacOS. I'm wondering if some of that is to blame.

I don't see the additional steps. mind referring those?
for the logs is that all you get from the plugin? Normally the scan should start following your last line.

#2- I looked at another Switchmate plugin and and they had some additional steps that won't work on MacOS. I'm wondering if some of that is to blame.

I don't see the additional steps. mind referring those?
for the logs is that all you get from the plugin? Normally the scan should start following your last line.

From the other plugin - This can't be run on MacOS.

Permissions
NodeJS needs permission to control the Bluetooth radio on your system. Execute the command below to give NodeJS the capability use raw sockets and manage the interface.
sudo setcap 'cap_net_raw,cap_net_admin+eip' which node

That's it from the logs.

From the other plugin - This can't be run on MacOS.

Permissions
NodeJS needs permission to control the Bluetooth radio on your system. Execute the command below to give NodeJS the capability use raw sockets and manage the interface.
sudo setcap 'cap_net_raw,cap_net_admin+eip' which node

That's it from the logs.

maybe they removed the 'undocumented protocol' mentioned here

maybe they removed the 'undocumented protocol' mentioned here

not sure if this is the issue you have abandonware/noble#162

not sure if this is the issue you have abandonware/noble#162

That's the security changes I referred to. I made the change, but still no go. I've installed the plugin (is there an install log somewhere?) but no accessories. I think this is likely the issue because an npm install in the homebridge folder (from ssh or terminal directly) results in
> npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/@abandonware/bluetooth-hci-socket):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"linux,android,freebsd,win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})

So I think the issue is the that it's being accessed from something other than terminal and I need to determine what and give it appropriate permissions.

That's the security changes I referred to. I made the change, but still no go. I've installed the plugin (is there an install log somewhere?) but no accessories. I think this is likely the issue because an npm install in the homebridge folder (from ssh or terminal directly) results in
> npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/@abandonware/bluetooth-hci-socket):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"linux,android,freebsd,win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})

So I think the issue is the that it's being accessed from something other than terminal and I need to determine what and give it appropriate permissions.

I think this is likely the issue because an npm install in the homebridge folder (from ssh or terminal directly) results in

it shouldn't be because these 2 are optional dependencies.
if you install the plugin you referred they have a binary tool that scans BLE devices. Have you tried that? Does it work?

I think this is likely the issue because an npm install in the homebridge folder (from ssh or terminal directly) results in

it shouldn't be because these 2 are optional dependencies.
if you install the plugin you referred they have a binary tool that scans BLE devices. Have you tried that? Does it work?

No. I posted an issue on that plugin as well.

I tried just installing and running switchmate-ble find
This is the result
/usr/local/lib/node_modules/homebridge-switchmate-ble/lib/scanner.js:28
noble._bindings._hci.on('leScanEnableSetCmd', enabled => {
^
TypeError: Cannot read property 'on' of undefined
at new Scanner (/usr/local/lib/node_modules/homebridge-switchmate-ble/lib/scanner.js:28:30)
at Object. (/usr/local/lib/node_modules/homebridge-switchmate-ble/lib/scanner.js:224:28)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/usr/local/lib/node_modules/homebridge-switchmate-ble/bin/cli-find.js:4:17)
at Module._compile (internal/modules/cjs/loader.js:1063:30)

No. I posted an issue on that plugin as well.

I tried just installing and running switchmate-ble find
This is the result
/usr/local/lib/node_modules/homebridge-switchmate-ble/lib/scanner.js:28
noble._bindings._hci.on('leScanEnableSetCmd', enabled => {
^
TypeError: Cannot read property 'on' of undefined
at new Scanner (/usr/local/lib/node_modules/homebridge-switchmate-ble/lib/scanner.js:28:30)
at Object. (/usr/local/lib/node_modules/homebridge-switchmate-ble/lib/scanner.js:224:28)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/usr/local/lib/node_modules/homebridge-switchmate-ble/bin/cli-find.js:4:17)
at Module._compile (internal/modules/cjs/loader.js:1063:30)

Hi @gonzonia
Not sure if you still have this problem. I've upgraded my pi4 to bullseye and had the same problem.
Upon checking the bluetooth service is not running due to the new connman cli tool added.
This might be the same problem for you. Can you please check if the bluetooth service corrected started?
You can do so by using sudo systemctl status bluetooth

I actually stopped using homebridge and switched over to Home Assistant which had broader support for my devices. I couldn't get the Switchmate device working their either,  but it's not a big deal.

Okay I'll close this then. Let me know if you're switching back and we can try debug it.


Overriding vulnerabilities seems to be having an issue

We have been using ORT for sometime now, but with the latest ORT changes it is observed that the resolutions in the .ort.yml file seems to be ignored for the vulnerabilities. But it is working perfectly fine for rule violations.
Below is the sample .ort.yml file with the resolution details,
.ort.yml file
resolutions:
  rule_violations:
  - message: ".*PyPI::astroid:2.15.6.*"
    reason: "DYNAMIC_LINKAGE_EXCEPTION"
    comment: "override this violation as we already took approval from OSPO."

  vulnerabilities:
  - id: "GHSA-5wv5-4vpf-pj6m"
    reason: "INVALID_MATCH_VULNERABILITY"
    comment: "This vulnerability is not affecting my application."

Also attached is the result from evaluation-result.json where we can see that the local configurations have been picked up but in the resolution only rule violations is taken for consideration.

Looks like a duplicate of https://github.com/oss-review-toolkit/ort/issues/7304.


[bazel] update rules_rust to enable bindgen

This updates rules_rust (to a newly patched version) to fix #15441 and enable using bindgen tool in airgapped environments.
Signed-off-by: Timothy Trippel<EMAIL_ADDRESS>

Just a PSA, we need to hold off on merging this until proper changes have been pushed to our airgapped environment.


File does not auto-reload on Windows when continuously appending to an initially existing file

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.85.1
OS Version: Windows 10 22H2

Steps to Reproduce:
In the VS Code Terminal

echo 1 > output.log (and wait >1s)
code output.log
(for /l %f in () do @echo 1) >> output.log

File does not auto-reload until editor is re-focused.
This is similar to https://github.com/microsoft/vscode/issues/93277, and I reported it upstream in https://github.com/paulmillr/chokidar/issues/1297. (However, there is low activity in the related https://github.com/paulmillr/chokidar/issues/999.)

I am able to reproduce with the file watching library already, so please report this over at https://github.com/parcel-bundler/watcher

Thanks, done in https://github.com/parcel-bundler/watcher/issues/164


Code Action: Generate unimplemented methods (interface)

Hello Josh,
It would be nice to have a code action to generate missing methods when implementing an interface.
Apparently the parser is already aware of the missing methods.

Best,
Aurélien

Good suggestion!

Thanks Josh!


Improve export validation

A couple of improvements to the export dialog and validation.

Would fix #1404.

I tested it locally and it works perfectly, I'd really like to see this merged for 2.0.


Repo sync for protected CLA branch

The pull request is created from master637570622358350036 to master to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Close popups with

Hi, and thanks everyone for awesome work on this plugin!
I recently started playing with it, and first thing I noticed is that it took me some time to figure out that popup should be closed with q. I think having <esc> as an option would be more convenient.

Hmm... I think that is a valid default binding. Thanks!


Automatically generate and pack a TPN file

Summary
Automatically generate a THIRD-PARTY-NOTICES (TPN) file and pack it as part of the dotnet-monitor NuGet package.

Release Notes Entry

/backport to release/7.x

/backport to release/7.x

/backport to release/7.0

/backport to release/6.x


improvement skip attach profile during send fragment

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


E5108: Error executing lua & E114: 缺少引号 & no such file or directory

Describe the bug
when you open some files, it will reveal some error messages like following.
处理 BufReadPost 自动命令 "*" 时发生错误:
E5108: Error executing lua ...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: 缺少引号: "Error in packer_compiled: ...vim/site/pack/p
acker/opt/packer.nvim/lua/packer/load.lua:155: Vim(lua):E5108: Error executing lua ...im/HEAD-2ef9d2a_1/share/nvim/runtime/lua/vim/lsp/rpc.lua:328: start `efm-langser
ver` failed: ENOENT: no such file or directory
stack traceback:
        [C]: in function 'cmd'
        ...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:165: in function <...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:161>
        [string ":lua"]:1: in main chunk

To Reproduce
Opening any file in my PC will see this error, and the message will disappear after .
Screenshots

Environment (please complete the following information):

OS: macOS
Nvim version(output of nvim --version)

NVIM v0.6.0-dev+575-g2ef9d2a66
Build type: Release
LuaJIT 2.1.0-beta3
Features: +acl +iconv +tui

Please install efm-langserver and add it to PATH.