WARNING Disconnected from API: Timeout while waiting for message response!

After connection I see in the device log client disconnecting with the above error message.
Do I need to send any additional command to the device confirming the connection ?
[08:41:47][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
WARNING Disconnected from API: Timeout while waiting for message response!
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
INFO Successfully connected to lightning_magazijn.local
WARNING Disconnected from API: Timeout while waiting for message response!
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
INFO Successfully connected to lightning_magazijn.local
[08:48:48][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:48:48][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:49:18][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:49:18][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:49:48][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:49:48][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:50:19][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:50:19][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:50:49][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:50:49][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:51:22][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:51:22][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:51:53][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:51:53][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:52:24][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:52:24][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:52:54][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:52:54][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)
[08:53:25][D][api.connection:604]: Client 'xxx (<IP_ADDRESS>)' connected successfully!
[08:53:25][D][api:067]: Disconnecting xxx (<IP_ADDRESS>)

i am able to send state changes and they are acknowledging all good, but I assume the connections should be stable and the message "Timeout while waiting for message response!" is confusing me and its looping all 30seconds, feels like I have to send a response ?

I further noticed that the client gets a disconnect message, I see no error on the entity of client listener giving a clue why this happens.
After that, the module tries to reconnect but gets into a 30 second loop (all reconnect settings etc are default, meaning not set during connection initialization)

and this is what happens on the ESPHome device log :
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
INFO Successfully connected to lightning_magazijn.local
[11:25:57][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:25:57][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
WARNING Disconnected from API: Timeout while waiting for message response!
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
INFO Successfully connected to lightning_magazijn.local
[11:26:27][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:26:27][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:26:57][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:26:57][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:27:27][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:27:27][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
WARNING Disconnected from API: Timeout while waiting for message response!
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
WARNING Couldn't connect to API (Error connecting to <IP_ADDRESS>: timed out). Trying to reconnect in 1 seconds
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
INFO Successfully connected to lightning_magazijn.local
[11:28:28][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:28:28][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:28:58][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:28:58][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:29:29][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:29:29][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:30:07][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:30:07][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:30:38][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:30:38][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:31:08][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:31:08][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
[11:31:39][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:31:39][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)
WARNING Disconnected from API: Timeout while waiting for message response!
INFO Connecting to lightning_magazijn.local:6053 (<IP_ADDRESS>)
INFO Successfully connected to lightning_magazijn.local
[11:32:09][D][api.connection:604]: Client 'ioBroker (<IP_ADDRESS>)' connected successfully!
[11:32:09][D][api:067]: Disconnecting ioBroker (<IP_ADDRESS>)

It looks like this was an issue caused by my code, I will monitor the outcome but close this issue for now


Added refactored client side data enrichment code to match backend AP…

Refactored client side code based on this task: https://www.notion.so/cleanlab/make-data-enrichment-client-side-API-match-backend-API-105c7fee85be8097b54dfb121b7dba4e
Goal: make Dynamic API match the Static API.

in all facets: cohesive naming of methods, argument types, regular expression libraries, etc.
This way user can use backend API to prototype Enrichment jobs and run them over a big static dataset, but then use client-API when they need to run the same logic in real-time over streaming data one at a time.
For any packages we need to import client-side, make these lazy optional imports, so cleanlab-studio package still works without those installed.

Still doing some testing (unit test runs) but will request review on overall structure.

Example flow of running this
from cleanlab_studio import Studio
from cleanlab_studio.client.enrichment import ClientEnrichmentProject
import pandas as pd

df = pd.DataFrame({'text': ['Great product', 'Bad service']})

dataset_id = Studio.upload_dataset(df)
de = Studio.create_enrichment_project(dataset_id)

options = {
    'prompt': 'What is the sentiment of this text: ${text}',
    'constrain_outputs': ['positive', 'negative'],
    'optimize_prompt': True
}

de.preview(options, 'sentiment')

results = de.run(options, 'sentiment')

# Convert to client project for online inference
client_de = ClientEnrichmentProject(api_key=de._api_key, id=de.id, name=de.name)

# Now switch to client-side for streaming
new_df = pd.DataFrame({'text': ['Amazing quality', 'Terrible experience']})

# Use exact same options for online inference
streaming_results = client_de.online_inference(new_df, options, 'sentiment')
# Returns same format as de.run()


Improvements to consume and prune tx_out migrations

After https://github.com/input-output-hk/cardano-db-sync/pull/1416 there are some remaining issues that can improve the consumed and prune migrations. We split them in two lists.
Issues that affect users:

[x] #1486
[ ] The consumed migration happens on a single db-transaction, which is the same transaction where the consumed_by_tx_in_id column is created. This happens because otherwise there would be partial migrations that can cause problems. This migration also takes multiple hours (up to 24) and if it is interrupted it needs to be restarted from scratch. We could save progress on a new table. This requires schema changes so it needs a major bump, eg 13.2.
[x] #1511
[ ] #1597
[x] https://github.com/input-output-hk/cardano-db-sync/issues/1514
[x] Possible issue https://github.com/input-output-hk/cardano-db-sync/issues/1423
[x] https://github.com/input-output-hk/cardano-db-sync/issues/1534

Internal issues/tech debts:

[x] #1489
[x] https://github.com/input-output-hk/cardano-db-sync/issues/1465
[x] Hardcoded values https://github.com/input-output-hk/cardano-db-sync/issues/1418
[x] Unit tests https://github.com/input-output-hk/cardano-db-sync/issues/1417

The second bullet is no longer needed due to alternatives https://github.com/IntersectMBO/cardano-db-sync/issues/1534 and https://github.com/IntersectMBO/cardano-db-sync/issues/1511


Vision Image Detector API is not detecting color properly

Hi I have tried a couple of scenarios with the different images the color is not getting properly
Here are  images I have used

Hi @umashankar-pardhi-amla, would you mind providing any code snippets to reproduce?

Hi,
I have checked the data in below URL, If you see the primary color is blue but you see the below color 78%
#F6C302,  RGB(246, 195, 2)
https://cloud.google.com/vision/?utm_source=google&utm_medium=cpc&utm_campaign=japac-IN-all-en-dr-bkwsrmkt-all-all-trial-e-dr-1009882&utm_content=text-ad-none-none-DEV_c-CRE_529515616209-ADGP_Hybrid | BKWS - EXA | Txt ~ AI %26 ML ~ Vision AI_Vision-google cloud vision-KWID_43700054972142004-kwd-203288730967&userloc_9301893-network_g&utm_term=KW_google cloud vision&gclid=CjwKCAjwgr6TBhAGEiwA3aVuIe-9QqstsV4-WW2pIJfv6uJ4s-lodTBqCIGXfEZrM7oaoQgYzl2jYhoCHZwQAvD_BwE&gclsrc=aw.ds


Bloons TD 6

BloonsTD6.dxvk-cache.zip

52 entries, new cache added.

BloonsTD6.zip
found some more cache steam saved for me

62 new entries.


Implement the support for SHT3x sensors

https://www.cicciocb.com/forum/viewtopic.php?t=959

Done using drivers written in basic :
`
'i2c minimalist driver for the SHT3x Temp / Humid sensors
'see datasheet https://sensirion.com/media/documents/213E6A3B/63A5A569/Datasheet_SHT3x_DIS.pdf
dim D(10)
crc = 0
I2C.SETUP 21, 22   'Pins as shown
t = 0 : h = 0
for z = 1 to 1000
read_DHT3x t, h
wlog "Temperature:"; t; "°C" , "Humidity:"; h; "%"
pause 1000
next z
end
sub read_DHT3x(temperature, humidity)
local i, raw_temp, raw_hum, crc
i2c.begin &h44
i2c.write &h24
i2c.write &h00 '00 = high precision, 0B = medium precision, 16 = lowest prevision (details in table 9 of datasheet)
i2c.end
pause 100
i2c.reqfrom &h44, 6 ' read 6 bytes
pause 100
for i = 0 to 5
D(i) = i2c.read
next i
raw_temp = D(0) << 8 or D(1)
raw_hum = D(3) << 8 or D(4)
temperature = -45 + 175 * raw_temp / 65535
humidity = 100 * raw_hum / 65535
'wlog temperature, humidity
'check if the CRC is correct (can be removed, just for checking purposes)
crc8 raw_temp, crc
'wlog "CRC temp", crc, D(2)
if (crc <> D(2)) then wlog "Read CRC Error"
crc8 raw_hum, crc
'wlog "CRC hum", crc, D(5)
if (crc <> D(5)) then wlog "Read CRC Error"
end sub
SUB CRC8(value, crc)
local i, j, byte
crc = &hFF
for i = 1 to 0 step -1
byte = (value >> (8*i)) and &hff
crc = crc xor byte
for j = 0 to 7
if (crc and &h80) <>0 then
crc = ((crc << 1) xor &h31) and 255
else
crc = (crc << 1) and 255
end if
next j
next i
end sub
`
`
'i2c minimalist driver for the SHT4x Temp / Humid sensors
'see datasheet https://sensirion.com/media/documents/33FD6951/662A593A/HT_DS_Datasheet_SHT4x.pdf
dim D(10)
crc = 0
I2C.SETUP 21, 22   'Pins as shown
t = 0 : h = 0
for z = 1 to 1000
read_DHT4x t, h
wlog "Temperature:"; t; "°C" , "Humidity:"; h; "%"
pause 1000
next z
end
sub read_DHT4x(temperature, humidity)
local i, raw_temp, raw_hum, crc
i2c.begin &h44
i2c.write &hFD  'FD = high precision, F6 = medium precision, E0 = lowest prevision (details in table 4.5 of datasheet)
i2c.end
pause 100
i2c.reqfrom &h44, 6 ' read 6 bytes
pause 100
for i = 0 to 5
D(i) = i2c.read
next i
raw_temp = D(0) << 8 or D(1)
raw_hum = D(3) << 8 or D(4)
temperature = -45 + 175 * raw_temp / 65535
humidity = -6 + 125 * raw_hum / 65535
'wlog temperature, humidity
'check if the CRC is correct (can be removed, just for checking purposes)
crc8 raw_temp, crc
'wlog "CRC temp", crc, D(2)
if (crc <> D(2)) then wlog "Read CRC Error"
crc8 raw_hum, crc
'wlog "CRC hum", crc, D(5)
if (crc <> D(5)) then wlog "Read CRC Error"
end sub
SUB CRC8(value, crc)
local i, j, byte
crc = &hFF
for i = 1 to 0 step -1
byte = (value >> (8*i)) and &hff
crc = crc xor byte
for j = 0 to 7
if (crc and &h80) <>0 then
crc = ((crc << 1) xor &h31) and 255
else
crc = (crc << 1) and 255
end if
next j
next i
end sub
`


(fix) add validations to starts_on and ends_on dates

... and fix factory to set ends_on after starts_on` to resolve rspec errors

 bug: expected start date and end date of a job post have no validations around it.

Rebased


Working With Files

Create a notebook for module titled "Working With Files"

We have some of this in numpy tutorial but probably would be good to have some dedicated notebook too.

Yes, let's try to put something together with readlines, and formatting output. Also would probably be good to teach about the with context manager which should be used when opening files.

I can try to compile something from these two: https://github.com/silx-kit/silx-training/blob/master/python/python/3_input_output.ipynb and https://www.mantidproject.org/Working_With_Files

@wpotrzebowski I’ve already made a start. See https://github.com/ess-dmsc-dram/python-course-ikon/tree/input_and_output?files=1

I’m basically just missing a coupe of exercises, if you have some ideas, just push to this branch

Fixed via #36


Request for merchants for JuditMatyus.com

Hi there!
www.juditmatyus.com now officially accepts Monero as a form of payment. Please add it to your list.
More info here
www.juditmatyus.com/monero
Thanks!

+merchant
Your site will be added when PR #493 gets merged.
Thanks for including the link for information on how you accept Monero on your site. If you need help with integration, you should contact @serhack who is a resident expert at website integration for Monero. (He's on IRC or Reddit.)

Hello @lehelmatyus
I've developed a monero payment gateway for woocommerce based e-shop.
https://github.com/monero-integrations/monerowp
Please let me know about your questions

@QuickBASIC Thanks for the add!
@serhack Thanks for reaching out, we will try out the plugin some time this week or next week. Looks really promising, thanks!

@QuickBASIC Would you be so kind to add "- Jewelry" after the name so it's clear to potential buyers. Like so "Judit Mátyus - Jewelry".
Much appreciated, Thanks!

@lehelmatyus if you have some problems, write me :)

Done.


[CCLEX-173]: Health panel in Cluster page

I made 3 fullwidth columns, because only on >1920px monitors it looks good with 50% columns.
Update:
Light mode:

No lma:

UPD: 50% width columns in Overview panel

👀

👀

I made 3 fullwidth columns, because only on >1920px monitors it looks good with 50% columns.

Really? It's not possible to make the graphs smaller (and so narrower) to give in a side-by-side panel with Overview?
Also, you know I'm going to ask... What about light mode? 😉

I made 3 fullwidth columns, because only on >1920px monitors it looks good with 50% columns.

Really? It's not possible to make the graphs smaller (and so narrower) to give in a side-by-side panel with Overview?

Right now, I can shrink the Lens window (making it narrower) and the health panel responds, including the graphs:

The graphs still look good. Why can't we have the Health panel 50% on the right, with Overview 50% on the left, like in the mockups?

Visually, all the changes look great now!
But, I discovered that if I switch from dark to light mode, or vice versa, the background color of the charts doesn't switch.
For example, when going from dark to light:

The same problem occurs if you start out in light mode and then change to dark mode. The background color will remain the one in light mode.

Hmm, didn't see that.
Fixed it by adding theme.mode to useEffect dependencies.

Thank you for the update! In general, this looks good, but it's not really working well.
When disconnected, I see this:

The paragraph should be up next to the error icon, and the Reconnect link should be right at the end of the text, not on the next line.
Also, when I click Reconnect, the spinners are a nice touch, but they never go away. I stays like this forever:

Fixed. Now we have a spinner while isCloudFetching = true and once it updates, charts and info updates too

@AntonNos About

The text shouldn't go under the error icon. Usually this means a flex container with an icon and a paragraph, and the icon uses flex: none and paragraph flex: 1 (so it can grow/shrink). That should result in the paragraph not flowing under the icon.

Maybe you can use our little <InlineNotice> component...?

@AntonNos About

The text shouldn't go under the error icon. Usually this means a flex container with an icon and a paragraph, and the icon uses flex: none and paragraph flex: 1 (so it can grow/shrink). That should result in the paragraph not flowing under the icon.

Maybe you can use our little <InlineNotice> component...?

Thanks for tip! I will update PR today and will try to use <InlineNotice> here.

Thanks! It's better, but there are still some issues:

The text shouldn't go under the error icon. Usually this means a flex container with an icon and a paragraph, and the icon uses flex: none and paragraph flex: 1 (so it can grow/shrink). That should result in the paragraph not flowing under the icon.
The CPU, Memory, and Storage labels don't appear centered within their columns with respect to their graphs.
I somehow got into this state where the bottom of the health panel was missing its gap. Not sure how. Can't always repro.

Finally, there's what we call "jank" when reconnecting (see how it flashes back to "disconnected" error and back to spinners while it's reconnecting):

I think you need a local state variable to put yourself into spinner mode as soon as the link is clicked rather than relying solely on the cloud events.
Just make sure to come back out of it if the reconnection fails... We should end up back at this disconnected error if reconnection fails.

Fixed! Now it works much faster than before. Also used InlineNotice component for warning message, fixed bug with gap and centered title with tooltip icon.

The StackLight error should take precedence over the disconnected error because even if we were reconnected, we still wouldn't have data.

With your fix, when we have both conditions as the same time (disconnected and no Prom URL), we see the "disconnected" error message -- but what we should see is the "no StackLight" error message, because even if they reconnected, we still wouldn't be able to show anything...
If they're disconnected with a Prom URL, then we should see the "disconnected" message.
Makes sense?

The StackLight error should take precedence over the disconnected error because even if we were reconnected, we still wouldn't have data.

With your fix, when we have both conditions as the same time (disconnected and no Prom URL), we see the "disconnected" error message -- but what we should see is the "no StackLight" error message, because even if they reconnected, we still wouldn't be able to show anything...
If they're disconnected with a Prom URL, then we should see the "disconnected" message.
Makes sense?

I'm showing a message with list of problems without "Reconnect" button. Is that wrong message for that case (in both conditions in the same time)?

This is what I see when I'm both disconnected and don't have prometheus on a cluster:

I should be seeing the other message instead.

The StackLight error should take precedence over the disconnected error because even if we were reconnected, we still wouldn't have data.

With your fix, when we have both conditions as the same time (disconnected and no Prom URL), we see the "disconnected" error message -- but what we should see is the "no StackLight" error message, because even if they reconnected, we still wouldn't be able to show anything...
If they're disconnected with a Prom URL, then we should see the "disconnected" message.
Makes sense?

I'm showing a message with list of problems without "Reconnect" button. Is that wrong message for that case (in both conditions in the same time)?

This is what I see when I'm both disconnected and don't have prometheus on a cluster:

I should be seeing the other message instead.

Fixed, now we have correct message. I think the problem was because of ... && (). Now it works good. Thanks again for tip!

🚀 Thank you for sticking with it to the end and getting all those smaller issues fixed too!

Thank you for all the tips and comments!


eza: 0.11.0 -> 0.11.1

Description of changes
Changelog: https://github.com/eza-community/eza/releases/tag/v0.11.1

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

Accidentally pushed the wrong code here, but this is ready for review now

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

2 packages built:

eza
eza.man


Readme lacks instructions for training and generation

The readme provides a script for building the dataset, but does not describe how to train the model or use it to generate new music.
From the discussion page I was able to find a script for generating music:
https://groups.google.com/a/tensorflow.org/forum/#!topic/magenta-discuss/BAPcTHUulLs
I have added it to this branch:
https://github.com/jdsutton/magenta/tree/update-readme-instructions
However an example training script is still needed.

https://github.com/tensorflow/magenta/pull/52

Thanks for bringing this issue to our attention! Fixed.


Added code to allow handle_parsing_error to pass into the AgentExecutor

Description: Fixed an issue with create_pandas_dataframe_agent where the handle_parsing_variable passed in does not get passed to the AgentExecutor, resulting in no difference in parsing error handling regardless of what value the variable had.
Issue: the issue #10045
Dependencies: No new dependencies
Tag maintainer: @baskaryan

Ah I see, thanks for the help!


[Discussion] Differentiate "Featured project" vs "Actively recruiting projects"

"Featured project" (launched and popular)
"Actively recruiting projects" (interesting new projects)
How should we address this on homepage?

An easy idea is to just replace the "featured projects" at the very top with "featured projects that are actively recruiting". Could also filter it down to projects that were created in the last 30 days too.
This will only work well if project owners actually update their project info... left a note about it in discord.


select from multiple tables with same column name

It seems that pyodbc strips the table prefix in Row if you do for example.
SELECT
  table1.a,
  table2.a
FROM
  table1
  INNER JOIN table2

You can do row.a to access a column, but this returns only one of the columns. It should be possible to do something like row.table1.a or row["table1.a"].

AFAIK, pyodbc simply uses the column names returned by the ODBC SQLDescribeCol function (or its SQLDescribeColW sibling) as the column names of the result set. If the ODBC driver returns the same name for two different columns there's nothing that pyodbc can do about that.
main            1d94-1e4c	ENTER SQLDescribeCol
        HSTMT               0x000000000062EC40
        UWORD                        1
        UCHAR *             0x00000000002DEEF0
        SWORD                      200
        SWORD *             0x00000000002DEEDC
        SWORD *             0x00000000002DEED0
        SQLULEN *           0x00000000002DEEE0
        SWORD *             0x00000000002DEED8
        SWORD *             0x00000000002DEED4

main            1d94-1e4c	EXIT  SQLDescribeCol  with return code 0 (SQL_SUCCESS)
        HSTMT               0x000000000062EC40
        UWORD                        1
        UCHAR *             0x00000000002DEEF0 [       1] "a"
        SWORD                      200
        SWORD *             0x00000000002DEEDC (1)
        SWORD *             0x00000000002DEED0 (-9)
        SQLULEN *           0x00000000002DEEE0 (255)
        SWORD *             0x00000000002DEED8 (0)
        SWORD *             0x00000000002DEED4 (1)

main            1d94-1e4c	ENTER SQLDescribeCol
        HSTMT               0x000000000062EC40
        UWORD                        2
        UCHAR *             0x00000000002DEEF0
        SWORD                      200
        SWORD *             0x00000000002DEEDC
        SWORD *             0x00000000002DEED0
        SQLULEN *           0x00000000002DEEE0
        SWORD *             0x00000000002DEED8
        SWORD *             0x00000000002DEED4

main            1d94-1e4c	EXIT  SQLDescribeCol  with return code 0 (SQL_SUCCESS)
        HSTMT               0x000000000062EC40
        UWORD                        2
        UCHAR *             0x00000000002DEEF0 [       1] "a"
        SWORD                      200
        SWORD *             0x00000000002DEEDC (1)
        SWORD *             0x00000000002DEED0 (-9)
        SQLULEN *           0x00000000002DEEE0 (255)
        SWORD *             0x00000000002DEED8 (0)
        SWORD *             0x00000000002DEED4 (1)

You can access the results in two ways: by name or by index.  In this case, you'll want to use the index.  Something like this:
cursor.execute('select 1 as a, 2 as a')
row = cursor.fetchone()
print(row[0], row[1])   # prints 1, 2

I'm going to close this now because I really think that is the answer.  Please reopen if it does not fix your issue.


Fix non-actionable code bugs: Login

These issues are from Telemetry records, and most of them are caused by obvious code bugs. The detail error messages and the corresponding command and CLI version info can be viewed in the CLI error dashboard.
As the info of these issues are limited and may be more difficult to identify and solve, we opened a Teams channel for command groups owners to sync up the common error types and fixing methods. Feel free to share your experience and ask for help (if any) there.
A brief summary of the code bug errors of Login here:

FailureType
EventCount

TypeError
722

AttributeError
515

ValueError
23

NameError
3

ImportError
2

KeyError
2

JMESPathTypeError
1

ModuleNotFoundError
1

UnboundLocalError
1

Non-actionable error messages are helpless to end users when Azure CLI error out. One of Fe OKR is to improve Azure CLI command pass rate for better user experience. We've identified non-actionable errors of top used command groups. Pls help to fix non-actionable errors. More detail in email. Feel free to ping us at teams,  or ping @houk-ms @yungezz  if any issue.

@jiasli  for awareness.


[BUG]After using the plugin, the signature section was not updated.

I encountered some issues while handling the burpsuite lab: "JWT authentication bypass via kid header path traversal" using the JWT Editor v2.2.1 plugin. Following the lab's steps:
1、Go to the JWT Editor Keys tab in Burp's main tab bar.
2、Click New Symmetric Key.
4、In the dialog, click Generate to generate a new key in JWK format. Note that you don't need to select a key size as this will automatically be updated later.
5、Replace the generated value for the k property with a Base64-encoded null byte (AA==). Note that this is just a workaround because the JWT Editor extension won't allow you to sign tokens using an empty string.
6、Click OK to save the key.
7、Go back to the GET /admin request in Burp Repeater and switch to the extension-generated JSON Web Token message editor tab.
返回Burp Repeater中的 GET /admin 请求，并切换到扩展生成的JSON Web Token消息编辑器选项卡。
8、In the header of the JWT, change the value of the kid parameter to a path traversal sequence pointing to the /dev/null file:../../../../../../../dev/null
9、In the JWT payload, change the value of the sub claim to administrator.
10、At the bottom of the tab, click Sign, then select the symmetric key that you generated in the previous section.
At step 10, I encountered a problem. I selected the "Don't modify header" option and clicked OK. However, I found that my key section was not updated, which caused the lab to fail. Do you know how to resolve this issue?
JWT Without using sign > Don't modify：

JWT Using sign > Don't modify：

My Burp Suite version is v2024.6

Thanks for the report. Are you seeing any errors either logged to the Errors panel within Extension or to the console if running from the shell?
As an aside, you don't need the AA== workaround as you can use Attack -> Sign with empty key.

Thanks for the report. Are you seeing any errors either logged to the Errors panel within Extension or to the console if running from the shell?
As an aside, you don't need the AA== workaround as you can use Attack -> Sign with empty key.

my use Attack -> Sign with empty key. The signature also did not change, and when I sent the request, I still received a 401 response.
There was indeed an error within the extension. The error message is as follows:
at com.nimbusds.jose.crypto.impl.HMAC.getInitMac(HMAC.java:52)
at com.nimbusds.jose.crypto.impl.HMAC.compute(HMAC.java:118)
at com.nimbusds.jose.crypto.impl.HMAC.compute(HMAC.java:94)
at com.nimbusds.jose.crypto.MACSigner.sign(MACSigner.java:193)
at com.blackberry.jwteditor.model.jose.JWSSigner.sign(JWSSigner.java:63)
at com.blackberry.jwteditor.model.jose.JWSFactory.sign(JWSFactory.java:86)
at com.blackberry.jwteditor.operations.Attacks.signWithEmptyKey(Attacks.java:119)
at com.blackberry.jwteditor.view.dialog.operations.EmptyKeySigningDialog.onOK(EmptyKeySigningDialog.java:73)
at com.blackberry.jwteditor.view.dialog.operations.EmptyKeySigningDialog.lambda$new$0(EmptyKeySigningDialog.java:51)
at com.blackberry.jwteditor.view.utils.ErrorLoggingActionListener.actionPerformed(ErrorLoggingActionListener.java:40)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2314)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:407)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6621)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
at java.desktop/java.awt.Component.processEvent(Component.java:6386)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
at burp.Zpvb.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:236)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:234)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:234)
at java.desktop/java.awt.Dialog.show(Dialog.java:1079)
at java.desktop/java.awt.Component.show(Component.java:1728)
at java.desktop/java.awt.Component.setVisible(Component.java:1675)
at java.desktop/java.awt.Window.setVisible(Window.java:1036)
at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1015)
at com.blackberry.jwteditor.view.dialog.AbstractDialog.display(AbstractDialog.java:47)
at com.blackberry.jwteditor.presenter.EditorPresenter.onAttackSignEmptyKeyClicked(EditorPresenter.java:300)
at com.blackberry.jwteditor.view.editor.EditorView.lambda$createUIComponents$15(EditorView.java:524)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2314)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:407)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1029)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1073)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6621)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
at java.desktop/java.awt.Component.processEvent(Component.java:6386)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
at burp.Zpvb.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.util.jar.JarException: The JCE Provider file:/D:/Test_Tools/Hk_Tools/1-Flow_Tools/Burp/burpsuite_pro_v2024.5.1/burpsuite_pro_v2024.6.2.jar is not signed.
at java.base/javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:440)
at java.base/javax.crypto.JarVerifier.verifyJars(JarVerifier.java:319)
at java.base/javax.crypto.JarVerifier.verify(JarVerifier.java:263)
at java.base/javax.crypto.ProviderVerifier.verify(ProviderVerifier.java:130)
at java.base/javax.crypto.JceSecurity.verifyProvider(JceSecurity.java:196)
at java.base/javax.crypto.JceSecurity$2.apply(JceSecurity.java:222)
at java.base/javax.crypto.JceSecurity$2.apply(JceSecurity.java:211)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at java.base/javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:211)
at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java:146)
... 95 more

@oxsee Thanks for the stacktrace. I can see the problem.
The method at the top of the stack trace is triggering the loading of the Bouncy Castle cryptography library, which is your JRE is refusing to load:
Caused by: java.util.jar.JarException: The JCE Provider file:/D:/Test_Tools/Hk_Tools/1-Flow_Tools/Burp/burpsuite_pro_v2024.5.1/burpsuite_pro_v2024.6.2.jar is not signed.
JWT Editor uses the Bouncy Castle bundled with Burp so this suggests that there's something wrong with your JAR or something special about the version of Java you're using (e.g. there's a custom security policy).
Can you download an installer based version of Burp which should include it's own version of Java? How are you launching Burp and which vendor/version of Java are you using?

I created a BAT script to open my Burp Suite. The content is as follows:
Dim ws, javaPath
Set ws = CreateObject("WScript.Shell")
javaPath = "D:\Develop\Java\jdk-21\bin\java.exe"
ws.Run """" & javaPath & """ --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm.Opcodes=ALL-UNNAMED -javaagent:BurpLoaderKeygen.jar -javaagent:ja-netfilter.jar -Dsun.java2d.d3d=false -noverify -Dsun.java2d.uiScale=1 -jar burpsuite_pro_v2024.6.2.jar", 0

Oh that's interesting. So you're running the license crack and an instrumentation library one of which I suspect is the problem.
If you run without the Java agent then you should have more success. Out of interest, why are you using the ja-netfilter library?
In terms of JWT Editor, I think the exception handling needs to be improved so I'll aim to do this in the near future.

It seems that ja-netfilter.jar is a tool for cracking Burp Suite. I am a student and don’t have much money. I have to travel about seven or eight kilometers each day to use a shared computer for my studies. Therefore, I found this cracked program online to use for my learning. Thank you for your help.

I have found that not only the empty key, but also any key created using "New Symmetric Key," results in the issue described above

That makes sense as the cryptographic library that does the signing is being prevented from loading (presumably as a consequence of the license crack).
I suggest that you use the free version of Burp which won't have this problem. You should be able to go a long way using this for your education.
Good luck with your studies!


Regression in handling Environment Variable updates

Environment
Windows build number:
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Windows Terminal version:
1.1.2021.0

Any other software?
Powershell 7.0.3
Chocolatey to manage Powershell and Windows Terminal

Steps to reproduce

Open Terminal with a Powershell 7 tab
Update the Path or add a new Environment variables
Open a new WindowsPowershell OR cmd window (not via a tab in Terminal)
Try to access an newly added item in the Path  or environment variable

Expected behavior

Able to access new items in Path

Actual behavior

Terminal needs to be closed before any new Powershell / WindowsPowershell / cmd instances can access new environment variables.

(If I recall correctly, previously I did not even need to open a new tab/instance of Powershell to access the new environment variables, and I definitely did not need to close Terminal to gain access - maybe opening a new tab at most)

So this definitely never worked. It's being tracked over in #1125 ☺
/dup #1125


[Playground] Change default theme for playground to next theme

As part of https://github.com/opensearch-project/OpenSearch-Dashboards/issues/4675, we want the playground to default to the new theme. And the dark mode variant (https://github.com/opensearch-project/dashboards-anywhere/issues/179).

@joshuarrrr, is the configuration as following?
uiSettings:
  overrides:
    "theme:next": true

This default change was merged to opensearch_dashboard.yaml


python311Packages.subarulink: 0.7.7 -> 0.7.8

Diff: https://github.com/G-Two/subarulink/compare/refs/tags/v0.7.7...v0.7.8
Changelog: https://github.com/G-Two/subarulink/releases/tag/v0.7.8
Description of changes

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/)
23.11 Release Notes (or backporting 23.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.

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

5 packages built:

home-assistant-component-tests.subaru
python310Packages.subarulink
python310Packages.subarulink.dist
python311Packages.subarulink
python311Packages.subarulink.dist


How to pass a json request with goto? (or other method)

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.19.0
Platform / OS version: ubuntu 18
URLs (if applicable):
Node.js version: 10.16

I'm developing an api to generate a pdf which will receive a json and produces the template with express-handlebars.
How do I pass the json request with the get method that render the html?
The api has a method /export/pdf which will generate the pdf by calling the other get method that renders the html and json. I want to pass the 'data' (json) when i call the endpoint. Is it possible? (i'm new to node)
this is my code:
const exphbs = require('express-handlebars');
const bodyParser = require('body-parser');
const path = require('path');

const app = express();

app.engine('hbs', exphbs({ defaultLayout: 'main', extname: '.hbs' }));
app.set('view engine', 'hbs');
app.use(bodyParser.json());
app.use(express.static(path.join(__dirname, 'public')))

const routes = require('./routes/index');
app.use('/', routes);

module.exports = app;

----------

const express = require('express');
const puppeteer = require('puppeteer');

const app = express();

const data = require('../database.json');

app.get('/', function (req, res) {
  res.render('home', data);
});

app.get('/export/pdf', async (req, res) => {
  try {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    await page.goto('http://localhost:3000/');
    const buffer = await page.pdf({
      path: 'mypdf.pdf',
      format: 'A4',
      margin: {
          top: "20px",
          left: "20px",
          right: "20px",
          bottom: "20px"
      },
      printBackground: true
    });
    res.type('application/pdf');
    res.send(buffer)
    await browser.close()
  } catch (e) {
    console.log('error', e);
  }
});

module.exports = app;

First, Get the URL from JSON,
into variable
then
I don't know much express.
But it would be lik this.
url=req.url;
 await page.goto(var);


Page Content: Finance Your Business

From Patrick
2. Finance Your Business
LEARN
You have a plan, now you need capital. You need money to start your business and to sustain it. Let’s identify where to find resources.
You will need:
Savings
Private Loans
City Loans
DO
Define your Starting Capital
Calculate your monthly operating costs
Create a budget for the year to track costs and incoming revenue.
Work with the Long Beach Small Business Development Center to finalize

I'm thinking to focus this page on the raising money aspect of financing, rather than operational finance, which I think is more a component of the business plan. What do you think?
LEARN
You have a plan, now you need capital. You need money to start your business and to sustain it. Let’s identify where to find resources. Be sure that you prepare enough money to run your business for at least the first several months, as it may take time to set up before you have enough customers to be profitable.
Most businesses cost a significant amount of money to start. Using the calculations and estimates from your business plan (link to business planning), decide if you have enough money to begin, or if you need additional money first.
Here are some ways to get additional money if you need it:
• City Loans: The City of Long Beach has a loan program for small businesses. Loans are based off of the quality of your business plan as well as your resume and other personal documents. Credit score is part of the decision, but a low credit score might not prevent you from getting a loan. More information is available on the city's website: (link)
• Private Loans:
DO

Calculate how much money you'll need ("starting capital").
Determine how much money you'll need to raise before starting your business.
Work with the Small Business Development Center (SBDC) and the city's Economic Development Department (EDD) to find city and bank loans that will help you get started.

(Primer Peso goes here, eventually)

3rd paragraph:
Original: Most businesses cost a significant amount of money to start.
Change: Starting a can be expensive.

Sounds good to me. Changed.


cargo-auditable: fix cross compilation

Description of changes
This fixes the following error:
...
cargo-auditable>    Doc-tests auditable-extract
cargo-auditable> error: doctest failed, to rerun pass -p auditable-extract --doc
cargo-auditable>
cargo-auditable> Caused by:
cargo-auditable>   could not execute process rustdoc --edition=2018 --crate-type lib --crate-name auditable_extract --test /build/source/auditable-extract/src/lib.rs --target x86_64-unknown-linux-gnu -L dependency=/build/source/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/build/source/target/release/deps --test-args --test-threads=96 --extern auditable_extract=/build/source/target/x86_64-unknown-linux-gnu/release/deps/libauditable_extract-dd1904617e4b78db.rlib --extern binfarce=/build/source/target/x86_64-unknown-linux-gnu/release/deps/libbinfarce-2ba09d21aed0de1a.rlib -C embed-bitcode=no --error-format human (never executed)
cargo-auditable>
cargo-auditable> Caused by:
cargo-auditable>   No such file or directory (os error 2)
Tested with lanzaboote, same fix as https://github.com/nix-community/lanzaboote/pull/217
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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

[x] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

Does this disable auditable for cross compilation?

Does this disable auditable for cross compilation?

I didn't check but that could totally be the case if auditable is not available for the target platform.

Can verify it solves my issue without breaking something obvious - can't answer the question is this a blocker or can we get it merged anyway?


debug for webpack support

I am using webpack for livereload for my stylesheets, javascript.
I also want Django source edit to reload my browser.
this would save me hundred clicks a day...
Django is running on dev runserver.
My attempt to get the webpack frontend proxy to reload from reload_worker.js signals.

I cancel this request, if using webpack dev server, just use its "watchFiles" option

Thank you, yes, if you have something else doing reloading I don't think you'll want django-browser-reload!


Chinese:update:translate consul/_index.md

update consul/_index

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: shaobai
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: gyliu513
Assign the PR to them by writing /assign @gyliu513 in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

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

Hi @shaobai. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/approve
/ok-to-test

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

Needs approval from an approver in each of these files:

content_zh/OWNERS [fleeto]

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


new endpoint suggestion: export node reports

User Story
We currently have export endpoints for both the cfgmgmt api and the compliance reporting api that return the latest report (client run or inspec scan) for all nodes present in the (filtered) nodes list.
This maps to the export buttons on the Client Runs and Compliance Reporting pages.
I've heard some requests from users that they would like to download all the reports for a single node, or at least all the reports from within a time range for a single node. It feels like we could leverage the work we've done with the current export endpoint to support this request with a minimal amount of work.
Definition of Done
endpoint that supports exporting of all reports for a single node (respects filters, including time, profile, control ones)
Aha link
https://chef-internal.ideas.aha.io/ideas/A2-I-37

This is an interesting task. I don't see a problem with adding this for the client runs nodes.

oooh ya, that way it matches the timeframe set out there. nice! @jonong1972 whaddya think?

@lancewf  I have a question about this. So when a user downloads - what exactly are they downloading?  assumption right now is....  if the node has 3 runs in the past 24 hours, the export file would contain a list of resources x 3?  Would this report also include the Run List and Attributes?  Or just the Resources.

Okay, just chatted with @vjeffrey . Yes. A download would be cool to have the history of one node.
Looking at an existing downloaded CSV file from the Client Run List page, we noticed that if a client run failed it does not show the error in the CSV file.
So that leaves the question of where to put the 'download' link/button.  I need to confer with the UX team about this, since we are actively working on that side drawer component.  I would prefer to have the download button link next to the History Button on the details page, and when clicked, a modal would show asking the time frame drop down.  But I need to talk with my team first.

it sounds like we want to break this up into two issues?
one for client runs node reports and one for compliance?

closing in favor of #1764 and #1765


Implement dnn-input

This would be a new component to use in forms input fields.
It would be styled something similar to material design or ionic form fields that are nicely designed for mobile support with a label and helper text. It would nicely replace the old dnn ui/ux form patterns with the localized label and help as weel as the required indicator.

Done in #741


[WIP] Remove re-exports

[x] remove isolang::Language re-exporting
[ ] remove chrono::{DateTime, Duration, Local, Utc} re-exporting

fmm... I have no idea for remove re-exporting Chrono. Nothing to be insted of Chrono in the std library.


1.17 "Pre-release"

Hey man,
i know that it is not finished for 1.17 yet, but it seems like it would work for 1.17 when building it with gradle. The thing is that i can't get that to work, so could you just build the current stage and put it into the releases as some kind of Pre-Release? Would be really nice.

I agree with this.

Hey man,
i know that it is not finished for 1.17 yet, but it seems like it would work for 1.17 when building it with gradle. The thing is that i can't get that to work, so could you just build the current stage and put it into the releases as some kind of Pre-Release? Would be really nice.

I made one. https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

Hey man,
i know that it is not finished for 1.17 yet, but it seems like it would work for 1.17 when building it with gradle. The thing is that i can't get that to work, so could you just build the current stage and put it into the releases as some kind of Pre-Release? Would be really nice.

I made one. https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

In fact, the seedcracker you created may only work with the original 1.17 version.  It may not work properly if the server adds cave and cliff packets. I wonder if you can update a version for cave and cliff packets？I'd really appreciate it if you could.

Hey man,
i know that it is not finished for 1.17 yet, but it seems like it would work for 1.17 when building it with gradle. The thing is that i can't get that to work, so could you just build the current stage and put it into the releases as some kind of Pre-Release? Would be really nice.

I made one. https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

In fact, the seedcracker you created may only work with the original 1.17 version. It may not work properly if the server adds cave and cliff packets. I wonder if you can update a version for cave and cliff packets？I'd really appreciate it if you could.

isn't caves and cliff coming out in 1.18?

嘿，伙计，我知道它还没有完成1.17，但它似乎会工作1.17时，建立它与gradle。问题是，我不能让它工作，所以你可以只是建立当前阶段，并将其作为某种预发布版本？会很好的

我做了一个https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

事实上，您创建的种子爆竹可能仅适用于原始 1.17 版本。如果服务器添加洞穴和悬崖包，它可能无法正常工作。我不知道你是否可以更新一个版本的洞穴和悬崖包？

洞穴和悬崖不是在1.18年出来的吗？地下生物群系等？

Mojang opens up caves and cliff packets for players to experience 1.18 content in advance. You can search the wiki for more information. It's named Cave & Cliffs Preview Datapack. This datapack is added to the server I am playing. My friends and I were unable to determine the seed using your tool, so we suspected whether it was because the server added this packet.

嘿，伙计，我知道它还没有完成1.17，但它似乎会工作1.17时，建立它与gradle。问题是，我不能让它工作，所以你可以只是建立当前阶段，并将其作为某种预发布版本？会很好的

我做了一个https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

事实上，您创建的种子爆竹可能仅适用于原始 1.17 版本。如果服务器添加洞穴和悬崖包，它可能无法正常工作。我不知道你是否可以更新一个版本的洞穴和悬崖包？

洞穴和悬崖不是在1.18年出来的吗？地下生物群系等？

Mojang opens up caves and cliff packets for players to experience 1.18 content in advance. You can search the wiki for more information. It's named Cave & Cliffs Preview Datapack. This datapack is added to the server I am playing. My friends and I were unable to determine the seed using your tool, so we suspected whether it was because the server added this packet.

hey. sorry, I don't know how to do that. I only built the mod from source and shared it.

・不加分问题是，我不能让它工作，所以你可以只是建立当前阶段，并将其作为某种预发布版本？会很好的

大人种https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

事实上，您创建的种子爆竹可能仅适用于原始 1.17 版本。如果服务器添加洞穴和悬崖包，它可能无法正常工作。我不知道你是否可以更新一个版本的洞穴和悬崖包？

洞穴和悬崖不是在1.18年出来的吗？地下生物群系等？

Mojang 打开洞穴和悬崖包，让玩家提前体验 1.18 内容。您可以在维基上搜索更多信息。它被称为洞穴和悬崖预览数据包。此数据包已添加到我正在播放的服务器。我和我的朋友无法使用您的工具确定种子，所以我们怀疑这是否是因为服务器添加了此数据包。

嘿。对不起，我不知道该怎么做。我只从源头构建了mod并将其共享。

Ok

嘿，伙计，我知道它还没有完成1.17，但它似乎会工作1.17时，建立它与gradle。问题是，我不能让它工作，所以你可以只是建立当前阶段，并将其作为某种预发布版本？会很好的

我做了一个https://github.com/joogle12/SeedCracker/releases/tag/1.17-release

事实上，您创建的种子爆竹可能仅适用于原始 1.17 版本。如果服务器添加洞穴和悬崖包，它可能无法正常工作。我不知道你是否可以更新一个版本的洞穴和悬崖包？

洞穴和悬崖不是在1.18年出来的吗？地下生物群系等？

Mojang opens up caves and cliff packets for players to experience 1.18 content in advance. You can search the wiki for more information. It's named Cave & Cliffs Preview Datapack. This datapack is added to the server I am playing. My friends and I were unable to determine the seed using your tool, so we suspected whether it was because the server added this packet.

hey man. I published a pre-release for the thing you were asking for. Try it out and let me know.
https://github.com/joogle12/SeedCracker/releases/tag/1.18Preview


CLI option to DUMP [VideosPage/ChannelPage/Playlist] URL-Lists to text file using standalone/inclusive option

Checklist

[X] I'm reporting a feature request
[X] I've verified that I'm running youtube-dl version 2021.12.17
[X] I've searched the bugtracker for similar feature requests including closed ones
Search the config page & CLI help for any clues feature might already exist.

Description
Feature Request:

Would like to have a CLI option to DUMP these URLS to text file that can be used as standalone option or along with the other options.
This is helpful for incremental 'fetches' to video/channel pages where there are 900+ videos.

'Problem'

When scraping videos-page/channel, youtube-dl pulls ALL pages & apparently scrapes them to create a list of urls to download before iterating through them.
For each URL, youtube-dl appears to pull the url, parse metadata, then run analysis on date-range & archive-file-check (previously downloaded?).
The date-range assuredly helps in targeting content, but youtube-dl will still produce an obscene number of GET requests to the host.
A URL dump would allow end-user to fetch the url-list with only a few GETS ( one per pagination ) and then manually adjust the url list.

Use Case:

I have a shell script that reads text file and iteratively calls youtube-dl to fetch single vid
This allows me to aggregate videos when I see something interesting, then run a script to fetch them all at once.
Having youtube-dl dump ALL urls of a videos-page/channel to text/console ( & before iterating them ), would all me to both archive the full URL address for later use ( such as referencing in social media posts or online articles ) and tailor the list to reduce traffic to the 'videos host'.
Part of me winces when I see 900 GETS to YT as it just seems a little less then 'low key'. I can't help but think this type of traffic makes youtube-dl a target, where mechanisms start showing up to frustrate this type of scraper engine.
Seems this type of traffic would also flag VPN IPs much faster than otherwise might occur.

Syntax: dump urls AND PROCESS
--dump-urls "PATH"
--dump-urls "/media/media3/ytu/archive-urls.txt"
Scrape URLS, then dump to text file & continue processing
Syntax: dump urls ONLY AND DO NOT PROCESS
--dump-urls-only "PATH"
--dump-urls-only "/media/media3/ytu/archive-urls.txt"
Scrape URLS, then dump to text file & exit
CLI Session
NOT using BATCHFILE, using https://www.youtube.com/c/xxxxxxxx/videos
COMMAND STRING: /media/media3/ytu/youtube-dl -v --console-title --verbose -f best[height<=?1080]/bestvideo[height<=?1080]+bestaudio --merge-output-format mp4  --write-thumbnail --write-description --write-info-json --ignore-errors --max-downloads 50 --no-overwrites --restrict-filenames --download-archive /media/media3/ytu/archive-video.txt --no-playlist  --output /home/uc/Videos/ytu/%(uploader)s/%(title)s-%(id)s.%(ext)s --dateafter 20200101 https://www.youtube.com/c/xxxxxxxx/videos
Timestamp:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--console-title', u'--verbose', u'-f', u'best[height<=?1080]/bestvideo[height<=?1080]+bestaudio', u'--merge-output-format', u'mp4', u'--write-thumbnail', u'--write-description', u'--write-info-json', u'--ignore-errors', u'--max-downloads', u'50', u'--no-overwrites', u'--restrict-filenames', u'--download-archive', u'/media/media3/ytu/archive-video.txt', u'--no-playlist', u'--output', u'/home/uc/Videos/ytu/%(uploader)s/%(title)s-%(id)s.%(ext)s', u'--dateafter', u'20200101', u'https://www.youtube.com/c/xxxxxxxx/videos']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-20-generic-x86_64-with-LinuxMint-19.1-tessa
[debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11
[debug] Proxy map: {}
[youtube:tab] DavidVose: Downloading webpage
[download] Downloading playlist: xxxxxxxx - Videos
[youtube:tab] Downloading page 1
[youtube:tab] Downloading page 2
[youtube:tab] Downloading page 3
[youtube:tab] Downloading page 4
[youtube:tab] Downloading page 5
[youtube:tab] Downloading page 6
[youtube:tab] Downloading page 7
[youtube:tab] Downloading page 8
[youtube:tab] Downloading page 9
[youtube:tab] Downloading page 10
[youtube:tab] Downloading page 11
[youtube:tab] Downloading page 12
[youtube:tab] Downloading page 13
[youtube:tab] Downloading page 14
[youtube:tab] Downloading page 15
[youtube:tab] Downloading page 16
[youtube:tab] Downloading page 17
[youtube:tab] Downloading page 18
[youtube:tab] Downloading page 19
[youtube:tab] Downloading page 20
[youtube:tab] Downloading page 21
[youtube:tab] Downloading page 22
[youtube:tab] Downloading page 23
< DUMP URLS HERE, BEFORE ITERATING THEM >
Example of [wince-stimuli]
[download] Downloading video 818 of 938
[youtube] YlKd4YysVMA: Downloading webpage
[youtube] Downloading just video YlKd4YysVMA because of --no-playlist
[youtube] YlKd4YysVMA: Downloading MPD manifest
[debug] [youtube] Decrypted nsig ugGYu0WVAK7v5c9d => cP9vgB1UX5u_Lg
[debug] [youtube] Decrypted nsig EPn10_rOqmaCOzKP => -iXaKXk1eQoNZg
[download] 2016-04-10 upload date is not in range 2020-01-01 - 9999-12-31
[download] Downloading video 819 of 938
[youtube] 7XiarrY3CXM: Downloading webpage
[youtube] Downloading just video 7XiarrY3CXM because of --no-playlist
[youtube] 7XiarrY3CXM: Downloading MPD manifest
[debug] [youtube] Decrypted nsig uNGKQi_VOQPwTewK => nw2ROBiUJuA2aA
[debug] [youtube] Decrypted nsig h8YlvZffzSK2qL8x => B2Crz0RmxeGukA
[download] 2016-03-24 upload date is not in range 2020-01-01 - 9999-12-31
[download] Downloading video 820 of 938

The page/API data/whatever has to be parsed to get the available download URLs and pick the format(s) to match your selection.
For YT, the download links are volatile, so storing a list of them would be fairly useless.
Some optimisation could be possible:

yt-dlp does an early check for download_archive, before running the extractor itself;
some new option could be added to tell yt-dl that the download links aren't needed (as opposed to --skip-download which just means that the links shouldn't be downloaded now); each extractor that needed to respect the new setting would have to be modified.

If what you want is just a list of IDs (equivalent to URLs for YT according to yt-dl), you can list all the IDs from a channel (etc) using --flat-playlist but the metadata needed to filter URLs isn't available when that output is produced. A program like jq makes it easy to pull the id field out of the JSON. The download_archive check isn't applied to the playlist output but possibly could be an option.

@dirkf yeah... it just dawned on my that the pagination stuff is likely 'site specifc'... if I wasn't one of those 'anything but python' chumps.. I'd probaby could've checked the code already...
... which I will do....
...that said, I'm now thinking of a [commonly available 'public' method] that could be called with some sort of List object - to be optionally called by extractors... ( of which I'd likely be inclined to implement in the yt extractor )
feel free to sh*tcan this one ( from my perspective )... I 1/2way follow this conversation, but really ought to dig in the codebase to understand it fully - given I run it incessantly.... and I mean incessantly....
thx 4 response brother!

#you can list all the IDs from a channel (etc) using --flat-playlist
I'll check that out... script I'm using employs named arrays for storing [jobs] ( aka channel-page/videospage ), so I can just add a url key/value pair and if I follow the [--flat-playlist] thing, I can transform the [id list] outside the ytdl exec... I'll checkout that option

I am a bit lost in the requirement. Can you explain why --flat-playlist is insufficient for your usecase?


standardize header pull

two things: 'header' is an overloaded word in this code right now, and the get_header method uses pandas instead of regex and is consequently slower.

[x] think of a new word for the standard data table at the top of every page and implement it
[ ] rewrite the get_header method to use the new standard regex methods

changed header in the other places instead

The header is different than the other tables and the standard method won't work. Plus it's not broke so why fix it??


Unique Identifier used in deces API

I want to ask about the API that uses a unique identifier to fetch a record https://deces.matchid.io/deces/api/v1/id/, so this "id" field is attached to the user after death or before?
@cristianpb @rhanka

The id is a unique identifier for each identity on the database.
It's a base64 representation of the characteristics of the identity (first name, last name, birth date, birth location, death date and death location).
The details can be found here: https://github.com/matchID-project/deces-dataprep/blob/dev/projects/deces-dataprep/recipes/deces_dataprep.yml#L14

The id is a unique identifier for each identity on the database. It's a base64 representation of the characteristics of the identity (first name, last name, birth date, birth location, death date and death location). The details can be found here: https://github.com/matchID-project/deces-dataprep/blob/dev/projects/deces-dataprep/recipes/deces_dataprep.yml#L14

Is there any other way to uniquely identify a dead person by providing details?
I am trying to create an exact base64 char from the above details  in typescript, but my implementation consoles different result
Here is my implementation
import { Blake3Hasher } from "@napi-rs/blake-hash";

const first_name = "Elijah";
const last_name = "Julien";
const birth_date = "19271223";
const birth_location = "75113";
const death_date = "20230216";
const death_location = "10298";

const tuple = [
  first_name,
  last_name,
  birth_date,
  birth_location,
  death_date,
  death_location,
];

const tupleStr = tuple.join(" ");
console.log("🚀 ~ file: index.ts:22 ~ tupleStr:", tupleStr);

const encoder = new TextEncoder();
const utf8Bytes = encoder.encode(tupleStr);
// console.log("🚀 ~ file: index.ts:26 ~ utf8Bytes:", utf8Bytes)

const hasher = new Blake3Hasher();
hasher.update(Buffer.from(utf8Bytes));
const hash = hasher.digest();
console.log("🚀 ~ file: index.ts:32 ~ hash:", hash);

const base64_encodedString = btoa(hash);
console.log(
  "🚀 ~ file: index.ts:35 ~ base64_encodedString:",
  base64_encodedString.slice(0, 12)
);

//ywgeDVFk5_BC --- expected
//NjRiNWZmMWRk --- retrieved

// (base64.urlsafe_b64encode(blake3(str(tuple(row)).encode('utf-8')).digest()), axis=1).str.slice(stop=12)

@cristianpb can you please guide how to reproduce exact same base64 identifier or code snippet in any language
Also, it would be helpful if you point out where are the test cases written to generate identifiers, so I can check in which format tuple is being passed as an argument
Thanks!

@keccak-256
Here you can find a code snippet in python to calculate the ID
https://replit.com/@cristianpb/DecesDataPrepID?v=1
I will be interesting if you are able to reproduce the same process in JS

@keccak-256 Here you can find a code snippet in python to calculate the ID
https://replit.com/@cristianpb/DecesDataPrepID?v=1
I will be interesting if you are able to reproduce the same process in JS

Thanks for sharing the code snippet
I'll try to reproduce in JS, and get back to you if need some help.


[topgen] - Generate top clock groups variable

clock_groups will eventually be fed to clock_controller for generation
clock_groups walks through all modules, memories and xbars and associates
the correct clock given the grouping and source attributes
top_earlgrey.gen.hjson clock_connections looks very different from the
original input

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

hey all,
i'd like some feedback on what you think of this scheme. I'm mocking up what a clock controller top level integration would look before diving into the controller itself.
Basically, i am now re-writing everyone's clock_connections based on the clock_group and clock_src definition.  This makes me a bit uncomfortable because it really disconnects what the user originally inputs vs what is eventually seen.
The alternative is of course we explicitly define everything in top_earlgrey.hjson, but I think that's overkill too.

Looks good to me. Maybe we can re-structure clock connection to have clear view later but this one is also better than current one I think.

@eunchan
what kind of restructuring do you have in mind?

That's a good point. So in response to Eunchan's point, we should probably
reformulate a struct that has the group attribute, and the domain of each
port. Then like you said create clokc connections.
On Mon, Apr 20, 2020, 18:36 Michael Schaffner<EMAIL_ADDRESS>wrote:

@msfschaffner commented on this pull request.
In hw/top_earlgrey/data/top_earlgrey.hjson
https://github.com/lowRISC/opentitan/pull/2009#discussion_r411804952:

@@ -64,43 +97,50 @@
{ name: "gpio",
type: "gpio",
clock_connections: {clk_i: "fixed"},

 clock_group: "peri",

I think the mechanism to automatically generate all these gated clocks is
the right approach (I'd rather automate this than hardcode). But the field
name clock_connections may be ill named in this case. Wouldn't something
like clock_root be more concise? topgen could then still derive the
clocks and create the clock_connections in the output...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2009#discussion_r411804952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSRKJPMTNAV4CPQ6TALRNT2DNANCNFSM4MM36DHQ
.

ove could be helpful for users to understand what clock connection
would look like. But this maybe don't make sense :)

Looks like it doesn't make sense... It should have clock name in the module port.. nevermind above comment.

Looks good to me. Maybe we can re-structure clock connection to have clear view later but this one is also better than current one I think.

@eunchan
what kind of restructuring do you have in mind?
At first I was a little bit confused the connection between the actual
clock name and the name in hjson, also where the signal comes from.

One rough idea when I looked at this is, the connection couldbe gathered
in a separate field in the top.hjson. Could be similar to the interrupt,
clock: {
  source: [
    { name: 'main',
      freq: 'XXXMHz'
    }
    ...
  ]
  group: [
    {
      name: 'secure'
      members: ['kmac', 'hmac,', 'aes, ...]
    }
    { name: 'peri'
      members: ['dma']
    }
  ]
  // then  clk_main_secure -> kmac, hmac, aes
  //       clk_main_peri -> dma
  connections: {
    main: ['kmac', 'hmac', 'aes', 'dma']
  }
}

Above could be helpful for users to understand what clock connection
would look like. But this maybe don't make sense :)

hmmm.... why do you say this doesn't make sense?
Because we could always do the following couldn't we?
Then we could generate a similar downstream structure
connections: {
  main: ['kmac.clk_i', 'hmac.clk_i'...]

}

sorry forgot to add @vogelpi , my intention was to add everyone that commented on the clock names...

re-based on latest. Once CI passes, I will merge this. Once merged, #1984 will likely need another rebase to correct clock connections.


deps: updates wazero to 1.0.1

This updates wazero to 1.0.0 which begins our compatibility promise.
On behalf of everyone in the community, I want to thank you for trying wazero before we became stable. We will not raise unsolicited pull requests anymore. That said, if any update gives you problems, please feel free to contact us on slack or via a GitHub issue.
Finally, if you would like to share your work, feel free to update our users page!

@mattxyzeth fyi I repurposed this to our final release!


Replace "Vector search" with "Semantic search" in the demo

Rename 'Vector Search' to 'Semantic Search'.
Prepare and upload a new database dump containing only vector embeddings for our repositories. This will make it lighter and easier to get started.

I've uploaded a new backup (311MB) and have also changed the naming convention and deployed it.


Theme port for VSCode

It would be really great if you make the Visual Studio Code theme based on your awesome ariake-dark-syntax. Is there any hope you do that?

Funny you should mention this, I just came up with a .tmtheme file from this yesterday. I'm pretty sure that will work at least with syntax coloring in VS.
https://gist.github.com/Geo1088/4590666f667e1b9fa050e4fd2a184dc7

great! looking forward to see full theme package in Marketplace. i've created a local theme from your .tmTheme file and custom …-color-theme.json settings like
{
	"tokenColors": "./Ariake.tmTheme",
	"colors": {
		"editor.lineHighlightBackground": "#65737e30",
		"editor.background": "#2b303b",
		"editorCursor.foreground": "#c0c5ce",
		"editor.selectionBackground": "#4f5b66",
		"editor.foreground": "#c0c5ce",
		"editorWhitespace.foreground": "#65737e",
		"editorIndentGuide.background": "#3b5364",
		"sideBar.background": "#1c1f26", // 232830
		"activityBar.background": "#1c1f26",
		"sideBarSectionHeader.background": "#1c1f26",
		"editorGroupHeader.tabsBackground": "#1c1f26",
		"editorGroup.dropBackground": "#1c1f26",
		"tab.border": "#1c1f26",
		"tab.inactiveForeground": "#65737f",
		"tab.inactiveBackground": "#1c1f26",
		"statusBar.background": "#1c1f26",
		"statusBar.foreground": "#4f5b66",
		"statusBar.debuggingBackground": "#230000",
		"titleBar.inactiveBackground": "#1c1f26",
		"titleBar.activeBackground": "#1c1f26",
		"list.activeSelectionBackground": "#343d46",
		"list.inactiveSelectionBackground": "#343d46",
		"list.focusBackground": "#343d46",
		"list.hoverBackground": "#1c1f26",
		"input.background": "#1c1f26",
		"dropdown.background": "#1c1f26",
		"editorWidget.background": "#232830",
		"editorHoverWidget.background": "#232830",
		"editorHoverWidget.border": "#343d46"
	},
	"name": "Ariake"
}

and now it looks pretty well, so thanks a lot!

I can also publish it, if you want me to do that, btw. ’cause it's for-me-only for now.

I'm not the author, would rather wait for @pathrk to comment before publishing anything. Glad you like it though, was my first time messing with syntax themes so I'm really happy with how it worked out. There may still be some issues with it, so getting it its own repo or as part of this one would be awesome.

@a-wart
Porting this theme to the Visual Studio Code sounds great.
@Geo1088
Can I make another repo for it and invite you as a co-author?
I'm happy if I could add your credit to the license.

@pathtrk Go for it, sounds good to me!

I appear to have misplaced the flash drive I had the Vim color theme on, but I can recreate it in the next couple days. Will let you guys know when I have it again.

"in the next couple days" 2 weeks later
Vim theme: https://gist.github.com/Geo1088/978cb1b188cecfe93fdbcea1be24f497
@pathtrk Do you want me to just upload these in the root of pathrk/ariake-theme?

@pathtrk done!
https://marketplace.visualstudio.com/items?itemName=wart.ariake-dark

btw @Geo1088 @pathtrk guys take a look at this gorgeous icon that my friend has made for the theme:

That looks amazing!
@pathtrk any update on how you want to handle the other repo? I can get the files uploaded whenever once I know what structure you want to use.


[Release 2.12.0] Manifest components update

Description
[Release 2.12.0] OpenSearch manifest components update
Issues Resolved
Part of https://github.com/opensearch-project/opensearch-build/issues/4115
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Merging this PR so that we can start building 2.12.0 distribution with a focus on identifying issues at an early stage. Know CI check failures for geospatial and CCR with pending version increment PR's
Thank you


Explanation for registry settings for Office/Outlook

Please can we get an explanation on why we are setting certain registry values, such as:
For example InsiderSlabBehavior - why is this set to 2? What does it mean?

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

ID: dbf7e52a-b2b1-0372-0e62-12f6733fc699
Version Independent ID: a21ed743-3fbc-0d20-6947-188744e0a2f7
Content: Install Office on a master VHD image - Azure
Content Source: articles/virtual-desktop/install-office-on-wvd-master-image.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


[FEATURE REQUEST] Make CI or nightly builds available to public feed

Overview
Developers may want to test nightly builds of the MRTK3 packages.  We currently have CI builds published to a private feed, we should consider making these or nightly CI "roll-up" builds available to developers.
Without this, developers have to use the GitHub project directly

With the plan to release from the unity store this doesn't make sense anymore.


Make runtime file I/O utilities optional.

Fixes https://github.com/google/iree/issues/6247 (except for the threading dependency already tracked in https://github.com/google/iree/issues/4298).

Could you please also take a look at iree/samples/variables_and_state/CMakeLists.txt and iree/samples/dynamic_shapes/CMakeLists.txt?

Sure, I switched the TODOs in those files as well. Not fully tested, but I've got my eye on https://github.com/google/iree/issues/4298 now, which would let those checks go away.

Could you please also take a look at iree/samples/variables_and_state/CMakeLists.txt and iree/samples/dynamic_shapes/CMakeLists.txt?

Sure, I switched the TODOs in those files as well. Not fully tested, but I've got my eye on #4298 now, which would let those checks go away.

Thanks so much for tidying things up!


update file

should be something like - retrieve File object into the cache, run nano on it for read/edit, and save it - and then send it back and replace it on minion - run a re-sync/update to fileNode.


added module overview

Description
Added module landing page to docs

Processing this pull request

Merged into branches master in 889b461c4a8e78470598c35744671c1182315988

Processing #8128.


Element Type & Control

Hey,
I noticed that pyprime works so well I don't have to think about the element type in pymapdl. Then I realized, I always need to think about element type in FE.
What is the logic of the default elements when generating a cdb and is there any way to control the element types?

@mcMunich Currently, we have a mapping of element types to mesh elements that we use. For example, Tet elements are written as Solid285 elements. We do not apply any keyopts at present on the element types. There are enhancements that are being planned for this in some external FE workflows that I would be happy to discuss offline. This will probably be available in 24R1. Given below is the current mapping.
Beam188 -> Line2
Beam189 -> Line3
Shell181 -> Tri3
Shell181 -> Quad4
Shell281 -> Tri6
Shell281 -> Quad8
Solid285 -> Tet4
Solid185 -> Hex8
Solid187 -> Tet10
Solid186 -> Hex20
Did you have anything specific in relation to how element types need to be defined?

@mcMunich As for cdb, in (Py)MAPDL there's a save_as_archive function which does the same conversion with default element types for solid and shell element. You can also refer to the element guide in ANSYS_Mechanical_APDL_Element_Reference for more information. On a separate note, the element type is most likely physics dependent - e.g. a suitable structural element type may not be suitable for acoustics so we might need to consider physics type in PyPrimeMesh when it comes to element export control. For the current default element type in cdb we consider mainly for structural element. In addition, MAPDL supports an "etmod" command that users sometimes add in command snippets in mechanical to change the element type if we don't pick the right one as default.


Adjust icon alignment in the left nav bar

Describe the bug
The Clarity.design website as well as VMware's Clarity Figma assets show that when navigation/the left hand nav bar is collapsed, the icons should be centered horizontally in the space. However, in the Storybook documentation, the icons are left aligned. This is a small detail, but centering the icons rather than left aligning them would help balance the visual composition of the nav bar as well as any screen it is placed within.
How to reproduce
See documentation/example in Storybook: https://clarity.design/storybook/core/?path=/story/components-navigation--page
Scroll down to the "Collapsible Navigation" section.
Expected behavior
When the nav bar is collapsed, icons are centered within the horizontal space. When the nav bar is expanded, the icons do not move/jiggle but rather stay anchored in place as the width of the nav bar expands and additional text labels are revealed.
Versions
Clarity project:

[X] Clarity Core
[ ] Clarity Angular/UI

Clarity version:

[ ] v5.x
[X] v6.x

Framework:

[ ] Angular
[X] React
[ ] Vue
[ ] Other:

(React, but applies to all/is more about trying to apply Clarity’s design tokens accurately)
Device:

Type: [MacBook Pro]
OS: [iOS]
Browser [Chrome]
Version [99.0.4844.84]

Additional notes
Example of icons centered

Screenshot of Storybook where icons are left aligned

Any movement on this?

Hi, yes, @lil-kim did some investigation work on the design side and discovered the issue is much more complex than simply fixing the alignment of the icon.
For example, if you have nested grouping with icons and collapse the navigation, the alignment is such that you can still tell which icons are children of other icons:

Long story short - this component is still in beta and we've realized we have much work to do on it to get the experience correct - especially once we start considering other breakpoints besides desktop, which this beta component does not do.
As a workaround, you can apply a margin to the icon to center align it:
cds-navigation-item cds-icon {
  margin-left: var(--cds-global-space-5);
}

Excellent thanks @ashleyryan for the update.

Thanks for the update, @ashleyryan!
We don't currently have any nested items in our nav bar so I didn't even notice what was going on with those secondary labels/icons.
There is some angular documentation on clarity.design that seems to resolve this by only applying icons to the top level navigation items (I think this helps keep visual clutter to a minimum as well). Though not as clearly illustrated, it also looks like, if a collapsed top level item with a carrot is clicked, the nav bar expands to reveal secondary items.

That workaround should be sufficient for now though. Thanks!


Version 2.1.6 is not in the Edge Add-ons site

Describe the bug
Version 2.1.6 is not in the Edge Add-ons site; version 2.1.5 is present instead. As a result, after installing the extension, when clicking on the icon of the extension in Microsoft Edge, the window is too narrow.
To Reproduce

Go to the Microsoft Edge Add-ons site and look for the Twitter Real Verified extension
Check the version and updated date in the right-hand side section

Install the extension
Go to Twitter
Click on the extension icon
Notice the width of the extension, it's to narrow

Expected behavior
Version 2.1.6 should be present in the Microsoft Edge Add-ons site, as this version solves this issue.
Desktop (please complete the following information):

Microsoft Edge in Windows 11
Version 116.0.1938.62

Hi!
I uploaded the version to Edge, It will be available in a few hours.

Hi @luiserdef is there any update on this one? I can still see version 2.1.5 offered in the Microsoft Edge's Add-ons site. Maybe Microsoft takes more time than expected on updating extensions?

Hi @luiserdef is there any update on this one? I can still see version 2.1.5 offered in the Microsoft Edge's Add-ons site. Maybe Microsoft takes more time than expected on updating extensions?

Hi, yes.
I had problems uploading version 2.1.6 to edge since they rejected the extension, problems related to the product itself (name, icons, etc.) despite making the adjustments I kept rejecting. In any case, remember that you can download the extension also from the chrome store, which is also compatible with edge.
Maybe it is not the answer you were looking for but at least it has a solution by downloading it from the chrome store.

Hi @luiserdef it's fine, yes, Edge supports Chrome extensions and that's a valid workaround. It's a shame that Microsoft is not accepting the updated version.
If you agree, I can close this issue.


Usb port issue

None of the usb ports reads wd external drive, the drive is 3.0 so I believe the 3.0 usb ports are not configured

Hi
Sorry for the late response
USBInjectAll should be providing USB 3.0 to all 4 USB ports (front and back)
Are you connecting your hard drive to the USB-C port on the back of the computer? At the moment, that doesn't work well with macOS, if it's plugged in on boot it will work, but hotplugging doesn't work at all yet (see #6)
It's not part of the normal XHC device tree, rather behind its own Thunderbolt/USB 3.1 controller which powers off if no devices are connected...🙁

Hi
Sorry for the late response
USBInjectAll should be providing USB 3.0 to all 4 USB ports (front and back)
Are you connecting your hard drive to the USB-C port on the back of the computer? At the moment, that doesn't work well with macOS, if it's plugged in on boot it will work, but hotplugging doesn't work at all yet (see #6)
It's not part of the normal XHC device tree, rather behind its own Thunderbolt/USB 3.1 controller which powers off if no devices are connected...🙁

hey thanks for the reply and thats ok and na i'm not plugging it in usb-c...the drive itself cable is usb 3.0 i usually use to plug it to the front in catalina, by chance can you upload your kext folder? if you don't mind. That may be a help


Revert temporary hack due to upstream issues

Hmm, looks like we still don't have a new Insiders, leaving this till tomorrow.

Codecov Report

Merging #5108 (5d1a82e) into main (fa998b8) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##            main   #5108   +/-   ##
=====================================
  Coverage     73%     73%
=====================================
  Files        402     402
  Lines      26391   26392    +1
  Branches    3798    3798
=====================================
+ Hits       19447   19460   +13
+ Misses      5363    5356    -7
+ Partials    1581    1576    -5

Impacted Files
Coverage Δ

...ent/datascience/notebook/notebookEditorProvider.ts
89% <100%> (+<1%)
:arrow_up:

...rc/client/datascience/notebookStorage/baseModel.ts
78% <0%> (-3%)
:arrow_down:

src/client/datascience/notebook/notebookEditor.ts
34% <0%> (-2%)
:arrow_down:

...active-common/intellisense/intellisenseProvider.ts
74% <0%> (+<1%)
:arrow_up:

src/client/datascience/jupyter/jupyterNotebook.ts
76% <0%> (+<1%)
:arrow_up:

...ient/datascience/editor-integration/codewatcher.ts
69% <0%> (+<1%)
:arrow_up:

src/client/datascience/jupyter/kernels/helpers.ts
76% <0%> (+<1%)
:arrow_up:

src/client/common/process/baseDaemon.ts
54% <0%> (+<1%)
:arrow_up:

...rc/client/datascience/jupyter/jupyterConnection.ts
87% <0%> (+<1%)
:arrow_up:

...datascience/editor-integration/codelensprovider.ts
87% <0%> (+1%)
:arrow_up:

... and 4 more


Updated printError in AndroidMavenArtifacts

Description
Updated printError in AndroidMavenArtifacts for improving the error message
Related Issues
Fixes #64123
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.

@christopherfujino ping

Yes that looks to good to me. How should I add it?
Simply writing:

final String javaBinary = findJavaBinary(
        androidStudio: globals.androidStudio,
        fileSystem: globals.fs,
        operatingSystemUtils: globals.os,
        platform: globals.platform,
      );

before final String gradleExecutable with a
if (javaBinary == null) {
        globals.printError('Java not found');
      }

Will that work??
Pardon me if I am wrong I'm pretty new here.

I'm sorry for my delay in getting back to you. Yes, something like that, but then ensuring that after printing the error we don't attempt to run gradle, which we know will fail if it can't find java.

Because of the lack of activity on this PR I'm going to close it to remove from our review queue. Please feel free to send us a new PR or discuss in an issue anytime.


refactor: logging output; Remove usage of fatal calls in modules/clients

Replaced fmt.print* with logging library; Removed usage of fatal from several places
Cleaned up logging; Removed additional fatal calls

CodeScene PR Check

View detailed results in CodeScene

Quality Gates
OK

Recommended Review Level
Lightweight sanity check

No Warnings

@rifisdfds Tested multiple times now. Haven't spotted any issues thus far.


Clsoes #82 vignette update

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md under the header # admiralpeds (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiralpeds site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the Reference page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

@zdz2101 , @manciniedoardo ,
I have implemented most of David's comments. Not being an English native speaker and having overwritten most of the advs vignette, could you please carefully review it ensuring that no important information has been dropped ?
Please let me know if further comments need to be implemented.
Many thanks.


externally initiated conversions

im having trouble listening for new messages and responding to that particular message, plus can anyone please explain how do i use the .fetch_all_unread_chats() function and also how do i access the returned chats (what format are they in, datatypes and do i read them)

This doesn't look like a bug report


✨ webhook notifications

Description
Send notifications to a webhook endpoint
Resolves #295

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


PMOD peripheral symbol and footprint

Added symbol and footprint for PMOD peripherals eventually created for tinytapeout.  The TT demo board has PMOD connectors for the host side.  As these are face-to-face, left becomes right for peripherals.  Using the periph symbol and footprint will allow these to mate correctly.

Super, thanks so much! :)


[New game]: trivia quiz game

🎮 Game Request
The trivia quiz game is a basic implementation that focuses on the core functionality of presenting questions, accepting player input, checking answers, and tracking scores. It has more features such as a timer, difficulty levels, lifelines, or even incorporating a leaderboard for multiplayer functionality.
Point down the features
Game points
The game displays each question along with a set of options for the player to choose from. The game prompts the current player to enter their answer by selecting the corresponding number of their choice. The game checks if the player's answer matches the correct answer stored in the question dictionary.  The game keeps track of the player's score throughout the quiz. For each correct answer, the player's score is incremented by 1. At the end of the quiz, the player's score is displayed. The game checks if the player's answer is correct after each question and provides immediate feedback.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

I want to work on this issue of making this game. So please assign me this issue.

Hey @Iron-Thunder ! we are already having similar game request in #120

Hey @Iron-Thunder ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇