[YouTube] Infinite loop when downloading channels

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2<IP_ADDRESS>. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[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
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Description
When trying to download whole YouTube channels, yt-dlp goes into an infinite loop if it has to load more than one page. It was working yesterday, so there might have been some change on their end. I've got the same problem in Termux on Android, so it can't just be a Windows issue.
This happens for example with jacksfilms (1398 videos), Danny Gonzalez (244), and Daniel Thrasher (167). The cut-off seems to be at 50, since Michael Reeves with 47 videos works, while Primink with 50 doesn't.
I didn't find anything similar here. I did find this issue about youtube-dl from April, but it seems to concern playlists and lists an example that doesn't pose problems on my end.
Verbose log
yt-dlp -Uv https://www.youtube.com/user/jacksfilms/videos
[debug] Command-line config: ['-Uv', 'https://www.youtube.com/user/jacksfilms/videos']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2<IP_ADDRESS>
[debug] Python version 3.9.6 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 2021-08-18-git-dbe40478e2-full_build-www.gyan.dev (setts), ffprobe 2021-08-18-git-dbe40478e2-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
yt-dlp is up to date (2<IP_ADDRESS>)
[debug] [youtube:tab] Extracting URL: https://www.youtube.com/user/jacksfilms/videos
[youtube:tab] jacksfilms: Downloading webpage
[debug] [youtube:tab] Final URL: https://www.youtube.com/user/jacksfilms/videos
[download] Downloading playlist: jacksfilms - Videos
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 1: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 2: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 3: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 4: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 5: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 6: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 7: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 8: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 9: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 10: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 11: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 12: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 13: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 14: Downloading API JSON
...
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 380: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 381: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 382: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 383: Downloading API JSON
[youtube:tab] UCPcFg7aBbaVzXoIKSNqwaww page 384: Downloading API JSON

ERROR: Interrupted by user

Someone bet you to it: https://github.com/yt-dlp/yt-dlp/issues/1611
Issue with YouTube as far as we are aware rn.


Invisible Recaptcha widget wasting traffic

Today, I was doing performance report for one of our sites and I found out that recaptcha is for some strange reason reloading FontAwesome files. It's 87kB of wasted traffic. Do you know why this might be happening?
Another thing is loading of the Roboto font, which is completely unnecessary in our case since we are already loading this font. Is there a way to block these requests? (I didn't find a real solution anywhere, just questions answered with more questions...).
Thank you

Another huge waste of resources...it is 260kB more than should be...

Another huge waste of resources...it is 260kB more than should be...

Any solution?

@ThodorisElissaios I have not found a solution for now. I even tried loading reCaptcha on-demand only when it's needed, but with no luck. It just either didn't work at all, or the tests were failing all the time.
It looks like reCaptcha is entirely made by interns with no QA. So many issues with it. Does not meet contrast requirements and basically all of the accessibility requirements are missing. Performance is absolutely terrible too.


biber-linux_aarch64: providing a regular contribution

Not strictly an issue, but a proposal: Up until now, there has been no regular version of biber for the linux_aarch64 platform. This platform is becoming more and more relevant for people running Linux on their Raspberry Pis or in virtual machines on their Apple Silicon Macs.
Some time ago, @sbrass provided a first aarch64 build based on the containerized build pipeline that was originally developed for linux-musl. Now @sbrass and myself have agreed to collaborate on providing a regular build for linux_aarch64. The build pipeline is in place and we have produced builds of both the v2.19 tag and the current dev branch.
If you're willing to accept this contribution, how do we proceed?
Our resulting biber-linux.tar.gz file contains the structure required for CTAN, albeit only the aarch64 build. My approach would be to upload an update and let the fine people at CTAN know that this upload supplements the files that are already there.
For uploads at SourceForge, we'd add the aarch64 build to the /current/binaries/Linux directory, assuming that my privileges for the Linux-musl directory also apply to the Linux directory.
We might have to submit some changes to the build script in /dist before the next release, so kindly let us know some days in advance before you tag the v2.20 release.

Does this answer some of the questions?:
https://github.com/plk/biber/blob/dev/BUILDERS.README

It took sometime to get things sorted on our end. I've uploaded the v2.19 build to both the current and development directories on Sourceforge. I've also submitted the build to CTAN and asked them to put it in the same directory as the regular Linux build. Let's see if it turns up there in the next days.

Finally, biber for Linux on aarch64 is deployed both to SourceForge and to CTAN. @plk please take a look at the message from the CTAN folks that received as cc. I took the liberty to follow Petra's suggestion with the biber-linux-aarch64 platform name. I hope this works for the people at TeX Live.

2.20 is now released


[5.9] [ClangImporter] Query Preprocessor::macros instead of getPreprocessingRecord for header printing

5.9 cherry-pick of https://github.com/apple/swift/pull/65868

Explanation: Fixes Clang header printing such that it includes defined macros in the header
Scope: Affects Clang header printing
Issue: rdar://102151774
Risk: Low, only affects header printing, and the logic is similar to what the Clang Importer normally does.
Testing: Re-enabled previously failing test in test suite
Reviewer: Ben Barham

@swift-ci please test

@swift-ci please test


Question: Try this operation

Native Swagger implementation has a handy feature called "Try this operation" that allows users to interact with API by sending test requests directly from the documentation page.
Are there any plans of implementing something similar in ReDoc?

Hey @bandantonio,
yes, we have this on our roadmap. It is tracked in https://github.com/Rebilly/ReDoc/issues/53

Try redoc-try, use swagger Try it out in redoc project.


[Imporve][Master] Refine the doselect annotation of the distributionpolicy

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.70%.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #16149      +/-   ##
============================================
- Coverage     40.71%   40.70%   -0.01%
+ Complexity     5247     5246       -1
============================================
  Files          1385     1385
  Lines         46109    46076      -33
  Branches       4923     4899      -24
============================================
- Hits          18772    18754      -18
+ Misses        25412    25396      -16
- Partials       1925     1926       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@SbloodyS @ruanwenjun Thank you for your review


HP EVA-Zabbix-Integration

Can try is it possible to alter the script for the SMI-s is located on the command view HP Eva device?

No, only VNX is supported

No, only VNX is supported


Syntax highlighting for Sublime Text

I heavily use SQL-Template-Strings in my code and the lack of SQL syntax highlighting bothered me.
I created a sublime-syntax derived from the default Sublime JS syntax that allow SQL highlighting.

You can find it here: javascript-sql-sublime-syntax

Want to add this to the readme?

Sorry for the delay but feel free to do it !


pkg/trace/{api,otlp,sampler}: enable priority sampling for OTLP Ingest

This change ensures that the priority sampler rates are used in OTLP as well, following user-set TPS rates, such as DD_APM_MAX_TPS, DD_APM_ERROR_TPS, etc. just like the Datadog tracing libraries.

Since this solution is not acceptable because some chunks might be dropped as opposed to others, resulting in incomplete distributed traces, I'm closing this PR.


Help me add the Linux and MacOS implementations

This project currently only works on Windows, but I want to add support for other systems too.
Kindly add a different file for other systems.

Check out this package for Linux that already has most (all?) of the features you're looking for
Variety

Does it have a python package so that I can use it in my own project?

@davistardif i think he's looking for help to implement much of the same functionality variety has for his daily-wallpaper

Yes @davistardif that's exactly what I need help for, since I do not have a Linux or MacOS system with me, so I Can't implement and check them myself.


Update hover state of checkboxes and radio buttons

The Design Manual Spec calls for a 2px border on checkboxes and radio buttons. It was only displaying as 1px.
Changes

Fixed checkbox/radio borders on hover

Testing

Follow the instructions to test the CF Docs
Navigate to http://localhost:3000/components/cf-forms/#basic-checkboxes

Review

@Scotchester
@anselmbradford
@nataliafitzgerald

Screenshots

Notes

Don't deploy this until the auto-doc script is tested locally.

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

@jimmynotjim - The screenshots look correct!

@nataliafitzgerald thanks, I'll try and have this deployed on the Design Manual by the end of the week.

Follow up to the above: the radio button border changes from grey to blue on hover, like the checkbox, but the border is staying at 1px, which seems like not what it should be doing?

D'oh. @anselmbradford exposes my delinquency. I just looked at the code changes. I will test this today.

@anselmbradford Thanks for catching that. Looks like there's a &:hover:checked combo I overlooked.

@anselmbradford @Scotchester fixed.

Actually tested it this time; works great!


maven plugin info

Can you please update "usage" section in case running the latest maven plugin?

com.sksamuel.scapegoat
scalac-scapegoat-plugin_2.11
0.94.5

Thanks!

@sksamuel any updates on this? Do you need help with maven plugin?

Yes please, clearly when I said ASAP I really meant 3 years :)


False negative when validating XoneConstraintComponent

shapes graph
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix schema: <http://schema.org/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <http://example.com/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dash: <http://datashapes.org/dash#> .

ex:PersonShape
  a sh:Shape ;
  sh:targetClass schema:Person ;
  rdfs:label "Person" ;
  sh:xone (
    [
      rdfs:label "Full name" ;
      sh:property [
        sh:name "Full name" ;
        sh:path ex:fullName ;
        # sh:minCount 1 ;
        sh:maxCount 1 ;
      ]
    ]
    [
      rdfs:label "First & last name" ;
      sh:property [
        sh:name "First name";
        sh:path ex:firstName ;
        # sh:minCount 1 ;
        sh:maxCount 1 ;
      ] ,
      [
        sh:name "Last name" ;
        sh:path ex:lastName ;
        # sh:minCount 1 ;
        sh:maxCount 1 ;
      ]
    ]
  ) ;
.

data graph
{
  "@context": {
    "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "schema": "http://schema.org/",
    "foaf": "http://xmlns.com/foaf/0.1/",
    "vcard": "http://www.w3.org/2006/vcard/ns#"
  },
  "@id": "http://example.com/John_Doe",
  "@type": "schema:Person",
  "http://example.com/fullName": "John Doe"
}

expected behaviour
The data should be valid.
actual behaviour
A violation is reported by sh:XoneConstraintComponent. It goes away when sh:minCount is uncommented
other
See this reply by @HolgerKnublauch and this exact example in Shaperone playground

Oh wait, maybe this is correct after all. 🤦
This is exactly what Holger wrote

Having no sh:minCount means that both branches will always be satisfied

which is exactly the Xone violation

Can I close this?


Broken disabled button styles

When in a disabled state, hover etc interactions with the button should be disabled.
Perhaps introduced in 7d75f4a ?
https://github.com/leather-wallet/extension/assets/1618764/673adbac-f5da-4caa-8fa3-e47e955b59b9

@fbwoolf can you take this on?


update_2020_12_18

This PR adds the latest update (release note) to the service.

Closing as merged in other PR


Replacing e with ( ? ... : e) changes image dramatically

[Shaders, screenshots, error log, reproduction steps, etc.] [ZIP]
This fragment shader:
https://github.com/mc-imperial/shader-compiler-bugs/blob/master/ARM-Mali-T628-Chromebook-WebGL/wrong_images/small-v100-webgl-804943b2b630b741_inv_variant_4/original.frag
leads to this image being rendered on one of our Intel GPUs, and a visually identical image being rendered on other GPUs we have tested:

On the Chromebook, using WebGL, the following image is rendered instead:

This fragment shader:
https://github.com/mc-imperial/shader-compiler-bugs/blob/master/ARM-Mali-T628-Chromebook-WebGL/wrong_images/small-v100-webgl-804943b2b630b741_inv_variant_4/variant.frag
is identical to the original fragment shader, except that a reference to variable k has been changed to (injectionSwitch.x > injectionSwitch.y ? 1.0 : k).  This should have no effect on rendering if we set injectionSwitch to the vector (0.0, 1.0), because the condition in the ternary will evaluate to false.
When we set injectionSwitch to this value and render on Mali using the modified shader, we get this image:

which is visually identical to the image that we see rendered on other GPUs we tried.
We speculate that a compiler bug is being triggered when the original shader is used for rendering, and that our modification somehow masks the compiler bug.

Reported to ARM here:
https://community.arm.com/message/39845

Closing this issue as, like #26, ARM reported it to be independently fixed.


Crash when trying to format a single-lambda argument invocation with a trailing comma

foo({ it },)    // Bad
foo({ it })     // Ok
foo(0, { it },) // Ok

produces this error:
error: expected token: ','; generated ) instead

Nice catch. I have a fix, but I'm not sure how would we like it formatted.
For now this will be foo({ it },) which is weird.

I guess it should be
foo(
    { it },
)

But it looks strange having a lambda inside parenthesis without using named params, the linter even suggests changing it. But not sure if ktfmt should force formatting so
foo { it }

Fixed by https://github.com/facebookincubator/ktfmt/commit/5e0054a16011e4e24d0892d2583461f94a6fbbb8


Pass key_identifier instead of just the key_id to _decode_jwt.

Signed-off-by: David Black<EMAIL_ADDRESS>

cc @Fedorof


If I had to guess, I'd say this is related to https://github.com/crystal-lang/crystal/issues/11231 in that Crystal bindings weren't updated to handle this context.


SSD mobilenet v2 trained using OD API can't run on Raspberry pi

1. System information

OS Platform and Distribution: Raspbian Bullseye
TensorFlow installation :
pip package, 2.8.0 for conversion
training tensorflow-gpu 1.15.0
tflite-runtime 2.10.0

2. Code
import tflite_runtime.interpreter as tflite
interpreter = tflite.Interpreter(model_path,num_threads=4)
interpreter.resize_tensor_input(0,[1,300,300,3])
interpreter.allocate_tensors()
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

3. Failure after conversion
If the conversion is successful, but the generated model is wrong, then state what is wrong:

Model works using tensoflow 2.8.0 on my laptop using intel i5
Model doesn't work on the raspberry pi using tflite-runtime

when running
import tensorflow as tf
converter = tf.lite.TFLiteConverter.from_saved_model('saved_model/')
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.experimental_new_converter = True

output
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
2022-09-23 15:07:39.557389: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:357] Ignored output_format.
2022-09-23 15:07:39.557422: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:360] Ignored drop_control_dependency.
2022-09-23 15:07:39.558537: I tensorflow/cc/saved_model/reader.cc:43] Reading SavedModel from: saved_model/saved_model/
2022-09-23 15:07:39.572864: I tensorflow/cc/saved_model/reader.cc:78] Reading meta graph with tags { serve }
2022-09-23 15:07:39.572909: I tensorflow/cc/saved_model/reader.cc:119] Reading SavedModel debug info (if present) from: saved_model/saved_model/
2022-09-23 15:07:39.627548: I tensorflow/cc/saved_model/loader.cc:301] SavedModel load for tags { serve }; Status: success: OK. Took 69018 microseconds.
2022-09-23 15:07:39.809761: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:237] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable.
loc(fused["TensorArrayV3:", "Preprocessor/map/TensorArray"]): error: 'tf.TensorArrayV3' op is neither a custom op nor a flex op
loc(fused["TensorArrayV3:", "Preprocessor/map/TensorArray_1"]): error: 'tf.TensorArrayV3' op is neither a custom op nor a flex op
.
.
.
.
	tf.TensorArrayWriteV3(tensor<2x!tf_type.resource<tensor<*xf32>>>, tensor<i32>, tensor<?xf32>, tensor<f32>) -> (tensor<f32>) : {_class = ["loc:@Postprocessor/BatchMultiClassNonMaxSuppression/map/while/PadOrClipBoxList/Pad_1"], device = ""}
	tf.TensorArrayWriteV3(tensor<2x!tf_type.resource<tensor<*xf32>>>, tensor<i32>, tensor<?xf32>, tensor<f32>) -> (tensor<f32>) : {_class = ["loc:@Postprocessor/BatchMultiClassNonMaxSuppression/map/while/PadOrClipBoxList/Pad_5"], device = ""}
	tf.TensorArrayWriteV3(tensor<2x!tf_type.resource<tensor<*xi32>>>, tensor<i32>, tensor<3xi32>, tensor<f32>) -> (tensor<f32>) : {_class = ["loc:@Preprocessor/map/while/ResizeImage/stack_1"], device = ""}
	tf.TensorArrayWriteV3(tensor<2x!tf_type.resource<tensor<*xi32>>>, tensor<i32>, tensor<i32>, tensor<f32>) -> (tensor<f32>) : {_class = ["loc:@Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/Select_11"], device = ""}

(ps : output was loo long)
when using converter.allow_custom_ops = True
the conversion works on tensorflow but not on tflite-runtime
the question is:
why a model provided by google not work on tflite-runtime ?
I have tested many ssd mobilenet v2 tflite files on the raspberry pi and they work, and they are really good. But when trying to train them on custom dataset and follow the guide provided by Google, they just don't work.
I can't use tensorflow on the raspberry pi !!!
appreciate any help !
Thanks

Hi @UcefMountacer !
Select Ops feature is still not there in tflite-run time . You have to shadow clone ( upto last 3 stable branches) and use  2.9/2.10 branch to use select ops functionality.
Can you also  check the raspberry pi wheels from Pintoo  and let us know the results too.

Hello @mohantym
Thanks for your answer. The issue is indeed in tflite-runtime, because when I installed a tensorflow wheel on the rpi and it works. the loading time is an issue though.

You have to shadow clone ( upto last 3 stable branches) and use 2.9/2.10 branch to use select ops functionality.

sorry, I didn't understand this part.
Also, I will check the wheel from pintoo, thanks a lot for your help.

Ok @UcefMountacer !
I was suggesting to pull only the latest 2-3 commits(instead of cloning all branches) through the below command. It will save some space that way in your raspberry pi.
git clone --depth -3  https://github.com/tensorflow/tensorflow
Please let us know after testing with flex delegate wheels from Pinto.
Thank you!

I was suggesting to pull only the latest 2-3 commits(instead of cloning all branches) through the below command. It will save some space that way in your raspberry pi.

Okey, I get it, thanks. But I installed using a wheel file, because I had to find the right installation for my python version. But thanks for the point.
I'll test it and let you guys know on this thread if it worked or not.
Just some additionnal infos :

@UcefMountacer !
Input size is 300x300 for SSD Mobilenet v2 , Could you point me towards the SSD mobilenet v2 documentation .
Thank you!

@mohantym
it's the ssd_mobilenet_v2_coco_2018_03_29
http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v2_coco_2018_03_29.tar.gz

@UcefMountacer !
If you have trained the model in TF 1.x version, You can use compat.v1 model in 2.x use the features from 1.x through below command. ( but results will much better if you can write the code  again in 2.x ).
import tf.compat.v1 as tf
tf.disable_v2_behavior()

Can we consider this as resolved then (Did the flex delegate wheels for your Pi?)
Thank you!

Great to know @mohantym . I'll test those. I haven't tried yet the wheel files from Pintoo, can you guys leave this issue open? I'll do it ASAP and update you !
Thanks.

Sure @UcefMountacer !
Please share your results once you have tested .
Thank you!

Hello @mohantym
I have a question. I don't have the Pinto wheel test result yet, but I have a serious question.
How come the model downloaded from tf2 model zoo can be converted to int8, while using the same code on this model but trained on custom dataset fails.
I am really interested in knowing this. Thanks

@UcefMountacer !
Could you share the error stack trace for above issue with representative dataset.
Thank you!

@mohantym
sorry I forgot to follow up, but that issue was solved by setting the representative dataset generator output to float32
Regarding tflite-runtime wheel, I found that using export_tflite_graph_tf2.py function generates a saved model that can be converted to tlite and used without issues with tflite-runtime (installed using pip).

Are you satisfied with the resolution of your issue?
Yes
No

@UcefMountacer Can you give the steps on how you resolve the issue of flex delegate with tflite-runtime(rpi), as I am also having the same issue for my custom ssd mobilenet model, it will be a great help for me.


Folder Template?

Folder template?
          (__)
          (@o)
   /-------\/
  / |     ||
 *  ||----||
    ^^    ^^

Please describe the issue in more detail :)

Sorry, I did not want my bad English is noticed.
You have some template (PSD/AI) to create new icons based on default?

Yep, i have .AI file with default folder template, will add it to repo in few days.
P.S. Don't worry about your English, we're not native speakers also ;)

I'm glad. ;D


Update to<EMAIL_ADDRESS>

Does this issue relate this problem - https://github.com/microsoft/vscode/pull/125753#issuecomment-856864298

@rluvaton Yes, I've also seen playwright download timeout issues and my hope is that updating to a newer version will help.

@alexdima I think it’s working now (In another PR there was no problem)

@mjbvz I am running into problems with the browser integration tests on Windows after upgrading Playwright (which upgrades Firefox). I think this might have something to do with our webviews, it might be related to the usage of the clipboard-read or clipboard-write attributes as I see that logged as a warning in Firefox. Unfortunately, I am blocked as the integration tests are not self-contained. They load code from https://UUID.vscode-webview-test.com/ so I cannot fix them without help from you.
. Here are the steps to reproduce:

checkout this branch on Windows
run .\resources\server\test\test-web-integration.bat --browser firefox
observe how webviews don't really render at all, which I believe leads to the many test failures (on the build machine the test will time out because we allow 1 minute per test and after 10 failing tests the entire step will timeout).


Data saved locally returns null

@freezed
@DataRepository([AuthAdapter, BaseAdapter])
abstract class TodoModel extends DataModel<TodoModel> implements _$TodoModel {
  factory TodoModel({
    @override @JsonKey(ignore: true) String id,
    String title,
  }) = _TodoModel;
  // ignore: unused_element
  TodoModel._();

Data from API
final _ret = deserialize(json.decode(response.body));
  final _model = _ret.model.copyWith(
	id: '1',
  );

Saving locally
  mixin AuthAdapter on RemoteAdapter<TodoModel> {
  ...
      await save(todoModel, remote: false);

My API only returns title so I'm ignoring id to avoid null error (deserialize(json.decode(response.body));)
If the field is tagged  with  @JsonKey(ignore: true) it returns null ( happens after restart).
If I query ( await findOne('1', remote: false);) the same object without restart, the data returns correct (id: 1).

I had to create a 'fake' data return (id) to my API to avoid this issue.

Correct, Flutter Data doesn't support ID-less entities at the moment.

An alternative solution would be to override deserialize and return a UUID as id

Ok, But it occurs with any data that has only in my model and doesn't in my json return, for example
 @JsonKey(ignore: true) String dataCreated
Is this the same as id? Do I have to override deserialize?

@rubgithub did you solve this issue?
I am getting the same issue with "ignore: true" field(s).
@frank06 do you have any suggestion?

@thphuc Could you please expand on the issue you are having and provide some code?

Hi @frank06
My issue was if I use "ignore: true" for any fields in my model (DataModel), the framework does not save those fields to local storage.
However, I did the debug into the framework yesterday and found the solution.
Before saving the model, the framework calls toJson( ) method (under model). So what I need to do is add all ignore fields to the json.
Thanks for your quick response @frank06


Model Performance Degraded when using BFLOAT16 LoRa Adapters

System Info
2X L4 GPUs
Docker Image:
nvcr.io/nvidia/tritonserver:24.06-trtllm-python-py3
Who can help?
@juney-nvidia @kaiyux
Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
I have a fine tuned set of weights trained using huggingface:

LLama3-8B

LoRa

Rank 32
rs_lora scaling

Rope Scaling

linear
factor 1.75
rotary base / theta = 875000

I have prepared the huggingface safetensor weights using this process

I have updated the base model's config.json
   "rope_scaling": {
        "type": "linear",
        "factor": 1.75
    },
    "rope_theta": 875000,

Then compiled the base model from within nvcr.io/nvidia/tritonserver:24.06-trtllm-python-py3
by running:
python3 convert_checkpoint.py \
--model_dir ${BASE_MODEL_DIR} \
--output_dir /converted_base_model \
--rotary_base 875000 \
--dtype bfloat16 \
--tp_size 2

trtllm-build \
--checkpoint_dir /converted_base_model \
--max_input_len=13568 \
--max_num_tokens=14336 \
--max_output_len=768 \
--tp_size 2 \
--max_batch_size 4 \
--max_beam_width 3 \
--lora_plugin bfloat16 \
--gemm_plugin bfloat16 \
--lora_target_modules attn_q attn_k attn_v attn_dense mlp_h_to_4h mlp_gate mlp_4h_to_h \
--max_lora_rank 32 \
--gpt_attention_plugin bfloat16 \
--paged_kv_cache enable \
--use_paged_context_fmha enable \
--multi_block_mode enable \
--remove_input_padding enable \
--use_custom_all_reduce disable \
--cluster_key L4 \
--workers=2 \
--context_fmha enable \
--lookup_plugin bfloat16 \
--enable_xqa enable \
--output_dir ${ENGINE_DIR}

I am then performing generations using trition-inference-server using the warmups described above
Generated outputs differ significantly from those by using the same model in huggingface.
If the same process is repeated but the model is first "merged and unloaded" before compilation and then served without LoRa weights I get the exact same output from triton/tensorRT-LLM.
Expected behavior
Outputs of model are the same with LoRa weights as they are with a merged and unloaded model.  These results also are expected to nearly match the results when ran in huggingface.
actual behavior
Rouge2 scores between huggingface outputs and LoRa weights served models are below 0.6 (other metrics would also demonstrate the large shift in outputs that are occuring)
additional notes
I noticed that the scale being applied to the "out" weights in the hf_lora_convert.py script.  It appears that the "A" and "B" matrices (huggingface weights notation) correspond to ("in" and "out") in TensorRT-LLM notation.
From looking at the RS Scaling LoRa [equation 2] paper it seems that I should be able to get the same results from applying the scaling to "A/in" OR "B/out".  In practice applying scaling to B gets results similar to the fine-tuning objective (but still significantly shifted) but applying scale to only the "A/in" result in seemingly random token generation.

@kaiyux  same issue with llama-3-8b added rope scaling, can you help to solve this problem?

Thanks for reporting this, our engineer will start looking into this issue soon.

Any updates?!  I see a new issue that looks the same as well

Wondering if there is any progress?

In the bug description, I did not see which LoRA was used. could you please tell me ?
It's better to offer the huggingface link of the base model and LoRA model.
Thanks.

Triaged to @VincentJing .
@TheCodeWrangler pls share the information asked by VincentJing above.

In the bug description, I did not see which LoRA was used. could you please tell me ? It's better to offer the huggingface link of the base model and LoRA model.
Thanks.

I was using a finetuned rank 32 adapter trained with rs_lora
Unfortunately i do not think i can share the actual weights
Not sure it helps but here is the adapter_config.json
{
  "alpha_pattern": {},
  "auto_mapping": null,
  "base_model_name_or_path": "meta-llama/Meta-Llama-3-8B",
  "bias": "none",
  "fan_in_fan_out": false,
  "inference_mode": true,
  "init_lora_weights": true,
  "layer_replication": null,
  "layers_pattern": null,
  "layers_to_transform": null,
  "loftq_config": {},
  "lora_alpha": 64,
  "lora_dropout": 0.0,
  "megatron_config": null,
  "megatron_core": "megatron.core",
  "modules_to_save": null,
  "peft_type": "LORA",
  "r": 32,
  "rank_pattern": {},
  "revision": null,
  "target_modules": [
    "k_proj",
    "v_proj",
    "down_proj",
    "o_proj",
    "up_proj",
    "q_proj",
    "gate_proj"
  ],
  "task_type": "CAUSAL_LM",
  "use_dora": false,
  "use_rslora": true
}

Any insights gained from knowing that
alphaA != alphaB
When scaling the weights?

Have you solved this issue in the latest version?
If not, could you please provide a script to reproduce this issue?


OpenVPN  DhcpPushRoutes Error, Related to "vpn_gateway"

https://github.com/SoftEtherVPN/SoftEtherVPN/blob/6a170ac6914a325396e9759b15eb659014d8a8a8/src/Cedar/Proto_OpenVPN.c#L2478
The gateway ip address is not replaced with [vpn_gateway], causing the routing table to be incorrectly configured on the mobile phone client.
Error message :"route destinations other than vpn_gateway or net_gateway are not supported"

` 											if (r->Exists)
{
Format(l3_options, sizeof(l3_options),

  											",route %r %r vpn_gateway",

  											&r->Network, &r->SubnetMask);

  											",route %r %r %r",

  											&r->Network, &r->SubnetMask, &r->Gateway);

  										StrCat(option_str, sizeof(option_str), l3_options);
  									}`

What version are you using? This code is commented out in the somewhat recent pull that I have...:
if	0	// Currently disabled
										// If the default gateway is not specified, add the static routing table
										// entry for the local IP subnet
										IP local_network;
										IP client_ip;
										IP subnet_mask;

										UINTToIP(&client_ip, cao->ClientAddress);
										UINTToIP(&subnet_mask, cao->SubnetMask);

										Zero(&local_network, sizeof(IP));
										IPAnd4(&local_network, &client_ip, &subnet_mask);

										Format(l3_options, sizeof(l3_options),
										       ",route %r %r vpn_gateway",
										       &local_network,
										       &cao->SubnetMask);

										StrCat(option_str, sizeof(option_str), l3_options);
#endif

What version are you using? This code is commented out in the somewhat recent pull that I have...:
if	0	// Currently disabled
										// If the default gateway is not specified, add the static routing table
										// entry for the local IP subnet
										IP local_network;
										IP client_ip;
										IP subnet_mask;

										UINTToIP(&client_ip, cao->ClientAddress);
										UINTToIP(&subnet_mask, cao->SubnetMask);

										Zero(&local_network, sizeof(IP));
										IPAnd4(&local_network, &client_ip, &subnet_mask);

										Format(l3_options, sizeof(l3_options),
										       ",route %r %r vpn_gateway",
										       &local_network,
										       &cao->SubnetMask);

										StrCat(option_str, sizeof(option_str), l3_options);
#endif

I'm using [5.01.9674] which is used in OpenWRT. I noticed that the above code is to fix classless routing table push code, which is already fixed in 5.02.5180.

yes, I need to fix release machinery and emit new release
hopefully will do that soon

yes, I need to fix release machinery and emit new release hopefully will do that soon

great!

What version are you using? This code is commented out in the somewhat recent pull that I have...:
if	0	// Currently disabled
										// If the default gateway is not specified, add the static routing table
										// entry for the local IP subnet
										IP local_network;
										IP client_ip;
										IP subnet_mask;

										UINTToIP(&client_ip, cao->ClientAddress);
										UINTToIP(&subnet_mask, cao->SubnetMask);

										Zero(&local_network, sizeof(IP));
										IPAnd4(&local_network, &client_ip, &subnet_mask);

										Format(l3_options, sizeof(l3_options),
										       ",route %r %r vpn_gateway",
										       &local_network,
										       &cao->SubnetMask);

										StrCat(option_str, sizeof(option_str), l3_options);
#endif

I believe the code inside the 'else' block above should be disabled. In the absence of default gateway, you should use classless routing to specify routing information for certain network segments.

@parkycai , I've just pushed new release https://github.com/SoftEtherVPN/SoftEtherVPN/releases/tag/5.02.5181


webapp: Hook up to the new available stack API with ANT92

ARM bridge should be available once ANT91 rolls out.

webapps

@btardif can you assign this back to me once the new API is swagger ready & merged to rest-api-specs - then we can proceed with Python SDK deployment and use with CLI. Thanks!

🍻🍻🍻🍻🍻�

�


Error while running any moon task [bug]

Describe the bug
When I run moon run example:lint or any other task inside a project, I get:
▪▪▪▪ pnpm install
/Users/bjesuiter/.proto/tools/pnpm/8.6.0/shims/pnpm install (in workspace)
Scope: all 5 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 939ms
▪▪▪▪ pnpm dedupe
/Users/bjesuiter/.proto/tools/pnpm/8.6.0/shims/pnpm dedupe (in workspace)
▪▪▪▪ example:lint
error: invalid value 'moon=info,proto=info,starbase=info' for '--log <LOG>'
  [possible values: off, error, warn, info, debug, trace]

For more information, try '--help'.
▪▪▪▪ example:lint (15ms, 4dfc7ea8)
[ERROR 2023-05-30 18:15:24] log  Encountered a critical error, aborting the action pipeline  log.target="moon:action-pipeline:batch:3" log.module_path="moon_action_pipeline::pipeline" log.file="crates/core/action-pipeline/src/pipeline.rs" log.line=195

Context
I use the option node.  inferTasksFromScripts: true to not have to add all tasks twice. But I don't think that this is the problem.
I use:

proto 0.9.2
moon 1.6.1
pnpm 8.6.0

Steps to reproduce

nothing concise

Expected behavior
Simply running my moon tasks :D
Screenshots

Environment

npx envinfo starts, but does not output anything, even after couple of minutes.
Seems to be stuck.
Last Note
I'll happily add more information when asked for things I can provide, as always!

Thanks!


Fix: Broken links to issue templates

Extension .md was missing in a few URLs.

Thanks. We still need to fix our build system so this won't happen the next time we generate the site.


Create example.domain.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.

Description

for unblocked games
Link to Website

molkify.github.io

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request


Add support for $addToSet with bool value

The problem arises when we try to use the addToSet function with a boolean field.
In our use case, we have a boolean field 'is_flag'. When we try to use addToSet to ensure that we only have unique values in this field, the mock library does not support this operation. This is inconsistent with the real MongoDB functionality, which does support addToSet on boolean fields, and this inconsistency is impeding our ability to conduct accurate unit tests.
We kindly request that this issue be addressed, as it is critical for our code to function as expected.
Steps to reproduce the issue:
Create a boolean field in a MongoDB document.
Code query example:
pipeline = [
    {"$match": {"my_id": my_id},
    {
        "$group": {
             # We group by 0 to get all the documents in the collection
            # and then we use $addToSet to get the unique values
            "_id": 0,
            "flags": {"$addToSet": "$is_flag"},
         }
    },
]
flags = await myDocument.aggregate(pipeline).to_list(1)

Attempt to use addToSet function on this boolean field.
Expected Outcome: The addToSet function should work on boolean fields, ensuring that there are only unique values in this field. 'flags': [False]
Actual Outcome: The addToSet function does not support boolean fields, causing unexpected behavior returns: 'flags': [None].
We look forward to your help in resolving this issue. Thank you.

@michaelkryukov

Yeah, that does look like an issue with mongomock. You should create issue in https://github.com/mongomock/mongomock. I don't think that patching insides of the mongomock in this library will be maintainable solution.

https://github.com/mongomock/mongomock/issues/868 :)


small fix in pastebin.pl

In case pastebin.pl is not at the root of the website, the link generated by the a anchors would be wrong.

thanks


Fixed some type annotations of trl.trainer.PPoTrainer

Ref model should be Optional
The usual annotation for the Huggingface tokenizers is PreTrainedTokenizerBase. Not using that messes up people's annotation checks.
Fixed the comments wrt the other two points

Should be good now. Are there tests I should be running?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

forgot to sync


trace exec --paths uses too much memory

Description
The ebpf map used by the trace exec gadget is defined as follow:
struct {
	__uint(type, BPF_MAP_TYPE_HASH);
#ifdef WITH_CWD
	__uint(max_entries, 1024);
#else /* !WITH_CWD */
	__uint(max_entries, 10240);
#endif /* !WITH_CWD */
	__type(key, pid_t);
	__type(value, struct event);
} execs SEC(".maps");

It has a different size depending on the define WITH_CWD thanks to #2146.
But WITH_CWD was removed in favour of WITH_LONG_PATHS in #1959. And it seems I forgot some occurrences of WITH_CWD.
Impact
This causes the ebpf map to use a lot of memory.
When ig is used in a pod with the following memory limits, it fails:
    resources:
      limits:
        cpu: 150m
        memory: 232Mi
      requests:
        cpu: 50m
        memory: 128Mi

with the following error:
Error: running gadget: running gadget: installing tracer: loading ebpf spec: loading maps and programs: field IgExecveE: program ig_execve_e: map execs: map create: cannot allocate memory

When increasing the pod memory limit to 1232Mi, it works.
Environment and steps to reproduce
See above.
Expected behavior

No dangling WITH_CWD references in the source code.
Reasonable memory usage of the trace exec gadget.

Additional information
We currently don't set any memory limits in charts/gadget/templates/daemonset.yaml. This bug was found using ig in a custom daemonset (not using the one defined upstream).

Fixed by https://github.com/inspektor-gadget/inspektor-gadget/pull/2840


Data Science With Python: Scale-Invariant Feature Transform

Description
Welcome to the 'DSWP' Team, good to see you here.
With this issue, readers will get introduced to the core information about 'Scale-Invariant Feature Transform' along with sample code completely in an effective way.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and the choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly, if you had used datasets, include them in "DS Datasets".
Domain: Machine Learning
Mentors Assigned: Dhruv Bajaj / Aishani Singh
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include the issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of the 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎
Domain
Datascience with Python
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[ ] I follow Contributing Guidelines & Code of conduct of this project.

Hello, I am Apoorv Yadav, I would like to work on this issue.
Batch Number: 5
Serial Number: 709
GitHub Profile Link: https://github.com/Apoorv-17
contribution: Video, Documentation

would like to work on this issue
name : ruchika singh
Batch no : 10
Serial no : 331
type : documentation
approach : all necessary info

Issue assigned to @Ruchika-20 for documentation

@prathimacode-hub , Mam
I am M. Ashish Reddy. I would like to do video on this issue.
Batch number: 5
serial number:174.
Approach: A detailed explanation with examples and real life uses

Issue assigned to @ashish-reddy-20-08 for video contribution


Fix findings page crash and rule severity correctness (#1160)

Manual bp of #1160 to 2.17
Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Cypress tests are failing in previous PRs
https://github.com/opensearch-project/security-analytics-dashboards-plugin/actions/runs/10783286410/job/29904892074?pr=1158


Package request: gitlab-ci-local

Project description

Tired of pushing to test your .gitlab-ci.yml?

Run gitlab pipelines locally as shell executor or docker executor.

Get rid of all those dev specific shell scripts and make files.

Metadata

homepage URL: https://github.com/firecow/gitlab-ci-local
source URL: https://github.com/firecow/gitlab-ci-local.git
license: mit
platforms: macOS, Linux, Windows

looked into nix packaging a little bit but i don't have bandwidth to add myself. however, i did read some things first before asking for help here:

https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/javascript.section.md
https://unix.stackexchange.com/questions/717168/how-to-package-my-software-in-nix-or-write-my-own-package-derivation-for-nixpkgs
https://github.com/nix-community/npmlock2nix
https://github.com/nix-community/napalm
https://www.nmattia.com/posts/2022-12-18-lockfile-trick-package-npm-project-with-nix/

...so i will pay attention to whatever someone may solve for this request!

personal take but these projects are doomed to fail. Either install a true local gitlab or make it such that you spend a minimal amount of time in CI (and nix is great for that, just launch nix with eventually sops  exec-env to get access to your secrets (or similar tools like https://github.com/PierreBeucher/novops).

dude it's such a nightmare. i switched off github because nektos/act sucks and i can't get this thing to even build a docker image inside a job
i had no idea you could "install gitlab"... hmm that could be the solution

another way to debug gitlab jobs is to log into the running container so that you can run commands directly in it (either via netcat or you ssh into the gitlab-runner machine and docker exec -it <NAME> into the container)


add aria-label / name to image only buttons

This PR fixes #15765

adding aria-label to image only button to populate name property.
fix label to use sentence casing

before:  button with out name

after:  button with name

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.731%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26227

Relevant Lines:
55704

💛  - Coveralls


make .env persist across web container reboots

As a professor I want my UX design students to be able to use a git workflow so that they can publish their results on cloudflare or github pages.
I made my own git-pwa that prompts for user.name, user.email and a token created under github/settings/

It stores these values in the .env and keeps changes in sync with localStorage on the browser side.

Thanks for the contributions! I will go through these changes soon.

@rhildred This caused issues in deployment. Reverting. Will investigate at a later time or you can provide a PR.


Complete migration to simple log paths for non soup sources

:tada: This PR is included in version 1.62.0-develop.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Master version does not work

Current version master does not start as expected.. v0.30 works
tom.stark@MBproTStark prometheus-monitoring (aws)  $ kubectl --context=aws -n monitoring logs -f postgres-exporter-3136023989-shqws
postgres_exporter: error: unknown short flag '-e', try --help

Upstream Prometheus has moved to kingpin cli parsing so the next release is going to follow. The main difference is flags now need double hyphens.

Closing this issue unless there's further developments.


Still having CheckHealth warning despite good configuration

I load kitty-scrollback.nvim using the lazy.nvim package manager like this:
-- kitty-scrollback.nvim: Open kitty buffer in nvim
return {
    "mikesmithgh/kitty-scrollback.nvim",
    enabled = true,
    lazy = true,
    cmd = {"KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth"},
    event = {"User KittyScrollbackLaunch"},
    -- version = '*', -- latest stable version, may have breaking changes if major version changed
    -- version = "^3.0.0", -- pin major version, include fixes and features that do not have breaking changes
    config = function()
        require("kitty-scrollback").setup(
            {
                -- global configuration
                {
                    checkhealth = true
                }
            }
        )
    end
}

However in :CheckHealth I still get:
kitty-scrollback: Kitty data ~
- WARNING No Kitty data available unable to perform a complete healthcheck
  - ADVICE:
    - Execute the command `:KittyScrollbackCheckHealth` or add the config options `checkhealth = true` to your *config* to run `checkhealth` within the context of a Kitten
    - `kitty @ kitten /home/USERNAME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --config ksb_builtin_checkhealth`

Am I doing something wrong?

TL;DR: you can remove checkhealth = true from your config and run :KittyScrollbackCheckHealth and it should be successful

or add the config options checkhealth = true to your config to run checkhealth within the context of a Kitten

that line is a bit confusing. This means that if you have your config:
            {
                -- global configuration
                {
                    checkhealth = true
                }
            }

The next time your open kitty-scrollback.nvim it will do a healthcheck instead of open the scrollback history. So, if you press kitty_mod+h it will do the run check health.
I am probably going to just remove that line since it doesn't really make much sense for a normal flow.
Try running :KittyScrollbackCheckHealth. That should open kitty-scrollback.nvim and run check health.
If you just run checkhealth kitty-scrollback in a normal Neovim session, it will have the warning you are seeing because it needs extra data from Kitty for the full healthcheck. :KittyScrollbackCheckHealth opens kitty-scrollback.nvim so it has all the data, then performs the checkhealth command.

ok thanks

The next time your open kitty-scrollback.nvim it will do a healthcheck instead of open the scrollback history.

Yes, I had understood that  it will do a healthcheck and then of open the scrollback history, not insted of.


Obsolete code used in "Receive messages from the queue"

These code snippets use "RegisterMessageHandler" which no longer exists in the latest SDK

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

ID: 217f29ba-3552-f406-58d3-d2e0c3bd4d2c
Version Independent ID: 003342a6-6fc5-fae4-31f4-369b561cfd89
Content
Content Source
Service: service-bus-messaging

@johnthcall Thanks for reporting! I have assigned the issue to the author to review and update the doc.

@johnthcall Hi and thanks for the feedback. I just tested this tutorial, following the steps exactly as written, and it seems to run fine. No problems with RegisterMessageHandler. I am using Microsoft.Azure.ServiceBus from NuGet, version 2.0.
If you are still having this issue, please let us know. Please make sure  that you have installed .NET Core 2.0 as listed in the prerequisites. And if you are using Visual Studio, have you installed update 3 or later? I believe that earlier VS versions do not work with .NET Core 2.0.

@sethmanheim Seth WindowsAzure.ServiceBus is already at 4.1.7 Should I be using Microsoft.Azure.ServiceBus instead?

@johnthcall Yes, correct. This is called out in the tutorial. See the section titled "Add the Service Bus NuGet package". As I said in the last comment, the tutorial works if you follow the steps exactly as written.

#please-close


[analyzer] cannot catch an error

Example:

class A<T> {
  T? data;

  U when<U>({
    U Function(T)? onData,
    required U Function() otherwise,
  }) {
    final thisData = data;
    if (thisData != null && onData != null) {
      return onData(thisData);
    }
    return otherwise();
  }
}

class B<T> {
  T? call([T? value]) => null;
}

void main() {
  final list = <void Function(A<int>)>[];
  final b = B<int>();
  list.add((a) {
    a.when(
      onData: b,
      otherwise: () {},
    );
  });
  print(list);
}

dart analyze gives the following output:
Analyzing lib...                       1.8s
No issues found!

dart compile exe test2.dart gives the following output:
Info: Compiling with sound null safety
test2.dart:26:15: Error: The argument type 'int? Function([int?])' can't be assigned to the parameter type 'Null Function(int)?'.
      onData: b,
              ^
Error: AOT compilation failed
Generating AOT kernel dill failed!

Expected Behavior:
Analyzer output and compiler output should match each other.
Dart SDK version: 2.17.5 (stable) (Tue Jun 21 11:05:10 2022 +0200) on "macos_x64"

Looks like a bug in the front-end related to implicit .call insertion.
The type of b is B<int>, so the type of b.call is int? Function([int?]). That should be completely independent of context.
Then onData: b puts b in a context which is a nullable function type. We don't know the type of U yet, but being U Function(T)? it's a function context, and b has a type which is a callable object type, so it should become b.call.
At that point, the U should be inferred (from both parameters), so that it's consistent with the actual type.
If we change b to b.call, it works.
And the error message from dart2js (in dartpad) says that int? Function([int?]) isn't assignable to Null Function(int)?, so the call method is torn off, it's just the type inference which seems to ignore its type, and infer the U only from the return type of (){} (or nothing, can't see where Null comes from).
So, bug, is not in analyzer, but probably in type inference in the front-end.


[pixman] build on M1 macs

@Neumann-A
Otherwise I get the following error when I try to build for x64-osx:
DEPRECATION: c_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 0.60.2
Source dir: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/pixman/src/0.40.0-9a8e17d6df.clean
Build dir: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/pixman/x64-osx-dbg
Build type: native build
Project name: pixman
Project version: 0.40.0
C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-13<IP_ADDRESS>)")
C linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc ld64 711
Host machine cpu family: aarch64
Host machine cpu: arm64
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused-local-typedefs: YES

../src/0.40.0-9a8e17d6df.clean/meson.build:145:2: ERROR: Problem encountered: MMX Support unavailable, but required

A full log can be found at /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/pixman/x64-osx-dbg/meson-logs/meson-log.txt

Sry to say this but M1 is an arm chip and not an x64 chip. It has x86 emulation and not x64 so using an x64 triplet is strictly speaking wrong.

Yeah but crosscompiling should be possible

It has x86 emulation and not x64

Huh. It only has x64 emulation, there is no 32 bit on mac

Yeah but crosscompiling should be possible

Then make it a special case if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64" AND VCPKG_TARGET_IS_OSX AND VCPKG_CROSSCOMPILING) where you deactivate all the stuff. I don't think we should brick pixman performance by a faktor of probably 2 (more likely min 4) to 10 for everybody with a real x64 processor. I digged down a bit in history and all amd/intel x64 processor have at least sse2 with sse3 being available in 2nd gen amd64 (> 10 years away; Intel being at SSE4 already.).

Hm I also can build embree3[avx,avx2,core,sse2,sse42]:x64-osx. without problems. Maybe meson tries to detect MMX support on the host cpu and not on the target CPU architecture.

embree does a CPUID detection to dispatch to the correct implementation. So that is quite a different behavior.

embree does a CPUID detection to dispatch to the correct implementation. So that is quite a different behavior.

But this means that it is possible to cross compile code with sse enables in general. So pixman should also be able to do it.

I have also set up a small test project on my M1 mac with the following code:
#include <immintrin.h>
int main(){
    __m256i a{};
    _mm256_abs_epi16(a);
}

It compiles with -mavx2.
If I set up a project that only uses sse2 I can even run the project. So it should be possible to compile pixman with SSE enabled.

I have created #22854 as an alternative


Radio buttons are not displaying properly on mobile devices.

Description

Radio buttons are not displaying properly on mobile devices.
Expected Behavior
Radio buttons should be displayed properly on mobile devices.
Screenshots

Enviroment:

Browser: Chrome
Device: Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I'd be more than happy to take this issue @leecalcote

Thanks, @Savio629 @Simar-malhotra09 👍

Actually I was working on this issue...

Thank you and I will!

@Simar-malhotra09 Updates?

Apologies, I should've updated earlier but i'm kind of having a setback. I just got a mac, and I'm having some trouble seetign up the local environment. I'm pretty sure I've figured out the issue; we add a media query w max width 600px and use transform prop to change scale. It's just im not been able to test it. i'm sorry but on what slack channel should i ask for help?
Thank you

No worries. @Simar-malhotra09
You can ask on #general channel on Slack or you check out Community Forum for any solutions.

@Simar-malhotra09
any updates?

if @Simar-malhotra09 you aren't working on this issue can i work on it @Chadha93

Yes please, @DarrenDsouza7273.
@Simar-malhotra09 given no updates on this, let's not squat on the issue and free it up for more contributors. @Simar-malhotra09 Sinal when you are back, we have plenty of new items for contributors.


Support variable args

The following is valid Justfile
example +ARGS='':
    echo {{ARGS}}

But this extension doesn't highlight it correctly.

Heya Ross. Thanks for filing an issue!
I still use & love Just to death, I just haven't had much time to keep this maintained as you can see:

Ugh, this pains my soul ^
😆
Good news is I'll be unemployed by this time next week!


Fixed #33757 -- Clarified Client.post() file upload example.

https://code.djangoproject.com/ticket/33757

@bastian-wattro Does it work for you?

thanks <3


migration instructions when coming from ES exporter

is there a list of things (relevant for consumers) which changed between the original ES plugin (on 7.10.2) and this one? i can see that starting with #10 the default prefix is now opensearch_ and not es_ anymore (but can be configured). it might be good if a small migration guide (ES 7.10.2 -> OpenSearch 1.x -> OpenSearch 2.x) could be added to the README.
thanks!

Good idea. Right now the migration should be simple (except the prefix as you pointed out).

For opensearch 2.1.0 version, apart from prefix I see many metrics not showing up in-comparison to ES exporter.
Ex: all health related metrics.
elasticsearch_cluster_health_active_primary_shards

Hi @ervikrant06
Is it the same metric that is pulled from ClusterHealth response? See:
https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/blob/8f24ffbf3fc0965027b360ff3cd6eb71d53c9a45/src/main/java/org/compuscene/metrics/prometheus/PrometheusMetricsCollector.java#L114
Regards,
Lukáš


godep save doesn't save all dependencies

I ran godep save and all looks well except one package did not save, here you can see godep did write it into the godep.json file the new entry for sheettransform package:
https://github.com/modelhub/front/commit/22e508fb4ee1368bc520b146b327c763bb7a6262#diff-c77258d17f1a1bbeeb4f47d65ed7c6e8R61
but you can see that the vendored sheettransform package was not added:
https://github.com/modelhub/front/tree/d6650a5bd8ce6bf1dcd661f0689b92811b451c71/src/server/vendor/github.com/modelhub/core

I assume you resolved the issue?

I am doing some more investigation into it, I want to make sure it isn't user error before re/opening an issue.

appears to be a genuine bug

I'll have to see if I can duplicate this with a test. Thanks for the report.

@robsix Can you give steps to reproduce?

Oops, linked wrong issue.


[Candidate 3v3 Taiga Terror ZH v5] Road tile is visible in map border

Observed behavior
Road tile is visible in map border.
Expected behavior
Road tile is not visible in map border.
Screenshots

fixed.


initramfs-framework-ima: avoid dependency on awk

awk is not supported by Toybox 0.70. In order work in an initramfs
based on Toybox we need a solution with simpler shell commands.
Please review carefully. I've not actually tested the case with ".ima"
or ".evm" present in the kernel already at boot time.

@ipuustin can you review this please? There's no way to test all control flow branches, so we have to rely on manual code review to ensure that the new code does the same as the old one.

I think all lines in /proc/keys have the expected format, so I suppose we do not need the -s flag => merging.


Creating of SslContext in paranoid mode takes too long

I have ~400 integration tests. Every test creates SslContext and destroys it at the end. Recently I switched my tests from JDK provider to OpenSSL provider and now my tests are executed forever :).
I found that the reason is in SslContext creation with Paranoid mode.
Expected behavior
OpenSsl context creation performance should be close to JDK ssl context creation.
Minimal yet complete reproducer code (or URL to code)
This minimal unit test reproduces situation:
    @Test
    public void testCreateContext() throws Exception {
        ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.PARANOID);
        while(true) {
            SelfSignedCertificate ssc = new SelfSignedCertificate();
            SslContextBuilder builder = SslContextBuilder.forServer(ssc.certificate(), ssc.privateKey())
                    .sslProvider(SslProvider.OPENSSL);
            long now = System.currentTimeMillis();
            SslContext sslContext = builder.build();
            System.out.print(System.currentTimeMillis() - now);
            assertNotNull(sslContext);
        }
    }

In my case builder.build() takes 4 seconds. JDK Ssl cotext creation takes few millis.
Profiling shows that issue in ResourceLeakDetector.newRecord() method. It takes all the time and allocates hundreds of megabytes of objects.
Netty version
4.1.13.Final
JVM version (e.g. java -version)
1.8.0_131
OS version (e.g. uname -a)
Ubuntu 16.04

@doom369 its a "known" issue as we need to call Base64.* methods when creating the OpenSsl*Context instances and this is heavy on buffer operations.

Ok. I can switch to advanced mode. However - this page http://netty.io/wiki/reference-counted-objects.html recommends to use paranoid, but it really slow with OpenSSL...

@doom369 that is because usually its not expected to have these created and destroyed very frequently. That said I think I could improve it for java8 use case... Stay tuned...

@doom369 PTAL https://github.com/netty/netty/pull/7030 and test

@normanmaurer much better now! Thanks.
Now
OpenSSL takes 40 ms;
JDK take 2ms;

@doom369 reopen till merged.

@doom369 is this still an issue ? I think we improved the perf a lot here

@normanmaurer I think the issue is fixed. Now I run the test again in paranoid mode and they are executed pretty fast. Not so fast as with advanced more, but still much faster than before.

Ok thanks.. closing

@Selvantamil599 actually yes... it's highly encouraged that you build the context once and re-use it.

@normanmaurer Ok. Thank you


events in room has strange behavior leads to create Duplicate when posting message to Room

1.User1 Created A new room
2.User1 Invited Another User2
3. User2 joined the Room
4.when User1 sends a message it was sent and duplicated immediately.
5.Even attachments are also getting duplicated.
Note: It is fine when User2 sends anything,it is not getting duplicate.

Immediate help can be appreciated
can be reach @ vinod<EMAIL_ADDRESS>

@vinodgleecus: I did not succeed to reproduce your issue.
According to your screenshot, your are developping your own application based on MatrixKit (not the Riot app).
FYI, we fixed recently two cases of duplicated messages (https://github.com/vector-im/riot-ios/issues/894 and https://github.com/vector-im/riot-ios/issues/970). The issues have been fixed at MatrixKit and MatrixSDK level. Could you please try to reproduce your issue by using the current develop branch version of MatrixKit and Matrix SDK?

Hello,
Thanks for your quick response
let me explain my scenario, and what  you said is right am building my
own application based on MatrixKit (not the Riot app but using it for
reference).
1.Am not using MXKViewController rather than i took
MXViewControllerHandling protocol and added the required methods.
2.Am creating a new session and adding it to the method [self
addMatrixSession];
3.Creating a new room and inviting another user and handling joining of
User2 (Like whats app when we send message to another user i.e Direct
message without invitation).
4.User2 can send messages, image and Video also
5.but the problem is When User1 send a new message or response to that
message it is getting duplicated.
Note:
After some time ex after 10-15 minutes when i open the existing room i
don't see ant duplicate messages in the room.
I have tried both of bug fixes (#894 [2] and #970 [3]) but not succeed.
Quick response is appreciated.
can be reached<EMAIL_ADDRESS>


Question: how will inherit a contract affect the storage order?

Dear ZOS team,
We (boba.pikt.io) want to upgrade our legacy contract, and one of the task is to change the owner mechanism from our customized version to the Ownable provided by zos, we want to know if that will affect what's being discussed here: https://docs.zeppelinos.org/docs/advanced.html#preserving-the-storage-structure
By the way, please kindly advice if this is the best place to ask question, or should we go to some ZOS-preferred discussion channel?
Thank you !
@xinbenlv

Hey @xinbenlv! That'd depend on how your owner mechanism works today, and whether your contracts today are upgradeable or not. Basically, you need to ensure that all state variables are defined on the same order in the new contract as they were in the old one. So, if you have a custom owner implementation that defines an address owner state variable, since zOS version uses the same, you should be fine. Make sure to test it before deploying though!

Thanks Santiago,
The question is, if we have the following contracts setup
contract A is Base {
// ------- added before migration 0
  uint varA1;
// ------- added after migration 0
  uint varA2;
}

contract Base {
// ------- added before migration 0
  uint varB1;
// ------- added after migration 1
  uint varB2;
}

Would it breaks the requirement for ZOS proxy pattern to work?

Thanks, that's what I think the case too. Thank you very much for confirming it. Since the data migration currently is still a very gas-consuming problem, we could either (1) propose to support low gas cross-contract data migration (2) suggest the solidity and its compiler to support memory allocation per inheritance.  Either way it seems to need an EIP Category "Core" proposal? And it seems (1) is better. Shall we bring this to the EIP community to discuss?
@xinbenlv

@xinbenlv I don't think that (1) would get much adoption, as it implies a big change on EVM rules. As for (2), I'm not sure I understand what you mean, could you clarify?

The main concern of the issue was answered above. Since there was no more activity, we are closing it. If there are any further questions please open a new issue.


Make the search query more flexible

Changelog
Make it possible to configure the search URI and also exclude the docsets from the search query.
As such you can use this extension with https://github.com/egoist/devdocs-desktop on macOS by setting the URI to devdocs://search/ and excluding the docsets.
Checklist

[x] Code compiles correctly
[x] Add or update tests, if possible
[x] All tests passing
[ ] Update the README, if necessary
[x] New contributor? added myself via npm run contributor:add

@kneirinck Hi, thanks for submitting a PR. 💪🏼
A question from me, could we use this to open devdocs web as well?
Instead of making searchURI as free text, would it be better to make it fixed to devdocs uri?

A question from me, could we use this to open devdocs web as well?

Good question! I've just tested it and it does indeed, but it can be done for any website I guess.

Instead of making searchURI as free text, would it be better to make it fixed to devdocs uri?

Well the devdocs macos application uses devdocs://search/, the website version would use https://devdocs.io/#q=.
So I don't think having some fixed option here is possible?


Use Bioregistry standardized CURIEs to reference entities/concepts

hi all, cool to see you're building a new KG! What can I do to help make sure that the entities in your KG are referenced with standardized CURIEs?

Hi @cthoyt! We are in the process of KGX-ing the previous version of this KG, enpkg.
I am developing the pipeline to coordinate sample collection and ingest the raw spec data. Once I connect the data from the samples to the various other available KGs & ontologies, we will certainly use Bioregistry to avoid minting CURIEs in some new format.


@ signification ?

What does @ signify.
I mean how to interpret print((x.T @ x).get()) or print((x.T @ x).shape) ?
Is it correct in my understanding that x.get() operation will be processed first and then x.T ?

@ is just matrix multiply operator used in NumPy and NumS.
To answer your second question, the .get() operator is a blocking call that synchronizes output and serves it to the user. Any operations preceding it will be executed until it finishes computing the result that .get() is being called on. When we actually want numerical results in the end, we call .get() on a BlockArray variable, such as x.get().
So (x.T @ x).get() will first do a matrix multiply (or inner/outer product depending on dimensions of x). Then the call to .get() will wait for matrix multiply to finish and output the results to the user in a NumPy array. Simply, .get() just converts a NumS data structure to a NumPy ndarray. Ideally, calling .get() is what you want to do at the end of a series of operations.
Let us know if that was unclear or if you have any other questions!

Got it @briancpark . Thank you.


Update README.md

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.15%. Comparing base (a7f790a) to head (9b94e04).
Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1415      +/-   ##
==========================================
+ Coverage   41.91%   43.15%   +1.24%
==========================================
  Files         346      295      -51
  Lines       36106    31718    -4388
==========================================
- Hits        15134    13689    -1445
+ Misses      20473    17555    -2918
+ Partials      499      474      -25

Flag
Coverage Δ

go-1.21.x
43.15% <ø> (-0.23%)
:arrow_down:

go-1.22.x
?

go-1.23.x
?

macOS
?

ubuntu
?

unit
43.15% <ø> (+1.24%)
:arrow_up:

windows
43.15% <ø> (+1.24%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Lazy load

i am amazed at how far you have taken this. Really impressive and useful. Hats off and looking forward to kicking the tires.
Some newbie stuff.

the install client side is big. Is there are support of the PRPL pattern / Lazy load yet ?

Themes. Yes i know its lame, but well was wondering... Material Design maybe ?

i am amazed at how far you have taken this. Really impressive and useful.

Thanks @joeblew99

the install client side is big

Things definitely aren't fully optimised as yet. Looking at the most minimal example, http://blog.myitcv.io/gopherjs_examples_sites/helloworld/. Total size is 774K. Of that, 152K is minfied React code. Using Preact is smaller still at 49K. I've got something in the TODO list tracking optimising this further. Nothing as advanced as PRPL / lazy load (yet).

Themes. Yes i know its lame, but well was wondering... Material Design maybe ?

You're totally free to do whatever you like as far as styling etc is concerned. reactGen -init (minimal|bootstrap) is really only to get you started... no constraints.
Equally, if you'd like to contribute a different template, let me know. The -init mode of reactGen is very very hacky for now... so could do with a bit of tidy up before contributions in that space.

Thanks for the info.
For now i am busy on CRDT stuff using yjs. https://github.com/y-js/yjs.
Yjs allows you to do google docs style functionality very easily with
offline editting. I a, experimenting with it & boltDB as the buckets
concept maps to yjs really well.
Currently its standard JS, but looking to port to golang. It will allow
event store architectures to get automatic offline / online sync.
Would be nice addition to your framework..
As far as the other stuff, right now i just have to watch as too busy on
CRDT and other bits.
But just wanted to raise some things i saw for now.
cheers
Joe
On Sun, Aug 27, 2017 at 5:40 PM Paul Jolly<EMAIL_ADDRESS>wrote:

i am amazed at how far you have taken this. Really impressive and useful.
Thanks @joeblew99 https://github.com/joeblew99
the install client side is big
Things definitely aren't fully optimised as yet. Looking at the most
minimal example, http://blog.myitcv.io/gopherjs_examples_sites/helloworld/.
Total size is 774K. Of that, 152K is minfied React code. Using Preact is
smaller still at 49K. I've got something in the TODO list
https://github.com/myitcv/react/wiki/TODO tracking optimising this
further. Nothing as advanced as PRPL / lazy load (yet).
Themes. Yes i know its lame, but well was wondering... Material Design
maybe ?
You're totally free to do whatever you like as far as styling etc is
concerned. reactGen -init (minimal|bootstrap) is really only to get you
started... no constraints.
Equally, if you'd like to contribute a different template, let me know.
The -init mode of reactGen is very very hacky for now... so could do with
a bit of tidy up before contributions in that space.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/myitcv/react/issues/92#issuecomment-325206105, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALcac5BFdASRWBYRz4KHaJBQF_f-5JaJks5scY4IgaJpZM4PCc9h
.

Sounds interesting @joeblew99!
Anything you want to track by keeping this issue open, given that I'll issues from my TODO?
Thanks

I got a PRPL server working with polymer yesterday. thanks to: https://github.com/CaptainCodeman/prpl-server-example
For me, its useful because you get cross builds (different browsers have different specs) and lazy loading.
For gopherjs its also useful because with lazy loading you can get around the fact that gopherjs is a bit of a fatty :) I have not looked into how much work it woudl be to support it with gopherjs or even its its worth it.
Also as an aside, I run this on mobiles and servers at the moment. In mobiles you can run it as a service and server many apps with a webview.

lets close this
I will have a look at your todo list, and do some more tire kicking..

👍

Also @joeblew99 just in case you've not seen, the Links of the wiki which has examples, creating your first app guide, talks links etc.
Might be of some help - feedback much appreciated too.

@myitcv thansk mate. Yeah i was getting a bit lost in terms of how to reuse existing React components out there.
For intance, the code below is from the GRPCWeb example.
You usng bootstrap and then rendering direct creating your own DOm elements as you go.
I am trying to work out if i can use a well known existing lib like Material-UI.
For example their button...
https://github.com/callemall/material-ui/blob/v1-beta/src/Button/Button.js
// Render renders the GetBook component
func (g GetBookDef) Render() r.Element {
st := g.State()
content := []r.Element{
r.P(nil, r.S("Search for book by ISBN (for example, 140008381).")),
r.Form(&r.FormProps{ClassName: "form-inline"},
r.Div(
&r.DivProps{ClassName: "form-group"},
r.Label(&r.LabelProps{ClassName: "sr-only", For: "isnbText"}, r.S("ISBN")),
r.Input(&r.InputProps{
Type:      "number",
ClassName: "form-control",
ID:        "isnbText",
Value:     st.isbnInput,
OnChange:  isbnInputChange{g},
}),
r.Button(&r.ButtonProps{
Type:      "submit",
ClassName: "btn btn-default",
OnClick:   triggerGet{g},
}, r.S("Get Book")),
),
),
}
if st.book != nil {
	content = append(content, renderBook(st.book))
}

if st.err != "" {
	content = append(content,
		r.Div(nil,
			r.Hr(nil),
			r.S("Error: "+st.err),
		),
	)
}

return r.Div(nil, content...)

}


ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor

Current Behavior
cjs loader crash:

Expected behavior
Things should work -- they worked on tsdx version 0.5.8

This happens after upgrading tsdx from 0.5.8 to 0.7.2. CJS loader complains super() is not being called even though it is.

The package is also on NPM so you can install it and see the problem for yourself: https://www.npmjs.com/package/@meshwatch/backend-core
"Problematic class constructor":

Build command: "build": "tsdx build --target node --entry src/index.ts"
Your environment

Software
Version(s)

TSDX
0.7.2

TypeScript
3.5.3

npm/Yarn
Yarn

Sorry this never got responded to. I'm a new maintainer as of earlier this month and have gone through most of the old issues and just got to this.
Not sure if you've fixed this since then but I can't reproduce this without source code (the repo linked in that NPM project seems to be private or no longer existent as it 404s for me), and a minimal reproduction would be much better.
I looked at your current package's CJS on UNPKG and the UserService's constructor had super() first, so didn't seem to be a problem.
I also tried running it and it worked fine for me:
$ node
Welcome to Node.js v12.16.1.
Type ".help" for more information.
> const core = require('@meshwatch/backend-core')
undefined
> new core.UserService()
UserService {
  errorServiceResponse: [Function],
  serviceResponseFromBoom: [Function],
  serviceResponse: [Function],
  tryExecute: [AsyncFunction],
  getUserInfo: [Function],
  completeGettingStartedTask: [AsyncFunction],
  datasource: DynamoUserDatasource {
    createTable: [Function],
    getUserInfo: [Function],
    completeGettingStartedTask: [Function],
    insertUserInfoRow: [Function],
    userInfoFromDynamoRow: [Function],
    dynamoClient: DynamoDBTableClient {
      tableName: 'monitoring',
      dynamoDbClient: [DynamoDBClient]
    }
  }

But it looks like that was built with v0.5.8, so I have no idea what it looks like with a different version without the source and don't have a way to test.
It might've been a transform bug in a Babel plugin somewhere, not sure. TSDX has been updated a lot since then, so if it doesn't work with v0.13 we can reopen this when given a minimal repro.


Crash

Describe your bug here.
I have a crash.

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I just add new character

Not a bug
Missing texture files

Thanks
сб, 22 жовт. 2022 р. о 18:20 frantastic24 @.***> пише:

Not a bug
Missing texture files
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/10945#issuecomment-1287825369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZCTTSJDLCXU24HBVB3VEU3WEQA3JANCNFSM6AAAAAARLYIDX4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Blinds skipping the signal when running a scene

Hi, I have 4x blinds controlled by a Bond Bridge. Everything works fine with the tested configuration that you have for Bond in your Wiki. The only thing that is annoying is that I'm controlling the 4x blinds with a scene (good morning open and good night close), it works let say 95% of the time but sometimes 1 blind out of the 4 don't execute the command, but there is no error in the log.
I'm not too sure what's the issue because it's intermittent, but I was wondering maybe there is a way to send a double signal when  executing an action or maybe it's the time between the signals that are too close... any recommendation for me?
Also I should mention that my blinds are not returning their positions.
Thanks!

It sounds like your issue is Rf interference, especially if you see no errors in the logs. Are each of the blinds that you are triggering showing that they are properly moving, etc.?
Bond has a feature that you can use to increase the number of signal repetitions, which can drastically boost Rf reliability in these kinds of cases. The number of reps can be increased as needed, but you will need to apply it for each command (up, down, stop) on each blind.
For example:
curl -H “BOND-token: <token>” -i http://<your.ip>/v2/devices/<deviceid>/commands/<commandid>/signal -X PATCH -d '{“reps”: 5}'

Also I should mention that my blinds are not returning their positions.

Returning to which position? I don't follow.

Ok, that's what I read on the Bond Bridge's website I'll try that.
For the position I meant that they don't have a position URL to return back if they are actually close/open or not.

For the position I meant that they don't have a position URL to return back if they are actually close/open or not.

Ah, many blinds don't have that, just leave it blank -- it will be emulated using the motion time.


Missing type definition for variable declaration

Type definition are not keeped for exported variable, for example:
export const type: string = null;

/**
 * Size.
 */
export let size: "small"|"medium" = null;

should be transpiled to :
/** @type {string} */
export const type = null;

/**
 * Size.
 * @type {"small"|"medium"}
 */
export let size = null;

Context: I'm trying to integrate this lib to transpile a svelte component!

Hmm, I seem to be missing something here..
var transpile = require("ts-to-jsdoc")
transpile(`
const groups: Record<string, string[]> = {
  test: ['a', 'b']
} as const;
`);

results in
const groups = {
    test: ['a', 'b']
};

Is there something else I am meant to be setting up?

var transpile = require("ts-to-jsdoc")
transpile(`
/***/
const groups: Record<string, string[]> = {
  test: ['a', 'b']
} as const;
`);

/** @type {Record<string, string[]>} */
const groups = {
    test: ['a', 'b']
};

Perfect, thank you @futurGH


License Header checker

Signed-off-by: Divya Madala<EMAIL_ADDRESS>Description
License Header Checker for opensearch-build-libraries Repository
Issues Resolved
Added missing license headers and created a license-header-checker workflow.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi @Divyaasm I think you missed the .jenkinsfile here. Probably the same in the build repo.
Thanks.

I didn't add any check for Jenkinsfile in the buildrepo. So I did the same here. I can add a condition if required for jenkinsfile.
Please let me know.