Cannot find module './connect'

With version 0.10.0 I got an error if I execute the following line.
./node_modules/.bin/db-migrate db:create test -e dev

Bellow you can see the stacktrace. For me it looks like you want to require the connect.js file in the root folder of db-migrate, right?
Unhandled rejection Error: Cannot find module './connect'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at executeDB (/home/me/test/node_modules/db-migrate/lib/commands/db.js:7:15)
    at run (/home/me/test/node_modules/db-migrate/lib/commands/run.js:76:19)
    at dbmigrate.run (/home/me/test/node_modules/db-migrate/api.js:439:16)
    at /home/me/test/node_modules/db-migrate/bin/db-migrate:36:19
    at tryCatcher (/home/me/test/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/me/test/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/home/me/test/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/home/me/test/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/home/me/test/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/home/me/test/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/home/me/test/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/me/test/node_modules/bluebird/js/release/async.js:17:14)

Thank you for reporting this bug!
Was fixed and published under

<EMAIL_ADDRESS>


There are references to www.dotnetnuke.com in text

Description
The descriptions in various .resx text and SQLdataprovider files are referencing www.dotnetnuke.com. That site does not exist anymore
Steps to reproduce
Text search *.resx and for www.dotnetnuke.com
Current result

Installwizard.aspx.nl-NL.resx
Installwizard.aspx.it-IT.resx
Installwizard.aspx.fr-FR.resx
Installwizard.aspx.es-ES.resx
Installwizard.aspx.de-DE.resx
Installwizard.aspx.resx
GlobalResources.resx
<IP_ADDRESS>.SqlDataProvider
07.02.02.SqlDataProvider
07.02.01.SqlDataProvider
07.02.00.SqlDataProvider
07.00.03.SqlDataProvider
07.00.01.SqlDataProvider
07.00.00.SqlDataProvider
06.00.00.SqlDataProvider
05.06.02.SqlDataProvider
05.02.00.SqlDataProvider
03.01.00.SqlDataProvider
01.00.05.SqlDataProvider
01.00.00.SqlDataProvider

Expected result
No references to www.dotnetnuke.com but to www.dnnsoftware.com
Affected version

[x] 9.2.1
[x] 9.2.0
[x] 9.1.1
[x] 9.1
[x] 9.0

Affected browser

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

Dnn.Platform/Website/DesktopModules/Admin/Security/Users.ascx.cs
has refrences here as well.

I didn't note any (non-namespace) references to dotnetnuke in
Github.com\Dnn.Platform\Website\DesktopModules\Admin\Security\Users.ascx.cs

It seems files like
Installwizard.aspx.fr-FR.resx
Installwizard.aspx.es-ES.resx
Installwizard.aspx.de-DE.resx
are not in the source tree, but perhaps generated by the build?
I did modify Installwizard.aspx.resx, so hopefully that fixes the other language resource files...

I just submitted a commit & pull request for these *.SqlDataProvider files,

@VashJuan the other languages get pulled live from a webservice I believe, so we would not have control over that right now. I did not do a full review on the status of this so leaving it open and assigning it to the 9.4.1 milestone, please update progress and let us know when ready to close.

I can still find a lot of references to www.dotnetnuke.com in the source code header comments, what should this be replaced for? dnncommunity.org ? Just removed ? Something else?

@david-poindexter
there is no English Language pack - Installwizard.aspx.resx and GlobalResources.resx need to be handled by the team, according to this item

@sleupold I am aware.  As mentioned previously in this issue, a pull request was submitted already for those.  Therefore, only the other LP changes are needed.  Thus, this issue can be closed.  Am I missing something?  If so, just let me know.  Thanks.


Fix Fraction methods

Fractions methods isProper and isImproper implementations have been spotted wrong while tested. Fix them

[ ] Fix isProper method
[ ] Fix isImporper method


Asciidoctorjs 3

Issue #89

Thanks!
Could you please extract the CDN update (from https://twemoji.maxcdn.com to https://cdn.jsdelivr.net/npm/twemoji@latest) into a dedicated pull request?
Also, we need to say on "libnpmpublish": "~6.0". They frequently introduce breaking changes and as a result our publish task is probably not working with anything > 6.x.
Any reason to use ^ instead of ~ ? I would prefer to keep using ~x.y (unless you have a strong case for ^).

If the lib uses and respects SemVer(it may be a too big assomption), we can use ^x.y without risk. It will only use version x.z (with z >= y), so no breaking changes will be introduced.
This allows automatic updates with npm update.
If you prefer using ~, no problem :)
I prepare a PR for the CDN update.


chore(v2): v2 website should make it easy to contribute to upstream docs

Motivation
By default, in prod, the "latest version" is the last release, not "next".
This lead to the editUrl targeting docs of a specific version, not upstream docs.
This leads to maintainers asking to port the doc fixes to upstream docs, and sometimes merging by mistake to the versioned docs, so the doc fix would disappear.
Here is an example: https://github.com/facebook/docusaurus/pull/3428#issuecomment-700158389
By defaulting to the next version in prod, we nudge contributors and maintainers to contribute to upstream docs in priority.

The label (unreleased) can help make it obvious that it's the doc for an unreleased version, so that the user can switch if needed.
But anyway, between one alpha to another, the docs do not change that much, so I think this new behavior is fine for the whole alpha phase.
@lex111 @yangshun any opinion?

Yes, this is ready here: https://deploy-preview-3506--docusaurus-2.netlify.app/classic/

erf there's the banner here that is annoying now 😅

will try to fix it as part of https://github.com/facebook/docusaurus/issues/3013


Active callback in the Repeater control

Issue description:
Active callback does not work in the Repeater control
Version used: 2.3.7
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
Tried the develop branch, but plugin could not be activated and return this message: "The plugin does not have a valid header."
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
Regular active_callback argument.

Can you please post the code for your callback function here?

Sure. I have two selects, "select_one" and "select_two", inside the repeater control . Second select have the active_callback argument which is called when the option "two" is selected in the first select. I just now see that maybe the repeater fields names are not considered as setting and therefor is does not work.
Kirki::add_field( 'my_config', array(     'type'       => 'repeater',     'label'      => esc_attr__( 'Repeater Control', 'my_textdomain' ),     'section'    => 'my_section',     'priority'   => 10,     'row_label'  => array(         'type'  => 'field',         'value' => esc_attr__( 'custom text', 'my_textdomain' ),         'field' => 'section_one',     ),     'settings'    => 'my_setting',     'fields' => array(         'select_one' => array(             'type'        => 'select',             'label'       => esc_attr__( 'Title 1', 'my_textdomain' ),             'default'     => 'one',             'choices'     => array(                 'one'   => esc_attr__( 'One', 'my_textdomain' ),                 'two'   => esc_attr__( 'Two', 'my_textdomain' ),                 'three' => esc_attr__( 'Three', 'my_textdomain' ),             ),         ),         'select_two' => array(             'type'        => 'select',             'label'       => esc_attr__( 'Title 2', 'my_textdomain' ),             'default'     => 'columns',             'choices'     => array(                 'four' => esc_attr__( 'Four', 'my_textdomain' ),                 'five' => esc_attr__( 'Five', 'my_textdomain' ),                 'six'  => esc_attr__( 'Six', 'my_textdomain' ),             ),             'active_callback'    => array(                 array(                     'setting'  => 'select_one',                     'operator' => '==',                     'value'    => 'two',                 ),             )         )     ), ) );

ok, now I understand what you mean.
You want to hide a field inside a row in the repeater depending on the value of another field inside the same row of the same repeater control?
If this is what you want then I'm afraid it's not currently supported.
You can hide the repeater field (the whole repeater, not subfields selectively) depending on the value of another field (not a sub-field) if you want, but nested fields can't control - or be controlled.

Thank you. Maybe you can consider this feature in the future.

Has this been implemented since maybe?

Not yet, this will be implemented after v3.1 as it requires a significant rewrite of some oartsbof the code.

Hey Guys,
I've solved the active_callback inside repeaters and upload the solution in the request https://github.com/kirki-framework/kirki/pull/2367
You need to replace the file \kirki\modules\field-dependencies\field-dependencies.js with this one in the commit https://github.com/kirki-framework/kirki/pull/2367/commits/cd7193b7f0abb5b2fd373b21871eaf103232302a
Add the following line code in file kirki\controls\js\script.js, Try to find this line this.settingField.trigger( 'change' ); to reach the if command easily then add the new function like below
if ( refresh ) {
    /*
    * DO NOT Forget to add this in the [.min] file version
    */
    OxibugKirkiRepeaterDependencies.init();

    // Trigger the change event on the hidden field so
    // previewer refresh the website on Customizer
    this.settingField.trigger( 'change' );
}

If you urgently need it, DO NOT Forget to change your Kirki version to prevent from automatic update until the commit approved.
Hope it helps :)

@VladNov @BenceSzalai
Hey Guys,
A new commit to enable active_callback in the newer version 4.x.x is available here https://github.com/kirki-framework/kirki/pull/2468
Best,


IPA Solidity unit-test generator

This PR is a first step to solve verifier's Rust <-> Solidity compatibility problem (https://github.com/lurk-lab/arecibo/issues/337)
With a help of Handlebars templating engine this PR adds IPA unit-test which dynamically generates exact ipa.t.sol from our Solidity verifier (checked manually by running forge tests in Solidity with Solidity file generated by Rust).
How to run?
In order to create ipa.t.sol directly from Rust (Arecibo) environment I used following commands:
cargo test test_solidity_compatibility_ipa --release -- --ignored --nocapture > ipa.t.sol
cat ipa.t.sol | sed '1,3d' | sed -n -e :a -e '1,4!{P;N;D;};N;ba' > tmp.file && mv tmp.file ipa.t.sol

The ignored test test_solidity_compatibility_ipa is invoked and its stdout is redirected to the ipa.t.sol file with a little subsequent truncations of irrelevant lines.
Sidenote
It is possible to vary number of variables and test_solidity_compatibility_ipa can produce correspondent IPA test-vector which is useful for detecting upper-bound gas cost experiments.
P.S. As it is mentioned in https://github.com/lurk-lab/arecibo/issues/337, IPA now is a first building block that supports dynamic IO generation directly from Rust, and we can experiment with CI enforcements using it as an example in order to derive optimal compatibility rules for every stakeholder.
cc @samuelburnham

Back to your queue for the file hierarchy changes requested in #341 (review)

In this case, we will need to make even more fields public (ck_v, ck_s of VerifierKey and L_vec, R_vec, a_hat of InnerProductArgument) in order to access them from different module. Is that acceptable?

In this case, we will need to make even more fields public (ck_v, ck_s of VerifierKey and L_vec, R_vec, a_hat of InnerProductArgument) in order to access them from different module. Is that acceptable?

Rust supports pub (in crate::provider), which is fine, and pub (crate) if you must.


[mgmt] sql release

https://github.com/Azure/sdk-release-request/issues/4779

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-sql


Small update to troubleshoot ingest

Purpose of this pull request
This pull request (PR) makes a small update to the following article at the request of Marek Zochowki:
https://help.sumologic.com/docs/apm/traces/tracing-ingest/
Select the type of change:

[x] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

Closed this PR because it contained some file changes it shouldn't have.


Update dependencies to be in sync with CMakeLists

This update was just merged in neovim/neovim.
This keeps the formula in sync.
msgpack and unibilium are behind here too. I'll update these too unless this is intentional.

msgpack and unibilium are behind here too. I'll update these too unless this is intentional.

please do, I've completely forgot about that.
@xu-cheng I remember reading somewhere  about the possibility of keeping homebrew formula in sync automatically, any progress in that front? It would be amazing if you could pull that off.

Done :)
On Sat, Mar 21, 2015, 12:01 PM Thiago de Arruda<EMAIL_ADDRESS>wrote:

msgpack and unibilium are behind here too. I'll update these too unless
this is intentional.
please do, I've completely forgot about that.
@xu-cheng https://github.com/xu-cheng I remember reading somewhere
about the possibility of keeping homebrew formula in sync automatically,
any progress in that front? It would be amazing if you could pull that off.
—
Reply to this email directly or view it on GitHub
https://github.com/neovim/homebrew-neovim/pull/33#issuecomment-84423426.

@tarruda neovim/bot-ci#52 implements that feature.  It needs to be reviewed again.  This week has really gotten away from (too many things going on right now), so it'll probably be mid-week or later before I can really sit and review it.

@jszakmeister ok, I didnt find it because I was looking in this repo's issue tracker, but obviously it belongs to bot-ci :smile:


Upgrade to jersey 2.0

By migrating to JEE 7 in OSCM v17.0 the core REST APIs have been upgraded to JAX-RS 2.0 requiring jersey 2.0. In order to compile with latest OSCM, the contained dependent API projects need to be upgraded as well.

Fixed for v0.7.


Fix browse tests

https://github.com/gratipay/gratipay.com/pull/3250#issuecomment-81960973

Tests pass locally. Reading commits ...


Exchange server 2019?

Will makeEwsRequestAsync work on Exchange server 2019?

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

ID: fd670845-f60e-c6a0-090a-aa5f7246fa07
Version Independent ID: 77bd64a6-8d77-1266-d812-798f35563b89
Content: Use Exchange Web Services (EWS) from an Outlook add-in - Outlook Developer
Content Source: docs/add-ins/web-services.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@sagarpikhwal Thanks for your question. makeEwsRequestAsync was introduced since the inception of Mailbox add-ins (requirement set 1.0) so on-premises Exchange 2013 and later should support it.
Let us know if you find that is not the case so we can investigate.
Thanks.


Remove molecules with Beliruim from KEGG and Chebi

We took a different approach, details in this PR #1071


OpenCV 4.x+ requires enabled C++11 support

When make, it shows  error: #error "OpenCV 4.x+ requires enabled C++11 support", and it seems OpenCV version lower than 3.4.0 can work, but this project recommand OpenCV version higher than 3.4.5. I try to add -DCMAKE_CXX_FLAGS="-std=c++11" but failed. And how to solve the problem above?

Hello, I can't help you with that. It also took me lots of time to get all libraries correct.
My CMakeLists.txt is modified from 视觉SLAM十四讲: https://github.com/gaoxiang12/slambook/blob/master/project/0.4/CMakeLists.txt
Maybe you can find answers there.

When make, it shows  error: #error "OpenCV 4.x+ requires enabled C++11 support", and it seems OpenCV version lower than 3.4.0 can work, but this project recommand OpenCV version higher than 3.4.5. I try to add -DCMAKE_CXX_FLAGS="-std=c++11" but failed. And how to solve the problem above?

如果你使用的是Ubuntu16，需要把作者的CMakeLists.txt中关于std11的那句改为：
# set( CMAKE_CXX_FLAGS "-std=c++11 -O3" ) add_compile_options(-std=c++11)
如果你使用的是Ubuntu18则不需要做上述更改。我使用的opencv版本为3.4.7


No Changes Made - Device Unavailable for last 48 hours and counting despite reboots, reinstall, and reconnections

Integration Version:
1.1.3
1.0.0 of AWNET to HASS
Home Assistant Version:
2023.8.4
Describe the bug
A clear and concise description of what the bug is.
No changes made to my HA instance, Ambient Weather devices, or network, but the local version became unavailable 48 hours ago and is not coming back despite reboots of HA and device, reconnections, reassignment of IP, firmware checks, reloading of integrations, and reboot of add-in.
It's on Observerip2_v2.2.6.  This integration has been working great for over a year, but suddenly stopped.  Both local IP and Ambient Weather apps show correct information from weather station.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Not sure how to reproduce since it just stopped and hasn't come back.
Expected behavior
A clear and concise description of what you expected to happen.
provide the correct information.
Screenshots
If applicable, add screenshots to help explain your problem.

The 15 hours I believe is when I last rebooted the actual ambient weather device.
Additional context
Add any other context about the problem here.
  More specific instruction for exacting would be helpful.  Thanks.

Glad to hear! Looks like the firmware update that came out is now properly encoding the colons : in the request, thus it broke my previous workaround (which was dependent on the colons). The current workaround should resolve the issue for everyone with these devices and the WS-5000. Marking this issue as resolved.


feature request: selectively avoid downsampling, keep high resolution metrics for configured time periods

Sorry for the noise if this is already possible.
I'm wondering if it's possible to configure and/or set time periods where I would like to avoid having metrics downsampled over time and keep high resolution metrics for various things during some period of time.
For instance, if I have a major outage and want to be able to go back and reference the 1m resolution for months on end, but my standard 30m,5m,1m would downsample the data after a couple weeks.
Or if I have a large event and I want to be able to reference this data the following year at the same time.
What happened
Today, my data gets downsampled as configured.
What you expected to happen
I expect to have the ability to configure (either beforehand or after the fact) that, for instance, from 2019-09-30 12:35:00 to 2019-09-30 14:15:00 I never want this data downsampled.

Why not just make a backup of those blocks and open them separately from the production deployment? I think those will load even on a vanilla Prometheus.

Thanks Krasi.
Bartek also responded to my inquiry via Slack today.  He pointed out that downsampling does not actually remove any data but rather the optional retention that does, and if I want to avoid having events downsampled, I could just keep all resolutions/data forever.
Your feedback also makes sense and I will explore using this option longer term as well.

Thanks. In that case might be best to close the issue, try the suggestions and reopen if it doesn't solve your use case.


Provide public constructur for Incoming - for testing

Is your feature request related to a problem? Please describe.
Incoming cannot be constructed in client code, which is generally fine apart of TESTS.
I do have some test, where I test incoming requests against some modules.
In pre 1.0 It was just fine, as for Incoming request there were exact type, which could be created in tests.
Now I need to make code generic, only because of tests, which sucks, as regular code is just happy with concrete Incoming type.
Describe the solution you'd like
Make some public method to construct Incoming -  is necessary just limited to test cfg
Describe alternatives you've considered
Make main code generic,  but if this is just for tests to work, it's kinda of overkill
Additional context
Maybe I'm missing something, if there is already some good way how to test code that accept Request?

Currently, it's recommended to make the handlers generic, so that you can provide a mocked body type in tests.


If Iphone or any media sync property enabled phone connected to device via. BT, volume is not controlling

Briefly summarize your issue:
Volume is not controlling when Iphone or any volume sync enabled phone is connected via Bluetooth.
What is the expected behavior?
Volume should control. We are raising this ticket because the old ticket has been closed. We are giving the reference for old ticket and it is as below:-
https://github.com/alexa/avs-device-sdk/issues/1472
What behavior are you observing?
Volume is not controlling via. phone
Provide the steps to reproduce the issue, if applicable:

Connect phone via. bluetooth.
Play some music.
Increase or decrease volume from phone.

Tell us about your environment:
AVS SDK Version 1.18.0 Cross Compiled to run on below Hardware.
PulseAudio
Bluetooth
Tell us what hardware you're using:
Other: Hardware: Samsung Artik 305 Secure Board
armv7hf
Tell us about your OS (Type & version):
Linux, Ubuntu 16.04
Linux artik 4.4.71-UNRELEASED #1 SMP PREEMPT Tue Aug 20 18:39:35 IST 2019 armv7l armv7l armv7l GNU/Linux

Hi @mohitbansal19,
Since there is context in the old ticket, I will be moving the conversation back to there and closing this ticket.


host de extensiones no responde

Extension Name: debug-auto-launch
Extension Version: 1.0.0
OS Version: Windows_NT x64 6.1.7601
VSCode version: 1.28.0

We have written the needed data into your clipboard. Please paste:

Closing please see #60318


Update BUILDING.md

Link to environment page was for an old html file I guess? Hope that works, its my first ever open source contribution!
Thanks
Adam

Thanks! Looks good to me!

Thanks looks good to me!


Cranelift: ISLE: aarch64: imm12_from_negated_value rules don't apply for i32, i16

Our prototype verifier seems to have found a completeness/performance (not correctness) bug in the handling of some narrow immediate values in aarch64.
aarch64 has the following rules that check if the negated value of a constant fits in an immediate (Imm12), doing a corresponding switch between add and subtract:
;; Same as the previous special case, except we can switch the subtraction to an
;; addition if the negated immediate fits in 12 bits.
(rule 2 (lower (has_type (fits_in_64 ty) (isub x (imm12_from_negated_value y))))
      (add_imm ty x y))

;; Same as the previous special cases, except we can switch the addition to a
;; subtraction if the negated immediate fits in 12 bits.
(rule 2 (lower (has_type (fits_in_64 ty) (iadd x (imm12_from_negated_value y))))
      (sub_imm ty x y))

(rule 3 (lower (has_type (fits_in_64 ty) (iadd (imm12_from_negated_value x) y)))
      (sub_imm ty y x))

These rules should work for all fits_in_64 types (i8, i16, i32, i64), but they seem to only work as intended for i64 (they aren't stricly needed for i8, since the versions of these rules without negation trigger there since i8 values always fit in Imm12).
In particular, our prototype verifier found that for i16 and i32, these rules only apply if the operand extracted with imm12_from_negated_value is exactly 0, rather than values in the range Cranelift lowers to Imm12: constants with negated values val:  (val < 0xfff) || (val < 0xfff_000 && (val & 0xfff == 0)).
For example, adding a constant -1 to a value should always be able to be lowered to subtracting an immediate 1 from the value, but as shown in the test cases below, clif only uses sub for i8 and i64 in this case and otherwise keeps a mov and add.
What I think is the bug
As discussed in https://github.com/bytecodealliance/wasmtime/issues/5700, Clif semantics are that narrow (i8, i64, i32) iconst are stored in an underlying u64 that is zero-extended, not sign-extended, from the narrow bits.
imm12_from_negated_value negates this zero-extended value as an i64 then checks whether that fits into an immediate:
fn imm12_from_negated_u64(&mut self, n: u64) -> Option<Imm12> {
    Imm12::maybe_from_u64((n as i64).wrapping_neg() as u64)
}

Any narrow negative constant, after being zero extended, has left-filled zeros, so negating the value no longer produces a constant that is unsigned < 0xfff or < 0xfff_000.
When handling narrow iconst values, imm12_from_negated_value should negate the narrow value then zero extend in this case. In general, ISLE terms operating on the u64 may need to see the u32, u16, etc, instead.  I'll work on a PR for at least fixing imm12_from_negated_value.
.clif Test Case
imm12-64.clif
test interpret
test run
target aarch64

function %a(i64) -> i64 {
block0(v0: i64):
    v1 = iconst.i64 -1
    v3 = iadd v0, v1
    return v3
}
; run: %a(0) == -1

Because the .clif parser currently sign-extends instead of zero-extends values, for narrow constants I use the decimal -1 value as an unsigned u64 to construct the iconst:
imm12-32.clif
test interpret
test run
target aarch64

function %a(i32) -> i32 {
block0(v0: i32):
    v1 = iconst.i32<PHONE_NUMBER>
    v3 = iadd v0, v1
    return v3
}
; run: %a(0) == -1

Steps to Reproduce
cargo run -- compile --target aarch64 -D imm12-64.clif
cargo run -- compile --target aarch64 -D imm12-32.clif
cargo run -- compile --target aarch64 -D imm12-16.clif
cargo run -- compile --target aarch64 -D imm12-8.clif

Expected Results
This function gets rewritten to:
sub     x0, x0, #1
ret

in all cases.
Actual Results
cargo run -- compile --target aarch64 -D imm12-64.clif
.byte 0, 4, 0, 209, 192, 3, 95, 214

Disassembly of 8 bytes:
   0:   00 04 00 d1             sub     x0, x0, #1         <-- good use of immediate
   4:   c0 03 5f d6             ret

cargo run -- compile --target aarch64 -D imm12-32.clif
.byte 2, 0, 128, 18, 0, 0, 2, 11, 192, 3, 95, 214

Disassembly of 12 bytes:
   0:   02 00 80 12             mov     w2, #-1
   4:   00 00 02 0b             add     w0, w0, w2         <-- no immediate
   8:   c0 03 5f d6             ret

cargo run -- compile --target aarch64 -D imm12-16.clif
.byte 226, 255, 159, 82, 0, 0, 2, 11, 192, 3, 95, 214

Disassembly of 12 bytes:
   0:   e2 ff 9f 52             mov     w2, #0xffff
   4:   00 00 02 0b             add     w0, w0, w2         <-- no immediate
   8:   c0 03 5f d6             ret
cargo run -- compile --target aarch64 -D imm12-8.clif
.byte 0, 252, 3, 17, 192, 3, 95, 214

Disassembly of 8 bytes:
   0:   00 fc 03 11             add     w0, w0, #0xff      <-- good use of immediate because #0xff is small
   4:   c0 03 5f d6             ret

Versions and Environment
Cranelift version or commit: c4a2c1e81893a41b363ba135b9fd79fb77eb0531
Operating system: macOS
Architecture: aarch64

I agree that this is a bug and I think you've diagnosed the root cause correctly. Thanks for the example inputs, which illustrate the bug very clearly! These would make great precise-output filetests in cranelift/filetests/filetests/isa/aarch64/, if you'd like to open a PR for that: we'd test for the current sub-optimal behavior for now, and then when this is fixed we'll see the tests "fail", highlighting that the fix worked.
I guess imm12_from_negated_value should be a partial constructor, not an extractor, so it can use i64_sextend_imm64 and pass the value's type through. If we add an i64_neg constructor to the prelude, then I think we can get rid of imm12_from_negated_u64 and write this instead:
(decl partial imm12_from_negated_value (Value) Imm12)
(rule
  (imm12_from_negated_value (has_type ty (iconst n)))
  (if-let (imm12_from_u64 imm) (i64_as_u64 (i64_neg (i64_sextend_imm64 ty n))))
  imm)

I think we also need to implement #3059 so we can have some confidence that we're treating high bits consistently everywhere.
If anyone wants to pick this up I'm happy to discuss in more detail how to fix it!

I'll open a PR for adding these as file tests, and try out the change @jameysharp suggested to use i64_sextend_imm64.
@jameysharp, do you think that the change to the rule shouldn't land until https://github.com/bytecodealliance/wasmtime/issues/3059 changes? Or just that this is more motivation to address #3059?

I had to think about that question, but my conclusion is that this is only more motivation to address #3059 and maybe find more cases like this. Since the i64_sextend_imm64 constructor entirely ignores the upper bits, if we start using that in these rules then these rules won't care whether the CLIF verifier checks this property or not.


Signing via key from Azure-keyvault does not get executed

$title
I'm running a workflow to sign an image via Azure-keyvault keys, Login to the Github registry is done successfully, Login to Azure is done successfully, The key in the Azure key vault is accessed and is verified via notation key ls however, during the signing job, it does not execute the signing job and sign the image in the github package.  The following workflow file is as follows:
name: publish
on: [push]
env:
  REGISTRY: ghcr.io
  IMAGE_NAME: bal-test-notation

jobs:
  publish-Ballerina-docker-image:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: azure-resource-login
        uses<EMAIL_ADDRESS>        with:
          creds: ${{ secrets.AZURE_CREDENTIALS }}

      - name: Setup Notation with azure-kv plugin
        uses<EMAIL_ADDRESS>        with:
          version: 1.0.0-rc.7
          key_name: balkeyazure
          certificate_key_id: https://balkey.vault.azure.net/keys/xxxxxx/xxxxxxxxxxxxxxxxxxxxxxx
          plugin_name: notation-azure-kv
          plugin_version:  0.5.0-rc.1

      - name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}

      - name: Build the Ballerina Docker image
        run: |

          docker build --no-cache=true . --tag ${{ env.REGISTRY }}/miranlfk/${{ env.IMAGE_NAME }}:v${{ github.run_number }}
          docker run ${{ env.REGISTRY }}/miranlfk/${{ env.IMAGE_NAME }}:v${{ github.run_number }}
          docker push ${{ env.REGISTRY }}/miranlfk/${{ env.IMAGE_NAME }}:v${{ github.run_number }}

      - name: Verify key generation
        run: notation key list

      - name: Sign the published Docker image
        env:
          creds: ${{ secrets.AZURE_CREDENTIALS }}
          password: ${{ secrets.GITHUB_TOKEN }}
        run: notation sign ${{ env.REGISTRY }}/miranlfk/${{ env.IMAGE_NAME }}:v${{ github.run_number }}

Here is an image for reference:

Ran the same workflow and opted to use Azure Container Registry instead of Github Container registry the results didnt change as shown below:

Yes the login is the Git username and Token, also I did try this, providing args of Username and Token as shown in the example you mentioned. The result seems to be the same as mentioned before. I've tried it locally with test keys and key from azure key vault following the example here. Once i confirmed this works locally on notation cli i moved to github workflows. Further for reference the runner cannot store the submitted credentials from notation as Ubuntu doesn't have a credential manager. I tested this a Notation login job in the workflow to confirm this theory, it failed as i assumed.

Im checking again to see if its a certificate issue. This would explain why using test-keys the workflow would sign and publish to Github packages and why when using certs and keys from Key vault it doesn't.

Hey @Miranlfk, I was able to create a workflow to sign ghcr images using notation and found that you don't need to use the notation login command. Using the docker/login-action is sufficient and notation uses that credential to authenticate to ghcr when using the notation sign command. Next, I'll test the workflow with an Azure Key Vault since my working sample atm uses a self-signed cert but both should operate the same way for signing.
You can see the workflow here.

Hey @Duffney, I believe I mentioned this before, using docker/login-action does work and it's what I've been using so far. In my attempts with the use of self signed certs/keys, The workflow ran flawlessly and the image was signed and published. In the instance of using an Azure KV certs/keys is where the workflow job hangs. I'm still determining if its a certificate issue or not, most likely that would be the case as its the only difference from my working attempt and the attempt that hangs

Hey @Miranlfk, I was able to setup a successful workflow that uses an Azure Key Vault cert to sign artifacts in GHCR. You can take a look at it here. There's also a simple Terraform configuration that you can use as a reference for the infrastructure setup. That should address environmental differences with the cert. Please try that and see if you run into the same error.

Also, if it's okay with you I'll close the issue because I wasn't able to repo the error since I was able to successfully sign a GHCR artifact with an Azure Key Vault Cert.

Closed the issue as per your explanation, As mentioned in Slack ill go over your config and test if I run into the same problem on my end.


Can the *.info.json for playlists include the IDs of the videos in the playlist?

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
The *.info.json file of playlists don’t seem to have the video IDs themselves:
{
  "thumbnails": [...],
  "tags": [],
  "view_count": 79,
  "modified_date": "20220414",
  "playlist_count": 3,
  "id": "OLAK5uy_lE9iXQC55uIiizZdXDV5scSju-e-AfZwM",
  "title": "Beethoven: Piano Sonata No. 14 in C-Sharp Minor, Op. 27, No. 2 \"Moonlight\"",
  "description": "",
  "_type": "playlist",
  "webpage_url": "https://www.youtube.com/playlist?list=OLAK5uy_lE9iXQC55uIiizZdXDV5scSju-e-AfZwM",
  "webpage_url_basename": "playlist",
  "webpage_url_domain": "youtube.com",
  "extractor": "youtube:tab",
  "extractor_key": "YoutubeTab",
  "epoch":<PHONE_NUMBER>
}

Would it be possible to add a new key, _videos, to the output? For example:
"_videos": [
  {
    "id": "KjgSyYhuw3E",
    "url": "https://www.youtube.com/watch?v=KjgSyYhuw3E"
  },
  {
    "id": "JcZdns6OPHE",
    "url": "https://www.youtube.com/watch?v=JcZdns6OPHE"
  },
  {
    "id": "Hj6eVjRqs",
    "url": "https://www.youtube.com/watch?v=C-Hj6eVjRqs"
  }
]

Verbose log
No response

--no-clean-info-json

Thanks. That works. However, I’m wondering why the video list is considered private data:
       --clean-info-json
              Remove some private fields such as filenames from the infojson.
              Note that it could still contain some personal information
              (default)

       --no-clean-info-json
              Write all fields to the infojson

It’s not intuitive that the videos of a playlist are considered “private fields”. Also, I can imagine use cases where the user would want the playlist’s infojson to have the list of videos but not actual private fields.

The word private is used here in the programming sense (roughly speaking, fields that third-parties shouldn't depend on), not in the sense that the fields leak private information of the user. Perhaps this documentation can be improved, but I don't know how else to describe these fields other than "private"
It can be argued that the entries should be considered private fields or not. But there are a few reasons why I decided to do so:

The json can get very large for large playlists
This info is redundant since you are probably also writing video infojson
When using --playlist-end, --download-archive and similar options that blocks yt-dlp from extracting all items of a playlist, the entries field don't accurately mirror all the videos in the playlist
If you --load-info-json a playlist, you expect yt-dlp to try and download the current state of the playlist. If entries was not considered as a private field, only the videos listed in it can be downloaded (You can force this behavior currently using --no-clean-info-json)


react-onclickoutside does not export default props of wrapped component

Issue:
I have a component A with default propA which is wrapped inside onClickOutside HOA like so,
class ComponentA extends React.Component {
  static defaultProps {
    propA: true,
  }
  ....
}

export default onClickOutside(ComponentA)

When I am using this component in another component, componentA.props.propA is undefined instead of true.
When I look at the code, I see that it is not merging wrapped component's default props with its own default props.
My workaround for the issue:
I have a work around in my code which wraps this wrapped component and that exposes the same default props. It is not the correct fix but it unblocked me for now.
Bug Fix Request:
Right place to add that logic is in your library so the wrapped component's default props plus the library's default props are exported properly.

This should probably be fixed with the React 16+ forwardRef system, in a v7 with the current system of manually figuring out what's being wrapped getting relegated to a deprecated 6.x


Build does not proceed, waits for ever

OS: Ubuntu 16.04
Installed 'oc' and did oc cluster up
Connected to the Web Console
In my-project, created an app ("an-app") using 'https://github.com/openshift/nodejs-ex.git' (actually just clicked try-it button that fills this in).
It started build 1 that did not do anything (just the spinning icon). Canceled after 40 min. Tried again. Same fate for build 2.
Builds
an-app                      Build #2 is pending              created 4 minutes ago
Build #1 was cancelled        created an hour ago
Not sure if any other config is required!

all your builds remain in "pending"?
Can you run an "oc describe" on the build pod and the build and report the results?
"oc get pods -o yaml" would also be helpful.

oc describe builds

Seems to not like the docker version string !!
==============
Name:		an-app-1
Namespace:	my-project
Created:	About a minute ago
Labels:		app=an-app
buildconfig=an-app
openshift.io/build-config.name=an-app
openshift.io/build.start-policy=Serial
Annotations:	openshift.io/build-config.name=an-app
openshift.io/build.number=1
openshift.io/build.pod-name=an-app-1-build

Status:		Pending
Duration:	waiting for 1m29s
Build Config:	an-app
Build Pod:	an-app-1-build
Strategy:	Source
URL:		https://github.com/openshift/nodejs-ex.git
Ref:		master
From Image:	DockerImage centos/nodejs-4-centos7@sha256:a166ee3d5cfd04c6a08f758f35bce9d4fc6cf6b2387d15b2998be6a36ccea63a
Output to:	ImageStreamTag an-app:latest
Push Secret:	builder-dockercfg-q63gh
Build trigger cause:	Build configuration change
Events:
FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason		Message

1m		1m		1	{default-scheduler }			Normal		Scheduled	Successfully assigned an-app-1-build to localhost
1m		8s		7	{kubelet localhost}			Warning		FailedSync	Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "runContainer: docker: failed to parse docker version "17.03.1-ce": illegal zero-prefixed version component "03" in "17.03.1-ce""

paging @csrwng

(fyi this is really an openshift/origin issue, not a nodejs example issue, so next time consider opening the issue there)

Thanks.

@ht512512 if you are using cluster up to start your cluster, try with --version=v1.5.0
The other alternative is to downgrade your docker to v1.13.1

@csrwng Thanks. With --version=v1.5.0 the build fails with unable to clone the app. Seems like origin is not able to network out (Could not resolve host error in the log)

In monitoring, I see an event with the following error, " kubelet does not have ClusterDNS IP configured and cannot create Pod using "ClusterFirst" policy. Falling back to DNSDefault policy. "

@ht512512 do you by any chance a firewall running?

It sounds like this is an issue with pod networking and not necessarily the nodejs example.
Please open in origin if things are not working right after running cluster up (or contact me directly for help)


Unable to reuse the pipeline definition

Hi ,
I didn't find anywhere in the doc on how to re-use the pipeline.
For eg:
var h=_([data])
var stage1=  _.pipeline(h.flatMap(h.wrapCallback(function1),
h.flatMap(h.wrapCallback(function2))
var stage2=  _.pipeline(h.flatMap(h.wrapCallback(function3),
h.flatMap(h.wrapCallback(function4))
     h.pipe(stage1).
        pipe(stage2).
        pipe(stage1).  // If stage1 is re-used again, it says you can't use an already consumed
                             //stream, you may need to fork/observe
        stopOnError().each();

As a workaround , I have defined stage3 whose pipeline definition is same as stage1.
Please let me know if there is a better way.
Thanks

You can't reuse pipelines. The pipeline method returns Highland through stream that, like all other Highland streams is one-time use.
If you want a custom transformation pipeline, use `seq

You can't reuse pipelines. The pipeline method returns Highland through stream that, like all other Highland streams is one-time use.
If you want a custom transformation pipeline, use seq and through.
var h=_([data])

var stage1 = _.seq(
    _.flatMap(_.wrapCallback(function1)),
    _.flatMap(_.wrapCallback(function2)))

var stage2 = _.seq(
    _.flatMap(_.wrapCallback(function3)),
    _.flatMap(_.wrapCallback(function4)))

h.through(stage1)
    .through(stage2)
    .through(stage1)
    ...

Note: Previous incomplete response was accidentally submitted.

Thanks Victor, that works...!!


Update app.py

@sveinarsland you need to clone this repo and make changes to your repo, not this repo :)


Next js implementation

Current Behavior
Builds new repo
Desired Behavior
Just adds the tsconfig and eslint files along with installing the correct packages without any of the build steps at that will be handled by nextjs
Suggested Solution
Just create the config files and install packages without the rest of the folders and files
Who does this impact? Who is this for?
Anyone using typescript and nextjs
Describe alternatives you've considered
I've currently done this by creating a tsdx folder running the create command then working out the full eslint files used and creating them in my nextjs repo
Additional context

Next.js has support for typescript, if you change the extension of any file to .tsx then run yarn dev it will prompt you to install typescript and then generate a tsconfig.json file for you.


Taranis sbus support

Added Taranis SBUS support for BeagleBone Blue, and fixed some issues:

SBUS protocol decoding (sbus.c).
Custom UART speeds now supported (uart_set_custom_baudrate.c).
Fixed DSM related issues (dsm.c and rc_test_dsm.c).

DSM changes not tested.
SBUS tested on X4R-SB receiver.
Bumped version number to 1.0.5 !

sorry I've been too busy to merge/test/release. I'll get to this in due course. This is a fantastic feature add and a well thought out pull request, I thank you for your hard work!


sph: fixed build issue if Silo enabled

This patch fixes the following build error, if Silo is found on the
system:
Scanning dependencies of target sph
[ 93%] Building CXX object
examples/smoothed_particle_hydrodynamics/CMakeFiles/sph.dir/main.cpp.o
/home/kurt/git/libflatarray/examples/smoothed_particle_hydrodynamics/main.cpp:3:10:
fatal error: 'silo.h' file not found
         ^
1 error generated.
*** Error code 1

Problem: the include directory for silo.h was missing. This patch adapts
the CMakeLists.txt accordingly.

d'oh. I had Silo in my default include dir, so this has never been an issue for me. Thanks!


Adds History Feature with Updated Docs

Thanks for your comments! I don't know when, but I expect I will get around to making another PR with the requested changes. By the way, it's an awesome little component. Thank you!
Summary response:

Not needed changes, will revert
The theme management is still a bit of a problem. The basic idea was that I wanted the text color to change when paging through the history. The theme is supplied to pass font coloring to the LineEdit for the command input. I need to rethink this, though I'm not happy with the current solution. That's why I hadn't written the updated docs for this part. I was actually hoping you might have some insight/ideas here.
100% Agree and will do!
The problem here has to do with the existing build-ins for the LineEdit node. The up/down arrows move the caret to the beginning/end of the line without modifiers. I struggled with a compromise here, and I settled on the shift modifier so as not to break compatibility with the node. Alternatively, I also thought that maybe up/down would be more intuitive for history if I could swap the LineEdit caret reposition to use the shift modifier instead. Still, I'm new to Godot, so I am not sure how difficult it is to change that level of functionality on a node to accomplish this. I am interested in hearing your input on this if you have any ideas/preferences. I certainly prefer what I'm used to without the shift modifier, but can live with a modifier 🤷🏻.

Hey!

Mh... Indeed, the theme system is very complex for its purpose. As people can assign a theme to the node anyway, maybe it would be easier to @export var font_color_history: Color. When the user uses the history function the console enters mode_history which sets the color as font color. And this is reverted when the users leave the history mode.
I see the problem. I read that ´_gui_input´ can overwrite the shortcuts. Also, there is a ´shortcut_enabled´ property.

I never get the ´_gui_input` function to run. I don't know haha.. I will further check this out.
The shortcut property did nothing in my tests, they still worked. Maybe they meant other shortcuts?

If you want I can offer you my help and see if I get a nice solution for 2. Regarding 4 I would say we leave it at shift + up/down and I will further investigate to find a solution for that. Ofc, if you find a way I welcome you to tell me :)

Hey how is it going? I would really like to implement the history feature :) Do you need some help?

Hey sorry for the radio silence. I'm actually closing on a house this week
so I've been pretty caught up in that process and haven't done much Godot
work. I probably won't get back to this for at least a couple of weeks; if
you want to try implementing your own version of this in the meantime, I'd
be happy to help once I get some free time again!
On Mon, Sep 23, 2024 at 4:38 AM KeilainMan @.***> wrote:

Hey how is it going? I would really like to implement the history feature
:) Do you need some help?
—
Reply to this email directly, view it on GitHub
https://github.com/KeilainMan/ConsoleAddon/pull/1#issuecomment-2367695024,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHFB2ODJQIWKO37RKAM3D3ZX7OPNAVCNFSM6AAAAABI75CIZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRXGY4TKMBSGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sounds great , good luck with that! I think I will go ahead and make the necessary changes for your request to implement your solution with the things we talked about (at least for the history) but my time is also sparse, so lets see when it will happen. :)

Thanks you for your contribution! I managed to go through the code and apply the changes we talked about. The history was added as you provided and I changed the Theme-Mechanic. You can apply a theme to the console and you can choose a highlighting color for the history. I found an interesting solution to not create new themes, but just override the coloring. Feel free to take a look into it if you are interested!
Thank you for your help! :)


Run load tests

We need to run a few load tests on the GET endpoint to make sure the app and Firestore can handle the bursts
https://cloud.google.com/run/docs/about-load-testing
https://www.digitalocean.com/community/tutorials/an-introduction-to-load-testing

https://github.com/grafana/k6


Node-Template: node_modules produces warnings

If you created a .gitignore from the node template, the following warnings are shown, when inspecting code in IntelliJ:
Warning:(4, 1) '*.log' is covered by 'node_modules'
Warning:(16, 1) 'coverage' is covered by 'node_modules'
Clearly, "*.log" is NOT covered by "node_modules", just as "coverage" isn't.

@dploeger Thank you for reporting.
If there is in node_modules directory any of the file that is matched by *.log or coverage rules - and they appear only in this directory - they are treated as "subrules" that can be reduced.
If you'll create some other *.log file outside the node_modules - this rule will notice it and will not be covered by node_modules

Sorry for the delay.
Yes, thank you. I didn't notice that.


Supporting User MSI and CMK in RS Vault CRUD Operation

…D (#1)

Supporting User Assigned Identity and CMK.

Indentation fixes

Added Examples for CRUD with CMK

Added more fields to the Operation Resource

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

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

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

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

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

Contribution checklist:

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

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

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

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

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

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

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

From ARM side, this PR looks ok but contains new properties to an existing api-version. Please follow the breaking change process and get an approval.

    "responses": {

Missing error response model here and in other updated paths.

Refers to: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaults.json:455 in 4fe5b9a. [](commit_id = 4fe5b9a5ea6a3e1e9eb7e91e85c5207323f8fda8, deletion_comment = False)

    "responses": {

Missing error response model here and in other updated paths.

Refers to: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/vaults.json:455 in 4fe5b9a. [](commit_id = 4fe5b9a5ea6a3e1e9eb7e91e85c5207323f8fda8, deletion_comment = False)

Added a few comments - please update the PR when ready.

Added a few comments - please update the PR when ready.

Hi,
In this iteration, I have incorporated the feedback by the reviewers and also made the changes in a new api-version.
I have kept the older version without any changes.
Please let me know in case of any issues

Hi,
In this iteration, I have incorporated the feedback by the reviewers and also made the changes in a new api-version.
I have kept the older version without any changes.
Please let me know in case of any issues

@filizt Can you please review this and let me know if there are any concerns around the PR

@filizt Can you please review this and let me know if there are any concerns around the PR

@filizt Can you please review this and let me know if there are any concerns around the PR

I'll take a look. Could you also mark all the checkboxes that apply to your changes on the PR?

@filizt Can you please review this and let me know if there are any concerns around the PR

I'll take a look. Could you also mark all the checkboxes that apply to your changes on the PR?

@asmaskar there is only one comment waiting (https://github.com/Azure/azure-rest-api-specs/pull/12248#discussion_r554084426). If it's addressed, we should be able to approve today.

@asmaskar there is only one comment waiting (https://github.com/Azure/azure-rest-api-specs/pull/12248#discussion_r554084426). If it's addressed, we should be able to approve today.

@filizt I have addressed the comment provided. Thanks

@filizt I have addressed the comment provided. Thanks

@xccc-msft can you please let me know if there are any more changes to be made in the pr. If it seems fine, can you please approve it

@xccc-msft can you please let me know if there are any more changes to be made in the pr. If it seems fine, can you please approve it

@asmaskar Please let me know when it's ready to merge. Thanks.

@asmaskar Please let me know when it's ready to merge. Thanks.

@xccc-msft please go ahead and merge it. Thanks

@xccc-msft please go ahead and merge it. Thanks


⚠ BeyondHD has degraded performance

In ed51230, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1833 ms

Resolved: BeyondHD performance has improved in f88cd7f.


Improve Head component

Hello! Im João(@PrazerJo). I saw this project on my feed and I was interested. Here are my 5 cents on this project. I hope I can contribute more :)
What problem the PR solves?
When reading this component, I see some problems with performance and readability. When a state is updated, the Component where this state is initialized has to render, this makes the component render two times always. How did I make resolve this? simple: You do Not Need an Effect.
What solution the PR gives?
I removed the useEffect and unnecessary state, Keep It Simple

@JoaoVictor6 Please click on "resolve" when you resolve any comment, just for us to know what you already fixed or not, thanks :)

Thank you for addressing the changes, everything good! :D

It was really cool, I hope I can contribute more :)


Coming up with a more permanant solution for accessing the TikTok API

Right now, this project is real scuffed in that I don't generate my own user session. This requires someone to tap me on the shoulder every time this site breaks, which is annoying for both parties.
My plan is to study yt-dlp's TikTok extractor in order to get everything I need.
Fixes #2.

Current lines of note:

TikTokBaseIE
https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L28
_call_api
https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L38-L84
TikTokUserIE
https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L450
TODO
https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L473-L490
_videos_entries_api
https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L492-L518

More lines of interest:

_real_extract
https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L529-L539

I have something! Now all I need to do is to shove it into my current code.
import random
import re
import string
import time
from requests import Session, Response

session = Session()
session.headers.update({})

# yt-dlp's constants
# https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/tiktok.py#L29-L35
APP_VERSION = '20.1.0'
MANIFEST_APP_VERSION = '210'
APP_NAME = 'trill'
AID = 1180
API_HOSTNAME = 'api-h2.tiktokv.com'
UPLOADER_URL_FORMAT = 'https://www.tiktok.com/@%s'
WEBPAGE_HOST = 'https://www.tiktok.com/'

# My constants
URL = WEBPAGE_HOST + "@{}"
VIDEO_URL = URL + "/video/{}"

def get_user_id(username: str) -> str:
	res = session.get(URL.format(username), headers={
			'User-Agent': 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
		}
	)
	return re.search(r'snssdk\d*://user/profile/(\d+)', res.text).group(1)

def call_api(path: str, params: dict) -> Response:
	"""
	https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L38-L84
	"""
	params = {
		**params,
		'version_name': APP_VERSION,
		'version_code': MANIFEST_APP_VERSION,
		'build_number': APP_VERSION,
		'manifest_version_code': MANIFEST_APP_VERSION,
		'update_version_code': MANIFEST_APP_VERSION,
		'openudid': ''.join(random.choice('0123456789abcdef') for _ in range(16)),
		'uuid': ''.join([random.choice(string.digits) for _ in range(16)]),
		'_rticket': int(time.time() * 1000),
		'ts': int(time.time()),
		'device_brand': 'Google',
		'device_type': 'Pixel 4',
		'device_platform': 'android',
		'resolution': '1080*1920',
		'dpi': 420,
		'os_version': '10',
		'os_api': '29',
		'carrier_region': 'US',
		'sys_region': 'US',
		'region': 'US',
		'app_name': APP_NAME,
		'app_language': 'en',
		'language': 'en',
		'timezone_name': 'America/New_York',
		'timezone_offset': '-14400',
		'channel': 'googleplay',
		'ac': 'wifi',
		'mcc_mnc': '310260',
		'is_my_cn': 0,
		'aid': AID,
		'ssmix': 'a',
		'as': 'a1qwert123',
		'cp': 'cbfhckdckkde1',
	}
	session.cookies.set(
		"odin_tt",
		''.join(random.choice('0123456789abcdef') for _ in range(160)),
		domain=API_HOSTNAME
	)
	sid_tt = session.cookies.get("sid_tt", domain=WEBPAGE_HOST)
	if sid_tt:
		session.cookies.set(
			"sid_tt",
			sid_tt,
			domain=API_HOSTNAME
		)
	return session.get(f"https://{API_HOSTNAME}/aweme/v1/{path}/",headers={
			'User-Agent': f'com.ss.android.ugc.trill/{MANIFEST_APP_VERSION} (Linux; U; Android 10; en_US; Pixel 4; Build/QQ3A.200805.001; Cronet/58.0.2991.0)',
			'Accept': 'application/json',
		},
		params=params
	)

def get_user(username: str) -> Response:
	"""
	https://github.com/yt-dlp/yt-dlp/blob/b31874334d5d68121a4a3f0d28dc1b39e5fca93b/yt_dlp/extractor/tiktok.py#L529-L539
	"""
	user_id = get_user_id(username)
	params = {
		'user_id': user_id,
		'count': 21,
		'max_cursor': 0,
		'min_cursor': 0,
		'retry_type': 'no_retry',
		# Some endpoints don't like randomized device_id, so it isn't directly set in _call_api.
		'device_id': ''.join(random.choice(string.digits) for _ in range(19)),
	}
	return call_api("aweme/post", params)

if __name__ == "__main__":
	print(get_user("emiru").json())

Thanks for this.
Please can you give me the correct url structure. I tried the below and it didnt work.
https://api-h2.tiktokv.com/aweme/v1/v09044g40000c6n1e5bc77udh7itcncg

@oluwabajio I'm a bit confused by your question. Can you back up a bit and tell me what you're trying to achieve?

Thanks for your response. I was looking at your code, but i dont really understand python.
From what i can deduce, in your call_api function, you are generating a url similar to this "https://api-h2.tiktokv.com/aweme/v1/".
Then you are then scraping your required info from the url you just generated.
So can you kindly share the full url.
For instance this tiktok video (https://www.tiktok.com/@pauldgoodguy/video/6963175937521323269) becomes https://api-h2.tiktokv.com/aweme/v1/6963175937521323269

@oluwabajio It seems you have the wrong idea. My code gets a list of videos a creator of my choosing has uploaded to TikTok. What you want is information for an individual video. You're going to have to go do research on that. I would suggest that you read the code from yt-dlp that I've linked to above, but seeing as you don't have too much experience with Python, you're on your own.

Thanks. i would check out ytldp.


no client found with id X

Hi, I have problems on IOS, when I try to reuse the socket I receive:
Error in connect() function
no client found with id X
Same code is running ok on Android. First connection works ok on IOS

@deiv23, could you please fill the issue "bug template" form?

Description
I have problems on IOS, when I try to reuse the socket I receive:
Error in connect() function
no client found with id X
Dependencies
react-native 0.61.5
react-native-tcp-socket 3.2.4
Steps to reproduce the behavior:
create a client socket.
define on error callback
write to socket.

Current behavior
if I execute the previous sequence once, all works ok
second time gives the error:
     Error in connect() function
     no client found with id X

In android works ok every time.
Expected behavior
work ok on second try

Moved to #64


Connecting to network returns unexpected data

When I use t2 wifi -n SSID -p PASS, I get output on stdout like the following:
{
	"phy": "phy0",
	"country": "00",
	"mode": "Client",
	"txpower": 20,
	"quality_max": 70,
	"hwmodes": [
		"b",
		"g",
		"n"
	],
	"hardware": {
		"name": "Generic MAC80211"
	}
}

However, the CLI seems to be waiting for a string including the string signal. This leads to the CLI falsely reporting that the connection was unsuccessful.
This may just be an issue for my T2 because I was messing with configurations for FCC testing.

Whoops, this seems to have been an issue with a misconfigured Tessel. Closing for now.


do not fail on invalid type

Currently, ExKeccak.hash_256/1 raises an exception when invalid data
is provided. This PR changes error handling logic. Now {:error, :invalid_type} will be returned if the provided data is not binary

@tzumby thanks for the awesome library. Can you please take a look at this PR when you have time?

Thanks @ayrat555, this is awesome! Approving it now but I'll cut a release tomorrow.


error while creating the environment in the Anaconda

Hi, I was trying to explore the py codes for the MATSIM calibration purpose. However, while importing the environment.yml file, the following error pops up.
ResolvePackageNotFound:

deepmerge=0.3.0
python=3.9.9

I am using Anaconda with python 3.9.12 version. Any help in this regard would be highly appreciated. Thanks

Hi, I'm still in the process of cleaning up the repository. Thanks for already testing it out.
The environment.yml is based on a recent version of Mamba from mamba-forge, maybe this makes the difference. If Python is the problem, you can just try to remove it from the environment file. The Python version should not make too much of a difference. For deepmerge, maybe just remove it from the dependencies and then install it manually with whatever version is proposed by Anaconda.

Thanks a lot for the quick response. I updated the environment's Python version with Anaconda's Python version and removed the deepmerge. Finally, Anaconda imported the environment without the error.


bug: Autoshape name must be escaped against embedded double-quotes

For some this crashes:
for shape in slide.shapes:
print("id: %s, type: %s" % (shape.shape_id, shape.shape_type))
circleShape=slide.shapes.add_shape(MSO_SHAPE.NO_SYMBOL, Cm(10), Cm(10), Cm(1), Cm(1))
Calls to MSO_SHAPES above and below this shape (i.e.  18 and 20) work fine. Strange.
Output on my machine:
File "C:\Users\monck\TrailExperiment\shapely.py", line 21, in
circleShape=slide.shapes.add_shape(19, Cm(10), Cm(10), Cm(1), Cm(1))
File "C:\Users\monck\AppData\Local\Programs\Python\Python39\lib\site-packages\pptx\shapes\shapetree.py", line 345, in add_shape
sp = self.add_sp(autoshape_type, left, top, width, height)
File "C:\Users\monck\AppData\Local\Programs\Python\Python39\lib\site-packages\pptx\shapes\shapetree.py", line 448, in add_sp
sp = self.grpSp.add_autoshape(id, name, autoshape_type.prst, x, y, cx, cy)
File "C:\Users\monck\AppData\Local\Programs\Python\Python39\lib\site-packages\pptx\oxml\shapes\groupshape.py", line 42, in add_autoshape
sp = CT_Shape.new_autoshape_sp(id, name, prst, x, y, cx, cy)
File "C:\Users\monck\AppData\Local\Programs\Python\Python39\lib\site-packages\pptx\oxml\shapes\autoshape.py", line 239, in new_autoshape_sp
sp = parse_xml(xml)
File "C:\Users\monck\AppData\Local\Programs\Python\Python39\lib\site-packages\pptx\oxml_init.py", line 40, in parse_xml
root_element = etree.fromstring(xml, oxml_parser)
File "src\lxml\etree.pyx", line 3237, in lxml.etree.fromstring
File "src\lxml\parser.pxi", line 1896, in lxml.etree._parseMemoryDocument
File "src\lxml\parser.pxi", line 1777, in lxml.etree._parseDoc
File "src\lxml\parser.pxi", line 1082, in lxml.etree._BaseParser._parseUnicodeDoc
File "src\lxml\parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 725, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 654, in lxml.etree._raiseParseError
File "", line 3
lxml.etree.XMLSyntaxError: attributes construct error, line 3, column 28

Hmm, interesting. I believe the culprit is this definition having "embedded double-quotes" in the shape name '"No" Symbol': https://github.com/scanny/python-pptx/blob/master/pptx/enum/shapes.py#L504
The fix would either be to remove the double-quotes (which appear in the "official description") or add an XML xml.sax.saxutils.escape() around this value: https://github.com/scanny/python-pptx/blob/master/pptx/shapes/autoshape.py#L241
It's possible you could monkey patch this in like so:
from xml.sax.saxutils import escape
from pptx.shapes.autoshape import AutoShapeType

def get_basename(self):
    return escape(self._basename)

setattr(AutoShapeType, 'basename', property(get_basename))

Note to self: Consider whether the escaping is more appropriate in CT_Shape.new_autoshape_sp() since that is where the XML is actually formed.

Fixed in version 0.6.22 circa Aug 20, 2023.


broken snippet in 1.46

Issue Type: Bug
x
VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.89GB (17.55GB free)

Process Argv
--file-uri file:///c%3A/src/AF4JM.code-workspace --crash-reporter-id 06338080-eec2-498d-98e0-cf3111dc1cde

Screen Reader
no

VM
0%

Extensions (105)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-icalendar
af4
1.0.1

vscode-m3u
af4
1.0.0

vscode-caniuse
aga
0.5.0

Bookmarks
ale
13.2.2

rtf
ale
2.4.0

vscode-sqlite
ale
0.14.0

swagger-viewer
Arj
3.1.2

spellright
ban
3.0.60

armview
ben
0.4.5

markdown-checkbox
bie
0.3.2

markdown-emoji
bie
0.2.1

markdown-footnotes
bie
0.0.7

markdown-mermaid
bie
1.13.1

markdown-yaml-preamble
bie
0.1.0

vscode-tldr
bmu
1.0.0

mermaid-markdown-syntax-highlighting
bpr
1.2.2

npm-intellisense
chr
1.4.0

gitignore
cod
0.7.0

disableligatures
Coe
0.0.10

vscode-markdownlint
Dav
0.46.0

jshint
dba
0.11.0

vscode-eslint
dba
2.2.2

dendron-snippet-maker
den
0.1.6

rushcore
Dev
1.0.2

rushnav
Dev
1.0.2

githistory
don
0.6.19

xml
Dot
2.5.1

escaping-characters
drp
1.0.0

vscode-babel-coloring
dza
0.0.4

gitlens
eam
11.7.0

EditorConfig
Edi
0.16.4

vscode-npm-script
eg2
0.3.24

vscode-macros
EXC
1.3.0

git-project-manager
fel
1.8.2

scriptcsRunner
fil
0.1.0

vscode-firefox-debug
fir
2.9.6

vscode-npm
fkn
3.3.0

shell-format
fox
7.2.2

macros
ged
1.2.1

matlab
Gim
2.3.1

vscode-pull-request-github
Git
0.36.0

gc-excelviewer
Gra
4.0.50

beautify
Hoo
1.5.0

vscode-favorites
how
1.10.2

rest-client
hum
0.24.6

path-autocomplete
ion
1.18.0

mediawiki
jak
2.1.0

markdown-katex
jef
0.1.4

nuget-reverse-package-search
jes
0.1.68

vscode-nuget-package-manager
jmr
1.1.6

vscode-peacock
joh
4.0.0

gpg
jva
0.1.2

docomment
k--
0.1.30

vscode-liquid-snippets
kil
2.0.3

gnuplot
mam
1.0.5

markdown-shortcuts
mdi
0.12.0

openapi-lint
mer
1.2.0

HTMLHint
mka
0.10.0

azure-pipelines
ms-
1.195.0

vscode-azureappservice
ms-
0.23.0

vscode-azurefunctions
ms-
1.6.0

vscode-azureresourcegroups
ms-
0.4.0

vscode-azurestorage
ms-
0.13.0

vscode-azurevirtualmachines
ms-
0.5.0

vscode-bicep
ms-
0.4.1124

vscode-cosmosdb
ms-
0.18.1

csharp
ms-
1.24.0

vscode-dotnet-runtime
ms-
1.5.0

python
ms-
2022.0.1786462952

vscode-pylance
ms-
2022.2.0

jupyter
ms-
2022.1.1001775990

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

vscode-ai-remote
ms-
0.7.0

remote-containers
ms-
0.217.1

remote-ssh
ms-
0.70.0

remote-ssh-edit
ms-
0.70.0

vscode-remote-extensionpack
ms-
0.21.0

azure-account
ms-
0.9.11

azurecli
ms-
0.5.0

live-server
ms-
0.2.12

mono-debug
ms-
0.16.2

powershell
ms-
2021.12.0

vscode-node-azure-pack
ms-
0.2.1

vscode-typescript-tslint-plugin
ms-
1.3.3

azurerm-vscode-tools
msa
0.15.5

debugger-for-edge
msj
1.0.15

language-liquid
nei
0.1.1

bib
phr
0.3.0

vscode-commons
red
0.0.6

vscode-yaml
red
1.4.0

kuskus-kusto-language-server
ros
1.0.20

kuskus-kusto-syntax-highlighting
ros
1.1.20

toggle-case
rya
1.0.2

vscode-hexdump
sle
1.8.1

vscode-zipexplorer
sle
0.3.1

addDocComments
ste
0.0.8

msbuild-project-tools
tin
0.4.3

shell-launcher
Tyr
0.4.1

vscodeintellicode
Vis
1.2.16

nanoid-generator
vk-
0.1.2

vscode-icons
vsc
11.8.0

JavaScriptSnippets
xab
1.8.0

t4-support
zbe
0.5.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392cf:30425750
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30433059
pythonvs932:30410667
vs360:30404995
vsrem710:30416614
vscop841cf:30430978

I have the following in my markdown.json global snippets:
    "endash": {
        "prefix": "--",
        "body": ["–$0"],
        "description": "en-dash"
    },
    "emdash": {
        "prefix": "---",
        "body": ["—$0"],
        "description": "em-dash"
    },

since updating to 1.64, the em one with 3 dashes no longer works... in the past I would get a menu asking me which of these 2 snippets I wanted to expand, but now I get a popup menu that says "no suggestions" (I don't get several spaces, it doesn't "type" the tab into the text... so it knows it's supposed to do something)
if I change the snippet prefix to === or *** it works fine, there's just something about the 3 (or more) dashes that's gone wonky in 1.64... I suspect it's a regression issue around file path completion
note: dash-dash-tab immediately expands the en snippet, as it always has

one other thing I noticed, possibly related...
in that same markdown snippets file I also have
    "ellipsis": {
        "prefix": "...",
        "body": ["…$0"],
        "description": "ellipsis"
    },

and, since 1.64 when I type a single . I get a popup menu offering me this snippet, that I have to Esc to continue
this I've worked around by changing editor.snippetSuggestions from bottom to none (but that change has had no effect on the dashes snippets)

I also have snippets in one of my folders that have "bb" and "bbb" as prefixes... I just noticed that like the dashes, the shorter one works fine, the longer one gives the empty menu instead of the 2 relevant snippets

in the past I would get a menu asking me which of these 2 snippets I wanted to expand, but now I get a popup menu that says "no suggestions

Does that mean you were using tab completion and had quick suggestions disabled, e.g suggestion don't show up when typing but hitting tab would either expand a snippet or show a picker of matching snippets?

still nothing on this bug after a month? I would really like to go back to VSCode for Markdown editing.... but with this bug it's almost impossible, because I'd have to change every snippet to have a shortcut that doesn't end with another shortcut (because with this bug, if I have snippets "bb" and "bbb" or "--" and "---", the longer ones are impossible to expand by any means until this bug is fixed, the only work-around is to switch to another editor)

I have tried the following steps based on my own interpretation

have plaintext file
have "editor.tabCompletion": "onlySnippets" and "editor.quickSuggestions": false
have two snippets with --- and -- as prefix
type -- and hit Tab -> only the first snippet expands (this was always like that)
type --- and hit Tab -> suggest shows both options

I did a little more digging, and realized it's a setting that's causing it... I still believe the setting behavior is buggy... I've opened that as a new issue (https://github.com/microsoft/vscode/issues/146585) and I'll close this one, because the title and description here are misleading, in light of the setting tie-in


GCC 8 has many warnings

GCC 8 starts to warn about any memcpy/memset/etc usage on non-POD classes.
RenderDoc appears to use this all over the place, causing a huge number of warnings.

Yup, I think it's mostly to warn about use with vtables and inheritance and that kind of stuff.


Range Number filter misses corner values.

Range number slider misses highest value(decimal values) and always shows 1 less result once we open the filter.

Provide a sample that reproduces the issue , you can use the following jsbin

Please look Jsbin. Also resetting the number filter is not working.

Its how jquery slider works, you can solve it by using the step property, and now you use yadcf to pass it for you by using the filter_plugin_options: {step: 0.01} or filter_plugin_options: {step: 0.0001} depend on your values in that column (grab the latest yadcf version.

Thanks for the solution Vedmack.
One suggestion: There are lot of great select plugins out there in the market. What I have seen in your code is that you initialize the select2 plugin and if some value changes, refresh it so that new values are reflected.
If you can allow users to set these two function then any select plugin can be used.
Currently we are using http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/ plugin.

yadcf supports chosen and select2 see docs , I did implemented the change/update inside of yadcf to ease the use of the yadcf users, just set the select_type and everything will work... you can open a new issue asking for that select plugin support or even better add it to yadcf yourself because there are already open issues and I'm lucking of a spare time recently...


⚠ Processors has degraded performance

In 2a7f9e5, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 39 ms

Resolved: Processors performance has improved in 2033816.


New logo design for the project

Hi, I want to design a new logo for the project completely free...

I'd love to be subject to the


setHttpRequestOptions not available?

I have ionic-image-loader working for retrieving images from by test server, but my production server requires a header value.  The documentation references the ability to add a header to the request:
setHttpRequestOptions(options: any)
... but I am not seeing that option with ImageLoderConfig.

I worked around the issue by implementing a http interceptor as described by matheusdavidson in issue #145.  Works fine.

@madoBaker I don't see a setHttpRequestOptions method in the latest version, 6.3.2, or anywhere in the source code - has it been renamed to setHttpHeaders?

@cocowalla correct, will update the docs. Thanks for the heads up and it takes HttpHeaders from


teams-for-linux: 1.3.13 -> 1.3.14

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for teams-for-linux is: Unofficial Microsoft Teams client for Linux
meta.homepage for teams-for-linux is: https://github.com/IsmaelMartinez/teams-for-linux
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.14 with grep in /nix/store/9l9njv05k8ak886yw5b78h2i5pgg3gbc-teams-for-linux-1.3.14
found 1.3.14 in filename of file in /nix/store/9l9njv05k8ak886yw5b78h2i5pgg3gbc-teams-for-linux-1.3.14

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
teams-for-linux

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9l9njv05k8ak886yw5b78h2i5pgg3gbc-teams-for-linux-1.3.14 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/e649717238d2787f9b56d262a140b44c92fee1d2#teams-for-linux

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9l9njv05k8ak886yw5b78h2i5pgg3gbc-teams-for-linux-1.3.14
ls -la /nix/store/9l9njv05k8ak886yw5b78h2i5pgg3gbc-teams-for-linux-1.3.14/bin

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

1 package built:

teams-for-linux

Maintainer pings
cc @muscaln @lilyinstarlight @qjoly for testing.

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

1 package built:

teams-for-linux


Trying to use this repository on scriptr.io, but receiving syntax error in plug.js when attempting to import it

I'm trying create a personal api for my home automation that includes this api, but I'm having trouble getting it setup. I'm using Scriptr.io and they have a setting that allows you to install a module directly from my github. When I do this I receive two errors:
error: modules/tplink/client.js missing ; before statement (modules/tplink/client.js#14)
error: modules/tplink/plug.js syntax error (modules/tplink/plug.js#23)

the utils.js file seems to import fine, but client.js & plug.js don't due to the above errors. I have not changed any code since forking the project off of you. What could I be doing wrong?

I'm not familiar with Scriptr.io, but what versions of node is the code running on? Also your repo is in violation of the license by removing the LICENSE file.

Sorry about that, didn't mean to violate anything. I only removed it because I tried to import the modules it gave an error with those other docs. I've deleted my repository and re-forked so that the licensing information is there again. Again, didn't mean any disrespect. I'm not sure how to answer your question about version of node.js. All I know is scriptr.io code is javascript. Maybe I have to import some library?

No worries about the LICENSE. I took a quick look at the Scriptr.io documentation and they don't mention Node at all. They may be using a proprietary JS engine, and one that doesn't support the Class syntax added with ES2015. You are welcome to try rewriting to use the older syntax, or asking Scriptr to add support for this.

I'm not really sure how the two differ, how would I modify the bits that use the class syntax in order for the older proprietary JS engine to support the code? Could you give me an example that I could possibly get an idea from please?

Ok, so I was able to convert everything. The last issue seems to be the lack of the dgram library in the proprietary JS engine. Is there perhaps an alternative library that normal JS has?

I really don't think scriptr.io is going to work out for this. This hs100-api requires to be running on your local LAN. And whatever server scriptr.io is running won't be able to contact the hs100 devices. I don't even see any info on opening a socket using scriptr.io.

Oh, bummer :/ I'll have to try and figure out another way then. Ideally I'd
like to create a personal api online and open up the port on my router (I
know, security risk) if that's what it would take to be able to use the api
somehow. I'm guessing the way you created it is meant be run off a server
or RaspPi?
On Wed, Nov 30, 2016 at 3:57 PM, Patrick Seal<EMAIL_ADDRESS>wrote:

I really don't think scriptr.io is going to work out for this. This
hs100-api requires to be running on your local LAN. And whatever server
scriptr.io is running won't be able to contact the hs100 devices. I don't
even see any info on opening a socket using scriptr.io.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/plasticrake/hs100-api/issues/5#issuecomment-263992989,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVICPnihoqdfd25jZfujGe1o0FAd9HEjks5rDeMqgaJpZM4K--MX
.

Correct, its meant to be running on a Node server.


"Oops; flutter has exited unexpectedly."

Hello,
After run flutter doctor -v, the results is this :
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Doctor summary (to see all details, run flutter doctor -v):

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report. Server responded with HTTP status code 400
Crash report written to /Users/arthurfontaine/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

flutter_01.log
I make a flutter upgrade before.
Can you help me ?

Sounds like https://apple.stackexchange.com/questions/254380/macos-mojave-invalid-active-developer-path

Could you make progress?


Include elastic search dashboards

Could you include the exports of your elasticsearch dashboards from the example in the repo ?  That would probably help users get going quicker.  Thanks !

@johntdyer with the new Kibana you can't export it.  Not unless I am missing something :(


901 Update donations edit to use new theme

Resolves #901
Description

Upgrading the bootstrap theme to use a bootstrap 4 template. I've gone in and made changes to the donations/edit.html.erb so that they are Bootstrap 4 compliant.
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Ran bundle exec rspec with 0 failures!
Screenshots

@armahillo - This PR should be good to go!

Hey @ejuten I think you may have a missing (or extra) div in there somewhere! It looks like you're only using half the page.

I think you need to also edit the form partial that the edit page is using.


finetuning for a specific language

I'm pretty novice in the llm space, but found that X-ALMA provides good translation and has the potential for translating subtitles as it is based on llama2, so it understand the context better. I was wondering if there is a way to fine-tune the model for English to Arabic translation, I have a good dataset of high-quality parallel subtitles (Approx. 350 thousands rows), and was looking for a way to fine-tune the model for English to Arabic and vice-versa.
I was also wondering about the improvement in quality or possibility of using a newer llm (e.g. llama3.1). Is this possible? Are the training data available to try this out?

Thanks for asking! I guess now you can find answers in the XALMA paper :)


typo in the train_alpaca.py?

Line 219, the single quote mark is a typo?

It should be a typo error


Vertical orientation on tabs doesn't work

When I try to create a vertical tab for my sidebar, it keeps horizontal, I tried even copypasting the example code in documentation
https://github.com/joaquincardosorios/jcardoso_website/blob/main/jcardoso/views/sidebar.py
Here is my code where I try to get vertical tabs

Python Version:  3.10.12
Reflex Version: 0.4.9
Browser (Optional): Chrome

@joaquincardosorios We recently merged a PR #3332 and should be available in the next release coming soon. You can test it out with pip install reflex==0.5.2a1 to see if it solves your issue.

It works! Thank you so much


Error updating PHP docker image

grpc_update_image php

Things run fine until
Step 10 : RUN cd /var/local/git/grpc/src/php && ./bin/run_tests.sh
 ---> Running in c7fa3a4362eb
PHP Warning:  PHP Startup: Unable to load dynamic library '../ext/grpc/grpc.so' - ../ext/grpc/grpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHPUnit 4.6.6 by Sebastian Bergmann and contributors.

Deprecated option "--strict" used

PHP Fatal error:  Class 'Grpc\Server' not found in /var/local/git/grpc/src/php/tests/unit_tests/CallTest.php on line 39
2015/05/13 22:03:23 The command [/bin/sh -c cd /var/local/git/grpc/src/php && ./bin/run_tests.sh] returned a non-zero code: 255
grpc_dockerfile_install:: build of grpc/php <- /var/local/dockerfile/grpc_php
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [1].
stanleycheung@gummybear:~/grpc$

php image build seems to have failed since 2 days ago
stanleycheung@grpc-docker-testclients:~$ sudo docker images | grep php
<IP_ADDRESS>:5000/grpc/php_base           latest              6edbc3e7448e        2 days ago          1.559 GB
grpc/php_base                        latest              6edbc3e7448e        2 days ago          1.559 GB
<IP_ADDRESS>:5000/grpc/php                latest              76ef2c26de8b        2 days ago          1.45 GB
grpc/php                             latest              76ef2c26de8b        2 days ago          1.45 GB

Michael said, "I suspect that this is caused by how the run_tests.sh script is written. It currently looks for the file in a different place depending on the version of PHP. The location you mentioned corresponds to PHP 5.6, so my guess is that an update to PHP 5.6 changed where it puts that file."
The last success build of the grpc/php image is running PHP 5.5
stanleycheung@grpc-docker-testclients:~$ sudo docker run grpc/php bin/bash -l -c 'cd /var/local/git/grpc/src/php && php --version'
stdin: is not a tty
PHP 5.5.23-1~dotdeb.2 (cli) (built: Mar 26 2015 02:24:24)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
stanleycheung@grpc-docker-testclients:~$

But, the last success build of the grpc/php_base image is running PHP 5.6!
stanleycheung@grpc-docker-testclients:~$ sudo docker run grpc/php_base bin/bash -l -c 'php --version'
stdin: is not a tty
PHP 5.6.7-1 (cli) (built: Mar 24 2015 12:30:15)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies

I wonder why, we explicitly have these lines in grpc_php_base/Dockerfile
RUN echo "deb http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list
RUN echo "deb-src http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.li\
st
RUN wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add -

I tested that and it only installs PHP 5.5

I can reproduce the error in a fresh PHP 5.6 install. Looks like the grpc.so module is still found in the ext/grpc/modules directory for PHP 5.6
so this line in the Dockerfile may be unnecessary
module_dir=`php --version | grep -q 'PHP 5.6' && echo '../ext/grpc' || echo '../ext/grpc/modules'`

Can you confirm that replacing that line with module_dir=../ext/grpc/modules makes the script work under 5.6? If so, I think you should send a pull request with that change in that file and the other test running scripts.

Yes I confirmed that if I do module_dir=../ext/grpc/modules in PHP 5.6 the run_tests.sh script just works

I run grpc_update_image php_base but the result is the same. the grpc/php_base image still got PHP 5.6 despite
stanleycheung@grpc-docker-testclients:~$ sudo docker run grpc/php_base bin/bash -l -c 'cat /etc/apt/sources.list.d/dotdeb.list'
stdin: is not a tty
deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all
stanleycheung@grpc-docker-testclients:~$

stanleycheung@grpc-docker-testclients:~$ sudo docker run grpc/php_base bin/bash -l -c 'php --version'
stdin: is not a tty
PHP 5.6.7-1 (cli) (built: Mar 24 2015 12:30:15)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
stanleycheung@grpc-docker-testclients:~$

Summary: 2 issues discovered

for some still unknown reason, our grpc/php_base docker image got PHP 5.6 installed despite the dockerfile explicitly asks for PHP 5.5 to be installed. I cannot reproduce this issue, i.e. by following the dockerfile exactly in a fresh VM, I got PHP 5.5 installed.
for some unknown reason, the location where the grpc php extension is built has changed from ext/grpc/grpc.so to ext/grpc/modules/grpc.so, which is in line with previous PHP version. So we are going to update the run_tests.sh script to reflect that change

For issue 1, I think the mismatch is probably because debian:wheezy vs debian:jessie. The latter by default installs PHP 5.6.
This is no longer an issue.


is there any possibility of adding backdropPressToClose for modal in future?

@facebook-github-bot feature

Hey @sasikg! Thanks for opening the issue, however it looks like a feature request. As noted in the Issue template we'd like to use the GitHub issues to track bugs only. Can you implement the feature as a standalone npm module? If not consider sending a pull request or a create an entry on Product Pains. It has a voting system and if the feature gets upvoted enough it might get implemented. Closing this now, thanks for understanding!


Fix baseURL in hugo, default to 2.12.1

Fixes the baseURL in hugo for Travis deployments, which will correct
the pager error that @zarthross identified.
Uses sbt-travisci plugin to do it
As a result, our build defaults to 2.12.1 now. This is good, as long
as we're not relying on anything deprecated.

Cowboy merging because the site is broken.  If anyone doesn't like the side effects, I welcome further discussion here.


I am trying to add gaps between windows, getting errors.

I followed the instructions given on the website and modified my workspacer.config.csx accordingly. But I am getting some errors.
Microsoft.CodeAnalysis.Scripting.CompilationErrorException: (5,1): error CS0006: Metadata file 'C:\Program Files\workspacer\plugins\workspacer.Gap\workspacer.Gap.dll' could not be found    at Microsoft.CodeAnalysis.Scripting.ScriptBuilder.ThrowIfAnyCompilationErrors(DiagnosticBag diagnostics, DiagnosticFormatter formatter)    at Microsoft.CodeAnalysis.Scripting.ScriptBuilder.CreateExecutor[T](ScriptCompiler compiler, Compilation compilation, Boolean emitDebugInformation, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.Scripting.Script 1.GetExecutor(CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.Scripting.Script 1.RunAsync(Object globals, Func 2 catchException, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.Scripting.Script 1.RunAsync(Object globals, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.CSharp.Scripting.CSharpScript.RunAsync[T](String code, ScriptOptions options, Object globals, Type globalsType, CancellationToken cancellationToken)    at Microsoft.CodeAnalysis.CSharp.Scripting.CSharpScript.EvaluateAsync[T](String code, ScriptOptions options, Object globals, Type globalsType, CancellationToken cancellationToken)    at workspacer.ConfigHelper.DoConfig(IConfigContext context)    at workspacer.workspacer.Start()    at workspacer.Program.Run()    at workspacer.Program.Main(String[] args)
Please help.

Are you talking about this example? https://workspacer.org/config/#gaps
If so, the error clearly states that the file C:\Program Files\workspacer\plugins\workspacer.Gap\workspacer.Gap.dll could not be found.
Have you checked if it's actually there? Maybe you installed to another path and need to adjust the path in the first line? :smile:

I have the same problem.
How can I get the workspacer.Gap.dll file?

I believe gaps is only available to the unstable branch. Are you using the unstable branch?


When will the next gem release be?

I've been pegged to master for a while.

It will be very soon, but one release-blocker is left:

[ ] #2474

@mshibuya Now that #2474 is resolved, are we ready to make a new release or are there some other issues you’d like to address first?

I'm now woking on another fix(which addresses #2467's scenario 1), so please give me a little time to finish it.

v0.8.0 has beed released! https://github.com/sferik/rails_admin/commit/4a7dfe908ac5c427f802b82ab9e6f90cb5d48947 :fireworks:

Done! :shipit:


Dump kubeproxy and globalnet logs in post_mortem

We are seeing some occasional failures in globalnet jobs and need the
logs of kube-proxy and globalnet pods to understand the reasons for
failure. In a separate PR we can enhance the post-mortem function to
capture the required logs.
Signed-off-by: Sridhar Gaddam<EMAIL_ADDRESS>

@mangelajo @skitt @mkolesnik Need this PR to understand the random globalnet failures, can you please merge this. Thanks.


pcb problem

hello I'm trying to make the pcb from pcbway because there is some big shortages on jlcpcb and they ask me that :
Hello Dear,
Thanks for your inquiry on PCBWay, this is Lynne.
As shown in attached screenshot.

The spacing between IC pins in circle is smaller than 0.22mm, cannot make soldermask bridge.
Could you accept to proceed without bridge?
Highly suggested to change the soldermask color from black to green/blue/red to make out the bridges,
in order to prevent solder paste connected cause the short circuit during assembly, is that ok for you? If yes, pls advise the new color option.
Or do you prefer to retain the current design and soldermask color, put this order to our high-quality factory to make out the soldermask bridge? If yes, price and build time both will increase, kindly noted that.

Some vias be designed on the SMD pads, pls advise if proceed with via-in-pad process?
If yes, this service is chargeable (over $100usd) and vias are to be non-conductive epoxy filled, plated over with copper and planarized.
If not, in order to guarantee assembly quality, it's suggested you can update design, move vias away from SMD pads and attach the new gerber files by email.
Looking forward to your reply.

what should I reply ?
Your  work is insane btw

yassine

That means the manufacture can not make the soldermask in between the pads, either you accept and take the risk of soldering short happening at those areas or you ask them to use a better PCB process that has higher cost.
Yes, you will need via-in-pad


Passing the id

I am using this for the first time and I was wondering if you are passing id attributes into the DOM. If you are and I am totally blind, please disregard and delete this post with my humblest of apologies. Great tool by the way!!

Nevermind on this one .. they use an array key number instead .. sorry about that.


Update error message when manifest file has syntax errors

Updated error message when manifest file has syntax errors

Closing this and opening a new one as the commits in my branch are not showing up here after the github outage


Troll room

Please remove the anti-build in the troll boss room.

Because of the amount of stuff there that can be taken, the anti builders have to stay.  This is one of the reasons there are mentions about making sure you are geared up and prepared for the fight before going in.  An alternative is to turn on keep inventory to avoid that issue.

You should mention the potential for losing your items then, because most boss fights in any game will say something like "make sure you are geared up before going in".  It's a pretty general statement to make in a game.  Also, I don't think keep inventory works with gravestone installed.

It does, several people have videos where they have turned it on, and there are mentions in the text about making sure your ready

"Make sure you are ready" does not mean "Gravestone does not work in this fight."  Period.